:root, body.dark-active {
    --burgundy-dark-color: rgb(101, 8, 31);
    --burgundy-bright-color: rgb(194, 14, 53);

    --font-awesome: "Font Awesome 5 Free";

    --body-link-color: rgb(245, 245, 174);
    --body-link-hover-color: rgb(231, 231, 231);
    --color-primary: rgb(122, 122, 122);
    --footer-link-color: rgb(245, 245, 174);
}

.container, .container-fluid {
    --t4-gutter-x: 2.5rem;
}

/* Inputs */

input.form-control, input.form-control:focus, select.form-control, select.form-control:focus,
textarea.form-control, textarea.form-control:focus {
    background-color: var(--burgundy-dark-color);
    border: 0;
    box-shadow: 0 0 0px 1px var(--burgundy-bright-color);
    color: white;
    font-size: 18px;
    max-width: 100%;
    padding: 0.4rem 0.7rem;
}

.btn:hover {
    box-shadow: 0 0 6px 1px var(--burgundy-bright-color);
}

/* Scrollbar */

::-webkit-scrollbar {
    height:10px;
    width:10px;
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy-bright-color);
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    -o-border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: var(--burgundy-dark-color);
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    -o-border-radius: 4px;
}

/* Header */

#t4-header {
    left: 24px;
    position: fixed;
    top: 20px;
    width: fit-content;
    z-index: 1000;
}

#t4-header > .t4-section-inner {
    padding: 0;
}

#t4-header > header > div {
    padding: 0;
}

#t4-header .header-wrap {
    min-height: auto;
}

#t4-header .navbar-brand {
    display: none;
}

#t4-header .navbar-expand-xl .navbar-collapse {
    display: none !important;
}

#t4-header #triggerButton {
    background-color: var(--body-bg-color);
    border-radius: 5px;
    display: block !important;
    font-size: 28px;
    margin: 0;
    padding: 0 0.5rem;
}

#t4-header #triggerButton:hover {
    color: var(--body-link-color);
}

html.has-offcanvas--visible #t4-header #triggerButton {
    display: none !important;
}

/* Further Pages Header */

.usr-further-pages-header {
    background-position: center -400px;
    background-repeat: no-repeat;
    height: 200px;
    position: relative;
}

.usr-further-pages-header > div {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.usr-further-pages-header h1 {
    color: rgb(232, 232, 232);
    font-family: initial;
    font-size: 90px;
    letter-spacing: 11px;
    text-shadow: 0px 0px 10px black;
    text-transform: uppercase;
}

/* Main Body */

#t4-main-body {
    padding-top: 110px;
}

#t4-main-body .t4-section-inner .t4-row {
    margin-bottom: 0;
    margin-top: 0;
}

/* Slideshow */

#t4-sideshow .acm-hero-item {
    background-position: center -100px;
}

#t4-sideshow .hero-content {
    align-items: flex-start !important;
    height: 100vh;
    min-height: 500px;
    padding-top: 170px;
}

#t4-sideshow .hero-content-inner {
    user-select: none;
    width: 100%;
}

#t4-sideshow .hero-title {
    font-family: initial;
    font-size: 90px;
    letter-spacing: 11px;
    text-transform: uppercase;
}

#t4-sideshow .hero-desc {
    font-size: 22px;
    letter-spacing: 2px;
}

#t4-sideshow .acm-action a.btn:any-link {
    color: white !important;
    font-family: 'Questrial', sans-serif;
    font-size: 16px;
    letter-spacing: 3px;
    margin-top: 30px;
    padding: 9px 40px;
    transition: all 400ms;
}

#t4-sideshow .acm-action a.btn:hover {
    background: var(--burgundy-dark-color);
    color: white !important;
    letter-spacing: 4px;
    padding: 9px 46px;
}

div.owl-carousel .owl-dots span {
    background-color: rgba(255, 255, 255, 0.5);
}

div.owl-carousel .owl-dots .owl-dot.active span {
    background-color: var(--burgundy-bright-color);
}

/* Phoca Gallery */

.pg-category-box {
    border-radius: 5px;
}

#phocagallery > .page-header {
    text-align: center;
}

#phocagallery > .page-header > h1 {
    padding-top: 0;
    text-transform: none;
}

#phocagallery #pg-msnr-container {
    align-items: center;
    column-gap: 1.2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0.8rem;
    row-gap: 1.2rem;
}

#phocagallery .pg-item-box.pg-masonry-item {
    border-radius: 6px;
    margin: 0;
    width: calc((100% - 3 * 1.2rem) / 4);
}

#phocagallery .pg-item-box.pg-masonry-item img {
    border-radius: 6px;
}

#phocagallery .pg-item-box-icons-box {
    position: absolute;
    bottom: 0em;
    right: 0em;
    padding: 0.5em;
}

#phocagallery .pagination {
    margin-top: 2.5rem;
}

#phocagallery .ph-si-category-top-back {
    color: var(--burgundy-bright-color);
}

#phocagallery .ph-si-detail-top-back {
    color: var(--burgundy-bright-color);
}

#phocagallery select, #phocagallery input, #phocagallery textarea {
    max-width: 100%;
    padding: 0.4rem 0.7rem;
}

#phocagallery div:has(> [href="https://www.phoca.cz/phocagallery"]) {
    font-size: 0.5rem;
}

/* Contact */

.contact .contact-miscinfo {
    color: rgb(182, 182, 182);
}

.contact .contact-miscinfo-table {
    border-collapse: collapse;
    border-width: 0px;
    margin: 1.9rem 0;
    width: 100%;
}

.contact .contact-miscinfo-table td {
    vertical-align: top;
}

.contact .contact-social-tiles-holder {
    column-gap: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.contact .contact-social-tile {
    border-radius: 0.5rem;
    cursor: pointer;
    position: relative;
    width: calc((100% - 1rem) / 2);
}

.contact .contact-social-tile > img {
    border-radius: 0.5rem;
    transition: 800ms all;
    width: 100%;
}

.contact .contact-social-tile:hover > img {
    filter: grayscale(1);
}

.contact .contact-social-tile > a {
    align-items: center;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
}

.contact .contact-social-tile > a > i {
    background-color: var(--body-bg-color);
    border-radius: 50%;
    box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 40px;
    height: 64px;
    left: 0;
    line-height: 40px;
    position: relative;
    top: 0;
    transition: 800ms all;
    width: 64px;
}

.contact .contact-social-tile:hover > a > i {
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.5);
}

.contact .contact-social-tile:hover > a > i.fa-facebook {
    background: rgb(66, 103, 178);
}

.contact .contact-social-tile:hover > a > i.fa-instagram {
    background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
}

.contact .contact-social-tile:hover > a > i.fa-tiktok {
    background: rgb(254, 40, 88);
}

.contact .contact-social-tile > a > i::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Footer */

#t4-footer #usr-footer-credits-holder {
    align-items: center;
    column-gap: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

#t4-footer #usr-footer-credits-holder .website-created-by a {
    margin-left: 5px;
}

/* Social List */

.social-list-sm a:any-link {
    color: white;
}

.social-list-sm a:hover {
    color: var(--footer-link-color);
}

/* Offcanvas */

.t4-offcanvas {
    background: var(--burgundy-dark-color);
    width: 360px;
}

.t4-offcanvas .t4-off-canvas-header {
    padding: 1.7rem 1.5rem;
}

.t4-offcanvas .t4-off-canvas-header a {
    font-size: 0;
    visibility: hidden;
}

.t4-offcanvas .t4-off-canvas-header a::before {
    content: '\e066';
    font-family: var(--font-awesome);
    font-size: 1rem;
    font-weight: bold;
    margin-right: 8px;
    visibility: visible;
}

.t4-offcanvas .t4-off-canvas-header a::after {
    content: 'Davidacuts';
    font-size: 1rem;
    visibility: visible;
}

.t4-offcanvas .t4-off-canvas-header .js-offcanvas-close .c-button__text {
    color: var(--body-link-hover-color);
    font-size: 2rem;
}

.t4-offcanvas .t4-off-canvas-header .js-offcanvas-close .c-button__text:hover {
    color: var(--body-link-color);
    transform: scale(1.35);
    transition: all 400ms;
}

.t4-offcanvas .t4-off-canvas-body .navbar.drilldown-effect .navbar-nav .btn-toggle {
    border: 0;
}

.t4-offcanvas .t4-off-canvas-body .navbar.drilldown-effect .sub-menu-back {
    border: 0;
}

/* ---- TABLET ---- */

@media only screen and (max-width: 991px) {

    /* Phoca Gallery */

    #phocagallery .pg-item-box.pg-masonry-item {
        width: calc((100% - 1.2rem) / 2);
    }

}

@media only screen and (max-width: 767px) {

    body {
        font-size: 18px;
    }

    #t4-main-body {
        padding: 44px 0 44px 0;
    }

    /* Further Pages Header */

    .usr-further-pages-header h1 {
        font-size: 64px;
    }

    /* Slideshow */

    #t4-sideshow .acm-hero-item {
        background-position: center center;
    }

    #t4-sideshow .hero-title {
        font-size: 64px;
    }

    /* Phoca Gallery */

    .pg-category-box {
        flex-basis: calc((100% - 50px) / 2);
    }

    /* Contact */

    .contact > div > .row {
        flex-direction: column-reverse;
    }

    .contact .contact-form .contact-name {
        width: 100%;
    }

    .contact .contact-form .contact-email {
        width: 100%;
    }

    /* Footer */

    #t4-footer #usr-footer-credits-holder {
        justify-content: center;
    }

    #t4-footer .footer {
        text-align: center;
        width: 100%;
    }

    #t4-footer .footer-r {
        text-align: center;
        width: 100%;
    }

    #t4-footer .footer-r ul {
        justify-content: center;
    }

    /* Back To Top */

    #back-to-top {
        height: 2.5rem;
        width: 2.5rem;
    }

    #back-to-top > i {
        line-height: 2.5rem;
    }

}

@media only screen and (max-width: 640px) {

    /* Further Pages Header */

    .usr-further-pages-header h1 {
        font-size: 46px;
    }

    /* Slideshow */

    #t4-sideshow .hero-title {
        font-size: 46px;
    }

}

/* ---- MOBILE ---- */

@media only screen and (max-width: 480px) {

    .t4-col {
        padding: 0.5rem;
    }

    /* Further Pages Header */

    .usr-further-pages-header h1 {
        font-size: 30px;
    }

    /* Slideshow */

    #t4-sideshow .hero-title {
        font-size: 30px;
    }

    /* Offcanvas */

    .t4-offcanvas {
        width: 100%;
    }

}
