/*  
Theme Name: de_basis
Version: 1.0.0
Author: deSiter
Author URI: http://desiter.ru
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700&subset=cyrillic-ext');
@import url('https://fonts.googleapis.com/css?family=Comfortaa:300,400,700&subset=cyrillic-ext');

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
}

.width50 {
	width: 50%;
	box-sizing: border-box;
	float: left;
}

#wrapper {
	position: relative;
	z-index: 2;
}
a {
	color: #0b6b99;
}
.post {
	padding: 0px;
}
.post header {
	position: relative;
}

#sidebar {
	padding: 0px 10px;
	box-sizing: border-box;
}
main.no-sidebar {
	width: 100%;
}
#back-top {
	z-index: 2;
	color: white;
	border-radius: 50px;
	background-color: #0b6b99;
	border: 0px;
	box-shadow: 4px 4px 2px #555;
}
#logo {
	max-height: 70px;
	margin: 0px 20px 5px 0px;
	height: auto;
}

.button, input[type="reset"], input[type="submit"] {
	padding: 10px 30px;
	width: 180px;
	text-align: center;
	background-color: #0b6b99;
	color: white;
	display: block;
	margin: 0px auto;
	border-radius: 5px;
	cursor: pointer;
	font-size: 22px;
	line-height: 1.1;
	transition: all 0.3s linear 0s;
}
.button:hover, input[type="reset"]:hover, input[type="submit"]:hover {
	background-color: #0090d5 !important;
}
section.raw#back {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-size: cover !important;
}

section.line > img {
	display: block;
	width: 100%;
	height: auto;
}

h1 {
	font-size: 2.4em;
}
h2 {
	font-size: 2em;
}
h3 {
	line-height: 1.6em;
}

input[type="text"], input[type="password"], textarea, input[type="search"], input[type="tel"], input[type="email"] {
	border-radius: 0px;
}

.mobile {
	display: none !important;
}

/******************************************
		HEADER
******************************************/

#header.js-header {
	position: fixed;
	top: 0px;
	width: 100%;
	z-index: 3;
	box-sizing: border-box;
//	box-shadow: 0px 0px 1px #242424;
	padding: 0px;
	transition: all 0.3s linear 0s;
	color: white;
}
#header .content {
	z-index: 2;
}

#header.inscroll {
	color: #5f5f5f;
}
#header.inscroll h1 a {
	color: #5f5f5f;
}
#header.inscroll .back {
	opacity: 0.8;
	background-color: white;
}
#header.inscroll hgroup {
	height: 60px;
}
#header.inscroll #main-bar .menu li a {
	height: 60px;
}

#header {
//	background: black;
//	color: white;
	border-bottom: 3px solid #D12720;
	padding-bottom: 0px;
}
#header h1 {
	font-size: 1.6em;
}
#header h2 {
	font-size: 0.8em;
}

#header .core {
	margin-bottom: -5px;
}

#title-zone {
	display: table-cell;
	text-transform: uppercase;
	text-align: center;
	padding-right: 25px;
	padding-bottom: 10px;
}
#title-zone li {
	height: auto;
}

#title-zone .menu a {
	margin-top: 2px;
	margin-bottom: 2px;
	display: inline-block;
	border-bottom: 1px solid white;
} 
#title-zone .menu a:hover {
	text-decoration: none;
	border-bottom: 1px solid #D12720;
} 
#title-zone h1 {

}
#title-zone h1 a { 

}
#title-zone h2 {
	font-size: 0.95em;
	padding-right: 15px;
	margin-top: -5px;
}

#title-zone .cell:nth-child(3) {
//	width: 20%;
}
#title-zone .cell:nth-child(1) {
//	width: 20%;
}

#main-bar .menu li {
	display: table-cell;
	width: 999px;
	vertical-align: middle;
	padding: 0px;
}
#main-bar .menu li a {
	width: 999px;
	vertical-align: middle;
	display: table-cell;
	text-align: center;
	font-size: 18px;
	height: 100px;
	transition: all 0.3s linear 0s;
	color: white;
}
#header.inscroll .menu li a {
	color: #5f5f5f;
}
#main-bar .menu li a:hover, #main-bar .menu li.current-menu-item a {
	background-color: #eee;
	text-decoration: none;
}

#main-bar .cell {
	text-align: center;
}
#main-bar .cell a {
	display: inline-block;
	width: 100%;
	line-height: 40px;
	color: #222;
	font-weight: bold;
}
#main-bar .cell a:hover { 
	background-color: #eee;
	text-decoration: none;
}

#header .phone a {
	font-weight: bold;
	display: inline-block;
}
#header .chat {
	font-size: 1.4em;
}
#header .chat img {
	max-height: 30px;
	margin-right: 5px;
	margin-left: 5px;
	vertical-align: middle;
}

/*************************
	FIRST SCROLL
**************************/

.arrow-down {
	display: block;
	color: white;
	width: 50px;
	text-align: center;
	left: 50%;
	margin-left: -25px;
	font-size: 60px;
	position: absolute;
	bottom: 4%;
	z-index: 10;
	opacity: 0;
	transition: all 0.2s linear 0s;
}
.arrow-down:hover {
	text-decoration: none;
}
section:hover .arrow-down {
	opacity: 1;
}

.main-image {
//	background: url('/wp-content/uploads/2018/07/кавер.jpg') no-repeat center center;
//	background: url('/wp-content/themes/de_basis/images/main.jpg') no-repeat center center;
//	background-size: cover;
	margin-bottom: 0px;
}
.main-image .filler { 
	padding-right: 70%;
}

/******************************************
		ГЛАВНАЯ СТРАНИЦА
******************************************/

.home .raw h2 {
	font-size: 48px;
	text-align: center;
	text-shadow: 5px 5px 0px #cfcfcf;
	color: #909090;
	margin-bottom: 0px;
}

.home .main-content {
	background-color: #eee;
}
.home .main-content .core {
	font-size: 1.1em;
	padding-top: 50px;
	padding-bottom: 50px;
	line-height: 1.6em;
}

.home .order-call {
	background-color: #0B6C99;
}
.home #wrapper .order-call form {
	width: auto;	
}
.home .order-call label { 
	width: 45%;
	display: inline-block;
	margin-bottom: 0px;
}
.home .order-call label span { 
	width: 40%;
	color: white;
	font-size: 1.2em;
}
.home .order-call label input { 
	width: 55% !important;
	height: 35px;
	font-size: 1.2em;
}
.home .order-call fieldset {
	width: 79%;
	display: inline-block;
	text-align: center;
	margin-bottom: 0px;
	vertical-align: middle;
}
.home .order-call input.button { 
	width: 20%;
	display: inline-block;
	padding: 5px 0px;
	font-size: 20px;
	height: 35px;
	vertical-align: middle;
}

.home .main-form { 
	background-color: #eee;	
}

.home .main-list {
	background-color: #eee;	
}
.home .main-list#materials, .home #order {
	background-color: #ddd;
}
.home .main-list .core {
	margin-top: 20px;
	margin-bottom: 40px;
}
.home .main-list h1 {
	text-align: center;
}
.home .main-list h2 {
	text-align: center;
	color: #0B6C99;
	font-weight: bold;
}
.home .main-list .table .cell:nth-child(1) {
	width: auto;
}
.home .main-list .table .raw .cell:nth-child(1) {
	color: #D12720;
	font-size: 3em;
	padding-left: 30px;
	padding-right: 30px;
	vertical-align: top;
	padding-top: 50px;
}
.home .main-list .table .raw {
	padding-bottom: 20px; 
	border-bottom: 2px solid #d12720;
}
.home .main-list .table .raw:last-child() { 
	border-bottom: 0px;
}
.home .main-list .table .raw .cell > img, .home .main-list .table .raw .cell > .fancybox {
	margin-top: 15px;
	border: 2px solid #cfcfcf;
}
.home .main-list .table .raw .cell > .gallery {
	margin-top: 5px;
}

.home .main-list .table.border {
	text-align: center;
	border-collapse: collapse;
	width: auto;
	margin: 0px auto;
}
.home .main-list .table.border .cell {
	border: 1px solid black;
	padding: 5px 25px;
	width: auto;
}
.home .main-list .table.border .row .cell:nth-child(1) {
	background-color:  #91c7e1;
}
.home .main-list .table.border .row:nth-child(1) .cell {
	background-color:  #fcb5b5;
}

.home #wrapper .main-list .gallery-columns-4 .gallery-item {
	width: 23.5%;
	margin-right: 2%;
}
.home #wrapper .main-list .gallery-columns-4 .gallery-item:nth-child(4), .home #wrapper .main-list .gallery-columns-4 .gallery-item:nth-child(9) {
	margin-right: 0;
}

.home #wrapper .main-list .gallery-columns-3 .gallery-item {
	width: 31%;
	margin-right: 3%;
}
.home #wrapper .main-list .gallery-columns-3 .gallery-item:nth-child(3), .home #wrapper .main-list .gallery-columns-3 .gallery-item:nth-child(7) {
	margin-right: 0;
}

.home #wrapper .main-form form {
	margin-bottom: 20px;
}
.home .main-form h2 {
	text-align: center;
}

.home .main-map {
	background-color: #ddd;
}
.home .main-map .core {
//	height: 400px;
//	margin-bottom: -400px;
}
.home .main-map .panel {
	position: absolute;
	top: 20px;
	left: 5%;
	display: inline-block;
	padding: 30px 30px 10px;
	box-shadow: 2px 2px 2px #555;
	background-color: white;
}
.home .main-map .panel img { 
	max-width: 250px;
}

/*************************
	POP-UP
**************************/

#veil {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0.4;
	z-index: 9;
}
.pop-up {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	top: 0px;
	right: 0px;
	font-size: 13px;
	color: #afafaf;
	text-align: center;
	z-index: 10;
}
.pop-up:before {
	height: 100%;
	display: inline-block;
	vertical-align: middle;
	content: '';
	min-height: inherit;
}
.pop-up .content {
	background-color: white;
	position: relative;
	margin: 0px auto;
	text-align:left;
	box-sizing: border-box;
	padding: 15px 25px;
	display: inline-block;
	vertical-align: middle;
	width: 480px;
	box-shadow: 0px 0px 10px #454545;
}
.pop-up .content {
	font-size: 16px;
	color: #777;
}
.pop-up form fieldset{ 
	border:0px;
	margin-bottom: 0.5em;
}
.pop-up .close {
	background-size: contain;
	height: 12px;
	width: 12px;
	position: absolute;
	top: 8px;
	right: 12px;
	cursor: pointer;
	font-size: 18px;
}
.pop-up h3 {
	color: #6e6e6e;
	margin-bottom: 5px;
	font-size: 21px;
	text-align: center;
}
.pop-up form p {
	margin-bottom: 28px;
}
.pop-up form label {
	color: #8e8e8e;
	margin-bottom: 10px;
	display: block;
}
.pop-up form label span {
	margin-bottom: 5px;
	display: inline-block;
}
.pop-up form label input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.pop-up form input[type="submit"] {
	height: 45px;
	margin: 0px auto;
	display: block;
}
.pop-up form textarea{
	width: 100%;
	box-sizing: border-box;
}
.pop-up.feedback form {
	width: 460px;
}

/*************************
	FORM
**************************/

#wrapper form {
	font-size: 13px;
	color: #afafaf;
	position: relative;
	margin: 0px auto;
	text-align:left;
	box-sizing: border-box;
	padding: 15px 25px;
	vertical-align: middle;
	width: 500px;
	max-width: 100%;
}

#wrapper form:not(.ajaxform), #footer form:not(.ajaxform) {
	display: inline-block;
	font-size: 13px;
	color: #afafaf;
	background-color: white;
	border: 2px solid #2f007e;
	border-radius: 5px;
	position: relative;
	margin: 0px auto;
	text-align:left;
	box-sizing: border-box;
	padding: 15px 25px;
	vertical-align: middle;
	width: 500px;
}
form fieldset{ 
	border:0px;
	margin-bottom: 0.5em;
}
form p {
	margin-bottom: 28px;
}
form label {
	color: #8e8e8e;
	margin-bottom: 10px;
	display: block;
}
form label span {
	margin-bottom: 5px;
	display: inline-block;
}
form label input {
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
}
form input[type="submit"] {
	height: 45px;
	margin: 0px auto;
	display: block;
}
form textarea{
	width: 100%;
	box-sizing: border-box;
}



/*************************
	SCROLL MENU
**************************/

.scroll-menu {
	position: fixed;
	bottom: 110px;
	right: 50px;
	text-align: center;
	z-index: 1;
	width: 50px;
	text-align: center;
	transition: all 0.3s linear 0s;
	opacity: 0;
}
.scroll-menu:hover { 
	opacity: 1 !important;
}
.scroll-menu ul {
	list-style-position: inside;
	margin-left: 0px;
	display: inline-block;
}
.scroll-menu li {
	width: 100%;
	height: 24px;
	list-style-type: none;
}
.scroll-menu li a {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-top: 7px;
	border-radius: 5px;
	text-indent: -999px;
	position: relative;
	z-index: 2;
	box-shadow: 0px 0px 2px 0px #7B39B7;
	background-color: #7B39B7;
	transition: all 0.3s linear 0s;
	overflow: hidden;
}
.scroll-menu li a:hover, .scroll-menu li a.current {
//	box-shadow: 0px 0px 3px 1px #7B39B7;
	width: 14px;
	height: 14px;
	margin-top: 4px;
	border-radius: 7px;
}


/*************************
  СЛАЙДЕР
**************************/

.slider {
  z-index: 9;
  width: 100%;
  overflow: hidden;
  margin: 0 0 7px;
  position: relative;
  text-align: center;
  height: 100%;
}
.slider .prev, .slider .next {
  position: absolute;
  left: 3%;
  line-height: 50px;
  width: 50px;
  text-align: center;
  top: 50%;
  margin-top: -15px;
  font-size: 34px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index:1;
  transition: all 0.2s linear 0s;
  opacity: 0;
  background: rgba(256, 256, 256, 0.4);
  border-radius: 25px;
}
.slider:hover .prev, .slider:hover .next {
  opacity: 1;
}
.slider .next {
  left: auto;
  right: 3%;
}
.slider .container > ul, .slider li {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.slider .container > ul {
  width: 9999px; 
  display: inline-block;
  position: relative;
  vertical-align: top;
  height: 100%;
}
.slider .container > ul li {
  list-style-type: none;
  float: left;
  overflow:hidden;
  position: absolute;
  transition: all 0.5s linear 0s;
}
.slider .nav {
  display: inline-block;
  opacity: 0;
  transition: all 0.2s linear 0s;
  margin-top: -2%;
  position: absolute;
	display: none;
}
.slider:hover .nav {
  opacity: 1;
}
.slider .nav span {
  opacity: 0.9;
  background: #fff;
  margin: 0 8px 0 0;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  cursor: pointer;
  overflow: hidden;
  display: block;
  float: left;
  box-shadow: 0 1px 2px #000;
}
.slider .nav span.on {
  background: #909090;
}


/******************************************
		PAGE
******************************************/

.single h1 {
	color: #7B39B7;
	font-weight: bold;
	font-size: 3em;
	text-align: center;
	margin-bottom: 10px;
}
.single .fa.post-thumb {
	color: #7B39B7;
	font-size: 150px;
	width: 200px;
	text-align: center;
	line-height: 180px;
	float: left;
	margin-right: 10px;
}

.page-template-template-sites .fa.post-thumb {
	color: #7B39B7;
	font-size: 90px;
	line-height: 100px;
	width: 150px;
	text-align: center;
	height: 140px;
	float: left;
	margin-right: 10px;
}
.page-template-template-sites header h2 {
	margin-bottom: 5px;
}
.page-template-template-sites p {
	margin-bottom: 5px;
}
.page-template-template-sites .read-more {
	float: right;
	font-style: italic;
}
.page-template-template-sites h1 {
	color: #7B39B7;
	font-weight: bold;
	font-size: 3em;
	text-align: center;
	margin-bottom: 20x;
	margin-top: 0px;
}

body.page .post header h1 {
	margin-bottom: 10px;
}
body.page .post header h1 {
	color: white;
	background-color: #D12720;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	display: inline-block;
	padding: 0px 20px 5px;
}
body.page main article {
	padding-bottom: 20px;
}

/******************************************
		CONACTS
******************************************/

.page .post .contacts {
	display: inline-block;
	width: 100%;
//	margin-bottom: 20px;
}
.page .post .contacts .column {
//	color: white;
//	background-color: #D12720;
	border-radius: 20px;
	width: 48%;
	float: left;
	padding: 20px 30px;
	box-sizing: border-box;
}
.page .post .contacts .column .item { 
	margin-bottom: 20px;
}
.page .post .contacts .column:nth-child(1) {
	margin-right: 2%;
}
.page .post .contacts .column:nth-child(2) {
	margin-left: 2%;
}


/******************************************
		FOOTER
******************************************/

#footer {
	position: relative;
	z-index: 1;
//	position:fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	vertical-align: top;
	border-top: 3px solid #D12720;
}
#footer, #footer a {
	color: black;
}
#footer .copyright {
	display: inline-block;
	margin: 25px 20px;
	font-size: 16px;
}
#footer .copyright a {
	color: #D12720;
}

#footer .footer-menu {
	background-color: #D12720;
}
#footer .footer-menu .core {
	padding-top: 4px;
	padding-bottom: 4px;
}
#footer .footer-menu li {
	height: auto;
}
#footer .footer-menu a {
	color: white;
}
#footer ul.menu {
	margin-left: 0px;
	display: table;
	width: 100%;
}
#footer ul.menu li {
	display: table-cell;
	text-align: center;
}

#footer .table {
	margin-top: 15px;
}
#footer .table .cell {
	width: auto;
	text-align: center;
}
#footer .table:nth-child(2) {
	margin-bottom: 10px;
}
#footer .table:nth-child(1) a {
	font-weight: bold;
	font-size: 1.1em;
}

.gallery-columns-3.gallery-size-thumbnail .gallery-item {
	width: 32% !important;
	margin-right: 2%;
}
.gallery-columns-3.gallery-size-thumbnail .gallery-item:nth-child(3) {
	margin-right: 0;
}
.gallery-columns-2 .gallery-item {
	width: 49% !important;
	margin-right: 2%;
}
.gallery-columns-2 .gallery-item:nth-child(2) {
	margin-right: 0;
}