/*** General CSS ***/
body {
    line-height: 1.9em;
}


/*** Header Area ***/

/* Header Menu */
#sp-header {
    top: 0;
    height: inherit;
}

#sp-header.header-sticky {
    position: fixed;
    top: 0;
    padding: 0;
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 10%);
}

body:not(.home) #sp-header {
    position: static;
}

body:not(.home) #sp-header.header-sticky {
    position: fixed;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 14px !important;
}


/* Canvas Menu */
.offcanvas-menu .offcanvas-inner .menu-child > li a {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(197, 153, 153, 0.21);
    display: inherit;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
    font-size: 15px;
    font-weight: 500;
}


/*** Block Styles ***/

/* Button */
.tp-caption a.btn-slider {
    border: 2px solid #fff;
    display: inline-block;
    text-align: center;
    padding: 10px 30px;
    float: left;
    color: #fff !important;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    -webkit-transition-duration: 1000ms;
    transition-duration: 1000ms;
}

.tp-caption a.btn-slider:hover {
    border: 2px solid transparent;
}

.sppb-btn {
    font-size: 16px;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 0 !important;
}

.sppb-btn:hover,
.slider-btn a:hover {
    background: #000 !important;
}


/* Slider */
.slider-content {
    border: 5px solid #fff !important;
}


/* About */
.about {
    position: relative;
}

.about-content h4 {
    font-size: 14px;
    font-weight: 600;
}

.about-content p {
    line-height: 30px;
}

.about-content h3 {
    font-size: 30px;
    font-weight: 600;
    line-height: 50px;
}

.about-right {
    position: relative;
    cursor: pointer;
}

.about-right img {
    border-radius: 5px;
}

.about-right::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, .2);
    border-radius: 10%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.about-right:hover::before {
    -webkit-animation: circle .95s;
    animation: circle .95s;
}

@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 120%;
        height: 120%;
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    100% {
        width: 120%;
        height: 120%;
        opacity: 0;
    }
}


/* Service */
.title h3 {
    color: #111;
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 20px;
}

.service-item h3,
.service-item-2 h3 {
    font-weight: 700;
}

.service-item:hover,
.service-item:hover h3.sppb-addon-title {
    cursor: pointer;
    color: #fff !important;
}

.service-item-2,
.service-item-2 h3.sppb-addon-title {
    cursor: pointer;
    color: #fff !important;
}

.service-item {
    padding: 50px 25px;
    text-align: center;
    position: relative;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.06);
    -webkit-transition: all 0.32s;
    -o-transition: all 0.32s;
    -moz-transition: all 0.32s;
    transition: all 0.32s;
}

.service-item-2 {
    padding: 50px 25px;
    text-align: center;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 2px 48px 0 rgba(0, 0, 0, 0.06);
    -webkit-transition: all 0.32s;
    -o-transition: all 0.32s;
    -moz-transition: all 0.32s;
    transition: all 0.32s;
}

.service-item .sppb-icon-container i {
    font-size: 50px;
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    display: inline-block;
    vertical-align: top;
    border-radius: 50%;
    line-height: 90px;
    color: #fff;
}

.service-item-2 .sppb-icon-container i {
    font-size: 50px;
    width: 90px;
    height: 90px;
    background: #fff;
    margin-bottom: 25px;
    display: inline-block;
    vertical-align: top;
    border-radius: 50%;
    line-height: 90px;
    color: #fff;
}

.service-item:hover .sppb-icon-container i {
    background-color: #fff !important;
}


/* Team */
.team-item .sppb-img-container,
.team-item .sppb-img-container img {
    width: 100%;
}

.team-item h4 {
    font-size: 20px;
}

.team-item h6 {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.team-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.team-item .sppb-img-container {
    position: relative;
}

.team-item .sppb-img-container img {
    transition: ease all 0.3s;
    -webkit-transition: ease all 0.3s;
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
}

.team-item:hover .sppb-img-container img {
    transform: scale(1.1) rotate(1deg);
    -webkit-transform: scale(1.1) rotate(1deg);
}

.team-item .sppb-img-container:after {
    content: "";
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    position: absolute;
    border: 1px solid rgba(0, 0, 0, .1);
    pointer-events: none;
    transition: ease all 0.3s;
    -webkit-transition: ease all 0.3s;
}

.team-item:hover .sppb-img-container:after {
    background: rgba(255, 255, 255, .2);
}

.team-item .sppb-media-body {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    color: #fff;
    padding: 20px;
    opacity: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.team-item:hover .sppb-media-body {
    opacity: 1;
    color: #fff !important;
}

.team-item .sppb-media-body h4 {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 5px;
}

.team-item:hover .sppb-media-body h4 {
    color: #fff !important;
}

.team-item .sppb-media-body h6 {
    font-size: 13px;
    margin: 0;
    opacity: 0.7;
}

.team-item ul {
    padding: 0;
    position: absolute;
    bottom: 94px;
    width: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.team-item:hover ul {
    bottom: 200px;
    opacity: 1;
    visibility: inherit;
}

.team-item ul li {
    list-style: none;
    width: 33.33%;
    text-align: center;
    float: left;
    position: relative;
    z-index: 1;
}

.team-item ul li:before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
}

.team-item ul li:nth-child(2):before {
    background: rgba(0, 0, 0, .1);
}

.team-item ul li:nth-child(3):before {
    background: rgba(0, 0, 0, .2);
}

.team-item ul li a {
    padding: 20px 0;
    display: inline-block;
    width: 100%;
}

.team-item ul li em {
    font-size: 24px;
    color: #fff;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.team-item ul li a:hover em {
    color: #000;
}

.team-item ul li strong {
    display: none;
}


/* Testimonial */
.testimonial {
    position: relative;
    z-index: 1;
}

.testimonial-content {
    background-color: #fff !important;
    background: #fff !important;
    padding: 20px;
}


/* Portfolio */
#portfolio .sppb-row > div:first-child {
    padding: 0;
}

.portfolio p {
    color: #fff;
}

.portfolio-top {
    padding: 40px;
}

.portfolio-top p {
    color: #000;
}

.portfolio-top ul {
    padding-left: 0;
}

.portfolio-top ul li {
    list-style: none;
}

.portfolio-top ul li:before {
    content: "\f101";
    font-family: FontAwesome;
    margin-right: 10px;
}

.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li > a {
    background: #fff;
    color: #776e6e;
    font-size: 16px;
    position: relative;
    padding: 11px;
}

.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li.active > a {
    background: #fff;
    color: #fff;
}

.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li.active > a:after {
    visibility: inherit;
    opacity: 1;
}


/* Contact */
.m-btn-bar {
    padding-top: 30px;
}

a.contact-num {
    color: #fff !important;
    text-decoration: none;
    padding-left: 20px;
    font-size: 15px;
}

.m-btn-white {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 1);
}

.m-btn-white:hover {
    color: #000 !important;
}

.m-btn {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0;
    padding: 12px 25px;
    letter-spacing: 1px;
    background: transparent;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0px 3px 31px 3px rgba(0, 0, 0, 0.11);
    -webkit-transition: all 0.32s ease-in-out;
    -moz-transition: all 0.32s ease-in-out;
    -o-transition: all 0.32s ease-in-out;
    transition: all 0.32s ease-in-out;
}

.contact-us ul {
    padding-left: 0;
}

.contact-us ul li {
    list-style: none;
    margin: 20px 0;
    font-size: 18px;
    color: #fff;
}

.contact-us ul li em {
    margin-right: 10px;
    color: #555;
}

.creativecontactform_body {
    padding: 5px 15px 10px 0px !important;
}

.contact-us ul li strong {
    display: none;
}


/* Contact Info */
.contact-info h2,
.contact-info h3 {
    font-size: 23px;
}


/* Blog */
.jmm-item .jmm-image.mod-article-image {
    overflow: hidden;
}

.jmm-image.mod-article-image img {
    transform: scale(1);
    -webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.jmm-item:hover .jmm-image.mod-article-image img {
    transform: scale(1.12);
    filter: grayscale(100%);
}


/* Bottom */
#sp-bottom .sp-module .sp-module-title {
    font-weight: 700;
    font-size: 29px;
}


/* Footer Copyright */
#sp-footer {
    text-align: center;
}

#sp-footer .container-inner {
    border-top: 1px solid rgba(255, 255, 255, .1);
}


/*** Responsive Layout ***/

/* Tablet Landscape Layout */
@media (min-width: 1400px) {
    .sppb-row-container {
        max-width: 1320px;
    }
}


/* Mobile Standard Layout */
@media (max-width: 768px) {
    #sp-header,
    #sp-header .logo {
        height: 70px;
    }

    #sp-footer p {
        text-align: center;
    }

    body #sp-header {
        background: #fff;
        padding: 0;
    }
}


/* Mobile Small Resolution */
@media (max-width: 480px) {
    .slider-small h3 {
        margin-bottom: 0 !important;
    }

    .slider-big h1 {
        padding: 0 !important;
    }
}


/* General color definition
   Color value depends on preset color selected in template settings > Presets
*/
:root {
    --background-color: currentColor;
    --background: currentColor;
    --text-color: currentColor;
}

.page-item.active .page-link,
.slider-item .sppb-btn-success,
.sp-simpleportfolio .sp-simpleportfolio-filter > ul > li.active > a,
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-info:hover,
.sp-simpleportfolio .sp-simpleportfolio-item .sp-simpleportfolio-overlay-wrapper .sp-simpleportfolio-overlay,
.service-item i,
.service-item-2,
.team-item:hover .sppb-media-body,
.service-item:hover,
.tp-caption a.btn-slider,
.testimonial:before,
.sppb-btn,
.portfolio .sppb-row,
.slider-btn a {
    background-color: var(--background-color) !important;
}

.article-list .article .readmore a:hover,
.article-list .article .readmore a:active,
.article-list .article .article-header h2 a:hover,
.service-item:hover .sppb-icon-container i,
.title b,
.service-item-2 .sppb-icon-container i,
.about-content h4,
.contact-us ul li em,
.contact-form h4 {
    color: var(--text-color) !important;
}

.slider-content,
.slider-btn a {
    border-color: var(--text-color) !important;
}


/* =========================================================
   Offcanvas menu - opravy
   ========================================================= */

/*
 * Nadpisy rodicovskych polozek bez vlastniho odkazu.
 * Napr. Archiv a Historicke clanky.
 */
.offcanvas-menu .offcanvas-inner .mod-menu__heading.nav-header {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 15px 40px 15px 10px !important;

    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 18px !important;

    opacity: 0.7 !important;
    text-align: left !important;
}


/*
 * Vnorene menu.
 * Kazda dalsi uroven je mirne odsazena doprava.
 */
.offcanvas-menu .offcanvas-inner .menu-child {
    margin-left: 0 !important;
    padding-left: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}


/* Polozky vnorenych menu */
.offcanvas-menu .offcanvas-inner .menu-child > li {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}


/* Odkazy vnorenych menu */
.offcanvas-menu .offcanvas-inner .menu-child > li > a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;

    padding: 15px 10px !important;

    font-family: Poppins, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 18px !important;

    opacity: 0.7 !important;
    text-align: left !important;
}


/*
 * Historicke clanky:
 * puvodni sablona pocitala vertikalni pozici sipky
 * vzhledem k celemu vnorenemu bloku.
 * Proto se sipka zobrazovala uprostred seznamu.
 */
.offcanvas-menu .offcanvas-inner li.item-604 >
.mod-menu__heading >
.menu-toggler {
    position: absolute !important;

    right: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    left: auto !important;

    transform: translateY(-50%) !important;
    margin: 0 !important;

    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
}
/* Hover rodicovske polozky Archiv v hlavnim menu */
.sp-megamenu-parent > li.sp-menu-item:hover > span,
.sp-megamenu-parent > li.sp-menu-item > span:hover {
    color: #f58220 !important;
    cursor: pointer;
}
/* Aktivni stranka v pagination */
.page-item.active .page-link {
    color: #ffffff !important;
    background-color: #f58220 !important;
    border-color: #f58220 !important;
}