@media (max-width: 1800px) {
    .nav_sec {
        padding: 20px;
    }

    .t_link {
        font-size: 1.3em;
    }

}

@media (max-width: 1600px) {
    .izpoTxt {

        padding: 35px 50px;

    }
}


@media (max-width: 1380px) {
    .caption {

        padding: 35px 20px;

    }

    #slideNav {
        left: 20px;
    }

    .izpoTxt {

        padding: 35px 20px;

    }
}

@media (max-width: 1100px) {
    .animH {
        letter-spacing: 5px !important;
    }

    @keyframes growFontSize {
        from {
            font-size: 0;
        }

        to {
            font-size: 20px;
        }
    }

    body::after {
        background-image: none;

    }

    .user_style video {
        margin-left: -20px;
        width: calc(100% + 40px) !important;
        height: unset;
        aspect-ratio: 1/1;
    }

    .ref_full {
        letter-spacing: 10px;
        font-size: 16px;
        line-height: 21px;
        padding: 0 15px;
    }

    .sub-show {

        margin: 90px 0 50px 0;
    }

    .sub-show h1 {
        font-size: 15px;

        font-weight: 300;
        letter-spacing: 7px;

    }

    .izpoSub {
        flex-direction: column;
        margin: 0;
    }

    .izpoSubImg {
        width: 100%;
        height: 300px;
        order: 2;


    }

    .izpoSubImg img {
        width: 100%;
        height: 300px;


    }

    .izpoTxt {
        flex: 1;
        padding: 30px 20px;
        border-bottom: 10px solid #D6433F;
        border-left: none;
        text-align: left;
    }

    .rev .izpoTxt {
        border-right: none;
        text-align: left;
    }

    .izpoTxt h2 {
        font-size: 25px;
        line-height: 30px;

        margin: 0 0 20px 0;

    }

    .izpoTxt span {
        font-size: 20px;
        line-height: 25px;

        margin: 0 0 20px 0;

    }

    .tgl {
        position: fixed;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .logo {
        background: rgba(0, 0, 0, 1);
        backdrop-filter: blur(15px);
        width: 80px !important;
        left: calc(50% - 40px);
    }

    .logo img {
        width: 50px;
        padding: 10px 0;
    }

    .fIcons {
        display: none;
    }

    .xNav {
        display: flex;
        position: fixed;
        bottom: 0;
        z-index: 105;
        width: 100%;
        left: 0;
        border-top: 1px solid #2c2c2c;
        background-color: #000;
    }

    .xNav>a,.xNav span {
        flex: 1;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 0;
        border-left: 1px solid #2c2c2c;
        color: #a8a8a8;
        font-size: 20px;
        text-decoration: none;
    }

    .xNav>a:first-child {
        border-left: none;
    }

    .ik i {
        color: #D6433F;
    }

    body {

        font-size: 14px;
        line-height: 20px;

    }

    .vid-cont {
        height: 550px;
    }

    #myVideo {
        width: 100%;
        height: 550px;
        line-height: 0;
    }

    .captionVideo h2,
    .paralax h2 {
        font-size: 18px;
        margin-bottom: 35px;
    }

    .paralax h2 {
        margin-bottom: 20px;
    }

    .paralax h2::after {
        top: -20px;
    }

    .captionVideo h2 {
        height: 50px !important;
        margin-bottom: 10px;
    }

    .captionVideo h2::after {
        top: -15px;
    }


    .fNav {
        margin-bottom: 50px;
        padding: 15px 0 !important;
        background-color: #292929;
    }

    .start-nav {

        display: none;


    }

    .foot-nav {
        display: flex !important;
        background-color: #fff;

    }

    .foot-nav i {
        color: #D6433F;
    }

    .lanSelect {
        top: 0;
        right: 0px;

    }

    .social {
        position: absolute;
        top: 0;
        left: 0;

    }

    .social a {
        margin: 0 0 0 10px;
    }

    .social i {
        font-size: 14px;
    }

    .flex-nav {
        width: 360px !important;
        margin-top: 120px;
        position: relative;

    }

    .social span {
        width: 30px;
        height: 30px;
    }


    .lanSelect a {

        width: 30px;
        height: 30px;
        border-top: 1px solid #FF924D;
        margin-left: 0;
        margin-right: 10px;
        font-size: 12px;

    }

    .navigation {
        display: none;
    }

    .m-navi {
        display: flex;
        margin: 60px auto;
        width: 100%;
        max-width: 340px;
        padding-bottom: 90px;



    }


    .panelContact {
        display: none;
    }


    .logo_blank {
        margin-top: 0 !important;
        width: 100% !important;
        left: 0 !important;
        z-index: 200 !important;
        text-align: center;
        background-color: #000;
    }


    .subRole {
        display: none;
    }

    .rNav li a {
        text-decoration: none;
        font-size: 16px;

        display: flex;
        width: calc(100% - 60px);
        text-align: left;
        color: #fff;
        padding: 25px 0;


    }

    .rNav li a i {
        width: 20px;
        color: #D6433F;
        margin-right: 5px;
    }

    .panel ul {
        margin: 0;
        padding: 0;

        width: 100%;
    }

    .rNav li {
        margin: 0 0;
        padding: 0;
        display: flex;
        align-items: center;
        padding: 0 0;
        justify-content: space-between;
        flex-wrap: wrap;
        border-bottom: 1px solid #D6433F;
        line-height: 1.2em;
    }

    .rNav li a:hover {
        color: #D6433F;
    }


    .subRole li {
        width: calc(100% - 25px);
        float: right;
        border-bottom: 1px solid #000;

    }

    .subRole li a {
        font-size: 13px !important;
        display: flex;
        padding: 15px 0;
        color: #fff !important;
        align-items: center;
        width: calc(100% - 60px);
    }

    .subRole li p {
        width: calc(100% - 30px);
    }

    .subRole li:last-child {
        border-bottom: none;
    }

    .rNav li :hover a {
        color: #fff !important;
        text-decoration: none
    }

    .rNav a:link,
    .rNav a:visited {
        color: #fff
    }

    .rwdMore {
        width: 50px !important;
        overflow: hidden;
        font-size: 20px;
        cursor: pointer;
        margin-left: auto;
        text-align: right;

        color: #fff;

    }

    .rNav li div:first-child {

        text-align: left;
        height: auto
    }

    .rwdMore img {}

    .subRole {
        height: 0;
        overflow: hidden;
    }

    .shown {
        display: block;
        height: auto;
        margin-bottom: 0;
        flex-basis: 100%;
    }


    #slider {
        width: 100%;

        height: 700px;
    }

    .slide {

        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;

    }

    .caption {
        width: 100%;
        padding: 35px 20px !important;
        height: 400px;
        justify-content: flex-start;

    }

    .slide img {
        width: 100% !important;
        height: 300px;
        object-fit: cover;
    }

    #slideNav {
        position: absolute;
        width: 100%;

        top: 300px;
        left: unset;
        bottom: unset;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .captionTitle h2 {

        font-size: 30px;
        line-height: 1.5em;

    }

    .captionSummary h3 {
        font-size: 20px;
    }

    .btn {
        display: inline-block;
        position: relative;
        text-align: center;
        z-index: 1;
        transition: .3s;

        border: 1px solid #D6433F;
        background-color: #D6433F;

        letter-spacing: 2px;
        font-weight: 500;
        font-style: normal;
        color: #fff;
        padding: 10px 20px;
        text-decoration: none;
        margin-top: 20px;

        transition: .5s all;
        border-radius: 0;
    }

    .paralax {
        height: 450px;
        background-size: 200%;

    }


    .user_style h1 {
        font-size: 25px;
        line-height: 30px;
        margin: 0 0 20px 0;
    }

    .user_style h2 {
        font-size: 20px;
        line-height: 25px;
        margin: 20px 0 10px 0;
    }

    .contentRead h2:first-child {
        font-size: 25px;
        line-height: 30px;
        margin: 0 0 20px 0;
    }

    .user_style h3 {
        font-size: 20px;
        line-height: 25px;
        color: #D6433F;
        margin: 20px 0 15px 0;
    }

    .user_style h4 {
        font-size: 20px;
        line-height: 25px;
        color: #FF924D;
        margin: 20px 0 15px 0;
    }

    blockquote {
        font-size: 20px;
        line-height: 25px;
        color: #FF924D;
        margin: 25px 0;
    }

    .lst {
        margin-bottom: 35px;
    }

    .reference {

        padding: 35px 20px;


    }


    .pop_item {

        font-size: 16px;
        line-height: 20px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
    }

    .reference span {
        width: 25px;
        height: 25px;

        letter-spacing: 1px;
        font-size: 13px;
        padding: 10px;

    }



}

@media (max-width: 980px) {


.carouselBtn {
   
    width: 25px;
    height: 25px;
    font-size: 15px;
    background-color:#000 !important;
    color: #FF924D !important;
}

    .display-left {
        left: 0;
    }

    .display-right {
        right: 0;
    }

    .contact_table td {
        display: block;
        margin: 10px 0;
    }

    .extra {
        margin: 0 0;
        grid-template-columns: repeat(1, 1fr);
        gap: 60px;

    }

    .zapisi-list {

        grid-template-columns: repeat(1, 1fr);
        gap: 20px;

    }

    .zapis_item_info h2 {
        font-size: 20px;
        line-height: 26px;

    }


    .extra .extraItem:last-child {
        margin-bottom: 0;
    }

    .extraImg {

        height: 300px;
    }

    .extraImg img {

        height: 300px;
    }

    .extraCont {
        padding: 0 20px;
    }

    .counters {


        padding: 20px 0;

    }

    .izpo25 {
        flex-basis: 50%;

        margin: 15px 0;
    }

    .no {
        font-size: 30px;
    }

    .fig-number {
        font-size: 30px;

        line-height: 40px;

    }

    .izpo25 hr {

        margin-top: 10px;
    }

    .izpo25 small {
        margin-top: 0;
        font-size: 13px;
    }

    .dodatni_item {
        flex-basis: 100%;
        width: 100%;
        padding: 25px 20px;
        border-bottom: 1px solid #292929;
    }



    .subCats a {
        flex-basis: 50%;
        padding: 20px 20px;
    }

    .subCats h2 {

        font-size: 14px;

    }

    .sub_icon {
        width: 40px;
        height: 40px;

    }

    .sub_icon i {
        font-size: 12px;
    }


    .item_icon {
        width: 40px;
        height: 40px;


    }

    .ei {
        font-size: 12px;


    }

    .fNav {
        width: 100%;
        text-align: center;
        padding: 10px;
    }


    .prijava_place {
        display: grid;
        grid-template-columns: 1fr;
        background-color: #D6433F;


    }

    .prijava_info h4 {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 20px;
        font-weight: 300;
        color: #fff;
    }

    .p_img {
        order: 1;
        padding: 150px 20px 20px 20px;
        font-size: 2em;
    }

    .form-place {
        order: 2;
    }

    .p_img h5 {
        font-size: 20px;
        line-height: 25px;
    }

    .p_img a {

        font-size: 16px;


    }

}

@media (max-width: 780px) {

    .carousel {
        margin-left: -20px !important;
        width: calc(100% + 40px) !important;
    }


    .vid-cont {
        height: 400px;
        margin-bottom: 50px;
    }

    #myVideo {
        width: 100%;
        height: 400px;
        line-height: 0;
    }

}

@media (max-width: 480px) {
    #fKontakt>div {
        width: 100%;
    }

    .cta {
        width: 100%;


    }

    .carouselImg {

        aspect-ratio: 1/1;


    }

    .show {

        aspect-ratio: 1/1;


    }

}