@media (min-width: 576px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 95%;
    }
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1140px;
    }
}
@media (min-width: 1344px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1300px;
    }
}
@media (min-width: 1440px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1400px;
    }
}
@media (min-width: 1600px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1540px;
    }
}
/* WRITE YOUR CUSTOM CSS CODE. THIS WILL NOT BE DELETED ON UPDATE. */
html {
    font-size: 14px;
}
body {
    font-size: 14px;
    color: #353535;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 5000;
    background: #fff;
    transition: 0.5s;
}
.scrolled header {
    box-shadow: 0 0 2px rgba(0,0,0,0.175);
}
.logo {
    max-height: 90px;
    transition: 0.5s;
}
.scrolled .logo {
    max-height: 60px;
}

#main-navbar {
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) .5s;
}

.scrolled #main-navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.post-category-title {
    font-family: 'Poppins', sans-serif;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-family: 'Rufina', serif;
}

a, .accent {
    color: #4D77FF;
}

.btn {
    background-color: #353535;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    font-size: 11px;
    letter-spacing: 0.3px;
    font-weight: 500;
    min-width: 100px;
    padding: 0.75rem 3rem;
}

.btn:hover {
    color: #fff;
    background-color: #000;
}

.post-loop-item-default-cta {
    margin-top: 1rem;
}

.btn-cta {
    font-family: 'Rufina', serif;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    padding: 0.35em 1em;
    font-size: 14px;
    color: #000;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
}

.btn-cta:before,.btn-cta:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 1px;
    height: 100%;
    background: #000;
}
.btn-cta:before {
    left: 0;
}

.btn-cta:after {

    right: 0;
}

.main-nav-item {
    position: relative;
    margin-right: 2rem;
}

.main-nav-item-separator {
    width: 6rem;
}

.main-nav-item.nav-item-facebook:after {
    display: block;
    position: absolute;
    right: -1rem;
    width: 2px;
    height: 14px;
    top: calc(50% - 7px);
    content: '';
    background: #000;
}

.dropdown-menu {
    display: block;
    border: 0;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.6s cubic-bezier(0.075, 0.82, 0.165, 1);
    transform: translateY(-30px);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0px);
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: fixed;
        top: 104px;
        left: 0;
        width: 100%;
        background: #fff;
        padding-top: 3rem;
        padding-bottom: 3rem;
        box-shadow: 0 2px 2px rgba(0,0,0,0.1);
        
    }
    .scrolled .navbar-expand-lg .navbar-nav .dropdown-menu {
        top: 75px;
    }
    .mega-item .dropdown-menu .col-md-3 {
        position: relative;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
        
    }

    .mega-item .dropdown-menu .col-md-3:after {
        display: block;
        position: absolute;
        content: '';
        height: 1px;
        background: #000;
        bottom: 0;
        left: calc(50% - 75px);
        width: 150px;
    }
}
.nav-link {
    font-size: 14px;
    color: #000;
    line-height: 21px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.mega-item .nav-item {
    text-align: center;
}

.mega-item .nav-item-level-2 .nav-link {
    font-size: 24px;
    text-transform: uppercase;
    font-family: 'Rufina', serif;
    margin-bottom: 1em;
    
}

.mega-item .nav-link-submenu {
    display: block;
    color: #353535;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.2s;
    margin-bottom: 1em;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
}

.mega-item .nav-link-submenu:hover {
    color: #4D77FF;
    text-decoration: none;
}

.main-nav-item .toggle-menu {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}

.post-image-style {
    display: inline-block;
    position: relative;

}

.w-100 .post-image-style {
    width: 100%;
}

.post-image-style:before {
    content :"";
    background: #ccc;
    position: absolute;
    width: 100%;
    height: 100%;
    left: -2rem;
    top: -2rem;
}

.post-image-style img {
    position: relative;
    z-index: 2;
    max-height: 77vh;
    object-fit: cover;
}

.w-100 .post-image-style img {
    width: 100%;
}

.post-gallery-slide-image {
    padding: 0 0.5rem;
}

.post-gallery-slide-image img {
    width: 100%;
    object-fit: cover;
}

.romb {
    display: inline-block;
    font-size: 0;
    line-height: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #353535;
    transform:rotate(45deg);
}

.post-category-info {
    margin-bottom: 3rem;
}

.post-category-title {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}

.post-loop-item-default-image {
    height: 386px;
}

.post-loop-item-default-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-post-title,
.home-title h1,
.home-title h2 {
    font-size: 40px;
}

.home-hero-text {
    font-size: 1.2rem;
}
.home-hero-text p {

}

.header-post-title a {
    color: #000;
}

.post-loop-item-default {
    margin-bottom: 4rem;;
}

.post-loop-item-default-image {
    margin-bottom: 1.5rem;
}

.post-loop-item-default-title {
    max-width: 80%;

}


.post-loop-item-default-desc,
.post-description {
    font-size: 16px;
    line-height: 1.8;
}


.separator-with-text {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.separator-text {
    font-family: 'Rufina', serif;
    display: inline-block;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 2rem;
    margin-right: 2rem;
}

.separator-with-text .romb {
    margin-right: 7px;
}

.page-header {
    padding-top: 77px;
}

.col-layout-left {
    padding-right: 3rem;
    border-right: 1px solid #ccc;
}

.col-layout-right {
    padding-left: 3rem;
}
.col-featured-post-image {
    border-right: 0;
}

.col-featured-post-content {
    position: relative;
}

.col-featured-post-content:before {
    position: absolute;
    height: 100%;
    content: '';
    width: 1px;
    background: #ccc;
    left: 3rem;
    top: 0;
}


.col-footer img {
    width: auto !important;
    max-width: 100%;
    max-height: 60px;
}

footer {
    padding-bottom: 3rem;
    background: #fff;
}
body[data-pagetype="post"] footer > .container:first-child {
    border-top: 0;
}

footer > .container:first-child {
    border-top: 1px solid #ccc;
    padding-top: 3rem;
}

.footer-col-title {
    text-transform: uppercase;
    color: #000;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.footer-menu-col ul li {
    margin-bottom: 1.5rem;
}

.footer-menu-col a {
    color: #353535;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: .2s;
}

.footer-menu-col a:hover {
    color: #4D77FF;
}


.col-footer {
    position: relative;
}

.col-footer:nth-child(2):before,
.col-footer:nth-child(3):before,
.col-footer:nth-child(4):before {
    position: absolute;
    height: 100%;
    content: '';
    width: 1px;
    background: #ccc;
    left: -5rem;
    top: 0;
}



.page-header .row {
    height: 45vh;
    min-height: 400px;
}

.page-header .row {
    align-items: center;
}

.page-header {
    position: relative;
    color: #fff;
}

.page-header-inner {
    position: relative;
    z-index: 2;
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

[data-pagetype="post"] .page-header-background:after {
    content:"";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.page-header h1, .page-header h2, .page-header h3,
.page-header h4, .page-header h5, .page-header h6 {
    color: #fff;
}

.grid-item-article {
    position: relative;
    margin-bottom: 2rem;
}

.grid-item-article img {
    height: 300px;
    object-fit: cover;
    transition: 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.grid-item-article-image {
    overflow: hidden;
}
.grid-item-article:hover img {
    transform: scale(1.1);
}

.grid-item-article-content {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    max-width: 180px; 
}

.grid-item-article-title {
    font-size: 18px;
    margin-bottom: 0;
}

.grid-item-article-title a {
    background: rgba(255,255,255,0.9);
    color: #000;
    transition: 0.2s;
    line-height: 1.7;
    letter-spacing: 1px;
}

.grid-item-article-title a:hover {
    color: #4D77FF;
    text-decoration: none;
}

.no-header {
    padding-top: 112px;
}

.col-about-left .module-wrapper {
    border-right: 1px solid #000;
}
.col-about-left .module-wrapper .module-text {
    padding-right: 45px;
}

.col-about-right .module-wrapper  {
    border-left: 1px solid #000;
}
.col-about-right .module-wrapper .module-text {
    padding-left: 45px;
}

.col-about-left .module-wrapper,
.col-about-right .module-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    max-width: 500px;
    margin:auto;
}

.module-wrapper .module-text p {
    max-width: 400px;
}

.main-content > .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.container .builder-row .container {
    padding-left: 0;
    padding-right: 0;
}

.col-contact-left {
    position: relative;
    padding-left: 100px;
    padding-right: 115px;
}

.col-contact-left:after {
    content : '';
    position: absolute;
    right: 50px;
    top: 0;
    height: 100%;
    width: 1px;
    background: #000;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #000;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #000;
    background-color: #fff;
    border-color: #4D77FF;
    box-shadow: none;
}

.label-animation .form-group {
    position: relative;
    margin-bottom: 40px;
}

.label-animation .col-lg-12:last-child .form-group,
.label-animation .agreement-radio.form-group {
    margin-bottom: 1rem;
}

.label-animation .form-group label {
    position: absolute;
    top: 8px;
    left: 15px;
    pointer-events: none;
    transition: 0.3s ease-out;
    padding: 0 6px;
    background: #fff;
}

.label-animation .form-group.focused label {
    top: -10px;
}

.label-animation .agreement-radio label {
    position: relative;
    top: auto;
    left: auto;
    pointer-events: all;
    padding: 0;
    background: 0;
}

.c-form .btn[type="submit"] {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.grid-mode.module-category {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.grid-mode .post-loop-item-default {
    padding-left: 15px;
    padding-right: 15px;
}

.grid-mode .header-post-title {
    font-size: 24px;
}

@media(min-width: 992px) {

    .grid-mode .post-loop-item-default {
        flex-basis: 33.33%;
        max-width: 33.33%;
    }
}


.admin-bar {
    color: #cbcbcb;
    background: #000;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    font-size: 13px;
}

.admin-bar ul {
    padding: 0;
    margin: 0;
}

.admin-bar ul li {
    margin-right: 20px;
    display: inline-block;

}

.admin-bar a {
    padding: 5px 0;
    display: block;
}

.admin-bar i {
    font-size: 25px;
    vertical-align: middle;
}

.logged-in-admin header {
    top: 35px;
}

.logged-in-admin .content-wrapper {
    padding-top: 35px;
}


body[data-pagetype="post"] {
    background: #ddd;
}

.post-content-section img {
    width: auto !important;
    max-width: 100%;
}

.post-header {
    padding-top: 150px;
}

.post-content-section {
    position: relative;
    max-width: 720px;
    background: #fff;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0px -2px 3px rgba(0,0,0,0.1);
    transform-origin: top right;
    transform: rotate(-1deg);
    transition: 0.7s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.post-content-section:before {
    position: absolute;
    top: 13px;
    right: 12px;
    content: '';
    background: #c8c8c8;
    height: 4px;
    width: 4px;
    border-radius: 50px;
}

.post-content-section:hover {
    transform: rotate(-0deg);
}

.post-gallery {
    margin-top: 2rem;
    text-align: center;
}

.post-gallery figure {
    position: relative;
    max-width: 250px;
    margin-right: 2rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.post-gallery figure img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: -1px 2px 5px rgba(0,0,0,0.3); 
}

.post-background:after {
    background: url('/img/noise.png');
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
}

.post-header-title {
    font-size: 45px;
}

.post-section-image img {
    min-width: 50%;
    object-fit: cover;
}

.post-lightbox-image {
    position: relative;
    display: inline-block;
}

.post-lightbox-image:before,
.post-lightbox-image:after {
    position: absolute;
    transition: 0.5s;
    pointer-events: none;
}

.post-lightbox-image:before {
    content: '';
    background: rgba(196, 94, 163, 0.77);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.post-lightbox-image:hover:before {
    opacity: 1;
}


.post-lightbox-image:after {
    content: "\f002";
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 30px;
    color: #fff;
    height: 30px;
    width: 30px;
    top: calc(50% - 15px);
    left: calc(50% - 15px);
    z-index: 2;
    opacity: 0;
    transform: translateY(30px) rotate(20deg);
}

.post-lightbox-image:hover:after {
    opacity: 1;
    transform: translateY(0px) rotate(0deg);
}

.post-section-image.width-sm {
    display: inline-block;
}

.share-link i {
    font-size: 23px;
}

.post-sidebar {
    padding: 2rem;
    background: #fff;
    max-width: 300px;
    box-shadow: 0px -2px 3px rgba(0,0,0,0.1);
    margin: 2rem auto 2rem auto;
    transition: 0.75s ease-out;
}

.post-sidebar-related ul li {
    font-family: 'Rufina', serif;
    margin-bottom: 0.5rem;
}

.navbar-toggler {
    top: 0;
    right: 0;
    outline: 0 !important;
    background: #000;
    border-radius: 0;
    padding: 12px;
}

.navbar-toggler .icon-bar {
    background: #fff;
    border-radius: 0;
}

@media (max-width: 991px) {

    body.navbar-opened {
        overflow: hidden;
    }

    h1, .h1 {
        font-size: 30px;
    }

    .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #main-navbar-collapse {
        max-height: calc(100vh - 82px);
        overflow-x: hidden;
        overflow-y: auto;
        text-align: center;
        padding-bottom: 150px;
        margin-left: -15px;
        margin-right: -15px;
    }

    .main-nav-item {
        margin-right: 0;
    }

    .main-nav-item.nav-item-facebook::after {
        display: none;
    }

    .col-layout-right {
        padding-left: 15px;
    }

    .col-layout-left {
        padding-right: 15px;
    }

    .col-featured-post-content::before {
        display: none;
    }

    .view_title-and-text .post-category-info {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .separator-with-text {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .header-post-title, .home-title h1, .home-title h2 {
        font-size: 30px;
    }

    .mt-5, .my-5 {
        margin-top: 2rem !important;
    }

    .mb-5, .my-5 {
        margin-bottom: 2rem !important;
    }

    .post-loop-item-default-title {
        max-width: 100%;
    }

    .footer-menu-col ul li {
        margin-bottom: 0.5rem;
    }

    .footer-col-title {
        margin-bottom: 0;
    }

    .col-footer {
        margin-bottom: 2rem;
    }

    .page-header .row {
        height: auto;
        min-height: 250px;
    }

    .page-header h1, .page-header h2, .page-header h3, .page-header h4, .page-header h5, .page-header h6 {
        margin-bottom: 0;
    }

    .post-header-title {
        font-size: 30px;
    }

    .post-content-section {
        transform: none;
    }

    .post-sidebar {
        transform: none !important;
        margin-top: 0;
    }

    .col-about-left .module-wrapper .module-text {
        padding-right: 0;
    }

    .col-about-left .module-wrapper {
        border-right: 0;
    }

    .col-about-right .module-wrapper .module-text {
        padding-left: 0;
    }

    .col-about-right .module-wrapper {
        border-left: 0;
        margin-top: 2rem;
    }

    .col-contact-left {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 2rem;
    }

    .col-contact-left:after {
        display: none;
    }
}

a.glink img {
    opacity: 0.5 !important;
    filter: grayscale(50%);
}
.glink {
    margin-right: 1rem;
}
.glink:last-child {
    margin-right: 0;
}
.nav-item-lang {
    padding-top: 4px;
}

a.glink.gt-current-lang  img,
a.glink:hover img {
    opacity: 1 !important;
    filter: grayscale(0%);
}
.nav-item-oferte-vacanta {
    background: #f8e794;
}