h1, h2, h3, h4, h5, h6{font-family: Georgia, serif;}
.firstpage header{
height: 320px;}
.firstpage .topname{
background:url("../img/header1_bg.png") no-repeat center top;
color: #59546d;
}
.firstpage .topname.topname_en {
  background-image: url(../img/header1_bg_en.png);
}
.mainmenu .logo{display: none;}
.secondpages .topname{
height: 320px;
background:url("../img/header_bg.png") no-repeat center top;
}
.secondpages .topname.topname_en {
  background-image:url(../img/header_bg_en.png);
}
.breadcrumbs{margin: 20px 0;}
.breadcrumbs a{color: #2a627b;}
.topname,.topname p{text-align: center;font-family: 'Exo 2', sans-serif;} 
.topblock{
background: #fff;}
.affix{
-webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.4);
-moz-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.4);
box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.4);
	width: 100%;
	z-index: 1000;
}
.top-menu-no-affix {

}
.topblock a.login{display: block;color: #2a627b;font-family: 'Exo 2', sans-serif;text-decoration: underline; margin-top: 30px;font-size: 16px;}

.topblock ul{padding: 0;}
.topblock ul li{
display: inline-block;
list-style-type: none;
  position: relative;
}
.topblock ul li ul.inside{
display: none;
}
.topblock ul li:hover ul.inside{
display: block;
  width: 200px;
  position: absolute;
  top: 0px;
  left: 0;
  background: #fff;
  z-index: 1000;
}
.topblock ul li:hover ul.inside li a{
background: #fff;
  border-bottom: 1px solid #666;
  display: block;
}
.topblock ul li:hover a, ul.inside li:focus a{
background: #fff;
  border-bottom: 0!important;
  text-decoration: underline;
}
.topblock ul li a{
color: #000;
text-transform: uppercase;
font-size: 16px;
font-family: 'Exo 2', sans-serif;
padding: 10px;
  
}
.topblock ul li a:hover, .topblock ul li.active a{background: #eee;border-bottom: 2px solid #e83c3a;text-decoration: none;}
.topblock i.fa{font-size: 25px;}

.firstpage h1,.firstpage h2,.firstpage h3{text-align: center;}


.wellcome-block{font-size: 16px;text-align: center;}
.wellcome-block .title{color: #000;text-transform: uppercase;font-weight: bold;text-align: left;}
.wellcome-block i.fa{font-size: 35px; 
display: block;
width: 50px;
height: 50px;
padding: 7px;
color: #fff;
background: #add2db;
border-radius: 25px 25px 25px 25px;
-moz-border-radius: 25px 25px 25px 25px;
-webkit-border-radius: 25px 25px 25px 25px;
border: 0px solid #000000;
float: left;
margin: 0 20px 0 0;
}

h2{color: #2a627b;margin: 40px 0;}
.first-block a, .first-block a:hover, .first-block a:active, .first-block a:focus{background: none;
border: none;
color: #000;
text-decoration: none;
}
.first-block a:hover .photo-block img{border: solid #fff 10px;}
.photo-block{font-size: 14px;text-align: center;}
.photo-block img{border: solid #d9dada 10px; width: 80%;margin: 10px 0 30px 0;}
.photo-block hr{width: 50%;    margin-top: 5px;
    margin-bottom: 5px;}
.colored {background: url("../img/colored_bg.png") repeat-x top center;}
.gallery{margin: 40px auto;}

.content{min-height: 500px;}
.bottom{background: #f6f6f7;text-align: center;padding: 20px 0;}
.footer{background: #2a627b;padding: 20px 0; color: #fff;}
.footer span{
    margin: 20px 0;
    display: block;
    text-align: right;
}

.context-info .sub-event{
float: right;
  text-align: left;
      width: 300px;
    font-size: 13px;
}
.context-info .sub-event .block-bordered{
background: #fff!important;
border-top: 1px solid #a2a5ac;
float: right;
}

.context-info .sub-event input[type="button"]{
color: #fff;
font-size: 18px;
background: rgba(147,206,222,1);
background: -moz-linear-gradient(-45deg, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(147,206,222,1)), color-stop(41%, rgba(117,189,209,1)), color-stop(100%, rgba(73,165,191,1)));
background: -webkit-linear-gradient(-45deg, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
background: -o-linear-gradient(-45deg, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
background: -ms-linear-gradient(-45deg, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
background: linear-gradient(135deg, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93cede', endColorstr='#49a5bf', GradientType=1 );
border-radius: 3px;
border: 1px solid #2a627b;
margin: 10px 0;
}

.user_in{margin: 15px 0 0px 0;font-size: 12px;}

.user_in div.row2{
width: 40%;
float: left;
}
.user_in div.row4 input[type="submit"]{
margin: 15px 0 0 0;
}
.user_in label{
width: 107px;
margin: 0;
}
.user_in input.row2{width: 95px;}
.user_in .help a{
font-size: 12px;
}
.user_in h5{
display: none;}
.user_in .password_recover{background-color: #d9edf7;}

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

@media (max-width: 768px) { 
.user_in{width: 80%;}
.colored{ background: none!important;}
.topname {padding: 150px 0;}
.secondpages .topname{padding: 150px 0;}
 }

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
.user_in{width: 80%;} 
.firstpage .topname{padding: 180px 0;}
.secondpages .topname{padding: 180px 0;}
.topblock ul {margin: 0;}
 }

/* Medium devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991px) { 
.user_in{width: 40%;}
.first-block{width: 780px;}
.firstpage .topname {padding: 200px 0;}
.secondpages .topname{padding: 200px 0;}
.topblock ul {margin: 0;}
.topblock{height: 90px;}

 }

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 992px) { 
.user_in{width: 40%;}
.first-block{width: 800px;}
.firstpage .topname {padding: 200px 0;}
.secondpages .topname{padding: 200px 0;}
.topblock ul {margin: 30px 0 0 0;}
.topblock{height: 90px;}
 }

.lang{

height: 30px;
margin-bottom: 5px;
margin-top:30px;
}
.lang  a{
display: inline-block;
width: 24px;
height: 19px;
margin: 5px 10px;
}
.lang a.rus{
background: url('../img/rus.png') no-repeat top left;
}
.lang a.eng{
background: url('../img/eng.png') no-repeat top left;

}