@font-face {
    font-family: 'Open Sans Condensed';
    src: url('../fonts/osanscondensed-700-normal.woff2') format('woff2'), url('../fonts/osanscondensed-700-normal.woff') format('woff'), url('../fonts/osanscondensed-700-normal.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-400-normal.woff2') format('woff2'), url('../fonts/opensans-400-normal.woff') format('woff'), url('../fonts/opensans-400-normal.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/opensans-700-normal.woff2') format('woff2'), url('../fonts/opensans-700-normal.woff') format('woff'), url('../fonts/opensans-700-normal.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}	
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;	
}
.clearfix:after {
    clear: both;
}
.clearfix {
    zoom: 1;
}
html, body {
	background-color: #F2F3F4;
	margin: 0;	
	padding: 0;
	border: 0;
	font-size: 100%;
	font-family: 'Open Sans', Tahoma, Geneva, sans-serif;
	font-weight: 400;
	color: #3B4149;
	line-height: 2em;
	-webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
}
nav {	
	height: 40px;
	width: 100%;
	background: #6780b3;
	z-index: 1000;
	font-family: 'Open Sans Condensed', Tahoma, Geneva, sans-serif;
	text-transform: uppercase;
	position: relative;
	border-bottom: 2px solid #4D4D4D;
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 1079px;
	height: 40px;
}
nav li {
	display: inline;
	float: left;
	white-space: nowrap;
	top: 0;
	position: relative;
	-moz-transition: top .15s ease-in-out;
	-webkit-transition: top .15s ease-in-out;
	-o-transition: top .15s ease-in-out;
	-ms-transition: top .15s ease-in-out;
	transition: top .15s ease-in-out;
}
nav a {
	color: #fff;
	display: inline-block;
	width: 170px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #4D4D4D;
}
nav li a {
	border-right: 1px solid #576979;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
nav li:last-child a {
	border-right: 0;
}
nav a:hover, nav a:active {
	background-color: #B3C5E8;
}
nav a#pull {
	display: none;
}
/* добавим очистку потока для всех контейнеров, внутри которых задано обтекание дочерних элементов */
header:after, .container:after, footer:after, .right-block-list li:after {
	content: "";
	display: table;
	clear: both;
} 
/* стилевой класс, который управляет шириной отображаемого контейнера*/
.container {
	margin: 0 auto;
	width: 97%;
	max-width: 1300px;
	-moz-transition: -moz-transform 0.5s ease;
	-webkit-transition: -webkit-transform 0.5s ease;
	-ms-transition: -ms-transform 0.5s ease;
	transition: transform 0.5s ease;
} 
/* левый контейнер */
.left-block {
	margin-bottom: 20px;
	width: 70%;
	float: left;	
	background: #f3f4f5;
}
/* блок для статьи */
.info-block {
	margin-bottom: 1.5rem;
	text-align: justify;
}
.info-block-image {
	margin-bottom: 1rem;
}
.info-block-content p, .calculator {
	line-height: 1.4;
	padding-bottom: 0.8rem;
	text-indent: 1.5rem; 
	font-size: 1.2rem;
}
/*кулькулятор*/
.size_change { 
	width: 35px;
}
.output_result { 
	width: 45px;
	-webkit-appearance: none;
	-moz-appearance:textfield;
	margin: 0;
	background-color:#F2F3F4;
}
.feed-back input {
	border:1px solid #4B4B4B;
	transition:border linear .2s,box-shadow linear .2s;
	-moz-transition:border linear .2s,-moz-box-shadow linear .2s;
	-webkit-transition:border linear .2s,-webkit-box-shadow linear .2s; 
	padding:5px; 
	margin:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	width: 35%;
}
.feed-back button {
	min-width: 150px;
	width: 25%;
	padding:10px; 
	margin:5px;
}	
.feed-back input:hover {
	background-color:#E3E3E3;
}
	
.feed-back input:focus {
	outline:none;
	border-color:rgba(113, 113, 113,.75)!important;
	box-shadow:0 0 8px rgba(113, 113, 113,.5);
	-moz-box-shadow:0 0 8px rgba(113, 113, 113,.5);
	-webkit-box-shadow:0 0 8px rgba(113, 113, 113,.5);
}

.text-processing {
	color: 3B4149;
}
.text-success{
	color: #6780B3;
}
.text-error {
	color: red;
}


/* правый контейнер */
aside {
	width: 30%;
	float: right;
}
/* блок внутри правого контейнера */
.right-block {
	padding: 0;
	background: #f3f4f5;
	margin-bottom: 1rem;
}
.right-block-title {
	text-align: center;
	color: #6178A8;
	font-size: 1.8rem;
}
.right-block-list li {
	margin: 0 auto;
}
.right-block-image {
	margin: 0;
	width: 100%;
	float: left;
}
.right-block-link {
	float: left;
	margin: 1rem 0 1.2rem 0;
}
/* нижний контейнер*/
.copyright-container {
	margin: 0 auto;
	width: 90%;
	-moz-transition: -moz-transform 0.5s ease;
	-webkit-transition: -webkit-transform 0.5s ease;
	-ms-transition: -ms-transform 0.5s ease;
	transition: transform 0.5s ease;
	font-size: 1.2rem;
} 



footer {
	padding: 10px 0;
	background: #6780B3;
	color: white;
}
.footer-column {
	width: 33.33%;
	float: left;
}
.footer-column a {
	color: white;
}
.footer-column:last-child {
	text-align: right;
}
.contact-icons {
	text-align: center;
}
.contact-icons a {
	padding: 0 6px;
}
ul.contact {
	cursor: default;
}
ul.contact li {
	-moz-transition: top .15s ease-in-out;
	-webkit-transition: top .15s ease-in-out;
	-ms-transition: top .15s ease-in-out;
	transition: top .15s ease-in-out;
	position: relative;
	display: inline-block;
	top: 0;
}
ul.contact li a {
	-moz-transition: background-color .2s ease-in-out;
	-webkit-transition: background-color .2s ease-in-out;
	-ms-transition: background-color .2s ease-in-out;
	transition: background-color .2s ease-in-out;
	display: block;
	position: relative;
	width: 30px;
	height: 30px;
	outline: 0;
	text-align: center;
}
ul.contact li a:before {
	top: 0;
}
ul.contact li:hover {
	top: -5px;
}
ul.contact li:active {
	top: 0;
}
h1, h2, h3 {
	display: block;
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}
h1 {
    font-size: 2.7rem;
    margin: 1rem 0 0.5rem 0;
	color: #3B4149;
	line-height: 2.5rem;
}
h2 {
    font-size: 1.6rem;
    margin: 0.83rem 0;
	color: #6780B3;
	line-height: 1.7rem;
}
h3 {
    font-size: 1.3rem;
    margin: 1rem 0;
	color: #3B4149;
	line-height: 1.2rem;
}
ul {
	padding:0 1rem;
	list-style: none;
}
a {
	color: #6780B3;
	text-decoration: underline;
}
a:hover {
		text-decoration: none;
}
b, strong {
	font-weight: 700;
	color: #3B4149;
}
img {
	position: relative;
	display: inline-block;
	border-radius: 8px;
	width: 100%;
	margin: 0;
	height: auto;
}



/* Стили для экранов 1080px и меньше */
@media screen and (max-width: 1080px) {
nav { 
	height: auto;
}
nav ul {
	width: 100%;
	display: block;
	height: auto;
}
nav li {
	width: 33.3%;
	float: left;
	position: relative;
}
nav li a {
	border-bottom: 1px solid #CCCCCC;
	border-right: 1px solid #576979;
}
nav a {
	text-align: left;
	width: 100%;
	text-indent: 25px;
}	
h1 {
	font-size: 2rem;
	margin: 0.6rem 0;
	line-height: 2.1rem;
}
h2 {
	font-size: 1.3rem;
	margin: 0.5rem 0;
	line-height: 1.4rem;
}
h3 {
	font-size: 1.2rem;
	line-height: 1.3rem;
}
img {
	border-radius: 7px;
}
header {
	padding: 0;
}
.info-block-content p, .calculator {
	line-height: 1.3; 
	font-size: 1.1rem;
}
ul.contact li a {
	width: 25px;
	height: 25px;
}
/* отменяем обтекание левой и правой колонок, устанавливаем им ширину 100%*/
.left-block, aside {
	width: 100%;
	float: none;
}
.right-block-title {
	font-size: 1.5rem;
}
/* нижний контейнер*/
.copyright-container {
	font-size: 1.1rem;
} 
}

/*Стили для экранов 900px и меньше*/
@media only screen and (max-width : 900px) {
body {
	padding-top:40px;
}	
nav {
	border-bottom: 0;
	position: fixed;	
	top: 0px;
}
nav ul {
	display: none;
	height: auto;
	position: relative;
	background-color: #6780b3;
}
nav li {
	float: none;
	font-size: 0.9em;
	position: relative;
}	
nav a#pull {
	display: block;
	background-color: #6780b3;
	width: 100%;
	position: relative;
}
nav a#pull:after {
	content:"";
	background: url('../images/menu_icon.png') no-repeat;
	width: 30px;
	height: 30px;
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 10px;
}
h1 {
	font-size: 1.7rem;
	margin: 0.6em 0;
	line-height: 1.8rem;
}

h2 {
	font-size: 1.2rem;
	margin: 0.2rem 0 0.7rem 0;
	line-height: 1.3rem;
}
h3 {
	font-size: 1.1rem;
	line-height: 1.2rem;
}
img {
	border-radius: 6px;
}
ul {
	padding:0 0.4rem;
}
.info-block-content p, .calculator {
	line-height: 1.2; 
	font-size: 1.0rem;
}
	/* отменяем обтекание левой и правой колонок, устанавливаем им ширину 100%*/
.left-block, aside {
	width: 100%;
	float: none;
}
.right-block-title {
	font-size: 1.5rem;
}
.feed-back input{
	width: 50%;
}
/* нижний контейнер*/
.copyright-container {
	font-size: 0.9rem;
} 
ul.contact li a {
	width: 20px;
	height: 20px;
}
}

/* Смартфоны */
@media only screen and (max-width : 400px) {
nav li {
	float: none;
	width: 100%;
}
nav li a {
	border-bottom: 1px solid #576979;
	font-size: 0.9em;
}
h1 {
	font-size: 1.5rem;
	margin: 0.5em 0;
	line-height: 1.6rem;
}
h2 {
	font-size: 1rem;
	margin: 0.2em 0 0.8em 0;
	line-height: 1.1rem;
}
h3 {
	font-size: 1rem;
	line-height: 1.1rem;
}
img {
	border-radius: 5px;
}
.right-block-title {
	font-size: 1.2rem;
}
.info-block-content p, .calculator{
	line-height: 1.1; 
	font-size: 0.9rem;
}
/* отменяем обтекание для столбцов подвала страницы */
.footer-column {
	float: none;
	margin-bottom: 20px;
	width: 100%;
	text-align: center;
}
.footer-column:last-child {
	text-align: center;
	margin-bottom: 0;
}
.feed-back input{
	width: 70%;
}
ul {
	padding:0 0.3rem;
}
ul.contact li a {
	width: 20px;
	height: 20px;
}
/* нижний контейнер*/
.copyright-container {
	font-size: 0.8rem;
} 
}