:root {
    --main-bg: #0984e3;
    --action-bg: #09e2d4;
    --xmass-red-primary: #C30F16;
    --xmass-red-secondary: #ee2a32ff;
}

body {
    background-color: #f9f9f9;
}


/* XMass Wishes */

.xmass-greeting {
    line-height: 50px;
    text-align: center;
    color: #fff !important;
    background: linear-gradient(to left, var(--xmass-red-primary), var(--xmass-red-secondary));
}


/* Scrollbar Styling */


/* width */

body::-webkit-scrollbar {
    width: 15px;
    box-shadow: inset 0 0 4px 0 rgba(0, 0, 0, .3);
}


/* Track */

body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .05);
}


/* Handle */

body::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--main-bg), var(--action-bg));
    border: 1px solid rgba(0, 0, 0, .09);
}

nav {
    background-color: var(--main-bg);
    color: #fff !important;
    border-bottom: 9px solid rgba(0, 0, 0, .25);
    z-index: 10 !important;
}

.logo-wrapper {
    margin: 0;
    padding: 15px 0;
    padding-right: 55px;
    margin-left: -25px;
    margin-top: -9px;
    margin-bottom: -8px;
    overflow: hidden;
}

footer {
    background-color: var(--main-bg);
    color: #fff !important;
    overflow: hidden;
    border-top: 9px solid rgba(0, 0, 0, .25);
    font-size: 18px;
}

a {
    color: #fff !important;
    text-decoration: none;
}

.logo {
    margin-left: -140px !important;
    padding: 0 100px 0 150px !important;
    position: relative;
}

.logo a {
    position: relative;
    z-index: 2;
    color: var(--main-bg) !important;
}

.logo b {
    text-shadow: 0 0 5px rgba(0, 0, 0, .45);
}

.logo:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    margin-top: -20px;
    content: '';
    display: block;
    background-color: #fff;
    z-index: 1;
    transform: skewX(-45deg);
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, .45);
}

.action-btn {
    line-height: 40px;
    font-size: 18px;
    margin-left: 10px;
    padding: 0 10px;
    color: #fff;
    border: 1.5px solid #fff;
    border-radius: 6px;
}

.action-btn:hover {
    background-color: #fff;
    color: var(--main-bg) !important;
}

.menu-btn {
    font-size: 1.5rem;
    color: #fff;
}

.menu-btn:hover {
    color: #fff !important;
}

header {
    position: relative;
    height: 95vh !important;
    overflow: hidden;
    color: #fff;
    z-index: 1 !important;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .35);
}

.header-caption {
    text-shadow: 0 0 9px rgba(0, 0, 0, .35);
}

.header-caption p {
    font-size: inherit !important;
}

.call-to-action {
    display: inline-block;
    line-height: 55px;
    margin-top: 25px;
    padding: 0 25px;
    background-color: var(--main-bg);
    color: #fff;
    font-size: 1.5rem;
    border-radius: 9px;
    box-shadow: 0 0 9px 5px rgba(0, 0, 0, .45);
    transition: .2s ease transform, .5s ease box-shadow, .3s ease background-color;
}

.call-to-action:hover {
    background-color: var(--action-bg);
    transform: translateY(-4px);
    box-shadow: 0 4px 9px 5px rgba(0, 0, 0, .45);
}

.title {
    padding: 15px 25px;
    border-bottom: 4px solid var(--main-bg);
}

.about {
    font-size: 20px;
}

.bold-start {
    color: var(--main-bg);
    font-size: 1.5rem;
}

.product {
    font-size: 20px;
}

.product-btn {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    color: var(--main-bg) !important;
}

.product-btn:hover {
    text-decoration: underline;
}

.social-btn {
    width: 50px;
    height: 50px;
    margin: 0 15px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--main-bg) !important;
    font-size: 1.5rem;
    text-align: center;
    line-height: 50px;
    transition: .3s ease transform, .5s ease box-shadow;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 9px 5px rgba(0, 0, 0, .25);
}


/* Menu Styling */

.menu a {
    display: block;
    background-color: var(--main-bg);
    color: #fff;
    line-height: 50px;
    padding: 0 25px;
    border-radius: 5px;
    transition: .5s ease background-color;
}

.menu a:hover {
    background-color: var(--action-bg);
}

.menu li {
    margin-bottom: 15px;
}


/* Page Header */

.page-header {
    display: flex;
    height: 25vh !important;
    justify-content: center;
    align-items: center;
    background-size: contain;
    box-shadow: 0 0 5px 1.5px rgba(0, 0, 0, .35);
}

.page-header>h2>span {
    display: inline-block !important;
    padding: 0 15px;
    line-height: 50px;
    background-color: var(--main-bg);
    color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 0 5px 1.5px rgba(0, 0, 0, .35);
}

.limestone-bg {
    background: #f9f9f9 url('../assets/img/surfaces/rigatino.jpg') no-repeat repeat center center;
    background-size: cover;
}

.gneiss-bg {
    background: #f9f9f9 url('../assets/img/gneiss/10.jpg') no-repeat center center;
    background-size: cover;
}


/* Table Styling */

.table {
    border: 2.5px solid var(--main-bg);
    border-collapse: collapse;
}

.table thead {
    height: 60px;
    background-color: var(--main-bg);
    color: #fff;
    vertical-align: middle;
    font-size: 21px;
}

.table tbody {
    font-size: 18px;
}

.table>tbody>tr:nth-of-type(odd) {
    background-color: rgba(9, 132, 277, .1);
}

p {
    font-size: 18px;
}


/* Gallery Styling */

#gallery-popup {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .35);
    z-index: 25;
}

#gallery-popup .close-btn {
    position: absolute;
    top: 1.5%;
    right: 1.5%;
    padding: 0 15px;
    font-size: 2rem;
    color: var(--main-bg);
    background-color: #fff;
    box-shadow: 0 0 9px 2px rgba(0, 0, 0, .55);
}

#gallery-popup.hideGallery {
    display: none !important;
}

#gallery-popup.showGallery {
    display: flex !important;
}

#gallery-popup h4 {
    position: absolute;
    top: 0;
    left: 50%;
    display: inline-block;
    padding: 0 25px;
    background-color: var(--main-bg);
    color: #fff;
    font-size: 18px;
    line-height: 45px;
    transform: translateX(-50%);
}

.popup-image {
    position: relative;
    width: 100vh;
    height: 100vh;
}

.popup-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page h3 {
    display: inline-block;
    border-bottom: 4px solid var(--main-bg);
}


/* Form Styling */

.form {
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, .25);
    font-size: 17px;
    border-bottom: 6px solid var(--main-bg);
}


/* Go top btn */

.go-top {
    display: none;
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--main-bg);
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .35);
    transition: .5s ease background-color;
}

.go-top:hover {
    background-color: var(--action-bg);
}

.translate-btn {
    margin: 0;
    padding: 9px 15px;
    position: relative;
    font-size: 1.5rem;
    color: #fff !important;
}

.translation-active {
    background-color: #fff;
    color: var(--main-bg) !important;
}

.translation-wrapper {
    display: none;
    position: absolute;
    left: -100%;
    margin-top: 5px;
    padding: 15px;
    background-color: #fff;
    z-index: 10000 !important;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, .35);
    border-radius: 5px;
}

.action-link {
    color: var(--main-bg) !important;
    border-bottom: 2.5px solid var(--main-bg);
}

.contact-details {
    background-color: #fff;
}

.contact-details p {
    margin: 0 !important;
}

.contact-details div>div {
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, .15);
    border-radius: .4rem;
}

.contact-details span {
    display: block;
    padding: .6rem;
    background: linear-gradient(to left, var(--action-bg), var(--main-bg));
    color: #fff;
    font-size: 1.4rem;
    border-radius: .4rem;
}

.contact-details a {
    line-height: 35px;
}

.contact-details b {
    font-size: 1rem;
}

.mobile-menu {
    background-color: var(--main-bg);
}

.btn-close {
    color: #fff !important;
}


/* Details List Styling */

.details-list i {
    color: #32cd32;
    font-size: 1.5rem;
    margin-right: 9px;
}


/* Slider Button Styling */

#mainSlider {
    width: 100%;
    height: 100%;
}

#mainSlider .carousel-inner {
    position: relative;
}

#mainSlider .carousel-item {
    position: relative;
    width: 100% !important;
    height: 100% !important;
}

#mainSlider img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

button.carousel-control-prev {
    background-image: linear-gradient(to right, rgba(0, 0, 0, .35), transparent);
}

button.carousel-control-next {
    background-image: linear-gradient(to left, rgba(0, 0, 0, .35), transparent);
}

.carousel-item {
    position: relative;
}


/* Gallery Design Styling */

.gallery-header {
    width: 100%;
    height: auto;
    background-color: var(--main-bg);
    border-bottom: 4px solid rgba(0, 0, 0, .25);
}

.gallery-header h3 {
    margin-left: 2% !important;
    line-height: 3.5rem !important;
    color: #fff;
    text-shadow: 0 0 9px rgba(0, 0, 0, .45);
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .25);
}

.gallery-slide {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.prev-slide-btn {
    top: 50%;
    left: 1%;
    position: absolute;
    display: block;
    width: 90px;
    height: 90px;
    background-color: var(--main-bg);
    color: #fff !important;
    font-size: 2rem;
    border-radius: 15px;
    transform: translateY(-50%);
    transition: all .5s ease;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .25);
}

.next-slide-btn {
    top: 50%;
    right: 1%;
    position: absolute;
    display: block;
    width: 90px;
    height: 90px;
    background-color: var(--main-bg);
    color: #fff !important;
    font-size: 2rem;
    border-radius: 15px;
    transform: translateY(-50%);
    transition: all .5s ease;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .25);
}

.next-slide-btn:hover,
.prev-slide-btn:hover {
    background-color: var(--action-bg);
    box-shadow: 0 0 10px 3.5px rgba(0, 0, 0, .25);
}

.gallery-slides {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
}

.gallery-slides .wrapper {
    width: auto;
    height: 100%;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
}

.gallery-slide-preview {
    display: inline-block;
    position: relative;
    width: 25%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: .5s ease margin-left;
}

.gallery-slide-preview img {
    width: 100%;
    height: 100%;
    transition: all .5s ease;
}

.gallery-slide-preview img:hover {
    transform: scale(1.5);
}


/* Alert Styling */

.action-alert {
    position: fixed;
    top: -100%;
    left: 50%;
    width: 80%;
    padding: 1.5rem;
    background: linear-gradient(to bottom, var(--action-bg), var(--main-bg));
    color: #fff;
    transform: translateX(-50%);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 0 9px 1.5px rgba(0, 0, 0, .3);
    z-index: 15;
}

.dismiss-alert-btn {
    border: 0;
    padding: 0 25px;
    line-height: 45px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .3);
    color: #fff;
    text-transform: uppercase;
}


/* Blog Styling */

.lg-blog-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    padding-bottom: 25px;
    border-bottom: 10px solid var(--main-bg);
}

.blog-post-wrapper {
    min-height: 100vh;
}

.blog-post {
    position: relative;
    background-color: #fff;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .25);
    overflow: hidden;
}

.thumbnail-container {
    width: 100%;
    min-height: 250px;
    border-radius: 10px;
    background: linear-gradient(to bottom, var(--main-bg), var(--action-bg));
    overflow: hidden;
}

.thumbnail-container:hover img {
    transform: scale(1.2);
}

.thumbnail-container img {
    width: 100%;
    transition: all .7s ease;
}

.blog-post-title {
    padding-bottom: 15px;
    font-size: 3.5rem;
    font-weight: bolder;
    border-bottom: 5px solid var(--main-bg);
}

.blog-post-preview {
    padding: 25px;
}

.blog-content-preview {
    height: 250px;
    overflow: hidden;
}

.blog-content-divider {
    margin-top: -2px;
    height: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.blog-content-preview img {
    width: 100%;
}

.read-more-btn {
    display: block;
    line-height: 60px;
    font-size: 20px;
    padding: 0 25px;
    background-color: var(--main-bg);
}

.read-more-btn:hover {
    background-color: var(--action-bg);
}

.blog-post-page {
    width: 95%;
    height: auto;
    margin: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .25);
}

.blog-post-content-wrapper {
    padding: 2.5rem;
}

.blog-post-thumbnail-container {
    border-radius: 10px;
    min-height: 0;
    overflow: hidden;
}

.blog-post-thumbnail {
    width: 100%;
}

.blog-post-content {
    margin-bottom: 25px;
    overflow: auto;
}

.blog-post-content .ratio {
    margin-right: 1.2rem;
    margin-bottom: 1.5rem;
}

.blog-post-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 9px 1.5px rgba(0, 0, 0, .2);
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    margin: 0 !important;
    padding-bottom: 1.5rem;
}

.blog-post-content p {
    text-align: justify;
}

.blog-post-content h1::before,
.blog-post-content h2::before,
.blog-post-content h3::before,
.blog-post-content h4::before {
    content: '';
    display: block;
    width: 100%;
    min-height: 1px;
    clear: both;
}

.clear-fix {
    display: block;
    width: 100%;
    min-height: 1px;
    clear: both;
}


/* Page images styling */

.image-wrapper {
    position: relative;
}

.image-caption {
    position: absolute;
    top: 4%;
    left: 4%;
    display: inline-block;
    padding: 0 25px;
    max-width: calc(100% - 8%);
    line-height: 40px;
    font-size: 18px;
    background-color: var(--main-bg);
    color: #fff;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1;
    word-break: break-all;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .3);
    transition: all .6s ease;
    pointer-events: none;
}

.image-wrapper:hover .image-caption {
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: var(--action-bg);
}

.interactive-img {
    padding: 0 !important;
    transition: .3s ease transform;
}

.interactive-img:hover {
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .35);
    transform: scale(1.05);
}

.interactive-img {
    position: absolute;
    object-fit: cover;
    object-position: center;
}

.interactive-img:hover {
    animation: interaction 2.5s infinite;
    z-index: 1;
}

@keyframes interaction {
    0% {
        object-position: left;
    }
    50% {
        object-position: right;
    }
    100% {
        object-position: left;
    }
}


/* Footer Additional Links Styling */

.footer-logo {
    display: block;
    text-align: center;
    padding: 1.5rem;
    border-radius: 9px;
    background-color: #fff;
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .35);
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    display: inline-block;
    padding: 0 25px;
    margin-right: 15px;
    line-height: 40px;
    transition: all .4s ease;
}

.footer-links a:hover {
    background-color: #fff;
    color: var(--main-bg) !important;
}


/* Gallery Page Styling */

.gallery-img {
    cursor: pointer;
    transition: transform .4s ease;
}

.gallery-image-wrapper:hover .gallery-img {
    transform: scale(1.2);
}

.gallery-image-wrapper {
    overflow: hidden;
    position: relative;
}

.image-information {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 30px);
    line-height: 25px;
    margin: 15px;
    padding: 9px;
    z-index: 10;
    background: linear-gradient(to left, var(--main-bg), var(--action-bg));
    border-radius: .4rem;
    text-align: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 0 9px 1.5px rgba(0, 0, 0, .3);
}

.gallery-image-preview {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 20 !important;
}

.gallery-image-preview.enter-fullscreen {
    display: flex !important;
}

.close-gallery-btn {
    width: 55px;
    height: 55px;
    border: 4px solid #fff;
    color: #fff !important;
    border-radius: 50%;
    font-size: 1.6rem;
}

.close-gallery-btn:hover {
    background-color: rgba(255, 255, 255, .25);
}

.gallery-image-fullscreen {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    object-fit: contain;
    transform: translate(-50%, -50%);
}


/* Share Links */

.share-links {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 5;
    text-align: center;
    transform: translateY(-50%);
}

.share-links ul {
    box-shadow: 0 0 9px 2.5px rgba(0, 0, 0, .3);
    border-top-left-radius: .6rem;
    border-bottom-left-radius: .6rem;
    overflow: hidden;
}

.share-links li {
    padding: 0 20px;
    line-height: 60px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-bottom: 5px solid rgba(0, 0, 0, .3);
}

.share-links li:hover {
    background-color: #666;
}

.share-links .btn-hide {
    display: inline-block;
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: linear-gradient(to left, var(--main-bg), var(--action-bg));
    color: #fff;
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, .25);
}


/* Mobile And Desktop */

@media screen and (min-width: 951px) and (max-width: 1280px) {
    .logo b {
        display: none;
    }
    .action-btn {
        line-height: 55px;
    }
    .action-btn span:last-child {
        display: none;
    }
    .gallery-slides {
        height: 20vh
    }
}

@media screen and (min-width: 427px) and (max-width: 950px) {
    .logo,
    .logo-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }
    .logo b {
        display: none;
    }
    .logo::before {
        display: none;
    }
    nav,
    .links {
        justify-content: center;
        align-items: center;
    }
    .links .action-btn {
        display: block;
        width: 100%;
        margin: 15px 0;
        text-align: center;
    }
    .mobile-none {
        display: none !important;
    }
    header {
        height: 100vh !important;
    }
    header .header-caption {
        display: block;
        width: 60% !important;
    }
    .product {
        flex-direction: column;
    }
    .contact-details {
        flex-direction: column !important;
    }
    .next-slide-btn,
    .prev-slide-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        border-radius: 9px;
    }
    .gallery-slides {
        height: 20vh;
    }
    .action-alert {
        flex-direction: column;
        width: 100%;
        padding: 1rem;
    }
    .dismiss-alert-btn {
        margin-top: 15px;
    }
    .blog-post-page {
        width: 100%;
    }
    .blog-post-footer {
        flex-direction: column;
    }
    .read-more-btn {
        font-size: 18px;
    }
    .published-at {
        margin-bottom: 15px !important;
    }
}

@media screen and (max-width: 426px) {
    .logo,
    .logo-wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }
    .logo b {
        display: none;
    }
    .logo::before {
        display: none;
    }
    nav,
    .links {
        justify-content: center;
        align-items: center;
    }
    .links .action-btn {
        display: block;
        width: 100%;
        margin: 15px 0;
        text-align: center;
    }
    .mobile-none {
        display: none !important;
    }
    header {
        height: 45vh !important;
    }
    header .header-caption {
        display: none;
    }
    .product {
        flex-direction: column;
    }
    .contact-details {
        flex-direction: column !important;
    }
    .next-slide-btn,
    .prev-slide-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        border-radius: 9px;
    }
    .gallery-slides {
        height: 20vh;
    }
    .action-alert {
        flex-direction: column;
        width: 100%;
        padding: 1rem;
    }
    .dismiss-alert-btn {
        margin-top: 15px;
    }
    .blog-post-page {
        width: 100%;
    }
    .blog-post-content-wrapper {
        padding: 1rem;
    }
    .blog-post-footer {
        flex-direction: column;
    }
    .read-more-btn {
        font-size: 18px;
    }
    .published-at {
        margin-bottom: 15px !important;
    }
    .popup-image {
        position: relative;
        width: 50vh;
        height: 50vh;
    }
    #gallery-popup h4 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        display: block;
        padding: 0 25px;
        background-color: var(--main-bg);
        color: #fff;
        font-size: 16px;
        line-height: 30px;
        transform: none;
    }
    .thumbnail-container {
        min-height: 150px;
    }
}