html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.flex-grow-col {
    flex: 1 1 auto; /* Take remaining space */
    min-width:335px;
}

@media (min-width: 455px) {

    .gallery-container {
        width: auto;
        max-height: 300px;
    }

    .gallery-main-image {
        width: auto;
        height: 300px;
        max-height: 300px;
    }

    .thumbnail-fixed {
        width: 134px;
        height: auto;
        flex: 0 0 auto;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media @media (max-width: 575.98px) {


    .gallery-container {
        width: auto;
        max-height: 300px;
    }

    .gallery-main-image {
        width: auto;
        height: 300px;
        max-height: 300px;
    }

    .thumbnail-fixed {
        width: 80px;
        height: auto;
        flex: 0 0 auto;
    }
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 575px) {

    .gallery-container {
        width: auto;
        max-height: 350px;
    }

    .gallery-main-image {
        width: auto;
        height: 350px;
        max-height: 350px;
    }

    .thumbnail-fixed {
        width: 156px;
        height: auto;
        flex: 0 0 auto;
    }
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {



    .gallery-container {
        width: auto;
        max-height: 420px;
    }

    .gallery-main-image {
        width: auto;
        height: 420px;
        max-height: 420px;
    }

    .thumbnail-fixed {
        width: 187px;
        height: auto;
        flex: 0 0 auto;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .gallery-container {
        width: auto;
        height: 540px;
        max-height: 540px;
    }

    .gallery-main-image {
        width: auto;
        height: 540px;
        max-height: 540px;
    }

    .thumbnail-fixed {
        width: 240px;
        height: auto;
        flex: 0 0 auto;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    .gallery-container {
        width: auto;
        height: 575px;
        max-height: 575px;
    }

    .gallery-main-image {
        width: auto;
        height: 575px;
        max-height: 575px;
    }

    .thumbnail-fixed {
        width: 255px;
        height: auto;
        flex: 0 0 auto;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .gallery-container {
        width: auto;
        height: 575px;
        max-height: 575px;
    }

    .gallery-main-image {
        width: auto;
        height: 575px;
        max-height: 575px;
    }

    .thumbnail-fixed {
        width: 255px;
        height: auto;
        flex: 0 0 auto;
    }
}

