/* ==================================CUSTOM CSS=======================================*/

/* ========== General ============== */

body {
    font-family: 'Poppins', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
}

/* ========== Headings ============== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
}

/* ========== Buttons ============== */
.btn {
    border-radius: 3px;
}
.btn.btn-sm {
    height: auto;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 18px;
}

.add-template-btn {
    margin-top: -5px;
    height: 30px !important;
}

/* ========== Cards ============== */
.card {
    border-radius: 10px;
}
.card .card-action .btn {
    max-width: 200px;
}


/* ========== Containers ============== */
@media screen and (min-width: 1200px) {
    .container {
        width: 1400px;
    }
}

/* ========== Bootstrap messages ============== */

.alert {
    padding: 15px 25px;
    border: 0;
    border-radius: 8px !important;
    line-height: 1.4;
}
.alert.alert-success {
    color: #fff;
    background-color: #03a9f4;
}
.alert.alert-danger {
    color: #fff;
    background-color: #ed145b;
}
.alert-dismissable > .close {
    color: #fff;
    padding-right: 25px !important;
    padding-top: 5px !important;
    opacity: 0.5;
}

/* ========== Materialize Colors ============== */
.pink {
    background-color: #ed145b !important;
}
.pink-text {
    color: #ed145b !important;
}

.grey {
    background-color: #9c9c9c !important;
}
.grey-text {
    color: #9c9c9c !important;
}

.copy-text, .copy-text a:hover {
    color: #71c44c;
}

.card-wrapper .title {
    border-left: 5px solid #71c44c !important;
    color:  #71c44c !important;
}

/* ========== Coloring dashboard disabled icons ============== */
.white-icon{
    color: white !important;
}

/* ========== Coloring a elements black ============== */
.black-link{
    color: black !important;
}


/* ========== Extra spacing ============== */
.custom-margin-1{
    margin: 10px;
}

.custom-margin-2{
    margin: 20px;
}

.custom-padding-2{
    padding: 20px;
}

.custom-padding-3{
    padding: 30px;
}
.custom-pb-3{
    padding-bottom: 30px;
}


/* ========== Borders ============== */

.no-border {
    border: 0 !important;
}


/* ========== Shadows ============== */

.no-shadow {
    box-shadow: none !important;
}


/* ========== Spacings ============== */

.ptb-15 {
    padding: 15px 0;
}

.plr-15 {
    padding: 0 15px;
}

.mb-0 {
    margin-bottom: 0 !important;
}


/* ========== Tabs ============== */
.icon-tab .nav-pills > li.active > a img {
    -webkit-filter: brightness(0%) invert(100%);
    -moz-filter: brightness(0%) invert(100%);
    -ms-filter: brightness(0%) invert(100%);
    filter: brightness(0%) invert(100%);
}


/* ========== Study views Titles ============== */
.study-title{
    font-size: 25px;
}
.study-title-text {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: blue !important;
}
.study-subtitle{
    font-size: 18px;
}

.timeslot-title{
    margin: 0;
    font-size: 20px;
}

/* ========== Form Elements ============== */
[type="checkbox"]:not(:checked), [type="checkbox"]:checked {
    position: relative !important;
    top: 2px !important;
    left: 8px !important;
}

.file-item input[type="checkbox"]:not(:checked), .file-item input[type="checkbox"]:checked {
    position: relative !important;
    top: 0px !important;
    left: -5px !important;
}

label {
    font-size: 16px;
    line-height: 1;
}
select{
    display: inline !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[type='number'] {
    -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-control {
    padding: 5px 0;
    border: 0;
    border-bottom: 1px solid #9b9b9b;
    box-shadow: none !important;
}
.form-control:focus {
    border-bottom: 1px solid #03a9f4 !important;
    box-shadow: 0 1px 0 0 #03a9f4;
}
.has-success .form-control {
    border-bottom: 1px solid #43a047;
}

.form-group--shadowed input,
.form-group--shadowed textarea,
.form-group--shadowed select,
.form-group--shadowed .form-control {
    height: auto;
    background-color: #fff;
    padding: 14px 30px;
    border: 1px solid #9d9d9d;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.06) 0 0 5px 5px inset !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form-group--shadowed input:focus:not([readonly]),
.form-group--shadowed textarea:focus,
.form-group--shadowed select:focus,
.form-group--shadowed .form-control:focus {
    box-shadow: 0 0 0 1px #03a9f4 !important;
}

.select2-container .select2-selection {
    height: 50px;
    padding-left: 5px;
    box-shadow: rgba(0, 0, 0, 0.06) 0 0 5px 5px inset;
}
.select2-container img.icon-img {
    max-width: 30px;
}
.select2-container .select2-selection__rendered {
    line-height: 50px !important;
}
.select2-container .select2-selection__arrow {
    width: 30px !important;
    height: 50px !important;
}

.icon-picker__trigger .icon-picker__preview:not(.full) {
    max-width: 100px;
    margin: auto;
}
.icon-picker > div {
    padding: 5px;
}
.icon-picker [type="radio"] + label::before,
.icon-picker [type="radio"] + label::after {
    display: none;
}
.icon-picker [type="radio"] + label {
    width: 100%;
    height: 100%;
    padding: 15px 5px 5px;
    border-radius: 5px;
    line-height: 1;
}
.icon-picker [type="radio"] + label:hover {
    box-shadow: rgba(3, 169, 244, 0.35) 0 0 0 3px;
}
.icon-picker [type="radio"]:checked + label {
    box-shadow: #03a9f4 0 0 0 3px;
}


.custom-wrapper {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 100px;
}

.form-step {
    font-size: 18px;
}
.form-label {
    font-size: 14px;
}

.input-group {
    width: 100%;
}
.input-group .input-group-addon {
    width: 30px;
    color: #fff;
    background-color: #03a9f4;
    padding: 10px 8px;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 3;
}
.input-group .input-group-addon.floating {
    color: #03a9f4;
    background-color: transparent;
    padding: 0;
    font-size: 20px;
    position: absolute;
    top: 14px;
    left: 8px;
}
.input-group .form-control + .input-group-addon.floating {
    right: 25px;
    left: initial;
}

.form-group--editable .input-group .input-group-addon {
    width: 10px;
    color: #000;
    background-color: transparent;
    padding: 0 5px;
    font-size: 16px;
    font-weight: 400;
}


/* ========== JQuery UI ============== */
.ui-widget-header {
    color: #fff;
    background-color: #03a9f4;
    border: 0;
    border-radius: 0;
}
.ui-widget-header a {
    background-color: transparent !important;
    border: 0 !important;
}
.ui-widget-header a span {
    -webkit-filter: brightness(0%) invert(100%);
    -moz-filter: brightness(0%) invert(100%);
    -ms-filter: brightness(0%) invert(100%);
    filter: brightness(0%) invert(100%);
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    color: #fff;
    background-color: #03a9f4;
}

.ui-datepicker {
    font-family: 'Poppins', sans-serif;
}
.ui-datepicker td {
    padding: 0;
}
.ui-datepicker td span,
.ui-datepicker td a {
    border: 0 !important;
    text-align: center;
}
.ui-datepicker .ui-datepicker-buttonpane button {
    color: #fff;
    background-color: #03a9f4;
    padding: 5px 15px;
    border: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.5;
}



/* ========== Icon Toggles ============== */

.icon-toggle {
    margin: 0 0 0 10px;
}


/* ========== Cards ============== */

.card {
    padding: 15px 20px;
}
.card .card-content p,
.card.modal-form-container p {
    margin-bottom: 5px;
    line-height: 20px;
}
.card .card-action .btn,
.study-details--card .card-action .btn,
.study-details--card .card-action form {
    width: 100%;
    max-width: 155px;
    display: inline-block;
}


/* ========== Badge ============== */

span.badge {
    background-color: #0288d1;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 2;
    float: none;
}
span.badge.waitlist {
    background-color: #03a9f4;
}
span.badge.pending {
    background-color: #ff9800;
}
span.badge.rejected {
    background-color: #ed145b;
}


/* ========== Tables ============== */

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
    background-color: #03a9f4;
    top: 16px;
}
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child::before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child::before {
    background-color: #ed145b;
}

/* ========== Data Rows table ============== */
#rows-table{
    font-size: 12px;
    overflow-y: auto;
    overflow-x:auto;
    height: 600px;
}
#rows-table thead th {
     position: sticky;
     top: 0;
}
#rows-table td {
    padding: 10px;
    vertical-align: middle !important;
    box-shadow: inset 1px -1px #EEE;
}
#rows-table th {
    min-width: 140px;
    background-color: #EAEAEA;
    box-shadow: inset 1px 1px #EEE, 0 1px #EEE;
}

#rows-table a.btn {
    padding: 10px 15px;
}

#rows-table .btn i.material-icons {
    font-size: 24px;
}

/* ========== Modals ============== */

.modal {
    max-height: 100% !important;
    width: 100% !important;
    background-color:rgba(0, 0, 0, 0.2);
    overflow: hidden !important;
    z-index: 999999;
}
.modal-header .close {
    width: 30px;
    height: 30px;
    color: rgb(113, 196, 76);
    background-color: #fff;
    margin: -30px;
    border-radius: 100%;
    border: 2px solid;
    opacity: 1;
}
.modal-header {
    background-color: rgb(113, 196, 76);
    border-radius: 5px 5px 0 0;
}
.modal-title {
    color: #fff;
}



/* ========== Login ============== */

.login-wrapper .form-signin .btn {
    height: 50px;
    font-size: 17px;
}
.login-wrapper .card-wrapper .footer {
    margin-top: 20px;
    font-size: 16px;
}

/* ========== Pagination Widget ============ */
.pagination > .active > span,
.pagination > .active > span:hover {
    background-color: rgb(113, 196, 76);
    border-color: rgb(113, 196, 76);
}

.pagination > li > a,
.pagination > li > a:focus,
.pagination > li > a:hover {
    color: rgb(113, 196, 76);
}

/* ============= Sticky Footer ============== */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
.content {
    flex: 1 0 auto;
}
.footer {
    flex-shrink: 0;
}

/* =================== Ignore Sheet names form field styling ==================== */
#add_template_form label.sheet-name {
    font-size: 1em;
    color: #222;
}

#template_detail_form label.sheet-name {
    font-size: 1em;
    color: #222;
}

/* ========== Control Panel ============== */

.console-like{
    height: 400px;
    background-color: #222;
    color: whitesmoke;
    font-family: monospace;
    font-size: 14px;
    line-height: 20px;
    overflow-y: scroll;
}

/* File browser */
.collection-header > .btn{
    padding: 6px 12px;
    height: 36px;
    font-size: 15px;
}

.pull-down {
    margin-top: 28px;
}

/* ========== Datetimepicker ============== */

.xdsoft_datetimepicker.xdsoft_noselect.xdsoft_{
  z-index: 1000000;
}

/* ========== End Datetimepicker ============== */


.search-icon-btn{
  position: absolute;
  right: 5px;
  bottom: 0;
  border: none;
  padding: 0;
  background: transparent;
}

.clear-icon-btn {
  position: absolute;
  right: 25px;
  bottom: 0;
}

#submitSearch input{
  padding: 5px 45px 5px 5px;
}

.search-icon-btn i{
  color: rgb(113, 196, 76);
}

.clear-icon-btn i{
  color: red;
}

.make_popup{
  pointer-events: none;
  padding: 5px!important;
  line-height: normal;
}

.pillClose, .pillCloseId, .pills-close-all{
  display: inline-block;
  width: 28px;
  transform: scale(0.6);
  color: white;
  border-radius: 120px;
  cursor: pointer;
  text-align: center;
  background: rgb(113, 196, 76);
}

.pillClose, .pillCloseId {
    font-size: 1em;
    position: absolute;
    right: -12px;
    top: -15px;
    display: none;
}

.pill, .pillId, .clear-all{
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  text-align: center;
}

.pill, .pillId{
  height: 1.8em;
  margin-bottom: 15px;
  color: #bec3c9;
  padding-right: 15px;
  padding-left: 15px;
  cursor: pointer;
  position: relative;
}

.pill:hover, .pillId:hover{
  background-color: #54606c;
  color: white;
}

.pill:hover > .pillClose, .pillId:hover > .pillCloseId {
  display: inline-block;
}

.clear-all{
  width: 99px;
  height: 1.8em;
  border: 1px solid #54606c;
  color: #54606c;
  margin-bottom: 15px;
  cursor: pointer;
  padding-left: 5px;
}

#submitSearch select{
  background-color: transparent;
  height: 3.5rem;
}

#submitSearch select:focus {
  outline: 1px solid rgb(113, 196, 76);
}

#submitSearch input{
  border: 1px solid #f2f2f2;
}

#submitSearch input:focus{
  border: 1px solid rgb(113, 196, 76)!important;
}

.checkboxTH{
  min-width: 60px!important;
  z-index: 10;
}

.giveBackgroundClr:nth-child(odd){
  background-color: #ecedef;
}

#template_detail_form .radio {
  display: inline-block;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: 400;
  vertical-align: middle;
  cursor: pointer;
  margin-top: 0;
}

#template_detail_form .radio input{
  left: inherit;
  top: 2px;
}

.tableHeaderColor{
  color: black;
}

.sortActive{
  color: rgb(113, 196, 76);
}

.highlight-checkbox{
  outline: 2px ridge rgb(113, 196, 76);
}

.field-change-staric{
  color: red;
  font-size: 16px;
}

#showHistoryModal .modal-body, #hideColumnModal .modal-body{
  overflow: scroll;
  max-height: 400px;
}

.font-15{
  font-size: 15px;
}

.collection .collection-item {
    min-height: max-content;
    line-height: 2rem;
}

.bg-red{
  background-color: #ef5350;
}

.vacation-toggle{
  position: absolute;
  right:0;
  top:0;
}

.vacation-toggle label input[type=checkbox]:first-child:checked + .lever{
  background-color: #26a69a;
}

.vacation-toggle label input[type=checkbox]:first-child:checked + .lever:after{
  background-color: #00695c;
}

.font-14{
  font-size: 14px;
}

.mr-5{
  margin-right: 5px;
}

#dataIntegrityModal .modal-dialog{
  width: 990px;
}

#dataIntegrityModal .modal-body{
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}
