@font-face {
    font-family: DejaVuSerif;
    src: url(DejaVuSerif.ttf);
}


html {
    background-color: #EFE6DD;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    font-size: 14px;
    font-family: DejaVuSerif;
}

    body a {
        color: var(--bs-body-color);
    }

header {
    background-repeat: no-repeat;
    background-size: cover;
}

    header.civil {
        background-image: url(../images/header-c.webp);
    }

    header.canon {
        background-image: url(../images/header-k.webp);
    }


h1 {
    font-size: 1.7rem;
    padding-top: 20px;
}
/*left side panel with and menu expander*/


.header-image {
    position: relative;
}

    .header-image .image {
        position: relative;
        height: 540px;
    }

    .header-image .cyceron {
        position: absolute;
        bottom: 40px;
        color: white;
        text-align: center;
        width: 400px;
    }


.navbar {
    padding: 0;
    text-transform: uppercase;
}



.navbar-light .navbar-toggler-icon {
    background-image: url('../images/menu-ico.svg');
}

.page {
    position: relative;
    min-height: 450px;
}

.page-background {
    background-color: #EFE6DD;
}

.menu-background-civil, .footer-background-civil {
    background-color: rgba(205,193,181,0.64);
    background-color: #b8bdb6;
}

.menu-background-canon, .footer-background-canon {
    background-color: rgba(205,193,181,0.64);
    background-color: #d0c2b5;
}


.tab-color {
    background-color: #D3BAA6;
}

.left-side-panel .menu-icon, .menu-icon {
    margin-bottom: 10px;
    height: 30px;
    width: auto;
}



.custom-container {
}

.starter {
    padding: 20px;
}



.image-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
    margin: 30px;
}

    .image-button:hover {
        transform: scale(1.02);
    }

    .image-button.civil:hover {
        color: #b8bdb6
    }

    .image-button.canon:hover {
        color: #d0c2b5;
    }

.btn-wrapper {
    margin-bottom: 20px;
}

.civil {
    background-image: url(../images/header-c.webp);
}

.canon {
    background-image: url(../images/header-k.webp);
}



.icon-text {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.icon {
    height: 100%;
    object-fit: contain;
}

.text {
    line-height: 1.4;
}

@media (min-width: 880px) and (max-width: 1279px) {
    .text-padding {
        padding-left: 260px;
        padding-right: 30px;
        line-height: 1.8;
    }
    .navbar .tab-width {
        margin-left: 20px;
    }

    .navbar {
        margin-left: 0px;
    }

    .left-side-panel {
        position: absolute;
        left: 25px;
        top: 150px;
        z-index: 1000;
    }

    .tab-width {
        width: 240px;
    }

    .page.page-width{
        margin-left: 20px;
    }
}

@media (min-width: 880px) {
    .page-width, body {
        width: 860px;
        margin: 0 auto;
    }
}

footer {
    text-align: center;
}


@media (min-width: 1280px) {

    .text-padding {
        padding-left: 350px;
        padding-right: 30px;
        line-height: 1.8;
    }

    .navbar .tab-width {
        margin-left: 80px;
    }

    .starter{
        margin-top: 120px;
    }

    .starter .btn-wrapper {
        display: flex;
    }

    .left-side-panel {
        position: absolute;
        left: 60px;
        top: 150px;
        z-index: 1000;
    }

    .image-button {
        width: 100%;
    }

    .page-width {
        width: 1260px;
        margin: 0 auto;
    }

    body {
        width: 1260px;
        margin: 0 auto;
        position: relative;
    }

    .header-image .cyceron {
        bottom: 40px;
        left: 290px;
    }




    .tab-width {
        width: 250px;
    }
}

@media (min-width: 880px) {

    body {
        margin: 0 auto;
        position: relative;
    }

    .left-side-panel .header-tab {
        border: 20px solid #d2baa5;
        border-top-left-radius: 125px;
        border-top-right-radius: 125px;
        border-bottom: none;
        height: 800px;
        background-color: #D3BAA6;
        box-shadow: 0px -0px 20px 10px rgba(107,74,47,0.3);
    }

    .left-side-panel img {
        width: 100%;
        height: auto;
        border-top-left-radius: 125px;
        border-top-right-radius: 125px;
        display: inline-block;
        position: relative;
        background-color: #d2baa5;
    }

    .left-side-panel .contact, .left-side-panel .email {
        text-align: center;
        margin-bottom: 20px
    }

    .left-side-panel .logo {
        background-image: url(../images/logo-nazwa.webp);
        background-repeat: no-repeat;
        background-size: 90%;
        opacity: .68;
        /*width: 210px;*/
        height: 190px;
        margin-top: 20px;
    }
}


@media (max-width: 1279px) {

    .starter {
        margin-top: 60px;
    }

    .header-image .image {
        height: 350px;
    }


    @media (max-width: 880px) {
        .text-padding {
            padding-left: 30px;
        }

        .tab-width {
            display: none;
        }
    }
}

@media (max-width: 880px) {

    header {
        background-size: 100%
    }

    .header-image .image {
        height: 177px;
    }
}

@media (max-width: 605px) {
    .header-image .image {
        height: 137px;
    }
}


@media (max-width: 480px) {
    header {
        background-size: cover;
        background-position: right;
    }
}


.navbar-collapse {
    margin-top: 15px;
}



/*Cookies*/
#simplecookienotification_v01 {
    display: block;
    z-index: 99999;
    min-height: 35px;
    width: 100%;
    position: fixed;
    background: rgb(239, 235, 233);
    border: 0px solid rgb(121, 85, 72);
    text-align: center;
    color: rgb(119, 119, 119);
    right: 0;
    bottom: 0;
    left: 0;
}

    #simplecookienotification_v01 > div {
        padding: 10px;
        margin-left: 15px;
        margin-right: 15px;
        font-size: 14px;
        font-weight: normal;
    }

#simplecookienotification_v01_polityka,
#simplecookienotification_v01_info,
#simplecookienotification_v01_info2 {
    color: rgb(121, 85, 72);
}

#okbutton {
    display: inline-block;
    margin-top: 10px;
    background: rgb(121, 85, 72);
    color: rgb(255, 255, 255);
    padding: 5px 15px;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
    border: 0px solid rgb(239, 235, 233);
    border-radius: 0px;
    position: relative;
    top: 5px;
    right: 5px;
}

#jwc_hr1,
#jwc_hr2 {
    height: 10px;
    display: none;
}
