﻿


/** GENERIC POPUP CSS **/
.popup {
    position    :absolute;

    z-index     : 1000;
    font-size   : 12px;
    border      : 1px solid #ccc;
    border      : 1px solid rgba(0, 0, 0, .2);

    border-radius       : 6px;
    -webkit-box-shadow  : 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow          : 0 5px 10px rgba(0, 0, 0, .2);
    
    background-color    : #fff;
}

.popup .popup-content {
    overflow-y      : auto;
    max-height      : 250px;
    overflow-x      : hidden;
    padding         : 8px;    
}

.popup .popup-title {
    font-size   : 14px;   
    padding     : 8px 14px;
    margin      : 0;
    font-size: 14px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 5px 5px 0 0; 
    margin-bottom   : 8px;
}

.popup label {
    display     : inline-block;
    margin-left : 5px;
    font-weight : normal;
    width       : 200px;
    word-wrap   : normal;
    vertical-align  : top;
    white-space     : pre-line;
}

.popup input[type=checkbox], input[type=radio] {
    margin: 1px 0 0;
}

.popup .button-container {
    text-align : center;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top      : 8px;
}

.popup .button-container > * {
    margin-left : 5px;
    margin-right: 5px;
}

.popup .arrow {
}

.popup .arrow {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.popup > .arrow {
    border-width        : 11px;
    top                 : -11px;
    left                : 50%;
    margin-left         : -5px;
    border-top-width    : 0;
    border-bottom-color : #999;
    border-bottom-color : rgba(0, 0, 0, .25);
}

.popup > .arrow:after {
    position        : absolute;
    display         : block;
    width           : 0;
    height          : 0;
    border-color    : transparent;
    border-style    : solid;
    border-width    : 10px;
    content         : " ";
    top             : 1px;
    margin-left     : -10px;
    border-top-width: 0;
    border-bottom-color : #fff;
}

.popup.hasHeader > .arrow:after {
    border-bottom-color : #f7f7f7;
}