* {margin:0; padding:0; outline:none;}

html {
	font-family:'Fira Sans';
	font-size:1.1rem;
	height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
	line-height:1.5;
	-webkit-text-size-adjust: 100%;
}

/* основная сетка */

header {
   flex: 0 0 auto;
   padding:10px 0 6px 0;
   background:#ffffff;
   width:100%;
   font-size:1.9rem;
   font-weight:lighter;
   color:#0d3b55;
}
	

section#relevant {
	flex: 1 0 auto;
}


main {
   flex: 1 0 auto;
   padding-top:15px;
   margin-bottom:25px;
   background:#e1e1e1;
}	

	main #service {
		margin:0 0 25px 0;
	}	
	

		main #service .service {
			margin:15px 0 25px 0;
			padding:10px;
			background:#ffffff;
			border-radius:10px;
		}	
	
	main #service h2{
		margin:0;
	}	

	
		
		main #service ul{
			list-style-type:square;
			margin:0 0 0 16px;
			line-height:1.3;
		}
			main #service ul li{
				padding:8px 0 8px 0;
				border-bottom:1px solid #ffffff;
			}
				main #service ul li:last-child{
					padding-bottom:0;
					border-bottom:none;
				}
			
	main #task {
		
	}
		main #task p{
			font-weight:lighter;
			margin-bottom:20px;
		} 
		
		main #task form{
			padding-top:10px;
		} 
	

footer {
   flex: 0 0 auto;
   padding:0 0 10px 0;
   min-height:100px;
   background:#ffffff;
   font-size:1rem;
}
	
	
/* типографика */

h1, h2, h3 {
	font-weight:normal;
	padding:0;
	margin:0 0 10px 0;
	line-height:1.1;
}

h1 {
	font-size:1.7rem;
	font-family:Gotham Pro Narrow;
}
	h1 span {
		font-family:'Fira Sans';
		font-weight:lighter;
		font-size:0.9rem;
		display:block;
		margin:4px 0 0 0;
		padding:0;
	}

h2 {
	font-size:1.3rem;
	font-family:Gotham Pro Narrow;
}

h3 {
	font-size:1.1rem;
	font-family:Gotham Pro Narrow;
}

p {
	font-size:1rem;
	margin-bottom:10px;
}

p.small {
	font-size:0.8rem;
	margin-bottom:10px;
}

ul, ol {
	font-size:1rem;
	margin:0 0 10px 20px;
} 

li {
	
}

a {
	color:#3294e2;
	text-decoration:none;
	border-bottom:1px solid #c2ddf2;
}

button.disabled {
	padding-bottom:5px;
	background:none;
	border:none;
	font-size:1rem;
	color:#000000;
	font-weight:lighter;
	display:block;
	margin:0 auto;
	width:100%;
	text-align:right;
}


input {
	width: 98%;
    padding: 1%;
    border:1px solid #000000;
	border-radius:0;
    background: none;
    font-family:'Fira Sans';
    font-size: 1rem;
    line-height: 1rem;
	outline: none;
	background: none;
	
}

textarea {
	width: 98%;
    padding: 1%;
    border:1px solid #000000;
	border-radius:0;
    background: none;
    font-family:'Fira Sans';
    font-size: 1rem;
	min-height:100px;
	outline: none;
	background: none;
	resize: none
	
}

input:focus {
   border:1px solid #eb5662;
   outline:3px solid #eb5662;
}

textarea:focus {
   border:1px solid #eb5662;
   outline:3px solid #eb5662;
}


input.error{
	border:1px solid #f78181;
	transition: 0.7s;
}

input::placeholder {
	color:#666666;
}

.form-input {
	display:block;
	margin-bottom:10px;
}
/* технические блоки */

/* ширина боков */
.wrapper-all {	
	margin: 0;
	padding:0;
}

.wrapper {	
	margin: 0 auto;
	padding:15px;
	min-width:959px;
	max-width:1100px;
}



/* флексы */

.flex-between-center {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.flex-between-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.flex-between-wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

.flex-between-line {
	display: flex;
}


/* скрыть показать */

.hide {
	display:none;
}

.show {
	display:block;
}

/* прокрутка */


.opacity {
    background: #333333;
    opacity: 0.7;
}
   
.tablet-header {
	margin-bottom:15px;
}

	.tablet-header .promo{
		margin-top:1px;
		width:auto;
	}

@media screen and (device-aspect-ratio: 71/40) {
		h1 {
			font-size:1.6rem;
		}
	
		.tablet-header .promo{
			display:none
		}
	}

/* прелодер */

#page-loader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 101;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #ffffff url('/i/pic/load.svg?') no-repeat center center;
}
    
.page-loader-visible {
	visibility: visible;
	opacity: 1;
	transition: opacity 2s linear;
}

.page-loader-hidden {
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s 2s, opacity 2s linear;
}


#overlayer {
	display: none; 
	position: fixed; 
	top: 0; right: 0; bottom: 0; left: 0; 
	width: 100%; 
	height: 100%; 
	overflow: auto;  
	z-index: 102; 
	background-color:#ffffff; 
	overflow-y: auto;
}

#navigator {
	margin-top:3px;
}

.ceil {
	width:75%;
	margin-right:10%;
}
.ceil_img {
	width:15%;
}

#result_message {
	display:none;
}

#feadback button {
	padding:5px;
	background:#eb5662;
	border:none;
	font-size:1rem;
	color:#000000;
	font-weight:lighter;
	display:block;
	margin:0 auto;
	width:100%;
	text-align:center;
}