/* Global */
body, html {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #212C32;
}

.bg-main {
    background-color: #062a35;
}

.bg-submain {
    background-color: #ea5822;
}

.text-main {
    color: #062a35;
}

.text-submain {
    color: #ea5822;
}

:target::before {
    content: "";
    display: block;
    height: 55px;
    margin-top: -55px;
}
/* Global */

/* Maps */
#state-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    display: none;
    pointer-events: none;
    z-index: 10;
    font-size: 14px;
}

#continents-map path {
    fill: #C0C0C0;
    stroke: white;
    stroke-width: 40;
}

#continents-map .climbed path {
    fill: #158F22;
}

#continents-map .climbed:hover path {
    fill: #ff9830;
    cursor: pointer;
}

#europe-map path {
    fill: #C0C0C0;
    stroke: white;
    stroke-width: 8;
}

#europe-map .europe.climbed {
    fill: #158F22;
}

#europe-map .europe.attempt {
    fill: #fc3030;
}

#europe-map .europe.climbed:hover, #europe-map .europe.attempt:hover {
    fill: #ff9830;
    cursor: pointer;
}

#europe-map #lakes {
    opacity: 1;
    fill: #dfeffa;
    fill-opacity: 1;
}

#south-america-map path {
    fill: #C0C0C0;
    stroke: white;
    stroke-width: 1; /* 'stroke-width' is also set to some states in 'south-america-map.php' */
}

#south-america-map .south-america.climbed path {
    fill: #158F22;
}

#south-america-map .south-america.climbed:hover path {
    fill: #ff9830;
    cursor: pointer;
}

#north-america-map path {
    fill: #C0C0C0;
    stroke: white;
    stroke-width: 1.2;
}

#north-america-map .north-america.climbed path {
    fill: #158F22;
}

#north-america-map .north-america.climbed:hover path {
    fill: #ff9830;
    cursor: pointer;
}

#north-america-map #lakes path {
    opacity: 1;
    fill: #dfeffa;
    fill-opacity: 1;
}

#asia-map path {
    fill: #C0C0C0;
    stroke: white;
    stroke-width: 0.3;
}

#asia-map .asia.climbed {
    fill: #158F22;
}

#asia-map .asia.attempt {
    fill: #fc3030;
}

#asia-map .asia.climbed:hover, #asia-map .asia.attempt:hover {
    fill: #ff9830;
    cursor: pointer;
}

#oceania-map path {
    fill: #C0C0C0;
    stroke: white;
    stroke-width: 0.25;
}

#oceania-map .oceania.climbed {
    fill: #158F22;
}

#oceania-map .oceania.climbed:hover {
    fill: #ff9830;
    cursor: pointer;
}

#europe-map svg, #south-america-map svg, #north-america-map svg, #asia-map svg, #oceania-map svg {
    min-height: 100vh;
}

#continents-map svg {
    min-height: 50vh;
}

#ocean, .ocean {
    opacity: 1;
    fill: #dfeffa;
    fill-opacity: 1;
}
/* Maps */

/* About project */
#about-project-main_title-section {
    background-image: url('/views/about_project/photos/background_image.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

.fa-envelope, .fa-phone {
    color: #ea5822;
}

#about-project-main_title-section-box {
    height: 100%;
}

#about-project-main_title-section_title, #about-project-main_title-section_subtitle, #about-project-main_title-section_motto {
    width: fit-content;
    opacity: 0.9;
}

.about-project-main_section-box {
    padding: 3rem 1rem;
    max-width: 1300px;
    margin: auto;
}

#about-project-main_navigation-section-box {
    padding: 0 1rem;
}

#about-project-main_navigation-section {
    background-color: #ea5822;
}

#about-project-main ::marker {
    font-weight: bold;
    color: #ea5822;
}

.peak-table-sort-altitude, .peak-table-sort-alpha {
    display: none;
}

#about-project-footer {
    font-size: 0.7rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
/* About project */

/* Navigation */
#navigation {
    opacity: 0.95;
    margin: 1rem;
}

#navigation_states-dropdown-menu {
    max-height: 75vh;
}

#map-legend {
    height: 1px;
}

#map-legend button {
    opacity: 0.95;
    margin: 0 1rem 1rem 1rem;
}
/* Navigation */

/* State Template */

#state-template-header_box, #state-template-navigation_box {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 1300px;
    margin: auto;
}

#state-template-header_state-box {
    padding: 0 0.5rem;
}

#state-template-header_flag {
    max-height: 28px;
}

#state-template-main {
    padding: 3rem 1rem;
    margin: auto;
    max-width: 1300px;
}

.legend {
    display: none;
}

.legend ::marker {
    font-weight: bold;
    color: #ea5822;
}

.fa-square, .fa-angle-down, .fa-angle-up {
    color: #ea5822;
}

.state-template-main_info-table_head {
    background-color: #062a35;
}

.state-template-main_info-table_sub-head {
    background-color: #ea5822;
}

.state-template-main_info-table_key {
    min-width: 200px;
}

.state-template-main_photo-gallery_img-box {
    position: relative;
    display: inline-block;
    margin: 1rem;
}

.state-template-main_photo-gallery_img {
    height: 270px;
    width: 270px;
    object-fit: cover;
    cursor: pointer;
    border: 1px gray solid;
}

.state-template-main_photo-gallery_img-description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#state-template-main_photo-gallery_imgs {
    border: 1px solid #062a35;
    border-radius: 10px;
}

#state-template-main_photo-gallery_more-photos {
    width: fit-content;
    background-color: #ea5822;
}

.state-template-main_photo-gallery_img:hover {
    border: 1px solid black;
}

#state-template_image-modal-box {
    display: none;
    z-index: 9999;
}

#state-template_image-modal {
    max-width: 100%;
    max-height: 100%;
}

#state-template_close-image-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    cursor: pointer;
}

#state-template_shift-image-left {
    position: absolute;
    left: 20px;
    top: 50%;
    opacity: 0.9;
    transform: translateY(-50%);
}

#state-template_shift-image-right {
    position: absolute;
    right: 20px;
    top: 50%;
    opacity: 0.9;
    transform: translateY(-50%);
}

#state-template_image-modal-description {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

#state-template_scroll-to-top-btn {
    width: 50px;
    height: 50px;
    background-color: #ea5822;
}

#state-template-footer {
    font-size: 0.7rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
/* State Template */

/* Phones */
@media (max-width: 600px) {
    /* Global */
    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }
    /* Global */

    /* Navigation */
    #navigation_states-dropdown-menu-box {
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-bottom: 1rem !important;
        border: none !important;
    }

    #navigation_states-dropdown-menu {
        margin-left: 0 !important;
    }

    #navigation_about-project {
        margin-right: 0 !important;
        padding-right: 0 !important;
        border: none !important;
    }

    #about-project-main_text {
        padding: 1rem !important;
    }

    #navigation_main-title {
        padding-left: 0 !important;
        font-size: 0.9rem !important;
    }
    /* Navigation */

    /* About Project */
    .about-project-main_section-box {
        padding: 1.5rem 1rem;
        max-width: 1300px;
        margin: auto;
    }

    #about-project-main_rules-section ol, #about-project-main_lesson-section ol {
        padding: 2rem !important;
    }

    #about-project-main_title-section_title {
        font-size: 1.2rem !important;
    }

    #about-project-main_title-section_subtitle div {
        font-size: 0.9rem !important;
    }

    #about-project-main_title-section_motto {
        font-size: 0.8rem !important;
    }

    #about-project-main_contact-section_contact-box {
        flex-direction: column;
        padding: 0.5rem !important;
        align-items: start !important;
    }

    #about-project-main_contact-section_contact-box h4 {
        margin-top: 1rem !important;
    }

    #about-project-main_tables-section table, #about-project-main_lesson-section table {
        font-size: 0.7rem !important;
    }

    .peak-table-options {
        padding: 0.5rem;
        flex-direction: column;
    }

    .peak-table-options .select-order-box {
        margin-right: auto !important;
    }

    .peak-table-options .legend-box {
        margin-top: 0.5rem;
        margin-right: auto !important;
    }
    /* About Project */

    /* State Template */
    #state-template-header_box {
        display: flex !important;
        justify-content: center !important;
        flex-direction: column;
        font-size: 0.7rem !important;
    }

    #state-template-header_title {
        font-size: 0.9rem !important;
    }

    #state-template-header_state-box {
        padding: 0.5rem 0;
    }

    #state-template-main_info-table {
        font-size: 0.7rem !important;
    }

    #state-template-main {
        padding: 1.5rem 1rem !important;
    }

    .state-template-main_info-table_key {
        min-width: 100px;
    }

    #state-template_scroll-to-top-btn {
        width: 45px;
        height: 45px;
    }

    .state-template-main_photo-gallery_img-box {
        margin: 0.5rem;
    }

    .legend-box button {
        font-size: 0.8rem !important;
    }
    /* State Template */
}
/* Phones */
  
/* Tablets */
@media (min-width: 601px) and (max-width: 1124px) {
    /* Navigation */
    #navigation_states-dropdown-menu-box {
        margin-left: 0 !important;
        padding-left: 0 !important;
        border: none !important;
        font-size: 1rem !important;
    }

    #navigation_states-dropdown-menu {
        margin-left: 0 !important;
    }

    #navigation_about-project {
        margin-right: 0.2rem !important;
        padding-right: 0.2rem !important;
        font-size: 1rem !important;
        border: none !important;
    }

    #navigation_main-title {
        font-size: 1.2rem !important;
    }
    /* Navigation */

    /* About Project */
    /* About Project */

    /* State Template */
    #state-template-header_state-box{
        padding: 0 0.5rem;
        flex-wrap: wrap;
        justify-content: center !important;
    }
    /* State Template */
}
/* Tablets */

/* Other sizes */
@media (min-width: 1300px) {
    #state-template-main {
        width: 1300px;
    }
}

@media (max-width: 991px) {
    #navigation_states-dropdown-menu-box {
        margin-bottom: 1rem;;
    }
}

@media (max-width: 360px) {
    #navigation_main-title {
        padding-left: 0 !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 850px) {
    .about-project-main_lesson-section_img-group {
        flex-direction: column;
    }
}

@media (max-width: 800px) {
    #about-project-main_lesson-section img {
        width: 100% !important;
    }

    .about-project-main_lesson-section_img-box {
        margin: 0 auto 0 auto !important;
        float: none !important;
        width: 100% !important;
    }

    .about-project-main_lesson-section_img-group {
        flex-direction: column;
    }

    #about-project-main_introduction-section_imgs-box {
        flex-direction: column;
    }

    #about-project-main_introduction-section img {
        float: none !important;
        width: 100% !important;
        display: block;
        margin: 0 auto 1rem auto !important;
    }

    #about-project-main_title-section {
        height: 90vh !important;
    }
}
/* Other sizes */