@import url('variables.css');

section.vademecum {
    background: #f4f4f4;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* ---------------------------------------- */
/* LEFT SIDEBAR */
/* ---------------------------------------- */

.vademecum-content-block.header-vademecum {
    margin-bottom: 20px;
    padding: 35px 40px;
}

.vademecum-content-block {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 1px 3px 1px rgba(0,0,0,.08);
    border: 1px solid #f2f2f2;
    background-color: #fff;
    padding: 0 40px 35px;
}

.vademecum-content-block.header-vademecum h1 {
    font-size: 24px;
    /* font-weight: 700; */
    color: #3d3d3d;
    margin: 0;
    margin-bottom: 20px;
}

.vademecum-content-block.header-vademecum p {
    font-size: 16px;
    line-height: 1.75;
    color: #3d3d3d;
}

.vademecum-content-block {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 1px 3px 1px rgba(0,0,0,.08);
    border: 1px solid #f2f2f2;
    background-color: #fff;
    padding: 0 40px 35px;
}

.vademecum-content-block h2 {
    font-size: 18px;
    /* font-weight: 700; */
    margin-top: 35px;
    margin-bottom: 20px;
}

.vademecum-content-block.header-vademecum p {
    font-size: 16px;
    line-height: 1.75;
    color: #3d3d3d;
}

.vademecum-content-block a {
    color: var(--leadingColor-5);
    text-decoration: underline;
}

.vademecum-content-block ol {
    padding: 0 0 0 16px;
}

.vademecum-content-block ol {
    font-size: 16px;
    line-height: 1.75;
    color: #676767;
    /* font-weight: 400; */
}


/* ---------------------------------------- */
/* RIGHT SIDEBAR */
/* ---------------------------------------- */
.sidebar-container.single-phrase {
    font-size: 16px;
    /* font-weight: 600; */
    color: #9e9e9e;
    width: 384px;
}

.stop-fixed-sidebar {
    position: absolute!important;
    bottom: 4px;
}

.sidebar-container p {
    margin: 0 0 25px;
}

.sidebar-container.single-phrase {
    font-size: 16px;
    /* font-weight: 600; */
    color: #9e9e9e;
    width: 100%;
}

.sidebar-container .related-posts:nth-child(2n) {
    margin: 10px 0;
}

.sidebar-container .related-posts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 15px;
    /* font-weight: 500; */
    line-height: 1.4;
    border-radius: 5px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    background-color: #fff;
}

.sidebar-container a {
    text-decoration: none;
}

.sidebar-container .related-posts .related-posts-thumbnails {
    background-repeat: no-repeat;
    background-size: cover;
    width: 85px;
    height: 85px;
    border-radius: 5px;
    background-position: center;
}

.sidebar-container .related-posts .related-posts-info {
    padding: 0 20px;
}

.sidebar-container .related-posts .related-posts-info a {
    font-size: 15px;
    /* font-weight: 500; */
    line-height: 1.4;
    color: #3d3d3d;
}

.sidebar-container .tags p {
    margin: 30px 0 20px;
    font-size: 16px;
    /* font-weight: 600; */
    color: #9e9e9e;
    margin-top: 30px;
    margin-bottom: 10px;
}

.sidebar-container .tags .tags-list a:not(:last-of-type) {
    margin: 7px 7px 0 0;
}

.sidebar-container .tags .tags-list a {
    display: inline-block;
    padding: 14px 15px;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid #e6e6e6;
    background-color: #fff;
    font-size: 15px;
    /* font-weight: 400; */
    color: #3d3d3d;
    margin: 7px 0 0;
    transition: background-color .5s ease-out;
}

.sidebar-container .tags .tags-list a:hover {
    background-color: rgba(230,230,230,.3);
}



/* ---------------------------------------- */
/* ŁADOWANIE */
/* ---------------------------------------- */
@keyframes pulsate {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes opacity {
    0% {
        opacity: .5;
    }
    25% {
        opacity: .75;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: .75;
    }
    100% {
        opacity: .75;
    }
}

.loading .related-posts-thumbnails {
    background-size: 60% !important;
    background-repeat: no-repeat !important;
    background-image: var(--lazyloading-background-image) !important;
    animation: pulsate 2s infinite !important;
}

.loading .loading-element,
.loading .loading-element a  {
    background-color: #f4f4f4 !important;
    color: #f4f4f4 !important;
    border-radius: 5px !important;
    opacity: .25;
    animation: opacity 1s infinite !important;
}