﻿
section.panel {
    padding: 0;
}

.container h3 {
    border: none;
    font-weight: bold;
    font-size: 14px;
}
.container ul.panel-tools {
    list-style: none;
    margin: 10px 0 0;
    top: 0;
    padding: 0 5px 0 3px;
}
.container ul.panel-tools > li {
    display: inline-block;
    padding: 0 4px;
}
.container .panel-tools a i {
    padding-right: 3px;
}
.container .panel-tools .popover {
    color: #7a7a7a;
}
.container .panel-tools .popover .popover-title {
    font-weight: normal;
    font-size: 14px;
    color: #7a7a7a;
}
.container .panel-tools .popover .btn {
    padding-top: 7px;
    padding-bottom: 7px;
    border-style: solid;
}
.container .panel-tools .popover .btn-default {
    color: #333;
}

.panel-body form { padding-bottom: 20px; }
.editing .panel-body {
    overflow: visible;
    height: auto;
}
.panel-body.panel-loading, .panel-body.panel-unloading { }
.panel-body .read-only {
    top: 0;
    opacity: 1;
    position: relative;
}
    
.panel-body .edit-panel {
    position: relative;
    top: 0;
    opacity: 0;
}
.editing .panel-body .edit-panel {
    overflow: visible !important;
    height: auto;
}

.panel-body .loader {
    position: absolute;
    height: 100%;
    width: 100%;
    text-align: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(255, 255, 255);
    opacity: .7;
    z-index: 300;
}
.loader p {
    display: block;
    width: 50%;
    margin: 2% auto 0;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.ajax-error {
    position: relative;
    z-index: 100;
    opacity: 0;
    z-index: 400;
    background: rgba(255, 255, 255, 0);
    font-size: .8em;
}
.ajax-error font { display: none; } 
    
    
.panel-body .edit-panel legend { display: none; }

.editablePanel-initialized .edit-panel .actions {
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.editing .toggle-wrapper { display: none !important; }

.show-fade {
    background: rgba(255,255,255,0);
    height: 16px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left:0;
    right: 0;
    display: none;
    z-index: 500;
    /*border-bottom: 1px solid rgb(230, 230, 230);*/
}
.collapsed .show-fade { display: block; }
.editing .show-fade { display: none; }

.secondary-column section header.panel-heading ul.panel-tools { right: 10px; }

a.edit-toggle:focus,
a.proxy-cancel:focus,
a.proxy-save:focus { text-decoration: underline; }
a.proxy-save { padding-left: 10px; }

form.loopify .firsty,
form.loopify .lasty {
    height: 1px;
    width: 1px;
    margin: 0;
    padding: 0;
    border: 0;
}