img{
  max-width: 100%;
  height: auto;
}

ul, ol{
  list-style: none;
  padding: 0;
  margin: 0;
}
.font-size-12{
  font-size: 12px;
}

.table th, .table td,
table.dataTable tbody td, table.dataTable tbody th{
  padding:5px 10px ;
}



.white-space-nowrap{
  white-space: nowrap;
}

.certi-field-wrap{
    display: grid;
    gap:8px;
    grid-template-columns: 1fr 1fr;
}

input.invalid,
select.invalid,
textarea.invalid{
    border-color: red;
    background-color: rgba(255, 0, 0, 0.14);
}

.error-text{
    font-size: 12px;
}

.login-form-wrapper{
    background-color: #fff;
    padding:40px 30px;
    border-radius: 20px; 
}

.form-control{
  height: 35px;
}

.form-control-sm{
    border-radius: 5px;
}

.border{
    border:1px solid #dadada !important;
}

/* .sticky{
  position: sticky;
  top: 85px;
} */

/* Date Picker Reset */

.andp-datepicker-container{
    border-radius: 7px;
    z-index: 9999 !important;
}

.datepicker-dropdown{
    padding: 0 !important;
    border-radius: 7px !important;
    overflow: hidden;
}

.datepicker-dropdown .table-condensed thead tr th{
font-size: 14px;
    font-weight: 400;
    padding:10px 0;
}

.datepicker-dropdown .table-condensed thead tr:nth-child(2),
.andp-header{
    background-color: #3b5998 !important;
}

.datepicker-dropdown .table-condensed thead tr:nth-child(2) th{
    color: #fff;
    font-weight: 400;
    border-radius: 0;
}

.datepicker-dropdown .table-condensed tbody tr td{
    border:1px solid #f1f1f1;
}

.datepicker .datepicker-switch:hover, .datepicker .next:hover, .datepicker .prev:hover, .datepicker tfoot tr th:hover{
    background: #3b5998 !important;
}

.datepicker table tr td, .datepicker table tr th{
    font-size: 12px;
    font-weight: 400;
    width:34px !important;
    height: 25px !important;
    border-radius: 0 !important;
}
.datepicker table tr td.active, 
.datepicker table tr td.active.highlighted,
.datepicker table tr td.day:hover, 
.datepicker table tr td.focused,
.andp-column div.day:hover,
.andp-column div.selected{
    color: #fff !important;
    background-color: #3b5998 !important;
    border-color: #3b5998 !important;
}


.andp-days-names div{
    color: #777777 !important;
}

/* Tabs */

.tab-link{
    color: #777777;
    font-size: 16px;
    padding: 5px 10px;
    border-bottom: 1.5px solid #777;
}

.tab-link:last-child{
    margin-right: 0;
}

.tab-link.active,
.tab-link:hover{
    color: #3b5998;
    border-color: #3b5998;
}

/* Card */
.card .card-header{
    padding:13px 20px;
    background-color: #3b5998;
    border-radius: 7px 7px 0 0;
}

.card .card-header .card-title{
    color: #fff;
}

.card .card-header h5{
    color: #fff;
}

.f-width-opt{
    position: relative;
}

.f-width-opt .select-options{
    width: 100%;
    top: 30px;
}

/* Switcher */

/* .toggle-button-cover {
    display: table-cell;
    position: relative;
    width: 200px;
    height: 140px;
    box-sizing: border-box;
  }
  
  .button-cover {
    height: 100px;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 10px 20px -8px #c5d6d6;
    border-radius: 4px;
  } */
  
  /* .button-cover:before {
    counter-increment: button-counter;
    content: counter(button-counter);
    position: absolute;
    right: 0;
    bottom: 0;
    color: #d7e3e3;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
  } */
  
  /* .button-cover,
  .knobs,
  .layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  } */
  
  .button-cover .button {
    position: relative;
    top: 50%;
    width: 74px;
    height: 30px;
    margin:  0 auto;
    overflow: hidden;
  }
  
  .button-cover .button.r,
  .button-cover .button.r .layer {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 100px;
  }
  
  .button-cover .button.b2 {
    border-radius: 2px;
  }
  
  .button-cover .checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
  }
  
  .knobs {
    z-index: 2;
  }
  
  .layer {
    width: 100%;
    background-color: #ebf7fc;
    transition: 0.3s ease all;
    z-index: 1;
  }

  /* Button 1 */
#button-1 .knobs:before {
    content: "YES";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 28px;
    height: 25px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    background-color: #43d396;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
  }
  
  #button-1 .checkbox:checked + .knobs:before {
    content: "NO";
    left: 42px;
    background-color: #f44336;
  }
  
  #button-1 .checkbox:checked ~ .layer {
    background-color: #fcebeb;
  }
  
  #button-1 .knobs,
  #button-1 .knobs:before,
  #button-1 .layer {
    transition: 0.3s ease all;
  }

  /* File Uploader */

  .uploader-file{
    position: relative;
  }

  .uploader-file label{
    position: relative;
    padding: 10px;
  }

  .uploader-file label:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 7px;
    opacity: 0;
    visibility: hidden;
  }

  .uploader-file label:hover:before{
    opacity: 1;
    visibility: visible;
  }

  .uploader-file .start-one{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: ease all 0.3s;
  }

  .uploader-file:hover .start-one{
    opacity: 1;
    visibility: visible;
    transform: translateY(-25%);
  }

  .uploader-file label,
  .uploader-file #response{
    float: unset;
  }

  /* User Thumb */
  .user-thumb{
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 50%;
  }

  /* School Profile  */

  .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link{
    color: #fff;
    background-color: #3b5998;
    border-color: #3b5998;
  }

  .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus{
    border-color: #3b5998;
  }

  .nav-tabs .nav-item a{
    font-size: 16px;
  }

  .school-logo img{
    width: 200px;
    height: 200px;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 15px;
  }

  .school-info-wrap{
    font-size: 16px;
  }

  .school-info{
    line-height: 2;
    column-count: 2;
  }

  .school-info li {
    font-weight: 400;
  }

  .school-info li span{
    display: inline-block;
    font-weight: 600;
    min-width: 150px;
  }

  .school-info li span.badge{
    min-width: auto;
    margin-right: 2px;
  }


  .school-info-wrap .signature{
    text-align: center;
    padding:15px;
    margin-top: 25px;
    border:1px dashed #dadada;
    border-radius: 10px;
  }

  .school-info-wrap .signature img{
    max-width: 150px;
    width: 100%;
  }

  table .dropdown-menu{
    padding: 0;
  }

  table .dropdown-item{
    font-size: 12px;
    padding: 5px 15px;
  }

  table .dropdown-item:hover{
    color: #fff;
    background-color: #3b5998;
  }

  .mark-entry tbody td .form-control{
    display: inline-block;
    padding: 3px;
    width: 30px;
  }

  .col-4-field{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: flex-end;
  }

  .grading-form-inner .card-body{
    height: 500px;
    overflow-y: scroll;
  }

  .select2-container--default .select2-selection--multiple,
  .select2-container--default .select2-selection--single{
    height: 35px !important;
    border-color:#dadada !important;
    border-radius: 8px !important;
  }


  .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 35px !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow{
    top:4px !important;
  }

  .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .select2-dropdown{
    border-color: #dadada !important;
  }

  .select2-container--default .select2-results__option--highlighted[aria-selected],
  .select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: #3b5998 !important;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__choice{
    font-size: 12px;
    padding-right: 5px !important;
    margin-right: 0;
    border-color: #fff !important;
  }
  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    border-color: #fff !important;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
  .select2-container--default .select2-selection--multiple{
    color: #fff !important;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__clear{
    color: red;
  }

  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{
    background-color: red !important;
  }

  /* ------Header------ */
  .iq-sidebar .data-scrollbar{
    height:calc(100vh - 75px);
  }


  /* ---------Student Profilr------------ */

  .profile-lft-info{
    border-right: 1px solid #eee;
  }

  .profile-lft-info .school-logo{
    max-width: 100px;
    width: 100%;
    height: 100%;
    padding: 10px;
    margin: 0 auto 15px auto;
    aspect-ratio: 1/1;
    border:3px solid #3b5998;
    border-radius:50%;
    overflow: hidden;
  }

  .profile-lft-info .school-logo .logo{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .tab-btns-wrap ul li a{
    display: block;
    text-decoration: none;
    padding: 10px 15px 10px 30px;
    border-bottom: 1px solid #eee;
}

.tab-btns-wrap ul li:first-child a{
  border-top: 1px solid #eee;
}
.tab-btns-wrap ul li:last-child a{
  border-bottom: none;
}

.tab-btns-wrap ul li a:hover{
  color: #fff;
  background-color: #3b5998;
}

.payfee-table td{
  padding: 5px 10px;
}


  /* -----Print Grade Sheet Report --- */

  .max-outterborder {
    border: 1px solid #000;
    background-color: #fff;
    border-radius: 5px;
    width: 755px;
    page-break-after: always;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.outerboder {
  border: 3px solid #000;
  border-radius: 5px;
  margin: 2px;
}

.grade-sheet .card-body{
  height: 100vh;
  overflow-y: scroll;
}

/* Multiple Image Uploader */

.multiple-img-upload{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  flex-direction: column;
  background-color: #f2f2f2;
  height: 171px;
  padding: 10px;
  border:1.5px dashed #dadada;
  border-radius: 7px;
}


.upload__inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.upload__btn {
  display: flex;
  align-items: center;
  color: #3b5998;
  text-align: center;
  width:70px;
  height: 70px;
  padding: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid;
  border:1px dashed #dadada;
  border-radius: 7px;
  font-size: 10px;
}
.upload__btn:hover {
  background-color: #fea20252;
  color: #333;
  transition: all 0.3s ease;
}
.upload__btn-box {
  margin-bottom: 10px;
}
.upload__img-wrap {
  display: flex;
  flex-wrap: wrap;
  gap:5px;
}
.upload__img-box {
  width: 70px;
  height: 70px;
  padding: 0 5px;
  border: 1px dashed #dadada;
  border-radius:7px;
}
.upload__img-close {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 10px;
  right: 10px;
  text-align: center;
  line-height: 24px;
  z-index: 1;
  cursor: pointer;
}
.upload__img-close:after {
  content: "✖";
  font-size: 14px;
  color: white;
}

.img-bg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-bottom: 100%;
}

.md-country-picker-item {
  position: relative;
  line-height: 20px;
  padding: 10px 0 10px 40px;
}

.md-country-picker-flag {
  position: absolute;
  left: 0;
  height: 20px;
}

.mbsc-scroller-wheel-item-2d .md-country-picker-item {
  transform: scale(1.1);
}

#loading{
  background-color: transparent;
}

.iq-loader-box{
  height: 100%;
}

.iq-loader-box .iq-loader-3 .loader-outter,
.iq-loader-box .iq-loader-3 .loader-inner{
  border-color: #3b5998;
}

/* Atte monthly */

.att-monthly-table table tbody td, 
.att-monthly-table table tbody th{
  padding:5px;
}


/* Exam Routune */

.exam-routine .form-control{
  width: 100px !important;
}

.exam-routine .input-group{
  flex-wrap: unset;
}