/* FONT SIZES */

body {
  font-size: 0.85rem
}

p {
  font-weight: 300;
  line-height: 1.3em;
}

a {
  cursor: pointer
}

label {
  text-align: right;
  line-height: 2rem;
}

.h1, h1 {
  font-size: 2rem;
}

.h2, h2 {
  font-size: 1.3rem;
}

.h4, h4 {
  font-size: 1.15rem;
}

.h5, h5 {
  font-size: 1rem;
}

/* ######### */

/* MEEO ICON */

.meeo-icon {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.meeo-icon::before {
  content: url('/static/images/logos/meeo_h16.png');
}

/* ######## */

select.adam-select {
  background: transparent;
  border: 0px;
  border-radius: 0px !important;
  border-bottom: 2px solid #343a40;
  color: #343a40;
  cursor: pointer;
}

select.adam-select:focus {
  box-shadow: none;
  background-color: transparent;
  border-color: #343a40;
}

input.adam-input {
  background: transparent;
  border: 0px;
  border-radius: 0px !important;
  border-bottom: 2px solid #343a40;
  color: #343a40;
}

input.adam-input:focus {
  box-shadow: none;
  background-color: transparent;
  border-color: #343a40;
}

div.input-group.adam-light span.input-group-text {
  background: transparent;
  border: 0px;
  /*border-radius: 0px !important;*/
  /*border-bottom: 2px solid #f8f9fa;*/
  color: #f8f9fa;
  font-size: 1.2rem;
  padding-right: .1rem;
}

div.input-group.adam-light input.form-control {
  background: transparent;
  border: 0px;
  border-radius: 0px !important;
  border-bottom: 2px solid #f8f9fa;
  color: #f8f9fa;
}

div.input-group.adam-light input.form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #f8f9fa;
  opacity: 1;
  /* Firefox */
}

div.input-group.adam-light input.form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #f8f9fa;
}

div.input-group.adam-light input.form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #f8f9fa;
}

div.input-group.adam-dark span.input-group-text {
  background: transparent;
  border: 0px;
  /*border-radius: 0px !important;*/
  /*border-bottom: 2px solid #f8f9fa;*/
  color: #343a40;
  font-size: 1.2rem;
  padding-right: .1rem;
  min-width: 2rem;
}

div.input-group.adam-dark input.form-control {
  background: transparent;
  border: 0px;
  border-radius: 0px !important;
  border-bottom: 2px solid #343a40;
  color: #343a40;
}

div.input-group.adam-light input.form-control:focus, div.input-group.adam-dark input.form-control:focus {
  box-shadow: none
}

.btn-trasparent-light {
  background: transparent;
  border: 0;
  color: #f8f9fa;
}

.btn-trasparent-light:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(248, 249, 250, 0.25);
}

.btn-trasparent-dark {
  background: transparent;
  border: 0;
  color: #343a40;
}

.btn-trasparent-dark:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(33, 37, 41, 0.25);
}

[data-toggle="collapse"][aria-expanded="false"]>.collapse-chevron::before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f0d7";
}

[data-toggle="collapse"][aria-expanded="true"]>.collapse-chevron::before {
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  content: "\f0d8";
}

/* ADAM BAR */

#service-navbar .navbar-brand {
  cursor: pointer;
}

.left-bar-wrapper {
  height: 100%;
  background: #f8f9facf;
  max-width: 25%;
  animation: leftbar_slide .3s linear;
  -webkit-animation: leftbar_slide .3s linear;
}

.left-bar-wrapper .bar-header {
  background: #212529;
}

.left-bar-wrapper .bar-header>button.bar-closer {
  border-color: transparent;
}

.left-bar-wrapper .bar-header .nav-item .nav-link {
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: 0;
  background-color: transparent;
  color: #f8f9fa;
}

.left-bar-wrapper .bar-header .nav-item .nav-link:hover {
  background-color: #f8f9fa;
  color: #343a40;
}

.left-bar-wrapper .bar-header .nav-item .nav-link.active {
  background-color: #f8f9fa;
  color: #343a40;
}

.left-bar-wrapper .bar-header .nav-item .nav-link.active:hover {
  background-color: #343a40;
  color: #f8f9fa;
}

.left-bar-wrapper .bar-body ul.nav li.nav-item .nav-link {
  background: transparent;
  border-radius: 0px;
  color: #7a8188;
}

.left-bar-wrapper .bar-body ul.nav li.nav-item .nav-link.active {
  color: #212529;
  border-bottom: 1px solid #212529;
}

.left-bar-wrapper .bar-body table, .right-bar-wrapper .bar-body table {
  font-size: .895rem;
  ;
}

.left-bar-wrapper .bar-body table td, .left-bar-wrapper .bar-body table th, .right-bar-wrapper .bar-body table td, .right-bar-wrapper .bar-body table th {
  padding: .5rem;
}

.left-bar-wrapper .bar-body table td.label, .left-bar-wrapper .bar-body table th.label, .right-bar-wrapper .bar-body table td.label, .right-bar-wrapper .bar-body table th.label {
  max-width: 6vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ADAM GRID TABLES */

.grid-table {
  font-size: .875rem;
}

.grid-table.grid-table-header {
  font-weight: bold;
}

.grid-table .grid-table-th.label, .grid-table .grid-table-td.label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-table.grid-table-striped>.grid-table-tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, .05);
}

/* ################ */

/* ADAM LOGIN POPUP */

#loginPopup {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1021;
  background-color: rgba(104, 148, 202, 0.2);
}

#loginPopup>.login-container {
  position: relative;
  display: flex;
  top: 40vh;
  margin-left: auto;
  margin-right: auto;
  margin: auto;
  overflow: auto;
}

#loginPopup>.login-container .login-btn {
  width: 12rem;
  height: 5.65rem;
}

#loginPopup>.login-container .login-btn>.login-label {
  display: block;
  font-size: 3rem;
}

/* *************** */

/* adam calendar */
.adam-calendar_container .adam-calendar.start {
  width: 48%;
  margin-right: 3%;
  padding: .25rem .5rem;
  border: none;
  border-bottom: 2px solid #343a40;
  border-radius: 0;
  font-size: .875rem;
  background-color: transparent;
  color: #343a40;
}

.adam-calendar_container .adam-calendar.end {
  width: 48%;
  padding: .25rem .5rem;
  border: none;
  border-bottom: 2px solid #343a40;
  border-radius: 0;
  font-size: .875rem;
  background-color: transparent;
  color: #343a40;
}

.adam-calendar_container .adam-calendar .calendar-opener {
  width: 100%;
}

.adam-calendar_container .adam-calendar .calendar-opener .placeholder-container {
  float: left;
}

.adam-calendar_container .adam-calendar .calendar-opener a {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1rem;
}
/* *************** */

/* bootsrap alerts */

div.alert[role="alert"] {
  position: fixed;
  top: 6vh;
  right: 1vw;
  min-width: 13vw;
  max-width: 22vw;
  margin-bottom: .25rem;
  animation: alert_slide_in .3s linear;
  -webkit-animation: alert_slide_in .3s linear;
  transition: all 0.5s ease-in-out;
  z-index: 1031;
  animation-iteration-count: 1;
  font-size: .875rem;
  padding: .5rem .75rem;
}

div.alert[role="alert"].closing {
  right: -18vw;
}

div.alert[role="alert"]>button.close {
  position: absolute;
  top: .1rem;
  right: .5rem;
  margin-left: .5rem;
}

@keyframes alert_slide_in {
  0% {
    right: -3vw;
  }
  100% {
    right: 1vw;
  }
}

@-webkit-keyframes alert_slide_in {
  0% {
    right: -3vw;
  }
  100% {
    right: 1vw;
  }
}

@keyframes alert_slide_out {
  0% {
    right: 1vw;
  }
  100% {
    right: -3vw;
  }
}

@-webkit-keyframes alert_slide_out {
  0% {
    right: 1vw;
  }
  100% {
    right: -3vw;
  }
}

/* ############### */

/* noUiSlider */

.noUi-target {
  background: #343a40;
  border-radius: 4px;
  border: none;
  box-shadow: none;
}

.noUi-horizontal {
  height: .5rem;
}

.noUi-handle:after, .noUi-handle:before {
  display: none;
}

.noUi-horizontal .noUi-handle {
  width: 1.5rem;
  height: 1.5rem;
  top: -.5rem;
}

.noUi-handle {
  border: 1px solid #343a40;
  border-radius: 50%;
  background: #f8f9fa;
  cursor: default;
  box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
  outline: transparent;
  cursor: move;
}

.noUi-tooltip {
  display: none;
  font-size: .875rem;
  background: #343a40;
  color: #f8f9fa;
}

.noUi-active .noUi-tooltip, .noUi-base:hover .noUi-tooltip {
  display: block;
}

/* ********** */

/* Button Slider */

.switch {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 1.5rem;
}

/* Hide default HTML checkbox */

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1rem;
  width: 1rem;
  left: 0.25rem;
  bottom: 0.25rem;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #343a40;
}

input:focus+.slider {
  box-shadow: 0 0 1px white;
}

input:checked+.slider.slider-secondary {
  background-color: #f8f9fa;
}

.slider.slider-secondary:before {
  background-color: #343a40;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.no-animation:before {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  -webkit-transition: none;
  transition: none;
}

/* Rounded sliders */

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ************* */

@media(max-width:768px) {
  .left-bar-wrapper {
    width: 100%;
    max-width: none;
  }
  .flatpickr-calendar {
    width: 224px;
  }
  .dayContainer {
    width: 224px;
    min-width: 224px;
    max-width: 224px;
  }
  .flatpickr-days {
    width: 224px;
  }
  .flatpickr-day {
    max-width: 32px;
    height: 32px;
    line-height: 32px;
  }
}

@media only screen and (min-width:319px) and (max-width:575.98px) {
  .grid-table-tr {
    flex-wrap: nowrap;
  }
  #loginPopup>.login-container {
    top: 10vh;
  }
}

@keyframes leftbar_slide {
  0% {
    left: -20rem;
  }
  25% {
    left: -15rem;
  }
  50% {
    left: -10rem;
  }
  75% {
    left: -5rem;
  }
  100% {
    left: 0rem;
  }
}

@-webkit-keyframes leftbar_slide {
  0% {
    left: -20rem;
  }
  25% {
    left: -15rem;
  }
  50% {
    left: -10rem;
  }
  75% {
    left: -5rem;
  }
  100% {
    left: 0rem;
  }
}

/* video popup */

#tutorialsModal button {
  white-space: normal;
}

/* end  video popup */

/* cookie bottom navbar */

#cookie_directive_container nav {
  z-index: 9999;
  font-size: 15px;
  background: rgba(55, 70, 80, 1);
  color: rgba(255, 255, 255, .9);
  padding: .6em 2em;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

#cookie_directive_container input {
  position: relative;
  top: 3px;
}

/* end of cookie bottom navbar */