.main-popup-layer {
    position: absolute;
    padding: 0px;
    margin: 0px;
    z-index: 1000;
}

.main-popup-layer .panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 0; /*4px;*/
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.main-popup-layer .panel-body {
    padding: 0; /*15px;*/
}
.main-popup-layer .panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}
.main-popup-layer .panel-heading > .dropdown .dropdown-toggle {
    color: inherit;
}

.main-popup-layer .panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}
.main-popup-layer .panel-title > a,
.main-popup-layer .panel-title > small,
.main-popup-layer .panel-title > .small,
.main-popup-layer .panel-title > small > a,
.main-popup-layer .panel-title > .small > a {
    color: inherit;
}
.main-popup-layer .panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}
.main-popup-layer .panel-default {
    border-color: #ddd;
}
.main-popup-layer .panel-default > .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
.main-popup-layer .panel-default > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #ddd;
}
.main-popup-layer .panel-default > .panel-heading .badge {
    color: #f5f5f5;
    background-color: #333;
}
.main-popup-layer .panel-default > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #ddd;
}

.main-popup-layer button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.main-popup-layer .close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0px 1px 0px #fff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}
