._popup_overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    text-align: center;
    z-index: 10000;
}

._popup_overlay:after {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    height: 100%;
    width: 0;
    vertical-align: middle;
    content: ''
}

/* Added for IE<9 compatibility */
._popup_overlay_ie {
    background: #000;
    opacity: .7;
    filter: alpha(opacity=70)
}

._popup {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    position: relative;
    min-width: 190px;
    max-width: 80%;
    max-height: 40%;
    
    /*padding: 30px 10px 10px 10px;*/
    border: 15px solid rgba(5,68,85,.8);
    overflow: hidden;
    background: #001f3b;
    vertical-align: middle;
    color: white;
}

._popup #_popup_body {
    /*width: 100%;*/
    /*height: 100%;*/
    border-left: 1px #075b89 solid;
    border-right: 1px #075b89 solid;
}

._popup #_popup_body div._content {
    margin: 31px 5px 0px 5px;
    padding: 5px 2px 0px 2px;
    font-family: Arial;
    font-size: 14px;
    text-align: left;
    overflow: auto;
}

._popup .title {
    width: 100%;
    height: 30px;
    position: absolute;
    line-height: 30px;
    cursor: pointer;
    top: 0px;
    left: 0px;
    background-image: linear-gradient(bottom, rgb(5,57,96) 34%, rgb(8,93,138) 70%);
    background-image: -o-linear-gradient(bottom, rgb(5,57,96) 34%, rgb(8,93,138) 70%);
    background-image: -moz-linear-gradient(bottom, rgb(5,57,96) 34%, rgb(8,93,138) 70%);
    background-image: -webkit-linear-gradient(bottom, rgb(5,57,96) 34%, rgb(8,93,138) 70%);
    background-image: -ms-linear-gradient(bottom, rgb(5,57,96) 34%, rgb(8,93,138) 70%);
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.34, rgb(5,57,96)),
        color-stop(0.7, rgb(8,93,138))
    );
    color: white;
}

._popup .title .text {
    
}

._popup .title .left {
    text-align: left !important;
}
    
/* Added instead of :after pseudoelement */
._popup_valignfix {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    width: 0;
    height: 100%;
    vertical-align: middle
}

._popup ._form_row {
    margin: 1em 0    
}

._popup label {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    width: 100%;
    text-align: left;
    margin: 2px 2px 2px 0px;
}

._popup input[type="text"], ._popup input[type="password"] {
    margin: 0;
    padding: 2px;
    border: 1px solid;
    border-color: #999 #ccc #ccc;
    border-radius: 2px;
    /*width: 170px;*/
}

._popup select {
    width: 170px;
}

._popup input[type="button"] {
    padding: 6px 16px;
    border: 0;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,.3);
    box-shadow:         inset 0 1px 1px rgba(255,255,255,.3);
    cursor: pointer;
    background: #444;
    background: -webkit-linear-gradient(90deg, #515151, #333 48%, #333 52%, #515151 100%);
    background:    -moz-linear-gradient(90deg, #515151, #333 48%, #333 52%, #515151 100%);
    background:     -ms-linear-gradient(90deg, #515151, #333 48%, #333 52%, #515151 100%);
    background:      -o-linear-gradient(90deg, #515151, #333 48%, #333 52%, #515151 100%);
    background:         linear-gradient(90deg, #515151, #333 48%, #333 52%, #515151 100%);
    color: #fff
}

._popup ._close {
    display: block;
    background: url("../img/enter/popup_close.png") no-repeat transparent;
    position: absolute;
    top: 7px;
    right: 10px;
    width: 20px;
    height: 15px;
    /*padding: 8px;*/
    /*border: 1px solid #fff;*/
/*    border-radius: 50%;
    -webkit-box-shadow: inset 0 2px 2px 2px rgba(0,0,0,.4),
                              0 3px 3px     rgba(0,0,0,.4);
    box-shadow:         inset 0 2px 2px 2px rgba(0,0,0,.4),
                              0 3px 3px     rgba(0,0,0,.4);*/
    cursor: pointer;
    /*background: #fff;*/
/*    text-align: center;
    font-size: 12px;
    line-height: 12px;
    color: #444;*/
    text-decoration: none;
    font-weight: bold
}

._popup ._close:hover {
    /*background: #ddd*/
}

._popup ._buttons {
    width: 100%;
    height: 45px;
    padding-top: 10px;
    border-top: 1px #00507d solid;
    /*padding-bottom: 5px;*/
    position: relative;
    background: #016297; /* Old browsers */
    background: -moz-linear-gradient(top, #016297 0%, #00689d 27%, #01466f 63%, #01304a 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#016297), color-stop(27%,#00689d), color-stop(63%,#01466f), color-stop(100%,#01304a)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #016297 0%,#00689d 27%,#01466f 63%,#01304a 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #016297 0%,#00689d 27%,#01466f 63%,#01304a 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #016297 0%,#00689d 27%,#01466f 63%,#01304a 100%); /* IE10+ */
    background: linear-gradient(to bottom, #016297 0%,#00689d 27%,#01466f 63%,#01304a 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#016297', endColorstr='#01304a',GradientType=0 ); /* IE6-9 */
}

._popup ._buttons .green, ._popup ._buttons .red, ._popup ._buttons .blue {
    dispaly: block;
    width: 119px;
    height: 34px;
    
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    font-family: Arial;
    font-size: 14px;
    color: white;
    /*background-color: #0e509e;*/
    /*border: 2px #0000BB solid;*/
}

._popup ._buttons .right {
    margin: 0px 7px 0px 7px;
    float: right;
}

._popup ._buttons .left {
    margin: 0px 7px 0px 7px;
    float: left;
}

._popup ._buttons .center {
    margin: 0px auto;
}

._popup ._buttons .green{
    background: url("/img/dialog/_green.png") no-repeat transparent;
}

._popup ._buttons .red{
    background: url("/img/dialog/_magenta.png") no-repeat transparent;
}

._popup ._buttons .blue{
    background: url("/img/dialog/_blue.png") no-repeat transparent;
}

/*._popup ._buttons ._red_btn:hover {
    color: black;
    background-color: #EFB0B2;
    border: 2px #8C1C38 solid;
}

._popup ._buttons ._green_btn:hover {
    background-color: #CCFF66;
    border: 2px #080 solid;
    color: black;
}*/

