body{
	font-family: "Century Gothic";
}

.a{
	padding: 15px;
}
a:focus {
    outline: none !important;
    outline-offset: 0;
    text-decoration: none !important;
}
*:focus-visible {
    outline: 0 !important;
}
.a a{
	color: #FFF;
	border: 3px solid transparent;
	background-color: #555A78;
	padding: 10px 15px;
	font-weight: bold;
	text-decoration: none;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

.a a:hover, .a a:active{
	color: #555A78;
	border: 3px solid #555A78;
	background-color: transparent;
}

.nomargin{
	margin: 0;
}

object{
	max-width: 100%;
}

iframe{
	width: 100%;
	margin-bottom: 15px;
}

/**************************************************************************/

header .shapka{
	width: 100%;
	height: auto;
}

header .container{
	margin-bottom: -54px;
	z-index: 100;
	position: absolute;
	width: 100%;
	z-index: 1000;
}

header .menu{
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;	
}

header .navbar{
	margin-bottom: 0;
	background-color: #2A2F45;
	border: none;
	border-radius: 0;
}

header .navbar-nav li{
	padding: 0 5px;
}

header .navbar-default .navbar-nav li a{
	color: #fff;
	font-weight: bold;
	border-bottom: 4px solid transparent;
	-webkit-transition: 0.5s all ease;
	-moz-transition: 0.5s all ease;
	-o-transition: 0.5s all ease;
	transition: 0.5s all ease;
	padding-left:13px;
	padding-right:13px;
}

header .navbar-default .navbar-nav li a:hover, 
header .navbar-default .navbar-nav li a:focus,
header .navbar-default .navbar-nav li.active a, 
header .navbar-default .navbar-nav .open a:focus{
	border-bottom: 4px solid #B93A41;
	background-color: transparent;
	color: #fff;
}

header .navbar-default .navbar-nav .dropdown-menu {
    padding: 10px 0;
    margin: 5px 10px 0;
    font-size: 14px;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

header .navbar-default .navbar-nav .dropdown-menu li a{
	color: #000;
}

header .navbar-default .navbar-nav .dropdown-menu li:hover{
	background-color: #B93A41;
	color: #fff;
}

header .navbar-default .navbar-nav .dropdown-menu li a:hover{
	background-color: #B93A41;
	color: #fff;
}

header .navbar-right aside{
	padding-top: 15px;
}

header .navbar-right aside a{
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	padding-right: 5px;
	-webkit-transition: 0.5s all ease;
	-moz-transition: 0.5s all ease;
	-o-transition: 0.5s all ease;
	transition: 0.5s all ease;
}

header .navbar-right aside a:hover, header .navbar-right aside a:focus{
	color: #B93A41;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    display:none;
    margin-top: -1px;
	border-top-left-radius:0;
	border-bottom-left-radius:0;
	border-left-color:#fff;
	box-shadow:none;
}
.right-caret:after,.left-caret:after
 {	content:"";
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    display: inline-block;
    height: 0;
    vertical-align: middle;
    width: 0;
	margin-left:5px;
}
.right-caret:after
{	border-left: 5px solid #ffaf46;
}
.left-caret:after
{	border-right: 5px solid #ffaf46;
}

.greyscale {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

/**************************************************************************/

#section1{
	position: relative;
	background-color: #F2F2F2;
	padding: 50px 0;
}

#section1 .col-md-4{
	padding: 15px;
}

#section1 .col-md-4 .div{
	background-color: #FFF;
	padding: 10px;
	border: 1px solid #D9D9D9;
}

#section1 .f{
	font-size: 36px;
	color: #FFF;
	background-color: #B93A41;
	border-radius: 50%;
	padding: 20px;
}

#section1 .h3{
	color: #20264C;
	font-weight: bold;
}

#section1 .h2{
	color: #B93A41;
	font-weight: bold;
}

#section1 p{
    font-family: 'Open Sans', sans-serif;
    font-size: 1.125em;
    line-height: 1.4;
	color: #000;
}

#section1 .ssilki{
	background-color: #B93A41;
	padding: 10px;
	margin-top: 30px;
	color: #FFF;
	text-align: left;
}

#section1 .ssilki a{
	padding-left: 15px;
	text-decoration: none;
	color: #FFF;
}

#section1 .ssilki a:hover{
	color: #2A2F45;
	font-weight: bold;
}

#section1 .form-control{	
	width: 100%;
	margin: 0 auto;
	margin-bottom: 10px;
}

#section1 input[type="submit"]{
	width: auto;
	margin: 0 auto;
	border-radius: 0;
	border: 3px solid transparent;
	background-color: #C8474F;
	color: #fff;
	font-weight: bold;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

#section1 input[type="submit"]:hover, #section4 input[type="submit"]:active{
	color: #C8474F;
	border: 3px solid #C8474F;
	background-color: #fff;
}

/**************************************************************************/

#section2{
	position: relative;
	background-color: #FFF;
	padding: 50px 0;
}

#section2 .h2, #section2 .h3{
	color: #20264C;
	font-weight: bold;
}

#section2 p{
	color: #8A8A8A;
}

#section2 p.main{
	padding: 10px;
	width: 70%;
	margin: 0 auto;
}

/**************************************************************************/

#section3{
	position: relative;
	background-color: #F2F2F2;
	z-index: 444;
	padding: 50px 0;
}

#section3:after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 13px 13px 0 13px;
	border-color: #F2F2F2 transparent transparent transparent;
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -13px;
}

#section3 .h3{
	color: #20264C;
	font-weight: bold;
}

#section3 p.main{
	padding: 10px;
	width: 60%;
	margin: 0 auto;
}

#section3 .messagebox{
	background-color: #C8474F;
	padding: 20px;
	text-align: left;
	color: #FFF;
}

#section3 .messagebox .day{
	font-size: 36px;
}

#section3 .messagebox .day, #section3 .messagebox .month{
	font-weight: bold;
}

#section3 img{
	max-height: 210px;
}

/**************************************************************************/

#section4{
	position: relative;
	background: #555A78;
	z-index: 333;
	padding: 50px 0;
}

#section4 .h3{
	color: #FFF;
	font-weight: bold;
}

#section4 .form-control{
	margin-bottom: 10px;
}

#section4 input[type="submit"]{
	width: auto;
	margin: 0 auto;
	border-radius: 0;
	border: 3px solid transparent;
	background-color: #C8474F;
	color: #fff;
	font-weight: bold;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

#section4 input[type="submit"]:hover, #section4 input[type="submit"]:active{
	color: #C8474F;
	border: 3px solid #C8474F;
	background-color: #fff;
}

/**************************************************************************/

footer{
	position: relative;
	background-color: #C8474F;
	color: #fff;
	font-weight: bold;
	padding: 10px 0;
}

footer p{
	margin: 0;
}

footer span{
	top: -5px;
	font-size: 20px;
}

footer a{
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
}

footer a:hover, footer a:active{
	text-decoration: none;
	color: #555A78;
}

.main-article{
	max-height: 900px;
	padding: 10px;
	padding-right: 20px;
	overflow: auto;
	overflow-x: hidden;
}

.main-article::-webkit-scrollbar-track{
	border-radius: 10px;
	background-color: #D9D9D9;
}

.main-article::-webkit-scrollbar{
	width: 10px;
	background-color: #F5F5F5;
}

.main-article::-webkit-scrollbar-thumb{
	border-radius: 10px;
	background-color: #C8474F;
}

@media(max-width:768px){
	header .container{
		margin: 0;
		position: relative;
		padding: 0;
	}
	header .menu{
		margin: 0;
		padding: 0;
	}
}

/**************************************************************************/

.books{

}

.books .book-info{
	margin-bottom: 30px;
}

.books .book-content{
	padding: 15px;
	text-align: justify;	
}

.books .book-title{
	font-size: 24px;
	font-weight: bold;
	padding-bottom: 10px;
}

.loading-bar{
	background-color: #c54a51;
	padding: 10px;
	width: 200px;
	text-align: center;
	margin: 0 auto;
	color: white;
	font-weight: bold;
	border-radius: 4px;
	cursor: pointer;
}
#content hr{
	border-top: 1px solid #908C8C;
}
#content img{
	margin-right: 5px;
	width: 240px;
	float: left;
}
#content a{
	color: #c54a51;
	text-decoration: none;
}
#onenews img{
	margin-top: 15px;
}

pre{
	padding: 0;
	font-size: 1em;
	border: none;
	border-radius: none;
}

/*========================================================
  Back to top button
========================================================*/

  #scroll{
    position: fixed;
    right: 5%;
    bottom: 5%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    z-index: 10000;
    background-color: rgb(185, 58, 65);
    text-indent: -9999px;
    display: none;
    -webkit-border-radius: 10%;
    -moz-border-radius: 10%;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: all 0.5s ease;
  }

  #scroll span{
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
  }

  #scroll:hover{
    background-color: rgba(185,58,65,0.4);
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
  }