
*{
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;  
}


body.modal-open {
  overflow: hidden;
  height: 100vh;
}

.modal-calendar {
  border-radius: 10px;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(91, 96, 118);
  -webkit-box-shadow: 0px 9px 37px -20px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 9px 37px -20px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 9px 37px -20px rgba(0, 0, 0, 0.75);
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
    display: flex;
    background-color: rgb(76, 91, 115);
    height: 40px;
    position: sticky;
    top: 0px;
    z-index: 9999999;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Add a color to the active/current link */
  .topnav a.active {
    background-color: #4caf50;
    color: white;
  }

  .noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
  }


  .third-block {
    grid-column: 3;
  }

  .first-block {
    grid-column: 1;
  }
  .second-block {
    grid-column: 2;
  }

  h2{
    color: white;
    margin:0;
    font-size: 1em;
  }

  .over-gray{
    width: 100vw;
    height: 100%;
    background-color: gray;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999999;
  }

  .flex{
    display: flex;
  }

  .nowrap{
    white-space: nowrap;
  }


  /* ICONS */
  .close {
    position: absolute;
    height: 24px;
    opacity: 1;
  }
  .close:hover {
    opacity: 0.8;
  }
  .close:before, .close:after {
    position: absolute;
    /* left: 15px; */
    content: ' ';
    height: 100%;
    width: 4px;    
    background-color: white;
  }
  .close:before {
    transform: rotate(45deg);
  }
  .close:after {
    transform: rotate(-45deg);
  }




/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 27px;
  align-self: center;
  justify-self: end;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(32, 34, 47);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 1px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
input:checked + .slider {
  background-color: rgb(33, 150, 243);
}
input:disabled + .slider {
  background-color: grey;
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
  border: solid 1px rgba(80, 84, 105, 1);
}
.slider.round:before {
  border-radius: 50%;
}
.textdisabled {
  color: grey !important;
}
.colordisabled:before {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Radio Buttons */
/* Style the indicator (dot/circle) */
.radio .radio:after {
  top: 9px;
 left: 9px;
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: white;
}
  

/* Colors */
.blue{
  background-color: rgb(21, 146, 230) !important
}

.r1{
  grid-row: 1;
}
.r2{
  grid-row: 2;
}
.r3{
  grid-row: 3;
}
.r4{
  grid-row: 4;
}
.r5{
  grid-row: 5;
}
.r6{
  grid-row: 6;
}
.c1{
  grid-column: 1;
}
.c2{
  grid-column: 2;
}
.c3{
  grid-column: 3;
}
.c4{
  grid-column: 4;
}
.c5{
  grid-column: 5;
}
.c6{
  grid-column: 6;
}

.jend{
  justify-self: end;
}

/* CUSTOM CHECKBOX */
/* The container */
.check-container {
  display: flex;
  align-items: center;
  height: 25px;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.check-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  border-radius: 5px;
  /* position: absolute; */
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  /* background-color: #eee; */
}

/* On mouse-over, add a grey background color */
.check-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.check-container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.check-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.check-container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* TRANSITIONS */
/* Settings Transition */
.settings-enter {
  opacity: 0;
}
.settings-leave-to {
  opacity: 0;
}
.settings-enter-active {
  transition: opacity 0.2s ease-in;
}
.settings-leave-active {
  transition: opacity 0.2s ease-out;
}

/* Global Select */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 50%;
  background-color: rgb(32, 34, 47) !important;
  border: none;
  padding: 0.4rem;
  padding-right: 2rem;
  color: white;
  font-size: 0.9em;
  outline: none !important;
  border-radius: 5px;
  margin-top: 3px;
  margin-bottom: 3px;
  margin-left: 10px;
}

.bridge-part{
  max-width: 100%;
  object-fit: cover;
  margin: -2px;
}