﻿html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

/* loader */

.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 100px;
    top: 0;
}

.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #1d1d1b;
}

    .loader i {
        position: absolute;
        left: 50%;
        left: calc(50vw - 25px);
        top: 50%;
        color: #fff;
        font-size: 3em;
    }

.fa-spin-custom, .glyphicon-spin {
    -webkit-animation: spin 1000ms infinite linear;
    -moz-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-moz-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-ms-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

/* ----- COMMON ---- */

body {
    font-size: 12pt;
    font-family: 'Montserrat', sans-serif;
    background-color: #333;
    color: #303030;
}

h1, h2, h3, h4, h5 {
    margin: 40px 0;
}

p {
    margin: 30px 0;
}

h1 {
    margin-top: 0;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
}

a {
    color: #da7107;
    font-weight: 600;
    text-decoration: none;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
}

    a:hover, a:focus, a:hover {
        color: #303030;
        text-decoration: none;
    }

/* media queries */

@media only screen and (max-width: 1199px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem; /*-.25*/
    }

    h3 {
        font-size: 1.5rem; /*-.25*/
    }

    h4 {
        font-size: 1.25rem; /*-.25*/
    }

    h5 {
        font-size: 1.1rem; /*-.15*/
    }
}

@media only screen and (min-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.25rem; /*-.25*/
    }

    h3 {
        font-size: 2rem; /*-.25*/
    }

    h4 {
        font-size: 1.75rem; /*-.25*/
    }

    h5 {
        font-size: 1.5rem; /*-.25*/
    }
}

@media only screen and (min-width: 1600px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem; /*-.5*/
    }

    h3 {
        font-size: 2.25rem; /*-.25*/
    }

    h4 {
        font-size: 2rem; /*-.25*/
    }

    h5 {
        font-size: 1.75rem; /*-.25*/
    }
}

/* standard responsive layout */

.container {
    background-color: #fff;
}

.container-fluid {
    max-width: 100% !important;
}

[class*="col-"] {
    padding: 20px;
}

/* fixed width content */

@media only screen and (min-width: 1600px) {
    .container {
        max-width: 1600px !important;
    }
}

.p-0-t {
    padding-top: 0;
}

.p-0-b {
    padding-bottom: 0;
}

.p-0-t-b {
    padding-top: 0;
    padding-bottom: 0;
}

/* ----- END COMMON ---- */

/* navigation */

.navbar {
    padding-left: 20px;
    padding-right: 20px;
    background-color: #da7107 !important;
}

    .navbar.fixed-top {
        max-width: 1600px;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .navbar .nav-item {
        padding: 0;
    }

        .navbar .nav-item a {
            color: #fff;
            -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
            -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
            -o-transition: all .3s ease-in-out, all .3s ease-in-out;
            transition: all .3s ease-in-out, all .3s ease-in-out;
            text-transform: uppercase;
        }

            .navbar .nav-item a:hover, .navbar .nav-item a:focus, .navbar .nav-item a:active {
                background-color: #666;
            }

    .navbar .dropdown-menu {
        border-radius: 0;
        background-color: #999;
        margin-top: 0 !important;
        padding: 10px 0 0 0 !important;
    }

        .navbar .dropdown-menu li a {
            text-transform: none;
        }

            .navbar .dropdown-menu li a:hover, .navbar .dropdown-menu li a:focus, .navbar .dropdown-menu li a:active {
                background-color: #666;
            }

            .navbar .dropdown-menu li a.disabled {
                padding: 10px !important;
                background-color: #999 !important;
                font-weight: 600;
            }


/* media queries */

@media only screen and (max-width: 991px) {

    .navbar-toggler {
        background-color: #fff;
        border: 0 !important;
        border-radius: 0;
        box-shadow: none !important;
    }

    .offcanvas, .offcanvas-lg, .offcanvas-md, .offcanvas-sm, .offcanvas-xl, .offcanvas-xxl {
        --bs-offcanvas-padding-x: 0 !important;
        --bs-offcanvas-padding-y: 0 !important;
    }

    .offcanvas {
        background-color: #da7107;
        color: #fff;
    }

        .offcanvas .offcanvas-header {
            padding: 20px;
        }

    .navbar .nav-item a {
        padding: 10px 20px;
    }

    .navbar .dropdown-menu li a {
        padding: 5px 15px !important;
    }
}


@media only screen and (min-width: 992px) {
    .navbar {
        --bs-navbar-padding-y: 0;
    }

        .navbar .nav-item a {
            padding-top: 30px;
            padding-bottom: 30px;
            padding-left: 20px !important;
            padding-right: 20px !important;
        }

        .navbar.fixed-top .nav-item a {
            padding: 20px;
        }

        .navbar .dropdown-menu {
            -webkit-columns: 2; /* Chrome, Safari, Opera */
            -moz-columns: 2; /* Firefox */
            columns: 2;
            -webkit-column-gap: 0; /* Chrome, Safari, Opera */
            -moz-column-gap: 0; /* Firefox */
            column-gap: 0;
        }

            .navbar .dropdown-menu li {
                break-before: avoid;
                break-after: avoid;
            }

                .navbar .dropdown-menu li.break {
                    break-before: page !important;
                }

                .navbar .dropdown-menu li a,
                .navbar.fixed-top .dropdown-menu li a {
                    padding: 10px;
                }
}





/* a-z */

.clsLetters {
    background-color: #333;
}

    .clsLetters a {
        background-color: #333;
        padding: 10px;
        color: #fff;
    }

        .clsLetters a:hover, .clsLetters a:focus, .clsLetters a:active {
            background-color: #da7107;
            color: #fff;
            -moz-transform: scale(1.05);
            -webkit-transform: scale(1.05);
            transform: scale(1.05);
        }

/* header */

header img {
    width: 100% !important;
}

/* carousel */

.carousel, .carousel-inner, carousel-item {
    aspect-ratio: 1 / .667;
}

    .carousel img {
        /* pseudo background image */
        width: 100%;
        aspect-ratio: 1 / .667;
        object-fit: cover;
    }

.carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 40px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

    .carousel-caption.clsPhotoMonth {
        background-color: #2f6b91;
    }

    .carousel-caption.clsRandom {
        background-color: #da7107;
    }


/* photo blocks */

.clsPhotos .row {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

.clsPhotos [class*="col-"] {
    padding: 0;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    background-color: #000;
    display: flex;
    flex-direction: column;
}

    .clsPhotos [class*="col-"]:hover, .clsPhotos [class*="col-"]:focus, .clsPhotos [class*="col-"]:active {
        -moz-transform: scale(1.05);
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

    .clsPhotos [class*="col-"] img {
        /* pseudo background image */
        width: 100%;
        aspect-ratio: 1 / .667;
        object-fit: cover;
    }

    .clsPhotos [class*="col-"] .inner {
        padding: 20px 20px;
        height: auto;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

        .clsPhotos [class*="col-"] .inner a:hover, .clsPhotos [class*="col-"] .inner a:focus, .clsPhotos [class*="col-"] .inner a:hover {
            color: #fff;
        }


.clsPhotos [class*="col-"] ul {
    margin: 0;
    padding: 0 10px;
    list-style-type: none;
}

.clsPhotos [class*="col-"] ul li.clsTools {
    /* style this when login and admin working */
    display: none;
    visibility: hidden;
}


/* single photo */

.clsPhoto {
    text-align: center;
    margin-bottom: 0 !important;
}

.clsPhoto .img-fluid {
    width: 100%;
    max-width: 1000px;
    border: 1px solid #fff;
    margin: 0 0 30px 0;
}

.clsPhoto a:hover, .clsPhoto a:focus, .clsPhotos a:hover {
    color: #fff;
}





.clsPhoto ul {
    display: inline-block;
    width: auto;
    list-style: none;
    margin: 30px auto 0 auto;
    padding: 0;
    position: relative;
}

    .clsPhoto ul li {
        display: inline-block;
        list-style: none;
        margin: 0;
        padding: 0;
        position: relative;
        width: 18%;
        overflow: hidden;
        -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
        -o-transition: all .3s ease-in-out, all .3s ease-in-out;
        transition: all .3s ease-in-out, all .3s ease-in-out;
    }

        .clsPhoto ul li:hover, .clsPhoto ul li:focus, .clsPhoto ul li:active {
            -moz-transform: scale(1.05);
            -webkit-transform: scale(1.05);
            transform: scale(1.05);
        }


/* location result */

.clsResults {
    overflow: hidden;
}

.clsResult {
    display: flex;
    flex-direction: row;
    padding: 20px 20px 20px 30px;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
}

.clsResult:nth-of-type(even) {
    background-color: #fff;
}

.clsResult:nth-of-type(odd) {
    background-color: #f2f2f2;
}

    .clsResult:hover, .clsResult:focus, .clsResult:active {
        -moz-transform: scale(1.02);
        -webkit-transform: scale(1.02);
        transform: scale(1.02);
    }

.clsResult .inner {
    display: flex;
    flex-direction: column;
}

    .clsResult i {
        font-size: 2rem;
        margin: 0 10px 0 0;
        color: #da7107;
    }

/* paging links */

.page-item:first-child .page-link {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.page-link {
    background-color: #333;
    color: #fff;
}

    .page-link:hover, .page-link:active, .page-link:focus {
        background-color: #da7107;
        color: #fff;
    }

    .active > .page-link, .page-link.active {
        background-color: #ccc;
        border-color: #fff;
    }


/* pill */

.nav-pills .nav-item {
    color: #fff;
}

    .nav-pills .nav-item a {
        background-color: #999;
        color: #fff;
        border-radius: 0;
    }

        .nav-pills .nav-item a:hover, .nav-pills .nav-item a:focus, .nav-pills .nav-item a:active {
            background-color: #da7107;
        }

    .nav-pills .nav-link.disabled {
        color: #fff;
    }

    .nav-pills .nav-item.cls2 {
        background-color: #dacf26;
    }

.nav-pills .nav-item.cls3 {
    background-color: #da7107;
}

.nav-pills .nav-item.cls4 {
    background-color: #2f874a;
}

.nav-pills .nav-item.cls5 {
    background-color: #6390ad;
}

.nav-pills .nav-item.cls6 {
    background-color: #6390ad;
}


/* generic content blocks */

.clsBlock {
    display: block;
    width: 100%;
    margin: 0 0 30px 0;
}

    .clsBlock h2:first-of-type, .clsBlock h3:first-of-type, .clsBlock h4:first-of-type, .clsBlock h5:first-of-type, .clsBlock h6:first-of-type,.clsBlock p:first-of-type {
        margin-top: 0;
    }

    .clsBlock p:last-of-type {
        margin-bottom: 0;
    }

#ctl00_idPlaceHolder3_idPhotoCode p:last-of-type {
    margin-bottom: 30px !important;
}

    .clsSilver {
    background-color: #e5e5e5;
    color: #303030;
}

.clsLightGrey {
    background-color: #999;
    color: #fff;
}

.clsGrey {
    background-color: #666;
    color: #fff;
}

.clsDarkGrey {
    background-color: #333;
    color: #fff;
}

.clsBlack {
    background-color: #000;
    color: #fff;
}

.clsOrange {
    background-color: #da7107;
    color: #fff;
}

.clsBlue {
    background-color: #2f6b91;
    color: #fff;
}

.clsScroll {
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 20px;
}

ul.content-list {
    list-style-type: none;
    margin: 30px 0;
    padding: 0;
}

    ul.content-list.clsScroll {
        max-height: 250px;
        overflow-x: hidden;
        overflow-y: auto;
        padding-right: 20px;
    }

.content-list.m-0:first-of-type {
    margin: 30px 0  0 0 !important;
}

ul.content-list li {
    margin: 0 0 10px 0;
    overflow-x: hidden !important;
}

        ul.content-list li a span {
            display: inline-flex;
            align-items: center;
        }

        ul.content-list li i {
            font-size: 2rem;
            margin: 0 10px 0 0;
        }

.clsVote {
    padding: 0 0 10px 0;
}

    .clsVote .left {
        white-space: nowrap !important;
        font-size: 1.25rem;
        color: #da7107
    }


/* media queries */

@media only screen and (min-width: 992px) {
    .clsVote {
        display: flex;
        flex-direction: row;
    }

        .clsVote .right {
            padding-left: 20px !important;
        }
}






#idBreadCrumb {
    margin-bottom: 20px;
}

label {
    font-weight: 600;
}

.btn-primary {
    background-color: #333;
    color: #fff;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 15px 25px;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: #da7107;
    }


/* footer */

footer .col-12 {
    background-color: #999;
    color: #fff;
}

    footer .col-12 p {
        padding: 0
    }

    footer .col-12 .tiny {
        font-size: .1rem;
        color: #999;
    }

    footer .col-12 a {
        color: #fff;
        font-weight: 500;
        text-decoration: underline;
    }









/* back to top */

@media only screen and (max-width: 1023px) {
    #scrolltotop_parent {
        bottom: 25px !important;
        right: 25px !important;
    }
}

#scrolltotop_parent {
    background-color: #da7107;
    cursor: pointer;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1002 !important;
    color: #fff;
    padding: 8px 14px;
    font-size: 1.4rem;
}

    #scrolltotop_parent:hover {
        opacity: 0.7;
        transition: 0.1s;
    }

.scrolltotop_circle {
    border-radius: 50%;
}
