/* =========================== */

body
{
  background: url(../img/bag/2.jpg);
}

@font-face {
  font-family: Log;
  src: url(../fonts/Pompadur.ttf);
}

@font-face {
  font-family: Menu;
  src: url(../fonts/AmericanRetro.ttf);
}

@font-face {
  font-family: Text;
  src: url(../fonts/ArnoldBocklinC.ttf);
}

@font-face {
  font-family: DecorText;
  src: url(../fonts/Preciosa.ttf);
}

#page
{
  /*TODO*/
}

/*** header *******************************************************************/
#header
{
  display: block;
  float: left;
  width: 100%;
  height: 200px;
  background: url(../img/headerbg.jpg) repeat-x;
  box-shadow: 0 10px 10px -2px rgba(0,0,0,0.7);
  -moz-box-shadow: 0 10px 10px -2px rgba(0,0,0,0.7);
  -webkit-box-shadow: 0px 10px 10px -2px rgba(0,0,0,0.7);
  z-index: 20;
  float: left;
  margin-top: -10px;
  margin-left: -10px;
  padding-right: 18px;
  position: relative;
}
#logo
{
  float: left;
  width: 415px;
  height: 200px;
  background: url('../img/top_img.png')  no-repeat center center;
}

 /* 950 x 550 */
#site-name {
  float: left;
  margin-top: 20px;
  width: calc(100% - 400px - 380px);
  text-align: center;
}
#site-name a
{
  font-family: DecorText;
  font-size: 55px;
  letter-spacing: 3px;
  color: #9a7d5d;
  text-decoration: none;
}
#site-name a span{
  font-size: 40px;
}
.custom-topSlider p{
  display: none;
}

#contacts
{
  float: right;
  width: 350px;
  letter-spacing: 2px;
  color: #9a7d5d;
  font-size: 20px;
  text-align: right;
  padding-right: 10px;
  margin-top: 25px;
}
#contacts div{
    margin-bottom: 10px;
    float: right;
}
#contacts #search{
  margin-top: 15px;
  float: left;
  margin-left: 35px;
}
#contacts #search div{
  float: left;
}
#contacts #phone img{
  margin-left: 15px;
  float: right;
  width: 18px;
}
#contacts #email img{
  margin-left: 15px;
  margin-top: 4px;
  float: right;
  width: 18px;
}
#contacts #geo {
  /* font-size: 12px; */
}
#contacts #geo p{
  float: left;
  margin-right: 30px;
  margin-top: -0px;
  margin-bottom: -20px;
  font-size: 16px;
}
#contacts #geo img{
  margin-left: 15px;
  float: right;
  width: 18px;
  margin-top: -20px;
}
#contacts #vk img{
  margin-left: 15px;
  margin-top: 4px;
  float: right;
  width: 18px;
}
#contacts #search img{
  display: none;
  margin-left: 15px;
  margin-top:4px;
  width: 18px;
}

/*** centr *********************************************************************/
#centr
{
  display: block;
  float: left;
  width: 90%;
  margin-left: 5%;
  z-index: 10;
}

/*** left **********************************************************************/
#left
{
  display: block;
  width: 232px;
  float: left;
  margin-top: -7px;
}

/*** wp-content ****************************************************************/
#wp-content-c
{
  display: block;
  float: left;
  width: calc(100% - 332px);
  min-width: 300px;
  min-height: 700px;
  z-index: 10;
}
#wp-content-c > div
{
  float: left;
  width: 100%;
  margin-left: 50px;
  margin-right: 50px;
}

#nav-main{
  float: left;
  width: 100%;
  height: 100px;
  background: url('../img/nav_main_left.png') no-repeat left center,
  url('../img/nav_main_right.png') no-repeat right center;
  background-size: 74px;
}
#nav-main-wp{
  float: left;
  display: block;
  height: 34px;
  width: calc(100% - 140px);
  margin-left: 70px;
  margin-top: 31px;
  border-top: 2px solid #372221;
  border-bottom: 2px solid #372221;
}
.moduletable-nav-main {
  position: absolute;
  left: 50%;
  display: block;
  margin-left: -286.6px;
}
.moduletable-nav-main ul{
  float: left;
  list-style-type: none;
  margin: 0;
  height: 34px;
}
.moduletable-nav-main li{
  float: left;
  height: 100%;
}
.moduletable-nav-main li:nth-child(1){
  margin-left: -40px;
}
.moduletable-nav-main li a{
  float: left;
  text-decoration: none;
  font-family: Menu;
  font-size: 26px;
  margin: 0, auto;
  color: #372221;
  padding-left: 10px;
  padding-right: 10px;
  height: 100%;
  /* border-right: 2px solid #372221; */
}
.moduletable-nav-main li a::before{
  content: "*";
  float: right;
  display: block;
  font-size: 50px;
  margin-top: 3px;
  margin-left: 10px;
}
.moduletable-nav-main ul li:last-child a {
    border: none;
}
.moduletable-nav-main ul li:last-child a::before {
    content: none;
}

#content-center
{
  float: left;
  width: calc(100% - 220px);
}

#text-slider
{  
  float: left;
  width: 100%;
  border: 5px solid #9a7d5d;
  box-shadow: 0 0px 10px 2px;
  margin-top: 20px;
  margin-bottom: 20px;
  width: calc(100% - 10px);
  min-height: 400px;
}

#content
{
  float: left;
  /* box-shadow: 0 0px 30px 2px; */
  box-shadow: 0 0px 10px 2px;
  background-color: #FFEFD5;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 20px;
  min-width: 90%;
  min-height: 650px;
}

/*** right *********************************************************************/
#content-right{
  float: right;
  width: 180px;
  min-height: 200px;
  margin-left: 30px;
  margin-top: 20px;
  background: url('../img/right.png') no-repeat center top;
  background-size: 180px;
  height: 280px;
}
#content-right .stext{
  font-family: DecorText;
  font-size: 30px;
  text-align: center;
  margin-top: 60px;
}
#content-right .stext span{
  font-size: 24px;
  /* margin-top: -15px; */
}
#content-right .sertificat{
  font-family: DecorText;
  font-size: 30px;
  text-align: center;
  margin-top: -30px;
}
#content-right .sertificat a{
  color: #372221;
}

/* slider foto content */
/* #c-top-slider > .moduletable
{
  width: 100%;
  float: left;
}
#c-top-slider > .moduletable > .box_skitter
{
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}
*/

#footer
{
  position: relative;
  width: 100%;
  height: 70px;
  background: url(../img/headerbg.jpg) repeat-x;
  box-shadow: 0 -10px 10px -2px rgba(0,0,0,0.7);
  z-index: 100;
  float: left;
  margin: 0px 0px 0px -10px;
  padding: 0px 8px 20px 10px;
}

#footer > p
{

  font-family: Text;
  font-size: 18px;
  color: #9a7d5d;
  margin-left: 5%;
  margin-top: 30px;
}

#ornament
{
  width: 232px;
  height: 105px;
  background: url(../img/menu_ornament.png) no-repeat;
  z-index: 10;
}

/*** menu left ****************************************************************/
#menu_top
{
  width: 232px;
  height: 100px;
  margin-top: -10px;
  background: url(../img/menu_top.png) no-repeat;
}

#menu
{
  top: 195px;
  width: 232px;
  margin-top: -17px;
}

#nav_top
{
  left: 12px;
  width: 208px;
  margin: 0 0 -20px 0;
  background-color: #372221;
  position: relative;
}

#menu_botton
{
  width: 232px;
  height: 100px;
  background: url(../img/menu_botton.png) no-repeat;
}

#log_top
{
  top: 0px;
  width: 484px;
  height: 128px;
  background: url(../img/log_top.png) no-repeat;
  z-index: 70;
  margin: 0 auto;
}

#log_botton
{
  left: 50%;
  width: 484px;
  height: 128px;
  background: url(../img/log_botton.png) no-repeat;
  z-index: 70;
  margin: 0 auto;
}

#log
{
  font-family: Log;
  font-size: 27px;
  width: 484px;
  margin: 0 auto;
  z-index: 70;
  text-align: center;
  letter-spacing: 10px;
  font-weight: bold;
  color: #9a7d5d;
}

#nav_top_on{
	display: none;
}

#nav_top ul li
{
  list-style: none;
  text-align: center;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  padding: 5px 20px 5px 0px;
  margin: 5px 10px 10px -30px;
  /*
  padding: 10px 20px 10px 0px;
  margin:  10px 10px 20px -30px;
  */
  box-shadow: 0 0px 5px 1px;
}

#nav_top ul ul
{
  list-style: circle;
}

#nav_top ul ul li
{
  text-decoration: none;
  list-style-type: disc;
  text-align: left;
  border: 0px solid #000;
  box-shadow: 0 0px 0px 0px;
  padding: 0px 10px 0px 0px;
  margin: 5px 0px 5px 0;
}

#nav_top ul ul li a
{
  font-family: serif;
  font-size: 14px;
  color: #9a7d5d;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
}

#nav_top ul ul li a:hover
{
  font-family: serif;
  font-size: 14px;
  color: #9a7d5d;
  text-align: center;
  letter-spacing: 1px;
}

#nav_top li a:hover
{
  font-family: Menu;
  font-size: 28px;
  color: #9a7d5d;
  text-align: center;
  //text-decoration: underline;
  text-decoration: none;
  letter-spacing: 1px;
  text-decoration: none;
  border-bottom: 1px solid #9a7d5d;

}

#nav_top li a
{
  font-family: Menu;
  font-size: 28px;
  color: #9a7d5d;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
}

#content p
{
  font-family: serif;
  font-size: 15px;
}

#content img
{
  float: left;
}

#content h1, h2, h3
{
  font-size: 28px;
  /* margin-top: 50px; */
  /* margin-bottom: 25px; */
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  border-bottom: 1px solid #372221;
  text-indent: 20px;
  color: #372221;
}

#browser
{
  position: absolute;
  top: 100px;
  left: 50%;
  margin: 0 0 0 -150px;
  width: 300px;
  height: 100px;
  border: 2px solid blue;
  background-color: #ccc;
  z-index: 2;
}

/* photo */
.sigplus-gallery
{
  display:inline-block;
  vertical-align:middle;
  margin-top: -50px;
  text-align: center;
  width: 100%;
}

/* form obr svyazi */

.moduletable form
{
  width: 80%;
  margin-left: 10%;
}

.foxcontainer
{
  display:inline-block;
  vertical-align:middle;
}

.foxcontainer form
{
  text-align: center;
}

.moduletable h3
{
  display: none;
}

.fox-copyright
{
  display: none;
}

#system-message-container
{
  display:  none;
}

/* search */

.finder
{
  margin: 20px 0 0 0;
  text-align: center;
}

.finder h1
{
  border-bottom: 1px solid #000;
  text-indent: 20px;
}

.word
{
  display:inline-block;
  border: 0px;
  width: 100%;
}

.word label
{
  display: none;
  text-align: center;
}

.inputbox
{
  display:inline-block;
  width: 70%;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border: 1px solid #372221;
  font-size: 14px;
}

.button
{
  display:inline-block;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border: 1px solid #372221;
  background-color: #FFEFD5;
  font-size: 14px;
}

#search-query-explained
{
  display: none;
}

.result-title a
{
  font-size: 16px;
  color: #372221;
}

#search-result-empty h2
{
  display: none;
}

/* nav-top */

#top_m
{
  position: absolute;
  width: 98px;
  height: 16px;
  margin: -308px 0px 0px 85%;
  z-index: 10000;
  float: left;
}

#top_home
{
  width: 16px;
  height: 16px;
  float: left;
  padding: 0 10px 0 0;
}

#top_search
{
  width: 16px;
  height: 16px;
  float: left;
  padding: 0 10px 0 0;
}

#top_mail
{
  width: 16px;
  height: 16px;
  float: left;
  padding: 0 10px 0 0;
}

#top_tel
{
  width: 16px;
  height: 16px;
  float: left;
}

#top_tel_list
{
  position: absolute;
  margin: -278px 0px 0px 83%;
  z-index: 10000;
  float: left;
  border: 1px solid #666;
  background-color: #FFEFD5;
  box-shadow: 0 0px 5px -1px;
  -moz-box-shadow: 0 0px 5px -2px;
  -webkit-box-shadow: 0 0px 5px -2px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  padding: 20px;
  text-align: center;
}

#search ul li
{
  list-style: none;
  margin: -16px 0px 0px -30px;
}

#search span
{
  display: none;
}

/* #top_home img {  border: 0px; }
#top_mail img {  border: 0px; }
#top_tel img {  border: 0px; }
#top_search img {  border: 0px; } */

/* pagination */
.pagination li
{
  list-style: none;
  display: inline;
  padding: 5px;
  font-family: Text;
  font-size: 14px;
  color: #372221;
}

.pagination li a
{
  list-style: none;
  display: inline;
  padding: 5px;
  font-family: Text;
  font-size: 14px;
  color: #372221;
}

.pagenav
{
  list-style: none;
  display: inline;
  padding: 5px;
  font-family: Text;
  font-size: 16px;
  color: #9a7d5d;
}

/* category*/
.category-desc
{
  display:inline-block;
  width: 100%;
}

.category
{
  padding-top: 20px;
}

.category a
{
  padding: 5px;
  font-family: Text;
  font-size: 18px;
  color: #372221;
  text-decoration: none;
}

.category a:hover
{
  padding: 5px;
  font-family: Text;
  font-size: 18px;
  color: #372221;
  text-decoration: underline;
}

/* links to photo gallery  */

.photoalb
{
  float: left;
  text-align: center;
  margin: 20px;
}

.photoalb img
{
  margin: 0 0 5px 0;
  box-shadow: 0 0 10px 2px;
  -moz-box-shadow: 0 0 10px 2px;
  -webkit-box-shadow: 0 0 10px 2px;
}

.photoalb a
{
  border: 0px;
  color: #000;
}

/* ad */
/* @media screen and (max-width: 1250px) {

  #text-slider
  {
    display: none;
  }

  #text-ts
  {
    width: 45%;
    margin: -328px 0px 0px 50%;
  }

} */

/* active menu */
.current a
{
 //border-bottom: 1px solid #9a7d5d;
}

.current li a
{
 //border-bottom: 1px solid #9a7d5d;
}

/* phoca gallery */
#phocagallery
{
  position: relative;
  border: 1px solid red;
  margin-top: 800px;
  top: -780px;
  vertical-align: top;
  //margin-bottom: -800px;
}

#pg-icons
{
  display: none;
}

/* photoico */
.photoico
{
  width: 250px;
  height: 150px;
  margin: 10px;
  float: left;
}
.photoico img
{
  width: 250px;
  height: 110px;
  background-color: #fff;
  box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}
.photoico img:hover
{
  width: 250px;
  height: 110px;
  background-color: #fff;
  box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.8);
}
.photoico p
{
  text-align: center;
  margin-top: 10px;
}

/*** search */

#mod-finder-searchform91, #text-search{
	text-align: center;
}

#mod-finder-searchword91, #mod-finder-searchword90 {
    width: 250px;
    height: 20px;
    border-radius: 10px;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
    color: rgb(154, 125, 93);
    background: rgba(55,34,33,0.5);
    border: 1px solid rgb(154, 125, 93);
    padding: 5px 15px;
}
.element-invisible{
  display: none;
}
#search-results{
    text-align: left;
}
#search-form{
  margin-top: 60px;
}
#search-form input {
    height: 20px;
    border-radius: 10px;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
    color: rgb(154, 125, 93);
    border: 1px solid rgb(154, 125, 93);
    padding: 5px 15px;
}

#search-form button {
    border-radius: 10px;
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.5);
    color: rgb(154, 125, 93);
    font-size: 18px;
    background: rgb(55, 34, 33);
    border: 1px solid rgb(154, 125, 93);
    padding: 5px 15px;
}

/* SEO */
.s-h1
{
  font-size: 14px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  border-bottom: 0px solid #372221;
  text-indent: 0px;
  color: #372221;
}

#content ul.sigFreeClassic {
    clear: none !important;
}


@media  (max-width: 1360px) and (min-width: 960px) {

  #site-name span{
    display: none;
  }
  .moduletable-nav-main::before{
    content: "МЕНЮ";
  }
  .moduletable-nav-main {
      /* border: 1px solid red; */
      float: left;
      display: block;
      margin: 0;
      width: 100%;
      height: 100%;
      z-index: 100;
      position: unset;
      text-align: center;
      left: auto;
      margin-left: -auto;
      font-family: DecorText;
      font-size: 26px;
      margin-top: 3px;
  }
  .moduletable-nav-main ul {
    float: left;
    position: relative;
    list-style-type: none;
    margin: 0;
    height: auto;
    background-color: #372221;
    display: none;
    border-radius: 0px 0px 22px 23px;
    -moz-border-radius: 0px 0px 22px 23px;
    -webkit-border-radius: 0px 0px 22px 23px;
  }
  #nav-main-wp:hover .moduletable-nav-main ul{
    display: block;
  }
  .moduletable-nav-main li {
      margin-left: -40px;
      width: 100%;
      margin-top: 5px;
      margin-bottom: 5px;
  }
  .moduletable-nav-main li a {
      color: #9a7d5d;
      width: 100%
  }
  .moduletable-nav-main::before li{
      float: none;
      display: block;
      position: absolute;
  }
  .moduletable-nav-main li:nth-child(1) {
    margin-left: -40px;
  }
  .moduletable-nav-main li a::before{
    display: none;
  }
  #text-slider {    display: none;	}
}

@media (max-width: 1430px) and (min-width: 1361px) {
  .moduletable-nav-main {
      margin-left: -245.6px;
  }
  .moduletable-nav-main li a {
      font-size: 22px;
  }
  #text-slider {    display: none;	}
}

/* @media (max-width: 959px) and (min-width: 525px) */
@media screen and (max-width: 959px) {

  #text-slider {    display: none;	}	
  #header{
    height: 150px;
  }
  #logo, #contacts #email, #contacts #geo, #contacts #search, #contacts #phone img, #site-name span {
    display: none;
  }
  #site-name{
    width: 100%;
    margin-top: 10px;
  }
  #contacts, #contacts #phone{
    width: 100%;
    text-align: center;
    font-size: 30px;
  }
  #left{
    width: 100%;
  }
  #menu {
    top: 195px;
    width: 100%;
    margin-top: 7px;
  }
  #nav_top {
    width: 100%;
    left: 0px;
  }
  #nav_top::before{
    content: "МЕНЮ";
    height: 30px;
    width: 100%;
    display: block;
    text-align: center;
    color: #9a7d5d;
    font-size: 20px;
    padding-top: 15px;
  }
  #ornament, #menu_top, #menu_botton{
    display: none;
  }
  #nav_top_on{
    /* display: block; */
  }
  #nav_top ul{
    display: none;
  }
  #menu:hover #nav_top ul{
    display: block;
  }
  #nav_top ul li {
      list-style: none;
      text-align: center;
      border-top: none;
      border-bottom: none;
      padding: none;
      margin: none;
      box-shadow: none;
      /* padding: 10px 20px 10px 0px; */
      margin: 0px 0px 0px 0px;
  }
  #nav_top li a {
      /* font-size: 20px; */
  }
  #nav_top ul li {
      padding: none;
  }

  #wp-content-c {
      width: 100%;
  }
  #nav-main {
      float: left;
      width: 100%;
      height: 100px;
      background: none;
      background-size: 0px;
      height: auto;
  }
  #wp-content-c > div {
      margin-left: 0px;
      margin-right: 0px;
  }
  #nav-main-wp {
      float: left;
      display: block;
      height: auto;
      width: 100%;
      margin-left: 0px;
      margin-top: 31px;
      border-top: none;
      border-bottom: none;
  }
  .moduletable-nav-main::before{
    display: none;
  }
  .moduletable-nav-main {
      /* border: 1px solid red; */
      float: left;
      display: block;
      margin: 0;
      width: 100%;
      height: 100%;
      z-index: 100;
      position: unset;
      text-align: center;
      left: auto;
      margin-left: -auto;
      font-family: DecorText;
      font-size: 26px;
      margin-top: 3px;
  }
  .moduletable-nav-main ul {
    float: left;
    position: relative;
    list-style-type: none;
    margin: 0;
    height: auto;
    background-color: rgba(0,0,0,0);
    border-radius: 0px 0px 22px 23px;
    -moz-border-radius: 0px 0px 22px 23px;
    -webkit-border-radius: 0px 0px 22px 23px;
  }
  #nav-main-wp:hover .moduletable-nav-main ul{
    display: block;
  }
  .moduletable-nav-main li {
      margin-left: -40px;
      width: none;
      margin-top: 15px;
      margin-bottom: 15px;
      border: 2px solid #372221;
      margin: 0, 10px;
      margin-left: 10px;
      margin-right: 10px;
      padding: 5px;
      text-align: center;
      display: block;
  }
  .moduletable-nav-main li a {
    float: left;
    text-decoration: none;
    font-family: Menu;
    font-size: 26px;
    margin: 0, auto;
    color: #372221;
    padding-left: 0px;
    padding-right: 0px;
    height: 100%;
    color: #372221;
  }
  .moduletable-nav-main::before li{
      float: none;
      display: block;
      position: absolute;
  }
  .moduletable-nav-main li:nth-child(1) {
    margin-left: -40px;
  }
  .moduletable-nav-main li a::before{
    display: none;
  }
  #content-center {
      width: 100%;
  }
  #content-right {
      float: left;
      margin-left: calc(50% - 90px);
      width: 180px;
      min-height: 200px;
      margin-top: 20px;
      background: url(../img/right.png) no-repeat center top;
      background-size: 180px;
      height: 280px;
  }
}
@media screen and (max-width: 525px) {
  #site-name a {
    font-size: 35px;
  }
  #contacts, #contacts #phone {
    font-size: 25px;
  }
}
