
body, .body {
    display: inline-block;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    position: relative;
    font-size: 18px;
}
.header, .footer {
    display: inline-block;
    width: 100%;
    margin: 0;
	padding: 30px 0;	
	background: #b0ddf2;
}
section {
	padding: 25px 60px;
}
h3 {
	text-align: center;	
}
#tomail {
	color: #dd2a1c;
	padding: 0px 10px 10px;
	background: #fbe116;
	border: 2px solid #dd2a1c;
	position: absolute;
	right: 10px;
	top: 10px;
	line-height: 0.3;
}
#tomail:hover {
	background: #b0ddf2;
}
#tomail span {
    background: url('/template/img/email-red.png') no-repeat;
    background-position: center center;
	 background-size: cover;
    font-size: 0px;
    width: 24px;
    height: 20px;
    display: inline-block;
}

#load_fofm {
    display: none;
    background: transparent;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 99999;
    transition: top .5s ease-in-out;
}
.top_head a, .top_head a:hover {
	text-decoration: none;
	color: inherit;	
}

.bottom {
	display: inline;
	text-align: center;
	margin: 30px auto;	
}
.button {
	color: #fbe116;
	background: #b0ddf2;
	display: inline-block;
	padding: 20px 40px;
	margin: 10px auto;
	border: 2px solid #dd2a1c;	
	/*text-shadow: red 1px 0px, red 1px 1px, red 0px 1px, red -1px 1px, red -1px 0px, red -1px -1px, red 0px -1px, red 1px -1px;*/
	text-shadow: 2px 0px 2px rgba(223, 45, 22, 1);
	font-size: 26px;
}
.button:hover {
	color: #dd2a1c !important;
	background: #fbe116;
	text-decoration: none;
}


.header, .footer {
	text-align: center;
}

article {
    padding: 25px;
}

#back-top-wrapper {
    position: fixed;
    right: 9px;
    bottom: 20px;
    overflow: hidden;
    z-index: 999;
    display: none;
}
#back-top a {
    display: block;
    margin-bottom: 7px;
    width: 50px;
    height: 50px;
    background: #b0ddf2 url("../img/up-arrow-hover.png") no-repeat scroll center center;
    border: 3px solid #dd2a1c;
    font-size: 0px;
    border-radius: 2px;
}
#back-top a:hover {
    background: #fbe116 url("../img/up-arrow-hover.png") no-repeat scroll center center;
}
.ya-share2 {
    position: fixed;
    bottom: 10px;
    left: 10px;
}
.ya-share2__list_direction_horizontal > .ya-share2__item {
    display: block !important;
    margin-bottom: 5px !important;
}


form {
    margin: 0 0 18px;
}
.modal-dialog {
    margin: 0 auto;
    max-width: 600px;
  background: #f5f4f4;
    padding-bottom: 40px;
}
#load_fofm .close {
  font-size:25px;
  line-height:25px;
  color:#fff;
  opacity:1;
  position:absolute;
  top:15px;
  right:15px;
  width:30px;
  height:30px;
  background:url('/template/img/close.png') no-repeat;
  border: 0;
}
#load_fofm .close:hover {
  margin:0 auto;
  max-width:600px;
}
.modal-dialog .form-bottom-row, .modal-dialog .form-bottom-row div { display:inline-block; }
.modal-dialog .form-bottom-row { margin-top:5px; }
.modal-dialog a {
  color:#000;
  text-decoration:underline;
}
.modal-dialog input[type="checkbox"] { margin:0 6px 0; }
.modal-dialog .modal-content { background:#f5f4f4;padding: 15px 60px 15px; }
.modal-dialog label, .modal-dialog input {
  font-family:"Qanelas-Light";
  font-size:18px;
}
.modal-header {
  background:#f5f4f4;
  text-align:center;
  min-height:115px;
  position:relative;
  padding:45px 60px 0px;
  border:0;
}
.modal-dialog label {
	margin-top: 10px;
	display: inline-block;
	color: #444;
}
.modal-content .name, .modal-content .phone, .modal-content .email, .modal-content .point, .playment-contacts .name, .playment-contacts .phone, .playment-contacts .email, .playment-contacts .point {
    position: relative;
}
.modal-header .title {
  color:#1d92d3;
  font-family:"Qanelas-Bold";
  font-weight:400;
  font-size:32px;
  text-transform:uppercase;
  line-height:1;
  margin-bottom:20px;
}
.sf2-required {
	color: red;	
}
.modal-header .text {
  display:inline-block;
  width:80%;
  padding-left:10px;
  color:#fff;
}
.modal-header .i-phone {
  width:54px;
  height:54px;
  line-height:54px;
  text-align:center;
  color:#1c7dba;
  float:left;
  font-size:36px;
  border-radius:2px;
  background:#fff;
  text-align:center;
}
.modal-header .i-phone:before {
  font-family:FontAwesome;
  content:"\f095";
}

.modal-footer {
  text-align:center;
  border:0;
  padding:0px 60px;
  background: #f5f4f4;
}
.modal-footer .p-s {
  max-width:350px;
  margin:20px auto;
  color:#000;
  font-family:"Qanelas-Light";
  font-size:20px;
  line-height:1.2;
}
.modal-footer button { width:100%; }
button[disabled] {
  cursor:not-allowed;
  opacity:0.3;
  filter:alpha(opacity=65);
  -webkit-box-shadow:none;
  box-shadow:none;
}

button.sf2-element[type="submit"] {
    display: inline-block;
    border: 2px solid #f5353b;
    border-radius: 2px;
    padding: 12px 30px;
    font-family: "Qanelas-Light";
    font-size: 20px;
    color: #000;
    background: #b0ddf2;;
    margin-top: 10px;
}
.center {
    text-align: center !important;
    color: #444;
}
input::-moz-placeholder { color: #ccc; }
input::-webkit-input-placeholder { color: #ccc; }
textarea::-moz-placeholder { color: #ccc; }
textarea::-webkit-input-placeholder { color: #ccc; }

.modal-content .inputtext {
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid #d7dee3;
        border-top-color: rgb(215, 222, 227);
        border-right-color: rgb(215, 222, 227);
        border-bottom-color: rgb(215, 222, 227);
        border-left-color: rgb(215, 222, 227);
    padding: 6px 12px;
    display: block;
    width: 100% !important;
    font-size: 18px;
    position: relative;
    height: 44px !important;
}
textarea {
	width: 100%;
	padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, box-shadow linear .2s;
    -o-transition: border linear .2s, box-shadow linear .2s;
    transition: border linear .2s, box-shadow linear .2s;
}


.modal-backdrop, .modal-backdrop.fade.in {
    opacity: 0.8;
 }
 .modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.footer {
	color: #dd2a1c;	
}

.error {
	border-color: red !important;	
}

.tables {
	display: inline-block;
	width: 100%;
	margin-bottom: 30px;	
}
.rows {
	clear: both;
	padding: 20px;
	text-align: center;	
	border: 1px solid #ccc;
	display: table;
	width: 100%;
	text-align: left;
}
.rows:first-child {
	text-align: center;
	font-weight: bold;
}
.rows:first-child a {
	color: red;
	text-decoration: underline;
	display: inline-block;
	width: 100%;
	height: 100%;	
}

.rows:first-child a:hover {
	text-decoration: none;	
}
.img {
	background: #fbe116 url('/template/img/book.png') 5px center no-repeat;	
}
.text {
	text-indent: 1em;
	font-style: italic;
}



@media (max-width: 900px) {
	section {
		padding: 25px 40px;
	}	
}

@media (max-width: 600px) {
	section {
		padding: 25px 30px;
	}	
}
@media (max-width: 500px) {
	.top_head {
		text-align: left;	
	}	
	h1 {
    font-size: 24px;
   }
}










