@media (max-width:1350px) {
    .p_items {
        padding: 50px 20px 0 20px;
        font-size: 14px;
        flex-wrap: wrap;
    }
}

@media (max-width:1280px) {
    .start-nav {
        display: block;
        position: absolute;
        right: 15px;
    }

    .grid-list {

        gap: 20px;

    }

    .main-navi {
        display: none;
    }

    .head_icon {
        width: 35px;
        height: 35px;

    }

    header {
        padding: 20px 0;
    }


    .user_container {}

    .lan {
        margin-left: auto;
    }

    .mt80 {
        margin-top: 90px;
    }

    .start-nav {
        width: 30px;
        height: 30px;
        text-align: center;
        cursor: pointer;
        line-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 15px;
        font-size: 30px;
        color: #fff;

    }

    .responsive-nav img {
        font-size: 25px;
        color: #fff;
    }

    .panel {

        z-index: 19000;
        position: fixed;
        overflow-y: scroll;
        overflow-x: hidden;
        width: 250px;
        top: 70px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        -moz-backdrop-filter: blur(15px);
        background: rgba(100, 218, 181,.5);

        height: auto;
        padding-bottom: 30px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        right: -100%;
        transition: all .2s ease;
        -webkit-transition: all .2s ease;
        -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
        -o-transition: all .2s ease
    }

    #slider {
    width: 100%;
    height:650px;
    overflow: hidden;
    position: relative;

}

.slide {
   
   height:650px;
   
}


    .sFlex {
        display: flex;
        align-items: center;
        justify-content: center
    }

    .search-close {
        height: 15px;
        cursor: pointer;
        margin-left: 40px
    }
.paralax_cont{
    padding: 50px 20px;
}

    .panelVis {
        right: 0;
        transition: .5s ease;
        -webkit-transition: .8s ease;
        -moz-transition: .8s ease;
        -ms-transition: .8s ease;
        -o-transition: .8s ease;
        overflow-y: scroll;
        overflow-x: hidden
    }

    .flex-nav {
        display: flex;
        color: #000;
        flex-direction: column;
        margin-top: 15px;
        flex-wrap: wrap;
        width: 200px;

    }

    .flex-nav>div {
        width: 100%;
    }

    .p2 {
        margin-bottom: 35px;
    }

    .closeP {
        height: 40px;
        cursor: pointer;
        margin-top: 10px
    }

    .m-navi {
        order: 1;
        width: 340px;
    }

    .mid-navi {
        margin: 0 0;
        line-height: 1.9em;
        height: auto;
        font-size: .9em;
        font-weight: 500;
        padding-top: 15px;
        order: 2
    }


.mWave{
margin-top:-20px;
}
    .panel ul {
        display: flex;
        margin: 0 !important;
        padding: 0;
        width: 100% !important;
        flex-direction: column;


    }


    .rNav li {
        margin: 0 0;
        padding: 0;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #000;
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;

    }

    .rNav li a {
        color: #000;
        text-decoration: none;
        font-weight: 500;
        display: flex;
        width: 100% !important;
        padding: 15px 0;
        text-align: left;

    }


    .infoIcon {
        display: flex;
        align-items: center;
        font-size: 16px;
        font-weight: 500;
        margin-right: 0;

        margin-bottom: 10px;
    }

    .infoIcon span {
        background-color: #000;
        width: 35px;
        height: 35px;
        line-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: auto;
        margin-right: 10px;
        border-radius: 5px;
        color: #58382D !important;

    }

    .infoIcon span a {
        color: #58382D !important;
    }

    .infoIcon>div a {
        color: #000 !important;
    }

    .infoIcon h5 {
        font-weight: 400;
        font-size: 14px;
        margin: 0 0 0 0;
        color: #000 !important;
        text-align: left;
        padding: 0;
        line-height: 14px;
    }

    .logo img {
        height: 30px;
    }

    .infoIcon img {
        width: 15px;
    }

    .mainRole {}

    .mainRole img {
        height: 15px;
        margin-right: 10px;
        margin-top: 5px !important;
    }

    .subRole li {
        border-bottom: 1px solid #ddd;
    }

    .subRole li a {
        font-size: .9em !important;
        font-weight: 400
    }

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




    .rwdMore {
        width: 40px !important;
        overflow: hidden;

        cursor: pointer;
        margin-left: auto;
        text-align: right;

        color: #fff;

    }


    .subRole {
        height: 0;
        overflow: hidden
    }

    .shown {
        height: auto;
        margin-bottom: 1.2em
    }

    .subRole a {
        font-weight: 300;
        padding-left: 10px;
        font-size: 1em !important;
        color: #fff !important
    }

    .finRole a {
        font-weight: 300;
        padding-left: 20px
    }

    .extra_item {
        width: 100%;
        padding: 80px 0%;

    }

    .quaters {
        padding: 0 0 45px 0;
    }

    .izpoSub {

        margin-bottom: -60px;

    }

}

@media (max-width:1100px) {
    .grid-list {

        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width:980px) {

    .prijava_place {

        grid-template-columns: 1fr;

    }

    .extra_item {
        flex-direction: column;
        padding: 0;
        display: block;
    }

    .p_items {
        align-items: flex-start;
        justify-content: space-between;
    }

    .p_item {
        flex-basis: 31%;
        margin-bottom: 15px;
        text-align: center;

        line-height: 18px;

    }

    .extra_img {
        flex-basis: 100%;
        height: 350px !important;
        width: 100%;
        position: relative;
    }

    .extra_txt {
        flex-basis: 100%;
        padding: 45px 20px;

    }

    .rev .extra_img {
        order: 1;
    }

    .rev .extra_txt {
        order: 2;

    }

    .extra_img img {
        position: absolute;
        width: 100vw !important;
        height: 350px !important;
        max-height: 350px;
        object-fit: cover !important;
    }
}

@media (max-width:860px) {
    footer .marg {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .logo_foot {
        margin: 10px 0;
    }

}

@media (max-width:680px) {
    .p_img {

        padding: 80px 20px;

    }

    .quaters {

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

    }
}

@media (max-width:650px) {

    .book {
        width: 90%;
    }

    .hf {
        grid-template-columns: repeat(2, 1fr);

    }

    .step-1 {
        position: absolute;
        display: inline-block;
        background-color: transparent;
        color: #f8f5f2;
        border: none;
        border: 1px solid #f8f5f2 !important;
        cursor: pointer;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1em;
        padding: 0 15px;
        font-weight: 400 !important;
        margin-top: 28px;
        width: 90%;
        right: unset;
        bottom: 0;
        background-color: #33201a;
        border-bottom: none !important;
    }

    .book-hid {
        max-height: 0;
        opacity: 0;


    }

    .book-vis {
        max-height: 550px;
        opacity: 1;
        padding: 10px 0;
    }

    .book {
        padding: 0 30px;
    }
    .p_item{
       flex-basis: 50%;
    }
}
@media (max-width:450px) {
.grid-list {
    
    grid-template-columns: repeat(1, 1fr);
    
}
}
/* =========================================================================
   PREVLADA: nov mobilni meni (premaga stari blok @media max-width:1280px zgoraj).
   Ena resnica za glavo/meni; media.css je zadnji naložen stylesheet.
   ========================================================================= */
@media (max-width: 1280px) {
	.head-nav { display: none !important; }
	.main-navi { display: none; }

	.burger {
		display: block; width: 40px; height: 40px; padding: 0;
		position: relative; right: auto; margin-left: 4px;
		background: none; border: 0; font-size: 0; color: transparent; cursor: pointer;
	}
	.head_icon { display: none; }
	/* hamburger malo proč od roba */
	.head-actions { margin-right: 6px; }

	/* glava: konstantna višina na mobile (brez razteza ob scrollu) + 100% (brez 100vw overflowa) */
	header { width: 100%; padding: 12px 0; }
	header.head-low, body:not(.is-landing) header.head-low { padding: 12px 0; }
	.logo img,
	body:not(.is-landing) .logo img,
	.head-low .logo img,
	body:not(.is-landing) header.head-low .logo img { height: 30px; }

	/* book ikona ob hamburgerju (mobile) */
	.head-actions { display: flex; align-items: center; gap: 10px; }
	.head-book { display: inline-flex; width: 42px; height: 42px; font-size: 17px; }

	/* panel se pripelje POD header (ne čez logo) */
	.panel {
		position: fixed; top: 64px; right: 0; bottom: 0; left: auto;
		width: min(92vw, 420px); height: auto;
		background: linear-gradient(165deg, #15A89A 0%, #0e3f3a 100%);
		-webkit-backdrop-filter: none; backdrop-filter: none;
		z-index: 99990;
		transform: translateX(100%);
		transition: transform .35s ease;
		box-shadow: -14px 0 44px rgba(0, 0, 0, .35);
		display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
		padding: 30px 34px 34px;
		overflow-y: auto; overflow-x: hidden;
	}
	.panel.panelVis, .panelVis { transform: translateX(0); right: 0; }
	.menu-ovl { z-index: 99980; }

	.flex-nav { display: flex; flex-direction: column; width: auto; color: #fff; margin-top: 0; flex: 1; }
	.flex-nav > div { width: 100%; }

	.panel .rNav, .panel ul.rNav { display: flex; flex-direction: column; width: 100% !important; margin: 0 !important; padding: 0; }
	.panel .rNav li { margin: 0; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); justify-content: flex-start; }
	.panel .rNav li::before { content: none; }
	.panel .rNav li div { width: 100%; }
	.panel .rNav li a, .panel .rNav li div a {
		color: #fff !important; width: 100% !important; padding: 16px 0; text-align: left;
		font-family: 'Marcellus', 'Fira Sans', serif; font-size: 19px; letter-spacing: 1.5px;
		text-transform: uppercase; text-decoration: none; font-weight: 400;
	}
	.panel .rNav li:hover a { color: #fff !important; }

	.panel-lang { display: flex; gap: 12px; margin: 26px 0; }
	.panel-lang .lan { margin: 0; gap: 8px; }
	.panel-lang .lan a { font-size: 16px; padding: 9px 18px; border: 1px solid rgba(255, 255, 255, .45); opacity: .85; border-radius: 22px; }
	.panel-lang .lan a.lan-act { background: #fff; color: #15A89A; border-color: #fff; opacity: 1; }

	.logo img { height: 40px; }
}
@media (max-width: 520px) {
	.logo img { height: 34px; }
	.panel { padding: 92px 26px 28px; }
}
/* glava ostane nad panelom -> burger se animira v X na svojem mestu (poravnan z logom) */
.menu-open header { z-index: 100001 !important; }
