/*   
Theme Name: your-clean-template-3
Theme URI: https://github.com/saxap/clean-wp-template
Version: 3.0
Tags: clean, development, html5, bootstrap
Description: Clean wordpress theme with minimal bootstrap3 markup for fast development starting
Author: saxa:p
Author URI: http://dontforget.pro
*/


/* ------------------------------ FONTS ----------------------------------- */

@font-face { 
    font-family: "PlayfairDisplaySC-Bold";
    src: url('fonts/PlayfairDisplaySC-Bold/PlayfairDisplaySC-Bold.eot?') format("eot"), 
         url('fonts/PlayfairDisplaySC-Bold/PlayfairDisplaySC-Bold.woff') format("woff"), 
         url('fonts/PlayfairDisplaySC-Bold/PlayfairDisplaySC-Bold.ttf') format("truetype"); 
    font-weight: bold;
}
@font-face { 
    font-family: "PlayfairDisplaySC-Regular";
    src: url('fonts/PlayfairDisplaySC-Regular/PlayfairDisplaySC-Regular.eot?') format("eot"), 
         url('fonts/PlayfairDisplaySC-Regular/PlayfairDisplaySC-Regular.woff') format("woff"), 
         url('fonts/PlayfairDisplaySC-Regular/PlayfairDisplaySC-Regular.ttf') format("truetype"); 
    font-weight: normal;
}
@font-face { 
    font-family: "PlayfairDisplaySC-Italic";
    src: url('fonts/PlayfairDisplaySC-Italic/PlayfairDisplaySC-Italic.eot?') format("eot"), 
         url('fonts/PlayfairDisplaySC-Italic/PlayfairDisplaySC-Italic.woff') format("woff"), 
         url('fonts/PlayfairDisplaySC-Italic/PlayfairDisplaySC-Italic.ttf') format("truetype"); 
    font-weight: normal;
}

/* ---------------- RESET ---------------- */

body {
	margin: 0 !important;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, div, a, button {
  display: block;
}
button, a, input[type="submit"] {
  cursor: pointer;
}
input:active, textarea:active, button:active, a:active,
input:hover, textarea:hover, button:hover, a:hover,
input:focus, textarea:focus, button:focus, a:focus {
    outline: 0;
    outline-offset: 0;
  }

input[type="submit"] {
  text-indent: -9999px;
}
body {
  line-height: 1;
}
ol, ul, li {
  list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote::before, blockquote::after, 
q::before, q::after {
    content: '';
    content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0; 
}


.page__wrapper {
	background: url('images/background-main.jpg') no-repeat;
	background: url('images/background-main.jpg') no-repeat;
	background-size: cover;
	color: #ce8746;
}
.block__wrapper {
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	padding: 80px 0;
	width: 80%;
	margin: 0 auto;
}
.page__logo-item {
	width: 38%;
	margin-right: 5%;
	text-align: center;
}
.page__price-item {
	width: 57%;
}
.page__logo-wrap {
	margin: 30px auto 0;
}
.page__logo-wrap + .servicing-text {margin-bottom: 30px}
.page__logo-wrap img {
	width: 100%;
	height: auto;
}
.servicing-text {
	font-family: "PlayfairDisplaySC-Italic";
	font-size: 30px;
	line-height: 32px;
	text-transform: uppercase;
	margin-bottom: 40px;
}
.small-button__wrap {
	margin-bottom: 25px;
}
.small-button__wrap > span {
	font-family: "PlayfairDisplaySC-Bold";
	margin-top: 0;
	font-size: 28px;
}
.small-button {
	font-family: "PlayfairDisplaySC-Bold";
	font-size: 36px;
	line-height: 36px;
	color: #ce8746;
	padding: 6px 29px 6px 39px;
	width: 310px;
	background: url('images/small-button.png') no-repeat;
	background-size: 100%;
	margin: 0 auto;
	text-decoration: none;
	text-transform: uppercase;
}
.small-button span {
	display: inline-block;
	padding: 9px;
	width: 100%;
	transition: 0.3s;
}
.small-button:hover span {
	background: #ce8746;
	color: #3a190d;
	transition: 0.3s;
}
.info__block {
	margin-bottom: 25px;
}
.info__block h3 {
	font-family: "PlayfairDisplaySC-Bold";
	font-size: 20px;
	line-height: 24px;
}
.info__block a, .info__block span {
	font-family: "PlayfairDisplaySC-Regular";
	font-size: 20px;
	line-height: 24px;
	text-transform: uppercase;
	color: #ce8746;
}
.info__block a:hover {
	text-decoration: none;
}


.price__title {
	font-family: "PlayfairDisplaySC-Bold";
	font-size: 40px;
	line-height: 40px;
	color: #ce8746;
	text-align: center;
	margin-bottom: 60px;
}
.price__title span {
	display: block;
	font-size: 15px;
}
.price__item {
	display: flex;
	align-items: center;
}
.price__item h3 {
	font-family: "PlayfairDisplaySC-Regular";
	font-size: 28px;
	line-height: 40px;
	padding-right: 10px;
	/* max-width: calc(100% - 100px); */
	max-width: 23em;
}
.price {
	font-family: "PlayfairDisplaySC-Bold";
	font-size: 28px;
	line-height: 40px;
	width: 65px;
    padding-left: 15px;
}
@media (max-width: 1500px) {
	.price__item h3 {font-size: 25px}
}
@media (max-width: 1400px) {
	.price__item h3 {max-width: 21em}
}
@media (max-width: 1300px) {
	.price__item h3 {font-size: 22px}
}
@media (max-width: 1300px) {
	.price__item h3 {font-size: 22px}
}
@media (max-width: 1050px) {
	.price__item h3 {max-width: 33em}
}
@media (max-width: 900px) {
	.price__item h3 {max-width: 23em}
}
@media (max-width: 550px) {
	.price__item h3 {max-width: 18em}
}
.dots__block {
    flex-grow: 1;
	margin-bottom: 7px;
    border-bottom: 3px dotted #ce8746;
    height: 32px;
}
.big-button {
	font-family: "PlayfairDisplaySC-Bold";
	font-size: 36px;
	line-height: 36px;
	color: #3a190d;
	padding: 8px 39px 8px 39px;
	width: 570px;
	background: url('images/big-button.png') no-repeat;
	background-size: 100%;
	margin: 60px auto 20px;
	text-decoration: none;
	text-transform: uppercase;
}
.big-button span {
	display: inline-block;
	background: #ce8746;
	padding: 7px;
	padding-bottom: 8px;
	text-align: center;
	width: 100%;
	transition: 0.3s;
}
.big-button:hover span {
	background: transparent;
	color: #ce8746;
	transition: 0.3s;
}

.popup-button {
	font-family: "PlayfairDisplaySC-Regular";
	font-size: 28px;
	margin-bottom: 30px;
	text-align: center;
	text-transform: uppercase;
	text-decoration: underline;
	width: 100%;
	cursor: pointer;
}
.popup-button:hover {
	text-decoration: none;
}
.popup-content {
	display: none;
	font-family: "PlayfairDisplaySC-Regular";
	font-size: 20px;
	line-height: 30px;
	position: fixed;
	width: 70%;
	left: 15%;
	height: auto;
	max-height: 80vh;
	top: 10vh;
	overflow: auto;
	background: #ffffff;
	padding: 30px;
	z-index: 199;
}
.popup-back {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 99;
}
.popup-close {
	position: absolute;
	top: 0;
	right: -1px;
	padding: 0 10px;
	font-size: 20px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background: #3a190d;
}
.popup-content ol {
	padding-left: 25px;
	margin: 20px 0;
}
.popup-content li {
	list-style-type: decimal;
	padding-left: 10px;
}

@media (max-width: 1050px) {
	.block__wrapper {
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width: 90%;
	}
	.page__logo-item {
		width: 100%;
		margin-right: 0;
		margin-bottom: 50px;
	}
	.page__price-item {
		width: 90%;
    	margin: 0 auto;
	}
	.page__logo-wrap {
		width: 60%;
	}
	.small-button__wrap, .info__block {
		width: 49%;
		vertical-align: top;
    	display: inline-block;
	}
}

@media (max-width: 600px) {
	.block__wrapper {
		padding: 50px 0;
	}
	.small-button__wrap, .info__block {
		width: 100%;
    	display: block;
	}
	.small-button {
		font-size: 25px;
    	line-height: 25px;
    	padding: 6px 23px 6px 31px;
    	width: 250px;
	}
	.page__logo-wrap {
		width: 100%;
	}
	.page__logo-item {
		display: flex;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
        flex-direction: column;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
        align-items: center;
		margin-bottom: 30px;
	}
	.price__title {
		font-size: 30px;
		margin-bottom: 40px;
	}
	.page__price-item {
		width: 100%;
	}
	.price__item h3 {
		font-size: 19px;
		line-height: 33px;
	}
	.dots__block {
		height: 25px;
		border-width: 2px;
	}
	.price {
		font-size: 20px;
	    line-height: 35px;
	    width: 45px;
	    padding-left: 10px;
	}
	.big-button {
		font-size: 23px;
	    line-height: 25px;
	    padding: 5px 34px 8px 34px;
	    text-align: center;
	    width: 280px;
	    background: url(images/button_mobile.png) no-repeat;
	    background-size: 100%;
	    margin-top: 0;
	    margin-left: 10px;
	}
	.big-button span {
		padding: 10px;
	}
	.small-buttons__block .small-button__wrap:nth-of-type(2) {
		-webkit-box-ordinal-group: 4;
		-webkit-order: 3;
		-ms-flex-order: 3;
        order: 3;
	}
	.small-buttons__block {
		display: flex;
        flex-direction: column;
		order: 1;
	}
	.servicing-text {
		font-size: 25px;
    	line-height: 29px;
    	margin-bottom: 0;
        order: 3;
	}
	.page__logo-wrap {
        order: 4;
	}
	.page__logo-wrap + .servicing-text {
		order: 5;
	}
	.small-button__wrap:nth-of-type(3) {
        order: 6;
	}
	/*.big-button__wrap {
		-webkit-box-ordinal-group: 5;
		-webkit-order: 4;
		-ms-flex-order: 4;
        order: 4;
        margin-top: 0;
	}*/
	.small-button__wrap:nth-of-type(4) {
        order: 7;
	}
	.info__block:nth-last-of-type(3) {
        order: 8;
	}
	.info__block:nth-last-of-type(2) {
        order: 9;
	}
	.info__block:last-of-type {
        order: 2;
	}
	.popup-content {
		width: 84%;
		left: 8%;
	}
	.popup-button {
		-webkit-box-ordinal-group: 6;
		-webkit-order: 5;
		-ms-flex-order: 5;
        order: 5;
	}
}

@media (max-width: 380px) {
	.price__item h3 {
		font-size: 17px;
		line-height: 33px;
	}
}

@media (max-width: 320px) {
	.price__item h3 {
		font-size: 15px;
		line-height: 33px;
	}
	.dots__block {
	    height: 23px;
	}
}














