/*   
Theme Name: KMC
Description: Кавказский математический центр
Author: KMC
Author URI: http://cmcagu.adygmath.ru/
Version: 1.0
*/

body{
	background: #fff;
	font-family: Verdana, sans-serif;
	font-size: 14px;
	margin: 0;
	padding: 0;
}

a{
	color: #343434;
	font-weight: bold;
	text-decoration: underline;
}

a:hover{
	color: #dd1041;
}

header{
	position: fixed;
	width: 100%;
	background-color: #fff;
	z-index: 9999;
}

#header_block{
	height: 130px;
}

.row{
	width: 100%;	
}

.block{
	margin: 0 auto;
	width: 940px;
}

.title{
	margin: 0 auto;
	padding: 32px 0 16px 0;
	width: 940px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 24px;
	color: #5f5e5e;
}

.pagination{
	text-align: right;
	padding-top: 12px;
}

.categories{
	font-size: 12px;
	padding: 0;
	margin: 0 0 30px 0;
}

.tags{
	font-size: 12px;
	margin-top: 20px;
}

.admin-links{
	padding-bottom: 20px;
}

.small.block{
	font-size: 85%;
}

.links.row{
	padding-bottom: 12px;
}

.page-thumbnail.row{
	background: url('images/blocks/white-line.png') repeat-x #AD023C;
	padding-bottom: 21px;
	margin-bottom: 12px;
}

.post-thumbnail.row{
	background: url('images/blocks/white-line.png') repeat-x #1A2559;
	padding-bottom: 21px;
	margin-bottom: 12px;
}

.post-video.row{
	background: url('images/blocks/white-line.png') repeat-x #009481;
	padding-bottom: 21px;
}

.page-thumbnail.row img, .post-thumbnail.row img{
	vertical-align: middle;
}

h3, h3 a, .title a{
	color: #5f5e5e;
	text-decoration: none;
}

h3 a:hover, .title a:hover{
	color: #dd1041;
}

.head-line{
	height: 20px;
	background-color: #E1E1E1;
	margin-bottom: 3px;
}

/*
.site-logo{
	height: 69px;
	background: url('images/logo.png') center no-repeat;
	text-align: right;
}
 */

/*
Изменение положения блоков переключения языка
 */
@media screen and (min-width: 700px) {
  .language-en {
    display: inline-block;
	position: absolute;
	line-height: 10px;
	transform: translate(910px, 0px);
  }
  .language-ru {
    display: inline-block;
	position: absolute;
	line-height: 10px;
	transform: translate(878px, 0px);
  }

}

.menu.block{
	padding-top: 2px;
	padding-bottom: 6px;
	text-align: center;
	color: #ad033c;
	font-family: Arial;
	font-size: 13px;
	text-transform: uppercase;
	margin-right: 10;
}

.menu a{
	color: #ad033c;
	text-decoration: none;
}

.menu a:hover{
	color: #dd1041;
}

.slider.row{
	height: 450px;
	background: url('images/blocks/block-slider.png') 0 40px repeat-x;
	overflow: hidden;
}

.icons{
	height: 75px;
	background: rgba(52, 154, 207, 0.9);
	position: relative;
	top: -115px;
}

.icons span.icon{
	display: inline-block;
	background: rgba(73, 160, 206, 0.9);
	width: 75px;
	height: 75px;
	background-repeat: no-repeat;
	background-position: center;
	float: left;
}

.icons span.text{
	display: inline-block;
	width: 160px;
	height: 47px;
	padding-top: 28px;
	text-transform: uppercase;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	float: left;
}

.head-icons.row{
	background-color: #e8e8e8;
}

.head-icons.block{
	background-color: #0194E2;
}

.head-icons .icons{
	position: static;
	top: 0;
}

.events.row{
	height: 580px;
	background: url('images/blocks/block-events.png') repeat-x;
}

.event{
	width: 460px;
	height: 550px;
	background: #fff;
	float: left;
}

.event-second{
	margin-left: 20px;
}

.event a{
	text-decoration: none;
	color: #343434;
}

.event a:hover{
	color: #dd1041;
}

.event img{
	width: 460px;
	height: 318px;
	border-bottom: 8px solid #d0d0d0;
}

.event div.abstract{
	width: 408px;
	height: 192px;
	overflow: hidden;
	padding: 14px 26px;
	font-size: 14px;
}

.abstract h3{
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 20px;
	font-weight: bold;
}

.news.block{
	border-bottom: 1px solid #bfbfbf;
}

.news-item{
	width: 220px;
	background: #fff;
	float: left;
}

.news-item2, .news-item3, .news-item4{
	margin-left: 20px;
}

.news-item img{
	width: 220px;
	height: 140px;
}

.news-date{
	font-size: 12px;
	padding: 0;
	margin: 14px 0 0 0;
}

.news-title{
	padding: 0px;
	margin: 12px 0 0 0;
}

.news-item div.abstract{
	padding: 0;
	margin: 0;
}

.gallery.row{
	background-color: #f3f3f3;
	height: 160px;
}

.gallery.block{
	text-align: center;
	padding-top: 9px;
}

.video-line{
	height: 20px;
	background-color: #74BEB5;
}

.video.row{
	background-color: #009481;
	/*height: 480px;*/
	padding-bottom: 55px;
	color: #fff;
}

.video .title{
	padding: 18px 0 20px 0;
}

.video .title, .video a{
	color: #fff;
	text-decoration: none;
}

.video a:hover{
	color: #74BEB5;
}

.first-video-title{
	width: 540px;
}

.first-video{
	width: 540px;
	margin-right: 20px;
	float: left;
}

.other-videos{
	width: 380px;
	float: left;
}

.second-video{
	clear: both;
	height: 80px;
	width: 380px;
	display: inline-block;
	vertical-align: middle;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 11px;
	line-height: 1.1;
}

.second-video img{
	width: 140px;
	height: 80px;
	float: left;
	margin-right: 8px;
	vertical-align: middle;
}

.video-info p{
	margin: 0;
	padding: 8px 0 0 0;
}

.video-hr{
	clear: both;
	width: 380px;
	height: 20px;
	margin-bottom: 19px;
	border-bottom: 1px solid #59B9AD;
}

.video540x320{
	width: 540px;
	height: 320px;
}

.video560x315{
	width: 560px;
	height: 315px;
}

.video940x529{
	width: 940px;
	height: 529px;
}

.site-partners.row{
	background-color: #e8e8e8;
}

.site-partners.block{
	height: 140px;
	background-color: #0194E2;
	line-height: 140px;
	text-align: center;
	overflow: hidden;
}

.site-partners span{
	display: inline-block;
	margin: 16px;
	vertical-align: middle;
	line-height: 1.25;
}

.site-info.block{
	height: 132px;
	line-height: 127px;
	font-size: 12px;
	color: #343434;
}

.footer-links{
	display: inline-block;
	float: left;
}

.site-info img{
	float: left;
	margin-top: 42px;
	margin-right: 12px;
}

.site-info .textwidget{
	display: inline-block;
	vertical-align: middle;
	margin-left: 38px;
	line-height: 1.25;
}

.site-info .textwidget p{
	text-indent: 0;
}

.block.post{
	padding: 16px 0;
}

.alignleft{
	float: left;
	padding-right: 24px;
}

.alignright{
	float: right;
	padding-left: 24px;
}

.menu-toggle{
	background-color: transparent;
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #ad033c;
	display: none;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 1px auto 2px;
	padding: 1em;
	text-shadow: none;
	cursor: pointer;
}

.menu-icon{
	margin-right: 4px;
	width: 16px;
	height: 16px;
	vertical-align: middle;
}

.menu-toggle:hover,
.menu-toggle:focus{
	background-color: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.menu-toggle:focus{
	outline: thin solid;
}

.menu-toggle .menu-icon{
	margin-right: 0.5em;
	top: -2px;
}

#menu-icon-bars{
	display: inline-block;
}

#menu-icon-close{
	display: none;
}

.dropdown-menu-show{
	display: block;
}

.dropdown-menu-hide{
	display: block;
}