body.page-template-template-mine-information {visibility: hidden; overflow: visible;}
body.page-template-template-mine-information.loaded {visibility: visible;}

.mine-information {
    line-height: 1;
    padding-top: 0;
    font-family: "Inter";
}
.mine-information .site-main {
    margin: 0;
}
.mine-information .banner {
    padding-bottom: 50px;
    height: 370px;
}
.mine-information .banner .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.mine-information .banner .container h1 {
    font-size: 36px;
    margin-bottom: 8px;
    color: #fff;
    font-family: "Inter";
}
.mine-information .banner .container p {
    color: #fff;
    line-height: 1.4;
    font-size: 20px;
    width: 70%;
    font-family: "Open Sans";
    margin-bottom: 0;
}
.mine-information .menu-container {
    position: sticky;
    top: -44px;
    z-index: 2;
    background-color: #fff;
    padding: 44px 0;
}
body.admin-bar .mine-information .menu-container {
    top: -12px;
}
.mine-information .menu-container .menu {
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #F6F6F6;
    padding: 6px 8px;
    border-radius: 8px;
    column-gap: 20px;
}
.mine-information .menu-container .menu .menu-item {
    text-align: center;
    font-size: 14px;
    place-content: center;
    position: relative;
    padding: 10px 0;
}
.mine-information .menu-container .menu .menu-item:not(:last-child):after {
    display: block;
    content: "";
    width: 2px;
    height: 100%;
    background-color: #E6E5E5;
    position: absolute;
    top: 0;
    right: -10px;
}
.mine-information .menu-container .menu .menu-item a {color: #737373;}
.mine-information .menu-container .menu .menu-item.active {
    background-color: #FFE2E4;
    border: 1px solid #D32E36;
    border-radius: 6px;
}
.mine-information .menu-container .menu .menu-item.active a{
    color: #D32E36;
    font-weight: 600;
}

.mine-information .entry-content {
    margin-top: 0;
}
.mine-information .entry-content p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
    text-align: justify;
    color: #475569;
}

.mine-information .left-sidebar .menu-item {display: flex; align-items: center; gap: 12px; padding: 12px 0;}
.mine-information .left-sidebar .menu-item a {font-size: 16px; color: #475569;}
.mine-information .left-sidebar .menu-item:not(.active) .icon-active {display: none;}
.mine-information .left-sidebar .menu-item.active .icon-inactive {display: none;}
.mine-information .left-sidebar .menu-item.active a {color: #D32E36; font-weight: 600;}
.mine-information #secondary {
    padding-left: 0;
    position: sticky;
    top: 92px;
    background-color: #fff;
    margin-top: 0;
}
body.admin-bar .mine-information #secondary {
    top: 124px;
}

#content-mine-location-licenses {
    background-image: url(../images/map-mining-info.png);
    background-size: calc(100% + 240px) calc(100% - 132px);
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 926px;
}
#content-mine-location-licenses .locations {
    display: none;
}
#content-mine-location-licenses .map-wrapper {
    padding: 16px;
    --top-1: 64.76%;
    --top-2: 56.06%;
    --top-3: 62.18%;
    --top-4: 55%;
    --top-5: 62.18%;
    --left-1: 64.79%;
    --left-2: 24.54%;
    --left-3: 28.21%;
    --left-4: 58.13%;
    --left-5: 21.96%;
}

#content-mine-location-licenses .map-wrapper .location {
    display: grid;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(241, 14, 14, 0.08);
    background: #fff;
    box-shadow: 0px 4px 8px 0px rgba(159, 3, 5, 0.15);
    width: 327px;
    column-gap: 12px;
    grid-template-columns: 2fr 2.5fr 5.5fr;
    position: absolute;
}

#content-mine-location-licenses .map-wrapper .location > div {
    color: #000;
    font-size: 12px;
    font-weight: 500;
    font-family: "Inter";
}

#content-mine-location-licenses .map-wrapper .location > div:nth-child(1) {
    font-weight: 600;
    color: #000;
    font-size: 14px;
    grid-column: 1/4;
    margin-bottom: 5px;
}

#content-mine-location-licenses .map-wrapper .location > div:nth-child(2) {
    color: #949494;
    font-size: 12px;
    grid-column: 1/4;
    font-weight: 400;
}

#content-mine-location-licenses .map-wrapper .location > div:nth-child(6),
#content-mine-location-licenses .map-wrapper .location > div:nth-child(7),
#content-mine-location-licenses .map-wrapper .location > div:nth-child(8) {
    grid-row: 3;
    padding-top: 12px;
    color: #232323;
    font-size: 12px;
    padding-bottom: 6px;
}

#content-mine-location-licenses .location-number {
    display: inline-flex;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    width: 30px;
    height: 30px;
    background-color: #d32e36;
    border-radius: 50%;
    box-shadow: 0px 0px 19px 3px #cc0100;
    text-align: center;
    position: absolute;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
}

#content-mine-location-licenses .location-number:nth-child(1) {
    top: var(--top-1);
    left: var(--left-1);
}

#content-mine-location-licenses .location-number:nth-child(2) {
    top: var(--top-2);
    left: var(--left-2);
}

#content-mine-location-licenses .location-number:nth-child(3) {
    top: var(--top-3);
    left: var(--left-3);
}

#content-mine-location-licenses .location-number:nth-child(4) {
    top: var(--top-4);
    left: var(--left-4);
}

#content-mine-location-licenses .location-number:nth-child(5) {
    top: var(--top-5);
    left: var(--left-5);
}

#content-mine-location-licenses .location:nth-child(6) {
    top: calc(var(--top-1) - 31px);
    left: calc(var(--left-1) + 35px);
}

#content-mine-location-licenses .location:nth-child(7) {
    top: calc(var(--top-2) - 136px);
    left: calc(var(--left-2) - 127px);
}

#content-mine-location-licenses .location:nth-child(8) {
    top: calc(var(--top-3) + 30px);
    left: calc(var(--left-3) - 25px);
}

#content-mine-location-licenses .location:nth-child(9) {
    top: calc(var(--top-4) - 150px);
    left: calc(var(--left-4) - 25px);
}

#content-mine-location-licenses .location:nth-child(10) {
    top: calc(var(--top-5) + 32px);
    left: calc(var(--left-5) - 300px);
}

#content-mine-location-licenses .location:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    z-index: 1;
}

#content-mine-location-licenses .location:nth-child(6):before {
    top: 13px;
    left: -11px;
    border-top: 14px solid transparent;
    border-right: 15px solid #fff;
    border-bottom: 14px solid transparent;
}

#content-mine-location-licenses .location:nth-child(7):before {
    bottom: -11px;
    left: 112px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 15px solid #fff;
}

#content-mine-location-licenses .location:nth-child(8):before {
    top: -11px;
    left: 9px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 15px solid #fff;
}

#content-mine-location-licenses .location:nth-child(9):before {
    bottom: -11px;
    left: 14px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 15px solid #fff;
}

#content-mine-location-licenses .location:nth-child(10):before {
    top: -11px;
    left: 287px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 15px solid #fff;
}

#content-mine-location-licenses .wp-block-table.summary {
    border-radius: 14px;
    background-color: #d32e36;
    position: absolute;
    bottom: 67px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

#content-mine-location-licenses .wp-block-table.summary .summary-wrapper {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    column-gap: 24px;
    padding: 0 24px;
}

#content-mine-location-licenses .wp-block-table.summary .summary-wrapper>div {
    padding: 24px;
}

#content-mine-location-licenses .wp-block-table.summary .summary-wrapper>div>div:nth-child(1) {
    font-size: 14px;
    font-weight: 500;
    color: #eae9e9;
    padding-bottom: 10px;
}

#content-mine-location-licenses .wp-block-table.summary .summary-wrapper>div>div:nth-child(2) {
    color: #fff;
}

#content-mine-location-licenses .summary .big {
    font-size: 32px;
    font-weight: 600;
}

#content-mine-location-licenses .summary .small {
    font-size: 14px;
    font-weight: 600;
    margin-left: 6px;
}

#content-mine-location-licenses p:has(strong) {
    color: #D32E36;
    font-size: 36px;
    margin-top: 108px;
    margin-bottom: 16px;
}

#content-mine-location-licenses p:last-of-type {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 0;
    margin-top: 8px;
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

#content-coal-products a {
    color: #0063FF;
}

.mine-information .entry-content .each-child .title {
    font-family: "Open Sans";
    font-size: 20px;
    color: #1E293B;
    line-height: 32px;
    margin-bottom: 24px;
    font-weight: 600;
}

.mine-information .entry-content img {
    border-radius: 24px;
    object-fit: cover;
}

@media only screen and (max-width: 1200px) {
    #content-mine-location-licenses .map-wrapper .location {
        width: 260px;
        padding: 10px;
    }
    #content-mine-location-licenses .map-wrapper .location > div:nth-child(1) {
        font-size: 12px;
    }
    #content-mine-location-licenses .map-wrapper .location > div,
    #content-mine-location-licenses .map-wrapper .location > div:nth-child(2),
    #content-mine-location-licenses .map-wrapper .location > div:nth-child(6),
    #content-mine-location-licenses .map-wrapper .location > div:nth-child(7),
    #content-mine-location-licenses .map-wrapper .location > div:nth-child(8) {
        font-size: 10px;
    }
    #content-mine-location-licenses .location:nth-child(10) {
        left: calc(var(--left-5) - 182px);
        width: 200px;
    }
    #content-mine-location-licenses .location:nth-child(10):before {
        left: 170px;
    }
}

@media only screen and (max-width: 767px) {
    .mine-information > .container {
        width: 100%;
    }
    .mine-information .banner {
        padding-bottom: 22px;
        height: 195px;
    }
    .mine-information .banner .container h1 {
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 4px;
    }

    .mine-information .banner .container p {
        font-size: 12px;
        line-height: 18px;
        width: 100%;
    }

    .mine-information #secondary,
    body.admin-bar .mine-information #secondary {
        margin-top: 0;
        top: 69.6px;
        padding-top: 12px;
        z-index: 1;
    }

    .mine-information .menu-container,
    body.admin-bar .mine-information .menu-container {
        width: 96.5%;
        padding: 22px 0;
        padding-left: 3.5%;
        top: -22px;
    }

    .mine-information .menu-container .menu {
        overflow-x: scroll;
    }

    .mine-information .menu-container .menu .menu-item {
        padding: 10px 20px;
    }

    .mine-information .menu-container .menu .menu-item a {
        white-space: nowrap;
        font-size: 12px;
    }

    .mine-information .menu-container .menu::-webkit-scrollbar {
        display: none;
    }

    .mine-information .entry-content {
        padding-left: 3.5%;
        padding-right: 3.5%;
    }

    .mine-information .entry-content p {
        font-size: 12px;
        line-height: 18px;
        margin-bottom: 12px;
    }

    #content-mine-location-licenses {
        height: 717px;
        background-image: url(../images/map-mining-info-mobile.png);
        background-size: 1045px 451px;
        background-repeat: no-repeat;
        background-position: calc(50% + 196px) center;
    }
    #content-mine-location-licenses p:has(strong) {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 2px;
        margin-top: 19px;
    }
    #content-mine-location-licenses .map-wrapper .location {
        width: auto;
        padding: 10px;
    }
    #content-mine-location-licenses .map-wrapper .location>div:nth-child(1) {
        margin-bottom: 0;
        font-size: 12px;
    }
    #content-mine-location-licenses .map-wrapper .location>div:nth-child(n+2) {
        display: none;
    }
    #content-mine-location-licenses .map-wrapper .location.visible {
        width: 260px;
        z-index: 1;
    }
    #content-mine-location-licenses .map-wrapper .location.visible>div:nth-child(n+2) {
        display: block;
    }
    #content-mine-location-licenses .map-wrapper .location.visible>div:nth-child(1) {
        margin-bottom: 5px;
        font-size: 12px;
    }
    #content-mine-location-licenses .location-number {
        font-size: 14px;
        width: 24px;
        height: 24px;
    }
    #content-mine-location-licenses .location-number:nth-child(1),
    #content-mine-location-licenses .map-wrapper .location:nth-child(6) {
        top: 57%;
        left: calc(50% + 137px);
    }
    #content-mine-location-licenses .location-number:nth-child(2),
    #content-mine-location-licenses .map-wrapper .location:nth-child(7) {
        top: 52%;
        left: calc(50% - 128px);
    }
    #content-mine-location-licenses .location-number:nth-child(3),
    #content-mine-location-licenses .map-wrapper .location:nth-child(8) {
        top: 59%;
        left: calc(50% - 93px);
    }
    #content-mine-location-licenses .location-number:nth-child(4),
    #content-mine-location-licenses .map-wrapper .location:nth-child(9) {
        top: 50%;
        left: calc(50% + 90px);
    }
    #content-mine-location-licenses .location-number:nth-child(5),
    #content-mine-location-licenses .map-wrapper .location:nth-child(10) {
        top: 59%;
        left: calc(50% - 141px);
    }
    #content-mine-location-licenses .map-wrapper .location:nth-child(6) {
        transform: translate(-23px, 29px);
    }
    #content-mine-location-licenses .map-wrapper .location.visible:nth-child(6) {
        transform: translate(-239px, 29px);
    }
    #content-mine-location-licenses .location:nth-child(6):before {
        top: -8px;
        left: unset;
        right: 8px;
        border-left: 14px solid transparent;
        border-bottom: 8px solid #fff;
        border-right: 14px solid transparent;
        border-top: unset;
    }
    #content-mine-location-licenses .map-wrapper .location:nth-child(7) {
        transform: translate(-28px, calc(-100% - 31px));
    }
    #content-mine-location-licenses .location:nth-child(7):before {
        bottom: -8px;
        left: 13px;
        border-top: 8px solid #fff;
    }
    #content-mine-location-licenses .map-wrapper .location:nth-child(8) {
        transform: translate(-23px, -55px);
    }
    #content-mine-location-licenses .location:nth-child(8):before {
        top: unset;
        bottom: -8px;
        left: 9px;
        border-bottom: unset;
        border-top: 8px solid #fff;
    }
    #content-mine-location-licenses .map-wrapper .location.visible:nth-child(8) {
        transform: translate(-65px, 27px);
    }
    #content-mine-location-licenses .location.visible:nth-child(8):before {
        top: -8px;
        left: 51px;
        border-top: unset;
        border-bottom: 8px solid #fff;
    }
    #content-mine-location-licenses .map-wrapper .location:nth-child(9) {
        transform: translate(-23px, calc(-100% - 27px));
    }
    #content-mine-location-licenses .location:nth-child(9):before {
        bottom: -8px;
        border-top: 8px solid #fff;
        left: 9px;
    }
    #content-mine-location-licenses .map-wrapper .location.visible:nth-child(9) {
        transform: translate(-236px, calc(-100% - 27px));
    }
    #content-mine-location-licenses .location.visible:nth-child(9):before {
        bottom: -8px;
        border-top: 8px solid #fff;
        left: 221px;
    }
    #content-mine-location-licenses .map-wrapper .location:nth-child(10) {
        transform: translate(-19px, 26px);
    }
    #content-mine-location-licenses .location:nth-child(10):before {
        top: -8px;
        border-bottom: 8px solid #fff;
        left: 5px;
    }
    #content-mine-location-licenses .wp-block-table.summary {
        width: 93%;
    }
    #content-mine-location-licenses .wp-block-table.summary .summary-wrapper {
        grid-template-columns: repeat(3, auto);
        gap: 12px;
        padding: 16px;
    }
    #content-mine-location-licenses .wp-block-table.summary .summary-wrapper>div {
        padding: 0;
    }
    #content-mine-location-licenses .wp-block-table.summary .summary-wrapper>div>div:nth-child(1) {
        font-size: 10px;
    }
    #content-mine-location-licenses .summary .big {
        font-size: 16px;
    }
    #content-mine-location-licenses .summary .small {
        font-size: 10px;
    }
    #content-mine-location-licenses .map-wrapper .location.visible > div {
        font-size: 10px;
    }
    #content-mine-location-licenses p:last-of-type {
        width: 100%;
        font-size: 12px;
        text-align: center;
    }

    .mine-information .entry-content img {
        border-radius: 4px;
    }

    .mine-information #secondary .menu {
        display: none;
    }

    .mine-information #secondary .select2 {
        width: 100% !important;
    }

    .mine-information #secondary .left-sidebar {
        padding-bottom: 0;
    }

    .mine-information .entry-content .each-child .title {
        font-size: 16px;
        line-height: 1;
        margin-bottom: 12px;
    }
}