.forms_ {
    z-index: 10050;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    top: 0;
    left: 0;
    padding-bottom: 120px;
}
.forms_wr_ {
    position: absolute;
    max-width: 555px;
    width: 100%;
    border-radius: 4px;
    left: 50%;
    margin-left: -277px;
    top: 0;
    background: #fff;
    margin-bottom: 120px;
    margin-top: 30px;
    z-index: 2;
}
#success_form,.forms_
{
    display:none;
    z-index:10050;
}

#overlay
{
    z-index: 10000;
    background-color: #000;
    opacity: .9;
    cursor: pointer;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* overlay new */
.overlay, .overlay-new{
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#success_form
{
    width:420px;
    height:266px;
    top:30px;
    margin-left:-210px;
    background:#357591;
    box-shadow:0 0 12px 0 rgba(0,0,0,.75)
}

.txt-success
{
    font-size:23px;
    color:#fff;
    width:420px;
    height:226px;
    text-align:center;
    display:table-cell;
    vertical-align:middle;
    line-height:40px;
    position:relative
}

#modal_close,.ok-success
{
    position:absolute;
    cursor:pointer
}

.ok-success
{
    width:160px;
    left:50%;
    margin-left:-80px;
    bottom:0
}

/*#modal_close*/
/*{*/
    /*width:40px;*/
    /*height:72px;*/
    /*top:0;*/
    /*right:0;*/
    /*display:block;*/
    /*background:url(../img/ico-all/close-ico.png) 50% 50% no-repeat;*/
    /*z-index:11*/
/*}*/

.forms_ .form-question-txt
{
    height:72px;
    color:#fff;
    line-height:72px;
    background:#357592;
    font-weight:700;
    text-transform:uppercase;
    font-size:24px;
    text-align:center;
    margin:0 0 29px
}

.forms_ label
{
    margin-top:13px
}

.orders_wr
{
    width:300px;
    margin:0 auto
}

/*.datepicker-form input,.datepicker-form-2 input*/
/*{*/
    /*background:url(../img/ico-all/calendar-ico.png) 99% 50% no-repeat*/
/*}*/

.datepicker-wr
{
    background-color:#fff;
    margin-left:0;
    border-radius:0;
    z-index: 1000010;
}

.datepicker-wr .ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all
{
    text-align:center;
    max-width: 280px;
    width: 100%;
    position:relative;
    margin:26px auto 25px;
    overflow:hidden;
    padding-left:1px;
    background-color:initial;
    border:none
}

.datepicker-wr .ui-datepicker-calendar tr,.ui-datepicker-calendar td
{
    margin:0;
    padding:0
}

.datepicker-wr table.ui-datepicker-calendar th
{
    color:#000;
    text-transform:uppercase;
    font-size:10px
}

.datepicker-wr table.ui-datepicker-calendar
{
    max-width: 280px;
    width: 100%;
    text-align:center;
    margin:0 auto 23px
}

.datepicker-wr .ui-datepicker-calendar a
{
    font-size:18px;
    color:#103b4e;
    text-decoration:none;
    border-radius:50%;
    display:inherit;
    left:9px;
    position:relative;
    text-align:center;
    padding:1px 0
}

.datepicker-wr table thead span
{
    color:#103b4e
}

.datepicker-wr .ui-datepicker-unselectable.ui-state-disabled span
{
    color:#7499bd;
    font-size:17px;
    text-decoration:none;
    border-radius:50%;
    display:inherit;
    left:9px;
    position:relative
}

.datepicker-wr .ui-datepicker-calendar a,.datepicker-wr .ui-datepicker-unselectable.ui-state-disabled span
{
    width:23px;
    height:23px;
    line-height:21px;
    border:none;
    background-color:#fff
}

.datepicker-wr .ui-datepicker-next.ui-corner-all,.datepicker-wr .ui-datepicker-prev.ui-corner-all
{
    width:20px;
    height:20px;
    background-image:url(../img/datepicker/calendar_arrows.png);
    overflow:hidden;
    text-indent:100%;
    background-repeat:no-repeat;
    top:5px;
    cursor:pointer;
    position:absolute
}

.datepicker-wr .ui-datepicker-next.ui-corner-all
{
    background-position:0 -36px;
    right:1px;
    left:auto;
    margin-top:6px
}

.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span,.ui-datepicker-next.ui-corner-all,.ui-datepicker-prev.ui-corner-all
{
    border:none!important;
    outline:0!important
}

.datepicker-wr .ui-datepicker-prev.ui-corner-all
{
    background-position:0 -66px;
    left:2px
}

.datepicker-wr .ui-datepicker-prev.ui-corner-all.ui-state-disabled
{
    background-position:0 -6px;
    cursor:default
}

.datepicker-wr .datepicker-wr:after
{
    content:'';
    width:302px;
    height:1px;
    background-color:#ccc;
    position:absolute;
    left:8px;
    top:68px
}

.datepicker-wr .ui-datepicker-calendar td
{
    height:26px
}

.modal,.modal-open
{
    height:100%!important
}

.datepicker-wr .ui-state-active
{
    background:#fff200!important;
    box-shadow:0 -1px 0 3px #fff200
}

.datepicker-wr
{
    color:#103b4e;
    width:100%;
    display:none;
    transition:.2s;
    -webkit-transition:.2s;
    -moz-transition:.2s;
    -o-transition:.2s;
    background:0 0;
    box-sizing:border-box
}

.datepicker-wr.opened
{
    display:block
}

.datepicker-wr .ui-datepicker-next,.datepicker-wr .ui-datepicker-prev
{
    background-color:inherit;
    margin-left:0;
    display:block;
    margin-top:6px
}

.datepicker-wr .ui-datepicker-title
{
    display:table;
    margin:0 auto
}

.datepicker-wr .ui-datepicker-year
{
    margin-left:10px
}

.modal-content
{
    margin-bottom:50px
}

.modal
{
    position:absolute;
    width:100%!important;
    top:0;
    left:0
}

.modal-dialog
{
    position:absolute;
    width:600px;
    border-radius:4px;
    left:50%;
    margin-left:-300px;
    top:0;
    margin-bottom:30px
}

@media (max-width:600px) {
    .modal-dialog
    {
        width:100%;
        left:0;
        margin-left:0;
        margin-top:0
    }
}

.ui-datepicker-title
{
    position:relative
}

.modal-open
{
    overflow-y:hidden!important
}

#booknow-date,#booknow2-date
{
    background-color:#fff!important
}

.book-tour .field-booknow-tour
{
    display:none!important
}

a.bnm
{
    background:#4fbfa8;
    color:#fff
}

.success_{
    position: fixed;
    display: none;
    left: 0;
    width: 100%;
}
.success_ .forms_wr_{
    box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.34);
}
.success_.done_{
    z-index: 10050;
    display:block;
    top: 40px;
    opacity:1;
}
.off-scroll{
    overflow: hidden!important;
    height: 100%;
}
.modal-body {
    padding-top: 10px;
    max-width: 400px;
    margin: 0 auto;
}
.modal-title{text-align: center;}

@media ( max-width: 640px ){
    .forms_ label{
        margin-top:3px;
        margin-bottom:3px;
    }
    .modal-header .close {
        margin-top: -2px;
        font-size: 35px;
        position: absolute;
        right: 15px;
    }
    .datepicker-wr{
        left:0;
    }
}
.forms_wr_ input {
    position: relative;
    z-index: 999999;
}
.forms_wr_ .form-group {
    position:relative;
}
.on_input_{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000000;
    display:block;
}
.on_input_.actived{display:none;}

@media(max-width:575px){
    .forms_wr_ {
        position: absolute;
        top: 0;
        background: #fff;
        margin-bottom: 120px;
        z-index: 2;
        margin-left: 0;
        left: 0;
        max-width: 575px;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }
}