@charset "utf-8";

/*
Theme Name: PetroNext
Author:  
Author URI: 
Version: 
*/

* {
    margin: 0;
    padding: 0;    
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {    
    position: relative;
    font-size: 1.4rem;
    color: black;
}
.button {
    background: var(--main);
    color: white;
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    text-transform: uppercase;
    padding: 1rem;
    display: inline-block;
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    border-radius: 0.5rem;
    border: 2px solid rgba(0,0,0,0.3);
    font-weight: bold;
    cursor: pointer;
}
.button:hover {
    background: var(--main);
    color: black;
}
.doublebutton {
    color: white;
    font-size: 1.6rem;
}
.doublebutton .ico {
    background: var(--main); 
    padding: 1rem;   
}
.doublebutton .word {
    background: var(--main);
    padding: 1rem;
}
#fp-slider {
    position: relative;
}
#fp-slider.back .rev_slider_wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 600px !important;
}
#fp-slider.after .rev_slider_wrapper {
    
}
.w50 {
    width: 50%;
}
.vinietka {
    position: relative;
}
.vinietka:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,0.5) inset;
    z-index: 2;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
.wrapped {
    max-width: 1400px;
    margin: 0 auto;
}
h1, h2, h3, h4, h5, h6, .big, .button {
    
}
.big {
    text-transform: uppercase;
}
.bold {
    font-weight: bold;    
}
.flex {
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
}
.flex.between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.flex.vcentre {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.flex.hcentre {
    justify-content: center;
}
.flex.wrap {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex.column {
    flex-direction: column;
}
.center {
    text-align: center;
}

/**
* text
*/

.text {

}
.text a {
    text-decoration: underline;
    color: var(--main);
}
.text > p, .text > ul, .text > ol {    
    line-height: 2rem;
}
.text * {
    box-sizing: border-box;
}
.text > *:not(:last-child) {
    margin-bottom: 1rem;
}
.article table {
    display: inline-block;
    overflow-x: scroll;
}
@media(max-width: 768px) {
    .article table {
        width: 100% !important;
        height: initial !important;
    }
}
.text ul, .text ol {
    margin-left: 3rem;
}
.text ul li {
    list-style: initial;
}
.text ul li:not(:last-child),
.text ol li:not(:last-child) {
}
.text img {
    /* border: 1px solid #eee; */
    /* padding: 1.5rem; */
    /* max-width: 100%; */
    /* height: auto; */
}
.text img.float-left {
    float: left;
    margin: 0 2rem 2rem 0;
}
.text img.float-right {
    float: right;
    margin: 0 0 2rem 2rem;
}
.text table {
    width: 100%;    
    border-collapse: collapse;    
}
@media (max-width: 768px) {
    .text table {
        font-size: 80%;
    }    
}
.text table thead {
    font-weight: bold;
    font-size: 1.3rem;
    text-transform: uppercase;
    text-align: center;
}
.text table tr td {
    border: 1px solid #ccc;
}
.text table td {
    padding: 0.5rem 1rem;
}
.text table.cols-2 tr td:last-child {
    text-align: right;
}

/**
* Back-To-Top
*/

#back-top {
    position: fixed;
    z-index: 200;
    text-align: center;
}
#back-top a {
    display: inline-block;
    width: 4rem;
    height: 4rem;
    line-height: 3.7rem;
    font-size: 1.6rem;
    color: white;
    background: var(--main);
    text-align: center;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
}
#back-top.left_center {
    top: 45%;
    left: 5%;        
}
#back-top.right_center  {
    top: 45%;
    right: 5%;    
}
#back-top.left_bottom  {
    bottom: 10rem;
    left: 5%;    
}
#back-top.right_bottom  {
    bottom: 10rem;
    right: 5%;    
}
#back-top.square a {
    border-radius: 3px;    
}   
#back-top.circle a {
    border-radius: 50%;    
}  
#back-top .caption {
    margin-top: 5px;
    font-size: 12px;
    text-transform: uppercase;
}
@media(max-width:768px) {    
    #back-top {
        top: initial !important;
        left: initial !important;
        right: 2rem !important;
        bottom: 2rem !important;
    }
}

/**
* header
*/

#tools-sticky-wrapper {
    
}
#tools {
    color: white;
    padding: 1rem 0;
    font-size: 2.5rem;
    z-index: 30 !important;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    border-bottom: 1px solid var(--header_menuline_border_color);
    background: var(--header_topline_background_color);
}
/*
@media(min-width: 769px) {
    #tools {
        background: transparent;            
    }
}
.is-sticky #tools, body:not(.home) #tools {
    color: white;
    background: #232B2B;
} */
#summon {
    display: block;
    cursor: pointer;
    padding: 0.7rem 0;
    line-height: 2.5rem;
    width: 3.9rem;
    border-radius: 3px;    
    text-align: center;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    position: relative;
}
#summon.type2 {
    position: relative;
    right: initial;
    top: initial;
    border-radius: 50%;
}
@media(max-width: 768px) {
    #summon {
        right: 1rem;
        position: fixed;
        top: 1rem;
    }
}
#tools .sitetools {
    display: flex;
    align-items: center;
}
#tools .sitetools .searchform {
    display: none;
    margin-left: 2rem;
}
#tools .sitetools .searchform form {
	display: flex;
}
#tools .sitetools .searchform form > * {
	font-size: 12px;
	line-height: 16px;
	padding: 7px;
}
#tools .sitetools .searchform form input {
	border-radius: 5px 0 0 5px;
	padding-left: 15px;
	width: 150px;
	border: none;
}
#tools .sitetools .searchform form button {
	background: var(--main);  	
	color: white;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
	border: none;
}
#tools .sitetools span {
    margin-left: 1rem;
}
#summon {
    color: white;
    background: var(--main);
}
#summon.floated {
    position: fixed;
    right: 10px;
    top: 5px;
    z-index: 10000;
    background: var(--main);
}
@media(max-width: 768px) {
    #tools #summon {
        display: none;
    }
    #tools .sitetools span {
        margin-left: 0;
    }
    .is-sticky #tools #summon {
        background: var(--main);    
    }
}
.is-sticky #tools #summon:hover {
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    color: white;
    background: var(--main);     
}
@media(max-width: 768px) {
    #tools > div {
        display: block;
        text-align: center;
    }
}
#tools #small-logo {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
@media(min-width: 769px) {
    #tools #small-logo {
        opacity: 0;
    }
}
#tools #small-logo a {
    color: white;
}
#tools #small-logo a img {
    max-height: 40px;
}
@media(min-width: 769px) {
    .is-sticky #tools #small-logo {
        opacity: 1;
    }
}
#tools .address {    
    font-size: 1.6rem;
}
#tools .phone {
    
}
@media(max-width: 768px) {
    #tools .address,
    #tools .phone {
        display: none;
    }
}
#header {
    background: var(--header_menuline_background_color);
    /* border-bottom: 1px solid var(--header_menuline_border_color); */
}
/*
.home #header {    
    background: rgba(0,0,0,0.7);
}
@media(max-width: 768px) {
    #header {
        display: none;
    }
}*/
#header,
#header a {
    color: #000;
}
#header .wrapped {
    position: relative;
    z-index: 3;    
}
.home #header .wrapped {
    /* height: 545px; */
}
#header .logoblock {
    padding: 2rem 0;
    border-bottom: 2px solid #9e9e9e66;
}
#header .logoblock.without-logo {
    justify-content: center;
    padding: 0;
}
#header .logoblock .logo {
    color: white;
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    text-align: center;
}

#header .logoblock .logo * {
    display: block;
}
#header .logoblock .logo img {
    width: 150px;
}
#header .logoblock .logo .big {
    font-size: 4.5rem;    
    line-height: 4.5rem;    
}
#header .logoblock .logo .slogan {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--main);
}
#header #mainmenu > ul {
    
}
#header #mainmenu > ul li {
    list-style: none;    
}
#header #mainmenu > ul > li:not(:last-child) {
    margin-right: var(--header_menu_elements_margin);
}
#header #mainmenu > ul li.hide-children ul.sub-menu {
    
}
#header #mainmenu > ul > li:before {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    background: var(--header_menu_fonts_1lvl_color);
    bottom: 1rem;
    width: calc(100% - var(--header_menu_elements_margin) - 1px);  
    transform: scale(0);
    transition: transform 0.3s;
}
#header #mainmenu > ul > li:hover:last-child:before {
    width: 100%;
}
#header #mainmenu > ul > li:hover:before {
    transform: scale(1);  
}
#header #mainmenu > ul > li:not(:last-child):after {
    content: '';
    display: inline-block;
    height: 100%;
    width: 1px;
    background: rgba(255,255,255,0.25);
    margin-left: var(--header_menu_elements_margin);
}
#header #mainmenu > ul li a {
    text-transform: uppercase;
}
#header #mainmenu > ul > li {
    padding: 2rem 0;
    position: relative;
    display: flex;
    align-items: center;
}
#header #mainmenu > ul > li > a {
    font-size: 1.8rem;    
    line-height: 2rem;
    display: inline-block;
    color: var(--header_menu_fonts_1lvl_color);
}
#header #mainmenu.font-small > ul > li > a {    
    font-size: 1.4rem;
}
#header #mainmenu.font-middle > ul > li > a {
    font-size: 1.6rem;    
}
#header #mainmenu.font-big > ul > li > a {
    font-size: 1.8rem;    
}
#header #mainmenu.font-small > ul > li > a > li a {    
    font-size: 1.4rem;
}
#header #mainmenu.font-middle > ul > li > a > li a {
    font-size: 1.4rem;    
}
#header #mainmenu.font-big > ul > li > a > li a {
    font-size: 1.6rem;    
}
#header #mainmenu > ul > li.current-menu-item > a {
    /* color: var(--main); */
}
#header #mainmenu > ul > li ul {
    display: none;
    position: absolute;
    top: 6rem;
    left: 0;
    width: 25rem;
    background: var(--header_menu_dropdown_background);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    border-radius: 3px;
    z-index: 10;
}
#header #mainmenu > ul li:hover > ul {
    display: block;
}
#header #mainmenu > ul > li > ul li {
    position: relative;
}
#header #mainmenu > ul > li > ul li.menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header #mainmenu > ul > li > ul li.menu-item-has-children:not(.hide-children) > a:after {
    content: "\f0da";
    font-family: FontAwesome;
}
#header #mainmenu > ul > li> ul li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--header_menu_fonts_2lvl_color);
}
#header #mainmenu > ul > li > ul li:not(:first-child) > a {
    border-top: 1px solid rgba(0,0,0,0.05);
}
#header #mainmenu > ul > li > ul li:not(:last-child) > a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
#header #mainmenu > ul > li> ul li:hover > a {
    /*box-shadow: 0 0px 10px rgba(0,0,0,0.2) inset;*/
    background: rgba(0,0,0,0.1);
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
}
#header #mainmenu > ul > li > ul > li > ul {
    display: none;
    position: absolute;
    left: -250px;
    top: 0;
}
.new-mobile-header {
    display: none;
}
.new-mobile-header,
.new-mobile-header a {
    color: var(--mobile_font_color);
}
.new-mobile-header .block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--mobile_background_color);
}
.new-mobile-header .customhtml {
    background: white;
}
.new-mobile-header .menuenabler {
    width: 40px;
}
.new-mobile-header .coords {
    width: calc(100% - 40px - 2rem);
}
.new-mobile-header .phones {
    /* display: flex;
    align-items: center; */
}
.new-mobile-header .phones {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
}
.new-mobile-header .email {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
}
.new-mobile-header .phones .phone + .phone {
    margin-top: 0.5rem;
}
.new-mobile-header .logo {
    margin-top: 1rem;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}
.new-mobile-header .logo img {
    max-width: 250px;
}
.new-mobile-header .logo a,
.new-mobile-header .logo img {
    display: inline-block;
}
@media (max-width: 768px) {
    .new-mobile-header {
        display: block;
    } 
}
@media (min-width: 401px) and (max-width: 768px) {
    .new-mobile-header .phones {
        display: flex;
        justify-content: center;
    }   
    .new-mobile-header .phones .phone + .phone {
        margin: 0 0 0 2rem;
    }
}
@media(max-width: 400px) {
    .new-mobile-header .phones .phone + .phone {
        margin: 0.5rem 0 0 0;
    }
}
#fp-slider.back .spacer {
    height: 390px;
    position: relative;
}
#fp-slider.after .spacer {
    
}
@media(max-width: 768px) {
    .spacer {
        display: none;
    }
    .rev_slider_wrapper {
        display: none !important;
    }
}
.spacer .call-to-us {
    color: white;
    background: var(--main);
    position: absolute;
    bottom: 50px;
    padding: 3rem;
    font-size: 2rem;
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    display: none;
}
@media(max-width: 768px) {
    .spacer .call-to-us {
        display: none;
    }
}
.spacer .call-to-us span.phone {
    font-size: 3rem;  
    margin-left: 1rem;  
}
#template {
    display: none;
}
#template .wrapped {
    opacity: 0.3;
    text-align: center;
    border: 2px dashed var(--main);;
    padding: 2rem 0;
    font-size: 2rem;
    color: var(--main);
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    margin-bottom: 3rem;
}
#frontpage {
    /* margin-top: 3rem; */
}
#frontpage .citata {
    padding: 5rem 0;    
}
#frontpage .citata .info {
    position: relative;
    padding: 0 6rem;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
#frontpage .citata .info p:after,
#frontpage .citata .info p:before {
    position: absolute;
    font-family: FontAwesome;
    font-size: 4rem;
    color: #999999;
}
#frontpage .citata .info p:before {
    content: "\f10d";
    top: 0;
    left: 0;
}
#frontpage .citata .info p:after {
    content: "\f10e";
    bottom: 10px;
    right: 10px;
}
#frontpage .citata .author {
    text-align: center;
    color: #999999;
    font-size: 2.2rem;
}
#frontpage .booking {
    margin: 0 auto;
    /* margin-bottom: 3rem; */
    padding-bottom: 5rem;
}
#frontpage .booking > * {

}
#frontpage .booking .wrapped {
    width: 57%;
}
#frontpage .booking .wrapped .info {
    font-size: 1.5rem;
    width: 48%;
}
#frontpage .booking .wrapped .info h2 {
    color: var(--main);
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
}
#frontpage .booking .rating {
    width: 48%;
}
#frontpage .booking .rating img {
    max-width: 100%;
}
#frontpage .gallery {
    display: flex;
    flex-wrap: wrap;
}
#frontpage .gallery .item {
    width: 25%;
    box-sizing: border-box;
}
#frontpage .gallery .item img {
    display: block;
    max-width: 100%;
}
#frontpage .roomblock {
    background: white;
    color: #232B2B;
    padding: 5rem 0;
}
#frontpage .roomblock .welcome {    
    text-align: center;
    margin-bottom: 3rem;
}
#frontpage .roomblock .welcome .stay {
    position: relative;
    margin-bottom: 1rem; 
}
#frontpage .roomblock .welcome .stay span {
    font-size: 4rem;
    position: relative;
    z-index: 1;
    background: white;
    padding: 0 1rem;
}
#frontpage .roomblock .welcome .stay:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;    
    left: 0;
    right: 0;
    height: 2px;
    width: 100%;
    background: #fff2f2;
    background: -moz-linear-gradient(left,  #fff2f2 0%, #000000 30%, #000000 69%, #ffffff 100%);
    background: -webkit-linear-gradient(left,  #fff2f2 0%,#000000 30%,#000000 69%,#ffffff 100%);
    background: linear-gradient(to right,  #fff2f2 0%,#000000 30%,#000000 69%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff2f2', endColorstr='#ffffff',GradientType=1 );
}
#frontpage .roomblock .welcome .join {
    font-size: 2rem;
    color: #999999;
}
#frontpage .roomblock .bestrooms {
    
}
#frontpage .roomblock .bestrooms .item {
    width: 24%;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 2rem;
}
#frontpage .roomblock .bestrooms .item .name {
    font-size: 2rem;       
    margin-bottom: 1rem; 
}
#frontpage .roomblock .bestrooms .item .price-from {  

}
#frontpage .roomblock .bestrooms .item .price-from span {  
    color: var(--main);
    font-weight: bold;
    font-size: 2rem;
}
#frontpage .roomblock .bestrooms .item .pic {
    margin-bottom: 2rem; 
}
#frontpage .roomblock .bestrooms .item .pic a {
    display: block;    
    position: relative;
}
#frontpage .roomblock .bestrooms .item .pic:hover a:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: rgba(0,0,0,0.5);
}
#frontpage .roomblock .bestrooms .item .pic a span {
    display: block;
    height: 250px;
    width: 100%;
    background-size: cover;    
}
.footer {
    padding: 2rem 0;
    font-size: 2rem;
    background: var(--footer_background);
    color: #77787d;
}
@media(min-width: 769px) {
    .footer .wrapped > div {
        width: 33.33332%;
    }    
}
.footer .corporate {
    display: flex;
    align-items: center;
}
.footer .corporate .company {
    font-size: 2rem;
}
.footer .corporate .slogan {
    font-size: 1.4rem;
}
.footer .social {
    justify-content: center;
}
.footer .social > div:not(:last-child) {
    margin-right: 1rem;
}
@media(max-width: 768px) {
    .footer .social {
        display: none;
    }
    .footer > div {
        text-align: center;
        display: block;
    }
}
.footer .social > div {
    
}
.footer .social > div a {
    display: block;
    background: var(--social_color_default);
    width: 4rem;    
    line-height: 4rem;
    text-align: center;
    border-radius: 50%;
}
.footer .social > div a:hover {
    background: var(--social_color_hover);
}
.footer .social > div a i {
    color: var(--main);
}
@media(min-width: 769px) {
    .footer .year {
        text-align: right;
    }
}
.breadcrumbs {
    padding: 2rem 0;
    font-size: var(--breadcrumbs_size);
    background: var(--breadcrumbs_background);
}
@media(max-width: 768px) {
    .home .breadcrumbs {
        display: none;
    }
    .breadcrumbs {
        font-size: 1.2rem;
        /* margin: 0 -2rem; */
        /* padding-left: 2rem; */
        /* padding-right: 2rem; */
    }
    .breadcrumbs i:not(.fa-home) {
        padding: 0 0.3rem;
    }
}
.breadcrumbs, .breadcrumbs a {
    color: var(--breadcrumbs_color);
}

@media(min-width: 769px) {
    .breadcrumbs i:not(.fa-home) {
        padding: 0 2rem;
    }
}
.page-id-31 .content .article .wpb_wrapper {
    text-align: center;
    line-height: 2rem;
}
.page-id-31 .content .article i {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: var(--main);
    width: 7rem;
    line-height: 7rem;
    text-align: center;    
    border-radius: 50%;
}
.default {
    /*padding-bottom: 3rem;*/
}
@media(max-width: 768px) {
    .default {
        /* padding: 2rem; */
        padding-top: 0;
    }
    .default #ymap {
        margin: 0 -2rem;
    }
}
.content {

}
.default .content {
    
}
.search-results .content {
    padding: 3rem 0;
}
.content h1 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 3.2rem;
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    color: var(--h1_color);
}
@media(max-width: 768px) {
    .content h1 {
        font-size: 2.4rem;
    }
}
#single-room {

}
#single-room h1 {
    font-size: 3rem;
}
#single-room .gallery.medium {
    margin-bottom: 1rem;
}
#single-room .gallery.medium .item { 
    position: relative;
}
#single-room .gallery.medium .item img {
    max-width: 100%;
    border-radius: 5px;
}
#single-room .gallery.mini {
    
}
#single-room .gallery.mini .item {
    margin: 2rem;
}
#single-room .gallery.mini .item img {
    max-width: 100px;
    border-radius: 3px;
}
.slick-dots li button:before {
    color: var(--main);
    opacity: 1;
}
.slick-dots li.slick-active button:before {
    color: var(--main);
}
#single-room .infoblock {

}
#single-room .infoblock > div {
    width: 48%;
}
#single-room .infoblock .images {
    
}
#single-room .infoblock .article {
    
}
#single-room .cart {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dotted var(--main);
}
#single-room .cart .price {    
    margin-bottom: 2rem;
    font-size: 2rem;
}
.cart .price {
    display: table;
}
.cart .price > div {
    display: table-row;
}
.cart .price > div .peoples,
.cart .price > div .amount {
    display: table-cell;    
}
.cart .price > div .peoples {
    padding-right: 2rem;
    text-align: center;
}
.cart .price > div .amount {

}
.cart .price > div.for-two .amount {
    padding-top: 1rem;
}
.cart .order-now {
    font-size: 2.5rem;
}
#rooms {
    background: white;
    color: #232B2B;
}
#rooms .content {
    margin-top: 3rem;
}
#rooms .rooms {
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
#rooms .rooms .item {
    width: 49%;
    text-align: center;
    box-sizing: border-box; 
    padding: 2rem;
    border: 1px solid #ccc;   
}
#rooms .rooms .item:nth-child(n+3) {
    margin-top: 2rem;
}
#rooms .rooms .item .img {
    margin-bottom: 2rem;
}
#rooms .rooms .item .img a {
    display: block;
    width: 100%;
    height: 300px;
    background-size: cover;
}
#rooms .rooms .item .name {
    padding: 0 10%;
    color: var(--main);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
#rooms .cart {
    align-items: flex-end;
}
#rooms .cart .price {    
    font-size: 1.6rem;
}

/*???????????????? ????????? */
.aligncenter{
    margin:0 auto;
    display: inline-block
}

#text h2{
    padding:20px 0;
}
#text p{
    padding:10px 0;
}
#advantages ul li{
    list-style: none;
    font-size: 22px;
    padding-bottom:5px
}


#advantages .fa, #advantages .fa-plus-circle {
    padding-right:10px;

}
.order-form {
    max-width: 300px;
}
.order-form .field {
    
}
.order-form .field.hidden {
    display: none;
}
.order-form .field input {
}
.order-form .field input,
.order-form .field textarea,
.order-form .field select {
    color: #999999;
    width: 100%;    
    padding: 1rem;
    border: none;    
    outline: 0;
    box-sizing: border-box;
}
.order-form .field.name input {
    border-radius: 3px 3px 0 0;
}
.order-form .field.peoples select {    
    border-radius: 0 0 3px 3px;
}
.order-form .field.name input,
.order-form .field.phone input,
.order-form .field.email input {
    border-bottom: 1px solid #999999;
}
.order-form .date {
    display: flex;
    padding: 1rem 0;
}
.order-form .date .label {
    margin-bottom: 0.5rem;
}
.order-form .date .field {
    width: 48%;
}
.order-form .date .field input {
    border-radius: 3px;
}
.order-form .field.message textarea {
    border-radius: 3px;
    margin-bottom: 1rem;
    max-height: 70px !important;
}
.order-form .field.submit input {
    color: black;
    font-size: 2rem;
}
.order-block {
    margin-top: 2rem;
}
#default {

}
#default .data.wrapped {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
#default .data.wrapped.with-sidebar {
    display: flex;
}
@media(max-width: 768px) {
    #default .data.wrapped.with-sidebar {
        flex-direction: column;
    }
    #default .data.wrapped.with-sidebar #sidebar {
        order: 2;
        margin-top: 3rem;
    }
    #default .data.wrapped.with-sidebar .content {
        order: 1;
    }
}
@media(min-width: 769px) {
    #default .data.wrapped.with-sidebar {
        justify-content: space-between;
    }
    #default .data.wrapped.with-sidebar #sidebar {
        width: 27%;
    }
    #default .data.wrapped.with-sidebar .content {
        width: 70%
    }
}
#sidebar {

}
#sidebar .block.padded {  
    padding: 2rem;
    background: #eee;
    border: 1px solid #ccc;  
}
#sidebar .block:not(:first-child) {
    margin-top: 3rem;
}
#sidebar .block > ul {

}
#sidebar .block > ul > li {
    
}
#sidebar .block > ul > li + li {
    margin-top: 2px;
}
/* 2nd level */
#sidebar .block > ul > li > ul {

}
#sidebar.biggy #sidemenu * {
    font-size: 110%;
}
#sidebar.giant #sidemenu * {
    font-size: 120%;    
}
.sidebar #sidemenu > li > ul > li {

}
#sidebar .block > ul > li > a {
    background: var(--sidebar_menu_1_level_background);
    display: block;
    color: var(--sidebar_menu_1_level_font_color);
    padding: 1rem 2rem;
    font-size: 16px;
}
#sidebar .block > ul > li.current-menu-item > a {
    background: white;
    color: #000;
    font-weight: bold;
    border: 2px solid var(--main);
}
#sidebar .block > ul > li > ul > li > a {
    color: var(--sidebar_menu_2_level_font_color);
    background: var(--sidebar_menu_2_level_background);
    text-decoration: none;   
}
#sidebar .block > ul > li > ul > li {
    margin-top: 2px;
}
#sidebar .block > ul > li > ul > li + li {
    margin-top: 2px;
}
#sidebar .block > ul > li > ul > li.current-menu-item > a {
    
}
/* levels after 2 */
#sidebar .block > ul > li > ul li a {
    display: block;
    padding: 1rem 2rem;
    font-size: 14px;
}
/* 3rd level */
#sidebar .block > ul > li > ul > li > ul {
    margin-top: 2px;
}
#sidebar .block > ul > li > ul > li > ul > li {

}
#sidebar .block > ul > li > ul > li > ul > li.current-menu-item {
    background: #ff4f00;
}
#sidebar .block > ul > li > ul > li > ul > li.current-menu-item > a {
    padding-left: 3rem;
    color: black;
    text-decoration: none;
    font-weight: bold;
}
#sidebar .block > ul > li > ul > li > ul > li + li {
    margin-top: 2px;    
}
/* 4th level */
#sidebar .block > ul > li > ul > li > ul > li > ul > li {

}
#sidebar .block > ul > li > ul > li > ul > li > a {
    color: var(--sidebar_menu_3_level_font_color);
    background: var(--sidebar_menu_3_level_background);
    padding: 0.7rem 0;
    padding-left: 3rem;
    text-decoration: underline;
    font-size: 12px;
}
.acf-map {
	height: 400px;
}
#contact-block {
    /*background: #eee;
    padding: 2rem;*/
    margin-bottom: 3rem;
}
.pf-gallery {
    margin: -0.5rem;
}
.pf-gallery.before {
    margin-bottom: 3rem;
}
.pf-gallery.after {
    margin-top: 3rem;
}
.pf-gallery .item {
    margin: 0.5rem;   
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 5px;
}
.pf-gallery .item a {
    display: block;    
    width: 150px;
}
.pf-gallery .item a img {
    max-width: 100%;
    border-radius: 3px;
}
.pf-gallery .item a img,
.pf-gallery .item a span {
    display: block;        
}
.pf-gallery .item a span {
    text-align: center;
    margin-top: 10px;
    color: #848484;
    font-size: 12px;
}
#sideform {

}
#sideform div.field {
    border: 1px solid #ccc;
}
#sideform div.field:not(:nth-last-child(3)) {    
    border-bottom: 0;    
}
#sideform input, #sideform textarea {
    box-sizing: border-box;
    width: 100%;
    display: block;
    border: 0;    
    padding: 1rem;
}
#sideform textarea {
    height: 6rem;
}
#sideform .ajax-loader {
    display: none;
}
#sideform .submitter {
    margin-top: 2rem;
}
.remodal.popupform {
    width: 400px;
}
.popupform {
    color: var(--popup_form_text_color);
    background: var(--popup_form_background_color);
}
.popupform .heading {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-size: 28px;
}
.popupform div.field:not(:nth-last-child(3)) {    
    border-bottom: 0;    
}
.popupform input, .popupform textarea {
    box-sizing: border-box;
    width: 100%;
    display: block;
    border: 0;    
    padding: 1rem;
    width: 100%;
    border: 1px solid #ccc;
    margin-top: 3px;
}
.popupform .submitter input {
    color: var(--popup_form_button_text_color);
    background: var(--popup_form_button_background_color);
    border: none;
}
.popupform textarea {
    height: 6rem;
}
.popupform .ajax-loader {
    display: none;
}
.popupform .submitter {
    margin-top: 2rem;
}
.popupform .remodal-close {
    right: 0;
    left: initial;
    color: black;
}
.posts {

}
.posts.in-row-2,
.posts.in-row-3 {
    display: flex;
    flex-wrap: wrap;
}
.posts.in-row-1 .item {
    display: flex;
    justify-content: space-between;
}
.posts.in-row-2 .item {
    width: 49%;
}
.posts.in-row-2 .item:nth-child(n + 3) {
    margin-top: 2rem;
}
.posts.in-row-2 .item:nth-child(even) {
    margin-left: 2%;
}
.posts.in-row-3 {
    margin: -10px;
}
.posts.in-row-3 .item {
    width: calc(33.3332% - 20px);
    margin: 10px;
}
@media(max-width: 768px) {
    .posts.in-row-2 .item,    
    .posts.in-row-3 .item {
        width: initial;
        padding
    }

}
.posts.in-row-3 .item:nth-child(even) {
    
}
.posts .item.in-row-1,
.posts .item.in-row-2 {
    display: flex;
    justify-content: space-between;
}
.posts.in-row-1 .item + .item {
    margin-top: 30px;
}
.posts .item .pic {  
    min-height: 120px;
    max-height: 150px;
}
.posts .item .pic.with-border {
    border: 1px solid #dadada;
    border-radius: 5px;
    box-sizing: border-box;
    display: inline-block;  
    padding: 5px;  
}
.posts.in-row-2 .item .pic,
.posts.in-row-3 .item .pic {
    height: 150px;
    margin-bottom: 1rem;
}
.posts .item .pic a {
    display: block;
    width: 200px;
    height: 100%;
    background-size: cover;
    background-position: center;  
}
.posts .item .pic.with-border a {
    border-radius: 3px;    
}
.posts.in-row-1 .item .block {
    width: calc(100% - 200px - 30px);
}
.posts .item .block .name {
    font-size: 18px;
}
.posts .item .block .name a {
    color: black;
}
.posts .item .block .date {
    margin-bottom: 5px;
    color: #7b7b7b;
    font-size: 12px;  
}
.posts .item .block .excertp {
    margin-top: 20px;
    color: #7b7b7b;
    font-size: 13px;
}
.posts .item .block .link {
    margin-top: 10px;
}
.posts .item .block .link a {
    display: block;
    color: var(--main);
    text-decoration: underline;
    font-weight: 700;
}
.paginator {
	margin-top: 3rem;
}
.paginator .nav-links {
	display: flex;
}
.paginator .nav-links > * + * {
	margin-left: 1rem;
}
.paginator .nav-links > span,
.paginator .nav-links > a {
	font-weight: 700;
	font-size: 16px;
	text-align: center;
	height: 40px;
	width: 40px;
	line-height: 40px;	
	color: black;
	border: 1px solid #ccc;
}
.paginator .nav-links > span.current {
	background: var(--main);
	border: none;
	color: white;
}
.paginator .nav-links > span {
}
.paginator .nav-links > a.prev,
.paginator .nav-links > a.next {
	width: initial;
	padding: 0 1rem;
}
.paginator .nav-links > a:hover {
	background: var(--main);
	color: white;
	border-color: transparent;
}
.wpmm-force-bg {
	background-color: initial !important;
}
#prefooter {
    background: var(--prefooter_menu_background);
}
#prefooter .wrapped {
}
#prefooter .wrapped > ul {
    display: flex;
    justify-content: space-around;
}
#prefooter li {   

}
#prefooter li.current-menu-item:after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background:#ff7676;
}
#prefooter .wrapped > ul a {
    color: var(--prefooter_menu_color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8rem;
    display: block;
    padding: 2rem 0 1.6rem 0; 
}
.userhtml {
    padding: 1rem 0;
    text-align: center;
    font-size: 18px;
    color: #676767;
}
.userhtml .wrapped {
    
}
#footer-contacts {
    position: relative;
    height: 400px;
}
#footer-contacts > * {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}
#footer-contacts > .block {
    background: var(--footer_map_block_background);
    color: var(--footer_map_block_color);
}
#footer-contacts > .block .info {
    height: 100%;
}
#footer-contacts > .block .info h2 {
    font-size: 4rem;
}
#footer-contacts > .block .info h2:after {
    content: '';
    display: block;
    width: 15%;
    height: 2px;
    background: var(--footer_map_block_heading_color);
    margin-top: 2rem;    
}
#footer-contacts .empty {
    pointer-events: none;
}
#footer-contacts > .block .cont {
    position: relative;
    z-index: 10;
}
#footer-contacts > .block .cont > *:not(:last-child) {
    margin-bottom: 2rem;
}
#footer-contacts > .block .cont > div {
    font-size: 18px;
}
#footer-contacts > .block .cont > div .label {
    font-size: 1.2rem;
    color: var(--footer_map_block_heading_color);
    margin-bottom: 0.3rem;
}
.cart {
    background: white;
    /* border: 1px solid var(--main); */
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
    min-width: 250px;
}
.cart .line1 {
    justify-content: flex-start;
}
.cart .line1 .icon {
    color: var(--main);
    padding: 2rem;
    font-size: 3rem;
    display: flex;
    align-items: center;
}
.cart .line1 .info {
    color: black;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.4rem;
    min-width: 10rem;
}
.cart .line1 .info .count {
    
}
.cart .line1 .info .total {
    width: 12rem;
}
.cart .line2 {
    background: var(--dark);    
    text-align: center;
}
.cart .line2 a {
    color: var(--orange);
    padding: 1rem 0;
    display: block;
}
.cart .line3 {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}
.woocommerce ul.products li.product .price,
#add_payment_method .cart-collaterals .cart_totals .discount td,
.woocommerce-cart .cart-collaterals .cart_totals .discount td,
.woocommerce-checkout .cart-collaterals .cart_totals .discount td,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .stock,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    color: var(--main);
}
.woocommerce span.onsale {
    background-color: var(--main);
}
.search .no-result {

}
.search .no-result img {
	width: 256px;
}
.search  h1 {

}
.search .searchword {
	font-size: 18px;
	border-bottom: 1px solid #ededed;
	padding-bottom: 2rem;
	margin-bottom: 2rem;
}
.search .searchword span {
	color: var(--main);	
}
.search .searchresult {
	
}
.search .searchresult li {
	list-style: decimal;
	margin-left: 2rem;
}
.search .searchresult li:not(:last-child) {
	margin-bottom: 1rem;
}
.search .searchresult li a {
	font-size: 18px;
	background: var(--alt);
	color: black;
	transition: all 0.3s;
}
.search .searchresult li a:hover {
	color: white;
	background: var(--main);
}
.mobileonly {
    display: none;
}
.desktoponly {
	display: block;
}

/* mobile styles */

@media(max-width: 768px) {
    #header,
    #fp-slider,
    .userhtml,
    #prefooter,
    #footer-contacts {
        display: none;
    }
    .wrapped {
        padding-left: 2rem;
        padding-right: 2rem;
    }    
    .mobileonly {
        display: block;
    }    
    #tools .addressus,
    #tools .phonus {
        display: none;
    }	
	.desktoponly {
		display: none;		
	}
}
@media(min-width: 769px) {
    #small-logo {
        display: none;
    }
} 

.teleph, .adress, .rejim {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
}

.logoblock.flex.vcentre.between {
    font-size: 20px;
}


.sa_custom_popup {
    background-color: #0000001a !important;
}


.sa_custom_popup .sa_popup_wrap {
    border-radius: 10px;
    font-size: 19px;
    line-height: 33px;
} 



div.product p.price {
    font-size: 2.5em !important;
    font-weight: bold;
    color: #000 !important;
}

.woocommerce-product-details__short-description {
    font-size: 18px;
    margin-bottom: 10px;
}

.woocommerce-product-details__short-description p {
    padding: 10px 0;
}

.woocommerce-product-details__short-description ul li {
    list-style: disc;
    margin-left: 20px;
}



.content h1 {
    display: none;
}

.content h2 {
    font-size: 35px;
}  



h2.woocommerce-loop-product__title {
    color: #000 !important;
    font-size: 19px !important;
    margin-bottom: 20px !important;
}

span.woocommerce-Price-amount.amount {
    color: #000;
    font-size: 20px;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
}  


.woocommerce ul.products li.product a img {
    border-radius: 10px;
}  



.owl-carousel .owl-item img {
    border-radius: 10px;
}  



section.related.products {
    clear: both;
}


.woocommerce div.product .product_title {
    display: block;
} 


h1.page-title {
    display: block;
} 


.footer .wrapped {
    border-top: 2px solid #9e9e9e66;
    padding: 20px 0;
    border-bottom: 2px solid #9e9e9e66;
} 



.footer .corporate .company {
    margin-left: 30px;
}

.footer .corporate .company a {
    color: #000;
}

.woocommerce ul.products li.product a img:hover {
    box-shadow: 0 1px 6px 1px #5d627540;
}  



@charset "utf-8";

/*
Theme Name: PetroNext
Author:  
Author URI: 
Version: 
*/

* {
    margin: 0;
    padding: 0;    
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {    
    position: relative;
    font-size: 1.4rem;
    color: black;
}
.button {
    background: var(--main);
    color: white;
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    text-transform: uppercase;
    padding: 1rem;
    display: inline-block;
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    border-radius: 0.5rem;
    border: 2px solid rgba(0,0,0,0.3);
    font-weight: bold;
    cursor: pointer;
}
.button:hover {
    background: var(--main);
    color: black;
}
.doublebutton {
    color: white;
    font-size: 1.6rem;
}
.doublebutton .ico {
    background: var(--main); 
    padding: 1rem;   
}
.doublebutton .word {
    background: var(--main);
    padding: 1rem;
}
#fp-slider {
    position: relative;
}
#fp-slider.back .rev_slider_wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 600px !important;
}
#fp-slider.after .rev_slider_wrapper {
    
}
.w50 {
    width: 50%;
}
.vinietka {
    position: relative;
}
.vinietka:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 15px rgba(0,0,0,0.5) inset;
    z-index: 2;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
.wrapped {
    max-width: 1400px;
    margin: 0 auto;
}
h1, h2, h3, h4, h5, h6, .big, .button {
    
}
.big {
    text-transform: uppercase;
}
.bold {
    font-weight: bold;    
}
.flex {
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
}
.flex.between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.flex.vcentre {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.flex.hcentre {
    justify-content: center;
}
.flex.wrap {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex.column {
    flex-direction: column;
}
.center {
    text-align: center;
}

/**
* text
*/

.text {

}
.text a {
    text-decoration: underline;
    color: var(--main);
}
.text > p, .text > ul, .text > ol {    
    line-height: 2rem;
}
.text * {
    box-sizing: border-box;
}
.text > *:not(:last-child) {
    margin-bottom: 1rem;
}
.article table {
    display: inline-block;
    overflow-x: scroll;
}
@media(max-width: 768px) {
    .article table {
        width: 100% !important;
        height: initial !important;
    }
}
.text ul, .text ol {
    margin-left: 3rem;
}
.text ul li {
    list-style: initial;
}
.text ul li:not(:last-child),
.text ol li:not(:last-child) {
}
.text img {
    /* border: 1px solid #eee; */
    /* padding: 1.5rem; */
    /* max-width: 100%; */
    /* height: auto; */
}
.text img.float-left {
    float: left;
    margin: 0 2rem 2rem 0;
}
.text img.float-right {
    float: right;
    margin: 0 0 2rem 2rem;
}
.text table {
    width: 100%;    
    border-collapse: collapse;    
}
@media (max-width: 768px) {
    .text table {
        font-size: 80%;
    }    
}
.text table thead {
    font-weight: bold;
    font-size: 1.3rem;
    text-transform: uppercase;
    text-align: center;
}
.text table tr td {
    border: 1px solid #ccc;
}
.text table td {
    padding: 0.5rem 1rem;
}
.text table.cols-2 tr td:last-child {
    text-align: right;
}

/**
* Back-To-Top
*/

#back-top {
    position: fixed;
    z-index: 200;
    text-align: center;
}
#back-top a {
    display: inline-block;
    width: 4rem;
    height: 4rem;
    line-height: 3.7rem;
    font-size: 1.6rem;
    color: white;
    background: var(--main);
    text-align: center;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
}
#back-top.left_center {
    top: 45%;
    left: 5%;        
}
#back-top.right_center  {
    top: 45%;
    right: 5%;    
}
#back-top.left_bottom  {
    bottom: 10rem;
    left: 5%;    
}
#back-top.right_bottom  {
    bottom: 10rem;
    right: 5%;    
}
#back-top.square a {
    border-radius: 3px;    
}   
#back-top.circle a {
    border-radius: 50%;    
}  
#back-top .caption {
    margin-top: 5px;
    font-size: 12px;
    text-transform: uppercase;
}
@media(max-width:768px) {    
    #back-top {
        top: initial !important;
        left: initial !important;
        right: 2rem !important;
        bottom: 2rem !important;
    }
}

/**
* header
*/

#tools-sticky-wrapper {
    
}
#tools {
    color: white;
    padding: 1rem 0;
    font-size: 2.5rem;
    z-index: 30 !important;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    border-bottom: 1px solid var(--header_menuline_border_color);
    background: var(--header_topline_background_color);
}
/*
@media(min-width: 769px) {
    #tools {
        background: transparent;            
    }
}
.is-sticky #tools, body:not(.home) #tools {
    color: white;
    background: #232B2B;
} */
#summon {
    display: block;
    cursor: pointer;
    padding: 0.7rem 0;
    line-height: 2.5rem;
    width: 3.9rem;
    border-radius: 3px;    
    text-align: center;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    position: relative;
}
#summon.type2 {
    position: relative;
    right: initial;
    top: initial;
    border-radius: 50%;
}
@media(max-width: 768px) {
    #summon {
        right: 1rem;
        position: fixed;
        top: 1rem;
    }
}
#tools .sitetools {
    display: flex;
    align-items: center;
}
#tools .sitetools .searchform {
    display: none;
    margin-left: 2rem;
}
#tools .sitetools .searchform form {
	display: flex;
}
#tools .sitetools .searchform form > * {
	font-size: 12px;
	line-height: 16px;
	padding: 7px;
}
#tools .sitetools .searchform form input {
	border-radius: 5px 0 0 5px;
	padding-left: 15px;
	width: 150px;
	border: none;
}
#tools .sitetools .searchform form button {
	background: var(--main);  	
	color: white;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
	border: none;
}
#tools .sitetools span {
    margin-left: 1rem;
}
#summon {
    color: white;
    background: var(--main);
}
#summon.floated {
    position: fixed;
    right: 10px;
    top: 5px;
    z-index: 10000;
    background: var(--main);
}
@media(max-width: 768px) {
    #tools #summon {
        display: none;
    }
    #tools .sitetools span {
        margin-left: 0;
    }
    .is-sticky #tools #summon {
        background: var(--main);    
    }
}
.is-sticky #tools #summon:hover {
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    color: white;
    background: var(--main);     
}
@media(max-width: 768px) {
    #tools > div {
        display: block;
        text-align: center;
    }
}
#tools #small-logo {
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}
@media(min-width: 769px) {
    #tools #small-logo {
        opacity: 0;
    }
}
#tools #small-logo a {
    color: white;
}
#tools #small-logo a img {
    max-height: 40px;
}
@media(min-width: 769px) {
    .is-sticky #tools #small-logo {
        opacity: 1;
    }
}
#tools .address {    
    font-size: 1.6rem;
}
#tools .phone {
    
}
@media(max-width: 768px) {
    #tools .address,
    #tools .phone {
        display: none;
    }
}
#header {
    background: var(--header_menuline_background_color);
    /* border-bottom: 1px solid var(--header_menuline_border_color); */
}
/*
.home #header {    
    background: rgba(0,0,0,0.7);
}
@media(max-width: 768px) {
    #header {
        display: none;
    }
}*/
#header,
#header a {
    color: #000;
}
#header .wrapped {
    position: relative;
    z-index: 3;    
}
.home #header .wrapped {
    /* height: 545px; */
}
#header .logoblock {
    padding: 2rem 0;
    border-bottom: 2px solid #9e9e9e66;
}
#header .logoblock.without-logo {
    justify-content: center;
    padding: 0;
}
#header .logoblock .logo {
    color: white;
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    text-align: center;
}

#header .logoblock .logo * {
    display: block;
}
#header .logoblock .logo img {
    width: 150px;
}
#header .logoblock .logo .big {
    font-size: 4.5rem;    
    line-height: 4.5rem;    
}
#header .logoblock .logo .slogan {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--main);
}
#header #mainmenu > ul {
    
}
#header #mainmenu > ul li {
    list-style: none;    
}
#header #mainmenu > ul > li:not(:last-child) {
    margin-right: var(--header_menu_elements_margin);
}
#header #mainmenu > ul li.hide-children ul.sub-menu {
    
}
#header #mainmenu > ul > li:before {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    background: var(--header_menu_fonts_1lvl_color);
    bottom: 1rem;
    width: calc(100% - var(--header_menu_elements_margin) - 1px);  
    transform: scale(0);
    transition: transform 0.3s;
}
#header #mainmenu > ul > li:hover:last-child:before {
    width: 100%;
}
#header #mainmenu > ul > li:hover:before {
    transform: scale(1);  
}
#header #mainmenu > ul > li:not(:last-child):after {
    content: '';
    display: inline-block;
    height: 100%;
    width: 1px;
    background: rgba(255,255,255,0.25);
    margin-left: var(--header_menu_elements_margin);
}
#header #mainmenu > ul li a {
    text-transform: uppercase;
}
#header #mainmenu > ul > li {
    padding: 2rem 0;
    position: relative;
    display: flex;
    align-items: center;
}
#header #mainmenu > ul > li > a {
    font-size: 1.8rem;    
    line-height: 2rem;
    display: inline-block;
    color: var(--header_menu_fonts_1lvl_color);
}
#header #mainmenu.font-small > ul > li > a {    
    font-size: 1.4rem;
}
#header #mainmenu.font-middle > ul > li > a {
    font-size: 1.6rem;    
}
#header #mainmenu.font-big > ul > li > a {
    font-size: 1.8rem;    
}
#header #mainmenu.font-small > ul > li > a > li a {    
    font-size: 1.4rem;
}
#header #mainmenu.font-middle > ul > li > a > li a {
    font-size: 1.4rem;    
}
#header #mainmenu.font-big > ul > li > a > li a {
    font-size: 1.6rem;    
}
#header #mainmenu > ul > li.current-menu-item > a {
    /* color: var(--main); */
}
#header #mainmenu > ul > li ul {
    display: none;
    position: absolute;
    top: 6rem;
    left: 0;
    width: 25rem;
    background: var(--header_menu_dropdown_background);
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    border-radius: 3px;
    z-index: 10;
}
#header #mainmenu > ul li:hover > ul {
    display: block;
}
#header #mainmenu > ul > li > ul li {
    position: relative;
}
#header #mainmenu > ul > li > ul li.menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header #mainmenu > ul > li > ul li.menu-item-has-children:not(.hide-children) > a:after {
    content: "\f0da";
    font-family: FontAwesome;
}
#header #mainmenu > ul > li> ul li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--header_menu_fonts_2lvl_color);
}
#header #mainmenu > ul > li > ul li:not(:first-child) > a {
    border-top: 1px solid rgba(0,0,0,0.05);
}
#header #mainmenu > ul > li > ul li:not(:last-child) > a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
#header #mainmenu > ul > li> ul li:hover > a {
    /*box-shadow: 0 0px 10px rgba(0,0,0,0.2) inset;*/
    background: rgba(0,0,0,0.1);
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
}
#header #mainmenu > ul > li > ul > li > ul {
    display: none;
    position: absolute;
    left: -250px;
    top: 0;
}
.new-mobile-header {
    display: none;
}
.new-mobile-header,
.new-mobile-header a {
    color: var(--mobile_font_color);
}
.new-mobile-header .block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    background: var(--mobile_background_color);
}
.new-mobile-header .customhtml {
    background: white;
}
.new-mobile-header .menuenabler {
    width: 40px;
}
.new-mobile-header .coords {
    width: calc(100% - 40px - 2rem);
}
.new-mobile-header .phones {
    /* display: flex;
    align-items: center; */
}
.new-mobile-header .phones {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    line-height: 18px;
}
.new-mobile-header .email {
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 700;
}
.new-mobile-header .phones .phone + .phone {
    margin-top: 0.5rem;
}
.new-mobile-header .logo {
    margin-top: 1rem;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}
.new-mobile-header .logo img {
    max-width: 250px;
}
.new-mobile-header .logo a,
.new-mobile-header .logo img {
    display: inline-block;
}
@media (max-width: 768px) {
    .new-mobile-header {
        display: block;
    } 
}
@media (min-width: 401px) and (max-width: 768px) {
    .new-mobile-header .phones {
        display: flex;
        justify-content: center;
    }   
    .new-mobile-header .phones .phone + .phone {
        margin: 0 0 0 2rem;
    }
}
@media(max-width: 400px) {
    .new-mobile-header .phones .phone + .phone {
        margin: 0.5rem 0 0 0;
    }
}
#fp-slider.back .spacer {
    height: 390px;
    position: relative;
}
#fp-slider.after .spacer {
    
}
@media(max-width: 768px) {
    .spacer {
        display: none;
    }
    .rev_slider_wrapper {
        display: none !important;
    }
}
.spacer .call-to-us {
    color: white;
    background: var(--main);
    position: absolute;
    bottom: 50px;
    padding: 3rem;
    font-size: 2rem;
    box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    display: none;
}
@media(max-width: 768px) {
    .spacer .call-to-us {
        display: none;
    }
}
.spacer .call-to-us span.phone {
    font-size: 3rem;  
    margin-left: 1rem;  
}
#template {
    display: none;
}
#template .wrapped {
    opacity: 0.3;
    text-align: center;
    border: 2px dashed var(--main);;
    padding: 2rem 0;
    font-size: 2rem;
    color: var(--main);
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    margin-bottom: 3rem;
}
#frontpage {
    /* margin-top: 3rem; */
}
#frontpage .citata {
    padding: 5rem 0;    
}
#frontpage .citata .info {
    position: relative;
    padding: 0 6rem;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}
#frontpage .citata .info p:after,
#frontpage .citata .info p:before {
    position: absolute;
    font-family: FontAwesome;
    font-size: 4rem;
    color: #999999;
}
#frontpage .citata .info p:before {
    content: "\f10d";
    top: 0;
    left: 0;
}
#frontpage .citata .info p:after {
    content: "\f10e";
    bottom: 10px;
    right: 10px;
}
#frontpage .citata .author {
    text-align: center;
    color: #999999;
    font-size: 2.2rem;
}
#frontpage .booking {
    margin: 0 auto;
    /* margin-bottom: 3rem; */
    padding-bottom: 5rem;
}
#frontpage .booking > * {

}
#frontpage .booking .wrapped {
    width: 57%;
}
#frontpage .booking .wrapped .info {
    font-size: 1.5rem;
    width: 48%;
}
#frontpage .booking .wrapped .info h2 {
    color: var(--main);
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
}
#frontpage .booking .rating {
    width: 48%;
}
#frontpage .booking .rating img {
    max-width: 100%;
}
#frontpage .gallery {
    display: flex;
    flex-wrap: wrap;
}
#frontpage .gallery .item {
    width: 25%;
    box-sizing: border-box;
}
#frontpage .gallery .item img {
    display: block;
    max-width: 100%;
}
#frontpage .roomblock {
    background: white;
    color: #232B2B;
    padding: 5rem 0;
}
#frontpage .roomblock .welcome {    
    text-align: center;
    margin-bottom: 3rem;
}
#frontpage .roomblock .welcome .stay {
    position: relative;
    margin-bottom: 1rem; 
}
#frontpage .roomblock .welcome .stay span {
    font-size: 4rem;
    position: relative;
    z-index: 1;
    background: white;
    padding: 0 1rem;
}
#frontpage .roomblock .welcome .stay:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;    
    left: 0;
    right: 0;
    height: 2px;
    width: 100%;
    background: #fff2f2;
    background: -moz-linear-gradient(left,  #fff2f2 0%, #000000 30%, #000000 69%, #ffffff 100%);
    background: -webkit-linear-gradient(left,  #fff2f2 0%,#000000 30%,#000000 69%,#ffffff 100%);
    background: linear-gradient(to right,  #fff2f2 0%,#000000 30%,#000000 69%,#ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff2f2', endColorstr='#ffffff',GradientType=1 );
}
#frontpage .roomblock .welcome .join {
    font-size: 2rem;
    color: #999999;
}
#frontpage .roomblock .bestrooms {
    
}
#frontpage .roomblock .bestrooms .item {
    width: 24%;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #ccc;
    padding: 2rem;
}
#frontpage .roomblock .bestrooms .item .name {
    font-size: 2rem;       
    margin-bottom: 1rem; 
}
#frontpage .roomblock .bestrooms .item .price-from {  

}
#frontpage .roomblock .bestrooms .item .price-from span {  
    color: var(--main);
    font-weight: bold;
    font-size: 2rem;
}
#frontpage .roomblock .bestrooms .item .pic {
    margin-bottom: 2rem; 
}
#frontpage .roomblock .bestrooms .item .pic a {
    display: block;    
    position: relative;
}
#frontpage .roomblock .bestrooms .item .pic:hover a:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: rgba(0,0,0,0.5);
}
#frontpage .roomblock .bestrooms .item .pic a span {
    display: block;
    height: 250px;
    width: 100%;
    background-size: cover;    
}
.footer {
    padding: 2rem 0;
    font-size: 2rem;
    background: var(--footer_background);
    color: #77787d;
}
@media(min-width: 769px) {
    .footer .wrapped > div {
        width: 33.33332%;
    }    
}
.footer .corporate {
    display: flex;
    align-items: center;
}
.footer .corporate .company {
    font-size: 2rem;
}
.footer .corporate .slogan {
    font-size: 1.4rem;
}
.footer .social {
    justify-content: center;
}
.footer .social > div:not(:last-child) {
    margin-right: 1rem;
}
@media(max-width: 768px) {
    .footer .social {
        display: none;
    }
    .footer > div {
        text-align: center;
        display: block;
    }
}
.footer .social > div {
    
}
.footer .social > div a {
    display: block;
    background: var(--social_color_default);
    width: 4rem;    
    line-height: 4rem;
    text-align: center;
    border-radius: 50%;
}
.footer .social > div a:hover {
    background: var(--social_color_hover);
}
.footer .social > div a i {
    color: var(--main);
}
@media(min-width: 769px) {
    .footer .year {
        text-align: right;
    }
}
.breadcrumbs {
    padding: 2rem 0;
    font-size: var(--breadcrumbs_size);
    background: var(--breadcrumbs_background);
}
@media(max-width: 768px) {
    .home .breadcrumbs {
        display: none;
    }
    .breadcrumbs {
        font-size: 1.2rem;
        /* margin: 0 -2rem; */
        /* padding-left: 2rem; */
        /* padding-right: 2rem; */
    }
    .breadcrumbs i:not(.fa-home) {
        padding: 0 0.3rem;
    }
}
.breadcrumbs, .breadcrumbs a {
    color: var(--breadcrumbs_color);
}

@media(min-width: 769px) {
    .breadcrumbs i:not(.fa-home) {
        padding: 0 2rem;
    }
}
.page-id-31 .content .article .wpb_wrapper {
    text-align: center;
    line-height: 2rem;
}
.page-id-31 .content .article i {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: var(--main);
    width: 7rem;
    line-height: 7rem;
    text-align: center;    
    border-radius: 50%;
}
.default {
    /*padding-bottom: 3rem;*/
}
@media(max-width: 768px) {
    .default {
        /* padding: 2rem; */
        padding-top: 0;
    }
    .default #ymap {
        margin: 0 -2rem;
    }
}
.content {

}
.default .content {
    
}
.search-results .content {
    padding: 3rem 0;
}
.content h1 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 3.2rem;
    text-shadow: 0 3px 2px rgba(0,0,0,0.2);
    color: var(--h1_color);
}
@media(max-width: 768px) {
    .content h1 {
        font-size: 2.4rem;
    }
}
#single-room {

}
#single-room h1 {
    font-size: 3rem;
}
#single-room .gallery.medium {
    margin-bottom: 1rem;
}
#single-room .gallery.medium .item { 
    position: relative;
}
#single-room .gallery.medium .item img {
    max-width: 100%;
    border-radius: 5px;
}
#single-room .gallery.mini {
    
}
#single-room .gallery.mini .item {
    margin: 2rem;
}
#single-room .gallery.mini .item img {
    max-width: 100px;
    border-radius: 3px;
}
.slick-dots li button:before {
    color: var(--main);
    opacity: 1;
}
.slick-dots li.slick-active button:before {
    color: var(--main);
}
#single-room .infoblock {

}
#single-room .infoblock > div {
    width: 48%;
}
#single-room .infoblock .images {
    
}
#single-room .infoblock .article {
    
}
#single-room .cart {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dotted var(--main);
}
#single-room .cart .price {    
    margin-bottom: 2rem;
    font-size: 2rem;
}
.cart .price {
    display: table;
}
.cart .price > div {
    display: table-row;
}
.cart .price > div .peoples,
.cart .price > div .amount {
    display: table-cell;    
}
.cart .price > div .peoples {
    padding-right: 2rem;
    text-align: center;
}
.cart .price > div .amount {

}
.cart .price > div.for-two .amount {
    padding-top: 1rem;
}
.cart .order-now {
    font-size: 2.5rem;
}
#rooms {
    background: white;
    color: #232B2B;
}
#rooms .content {
    margin-top: 3rem;
}
#rooms .rooms {
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
#rooms .rooms .item {
    width: 49%;
    text-align: center;
    box-sizing: border-box; 
    padding: 2rem;
    border: 1px solid #ccc;   
}
#rooms .rooms .item:nth-child(n+3) {
    margin-top: 2rem;
}
#rooms .rooms .item .img {
    margin-bottom: 2rem;
}
#rooms .rooms .item .img a {
    display: block;
    width: 100%;
    height: 300px;
    background-size: cover;
}
#rooms .rooms .item .name {
    padding: 0 10%;
    color: var(--main);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
#rooms .cart {
    align-items: flex-end;
}
#rooms .cart .price {    
    font-size: 1.6rem;
}

/*???????????????? ????????? */
.aligncenter{
    margin:0 auto;
    display: inline-block
}

#text h2{
    padding:20px 0;
}
#text p{
    padding:10px 0;
}
#advantages ul li{
    list-style: none;
    font-size: 22px;
    padding-bottom:5px
}


#advantages .fa, #advantages .fa-plus-circle {
    padding-right:10px;

}
.order-form {
    max-width: 300px;
}
.order-form .field {
    
}
.order-form .field.hidden {
    display: none;
}
.order-form .field input {
}
.order-form .field input,
.order-form .field textarea,
.order-form .field select {
    color: #999999;
    width: 100%;    
    padding: 1rem;
    border: none;    
    outline: 0;
    box-sizing: border-box;
}
.order-form .field.name input {
    border-radius: 3px 3px 0 0;
}
.order-form .field.peoples select {    
    border-radius: 0 0 3px 3px;
}
.order-form .field.name input,
.order-form .field.phone input,
.order-form .field.email input {
    border-bottom: 1px solid #999999;
}
.order-form .date {
    display: flex;
    padding: 1rem 0;
}
.order-form .date .label {
    margin-bottom: 0.5rem;
}
.order-form .date .field {
    width: 48%;
}
.order-form .date .field input {
    border-radius: 3px;
}
.order-form .field.message textarea {
    border-radius: 3px;
    margin-bottom: 1rem;
    max-height: 70px !important;
}
.order-form .field.submit input {
    color: black;
    font-size: 2rem;
}
.order-block {
    margin-top: 2rem;
}
#default {

}
#default .data.wrapped {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
#default .data.wrapped.with-sidebar {
    display: flex;
}
@media(max-width: 768px) {
    #default .data.wrapped.with-sidebar {
        flex-direction: column;
    }
    #default .data.wrapped.with-sidebar #sidebar {
        order: 2;
        margin-top: 3rem;
    }
    #default .data.wrapped.with-sidebar .content {
        order: 1;
    }
}
@media(min-width: 769px) {
    #default .data.wrapped.with-sidebar {
        justify-content: space-between;
    }
    #default .data.wrapped.with-sidebar #sidebar {
        width: 27%;
    }
    #default .data.wrapped.with-sidebar .content {
        width: 70%
    }
}
#sidebar {

}
#sidebar .block.padded {  
    padding: 2rem;
    background: #eee;
    border: 1px solid #ccc;  
}
#sidebar .block:not(:first-child) {
    margin-top: 3rem;
}
#sidebar .block > ul {

}
#sidebar .block > ul > li {
    
}
#sidebar .block > ul > li + li {
    margin-top: 2px;
}
/* 2nd level */
#sidebar .block > ul > li > ul {

}
#sidebar.biggy #sidemenu * {
    font-size: 110%;
}
#sidebar.giant #sidemenu * {
    font-size: 120%;    
}
.sidebar #sidemenu > li > ul > li {

}
#sidebar .block > ul > li > a {
    background: var(--sidebar_menu_1_level_background);
    display: block;
    color: var(--sidebar_menu_1_level_font_color);
    padding: 1rem 2rem;
    font-size: 16px;
}
#sidebar .block > ul > li.current-menu-item > a {
    background: white;
    color: #000;
    font-weight: bold;
    border: 2px solid var(--main);
}
#sidebar .block > ul > li > ul > li > a {
    color: var(--sidebar_menu_2_level_font_color);
    background: var(--sidebar_menu_2_level_background);
    text-decoration: none;   
}
#sidebar .block > ul > li > ul > li {
    margin-top: 2px;
}
#sidebar .block > ul > li > ul > li + li {
    margin-top: 2px;
}
#sidebar .block > ul > li > ul > li.current-menu-item > a {
    
}
/* levels after 2 */
#sidebar .block > ul > li > ul li a {
    display: block;
    padding: 1rem 2rem;
    font-size: 14px;
}
/* 3rd level */
#sidebar .block > ul > li > ul > li > ul {
    margin-top: 2px;
}
#sidebar .block > ul > li > ul > li > ul > li {

}
#sidebar .block > ul > li > ul > li > ul > li.current-menu-item {
    background: #ff4f00;
}
#sidebar .block > ul > li > ul > li > ul > li.current-menu-item > a {
    padding-left: 3rem;
    color: black;
    text-decoration: none;
    font-weight: bold;
}
#sidebar .block > ul > li > ul > li > ul > li + li {
    margin-top: 2px;    
}
/* 4th level */
#sidebar .block > ul > li > ul > li > ul > li > ul > li {

}
#sidebar .block > ul > li > ul > li > ul > li > a {
    color: var(--sidebar_menu_3_level_font_color);
    background: var(--sidebar_menu_3_level_background);
    padding: 0.7rem 0;
    padding-left: 3rem;
    text-decoration: underline;
    font-size: 12px;
}
.acf-map {
	height: 400px;
}
#contact-block {
    /*background: #eee;
    padding: 2rem;*/
    margin-bottom: 3rem;
}
.pf-gallery {
    margin: -0.5rem;
}
.pf-gallery.before {
    margin-bottom: 3rem;
}
.pf-gallery.after {
    margin-top: 3rem;
}
.pf-gallery .item {
    margin: 0.5rem;   
    border: 1px solid #eee;
    padding: 1rem;
    border-radius: 5px;
}
.pf-gallery .item a {
    display: block;    
    width: 150px;
}
.pf-gallery .item a img {
    max-width: 100%;
    border-radius: 3px;
}
.pf-gallery .item a img,
.pf-gallery .item a span {
    display: block;        
}
.pf-gallery .item a span {
    text-align: center;
    margin-top: 10px;
    color: #848484;
    font-size: 12px;
}
#sideform {

}
#sideform div.field {
    border: 1px solid #ccc;
}
#sideform div.field:not(:nth-last-child(3)) {    
    border-bottom: 0;    
}
#sideform input, #sideform textarea {
    box-sizing: border-box;
    width: 100%;
    display: block;
    border: 0;    
    padding: 1rem;
}
#sideform textarea {
    height: 6rem;
}
#sideform .ajax-loader {
    display: none;
}
#sideform .submitter {
    margin-top: 2rem;
}
.remodal.popupform {
    width: 400px;
}
.popupform {
    color: var(--popup_form_text_color);
    background: var(--popup_form_background_color);
}
.popupform .heading {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-size: 28px;
}
.popupform div.field:not(:nth-last-child(3)) {    
    border-bottom: 0;    
}
.popupform input, .popupform textarea {
    box-sizing: border-box;
    width: 100%;
    display: block;
    border: 0;    
    padding: 1rem;
    width: 100%;
    border: 1px solid #ccc;
    margin-top: 3px;
}
.popupform .submitter input {
    color: var(--popup_form_button_text_color);
    background: var(--popup_form_button_background_color);
    border: none;
}
.popupform textarea {
    height: 6rem;
}
.popupform .ajax-loader {
    display: none;
}
.popupform .submitter {
    margin-top: 2rem;
}
.popupform .remodal-close {
    right: 0;
    left: initial;
    color: black;
}
.posts {

}
.posts.in-row-2,
.posts.in-row-3 {
    display: flex;
    flex-wrap: wrap;
}
.posts.in-row-1 .item {
    display: flex;
    justify-content: space-between;
}
.posts.in-row-2 .item {
    width: 49%;
}
.posts.in-row-2 .item:nth-child(n + 3) {
    margin-top: 2rem;
}
.posts.in-row-2 .item:nth-child(even) {
    margin-left: 2%;
}
.posts.in-row-3 {
    margin: -10px;
}
.posts.in-row-3 .item {
    width: calc(33.3332% - 20px);
    margin: 10px;
}
@media(max-width: 768px) {
    .posts.in-row-2 .item,    
    .posts.in-row-3 .item {
        width: initial;
        padding
    }

}
.posts.in-row-3 .item:nth-child(even) {
    
}
.posts .item.in-row-1,
.posts .item.in-row-2 {
    display: flex;
    justify-content: space-between;
}
.posts.in-row-1 .item + .item {
    margin-top: 30px;
}
.posts .item .pic {  
    min-height: 120px;
    max-height: 150px;
}
.posts .item .pic.with-border {
    border: 1px solid #dadada;
    border-radius: 5px;
    box-sizing: border-box;
    display: inline-block;  
    padding: 5px;  
}
.posts.in-row-2 .item .pic,
.posts.in-row-3 .item .pic {
    height: 150px;
    margin-bottom: 1rem;
}
.posts .item .pic a {
    display: block;
    width: 200px;
    height: 100%;
    background-size: cover;
    background-position: center;  
}
.posts .item .pic.with-border a {
    border-radius: 3px;    
}
.posts.in-row-1 .item .block {
    width: calc(100% - 200px - 30px);
}
.posts .item .block .name {
    font-size: 18px;
}
.posts .item .block .name a {
    color: black;
}
.posts .item .block .date {
    margin-bottom: 5px;
    color: #7b7b7b;
    font-size: 12px;  
}
.posts .item .block .excertp {
    margin-top: 20px;
    color: #7b7b7b;
    font-size: 13px;
}
.posts .item .block .link {
    margin-top: 10px;
}
.posts .item .block .link a {
    display: block;
    color: var(--main);
    text-decoration: underline;
    font-weight: 700;
}
.paginator {
	margin-top: 3rem;
}
.paginator .nav-links {
	display: flex;
}
.paginator .nav-links > * + * {
	margin-left: 1rem;
}
.paginator .nav-links > span,
.paginator .nav-links > a {
	font-weight: 700;
	font-size: 16px;
	text-align: center;
	height: 40px;
	width: 40px;
	line-height: 40px;	
	color: black;
	border: 1px solid #ccc;
}
.paginator .nav-links > span.current {
	background: var(--main);
	border: none;
	color: white;
}
.paginator .nav-links > span {
}
.paginator .nav-links > a.prev,
.paginator .nav-links > a.next {
	width: initial;
	padding: 0 1rem;
}
.paginator .nav-links > a:hover {
	background: var(--main);
	color: white;
	border-color: transparent;
}
.wpmm-force-bg {
	background-color: initial !important;
}
#prefooter {
    background: var(--prefooter_menu_background);
}
#prefooter .wrapped {
}
#prefooter .wrapped > ul {
    display: flex;
    justify-content: space-around;
}
#prefooter li {   

}
#prefooter li.current-menu-item:after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background:#ff7676;
}
#prefooter .wrapped > ul a {
    color: var(--prefooter_menu_color);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.8rem;
    display: block;
    padding: 2rem 0 1.6rem 0; 
}
.userhtml {
    padding: 1rem 0;
    text-align: center;
    font-size: 18px;
    color: #676767;
}
.userhtml .wrapped {
    
}
#footer-contacts {
    position: relative;
    height: 400px;
}
#footer-contacts > * {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}
#footer-contacts > .block {
    background: var(--footer_map_block_background);
    color: var(--footer_map_block_color);
}
#footer-contacts > .block .info {
    height: 100%;
}
#footer-contacts > .block .info h2 {
    font-size: 4rem;
}
#footer-contacts > .block .info h2:after {
    content: '';
    display: block;
    width: 15%;
    height: 2px;
    background: var(--footer_map_block_heading_color);
    margin-top: 2rem;    
}
#footer-contacts .empty {
    pointer-events: none;
}
#footer-contacts > .block .cont {
    position: relative;
    z-index: 10;
}
#footer-contacts > .block .cont > *:not(:last-child) {
    margin-bottom: 2rem;
}
#footer-contacts > .block .cont > div {
    font-size: 18px;
}
#footer-contacts > .block .cont > div .label {
    font-size: 1.2rem;
    color: var(--footer_map_block_heading_color);
    margin-bottom: 0.3rem;
}
.cart {
    background: white;
    /* border: 1px solid var(--main); */
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
    min-width: 250px;
}
.cart .line1 {
    justify-content: flex-start;
}
.cart .line1 .icon {
    color: var(--main);
    padding: 2rem;
    font-size: 3rem;
    display: flex;
    align-items: center;
}
.cart .line1 .info {
    color: black;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.4rem;
    min-width: 10rem;
}
.cart .line1 .info .count {
    
}
.cart .line1 .info .total {
    width: 12rem;
}
.cart .line2 {
    background: var(--dark);    
    text-align: center;
}
.cart .line2 a {
    color: var(--orange);
    padding: 1rem 0;
    display: block;
}
.cart .line3 {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}
.woocommerce ul.products li.product .price,
#add_payment_method .cart-collaterals .cart_totals .discount td,
.woocommerce-cart .cart-collaterals .cart_totals .discount td,
.woocommerce-checkout .cart-collaterals .cart_totals .discount td,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .stock,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    color: var(--main);
}
.woocommerce span.onsale {
    background-color: var(--main);
}
.search .no-result {

}
.search .no-result img {
	width: 256px;
}
.search  h1 {

}
.search .searchword {
	font-size: 18px;
	border-bottom: 1px solid #ededed;
	padding-bottom: 2rem;
	margin-bottom: 2rem;
}
.search .searchword span {
	color: var(--main);	
}
.search .searchresult {
	
}
.search .searchresult li {
	list-style: decimal;
	margin-left: 2rem;
}
.search .searchresult li:not(:last-child) {
	margin-bottom: 1rem;
}
.search .searchresult li a {
	font-size: 18px;
	background: var(--alt);
	color: black;
	transition: all 0.3s;
}
.search .searchresult li a:hover {
	color: white;
	background: var(--main);
}
.mobileonly {
    display: none;
}
.desktoponly {
	display: block;
}

/* mobile styles */

@media(max-width: 768px) {
    #header,
    #fp-slider,
    .userhtml,
    #prefooter,
    #footer-contacts {
        display: none;
    }
    .wrapped {
        padding-left: 2rem;
        padding-right: 2rem;
    }    
    .mobileonly {
        display: block;
    }    
    #tools .addressus,
    #tools .phonus {
        display: none;
    }	
	.desktoponly {
		display: none;		
	}
}
@media(min-width: 769px) {
    #small-logo {
        display: none;
    }
} 

.teleph, .adress, .rejim {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
}

.logoblock.flex.vcentre.between {
    font-size: 20px;
}


.sa_custom_popup {
    background-color: #0000001a !important;
}


.sa_custom_popup .sa_popup_wrap {
    border-radius: 10px;
    font-size: 19px;
    line-height: 33px;
} 



div.product p.price {
    font-size: 2.5em !important;
    font-weight: bold;
    color: #000 !important;
}

.woocommerce-product-details__short-description {
    font-size: 18px;
    margin-bottom: 10px;
}

.woocommerce-product-details__short-description p {
    padding: 10px 0;
}

.woocommerce-product-details__short-description ul li {
    list-style: disc;
    margin-left: 20px;
}



.content h1 {
    display: none;
}

.content h2 {
    font-size: 35px;
}  



h2.woocommerce-loop-product__title {
    color: #000 !important;
    font-size: 19px !important;
    margin-bottom: 20px !important;
}

span.woocommerce-Price-amount.amount {
    color: #000;
    font-size: 20px;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
}  


.woocommerce ul.products li.product a img {
    border-radius: 10px;
}  



.owl-carousel .owl-item img {
    border-radius: 10px;
}  



section.related.products {
    clear: both;
}


.woocommerce div.product .product_title {
    display: block;
} 


h1.page-title {
    display: block;
} 


.footer .wrapped {
    border-top: 2px solid #9e9e9e66;
    padding: 20px 0;
    border-bottom: 2px solid #9e9e9e66;
} 



.footer .corporate .company {
    margin-left: 30px;
}

.footer .corporate .company a {
    color: #000;
}

.woocommerce ul.products li.product a img:hover {
    box-shadow: 0 1px 6px 1px #5d627540;
}

.new-mobile-header .logo img {
    width: 70px;
}

.phone {
    text-align: center;
}

