
html, body {
    min-height: 100%;
    height: 100%;
    font-family: 'Noto Sans', sans-serif;
    display: flex;
    flex-direction: column;
}

/*********************************
 *            HEADER             *
 *********************************/

#site-header .navbar{
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1rem;
}
#site-header .navbar .navbar-brand{
}
#site-header .navbar .navbar-brand a{
    display: inline-block;  /* GEN */
}
#site-header .navbar .container{
    min-height: 6rem;
    /*margin-top: -8px;*/
    margin-bottom: -2px;
    justify-content: space-between;
}
#site-header .navbar #main-menu-navbar{
    flex-grow: 0;
}
#site-header .navbar .container .navbar-right {
    flex-grow: 0;
    min-width: 113px;
    margin-left: 1rem;
    display: flex;
}
#site-header .navbar .container .navbar-right a.search-link,
#site-header .navbar .container .navbar-right a.menu-toggle-link {
    text-decoration: none;
    margin-left: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: #FFC857;
    font-size: 18px;
}
#site-header .navbar .container .navbar-right a.search-link:hover,
#site-header .navbar .container .navbar-right a.menu-toggle-link:hover {
    color: #CE8D24;
}
#site-header .navbar #main-menu-navbar > ul > li{
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}
#site-header .navbar #main-menu-navbar > ul > li.active{
    /*TODO*/
}
#site-header .navbar #main-menu-navbar > ul > li > a,
#site-header .navbar a.search-link,
#site-header .navbar a.menu-toggle-link{
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 6rem;
}
#site-header .navbar #main-menu-navbar > ul > li > a{
    padding-right: .6rem;
    padding-left: 0.8rem;
    color: #4D4D4D;
}
#site-header .navbar #main-menu-navbar > ul > li:hover:after,
#site-header .navbar #main-menu-navbar > ul > li.active:after{
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' x='0px' y='0px' viewBox='0 0 32 32' fill='%23FFEBC2'%3E%3Ccircle class='st0' cx='16' cy='16' r='16'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
}
#site-header .navbar #main-menu-navbar > ul > li a:hover{
    color: #333333;
}
#site-header .navbar #main-menu-navbar > ul > li.active > a,
#site-header .navbar #main-menu-navbar > ul > li.active > ul > li.active > a{
    font-weight: 600;
}
#site-header .navbar #main-menu-navbar > ul > li > ul{
    padding-top: 0;
    margin-top: -1rem;
}
#site-header .navbar #main-menu-navbar > ul > li > ul > li a{
    padding: 0.5rem 1rem;
}
#site-header .navbar #main-menu-navbar li.active a {
    color: #4D4D4D;
}
@media screen and (max-width: 992px) {
    /*#site-header .navbar .container{
        margin-bottom: 8px;
    }
    #site-header .navbar .container .navbar-right {
        order: 2;
    }
    #site-header .navbar #main-menu-navbar{
        order: 3;
    }
    #site-header .navbar #main-menu-navbar > ul > li:first-child {
        border-top: 1px solid #3a3a3a50;
    }
    #site-header .navbar #main-menu-navbar > ul > li{
        border-bottom: 1px solid #3a3a3a50;
    }
    #site-header .navbar ul.navbar-right.navbar-nav > li {
        border-bottom: none;
    }
    #site-header .navbar #main-menu-navbar > ul > li > a,
    #site-header .navbar ul.navbar-right.navbar-nav > li > a{
        min-height: auto;
        padding: 8px;
    }
    #site-header .navbar #main-menu-navbar > ul > li > a{
        display: block;
        width: 100%;
    }*/
    #site-header .navbar #main-menu-navbar > ul > li:hover:after,
    #site-header .navbar #main-menu-navbar > ul > li.active:after{
        top: 3px;
    }
    #site-header .navbar #main-menu-navbar > ul > li{
        display: block;
    }
    #site-header .navbar #main-menu-navbar > ul > li > ul {
        margin: 0 -0.5rem;
        border: none;
        padding: 0;
        font-size: 0.9em;
        border-top: 1px solid #eeeeee;
        border-radius: 0;
    }
    #site-header .navbar #main-menu-navbar > ul > li > ul > li > a{
        padding: .5rem 2rem;
    }
    #site-header .navbar #main-menu-navbar > ul > li > ul > li > ul > li > a{
        padding: .5rem 2.5rem;
    }
}
#site-header #header-banner{
    background-color: #FFF4DE;
    border-radius: 16px;
    box-shadow: 5px 5px 5px #FFC85715;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    font-style: italic;
    margin: 2rem auto;
}
#site-header #header-banner .row{
    margin: 1rem 0;
    height: 100%;
    padding: 0;
}
#site-header #header-banner .row .text-col{
    padding: 4rem;
    background: url("../img/bg-banner-left.svg") no-repeat left bottom;
    background-size: 322px 215px;
    position: relative;
    min-height: 350px;
}
#site-header #header-banner .row .text-col .logo{
    margin: 2rem 3rem;
    display: block;
}
#site-header #header-banner .row .text-col .motto{
    font-size: 1.3rem;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 300;
    margin: 3rem 1rem;
}
#site-header #header-banner .row .background{
    background: url("../img/bg-banner-right.svg") no-repeat center center;
    background-size: contain;
    position: relative;
    min-height: 350px;
    margin: 2rem 0;
}
#site-header #header-banner .row .background:after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background: url("../img/P9270441.JPG") no-repeat center center;
    background-size: contain;

    -webkit-mask-image: url("../img/bg-banner-right-mask.svg");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center center;
    mask-image: url("../img/bg-banner-right-mask.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center center;
}

#site-header #header-banner .row .text-col .buttons{
    padding: 0 .5rem;
}
#site-header #header-banner .row .text-col .buttons a.btn{
    margin: 0 .5rem;
}

@media screen and (max-width: 1400px) {
    #site-header .navbar{
        font-size: 14px;
    }
    #site-header .navbar .container .navbar-right {
        min-width: auto;
    }
}
/* mozna 992px / 1200px */
@media screen and (max-width: 1200px) {
    #site-header #header-banner .row .text-col{
        padding: 3rem 1rem;
    }
}
@media screen and (max-width: 960px) {
    #site-header .navbar .container .navbar-right {
        order: 2;
    }
    #site-header .navbar #main-menu-navbar{
        order: 3;
    }
    #site-header .navbar #main-menu-navbar > ul > li:first-child {
        border-top: 1px solid #3a3a3a50;
    }
    #site-header .navbar #main-menu-navbar > ul > li {
        border-bottom: 1px solid #3a3a3a50;
    }
    #site-header .navbar #main-menu-navbar > ul > li > a{
        min-height: auto;
        padding: 8px;
        display: block;
    }
}
#search-modal-form .modal-content {
    border: none;
    background: transparent;
}

#search-modal-form .searchform {
    position: relative;
}
#search-modal-form .searchform input[type="text"],
#search-modal-form .searchform input[type="search"]{
    width: 100%;
    background-color: #FFFBF2;
    border: 2px solid #FFC857;
    border-radius: 8px;
    padding: 12px 60px 12px 16px;
    color: #4D4D4D;
}
#search-modal-form .searchform input[type="text"]:focus,
#search-modal-form .searchform input[type="search"]:focus{
    outline: #CE8D24 solid 2px;
    /*outline: none;*/
    border-color: #CE8D24;
}
#search-modal-form .searchform button[type="submit"]{
    display:block;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    width: 50px;
    background-color: #FFC857;
    border: none;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    color: #ffffff;
}
#search-modal-form .searchform button[type="submit"]:hover{
    border-color: #CE8D24;
    background-color: #ce8d24;
    color: #ffe4ba;
}
a.btn.ms-btn-primary, a.btn.ms-btn-secondary{
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    font-style: normal;
    font-size: 0.75em;
    line-height: 1.8em;
    padding: .375rem 2rem;
}
a.btn.ms-btn-primary{
    background-color: #FFC857;
}
a.btn.ms-btn-primary:hover{
    background-color: #FBB03B;
}
a.btn.ms-btn-secondary{
    background-color: #3F82E8;
}
a.btn.ms-btn-secondary:hover{
    background-color: #0071BC;
}






main{
    margin: 2rem 0;
}

main h2.header-with-dot{
    color: #333333;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    position: relative;
    padding-left: 1rem;
    line-height: 48px;
}
main h2.header-with-dot:after {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' x='0px' y='0px' viewBox='0 0 48 48' fill='%23FFEBC2'%3E%3Ccircle class='st0' cx='24' cy='24' r='24'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
}
main h3.header-with-dot{
    color: #333333;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    position: relative;
    padding-left: 0.75rem;
    line-height: 32px;
}
main h3.header-with-dot:after {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' x='0px' y='0px' viewBox='0 0 32 32' fill='%23FFEBC2'%3E%3Ccircle class='st0' cx='16' cy='16' r='16'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
}
main .important-info{
    padding: 0.5rem;
    position: relative;
    margin: 2rem 0;
}
main .important-info .important-content{
    border: 1px solid #FFC857;
    border-radius: 1rem;
    background-color: #ffffff;
    position: relative;
    box-shadow: 10px 10px 10px rgba(255, 200, 87, .25);
    z-index: 0;
    padding: 1.625rem 1rem;
}
main .important-info:after{
    content: '';
    display: block;
    position: absolute;
    z-index: -100;
    width: 100%;
    height: 100%;
    background-color: #FFC857;
    transform: rotate(4deg);
    top: 0;
    left: 0;
    border-radius: 1rem;
    box-shadow: 10px 10px 10px rgba(255, 200, 87, .25);
}
main .important-info h3{
    margin-bottom: 1.125rem;
}
main .important-info h5{
    margin: 0.5rem 0;
    font-size: 1rem;
    /*font-size: 0.875rem;*/
    font-weight: 400;
    color: #4D4D4D;
}
main .important-info p{
    /*font-size: 0.75rem;*/
    font-weight: 300;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.5rem;
}
main .important-info p i.far,
main .important-info p i.fas  {
    margin-right: 5px;
}
main .important-info a{
    text-decoration: none;
    color: #4D4D4D;
}
main .important-info a:hover{
    /*text-decoration: underline;*/
    color: #3F82E8;
}

main ul.article-preview-list{
    list-style: none;
    margin: 2rem 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
}
main ul.article-preview-list li{
    padding: 0 0 1rem 0;
    margin: 0 0 1rem 0;
    /*border-bottom: 1px solid rgba(113, 124, 135, 0.1);*/
    position: relative;
}
main ul.article-preview-list article.article-preview{
    display: flex;
    flex-direction: row;
}
main ul.article-preview-list article.article-preview a.article-image {
    display: flex;
    flex-shrink: 0;
    height: 100px;
    width: 150px;
    margin-right: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 4px 4px 8px #44444460;
}
main ul.article-preview-list article.article-preview a.article-image.empty {
    display: flex;
    flex-shrink: 0;
    position: relative;
    text-decoration: none;
}
main ul.article-preview-list article.article-preview a.article-image.empty:after {
    content: "";
    display: block;
    position: absolute;
    z-index: 100;
    top:-16px;
    bottom: -16px;
    right: -16px;
    left: -16px;
    object-fit: cover;
    background-image: url(../img/zahrada-1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(8px);
    -webkit-filter: blur(8px);
}
main ul.article-preview-list article.article-preview a.article-image.empty span {
    display: block;
    position: relative;
    z-index: 101;
    margin: auto;
    font-size: 40px;
    line-height: 64px;
    width: 64px;
    height: 64px;
    background-color: rgba(255,255,255,.6);
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    color: #3A3A3A;
}
main ul.article-preview-list article.article-preview a.article-image:hover {
    transform: translate(-4px, -4px);
}

main ul.article-preview-list article.article-preview a.article-image picture {
    display: block;
    height: 100px;
    width: 150px;
}

main ul.article-preview-list article.article-preview a.article-image picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

main ul.article-preview-list article.article-preview h2 {
    font-size: 21px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin: 0;
}
main ul.article-preview-list article.article-preview h2 a{
    color: #333333;
    text-decoration: none;
}
main ul.article-preview-list article.article-preview h2 a:hover{
    /*text-decoration: underline;*/
    color: #000;
}
main ul.article-preview-list article.article-preview .date-created{
    color: #575757;
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
}
main ul.article-preview-list article.article-preview .description {
    color: #4d4d4d;
    font-size: 14px;
    margin: 0.2rem 0;
}
main ul.article-preview-list article.article-preview .article-more {
    /*color: #df2b2b;*/
    font-size: 12px;
    text-decoration: none;
    display: block;
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #3F82E8;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    color: #FFFFFF;
    border-radius: 50%;
    margin-top: 0.5rem;
}
main ul.article-preview-list article.article-preview .article-more:hover {
    transform: translate(-2px, -2px);
}

main ul.article-preview-list article.article-preview.calendar-preview .date-area {
    display: flex;
    flex: 0 0 80px;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    border-radius: 8px;
    color: #ffffff;
    background-color: #ffc857;
    font-family: 'Roboto', sans-serif;
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    text-decoration: none;
    box-shadow: 10px 10px 10px rgba(255, 200, 87, .25);
}
main ul.article-preview-list article.article-preview.calendar-preview .date-area:hover{
    transform: translate(-4px, -4px);
}
main ul.article-preview-list article.article-preview.calendar-preview .date-area .date{
    font-size: 36px;
    text-align: center;
    line-height: 40px;
    font-weight: 300;
}
main ul.article-preview-list article.article-preview.calendar-preview .date-area .month{
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}
main section.photo-gallery{
    height: 630px;
    margin: 1rem auto;
    background-image: url(../img/zahrada-1.jpg);
    background-repeat: no-repeat;
    /*box-shadow:inset 0 0 0 2000px rgba(135, 201, 127, 0.9);*/
    box-shadow:inset 0 0 0 2000px rgba(255, 210, 0, 0.8);
    background-size: cover;
    -webkit-mask-image: url(../img/image-mask.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 1381px;
    -webkit-mask-position: center center;
    mask-image: url(../img/image-mask.svg);
    mask-repeat: no-repeat;
    mask-size: 1381px;
    mask-position: center center;
    padding: 4rem 2rem;
    overflow: hidden;
}
main section.photo-gallery h2#photo-gallery-header{
    color: #ffffff;
    font-size: 36px;
    text-align: center;
    margin: 2rem;
}

main section.photo-gallery ul.photogallery-area {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
main section.photo-gallery ul.photogallery-area li{
    display: flex;
    flex-direction: column;
    max-width: 25%;
    max-height: 230px;
    padding: 0.5rem;
    text-align: center;
}
main section.photo-gallery ul.photogallery-area li picture{

}
main section.photo-gallery ul.photogallery-area li a.article-image:hover img{
    transform: translate(-4px, -4px);
}
main section.photo-gallery ul.photogallery-area li .article-content a{
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
main section.photo-gallery ul.photogallery-area li .article-content a:hover{
    text-decoration: underline;
}

main section.photo-gallery article.article-preview.photo-gallery-preview a.article-image picture {
    display: block;
    height: 230px;
    overflow: hidden;
}

main section.photo-gallery article.article-preview.photo-gallery-preview a.article-image picture img {
    object-fit: cover;
    margin-bottom: 1rem;
    object-fit: cover;
}


section.breadcrumbs-area{
    background-color: #FFF4DE;
    border-radius: 16px;
    box-shadow: 5px 5px 5px #ffc85715;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-style: italic;
    margin: 2rem auto;
    font-size: 14px;
    padding: 0.8rem 2rem;
}
section.breadcrumbs-area a{
    color: #808080;
    font-style: normal;
}
section.breadcrumbs-area a:hover{
    text-decoration: none;
    color: #333333;
}

/***************** FOOTER *****************/
footer{
    background-color: #f8f8f8;
    /*overflow: hidden;
    height: auto;*/
    margin-top: auto;
}
footer .widgets-row{
    padding-top: 5rem;
    padding-bottom: 3rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: #575757;
    font-size: 0.9rem;
}
footer .widgets-row h4{
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin-bottom: 0.8rem;
}
footer .widgets-row h5{
    font-size: 0.9rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

footer .widgets-row .row > div{
    border-left: 1px dotted #d0d0d0;
    padding-left: 2rem;
    padding-right: 1rem;
}
footer .widgets-row .row > div:first-child{
    border-left: none;
    padding-left: 1rem;
}

footer .widgets-row p{
    margin-bottom: 0.8rem;
}
footer .widgets-row ul{
    list-style: none;
    padding: 0;
    margin-bottom: 0.3rem;
}
footer .widgets-row ul li{
    margin-bottom: 0.3rem;
}
footer .footer-credits{
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: #808080;
}



/*********************** SIDEBAR **********************/


main .menu-sidebar .header-1{
    background-color: #ff8357;
    color: #ffffff;
    padding: 0.5rem 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 353 210'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF60;%7D%0A%3C/style%3E%3Ccircle class='st0' cx='343.85' cy='33.54' r='51.37'/%3E%3Ccircle class='st0' cx='33.03' cy='7.92' r='22.36'/%3E%3Ccircle class='st0' cx='120.48' cy='192.37' r='101.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: top -50px right;
    border-radius: 8px;
    box-shadow: 8px 8px 10px #ff835760;
    font-size: 18px;
    font-weight: 400;
    background-size: 100%;
    line-height: 24px;
    margin: 1rem 0.3rem;
}
#main .menu-sidebar #sidebar-menu{
    padding: 0 1rem;
}
#main .menu-sidebar #sidebar-menu ul{
    padding: 0;
    list-style: none;
}
#main .menu-sidebar #sidebar-menu > ul li{
    padding: 0;
}
#main .menu-sidebar #sidebar-menu > ul li a{
    display: block;
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
    padding: 0.4rem 0.4rem 0.4rem 0.8rem;
    text-decoration: none;
    color: #575757;
    font-size: 16px;
}
#main .menu-sidebar #sidebar-menu > ul li ul li > a{padding-left: 1.6rem}
#main .menu-sidebar #sidebar-menu > ul li ul li ul li > a{padding-left: 2.4rem}
#main .menu-sidebar #sidebar-menu > ul li ul li ul li ul li > a{padding-left: 3.2rem}

#main .menu-sidebar #sidebar-menu > ul li.current-menu-item > a{
    color: #e9573f;
    font-weight: 500;
}
#main .menu-sidebar #sidebar-menu > ul li.current-menu-ancestor > a,
#main .menu-sidebar #sidebar-menu > ul li.current-menu-parent > a{
    color: #e9573f;
}

#main .menu-sidebar #sidebar-menu > ul > li a:hover{
    background-color: #f8f8f8;
    /*color: #e9573f;*/
    color: #212121;
}

#main .archive-navigation .nav-links{
    display: flex;
}
#main .archive-navigation .nav-links .prev{
    margin-right: auto;
}
#main .archive-navigation .nav-links .next{
    margin-left: auto;
}
#main .archive-navigation .nav-links .page-numbers:last-child{
    margin-right: auto;
}
#main .archive-navigation .nav-links .page-numbers.next:last-child{
    margin-right: 0;
}
#main .archive-navigation .nav-links .page-numbers:first-child{
    margin-left: auto;
}
#main .archive-navigation .nav-links .page-numbers.prev:first-child{
    margin-left: 0;
}
#main .archive-navigation .nav-links a,
#main .archive-navigation .nav-links span.current{
    text-decoration: none;
    display: inline-block;
    padding: 0.3rem 0.5rem;
    margin: 0.1rem;
    background-color: #FFF4DE;
    border-radius: 4px;
    color: #4D4D4D;
}
#main .archive-navigation .nav-links .dots{
    text-decoration: none;
    display: inline-block;
    padding: 0.3rem 0.5rem;
    margin: 0.1rem;
    color: #4D4D4D;
}
#main .archive-navigation .nav-links span.current{
    background-color: #FFC857;
    color: #ffffff;
    font-weight: 600;
}
#main .archive-navigation .nav-links a:hover{
    background-color: #FFC857;
    color: #ffffff;
}
