/* Vars ----------------------------------------------------*//* Mixins ----------------------------------------------------*//* Colors and backgrounds  ----------------------------------------------------*/body {
  color: #656360;
  background: #f1ede8 url(../img/noise-all.png);
}
body a:hover {
  color: #cb5432;
}

a {
  color: #cb5432;
}



footer {
background: url('../images/footer-bg.png') repeat, url(../img/bg_h.jpg) center top repeat;
}

header {
	background: url('../images/header-gradient.png') repeat-x left top, url(../img/fonmid.png) center top repeat;
        background-size: auto, contain;
}

/* Selection colours (easy to forget) */
::selection {
  background: #cb5432;
}
::-moz-selection {
  background: #cb5432;
}
img::selection {
  background: #cb5432;
}
img::-moz-selection {
  background: #cb5432;
}
body {
  -webkit-tap-highlight-color: #cb5432;
}

#headline,
.masthead {
  color: #444444;
}
/* NAVIGATION ------------------------------------------------------------*/
#nav > li > a {
  color: #dcd2be;
}
#nav > li:hover > a {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-top: 3px solid #cb5432;
}
#nav span:hover {
  -webkit-transform: translate(-10px, -3px);
  -moz-transform: translate(-10px, -3px);
  -o-transform: translate(-10px, -3px);
  transform: translate(-10px, -3px);
}
#nav > li.current-menu-item > a,
#nav > li.current_page_item > a {
  border-top: 3px solid #cb5432;
}
#nav .sfHover ul {
  background: #f8f5f2;
}
#nav .sfHover ul li a {
  color: #444444;
}
#nav .sfHover ul li a:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #cb5432;
}
/* MAIN ------------------------------------------------------------*/
.multiplebgs #main {
  background-image: url(../img/main-bg.png), url(../img/main-bg.png);
  background-repeat: repeat-x, repeat-x;
  background-position: bottom left, top left;
}
.no-multiplebgs #main {
  background: #f1f1f1 url(../img/main-bg.png) repeat-x top left;
}
/* FILTERED ITEMS ----------------------------------------------------*/#filter-buttons li a {
  color: #444;
  border-bottom: 0px solid transparent;
}
#filter-buttons li a:hover {
  /*border-bottom: 2px solid #444 !important;*/
  text-decoration: underline;
}
#filter-container figure {
  background: #f8f5f2;
}
#filter-container figure .thumb {
  background: #cb5432 url(../img/icon-link.png) center center no-repeat;
}
#filter-container figure .fancybox-video.thumb{
	background-image:url(../img/ico-youtube.png) !important;

}
#filter-container figure figcaption .heading {
  color: #444444;
}
#filter-container figure figcaption .heading:hover {
  color: #cb5432;
}
#filter-container figure .readmore {
  color: #444444;
}
#filter-container figure .readmore:hover h5 {
  color: #cb5432;
}
/* PORTFOLIO ----------------------------------------------------*/#portfolio-content #filter-container a {
  color: #888;
}
#portfolio-content #filter-container a:hover {
  color: #cb5432;
}
#portfolio-content .project-pager a {
  color: #444444;
}
#portfolio-content .project-pager a:hover {
  color: #cb5432;
}
#portfolio-content #project-box {
  background: #f8f5f2;
}
#portfolio-content #project-box .info .launch:hover {
  color: #f1f1f1;
  background: #cb5432;
}
/* RELATED PROJECTS ---------------------------------------------------*/
.related-projects figure .heading {
  color: #444444;
}
.related-projects figure .heading:hover {
  color: #cb5432;
}
.related-projects figure .thumb {
  background: #cb5432 url(../img/icon-link.png) no-repeat center center;
}
/* CONTACT  ----------------------------------------------------*/#map-holder {
  background: #f8f5f2;
}
/* BLOG ------------------------------------------------------------*/
#posts-list article .box {
  background: #f8f5f2 url(../img/meta-bg.png) repeat-y top right;
}
#posts-list article .box .entry-date {
  color: #dcd2be;
  background: #2d2d2d;
}
#posts-list article .box .excerpt .post-heading {
  color: #444444;
}
#posts-list article .box .excerpt .post-heading:hover {
  color: #cb5432;
}
#posts-list article .box .excerpt .learnmore {
  background: #2d2d2d;
  color: #f8f5f2;
}
#posts-list article .box .excerpt .learnmore:hover {
  background: #cb5432;
}
#posts-list article .box .meta a {
  color: #656360;
}
#posts-list article .box .meta a:hover {
  color: #cb5432;
}
#posts-list article.format-standard .feature-image {
  background: #cb5432 url(../img/icon-link.png) no-repeat center center;
}
#posts-list article.format-image .feature-image {
  background: #cb5432 url(../img/icon-popup.png) no-repeat center center;
}
body.single #posts-list article {
  background: #f8f5f2;
}
body.single #posts-list .box .meta {
  background: #f8f5f2 url(../img/meta-bg-vertical.png) repeat-x top right;
}
/* PAGE NAVIGATION ------------------------------------------------------------*/
#main .page-navigation a {
  color: #444444;
}
#main .page-navigation a:hover {
  color: #cb5432;
}
/* SIDEBAR ------------------------------------------------------------*/
#sidebar .cat-item a .post-counter,
#sidebar .page_item a .post-counter {
  color: #656360;
}
/* SLIDER ----------------------------------------------------*/.lof-slidecontent .slider-description {
  color: #e6e6e6;
}
/* SLIDER ----------------------------------------------------*/.lof-slidecontent .slider-description2 {
  color: #e6e6e6;
}
.lof-slidecontent .slider-description a {
  color: #FFF;
}
.lof-slidecontent .slider-description a.readmore {
  color: #fcb019;
}
.lof-slidecontent .active {
  border-top: 3px #cb5432 solid;
}
/* FOOTER ----------------------------------------------------*/footer {
  color: #dcd2be;
}
footer h4 {
  color: #fff;
}
footer a {
  color: #cb5432;
}
footer a:hover {
  color: #fff;
}

.zapisat {
    text-align: center;
    margin-top: 20px;
}
.zapisat a {
    border: 1px solid black;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: black;
    font-size: 16px;
    background-color: #dcd2be;
    text-decoration: none;
}

.popup-fade {
  display: none;
}
.popup-fade:before {
  content: '';
  background: #000;
  position: fixed; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  opacity: 0.7;
  z-index: 9999;
}

.popup {
  position: fixed;
  top: 25%;
  left: 47%;
  padding: 20px 50px;
  width: 30%;
  margin-left: -200px;  
  background: #fff;
  border: 1px solid orange;
  border-radius: 4px; 
  z-index: 99999;
  opacity: 1; 
  visibility: visible;
}
@media screen and (max-width: 1500px) {
  .popup {
    width: 37%;
  }
}
@media screen and (max-width: 1150px) {
  .popup {
    width: 45%;
  }
}
@media screen and (max-width: 900px) {
  .popup {
    width: 52%;
  }
}
@media screen and (max-width: 780px) {
  .popup {
    width: 59%;
  }
}
@media screen and (max-width: 630px) {
  .popup {
    width: 74%;
  }
}
@media screen and (max-width: 630px) {
  .popup {
    width: 74%;
  }
}
@media screen and (max-width: 520px) {
  .popup {
      left: 227px;
    width: 87%;
  }
  .popup h2 {
          font-size: 22px;
  }
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.popup h2, .popup .feedback-line {
margin: 10px 0;
}

.modalrequest input {
  width: 100%;
  font-size: 13px;
  padding: 6px 0 4px 10px;
  border: 1px solid #cecece;
  background: #F6F6f6;
  border-radius: 8px;
}
.modalrequest textarea {
  width: 100%;
  /* = Убираем скролл */
  overflow: auto;

  /* = Убираем увеличение */
  resize: none;
  height: 80px;

  /* = Добавим фон, рамку, отступ*/
  background: #f6f6f6;
  border: 1px solid #cecece;
  border-radius: 8px 0 0 0;
  padding: 8px 0 8px 10px;
}

.submitmodal {
  cursor: pointer;
  border: 1px solid #cecece;
  background: #f6f6f6;
  box-shadow: inset 0px 20px 20px #ffffff;
  border-radius: 8px;
  padding: 8px 14px;
  width: 120px;
}
.submitmodal:hover {
  box-shadow: inset 0px -20px 20px #ffffff;
}
.submitmodal:active {
  margin-top: 1px;
  margin-bottom: -1px;
  zoom: 1;
}

.sticky {
	position: fixed;
    background: #4c3629;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
    text-align: center;
}

.phonescroll {
	display: none !important;
}

.sticky .phonescroll {
	overflow: hidden;
    line-height: 64px;
    color: #fdf4dc !important;
    display: inline-block !important;
    margin: 0px 0 0 40px;
    font-size: 20px;
    text-decoration: underline;
}

#scroll_top {
	display: none;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1000;
	width: 32px;
	height: 32px;
	background: url(https://snipp.ru/img/scroll_top.png) 50% 50% no-repeat;
	border-radius: 50%;
	opacity: 0.5;
}
#scroll_top:hover {
 	opacity: 1;
}

/*li a:active {
    color:green !important;
}*/

/*.sticky ul {
	text-align: center !important;
}*/