@media (max-width:1100px) {
    main {
        margin-top: 70px
    }
    .catalog_list {
        grid-template-columns: repeat(3, 1fr)
    }
    .p_item_intro {
        grid-area: 1/3/3/3;
        background-color: #b78086
    }
    .catalog_item {
        height: 400px
    }
    .breaker {
        margin: 40px 0 40px 0!important;
        font-size: 1.8em
    }
    .logo img {
        width: 119px;
        height: 35px
    }
    .main-navi,
    .rHide {
        display: none
    }
    .login {
        margin-left: auto
    }
    .p0 {
        padding: 0
    }
    .prime-foot {
        display: none
    }
    .end-navi {
        margin-top: 0
    }
    .hd {
        display: none
    }
    .info-card {
        margin-right: 20px
    }
    .info-card>div img {
        height: 20px
    }
    .responsive-nav {
        width: 30px;
        height: 30px;
        text-align: center;
        cursor: pointer;
        line-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 25px
    }
    .responsive-nav img {
        height: 25px;
        width: 25px
    }
    .panel {
        background-color: #b78086;
        z-index: 200000;
        position: fixed;
        overflow-y: scroll;
        overflow-x: hidden;
        width: 100%;
        top: 70px;
        border-top: 1px solid #fff;
        min-height: 100vh;
        height: 100vh;
        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
    }
    .full-btn {
        width: 100%;
        text-align: center
    }
    .sFlex {
        display: flex;
        align-items: center;
        justify-content: center
    }
    .search-close {
        height: 15px;
        cursor: pointer;
        margin-left: 40px
    }
    .lanSelect {
        margin: 0 0 20px 0;
        line-height: 0;
        width: auto;
        height: auto;
        position: relative;
        cursor: pointer;
        display: flex;
        justify-content: flex-start;
        align-items: center
    }
    .lanSelect img {
        height: 20px;
        margin: 0 10px 0 0
    }
    .panelVis {
        right: 0;
        transition: .2s ease;
        -webkit-transition: .2s ease;
        -moz-transition: .2s ease;
        -ms-transition: .2s ease;
        -o-transition: .2s ease;
        overflow-y: scroll;
        overflow-x: hidden
    }
    .flex-nav {
        display: flex;
        color: #fff;
        justify-content: space-between;
        width: 340px;
        align-items: baseline;
        margin-top: 3em;
        flex-wrap: wrap
    }
    .closeP {
        height: 40px;
        cursor: pointer;
        margin-top: 10px
    }
    .m-navi {
        order: 2
    }
    .mid-navi {
        margin: 0 0;
        line-height: 1.9em;
        height: auto;
        font-size: .9em;
        font-weight: 500;
        padding-top: 15px;
        order: 1
    }
    .c2 {
        width: 100%;
        line-height: 0;
        display: flex;
        margin: 20px 0
    }
    .c2 a {
        width: 35px;
        height: 35px;
        border: 1px solid #fff;
        background-color: white;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 8px 0 0
    }
    .frNavi {
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
        font-size: 1em
    }
    .panel-contact>a {
        display: flex;
        align-items: center
    }
    .panel-contact img {
        height: 15px;
        margin-right: 10px
    }
    .c2 img {
        width: 15px;
        margin: 0
    }
    .mid-navi a {
        text-decoration: none;
        color: #fff;
        text-align: center
    }
    .panel-fav {
        display: flex;
        align-items: center;
        text-decoration: none;
        font-size: 1.2em;
        font-weight: 500;
        margin-top: 20px
    }
    .panel-fav img {
        height: 15px;
        margin-right: 8px
    }
    .mid-navi a:hover {
        color: #ddd!important
    }
    .end-navi {
        font-size: .9em
    }
    .end-navi a {
        color: #fff!important
    }
    .panel ul {
        margin: 0!important;
        padding: 0;
        width: auto;
        width: auto
    }
    .panel li {
        margin: 0 0;
        padding: 0;
        display: flex;
        align-items: flex-start
    }
    .panel li a {
        color: #ddd;
        text-decoration: none;
        display: inline-block;
        font-size: 1.2em;
        font-weight: 700;
        height: 40px;
        text-align: center
    }
    .subRole li a {
        height: 40px;
        font-weight: 400
    }
    .panel li :hover a {
        color: #fff!important;
        text-decoration: none
    }
    .panel a:link,
    .panel a:visited {
        color: #fff
    }
    .rwdMore {
        flex: 1;
        cursor: pointer
    }
    .panel li div:first-child {
        flex: 4;
        text-align: left;
        height: auto
    }
    .rwdMore img {
        height: 13px!important;
        margin-top: 5px
    }
    .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
    }
}

@media (max-width:1000px) {
    .quaters {
        padding: 40px 20px 20px 20px
    }
    .quater {
        flex-basis: 50%;
        margin-bottom: 20px
    }
    .quater p {
        padding-right: 15px
    }
    .quater img {
        width: 25px;
        margin-right: 15px
    }
    .quater h4 {
        font-size: 16px
    }
    .fIcon {
        display: flex;
        align-items: center;
        font-size: 20px;
        font-weight: 700;
        margin-left: 0;
        flex-basis: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }
}

@media (max-width:850px) {
    .subCats {
        grid-template-columns: 1fr 1fr
    }
    .subCat {
        height: 300px
    }
    .subCat h2 {
        display: inline-block;
        padding: 10px;
        font-size: 16px
    }
    .user_style h2 {
        font-size: 1.4em
    }
    .blog-list {
        grid-template-columns: repeat(2, 1fr)
    }
    .blog_item h3 {
        font-size: 1.2em
    }
    .catalog_details_image {
        flex-basis: 100%
    }
    .catalog_details_image img {
        max-width: 100%;
        max-height: 100%
    }
    .catalog_details_description {
        margin-left: 0;
        flex: 1;
        flex-basis: 100%;
        padding: 15px
    }
    h1 {
        font-size: 1.8em
    }
    .catalog_details_description h1 {
        font-size: 1.8em;
        font-weight: 500
    }
    .izpostava_content {
        flex-basis: 100%
    }
    .izpostava_content_inner {
        padding: 25px 15px
    }
    .izpostava_image {
        flex-basis: 100%;
        height: 250px;
        min-height: auto;
        order: 2
    }
    .reverse .izpostava_content {
        order: 1
    }
    .provider_item {
        flex-basis: 50%
    }
    .userGgallery {
        grid-template-columns: repeat(2, 1fr)
    }
    .userGgallery img {
        width: 100%;
        height: 200px;
        object-fit: cover
    }
    .pGal {
        grid-template-columns: repeat(4, 1fr)
    }
    .pGal img {
        height: 120px
    }
    blockquote {
        font-size: 1.1em;
        line-height: 1.1em;
        padding: 20px 0 20px 0;
        margin: 20px 0 20px 0
    }
    blockquote p {
        width: 90%;
        margin-left: 5%
    }
    .blog_read {
        line-height: 1.5em;
        text-align: left
    }
    .altContent {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px
    }
    .altImg {
        order: 0;
        max-width: 100%
    }
    .altImg a {
        flex: 100%
    }
    .altImg img {
        min-width: 100%;
        max-width: 100%
    }
    .reverse .altTxt {
        order: 1
    }
    .txt_cont {
        width: 100%;
        padding-right: 0;
        padding-left: 0
    }
    .reverse .txt_cont {
        text-align: left;
        padding-left: 0;
        padding-right: 0
    }
    .altTxt h2 {
        line-height: 1em
    }
}

@media (max-width:680px) {
    .index-img {
        height: 500px
    }
    .catalog_list {
        grid-template-columns: repeat(2, 1fr)
    }
    .catalog_item_info {
        position: absolute;
        bottom: 20px;
        background: rgba(255, 255, 255, .9);
        width: 90%;
        padding: 15px 10px
    }
    .fr5 {
        grid-template-columns: repeat(2, 1fr)
    }
    .p_item_intro {
        grid-area: 2/1/2/3
    }
    .catalog_item {
        height: 350px
    }
    .catalog_item h2 {
        font-size: 18px;
        margin-bottom: 10px;
        font-weight: 500
    }
    .izpostave {
        grid-template-columns: 1fr
    }
    .izpostava {
        width: 100%;
        height: 200px
    }
    .izpostava h1 {
        color: #fff;
        font-weight: 500;
        font-size: 1.5em;
        margin: 0;
        text-align: center
    }
    .eNovice {
        padding: 20px
    }
    .eNovice h4 {
        font-size: 20px;
        font-weight: 400;
        margin: 0 0 15px 0;
        padding: 0
    }
    .news_txt {
        margin: 0 0 5px 0;
        width: 100%
    }
    .news_btn,
    .short {
        width: 100%
    }
    .contact_form {
        flex: 1;
        flex-basis: 100%
    }
    .contact_form p {
        padding: 0 20px
    }
    .contact_card {
        flex-basis: 100%;
        flex: 1;
        margin-left: 20px;
        padding: 0;
        margin-top: 30px
    }
    .dateRez {
        width: 100%
    }
}

@media (max-width:650px) {
    .vavcer img {
        height: 30px
    }
    .vavcer>div {
        flex: 1;
        max-width: 120px;
        min-width: 120px
    }
    .foot-span {
        flex-basis: 50%;
        margin-bottom: 25px
    }
    .imgLeft,
    .imgRight {
        float: left;
        width: 100%;
        max-width: 400px;
        height: auto;
        clear: both;
        box-sizing: border-box;
        margin: 0 0 1em 0
    }
    .blog-list {
        grid-template-columns: repeat(1, 1fr)
    }
    .blog_item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: all .5s;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -ms-transition: all .5s;
        -o-transition: all .5s
    }
    .favi {
        display: none
    }
    .oznakaImg {
        flex-basis: 90px;
        line-height: 0
    }
    .oznakaImg img {
        width: 90px;
        height: 120px;
        object-fit: cover
    }
    .oznakaContent {
        width: calc(100% - 110px)
    }
    .oznakaContent h2 {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 5px
    }
    .oznakaContent p {
        font-size: 15px;
        line-height: 18px
    }
}

@media (max-width:500px) {
    .form-place>div {
        flex-basis: 100%
    }
    .cta_btn {
        display: inline-block;
        background-color: #b78086;
        color: #fff;
        margin-top: 20px;
        font-size: 1.2em;
        padding: 15px;
        font-weight: 500;
        text-decoration: none;
        text-align: center;
        width: 100%
    }

    .user_container {
        
        margin-top:100px !important;
    }

}

@media (max-width:460px) {
    .catalog_list {
        grid-template-columns: repeat(1, 1fr)
    }
    .fr5 {
        grid-template-columns: repeat(1, 1fr)
    }
    .p_item_intro {
        grid-area: 3/1/3/1
    }
    .subCats {
        grid-template-columns: 1fr
    }
    .subCat {
        height: 250px
    }
    .options {
        justify-content: space-between
    }
    .sOption {
        width: 31%;
        margin-right: 0
    }
    .sizeSelect {
        font-size: 10px;
       
    }
    .quaters {
        border-bottom: none;
    }
    .quater {
        flex-basis: 100%;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #b78086
    }
    .quater:last-child {
        border-bottom: none
    }
}