/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
	color: #333;
}

* {
	word-wrap: break-word;
}

html {
	font-size: 1em;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

audio,
canvas,
img,
video {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

input:invalid, textarea:invalid {
	box-shadow: none;
}

textarea {
	resize: none;
	overflow: auto;
}

input, button, textarea {
	outline: none;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border-radius: 0;
}

input { outline: none; }
object { display: block; }
embed { display: block; }

::-webkit-input-placeholder {color: #757575;}
::-moz-placeholder {color: #757575; opacity: 1;}
:-ms-input-placeholder {color: #757575 !important;}

/*::-webkit-input-placeholder:after,*/
/*::-moz-placeholder:after,*/
/*:-ms-input-placeholder:after {*/
	/*content: "*";*/
	/*color: red;*/
/*}*/

.owl-item {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
}

/* font-family: "PFBeauSansProLight"; */
@font-face {
	font-family: "PFBeauSansProLight";
	src: url("../fonts/PFBeauSansPro-Light.otf") format("opentype"),
	url("../fonts/PFBeauSansPro-Light.woff") format("woff"),
	url("../fonts/PFBeauSansPro-Light.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

/* font-family: "PFBeauSansProBold"; */
@font-face {
	font-family: "PFBeauSansProBold";
	src: url("../fonts/PFBeauSansPro-Bold.otf") format("opentype"),
	url("../fonts/PFBeauSansPro-Bold.woff") format("woff"),
	url("../fonts/PFBeauSansPro-Bold.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	color: #464646;
	line-height: 23px;
	/*min-width: 1160px;*/
	background-color: #fff;
}

.page-wrapper {
	position: relative;
}

h1 {
	font-family: "PFBeauSansProBold", sans-serif;
	font-size: 30px;
	text-transform: uppercase;
	line-height: 37px;
	letter-spacing: 0.08em;
	color: #7dc62d;
	font-weight: normal;
	margin-bottom: 20px;
	margin-top: 0;
}

h2 {
	font-family: "PFBeauSansProBold", sans-serif;
	font-size: 25px;
	line-height: 28px;
	color: #000;
	font-weight: normal;
	margin-bottom: 20px;
	margin-top: 0;
}

h3 {
	font-family: "PFBeauSansProBold", sans-serif;
	font-size: 20px;
	line-height: 20px;
	color: #000;
	font-weight: normal;
	margin-bottom: 20px;
	margin-top: 0;
}

h4, h5 {
	font-family: "PFBeauSansProBold", sans-serif;
	font-size: 20px;
	line-height: 20px;
	color: #000;
	font-weight: normal;
	margin-bottom: 20px;
	margin-top: 0;
}

b, strong {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
}

p {
	margin: 15px 0;
}

a {
	color: #7dc62d;
	text-decoration: underline;
	outline: none;
	transition: 0.2s;
}

a:hover {
	text-decoration: none;
}

input, textarea {
	font-family: "Roboto", sans-serif;
	outline: none;
}

input[type="text"] {
	padding: 0 15px;
}

textarea {
	resize: none;
	overflow: auto;
	padding: 5px 15px;
}

button {
	font-family: "Roboto", sans-serif;
	border: none;
	background-color: transparent;
}

table {
	font-family: "Roboto", sans-serif;
}

.container {
	width: 1160px;
	padding: 0 15px;
	margin: auto;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea {
	color: #000;
	background-color: #fff;
	border: 2px solid #ebebeb;
	font-size: 15px;
	height: 65px;
	padding: 0 20px;
	transition: 0.2s;
	width: 100%;
}

textarea {
	padding: 15px 20px;
	min-height: 150px;
	line-height: 20px;
}

.input-box {
	margin-bottom: 13px;
}

.half-input-box {
	width: 50%;
	float: left;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus {
	border-color: #82ce37;
}

.uppercase {
	text-transform: uppercase;
}

.align-right {
	text-align: right;
}

.align-left {
	text-align: left;
}

.align-center {
	text-align: center;
}

.b-content {
	min-height: 500px;
}

.green-btn {
	position: relative;
	display: inline-block;
	padding: 35px 80px;
	text-transform: uppercase;
	color: #000 !important;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	border: none;
	background-color: #fff;
	-webkit-transition: 0.2s;
	transition: 0.2s;
	right: 0;
	top: 0;
	letter-spacing: 0.01em;
	outline: none !important; }
.green-btn:hover {
	opacity: 1; }
.green-btn:before {
	content: "";
	position: absolute;
	top: 7px;
	bottom: -7px;
	width: 14px;
	left: -14px;
	background-color: #82ce37;
	-webkit-transform: skewY(-45deg);
	-ms-transform: skewY(-45deg);
	transform: skewY(-45deg);
	-webkit-transition: 0.2s;
	transition: 0.2s; }
.green-btn:after {
	content: "";
	position: absolute;
	bottom: -14px;
	left: -7px;
	height: 14px;
	right: 7px;
	background-color: #61ab17;
	-webkit-transform: skewX(-45deg);
	-ms-transform: skewX(-45deg);
	transform: skewX(-45deg);
	-webkit-transition: 0.2s;
	transition: 0.2s; }
.green-btn:active {
	right: 14px;
	top: 14px; }
.green-btn:active:before {
	top: 0;
	bottom: 0;
	width: 0;
	left: 0; }
.green-btn:active:after {
	bottom: 0;
	left: 0;
	height: 0;
	right: 0; }

.close-case {
	position: absolute;
	z-index: 101;
	width: 12px;
	height: 12px;
	right: 30px;
	top: 20px;
	text-decoration: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.b-header {
	min-height: 725px;
	padding: 85px 0;
	background: url("../pic_cases/grosseto-header-bg.jpg") center no-repeat;
	background-size: cover;
}

.b-header__top {
	margin-bottom: 105px;
}

.b-header__top h1 {
	float: left;
	max-width: 300px;
}

.b-header__desc {
	float: right;
	position: relative;
	width: 645px;
	font-style: italic;
}

.b-header__desc:before {
	content: "";
	position: absolute;
	border-top: 1px solid #87ca3c;
	height: 76px;
	top: 23px;
	left: -65px;
	transform: rotate(-45deg);
	width: 76px;
}

.b-header__logo {
	text-align: center;
}

.b-header__logo span {
	display: inline-block;
}

/* responsive header */

.responsive-header {
	/*display: none;*/
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 12px 0;
	height: 50px;
	transition: 0.4s;
	opacity: 0;
	background-color: transparent;
	z-index: 100;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.15);
}

.responsive-header.white-bg {
	opacity: 1;
	background-color: rgba(255, 255, 255, 0.9);
}

.responsive-header__name {
	float: left;
	position: relative;
	font-size: 20px;
	color: #7dc62d;
	font-family: "PFBeauSansProBold", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.responsive-header__left {
	float: left;
	position: relative;
}

.responsive-header__left:before {
	content: "";
	border-top: 1px solid #ccc;
	height: 82px;
	width: 82px;
	left: 100px;
	top: -3px;
	position: absolute;
	transform: rotate(-45deg);
}

.resp-header__logo {
	display: inline-block;
	position: relative;
	width: 80px;
}

.responsive-header__close {
	float: right;
}

.responsive-header__close .close-case {
	display: inline-block;
	position: static;
	width: 18px;
	height: 18px;
	opacity: 0.5;
}

.resp-header__menu {
	display: inline-block;
	vertical-align: -1px;
	width: 20px;
	margin-left: 55px;
	position: relative;
}

/* ==========================================================================
   Section Process
   ========================================================================== */

.process-section__top {
	padding: 30px 0;
}

.section-cols {

}

.section-caption {
	float: left;
	color: #7dc62d;
	max-width: 250px;
	font-weight: 700;
	font-size: 30px;
	line-height: 38px;
}

.section-desc {
	float: right;
	width: 645px;
}

.section-desc.gray-line {
	position: relative;
}

.section-desc.gray-line:before {
	content: "";
	position: absolute;
	border-top: 1px solid #d5d5d5;
	height: 76px;
	top: 23px;
	left: -65px;
	transform: rotate(-45deg);
	width: 76px;
}

.process-section .section-cols:first-child {
	margin-bottom: 100px;
}

.process-section__mood {
	height: 700px;
}

.process-section__mood > div {
	width: 50%;
	height: 100%;
	float: left;
}

.process-section__mood .mood-left {
	background: url("../pic_cases/grosseto-mood-bg-1.jpg") 30% center no-repeat;
	background-size: cover;
}

.process-section__mood .mood-right {
	background: url("../pic_cases/grosseto-mood-bg-2.jpg") center left no-repeat;
	background-size: cover;
}

/* ==========================================================================
   Section Style
   ========================================================================== */

.style-section__top {
	padding: 70px 0 30px;
}

.style-section__examples {
	height: 700px;
}

.style-section__examples > div {
	width: 50%;
	float: left;
	height: 100%;
}

.style-section__examples .example-left {
	background: url("../pic_cases/grosseto-style-bg-1.jpg") center no-repeat;
	background-size: cover;
}

.style-section__examples .example-right {
	background: url("../pic_cases/grosseto-style-bg-2.jpg") center no-repeat;
	background-size: cover;
}

/* ==========================================================================
   Section Feedback
   ========================================================================== */

.feedback-section {
	overflow: hidden;
	background-color: #000;
	padding: 145px 0;
	color: #fff;
}

.feedback-section__box {
	position: relative;
	text-align: center;
}

.feedback-section__box:before {
	border-top: 1px solid #79c034;
	content: "";
	height: 200px;
	margin-left: 73px;
	position: absolute;
	top: -145px;
	right: 165px;
	transform: rotate(-45deg);
	width: 200px;
}

.feedback-section__box:after {
	border-top: 1px solid #79c034;
	content: "";
	height: 200px;
	margin-left: 73px;
	position: absolute;
	bottom: -290px;
	left: 193px;
	transform: rotate(-45deg);
	width: 200px;
}

.feedback-section h2 {
	margin-bottom: 40px;
	font-size: 50px;
	color: #fff;
	font-family: "PFBeauSansProLight", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1.2em;
}

.feedback-contacts {
	margin-bottom: 55px;
}

.feedback-contacts a {
	position: relative;
	margin: 0 30px;
	font-size: 20px;
	color: #fff;
	font-style: italic;
	text-decoration: none;
	border-bottom: 1px solid #545454;
}

.feedback-contacts a:hover {
	border-bottom: 1px solid #7dc62d;
}

.feedback-contacts a:first-child:after {
	border-top: 1px solid #3c3c3c;
	content: "";
	height: 22px;
	width: 22px;
	right: -52px;
	top: 9px;
	position: absolute;
	transform: rotate(-45deg);
}

.feedback-btn a {
	margin-left: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.b-footer {
	min-height: 220px;
	padding: 50px 0;
	background: url("../pic_cases/snabservis_preview.jpg") right center no-repeat;
	background-size: cover;
}

.b-footer__preview {
	text-align: center;
}

.preview-label {
	margin-bottom: 30px;
	font-size: 15px;
	font-style: italic;
	color: #87ca3d;
}

.preview-link {

}

.preview-link a {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.5em;
}

.preview-link a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Feedback Modal
   ========================================================================== */

.feedback-modal {
	display: none;
	position: relative;
	width: 1150px;
	background-color: #fff;
}
.modal-window__box {
	position: relative;
	background: #fff none repeat scroll 0 0;
	padding: 110px;
	z-index: 0;
	overflow: hidden;
}
.modal-window__box:before {
	content: "";
	position: absolute;
	border-top: 1px solid #eee;
	height: 2000px;
	right: -980px;
	top: 40px;
	transform: rotate(-45deg);
	width: 2000px;
	z-index: -1;
}
.feedback-modal__caption {
	margin-bottom: 60px;
	font-size: 50px;
	text-transform: uppercase;
	color: #82ce37;
	font-family: "PFBeauSansProLight", sans-serif;
	text-align: center;
}
.submit-box__note {
	max-width: 255px;
	float: left;
	font-style: italic;
	font-size: 15px;
	color: #777;
}
.submit-box__btn {
	float: right;
}
.submit-box__btn .green-btn {
	color: #fff !important;
	background-color: #82ce37;
}
.fancybox-close {
	width: 15px;
	height: 15px;
	top: 45px;
	right: 45px;
	background: url("../pic_cases/multiply.svg") center no-repeat;
}

@media (min-width: 100px) and (max-width: 1170px) {
	.feedback-modal {
		width: 100%;
	}
	.modal-window__box {
		padding: 50px;
	}
	.modal-window__box:before {
		display: none;
	}
	.feedback-modal__caption {
	    margin-bottom: 30px;
	    font-size: 30px;
	    line-height: 1em;
    }
	input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
		height: 45px;
	}
	.submit-box__btn .green-btn {
		text-align: center;
		padding: 15px 20px;
	}
}
@media (min-width: 100px) and (max-width: 600px) {
	.modal-window__box {
		padding: 30px;
	}
	.submit-box__note {
		float: none;
	}
	.submit-box__btn {
		float: none;
		margin-top: 20px;
	}
	.submit-box__btn .green-btn {
		display: block;
		width: 100%;
		text-align: center;
	}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 100px) and (max-height: 900px) {
	.modal-window__box {
		padding: 60px;
	}
	input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
		height: 55px;
	}
}

@media (min-width: 100px) and (max-width: 1180px) {
	.container {
		width: 100%;
	}
}

@media (min-width: 100px) and (max-width: 1060px) {
	.b-header__desc {
		width: 500px;
	}
	.section-desc {
		width: 500px;
	}
}

@media (min-width: 100px) and (max-width: 860px) {
	.b-header__top h1 {
		width: 50%;
	}
	.b-header__desc {
		width: 50%;
	}
	.section-caption {
		width: 50%;
	}
	.section-desc {
		width: 50%;
	}
}

@media (min-width: 100px) and (max-width: 768px) {
	body {
		font-size: 13px;
		line-height: 20px;
	}
	.responsive-header {
		display: block;
		opacity: 1;
		background-color: rgba(255, 255, 255, 0.9);
	}
	.b-header__top h1 {
		float: none;
		width: 100%;
		max-width: none;
	}
	.b-header__desc {
		float: none;
		width: 100%;
	}
	.close-case.desktop {
		display: none;
	}
	h1 {
		font-size: 20px;
		margin-bottom: 10px;
	}
	.b-header {
		min-height: 0;
		padding-bottom: 100px;
	}
	.b-header__top {
		margin-bottom: 50px;
	}
	.process-section .section-cols:first-child {
		margin-bottom: 30px;
	}
	.section-caption {
		float: none;
		width: 100%;
		font-size: 20px;
		line-height: 1.2em;
		margin-bottom: 15px;
	}
	.section-desc {
		float: none;
		width: 100%;
	}
    .section-desc:before {
	    display: none;
    }
	.process-section__mood {
		height: auto;
	}
	.process-section__mood > div {
		float: none;
		height: 300px;
		width: 100%;
	}
	.style-section__examples {
		height: auto;
	}
	.style-section__examples > div {
		width: 100%;
		height: 300px;
		float: none;
	}
	.feedback-section {
		padding: 60px 0;
	}
	.feedback-section h2 {
		font-size: 30px;
	}
	.feedback-contacts a {
		display: inline-block;
		margin: 10px;
	}
	.b-footer {
		padding: 30px 0;
		min-height: 0;
	}
	.preview-label {
		margin-bottom: 20px;
	}
	.preview-link a {
		font-size: 18px;
	}
}

@media (min-width: 100px) and (max-width: 430px) {
	.green-btn {
		width: 100%;
		margin: 0;
		text-align: center;
		padding-left: 10px;
		padding-right: 10px;
	}
	.feedback-btn a {
		margin: 0;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}



.hidden {
	display: none !important;
	visibility: hidden;
}



.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}



.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}



.invisible {
	visibility: hidden;
}


.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}



@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-device-width: 800px) {
	/* */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}



@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}





.show{
      display: block;
      position: absolute;
      bottom: 200px;
      left: 350px;
      width: 400px;
      height: 170px;
      padding-top: 30px;
      border: 5px solid #82ce37;
      background: white;
      font-family: "Roboto", sans-serif;
      font-size: 15px;
      color: #000;
      line-height: 1.5em;
      font-weight: 400;
      text-align: center;
    }
    .enter{
      position: absolute;
      bottom: -900px;
      right: -600px;
      width: 2000%;
      height: 2000%;
      background: rgba(0,0,0,0.7);

    }
    .hidden{
      display: none;
    }
    .error{

    }
    .block_button{
      position: absolute;
      top: 100px;
      left: 165px;
      width: 70px;
      height: 40px;
      text-align: center;
    }

    .wrong{
      border: 2px solid #B22222 !important;
    }