html, body  {
    height: 100%;
    width: 100%;
}

.app-header{
    height: 63px !important;
    background-color: white !important;
}

.app-header img {
    height: 100%;
}

.header-logo {
    top: 0px;
    left: 0px;
    height: 57px !important;
    width: auto;
    margin-top: 3px;
    margin-left: 10px;
}

.main-map {
    touch-action: manipulation;
    height:calc(100dvh - 63px);
}

.slider-row {
    width: 80dvw !important;
    height: 50px;
    margin-left: 10dvw;
    z-index: 1111;
}

#repeat-slideshow-box {
    top: 0px;
    left: 0px;
    width: 100dvw;
    height: 100dvw !important;
    max-height: 500px;
}

.input-field .supporting-text {
    padding: 0px 0px !important;
}

.image-comparison {
    position: relative;
    margin:auto;
    width:500px;
}

.img-comp-bot {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100dvw;
    max-width: 500px;
    height: auto;
}

.img-comp-top {
    position: relative;
    top: 0px;
    left:0px;
    opacity: 100%;
    width: 100dvw;
    max-width: 500px;
    height: auto;
}

input[type=range]{
    -webkit-appearance: none;
    height: 10px;
    box-sizing: border-box;
    /* border:  1px dashed rgba(111,111,111,0.3); set opacity to 0 to hide */
    width: 100%;
    background: 0;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%; 
  box-sizing: border-box;
  box-shadow: -1px 1px 5px rgba(0,0,0,.4);
  border: 3px solid #ddd;
  background: #006495ff !important;
}

.thumb.active{
    visibility: hidden !important;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: -1px 1px 5px rgba(0,0,0,.4); 
  border: 3px solid #ddd;
  background: #006495ff !important;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  background: #679436ff;
  border-radius: 1.3px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: #679436ff;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  background: #679436ff;
  border-radius: 1.3px;
}

.menu-btn {
    margin-right: 10px !important;
    padding-right: 0px !important;
    height: 42px !important;
}

.btn-floating.btn-xlarge {
    width: 72px;
    height: 72px;
}

.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100dvh;
    width: 100dvw;
    position: fixed;
}

#overlay-metadata {
    z-index: 1000;
}

#overlay-camera {
    z-index: 3000;
}

#overlay-info {
    z-index: 2000;
}

#overlay-info-container {
    height: 100dvh;
    /* overflow-y: auto; */
}

.overlay-info-main {
    height: 50dvh !important;
    overflow-y: auto !important;
}

.camera-stream-container {  
    width: 100dvw;
}

.hidden {
    display:none !important;
}

.fixed-action-btn-bc {
    position: fixed;
    bottom: 15px;
    left: calc(50dvw - 60px);
    z-index: 997;
}
 
#image-preview, #map-preview {
    height: calc(50dvh - 63px - 40px) !important;
    padding-bottom: 0.25rem !important;
}

#map-preview-center {
    position: absolute;
    width: 20px;
    height: 20px;
    left: calc(100dvw * 0.5 - 10px);
    top: calc(63px - 10px + (50dvh - 63px - 40px) * 0.5);
    border: 2px solid red;
    z-index: 10000;
}

#image-preview-img {
    display:block;
    margin: 0px auto;
    height: 100% !important;
    width: auto;
}

.tabs, .tab {
    height: 63px !important;
    line-height: 63px !important;
}

.tabs .tab a.active{
    /* background-color: #154c7920 !important; */
    background-color: #006495 !important;
    color: white !important
}

.metadata-header{
    height: 50dvh !important;
    margin-bottom: 0px !important;
    /* padding-bottom: 10px !important; */
}

.metadata-tabs-col {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.metadata-btns {
    padding-right: 10px;
    padding-left: 10px;
}

.metadata-body {
    margin-top: 10px !important;
    height: calc(50dvh - 25px) !important;
    overflow-y: auto !important;
    display:flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.metadata-data {
    margin-bottom: 0px !important;
    padding-left: 5px;
    padding-right: 5px;
    align-content: flex-start !important;
}

.metadata-footer {
    height: 63px;
    position: static;
    width: 100dvw;
    bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

#btn-submit-obs {
    margin-top: 5px; /*footer is 63px large and button 55px --> 8px/2 --> 4*/
    width: 100%;
    height: 53px;
}

#btn-cancel-obs {
    justify-content: center;
    width: 100%;
    margin-top: 5px;
    height: 53px;
    background-color: #8B0000;
    /* padding: 0px 15px !important; */
}

#btn-cancel-obs > img {
    width: auto;
    height: 50%;
}

.valign-wrapper.img-center {
    justify-content: center;
}

.btn-floating.rect {
    border-radius: 2px !important;
}

.fixed-right {
    position: fixed !important;
    right: 5px;
}

#btn-open-camera, #btn-enlarge-image{
    justify-content: center;
    width: 100% !important;
    border-radius: 5px !important;
    background-color: #006495;
}

#btn-add-new-obs {
    background-color: #006495;
}

.inactive {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.crosshair {
    position: fixed;
    z-index: 10;
    left: calc(50dvw - 15px);
    top: calc(50dvh - 15px);
    height: 30px;
    width: 30px;
}

#btn-close-info {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.699);
    border-radius: 50%;
    top: 9px;
    right: 12px;
    padding: 10px;
    height: auto;
    z-index: 100;
}

#btn-close-info img {
    width: 20px;
    height: auto;
}

.btn-image {
    vertical-align: middle !important;
}

.form-info-historical li {
    padding: 3px 10px !important;
}

.form-info-current li {
    padding: 3px 10px !important;
}

.collection-img {
    height: 20px !important;
    width: auto;
}

.sidenav li>a {
    border-radius: 0px !important;
}

.cp-10 {
    padding: 10px !important;
}

.metadata-data .input-field label {
    transform: scale(.75);
    top: 8px !important;
}

.overlay-camera-header {
    height: 63px !important;
    background-color: white !important;
}

.overlay-camera-main {
    height: calc(100dvw * 1.33);
    background-color: black !important;
}

.overlay-camera-footer {
    height: calc(100dvh - 63px - calc(100dvw * 1.33));
    background-color: black !important;
    display: flex !important;
}

/* .overlay-camera-footer > div {
    margin: auto;
    margin-top: auto;
    margin-bottom: 50px;
} */

#btn-capture-image {
    position: fixed;
    left: calc(50dvw - 42px);
    bottom: 25px;
    width: 85px !important;
    height: 85px !important;
    padding: 0px !important;
    border: 3px solid white !important;
    border-radius: 50%;
}

#btn-capture-image > img {
    padding-left: 9px !important;
}

#btn-capture-image:hover {
    background-color: black !important;
}

.fixed-add-obs-btn {
    position: fixed;
    right: 15px;
    bottom: 50px;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 997;
}

.fixed-main-gnss-btn {
    position: fixed;
    right: 10px;
    top: 73px;
    padding-left: 5px;
    /* margin-bottom: 0; */
    z-index: 997;
}

#btn-set-main-gnss{
    padding-left: 5px !important;
    border-radius: 50% !important;
}

/* #image-modal {
    width: 90dvw !important;
    height: calc(90dvw * 1.33) !important;
}

#image-modal .modal-content {
    padding: 5px !important;
} */

/* .modal {
    overflow: hidden !important;
} */

#footer_info {
    position: fixed;
    bottom: 0px;
    width: 100dvh;
    z-index: 10;
    height: 63px;
    padding: 5px;
    opacity: 75%;
    visibility: hidden;
}

.fade-out-footer{
    animation: fadeout_footer 5s;
}

@keyframes fadeout_footer {
    0% { opacity: 0.75; visibility: visible;}
    40% {opacity: 0.75; visibility: visible;}
    100% { opacity: 0}
}


.fade-out {
    animation: fadeout 6s; 
}

@keyframes fadeout {
    0% { opacity: 1; }
    25% {opacity: 1; }
    100% { opacity: 0; }
}

.shrink {
    animation: shrink 0.25s;
  }
  
@keyframes shrink {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.8);
    }
}

#info-modal{
    top: 2.5dvh !important;
    max-height: 95dvh !important;
    width: 95dvw !important;
    max-width: 500px;
    overflow-y: auto !important;
}

.warning {
    border: #b71c1c 2px solid;
      border-radius: 5px;
    /* background-color: #ffcdd2; */
}

.no-max-h {
    max-height: none !important;
}

.toast {
    color: white !important
}

.loader {
    position: fixed;
    top: 73px;
    left: 10px;
    z-index: 9999;
    width: 30px;
    height: 30px;
}

.loader-symbol {
    width: 30px;
    height: 30px;
    border: 5px solid #FFF;
    border-bottom-color: #006495;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

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

.meta {
    width: 100px !important;
    max-width: calc((100dvw - 10px) * 0.240);
    height: 50px !important;
    padding: 0px 10px !important;
    font-size: 10px !important;
    background-color: #006495;
    margin: 1px !important;
}

.meta:hover{
    background-color: #006495 !important;
}

.meta-text {
    margin: auto;
    word-wrap:break-word;
    white-space: normal;
}

.col-4 {
    display: grid;
    justify-items: center;
    grid-template-columns: auto auto auto auto;
    justify-content: center;
}

/* .col-4-left {
    display: grid;
    justify-items: center;
    grid-template-columns: auto auto auto auto;

} */

.toggled {
    background-color: #679436 !important;
    opacity: 100%;
}

.toggled:hover{
    background-color: #679436 !important;
    opacity: 100%;
}

/* #intro-modal{
    width: 80dvw !important;
    max-height: 80dvh !important;
    top: 10dvh !important;
    overflow-y: auto !important;
} */

.h-100 {
    height: 100% !important;
}

.h-40px {
    height: 40px !important;
}

.pl-25px {
    padding-left: 25px !important;
}
.justify-right {
    justify-items: end;
}

.myalpics-blue {
    background-color: #006495;
}

.justified {
    text-align: justify;
    text-justify: inter-word;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.black-t30 {
    background-color: rgba(0, 0, 0, 0.50);
}

#overlay-login, #overlay-register, #overlay-intro, #overlay-preview, #overlay-faq, #overlay-contact, #overlay-app-info, #overlay-image-preview {
    z-index: 1000;
    display:flex;
    justify-content: center;
    align-items: center;
}

#login-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 35%;
}

#overlay-preview {
    z-index: 3000 !important;
}

#overlay-intro {
    background-color: rgba(0, 0, 0, 0.75) !important;
}

#btn-preview-cancel {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 0px !important;
}

#btn-preview-accept {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 0px !important;
}

.image-preview-container{
    position: relative;
    height: 100dvh;
    width: 100dvw;
}

#faq-container, #contact-container, #app-info-container, #login-container{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 10px;
    height: 90dvh;
    width: 90dvw;
    max-width: 500px;
    padding: 10px 10px;
    overflow-y: auto;
}

#register-container {
    width: 90dvw;
    max-width: 500px;
    max-height: 90dvh;
    padding: 10px 10px;
    overflow-y: auto;
    background: white;
    border-radius: 10px;
}

.checkbox-text {
    line-height: 16px !important;
    height: 16px !important;
}

#register-warning-text, #register-success-text {
    line-height: 16px !important;
}

#intro-slideshow-container {
    width: 90dvw;
    max-width: 500px;
    max-height: 80dvh;
    padding: 10px 10px;
    overflow-y: auto;
    border-radius: 10px;
    position: relative;
    background-color: transparent !important;
}

.intro-slideshow {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 0px 25px;
}

.intro-slideshow-dots {
    position: absolute;
    top: calc(90dvh + 5px);
}

.intro-slide {
    position: relative;
    text-align: center;
    display:flex;
    justify-content: center;
    align-items: center;
}

.intro-slide-image {
    width: auto;
    height: 80dvh;
}

.intro-slide-text {
    margin-left:5%;
    margin-right:5%;
    position: absolute;
    width: 90%;
    bottom: 15px;
    background-color: rgba(255, 255, 255, 0.5);    
}

/* The dots/bullets/indicators */
.intro-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

#btn-next-intro, #btn-prev-intro, #btn-prev-repeat, #btn-next-repeat {
    position: absolute;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#btn-close-intro {
    position: absolute;
    top: 11px;
    right: 1px;
    padding: 0px 15px !important;
}

#btn-close-image-preview  {
    position: absolute !important;
    top: 11px !important;
    right: 1px !important;
    padding: 0px 15px !important;
    background-color: transparent !important;
}

#btn-next-intro, #btn-next-repeat {
    right: 0px;
    z-index: 10;
}

#btn-prev-intro, #btn-prev-repeat {
    left: 0px;
    z-index: 10;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}
  
@keyframes fade {
    from {opacity: 0}
    to {opacity: 1}
}

.active-dot {
    background-color: #006495 !important;
}

.repeat-slideshow {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.repeat-slideshow-dots {
    display:flex;
    justify-content: center;
    align-items:center;
    height:40px;
}

.repeat-slide {
    position: relative;
    text-align: center;
}

.repeat-slide-image {
    width: 100%;
    height: auto;
}

.repeat-slide-text {
    margin-left:5%;
    margin-right:5%;
    position: absolute;
    width: 90%;
    bottom: 15px;
    background-color: rgba(255, 255, 255, 0.5);    
}

/* The dots/bullets/indicators */
.repeat-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

.map-sources {
    background-color: rgba(255, 255, 255, 0.5);;
    padding: 5px 5px;
    font-size: 8px; 
    color: black;
    position: fixed;
    bottom: 0px;
}

.no-pad {
    padding-left: 25px !important;
}