/* Datepicker 
----------------------------------*/
.ui-datepicker {  padding: .2em .2em 0; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { 
display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 7%;
    -webkit-transform: scale(1.8);
    -moz-transform: scale(1.8);
    -ms-transform: scale(1.8);
    -o-transform: scale(1.8);
            transform: scale(1.8);

 }
.ui-datepicker .ui-datepicker-title {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.ui-datepicker .ui-datepicker-title sel ect { float:left; font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker .ui-datepicker-title select.ui-datepicker-year {    
background: url("../images/select-str.png") no-repeat 96% -29px;
 -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
    height: 30px;
    background-color: #fff;
    padding: 2px 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: 'Open Sans';
    font-size: 14px;
	font-weight: 600; }
.ui-datepicker table {width: 100%; font-size: 14px; font-family: 'Open Sans'; border-collapse: collapse; margin:15px auto; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; }

/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }

/* IE6 IFRAME FIX (taken fr om datepicker 1.5.3 */
.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}
/* YaPro.Ru */
#ui-datepicker-div {
	padding: 5px 20px;
    background-color: #ffffff;
    display: none;
	    -webkit-box-shadow: 0 11px 26px -8px #646361;
    -moz-box-shadow: 0 11px 26px -8px #646361;
    box-shadow: 0 11px 26px -8px #646361;
}
.ui-datepicker-prev, .ui-datepicker-next { cursor:pointer }
.ui-datepicker-month { width: 82px !important }
.ui-datepicker-year { width: 80px !important }
/*.ui-datepicker-calendar {
	width: 15.5em;
	text-align: right;
}*/
.ui-datepicker-calendar td a {
  display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    color: #000;
    background-color: #fff;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    height: 25px;
    width: 35px;
    -webkit-border-radius: 0;
            border-radius: 0;
    margin: 3px;
	font-family: 'Open Sans'
}
.ui-datepicker-calendar td a:hover {
    color: #fff;
    background-color: #ae5b55;
}
.ui-datepicker-calendar td a:active {
    border: 1px solid #aaaaaa;
    color: #212121;
    background-color: #ffffff;
}
.ui-datepicker-calendar select {
    border: 1px solid #d3d3d3;
    color: #555555;
    background: #FFFFFF;
}
.ui-state-active {
    color: #fff !important;
    background: #ad5a55 !important;
}
.ui-datepicker-calendar td a.ui-state-highlight { color: #ad5a55; font-weight: 600; }
.ui-datepicker-calendar td a.ui-state-highlight:hover{
	color: #fff;
}
.ui-datepicker th { 
    color: #ad5a55;
    font-family: 'Open Sans';
    font-weight: 300;
    font-size: 14px;
    padding: 7px 0;
    text-align: center;
 }
.ui-datepicker td { padding: 0px !important }

.YaproClock {  margin-left:21px !important }
.YaproClock TD {    
    margin: auto;
    color: #ae5b55;
    padding-bottom: 7px !important;
    font-weight: 800;}
.YaproClock select {    
 border: 1px solid rgba(0, 0, 0, 0.2);
    height: 35px;
    width: 45px; }
.datepickerYaproOK {
width: 45px;
    text-align: center;
    border: none;
    font-size: 13px;
    cursor: pointer;
    height: 35px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    -webkit-border-radius: 8px;
            border-radius: 8px;
    color: #fff;
    background: #ae5b55;
    font-weight: 700;

 }

.ui-datepicker-month{
	width: 120px !important;
    -webkit-appearance: none;
 -moz-appearance: none;
 appearance: none;
    height: 30px;
    background-color: #fff;
    padding: 2px 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-family: 'Open Sans';
    font-size: 14px;
	font-weight: 600;
background: url("../images/select-str.png") no-repeat 96% -29px;
}

.activeBg-calend{
background: url("../images/select-str.png") no-repeat 96% 10px
}