/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Nov 9, 2020, 7:53:08 PM
    Author     : aelfwinecross
*/

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 0px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    width: 200px;
    top: 100%;
    left: 50%;
    margin-left: -100px;


    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%;  /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/*for the loader*/
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    /*background-color: rgb(0,0,0); /* Fallback color */
    /*background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    /*background-color: #fefefe;*/
    margin: 25% auto; /* 15% from the top and centered */
    padding: 20px;
    /*border: 1px solid #888;*/
    width: 80%; /* Could be more or less, depending on screen size */

  }

#loader {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 20px solid #f3f3f3;
    border-radius: 50%;
    border-top: 20px solid green;
    border-right: 20px solid whitesmoke;
    border-bottom: 20px solid green;
    border-left: 20px solid whitesmoke;
    -webkit-animation: spin 500ms linear infinite;
    animation: spin 500ms linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 } 
    to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
    from{ bottom:-100px; opacity:0 } 
    to{ bottom:0; opacity:1 }
}


/* Center the loader */
.loader {
    width: 48px;
    height: 48px;
    z-index: 1;
    position: relative;
    animation : rotate 4s linear infinite;
  }
  .loader:before,
  .loader:after {
    content:"";
    display: block;
    border: 24px solid;
    border-color: transparent transparent blue  blue;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    animation: mvx 1s infinite ease-in;
  }
  .loader:before {
    left: -1px;
    top: 1px;
    z-index: 1;
    border-color:#FF3D00  #FF3D00 transparent transparent;
    animation-name:mvrx;
  }

  @keyframes rotate {
    100% {transform: rotate(360deg)}
  }
  @keyframes mvx {
    0% , 15% {transform: translate(0 , 0) rotate(0deg)}
    50% {transform: translate(-50% , 50%) rotate(180deg)}
    100% {transform: translate(0% , 0%) rotate(180deg)}
  }
  @keyframes mvrx {
    0% , 15%  {transform: translate(0 , 0) rotate(0deg)}
    50% {transform: translate(50% , -50%) rotate(180deg)}
    100% {transform: translate(0% , 0%) rotate(180deg)}
  }


#maindiv {
    display: none;

}


.table {
    border-collapse: collapse;
}
.table, .table th, .table td {
    border: 1px solid #ccc;
}
.table th, .table td {
    padding: 0.5rem;
}
.table th {
    position: relative;
}
.resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    cursor: col-resize;
    user-select: none;
}
.resizer:hover, .resizing {
    border-right: 2px solid blue;
}

.resizable {  
    border: 1px solid gray;
    height: 100px;
    width: 100px;
    position: relative;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    /*background-color: #2196F3;*/
    padding: 10px;
 }
  
.grid-item {
    /*background-color: rgba(255, 255, 255, 0.8);*/
    /*border: 1px solid rgba(0, 0, 0, 0.8);*/
    /*padding: 20px;*/
    /*font-size: 30px;*/
    cursor: pointer;
    /*text-align: center;*/
}


/*div.console {
    height: 220px;
    overflow: auto;*/
   /* flex-direction: column-reverse;
    display: flex;*/
/*}*/




.question-title{        
    display:block;
    padding-left:30px;
}
.question-title:before{
    content: '';
    background:url('https://i.sstatic.net/ZrSlg.jpg');
    background-size: 20px 20px;
    position:absolute;
    width:20px;
    height:20px;
    margin-left:-30px;
   
}


/* Remove default bullets */
ul, #myUL {
    list-style-type: none;
  }
  
  /* Remove margins and padding from the parent ul */
  #myUL {
    margin: 0;
    padding: 0;
  }
  
  /* Style the caret/arrow */
  .caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
  }
  
  /* Create the caret/arrow with a unicode, and style it */
  .caret::before {
    content: "\25B6";
    color: black;
    display: inline-block;
    margin-right: 6px;
  }
  
  /* Rotate the caret/arrow icon when clicked on (using JavaScript) */
  .caret-down::before {
    transform: rotate(90deg);
  }
  
  /* Hide the nested list */
  .nested {
    display: none;
  }
  
  /* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
  .active {
    display: block;
  }



  .calendar {
    display: flex;
    flex-flow: column;
}
.calendar .header .month-year {
    font-size: 20px;
    font-weight: bold;
    color: #636e73;
    padding: 20px 0;
}
.calendar .days {
    display: flex;
    flex-flow: wrap;
}
.calendar .days .day_name {
    width: calc(100% / 7);
    border-right: 1px solid #2c7aca;
    padding: 20px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    color: #818589;
    color: #fff;
    background-color: #448cd6;
}
.calendar .days .day_name:nth-child(7) {
    border: none;
}
.calendar .days .day_num {
    display: flex;
    flex-flow: column;
    width: calc(100% / 7);
    border-right: 1px solid #e6e9ea;
    border-bottom: 1px solid #e6e9ea;
    padding: 15px;
    font-weight: bold;
    color: #7c878d;
    cursor: pointer;
    min-height: 100px;
}
.calendar .days .day_num span {
    display: inline-flex;
    width: 30px;
    font-size: 14px;
}
.calendar .days .day_num .event {
    margin-top: 10px;
    font-weight: 500;
    font-size: 14px;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: #f7c30d;
    color: #fff;
    word-wrap: break-word;
}
.calendar .days .day_num .event.green {
    background-color: #51ce57;
}
.calendar .days .day_num .event.blue {
    background-color: #518fce;
}
.calendar .days .day_num .event.red {
    background-color: #ce5151;
}
.calendar .days .day_num:nth-child(7n+1) {
    border-left: 1px solid #e6e9ea;
}
.calendar .days .day_num:hover {
    background-color: #fdfdfd;
}
.calendar .days .day_num.ignore {
    background-color: #fdfdfd;
    color: #ced2d4;
    cursor: inherit;
}
.calendar .days .day_num.selected {
    background-color: #f1f2f3;
    cursor: inherit;
}


/*html, body {
    overflow-x: hidden;
}*/