﻿/*.jsCalendar table,*/
.jsCalendar table th,
.jsCalendar table td {
    border: 0px !important;
}

.jsCalendar tbody td:hover {
    background-color: #e6e6e6;
}

.jsCalendar *::selection {
    background: #83d8ff;
}

.jsCalendar *::-moz-selection {
    background: #83d8ff;
}

.jsCalendar.material-theme table {
    border-radius: 0px;
}

.jsCalendar.material-theme thead {
    margin: 0px;
    padding: 4px 4px 0px 4px;
    background-color: #52c9ff;
    color: #ffffff;
}

.jsCalendar.material-theme thead .jsCalendar-title {
    display: block;
    position: relative;
}

.jsCalendar.material-theme thead .jsCalendar-title-name {
    color: #ffffff;
    text-align: center;
    position: absolute;
    left: 15px;
    right: 15px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.jsCalendar.material-theme thead .jsCalendar-title-left,
.jsCalendar.material-theme thead .jsCalendar-title-right {
    position: absolute;
    z-index: 1;
}

.jsCalendar.material-theme thead .jsCalendar-nav-left:hover,
.jsCalendar.material-theme thead .jsCalendar-nav-right:hover {
    background-color: #03A9F4;
}

.jsCalendar.material-theme thead .jsCalendar-title-right {
    right: 0px;
}

.jsCalendar.material-theme thead .jsCalendar-week-days th {
    font-size: 14px;
    text-shadow: none;
}




/* Blue default */

.jsCalendar.classic-theme table,
.jsCalendar.classic-theme thead .jsCalendar-nav-left,
.jsCalendar.classic-theme thead .jsCalendar-nav-right,
.jsCalendar.classic-theme thead .jsCalendar-week-days th,
.jsCalendar.classic-theme tbody td,
.jsCalendar.classic-theme tbody td.jsCalendar-current {
    border-radius: 0px;
}

.jsCalendar.classic-theme thead {
    margin: 0px;
    background-color: #52c9ff;
    padding: 4px 4px 0px 4px;
}

.jsCalendar.classic-theme thead .jsCalendar-title-row,
.jsCalendar.classic-theme thead .jsCalendar-title {
    display: block;
    width: 100%;
}

.jsCalendar.classic-theme thead .jsCalendar-title {
    position: relative;
}

.jsCalendar.classic-theme thead .jsCalendar-title-name {
    font-size: 16px;
    color: #ffffff;
    text-shadow: none;
    text-align: center;
    position: absolute;
    left: 41px;
    right: 41px;
}

.jsCalendar.classic-theme thead .jsCalendar-title-left,
.jsCalendar.classic-theme thead .jsCalendar-title-right {
    position: absolute;
    z-index: 1;
}

.jsCalendar.classic-theme thead .jsCalendar-title-right {
    right: 0px;
}

.jsCalendar.classic-theme thead .jsCalendar-nav-left,
.jsCalendar.classic-theme thead .jsCalendar-nav-right {
    color: #ffffff;
    text-shadow: none;
}

.jsCalendar.classic-theme thead .jsCalendar-nav-left:hover,
.jsCalendar.classic-theme thead .jsCalendar-nav-right:hover {
    background-color: #03A9F4;
}

.jsCalendar.classic-theme thead .jsCalendar-week-days {
    background-color: #ffffff;
    display: block;
    margin: 0px -4px;
}

.jsCalendar.classic-theme thead .jsCalendar-week-days th {
    height: 20px;
    line-height: 20px;
    font-size: 10px;
    text-shadow: none;
}

.jsCalendar.classic-theme tbody td {
    padding: 1px 1px 0px 1px;
    margin: -1px 0px 0px -1px;
    border-top: 1px solid #dadada;
    border-left: 1px solid #dadada;
    width: 38px;
}

.jsCalendar.classic-theme tbody {
    margin: 0px;
}

.jsCalendar.classic-theme tbody td.jsCalendar-selected {
    border-top: 1px solid #dadada;
    border-left: 1px solid #dadada;
    border-right: 0px;
    border-bottom: 0px;
    height: 32px;
    line-height: 32px;
    background-color: #ccefff;
}

.jsCalendar.classic-theme tbody td.jsCalendar-current.jsCalendar-selected {
    background-color: #52c9ff;
    text-shadow: 0px 0px 3px #000000;
}



/* custom */
.jsCalendar thead {
    display: block;
    margin: 0;
}

.jsCalendar tbody {
    display: block;
    margin: 0;
}

.jsCalendar thead .jsCalendar-title {
    height: 40px;
    line-height: 40px;
    padding: 0px;
}



.jsCalendar thead .jsCalendar-nav-left,
.jsCalendar thead .jsCalendar-nav-right {
    font-size: 15px;
    font-weight: bold;
    height: 25px;
    width: 25px;
    margin: 7px 8px;
    text-align: center;
    line-height: 25px;
    cursor: pointer;
    color: #999999;
    border-radius: 50%;
    transition: color 0.2s, background-color 0.2s;
}

.jsCalendar thead .jsCalendar-nav-left {
    float: left;
}

.jsCalendar thead .jsCalendar-nav-right {
    float: right;
}

.jsCalendar thead .jsCalendar-title-name {

}



.jsCalendar thead .jsCalendar-title-left {
    float: left;
}

.jsCalendar thead .jsCalendar-title-right {
    float: right;
}

.jsCalendar table {
    color: #000000;
    background-color: #ffffff;
    border-collapse: initial;
    margin: 0;
    box-shadow: none;   
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    padding: 5px;
}

.jsCalendar thead .jsCalendar-week-days th,
.jsCalendar tbody td {
    display: inline-block;
    text-align: center;
    transition: color 0.1s, background-color 0.2s;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    margin: 4px 5px;
    font-size: 14px;
    color: #333333;
    border-radius: 50%;
    padding: 0 !important;
	/*-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
}

.jsCalendar tbody td {
    cursor: pointer;
}

.jsCalendar tbody td.jsCalendar-current {
    color: #333333;
    background-color: #a4e9fc;
    border-radius: 50%;
}

/* ovulation-disabled */
.ovulation-disabled tbody td.jsCalendar-current {
    background-color: transparent;
}


.ovulation-disabled tbody td {
    cursor: default;
}

/* ovulation-disabled */
.jsCalendar tbody td.jsCalendar-previous,
.jsCalendar tbody td.jsCalendar-next {
    cursor: default;
}

.jsCalendar thead .jsCalendar-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.jsCalendar thead .jsCalendar-title-name {
    float: left;
    position: relative;
    padding: 0px 30px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    color: #333333;
	font-weight: bold;
        
}
/*
.ovulation-block {
    display: flex;
    align-items: center;
    flex-direction: column;
}
*/

.ovulation-block{
    overflow: visible;
    padding: 0 7px 7px 7px;
}

.ov-month {
    margin: 6px 8px;
}

.ovulation-instr {
    font-size: 15px;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.67;
    font-weight: bold;
}

.ovulation-instr-strelka{
    width: 27px;
    height: 25px;
    margin-left: 200px;
    background-image: url(https://babycare.decorexpro.com/images/page/strelka.png);
}

.ovulation-info-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px auto;
    max-width: 500px;
	list-style: none;
}

.ovulation-info {
    position: relative;
    font-size: 14px;
    padding: 0 0 0 32px !important;
    margin-top: 15px;
    margin-right: 15px;
}

ul.ovulation-info-block li:before{
    display: none;
}

.ovulation-select-wrap {
    display: flex;
    justify-content: space-between;
}

.menstruation,
.ovulation,
.fertile {
    position: relative;    
}

.menstruation {    
	background-color: #FFB0AF !important; 
}


.ovulation { 
	background-color: #63bc66 !important;
	color: #fff !important;
}

.fertile {    
	background-color: #c4f097 !important;
}

.ovulation-info:after {
    content: " ";
    display: block;
    position: absolute;
    top: -1px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 15px;
}

.ovulation-info_menstruation:after {
    background-color: #FFB0AF;
}

.ovulation-info_ovulation:after {
    background-color: #63bc66;	
}

.ovulation-info_fertile:after {
    background-color: #c4f097;
}


.menstruation:hover:after, .ovulation:hover:after, .fertile:hover:after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    bottom: 44px;
    z-index: 1;
    color: #343434;
    text-align: center;
    font-size: 13px;
    padding: 7px 8px;
    border-radius: 10px;
    display: block;
    line-height: 1;
}

.no-datatitle:hover:after{
    display: none;
}

.menstruation:hover:after {
    background-color: #FFB0AF;
}

.ovulation:hover:after {
    background-color: #63bc66;
	color: #fff;
}

.fertile:hover:after {
    background-color: #c4f097;
}

.jsCalendar thead .jsCalendar-week-days th:nth-last-of-type(1), .jsCalendar thead .jsCalendar-week-days th:nth-last-of-type(2) {
    color: #ff6160;
}
.jsCalendar thead .jsCalendar-week-days th {
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
    color: rgba(52, 52, 52, 0.5);
}

.ovulation-disabled tbody td:hover {
    background-color: transparent;
}

.jsCalendar th, .jsCalendar td{
	padding: 0;
}

.ovulation_select_container{
    display: inline-block;
    width: 49%;
}

.ovulation_select{
    display: block;
    margin: 5px auto;
}

.js__calendar{
    display:inline-block;
}

.jsCalendar tbody td.jsCalendar-previous:hover, .jsCalendar tbody td.jsCalendar-next:hover{
    color:#CACACA;
    background-color:inherit;
}

.ovulation-hidden{
    display: none;
}

.jsCalendar thead .jsCalendar-title-name:after {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -7px;
    width: 14px;
    height: 14px;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(https://babycare.decorexpro.com/images/page/calendar.svg);
}

.jsCalendar table:hover {
    box-shadow: 0 2px 6px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}

.ovulation-block .js__calendar {
    opacity: 0.5;
    /*-moz-user-select: none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;*/
}

.ovulation-block .js__calendarMain, .ovulation-block .js__calendarVisible {
    opacity: 1;
}
