
.carousel-inner-with-motion {
    max-width: var(--max-screen-width);
    height: var(--carousel-height);
    overflow: hidden;
}

.carousel-item-motion-l_to_r {
    width: calc(100% + 3em);
    height: var(--carousel-height);
    object-fit: cover;
    animation: scroll-right 14s;
}

.carousel-item-motion-b_to_t {
    width: var(--screen-width);
    height: calc(var(--carousel-height) + 3em);
    object-fit: cover;
    animation: scroll-up 14s;
    margin-top: -3em;
}

.carousel-item-motion-t_to_b {
    width: var(--screen-width);
    height: calc(var(--carousel-height) + 3em);
    object-fit: cover;
    animation: scroll-down 14s;
    object-position: bottom;
}

.carousel-item-images {
    width: var(--screen-width);
    max-width: var(--max-screen-width);
    height: var(--carousel-height);
    object-fit: cover;
}

.carousel-indicators {
    z-index: var(--z-index-fifth-priority);
}

.carousel-control-prev, .carousel-control-next {
    z-index: var(--z-index-fourth-priority);
}

#carouselSection {
    margin-bottom: 130px;
    margin-top: 60px;
}

.header__content {
    background: var(--main-color);
    height: var(--header-height);
    width: var(--screen-width);
    max-width: var(--max-screen-width);
    z-index: var(--z-index-second-priority);
    text-transform: uppercase;
}

.header-usps__svg:hover {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
}

.header-usps__svg {
    width: 35px;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.navigation-items {
    padding: 30px 40px;
}

.navigation-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .81px;
    line-height: 10px;
    text-transform: uppercase;
    color: var(--main-color);
    cursor: pointer;
}

.navigation-title:hover {
    color: #4e555b;
}

.navigation-items:hover {
    border-bottom-style: inset;
}

.navbar-menu {
    width: var(--screen-width);
    max-width: var(--max-screen-width);
    height: 60px;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: block;
    vertical-align: middle;
    horiz-align: center;
    text-align: -webkit-center;
    text-align: center;
    text-align: -moz-center;
    background: white;
    z-index: var(--z-index-first-priority);
    -webkit-box-shadow: 0 10px 15px -6px rgba(0, 0, 0, .25);
    box-shadow: 0 10px 15px -6px rgba(0, 0, 0, .25);
}

.shadow {
    -webkit-box-shadow: 0 10px 15px -6px rgba(0, 0, 0, .25) !important;
    box-shadow: 0 10px 15px -6px rgba(0, 0, 0, .25) !important;
}

.navbar-logo {
    text-align: -webkit-center;
    text-align: center;
    text-align: -moz-center;
}

.navbar-brand {
    background-image: url("../resources/img/logo/logo_beli_stolarija_800.png");
    background-size: 320px;
    background-position: center center;
    background-repeat: no-repeat;
    width: 320px;
    cursor: pointer;
    height: 80px;
    z-index: var(--z-index-next-to-last-priority);
}

.header-navigation-menu {
    display: block;
    pointer-events: none;
    left: 0;
}

.header-contact {
    text-align: right;
    text-align: -moz-right;
    padding-right: 20px;
    display: flex;
    right: 10px;
    position: absolute;
    width: 220px;
    top: 20px;
    place-content: space-between;
    pointer-events: all;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    -ms-flex: content;
    -ms-flex: auto;
    -ms-flex: min-content;
    flex-grow: 1;
}

.header-item {
    color: white;
    margin-right: 2%;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-weight: 700;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: -webkit-center;
    text-align: center;
    text-align: -moz-center;
    display: -ms-inline-flexbox;
    display: inline-flex;
    font-size: .9rem;
}

.header-usps_text {
    color: white;
}

/*      Dropdown menu       */

menu, menu label {
    position: absolute;
    top: 0;
    right: 0;
}

menu {
    margin: 0;
    visibility: hidden;
    z-index: var(--z-index-first-priority);
}

menu input[type=checkbox] {
    display: none;
}

menu input[type=checkbox]:checked + .drawer-list {
    transform: translatex(0);
    border-bottom-left-radius: 0;
}

menu input[type=checkbox]:checked + .drawer-list li {
    transform: translatex(0);
}

menu input[type=checkbox]:checked + .drawer-list li:nth-child(1) {
    transition: transform 0.5s 0.02s ease;
}

menu input[type=checkbox]:checked + .drawer-list li:nth-child(2) {
    transition: transform 0.5s 0.04s ease;
}

menu input[type=checkbox]:checked + .drawer-list li:nth-child(3) {
    transition: transform 0.5s 0.06s ease;
}

menu input[type=checkbox]:checked + .drawer-list li:nth-child(4) {
    transition: transform 0.5s 0.08s ease;
}

menu input[type=checkbox]:checked + .drawer-list li:nth-child(5) {
    transition: transform 0.5s 0.1s ease;
}

menu input[type=checkbox]:checked + .drawer-list li:nth-child(6) {
    transition: transform 0.5s 0.12s ease;
}

menu input[type=checkbox]:checked ~ hamburger > i {
    background-color: transparent;
    transform: rotate(90deg);
}

menu input[type=checkbox]:checked ~ hamburger > i:before {
    transform: translate(-50%, -50%) rotate(315deg);
}

menu input[type=checkbox]:checked ~ hamburger > i:after {
    transform: translate(-50%, -50%) rotate(-315deg);
}

menu input[type=checkbox]:checked ~ hamburger close {
    color: #FEFEFE;
    width: 100%;
}

menu .drawer-list {
    position: fixed;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    right: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    transform: translate(100vw, 0);
    -ms-transform: translatex(-100vw); /* ie workaround */
    box-sizing: border-box;
    pointer-events: none;
    padding-top: 125px;
    transition: width 475ms ease-out, transform 450ms ease, border-radius .8s .1s ease;
    border-bottom-left-radius: 100vw;
    background-color: rgba(30, 48, 84, 0.8);
}

menu input[type=checkbox]:checked ~ hamburger open {
    color: transparent;
    width: 0;
}

menu .drawer-list ul {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 30px 0 0;
    overflow: auto;
    overflow-x: hidden;
    pointer-events: auto;
}

menu .drawer-list li {
    list-style: none;
    text-transform: uppercase;
    pointer-events: auto;
    white-space: nowrap;
    box-sizing: border-box;
    transform: translatex(100vw);
    -ms-transform: translatex(-100vw); /* ie workaround */
}

menu .drawer-list li:last-child {
    margin-bottom: 2em;
}

menu .drawer-list li a, .dropdown-list-nonlink {
    text-decoration: none;
    color: #FEFEFE;
    text-align: -webkit-center;
    text-align: center;
    text-align: -moz-center;
    display: block;
    padding: .5rem;
    font-size: 13px;
    font-weight: 500;
}

.submenu-links {
    display: inline-flex;
    width: 100%;
    position: relative;
    justify-content: center;
}

menu .drawer-list li a:hover, .submenu-links:hover {
    cursor: pointer;
    background-color: rgba(173, 181, 189, 0.5);
}

.dropdown > li:hover > ul {
    display: contents;
}

.dropdown > li:hover > ul > li {
    animation: flyIn .5s;
}

.submenu-links > a:hover {
    background-color: unset !important;
}

menu hamburger {
    position: absolute;
    display: block;
    top: 15px;
    right: 180px;
    height: 40px;
    width: 40px;
}

menu hamburger:hover {
    cursor: pointer;
}

menu hamburger > i {
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    background-color: #FEFEFE;
    pointer-events: auto;
    transition-duration: .35s;
    transition-delay: .35s;
}

menu hamburger > i:before, menu hamburger > i:after {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    left: 50%;
    background: #FEFEFE;
    content: "";
    transition: transform 0.35s;
    transform-origin: 50% 50%;
}

menu hamburger > i:before {
    transform: translate(-50%, -14px);
}

menu hamburger > i:after {
    transform: translate(-50%, 14px);
}

.dropdown-content {
    border: 1px solid #ddd;
    display: none;
    margin-top: 6px;
    margin-left: -40px;
    width: 280px;
    position: absolute;
    background-color: white;
    min-width: 160px;
    z-index: 1;
    -webkit-box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, .2);
    box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, .2);
}

.dropdown-content:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 10px;
    left: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 6px solid;
    border-color: #fff #fff transparent transparent;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-box-shadow: 2px -2px 3px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px -2px 3px 0 rgba(0, 0, 0, 0.1);
}

#dropdown-menu:hover .dropdown-content,#dropdown-menu-radovi:hover .dropdown-content,#dropdown-menu-vrata:hover .dropdown-content {
    animation: fadeIn .7s;
    -webkit-animation: fadeIn .7s;
    display: block;
}

.description-square {
    position: absolute;
    width: 320px;
    height: 360px;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 9;
    bottom: -100px;
    right: 5%;
}

.inner-square {
    margin: 20px 20px 20px 20px;
    background-color: rgba(255, 255, 255, 0.8);
}

.description-text {
    padding: 15px 20px 20px 20px;
    text-align: -webkit-center;
    text-align: center;
    text-align: -moz-center;
}

.footer-content {
    background: var(--main-color);
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-image {
    background-image: url("../resources/img/logo/logo_beli_400.png");
    background-size: 150px;
    width: 150px;
    height: 100px;
    background-repeat: no-repeat;
    margin-left: 20px;
}

.footer-text {
    margin: auto calc((100vw - 435px) / 2) auto auto;
}

.footer-container {
    margin-left: auto;
    margin-right: auto;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: var(--z-index-second-priority);
    border: none;
    outline: none;
    background-image: url("../resources/img/icons/back-to-top.jpg");
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    padding: 15px;
    opacity: .3;
    width: 50px;
    height: 50px;
}

#myBtn:hover {
    opacity: .9;
}

@media (min-width:450px) {

    .navigation-title {
        font-size: 12px;
        line-height: 12px;
        letter-spacing: .97px;
        border-bottom: 2px solid #fff;
        padding-bottom: 8px;
    }

    .navigation-items {
        display: inline-block;
        padding: 0 10px;
    }

    .header-navigation-menu {
        display: inline-block;
        pointer-events: all;
        padding-top: 20px;
    }

    .navigation-list span a, .navigation-list span a:active, .navigation-list span a:hover {
        text-decoration: none;
    }

}

@media (min-width:875px) {
    .navigation-items {
        display: inline-block;
        padding: 0 12px;
    }
}

@media (min-width:1230px) {
    .navigation-items {
        padding: 0 15px;
    }

}

@media (min-width:1680px) {
    .navigation-items {
        padding: 0 20px;
    }

    .navigation-title {
        font-size: 14px;
        line-height: 14px;
        letter-spacing: 1.13px;
    }

    body {
        font-size: 15px;
    }
}

/*@media (min-width:1800px) {*/

/*    body {*/
/*        !*font-weight: 300;*!*/
/*        font-size: 15px;*/
/*    }*/
/*}*/

@media (max-width:1000px) {

    .description-square {
        width: 430px;
        height: 230px;
        right: 2%;
    }

    .inner-square {
        margin: 20px 20px 20px 20px;
    }

    .description-text {
        padding: 15px 10px 10px 10px;
    }

}

@media (max-width:830px) {

    menu {
        visibility: visible;
    }

    menu hamburger {
        right: 30px;
    }

    .header__content {
        height: 70px;
    }

    .navigation-items {
        border-bottom: 1px solid #f0f1f1;
    }

    .navbar-logo {
        padding: 0 0 0 0;
        margin-left: 10px;
        width: 250px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        height: 70px;
    }

    .navbar-brand {
        height: 70px;
        background-size: 250px;
        width: 250px;
    }

    .header-contact {
        top: 10px;
        right: 70px;
    }

    .header-item {
        position: absolute;
        opacity: 0;
    }

    .header-item-home-page {
        right: 10px;
        -webkit-animation: usp-scroll 9s infinite;
        animation: usp-scroll 9s infinite;
    }

    .header-item-about {
        right: 13px;
        -webkit-animation: usp-scroll 9s infinite;
        animation: usp-scroll 9s infinite;
        -webkit-animation-delay: -3s;
        animation-delay: -3s;
    }

    .header-item-contact {
        right: 10px;
        -webkit-animation: usp-scroll 9s infinite;
        animation: usp-scroll 9s infinite;
        -webkit-animation-delay: -6s;
        animation-delay: -6s;
    }

    .navbar-menu {
        visibility: hidden;
    }

    #carouselExampleIndicators {
        padding-top: 0;
    }

    .description-square {
        top: 0;
        position: relative;
        width: 80%;
        margin-left: 10%;
        height: fit-content;
    }

    .carousel-indicators {
        top: calc(var(--carousel-height) - 30px);
    }

    .carousel-control-next, .carousel-control-prev {
        height: var(--carousel-height);
    }

    .footer-text {
        margin: 25px auto 25px auto;
    }

    .footer-image {
        display: none;
    }

    #carouselSection {
        margin-top: 0;
        margin-bottom: 50px;
    }

}

@media (max-width:600px) {

    .description-square {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

}

@media (max-width:450px) {

    .navbar-logo {
        padding: 0 0 0 0;
        margin-left: 10px;
        width: 100px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        height: 70px;
    }

    .navbar-brand {
        height: 70px;
        background-image: url("../resources/img/logo/logo_beli_400.png");
        background-size: 100px;
        background-position: left;
    }

}

.flyIn-rl {
    animation: flyIn .55s ease-in;
}

.flyIn-lr {
    animation: flyIn-lr .55s ease-in;
}

.flyIn-tb {
    animation: flyIn-Y .55s ease-in;
}

.ltr-motion {
    animation: scroll-right 14s;
}

.ttb-motion {
    animation: scroll-down 14s;
}

.btt-motion {
    animation: scroll-up 14s;
}

.opacity {
    opacity: 0;
}

.disappear {
    display: none;
}

@-webkit-keyframes usp-scroll {
    0%, 45%, 100% {
        opacity: 0;
    }
    5%, 42% {
        opacity: 0;
    }
    15%, 33% {
        opacity: 1;
        z-index: var(--z-index-third-priority);
    }
}

@keyframes usp-scroll {
    0%, 45%, 100% {
        opacity: 0;
    }
    5%, 42% {
        opacity: 0;
    }
    15%, 33% {
        opacity: 1;
        z-index: var(--z-index-third-priority);
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

@-webkit-keyframes flyIn {
    from {
        opacity: 0;
        transform: translateX(3em);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyIn {
    from {
        opacity: 0;
        transform: translateX(3em);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@-webkit-keyframes flyIn-Y {
    from {
        opacity: 0;
        transform: translate3d(-8em, -8em, -8em);

    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes flyIn-Y {
    from {
        opacity: 0;
        transform: translate3d(-8em, -8em, -8em);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes flyIn-lr {
    from {
        opacity: 0;
        transform: translateX(-3em);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flyIn-lr {
    from {
        opacity: 0;
        transform: translateX(-3em);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@-webkit-keyframes scroll-down {
    from {
        transform: translateY(-3em);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes scroll-down {
    from {
        transform: translateY(-3em);
    }
    to {
        transform: translateY(0);
    }
}

@-webkit-keyframes scroll-up {
    from {
        transform: translateY(3em);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes scroll-up {
    from {
        transform: translateY(3em);
    }
    to {
        transform: translateY(0);
    }
}

@-webkit-keyframes scroll-right {
    from {
        transform: translateX(-3em);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(-3em);
    }
    to {
        transform: translateX(0);
    }
}

@-webkit-keyframes scroll-left {
    from {
        transform: translateX(3em);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes scroll-left {
    from {
        transform: translateX(3em);
    }
    to {
        transform: translateX(0);
    }
}

iframe[seamless] {
    border: none;
}

.carousel-margin {
    margin-top: 70px !important;
}