/*
    KANOS CUSTOMER PORTAL
      -> CALENDAR CSS
    
    version: 0.01
    date: 16.08.2023
    
    created by tokk.sk
    
    (C) kanos.sk, 2023
    all rights reserved
*/


 .calendar-profile-body {
    width: 900px;
    left: calc(50% - 900px/2 - 0.5px);
 }
 
 .calendar-content-left {
   float: left;
 }
 .calendar-content-right {
   float: right;
 }

  .calendar-header-btn {
    position: absolute;
    overflow: auto;
    z-index: 2;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border-radius: 10px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    align-items: center;
    text-align: center;
    color: #000000;
  }

  .calendar-header-btn.left {
    left: -40px;
  }
  .calendar-header-btn.right {
    left: 915px;
  }  

  .calendar-header-btn a, .calendar-header-btn a:visited {
   display: block;
   width: 40px;
   padding-top: 7px;
   height: 33px;
    
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 700;
   font-size: 18px;
   line-height: 150%;

   border-radius: 10px;

   border-width: 0px;
    
   background: transparent;
   color: #000;
   text-decoration: none;        
  }
  .calendar-header-btn a:hover, .calendar-header-btn a:active {
   background: #79D046;
   color: #fff;  
  }
  .calendar-header-btn a.calendarMoveTwice {
    display: block;
  }
 
  .calendar-header-btn a.calendarMoveOnce {
    display: none;
  } 

  .databox.calendar {
    height: 995px; /*740px;*/   
  }

  .databox-profile-body-middle.calendar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /*width: 400px;*/
    top: 550px;
    
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    
  }

  .databox-profile-body-middle.calendar td {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    
    color: #fff;  
  }

  .databox-profile-body-middle.calendar input[type="radio"] {
    appearance: none;
    background-color: #9A9A9A;
    margin: 0;
    font: inherit;
    color: #9A9A9A;
    width: 33px;
    height: 33px;
    border: unset; /*0.15em solid currentColor;*/
    border-radius: 50%;    
  }
  .databox-profile-body-middle.calendar input[type="radio"] + label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    
    color: #9A9A9A;
    
    position: relative;
    
    top: -9px;
    left: 5px;
  }


  .databox-profile-body-middle.calendar input[type="radio"]:checked {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: #fff;
    width: 33px;
    height: 33px;
    border: unset; /*0.15em solid currentColor;*/
    border-radius: 50%;    
  }

  .databox-profile-body-middle.calendar input[type="radio"]:checked + label {
    color: #fff;
  }

  .databox-profile-body-middle {
    ::-webkit-scrollbar {
      width: 16px;
      height: 16px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
      background: #f1f1f1;
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
      background: #B1B1B1;
      /*box-shadow: -2px 2px 20px rgba(0, 0, 0, 0.25);*/
      border-radius: 20px;
      /*transform: rotate(90deg);*/
      width: 16px;
      height: 16px;
    }

    /* Handle on hover */
    /*::-webkit-scrollbar-thumb:hover {
      background: #555;
    }*/
  }

  .databox-profile-body-middle textarea {
    background: #3F3E3E;
    border: unset;
    /*border-radius: 10px;*/
    
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
    
    color: #fff;
    
    resize: none;
    white-space: nowrap;
    overflow: auto; /*scroll;*/
    overflow-y: scroll;/*hidden;*/
    overflow-x: auto;/* scroll;*/
    overflow: -moz-scrollbars-vertical;
    
    width: 600px;
    height: 183px;
  }

  .databox-profile-body-bottom.calendar {
    top: 918px; /*670px;*/   
  }

  .footer.footer-calendar {
    top: 110px;   
  }
 
 .calendar {
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 700;
   font-size: 18px;
   line-height: 150%;
   /* identical to box height, or 27px */

   align-items: center;
   text-align: center;

   color: #000; 
 }
 
 .calendar-header {
   display: flex;
   justify-content: center;
   align-items: center;
   margin-left:13px;
   /*padding: 0px 159px;*/
   /*gap: 10px;*/

   width: 372px;
   height: 40px;

   background: #FFFFFF;
   border-radius: 10px;
   
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 700;
   font-size: 18px;
   line-height: 150%;
   /* identical to box height, or 27px */

  align-items: center;
  text-align: center;

  color: #000000;
 }
 
 .calendar-content td {
   padding: unset;
 }
 
 .calendar-content td {
   padding-left: 13px;
   padding-top: 20px;
   margin-top: 8px;
   vertical-align: middle;
   text-align: center;
 }
 
 .calendar-element {
   width: 40px;
   height: 40px;
   
   background: #3F3E3E;
   border-radius: 10px;
   
   color: #000;
 }

 .calendar-element input[type="button"] {
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 700;
   font-size: 18px;
   line-height: 150%;

   width: 40px;
   height: 40px;
   border-radius: 10px;

   border-width: 0px;

   background: #fff;
   color: #000;
   text-decoration: none;
 }

 .calendar-element.clickable {
   background: #fff;
   color: #000; 
 }

 .calendar-element a, .calendar-element a:visited {
   display: block;
   width: 40px;
   padding-top: 7px;
   height: 33px;
    
   font-family: 'Open Sans';
   font-style: normal;
   font-weight: 700;
   font-size: 18px;
   line-height: 150%;

   border-radius: 10px;

   border-width: 0px;
    
   background: transparent;
   color: #000;
   text-decoration: none;        
 }
 
 .calendar-element a:hover, .calendar-element.highlight, .calendar-element a.highlight, .calendar-element input[type="button"]:hover, .calendar-element input[type="button"].highlight {
   background: #79D046;
   color: #fff;
 } 

 @media screen and (max-width: 850px) {
   .calendar-element a:hover {
     background: transparent;
     color: unset;     
   }
 }

 .calendar-element input[type="button"]:disabled {
   background: #D2D2D2;
   color: #000;
 }

 .calendar-element input[type="button"]:disabled.holiday {
   color: #f00;
 } 

 .calendar-element input[type="button"].disabled {
   background: #A2A2A2;
   color: #000;
 }
 .calendar-element input[type="button"].current {
   color: #fff;
 }

 .databox-profile-body-middle.calendar.calendar-4-rows,.databox-profile-body-bottom.calendar.calendar-4-rows,.databox.calendar.calendar-4-rows,.databox-profile-body-middle.calendar.calendar-5-rows,.databox-profile-body-bottom.calendar.calendar-5-rows,.databox.calendar.calendar-5-rows,.databox-profile-body-middle.calendar.calendar-6-rows,.databox-profile-body-bottom.calendar.calendar-6-rows,.databox.calendar.calendar-6-rows {}
 
 @media screen and (max-width: 1200px) {
  .calendar-header {
    width: 261px;
    position: relative;
    left: 57px;
  }
  
  .calendar-header-btn.left {
    left: 15px;
  }
  .calendar-header-btn.right {
    left: 345px;
  }  

  .calendar-header-btn a.calendarMoveTwice {
    display: none;
  }
 
  .calendar-header-btn a.calendarMoveOnce {
    display: block;
  } 
   
   .calendar-profile-body {
      position: absolute;
      width: 450px;
      left: calc(50% - 450px/2 - 0.5px);
   }
   
   .calendar-content {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);   
   }

   .calendar-content-left {
     float: unset;
     position: relative;
   }
   .calendar-content-right {
     display: none;
     float: unset;
     position: relative;
     top: 30px;
   }
   
   .databox.calendar {
     height: 935px; /*1376px;*/ /*1200px;*/   
   }

  .databox-profile-body-middle.calendar {
    width: 312px;
    top: 510px;/*966px;*/
  }
  
   .databox-profile-body-bottom.calendar {
     top: 858px;/*1307px;*/ /*1130px;*/   
   }

   .databox-profile-body-middle textarea {
    width: 300px;/*265px;*/
    height: 153px;
   }   

    .databox-profile-body-middle.calendar.calendar-4-rows {
      top: 440px;
    }
    .databox-profile-body-bottom.calendar.calendar-4-rows {
      top: 790px;
    }
    .databox.calendar.calendar-4-rows {
      height: 866px;
    }

    .databox-profile-body-middle.calendar.calendar-6-rows {
      top: 555px;
    }
    .databox-profile-body-bottom.calendar.calendar-6-rows {
      top: 905px;
    }
    .databox.calendar.calendar-6-rows {
      height: 970px;
    }


   .footer.calendar {
     top: 82px;   
   }      
 }
