@charset "UTF-8";
/*!

This theme makes use of Bourbon, Bitters, Neat, Sass, Genericons, and the Google fonts Lato and PT Serif.
  Bourbon: http://bourbon.io/
  Bitters: http://bitters.bourbon.io/
  Neat: http://neat.bourbon.io/
  Sass: http://sass-lang.com/
  Genericons: http://genericons.com/
*/





button,
input[type="submit"] {
  -webkit-font-smoothing: antialiased;
  background-color: #ccc;
  border-radius: 3px;
  color: white;
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  line-height: 1;
  padding: 0.75em 1em;
  text-decoration: none; }
  button:hover,
  input[type="submit"]:hover {
    background-color: #2c5999;
    color: white; }
  button:disabled,
  input[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.5; }

html,body {
  -webkit-font-smoothing: antialiased;
  background-color: #FFF;
  color: #333;
  font-family: Lato, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5; 
  min-width: 100%;
  height: 100%;
}
#wrap-body{
  display: table;
  height: 100%;
  width: 100%;
}
#content {
    display: table-row;
    height: 100%;

/*
    position:absolute; 
    left:0; 
    right:0; 
*/
/*
    top:570px;  // высота моего хидера 
    bottom:164px; // высота футера 
    overflow-x:hidden; 
    overflow-y:auto; 
*/

}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Lato, "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  line-height: 1.25;
  margin: 0;
  text-rendering: optimizeLegibility; }

h1 {
  font-size: 2em; }

h2 {
  font-size: 1.75em; }

h3 {
  font-size: 1.5em; }

h4 {
  font-size: 1.25em; }

h5 {
  font-size: 1.1em; }

h6 {
  font-size: 1em; }

p {
  margin: 0 0 0.75em; }

a {
  -webkit-transition: color 0.1s linear;
  -moz-transition: color 0.1s linear;
  transition: color 0.1s linear;
  color: #477DCA;
  text-decoration: none; }
  a:hover {
    color: #2c5999;
    text-decoration: underline; }
  a:active, a:focus {
    color: #2c5999;
    outline: none; }
.clear{clear: both;}

img,
picture,
figure {
  margin: 0;
  max-width: 100%; }

abbr,
acronym {
  border-bottom: 1px dashed #999;
  cursor: help; }

blockquote {
  border-left: 2px solid #999;
  color: #595959;
  margin: 1.5em 0;
  padding-left: 0.75em; }

cite {
  color: #737373;
  font-style: italic; }
  cite:before {
    content: "\2014 \00A0"; }

pre {
  background: #f7eb76;
  border-radius: 3px;
  overflow: scroll;
  padding: 0.375em; }

code {
  background: #f7eb76;
  border-radius: 3px;
  padding: 0.375em; }

fieldset {
  background: #b3b3b3;
  border: 1px solid #999;
  margin: 0 0 0.75em 0;
  padding: 1.5em; }

textarea {
  resize: vertical; }

input[type="search"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none; }

input[type="checkbox"],
input[type="radio"] {
  display: inline;
  margin-right: 0.375em; }

input[type="file"] {
  padding-bottom: 0.75em;
  width: 100%; }

.search-form input[type="submit"] {
  display: none; }

button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap; }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

body {
  margin: 132px 0 0 0;
  padding: 0;
  -ms-word-wrap: break-word;
  word-wrap: break-word; }

img {
  height: auto;
  max-width: 100%;
}


header#masthead{
    position: fixed;
    top: 0;
    width: 100%;
    margin: 0 auto;
    background: #FFF;
    border-bottom: 1px solid #ccc;
}
header#masthead table#top-table{width: 1140px; margin: 0 auto;}
header#masthead table#top-table td { vertical-align: middle; } 
header#masthead table#top-table td #namesait,header#masthead table td  #slogan{ 
margin-left: 20px; 
z-index: 100;
} 

#logo{
    width: 100px;
    height: 100px;
}

#slogan{font-size: 1.5em; line-height:16px;}

#contacts div{text-align: right;}
#contacts a{color: #000;}


#cont-phone{font-size: 1.8em; line-height: 26px;}
#cont-mail{font-size: 1.5em;}
#cont-address{font-size: 1.5em; line-height:22px;}

#header-razdel{border-bottom: 1px solid #ccc; margin: 5px 0;}
#top-menu{width: 1140px; margin: 0 auto; margin-bottom: 5px;}
#top-menu table{ margin: 0 auto;}
.menu{margin: 0; padding: 0;}


#site-navigation ul{margin-left: 0; padding-left: 0;}
#site-navigation li{ font-size: 1.4em; list-style-type: none; float: left; margin: 0 15px;}
#site-navigation li a{font-size: 1.2em; color: #000;}
#site-navigation li:first-child{margin-left: 0;}
#site-navigation li:last-child{margin-right: 0;}

.fixed_menu{ 
    position: fixed;
    top: 0;
    -webkit-box-shadow: 0px 7px 8px 0px rgba(50, 50, 50, 0.21);
    -moz-box-shadow:    0px 7px 8px 0px rgba(50, 50, 50, 0.21);
    box-shadow:         0px 7px 8px 0px rgba(50, 50, 50, 0.21);
}
.fixed_menu #logo{
    width:  40px;
    height: 40px;
}
.fixed_menu #slogan{
    display: none;
}
.fixed_menu #namesait{margin-left: 10px;}
.fixed_menu #namesait h1{font-size: 1.5em;}
.fixed_menu #cont-phone{float: right; font-size: 1.4em; margin: 5px 0 0 10px;}
#wrap-cont-mail-address{float: right; }
#wrap-cont-mail-address a{font-size: 1em;}
.fixed_menu #site-navigation li a {font-size: 1em;}

#top-img{ 
    border-top: 1px solid #ccc;
    height: 350px;
    background: url(../smile/img/top-img.jpg) 0 -166px no-repeat; 
    -moz-background-size: 100%; /* Firefox 3.6+ */
    -webkit-background-size: 100%; /* Safari 3.1+ и Chrome 4.0+ */
    -o-background-size: 100%; /* Opera 9.6+ */
    background-size: 100%; /* Современные браузеры */
}



.content{width: 1140px; margin: 0 auto;}
h2{text-align: center;margin: 15px 0;}
.content h2{margin: 15px 0;}
.content h2,.content h3{text-align: center;}
.content h3{color:#FFF;}

#wrap-moj{width: 100%;}
#moj table{width: 100%;}
#moj div{border-radius: 10px; background: #CCCB99; padding: 10px;}
#moj td:nth-child(2) div{margin: 0 15px;}

.moj ul{ margin-left: 10px; padding-left: 0;}
.moj ul li{ list-style-type: none;}
.moj h3{ margin-bottom: 12px; }

#bg-prise{
	background: url(../smile/img/bg-prise.jpg) 0 0;
    color: #fff;
    min-height: 800px;
    padding: 30px 0;
}


#works{background: #ccc;}
#works h2{margin: 0; padding: 15px 0;}



.cd-top {
    display: inline-block;
    height: 80px;
    width: 80px;
    position: fixed;
    bottom: 250px;
    right: 10px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: url(../smile/img/uptop-1.png) no-repeat center;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
    z-index: 50;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 1;
}


footer {
  width: 100%;
  height: 570px;
  background: #636363;
}
footer .content{color:#fff;}

#map{height: 450px;}
#map iframe{height: 452px;}

#map #contact{
    position: absolute;
    margin: 130px 0 0 200px;
    width: 200px;
    height: 300px;
    background-color: #FFF;
    border-radius: 10px;
}

td.va-top{vertical-align: top;}
/* панель навигации вкладок */

.tabs_block td:nth-child(1){width: 230px;}

.tabs {
    margin: 0;
    padding: 0;
    list-style: none;
    float:left;
    width: 210px;
    margin-right: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: rgba(60, 60, 60, 0.6);
}
/* список вкладок */
.tabs li {
    text-align:center;
    width: 100%;
    float:left;
    padding:8px 10px;
    margin-right:1px;
    cursor:pointer;
    color:#fff;
    -webkit-transition:all .2s linear 0s;
    -webkit-transition-delay:.2s 0s;
    transition:all .2s linear 0s;
    text-decoration: underline;
}
.tabs li:hover {color: blue;}


/* активная вкладка */
.tabs li.active {
    color:#ccc; 
}
/* блоки вкладок с содержанием */
.box {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: rgba(60, 60, 60, 0.6);
    width:100%;
    padding: 15px;
    display:none;
    text-align: left;
    float: left;
    min-height: 550px;
    margin-bottom: 40px;
}
/* параграф внутри вкладок */
.box p {
    margin-bottom: 15px;
}
/* активный блок при загрузке */
.visible, .open_tab {
    display: block;
}
/* картинки внутри вкладок */
.box img {
    width: 25%;
    height: auto;
}
/* картинки слева */
.pl-left {
    float:left;
    
}
/* картинки справа */
.pl-right {
    float:right;
    margin:5px 0 5px 15px;
}
/* убираем выравнивание на маленьких экранах */
@media (max-width: 300px) {
  .tabs, .tabs li {
   float: none;
  }
}













