/* AQUARIUM AR SHORTCODE */
.ar-link-wrapper {
    display: flex;
    text-decoration: underline;
    font-weight: 600;
    font-size: 16px;
    margin: 14px 0;
    line-height: 24px;
    cursor: pointer;
}

.page-template-page-templatesseries_models-php .ar-link-wrapper {
    justify-content: center;
    margin: 0;
}

.page-template-page-templatesseries_overview-php .ar-series-content {
    margin-top: 0;
}

.page-template-page-templatesseries_overview-php .ar-series-content .ar-series-links {
    margin-top: 0;
}

.page-template-page-templatesseries_overview-php .ar-series-content .ar-mobile-notice {
    color: #C4CACC;
    font-size: 14px;
    margin-top: 0;
}

.ar-link-wrapper .ar-icon {
    width: 20px;
    min-width: 20px;
    height: 19px;
    background: url("../images/ar-icon.svg") no-repeat;
    background-size: cover;
    display: inline-block;
    margin-top: 0.2em;
}

.ar-link-wrapper .ar-icon.left-ar-icon {
    margin-right: 0.5em;
}

.ar-link-wrapper .ar-icon.right-ar-icon {
    margin-left: 0.5em;
}

/* AQUARIUM AR POPUP */
.ar-popup-container {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 10000000000;
    background-color: rgba(0, 3, 9, .7);
    top: 0;
}

.aquarium-ar-popup {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.aquarium-ar-popup .ar-popup-close-btn {
    cursor: pointer;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ar-popup-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    padding: 61px 32px;
    margin-top: 32px;
}

.ar-popup-content .ar-popup-text {
    text-align: center;
    color: #0E1317;
}

.ar-popup-content .ar-popup-text #ar-popup-text-desktop,
.ar-popup-content .ar-popup-text #ar-popup-text-mobile-not-supported,
.ar-popup-content .ar-popup-text #ar-popup-text-mobile-supported,
.ar-popup-content .ar-popup-text #ar-popup-qr-container {
    display: none;
}

.ar-popup-content .ar-popup-text h3:first-of-type {
    margin: 0 auto 16px;
}

.ar-popup-content .ar-popup-text h3 {
    font-size: 24px;
    font-family: "HelveticaNeueLTPro-Bd", sans-serif;
    line-height: 28px;
    margin: 40px auto 23px;
}

.ar-popup-content .ar-popup-text h3#ar-popup-text-desktop {
    margin-bottom: 0;
}

.ar-popup-content .ar-popup-text p {
    font-size: 18px;
    line-height: 26px;
    color: #0E1317;
}

.ar-popup-content .ar-popup-text p a {
    color: #2771FF;
    text-decoration: underline;
}

.ar-popup-content .ar-popup-text #ar-popup-supported-btn {
    display: block;
    background: #F21922;
    border-radius: 35px;
    margin: 42px auto 0;
    font-size: 16px;
    line-height: 22px;
    padding: 15px 24px;
    color: white;
    width: fit-content;
}

.ar-popup-qr-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

.ar-popup-qr-container .qr-img {
    display: none;
}

.ar-popup-qr-container .qr-loader {
    display: none;
    width: 94px;
    height: 94px;
    margin: auto;
    border: 2px solid #fff;
    border-top: 2px solid black;
    border-radius: 50%;
    animation: loader-spin 1s linear infinite;
}

@media screen and (min-width: 642px) {
    .ar-popup-content .ar-popup-text {
        margin-bottom: 53px;
    }

    .ar-popup-content .ar-popup-text h3 {
        font-size: 28px;
        line-height: 34px;
    }

    .page-template-page-templatesseries_overview-php .ar-series-content {
        margin-top: 50px;
    }

    .page-template-page-templatesseries_overview-php .ar-series-content .ar-mobile-notice {
        margin-top: 50px;
    }
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}