@font-face {
    font-family: 'outstandingregular';
       src: url('fonts/outstanding-webfont.woff') format('woff'),
         url('fonts/outstanding-webfont.ttf') format('truetype');
         
    font-weight: normal;
    font-style: normal;


}

@font-face {
  font-family: 'bookos';
  src: url('fonts/bookos.woff') format('woff'),
  url('fonts/bookos.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


body {
  word-wrap: break-word;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-family: 'bookos',Arial;
  color: #502903;
  font-size: 100%;
  line-height: 2;
}
a {
  color: #583d2e;
}
ul a.active {
  color: #583d2e;

}
a:link,
a:visited {
  text-decoration: none;
}
a:hover,
a:active,
a:focus {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1.0em 0 0.5em;
  font-weight: inherit;
}
h1 {
  font-size: 28px;
  text-align: center;
  color: #23140c;
  line-height: 1.2;
  margin: 0;
}
h2 {
  font-size: 1.1em;
}
p {
  margin: 0 0 1em;
}
img {
    outline: 0;
}

ul {
  margin: 0;
  padding: 0;
}
input.form-text {
    height: 28px;
    padding: 0 6px;
    color: #72655b;
    font-size: 14px;
    border: 1px solid #72655b;
    background: #fff;

}
input.form-submit {
  padding: 6px 12px;
  color: #fff;
  font-size: 18px;
  background: #a7937e;
  text-transform: uppercase;
  border: 1px solid #fff;
  font-family: 'bookos',Arial;
  cursor: pointer;
}
.form-select{
    height: 28px;
    padding: 0 6px;
    color: #72655b;
    font-size: 14px;
    border: 1px solid #72655b;
    background: #fff;
}


.tabs {
  width: 580px;
  margin: 0 auto;
}
.tabs h2{
  display: none;
}
.tabs ul{
  margin: 0 auto;
  padding: 0;
  text-align: center;
  border: none;
  background: none;
}
.tabs ul li{
  margin: 0;
  padding: 0 5px;
  border: none;
  background: none;
}
.tabs ul li a{
  border: none;
  background: none;
  padding: 2px 12px;
}
ul.primary li.active a {
  border: none;
  border-bottom: none;
  background-color: #a7937e;
  
}
ul.primary li a:hover {
  background-color: #a7937e;

}


ul.pager {
  padding-top: 15px;
  border-top: 1px solid #583d2e;
}

.item-list ul.pager li {
  padding: 2px 6px;
  font-style: normal;
  margin-left: 12px;
}
.item-list ul.pager li.pager-current{
  background: #8a8276;
  border-radius: 50%;
  font-weight: normal;
  color: #fff;
}



body{
  background: url(images/fon.jpg) repeat;
}

.delimetr {
  height: 1px;
  border-top: 1px solid #583d2e;
  padding-bottom: 30px;
}

/*
#center-bg {
  background: url(images/center-bg.png) no-repeat top center;
  position: relative;
}
@media screen and (max-width: 1279px){
  #center-bg {
    min-width: 1000px;
    max-width: 1279px;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1439px) {
  #center-bg {
    min-width: 1280px;
    max-width: 1439px;
  }
}
@media screen and (min-width: 1440px) and (max-width: 1919px) {
  #center-bg {
    min-width: 1440px;
    max-width: 1919px;
  }
}
@media screen and (min-width: 1920px) {
  #center-bg {
    min-width: 1279px;
    max-width: 2000px;
  }
}*/

.navigation ul.links li.last {margin-right: 0}
@media screen and (max-width: 1279px){
  div#header {
    width: 860px;
  }

  .navigation ul.links li:nth-child(4) {
    padding-left: 172px;
  }

  div#left-bg-top {
    background: url(images/left-bg-top-s.png) no-repeat top left;
  }
  div#right-bg-top {
    background: url(images/right-bg-top-s.png) no-repeat top right;
  }

}

@media screen and (min-width: 1280px) and (max-width: 2920px) {
  div#header {
    width: 1030px;
  }

  .navigation ul.links li:nth-child(4) {
    padding-left: 338px;
  }

  div#left-bg-top {
    background: url(images/left-bg-top-b.png) no-repeat top left;
  }
  div#right-bg-top {
    background: url(images/right-bg-top-b.png) no-repeat top right;
  }
}

#logodiv {
  position: absolute;
  width: 280px;
  height: 36px;
  overflow: hidden;
  top: 220px;
  left: 50%;
  margin-left: -142px;
  z-index: 1;
}

#logo {
  display: block;
  width: 280px;
  height: 36px;
}


#center-bg {
  background: url(images/center-bg.png) no-repeat top center;

}
div#left-bg {
  background: url(images/left-bg.png) repeat-y top left;
}

div#right-bg {
  background: url(images/right-bg.png) no-repeat top right;
  min-width: 1000px;
  max-width: 2920px;
  position: relative;
}


/*
div#header {
  margin: 0px 440px 0 436px;
  height: 78px;
}*/
div#header {
  margin: 0px auto;
  height: 78px;
}
div#page-wrapper {
  padding: 308px 0 0 0;
}
div#main-wrapper {
  margin: 0 78px 0 95px;
  position: relative;
  z-index: 20;
}

.navigation ul.links {
  padding: 24px 0 0 20px
}
.navigation ul.links li{
 /* float: left;
  padding: 0;
  margin: 0px 10px;
  list-style: none;
  text-transform: uppercase;*/
  
  margin: 0;
padding: 0px 10px;
list-style: none;
text-transform: uppercase;
display: table-cell;
}
.navigation ul.links li a{
  display: block;
  padding-bottom: 4px;
  text-decoration: none;
  font-family: 'outstandingregular';
  font-size: 6px;
}
.navigation ul.links li a:hover{
  border-bottom: 1px solid #502903;
}
.navigation ul.links li a.active{
  border-bottom: 1px solid #502903;
}
/*.navigation ul.links li:nth-child(4) {
  margin-left: 338px;
}*/


div#sidebar-first {
    width: 263px;
    float: left;
    margin-top:0;
}


#page-title {
  margin: 0;
  padding: 25px 80px 10px;
  text-align: center;
  vertical-align: middle;
}
.page-title {
  display: inline-block;
  position: relative;
}
.page-title-bg-left {
  width: 45px;
  height: 24px;
  background: url(images/title-left.png) no-repeat center left;
  position: absolute;
  left: -60px;
  top: 50%;
  margin-top: -12px;
}
.page-title-bg-right {
  width: 45px;
  height: 24px;
  background: url(images/title-right.png) no-repeat center right;
  position: absolute;
  right: -60px;
  top: 50%;
  margin-top: -12px;
}

div#content {
    margin: 0 0 0 304px;
}
div#main-menu-wrapper {
    background: url(images/nav-bg.png) no-repeat top left;
}

div#main-menu {
  background: url(images/nav-bg.png) no-repeat top right;
}


#sidebar-first .block-bg-top {
    width: 263px;
    height: 22px;
    background: url(images/block-bg-top.png) no-repeat top left;
}
#sidebar-first .block-bg-mid {
    background: url(images/block-bg-mid.png) repeat-y;
}
#sidebar-first .block-bg-bot {
    width: 263px;
    height: 24px;
    background: url(images/block-bg-bot.png) no-repeat bottom left;
    margin-bottom: 24px;
}
div#sidebar-first h2 {
    margin: 0px 0 8px 0;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 8px;
    font-family: 'outstandingregular';
    padding: 12px;
    background: url(images/block-delim.png) no-repeat bottom center;
}
.adv-search {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  margin: 10px 0 0px;
  font-size: 15px;
}
#sidebar-first .views-exposed-form #edit-field-country-tid-wrapper {
  background: url(images/block-delim.png) no-repeat bottom center;
  margin-bottom: 10px;
}

div#sidebar-first .views-exposed-widgets {
    margin-bottom: 0;
}
div#sidebar-first .block .content {
  padding: 0 26px;
}

div#bottom-bg-left {
    
    width: 104px;
    height: 30px;
    background: url(images/left-bg.png) repeat-y top left;
    position: absolute;
    left: 0px;
    bottom: -30px;

}
div#bottom-bg {
    
    width: 241px;
    height: 318px;
    background: url(images/bottom-bg.png) no-repeat bottom left;
    position: absolute;
    right: 0;
    bottom: -30px;
    z-index: 1;
}



#sidebar-first input.form-text {
    width: 198px;
    box-sizing: content-box;
}
#sidebar-first input.form-submit {
  
}
#sidebar-first .form-select{
    width: 198px;
    box-sizing: content-box;
    padding: 0px 6px;

}

#sidebar-first label {
    color: #fff;
    font-weight: normal;
    line-height: 1.5;
    font-size: 14px;
  
}


#sidebar-first .views-exposed-form .views-exposed-widget {
  float: left;
  padding: 0 0 6px 0;
}

#sidebar-first .views-exposed-form .views-exposed-widget.views-reset-button {
    clear: both;

}
#sidebar-first .views-exposed-form .views-submit-button {

}
#sidebar-first .views-exposed-form .views-reset-button {

}
#sidebar-first .views-exposed-form .views-submit-button .form-submit{
  margin-left: 54px;
  margin-top: 20px;
}
#sidebar-first .views-exposed-form .views-reset-button .form-submit{
  margin-left: 62px;
  background: none;
  border: none;
  color: #fff;
  margin-top: 6px;
  text-decoration: underline;
}



#footer {
  text-align: center;
  padding: 30px 100px 20px;
  font-style: normal;
  font-size: 16px;
  text-transform: uppercase;
}


.profile {
  clear: none;
}






/*==================== Catalogue ======================*/

/*
.view-id-catalogue.view-display-id-page .view-content:before,
.view-id-catalogue.view-display-id-page .view-content:after {
    content: "";
    display: table;
}
.view-id-catalogue.view-display-id-page .view-content:after {
    clear: both;
}*/


.view-catalogue img{
  width:100%;
  height:100%;
}

.view-catalogue .views-row {
  position:relative;
  box-sizing: border-box;
  float:left;
  margin-bottom: 12px;
}

.view-catalogue  .views-field-field-image {
  box-sizing: border-box;
  background: #fff;
  height: 100%;
  width: 100%;
  padding: 3px;
}
.view-catalogue  .views-field-field-image .field-content {
  box-sizing: border-box;
  padding: 3px;
  background: #3e3a3a;
  height: 100%;
  width: 100%;
}
.view-catalogue  .views-field-field-image a {
  display:block;
  box-sizing: border-box;
  width:100%;
  height:100%;
}


.view-gallety-block  .views-field-field-image {
  box-sizing: border-box;
  background: #fff;
  padding: 3px;
}

.view-gallety-block  .views-field-field-image .field-content {
  box-sizing: border-box;
  padding: 3px;
  background: #3e3a3a;
}

.view-gallety-block  .views-field-field-image a {
  display:block;
  box-sizing: border-box;
}
.view-gallety-block  .views-field-field-image img{
  display:block;
}




/*
.view-id-catalogue.view-display-id-page  .views-field-field-image,
.view-gallety-block  .views-field-field-image {
  box-sizing: border-box;
  width:100%;
  height:100%;
  border: 3px solid #fff;
}
.view-id-catalogue.view-display-id-page  .views-field-field-image .field-content,
.view-gallety-block  .views-field-field-image .field-content {
  box-sizing: border-box;
  width:100%;
  height:100%;
  border: 2px solid #3e3a3a;
}
.view-id-catalogue.view-display-id-page  .views-field-field-image a,
.view-gallety-block  .views-field-field-image a {
  display:block;
  box-sizing: border-box;
  width:100%;
  height:100%;
  border: 3px solid #fff;
  
}

.view-id-catalogue.view-display-id-page  .views-field-field-image,
.view-gallety-block  .views-field-field-image {
    -webkit-mask: url('images/mask.png');
    mask: url('#mask');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
    
}*/

#svg-block {
  display: none;
}

/*.view-id-catalogue.view-display-id-page  .views-field-field-image,
.view-gallety-block  .views-field-field-image {
    -webkit-mask: url('images/mymask.png');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
}*/

/*
.view-id-catalogue.view-display-id-page  .views-field-field-image.mask-1,
.view-gallety-block  .views-field-field-image{
    -webkit-mask: url('images/mymask.png');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
}

.view-id-catalogue.view-display-id-page  .views-field-field-image.mask-2,
.view-gallety-block  .views-field-field-image{
    -webkit-mask: url('images/mask.png');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
}*/

/*
.cnr-1{
  position: absolute;
  width: 24px;
  height: 24px;
  top: 0;
  left: 0;
  background: url(images/corner-4.png) no-repeat top left;
  z-index: 200;
}
.cnr-2{
  width: 24px;
  height: 24px;
  top: 0;
  right: 0;
  background: url(images/corner-4.png) no-repeat top left;
  z-index: 200;
  position: absolute;
}
.cnr-3{
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: 0;
  right: 0;
  background: url(images/corner-4.png) no-repeat top left;
  z-index: 200;
}
.cnr-4{
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: 0;
  left: 0;
  background: url(images/corner-4.png) no-repeat top left;
  z-index: 200;
}*/




.my-close-popup {
  width:20px;
  height:20px;
  background: url(images/close.png) no-repeat center left;
  cursor:pointer;
  float:right;
}

.view-catalogue .views-field-nothing {
  display: none;
  position: fixed;
  top: 20%;
  left: 40%;
  z-index:500;
  border: 2px solid #938378;
  background-color:#e0ded7;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}
.view-catalogue .views-field-nothing .field-content {
  padding: 30px;
  display:block;

}


.cat-popup h4 {
  text-align: center;
  margin: 0 0 16px 0;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  display: inline-block;
}
.cat-popup .h4title {
  text-align: center;
}
.popup-title-bg-left {
  width: 45px;
  height: 24px;
  background: url(images/popup-title-left.png) no-repeat center left;
  position: absolute;
  left: -60px;
  top: 50%;
  margin-top: -12px;
}
.popup-title-bg-right {
  width: 45px;
  height: 24px;
  background: url(images/popup-title-right.png) no-repeat center right;
  position: absolute;
  right: -60px;
  top: 50%;
  margin-top: -12px;
}

.cat-popup table {
  font-size: 12px;
  text-align: center;
}
.cat-popup table tbody {
    border: none;

}
.cat-popup table th {
  border-bottom: 1px solid #72655b;
  text-align: center;
  padding: 2px 1em;
  border-right: 1px solid #72655b;
}
.cat-popup table th:last-child {
  border-right: none;
}
.cat-popup table tr {

}
.cat-popup table tr td{
  padding: 1em;
  border-right: 1px solid #72655b;
  line-height: 14px;
}
.cat-popup table tr td:last-child {
  border-right: none;
}
.cat-popup p {
  font-size: 14px;
  line-height: 18px
}
.cat-popup  a{
  text-decoration: underline;
}
.cat-popup .description-wrapper{
    padding-top: 20px;
  
}




.view-catalogue .views-field-nothing-1 {
  position:absolute;
  width:45px;
  height:69px;
  background: url(images/label.png) no-repeat center right;
  top:0;
  bottom:0;
  margin-top: auto;
  margin-bottom: auto;
  right:6px;
  cursor:pointer;
}


.view-gallety-block .views-row {
  padding-bottom: 15px;
}




ul.transformSelect{
  position: relative;
  z-index: 200;
  margin: 0;
  padding: 0;
  height: 28px;
  width: 211px;
  background: url('images/select.png') no-repeat 186px 3px #fff;
}


ul.transformSelect li{
  list-style: none;
}


.transformSelect li span{
  box-sizing: border-box;
  display: block;
  font-size: 14px;
  color: #72655b;
  text-align: left;
  cursor: pointer;
  padding: 0px 14px;
  
}
ul.transformSelect li li span{
  box-sizing: border-box;
  background: #fff;
  height: 20px;
  line-height: 20px;

}
ul.transformSelect li li span:hover{
  background: #eee;
}

ul.transformSelectDropdown {
  height: 340px;
  overflow-y: scroll;
}

html.js input.form-autocomplete {
  background-image: url(/misc/throbber.gif);
  background-position: 99% 8px;
  background-repeat: no-repeat;
}


.node.clearfix:after{
    clear: none;
}
.node .content.clearfix:after {
    clear: none;
}



/* Custom CSS*/

#center-bg{
  background:none;
}

div#left-bg{
  background:none;
}

div#right-bg{
  background:none;min-width:initial;
}

div#right-bg-top{
  background:none;
}

div#left-bg-top{
  background:none;
}

div#page-wrapper{
  padding: 0;
}

#logodiv{
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  width: 100%;
  height: auto;
}

#logo{
  width: auto;
  height: auto;
}

#logo img{
  width:100%;
}

div#content {
    margin: 0;
    float: right;
    width: 73%;
}

div#sidebar-first {
    width: 263px;
    float: left;
}

div#bottom-bg-left{
  background:none;
}

#page-title{
  padding-top:0;
}

@media screen and (max-width:1200px){
  div#content{
    width:70%;
  }

  div#main-wrapper{
    width: 96%;
    margin: 0 auto;
    max-width: 96%;
  }

}

@media screen and (max-width:1000px){
  div#header{
    text-align:center;
    max-width: 100%;
  }

  div#header .section{
    display:inline-block;
  }

  div#main-menu-wrapper {
    background: url(images/nav-bg.png) repeat-x 50% 0;
    float: left;
  }

  div#main-menu{
    background:none;
  }

  .navigation ul.links{
    padding: 24px 0px 0 0px;
    float: left;
    width: 100%;
  }

  .navigation ul.links li:nth-child(4) {
      padding-left: 10px;
  }

  .view-catalogue .views-field-nothing{
    transform: translateX(-50%);
    left: 50%;
  }

  pre{
    white-space: initial;
  }
}

@media screen and (max-width:950px){
  div#content {
    width: 65%;
  }

  input.form-text{
    width:95%;
  }
}

@media screen and (max-width:800px){
  div#content {
    width: 60%;
  }
}

@media screen and (max-width:700px){
  div#content {
    width: 55%;
  }

  div#header{
    height: auto;
    margin-bottom: 20px;
  }

  .navigation ul.links{
    padding: 10px 0px 0 0px;
  }

  .navigation ul.links li{
    display: inline-block;
  }

  div#bottom-bg{
    background:none;
  }  
}

@media screen and (max-width:630px){
  div#content {
    width: 50%;
  }
}

@media screen and (max-width:550px){
  div#header{
    margin-bottom:0;
  }

  div#header .section:after{
    display:none;
  }

  div#content{
    width:100%;
    margin-bottom: 40px;
    text-align: center;
  }

  div#sidebar-first{
    float: none;
    clear: both;
    margin: 0 auto;
  }  

  .view-catalogue .views-row{
    
  }

  .view-catalogue .views-field-nothing{
    width: 98%;
  }

  .view-catalogue .views-field-nothing .field-content{
    padding:10px;
  }

  .cat-popup{
    overflow: auto;
  }

  #partners .partner{
    text-align:center;
  }

  .field-item #partners .logo{
    margin-right: 0;
    float: none;
  }

  #main-menu-links:after{
    display:none;
  }

  #footer{
    padding: 30px 0 20px;
  }
}