/* ==========================================================================
   Opinionated defaults
   ========================================================================== */

html { font-size: 1em; line-height: 1.4; }
html, body { height: 100%; }
* { padding: 0px; margin: 0px; }
img { border: none; }
ul { list-style: none; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
textarea { resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; }
audio, canvas, img, video { vertical-align: middle; }
.browsehappy { margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0; }
::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Image replacement */
.ir { background-color: transparent; border: 0; overflow: hidden; *text-indent: -9999px; }
.ir:before { content: ""; display: block; width: 0; height: 150%; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Clear fix */
.clear { clear: both; height: 0px; font-size: 0px; line-height: 0px; overflow: hidden; }
.clearfix:before,
.clearfix:after {  display: table; content: " "}
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }


/* ==========================================================================
   Typography
   ========================================================================== */

@font-face {
    font-family: 'handbook'; font-weight: normal; font-style: normal;
    src: url('//inmedis.ru/static/fonts/pfhandbookpro-regular-webfont.eot');
    src: url('//inmedis.ru/static/fonts/pfhandbookpro-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('//inmedis.ru/static/fonts/pfhandbookpro-regular-webfont.woff') format('woff'),
    url('//inmedis.ru/static/fonts/pfhandbookpro-regular-webfont.ttf') format('truetype'),
    url('//inmedis.ru/static/fonts/pfhandbookpro-regular-webfont.svg#handbook') format('svg'); }

@font-face {
    font-family: 'handbook_medium'; font-weight: normal; font-style: normal;
    src: url('//inmedis.ru/static/fonts/pfhandbookpro-medium-webfont.eot');
    src: url('//inmedis.ru/static/fonts/pfhandbookpro-medium-webfont.eot?#iefix') format('embedded-opentype'),
    url('//inmedis.ru/static/fonts/pfhandbookpro-medium-webfont.woff') format('woff'),
    url('//inmedis.ru/static/fonts/pfhandbookpro-medium-webfont.ttf') format('truetype'),
    url('//inmedis.ru/static/fonts/pfhandbookpro-medium-webfont.svg#handbook_medium') format('svg'); }

.handbook { font-family: 'handbook', sans-serif; }
.handbook-medium { font-family: 'handbook_medium', sans-serif; }

html, button, input, select, textarea { color: #181b1c; font: 17px/1.4 Arial, Helvetica, sans-serif; }
body { color: #181b1c; }
a { color: #181b1c; text-decoration: none; }
a:hover { color: #e41e26; text-decoration: none; }

.hr { display: block; height: 1px; border: 0; margin: 0; padding: 0; background-color: #fff; }
.btn { height: 44px; padding: 0px 35px; float: left; color: #e41e26; line-height: 42px; text-decoration: none; font-size: 16px; text-transform: uppercase; background: #fff; border: 2px solid #e1e1e1; border-radius: 2px; cursor: pointer; }
.btn:hover { background: #e1e1e1;  }

.grey { background-color: #ebebeb; }

/* ==========================================================================
   Forms
   ========================================================================== */
  
.typical-form input[type="text"],
.typical-form input[type="password"],
.typical-form textarea {  }

.fluid-field { padding: 0px 20px 0px 0px; }
.fluid-field input,
.fluid-field textarea { width: 100%; }

/* ==========================================================================
   Base blocks
   ========================================================================== */
 
/* Base */
.wrapper-out { overflow: hidden; min-width: 982px; min-height: 100%; border-top: 10px solid #2f3132; }
.wrapper { margin: 0px auto; width: 982px; position: relative; left: 50%; margin-left: -491px; }

/* Header */
.site-header { height: 116px; position: relative; }
.site-header .logo { display: block; float: left; margin-top: 29px; }
.mainmenu { float: right; margin-top: 42px; font-size: 17px; }
.mainmenu li { float: left; }
.mainmenu li a { text-decoration: none; display: block; float: left; padding: 0 12px; line-height: 28px; padding-bottom: 2px; border-radius: 15px; }
.mainmenu li a:hover, .mainmenu li.active a  { color: #fff; background: #e41e26; }

/* Slider */
.slider { height: 400px; position: relative; background: #43698e; background: #3b5f86 url(../../img/ims/slider-bg.jpg) no-repeat 50% 0%; color: #fff; overflow: hidden; margin-bottom: 20px; }
.slider .wrapper { height: 100%; }
.slider header { text-transform: uppercase; font-size: 60px; letter-spacing: 6px; padding: 20px 0 25px 0; }
.slider .hr { background: rgba(255,255,255, 0.3); margin-bottom: 25px; }
.slider .desc { font-size: 18px; line-height: 22px; width: 645px; }
.slider figure { display: block; width: 646px; height: 191px; position: absolute; bottom: 0; right: 0; }

/* article */
article { position: relative; padding: 40px 0; }
article .mfig { width: 250px; height: 250px; overflow: hidden; border-radius: 125px; float: right; }
article .num { position: absolute; top: 0; left: 0; background: #e41e26; color: #fff; width: 40px; height: 40px; text-align: center; font-size: 37px; line-height: 16px; overflow: hidden; }
article .content { padding: 0 300px 0 70px; font-size: 18px; line-height: 22px; }
article .content header { text-transform: uppercase; font-size: 40px; margin-bottom: 26px; }
article .content .desc { color: #6f6f6f; margin-bottom: 16px; }
article .content .lead { margin-bottom: 25px; }
article .content .full-desc { padding-top: 30px; clear: both; display: none; }
article .content .full-desc p { margin: 0; padding: 0 0 20px 0; }

/* contacts */
.contacts { padding: 40px 0; position; relative; margin-bottom: 30px; }
.contacts header { font-size: 30px; text-transform: uppercase; margin-bottom: 20px; }
.contacts dl { width: 300px; }
.contacts dt, .contacts dd { display: block; }
.contacts dt { font-size: 20px; color: #6f6f6f; margin: 0 0 0px 0; }
.contacts dd { font-size: 20px; margin: 0 0 18px 0; }
.contacts .map { width: 640px; height: 300px; background: #ccc; position: absolute; top: 20px; right: 0; }

/* footer */
footer { text-align: center; background: #2f3132; padding: 15px; color: #fff; }
/* footer */

.slider header h1 { font-size: 60px; letter-spacing: 6px; font-weight: normal; margin: 0; padding: 0; }
.slider h2 { font-size: 30px; font-weight: normal; margin: 0 0 30px 0; padding: 0; line-height: 30px; }
article .content header h3 { text-transform: uppercase; font-size: 40px; margin-bottom: 26px; font-weight: normal; margin: 0; padding: 0; }

/* Popup */
.ajax_form { background: #fff; z-index: 100; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; padding: 0 10px 10px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; position: relative; border: 5px solid rgb(231, 231, 231); box-shadow: 0 0 15px #606060; -moz-box-shadow: 0 0 15px #606060; -webkit-box-shadow: 0 0 15px #606060; }
.ajax_form .handle { margin: 0 -10px 10px; height: 35px; cursor: move; line-height: 35px; background: url('../../img/v2/fe_images/popup.png') repeat-x 0 0; -moz-border-radius: 5px 5px 0 0; -webkit-border-radius: 5px 5px 0 0; border-radius:5px 5px 0 0; font-weight: bold; font-size: 14px; color: white; padding: 0 50px 0 12px; }
.ajax_form a.close { display: block; cursor:pointer; overflow: hidden; position: absolute; width: 19px; height: 19px; line-height: 19px; top: 8px; right: 12px; background: url('../../img/v2/fe_images/popup.png') no-repeat right -35px; }
.ajax_form a.close:hover { background-position: right -54px; }
.notice_block, .confirm_block { margin: 10px 0 0 10px; min-width: 300px; }
.notice_message, .notice_buttons, .confirm_message, .confirm_buttons { margin: 0 10px 10px 0; }
.notice_buttons, .confirm_buttons { text-align: center; }
.confirm_buttons input, .notice_buttons input { margin: 0 5px 0 0; padding: 1px 6px; }
.notice_message { background: url(../../img/warning.png) no-repeat; padding: 0 0 0 60px; min-height: 50px; }
.confirm_message { background: url(../../img/question.png) no-repeat; padding: 0 0 0 60px; min-height: 50px; }
#al_area_div { width: 32px; height: 32px; background: url(../../img/fe_images/ajax-loader.gif) no-repeat; }

.ajax_form p { padding: 0 10px 10px 0; overflow: hidden; overflow-y: auto; margin:0; }
.ajax_form label { display: inline-block; padding-top: 4px; width: 117px; line-height: 13px; }
.ajax_form .links { width: 80%; float: right; clear: both; text-align: right; word-spacing: 5px; color: #CCC; }
.ajax_form .links a { word-spacing: normal; }

#user_registration_form { width: 440px; }
#user_registration_form .captcha #captcha_image { float: left; width: 110px; height: 30px; }
#user_registration_form .captcha .key_wrapper { float: left; padding: 1px 0 0 10px; }
#user_registration_form .captcha .reload_wrapper { float: left; margin-left: 17px; padding: 7px 0 0 21px; font-size: 12px; color: #777777; cursor: pointer; background: url('../../img/PTV_06_13/reload.png') no-repeat 0 5px; height: 23px; }
#user_registration_form .captcha .reload { border-bottom: 1px dotted black; }
/* Popup */

.obutton {
    background: rgb(244, 119, 39);
    height:26px;
    border: 1px solid rgb(222, 107, 34);
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    color: white;
    box-shadow: inset 0 0 1px white;
    -moz-box-shadow: inset 0 0 1px white;
    -webkit-box-shadow: inset 0 0 1px white;
}

.centered {
    text-align: center;
}
.oinput {
    width: 205px;
    margin-right: 1px;
    display: inline-block;
    background: url(../../img/fe_images/search-input.png) 0 0 no-repeat;
    padding: 0 5px;
    height: 27px;
}
.oinputr {
    display: block;
    height: 27px;
	padding-right: 6px;
	margin-right: -6px;
    background: url(../../img/fe_images/search_input_r.png) 100% 0 no-repeat;
}
.oinput .otext {
    background: none;
    margin-top: 5px;
    height: 18px;
    width: 100%;
    border: none;
    font: inherit;
    font-size: 15px;
    font-weight: bold;
}
.rinput {
    float: right;
}
.dinput {
    width: 347px;
    padding: 0 10px 0 0;
    line-height: 27px;
}
.dinput label {
    padding: 0 15px 0 3px !important;
    line-height: 28px !important;
    width: auto !important;
}

.shaped {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background: rgb(244, 244, 244);
    border: 1px solid rgb(231, 231, 231);
    padding: 10px 0 0 10px;
    margin-bottom: 10px;
    overflow-y: auto;
}

.input_file_block {display: inline-block; width: 240px; position: relative; overflow: hidden; padding-bottom:1px; vertical-align: middle;}
.input_file_block .input_file_element {position: absolute; left: -300px; top: -200px;}
.input_file_block .obutton {float: left;}
.input_file_block span {float: left; width:110px; margin: auto 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 26px; line-height: 26px; font-size: 13px;}

.news-category-block{width: 686px;}
.news-category-block-short{width: 375px; float: left; margin: 0 10px 10px 0;}
.news-category{width: 686px; height: 200px; overflow: auto; background-color: #ffffff; border: 1px solid silver; margin-top: 5px;}
.news-category-short{width: 373px; height: 240px; overflow: auto;; background-color: #ffffff; border: 1px solid silver; margin-top: 5px;}

/* progress bar */
#progress_bar {display:none;}
#progress {width: 515px; border: 1px solid black;}
#progressbar {width: 1px; background-color: black; border: 1px solid white;}
/* progress bar */

/* news creation form */
#news_form a.pic { display: block; position: relative; float: left;}
#news_form div.announce, #news_form .video, #news_form .photo_button, #news_form .soundtracks_button {margin: 5px 10px 10px 0; width: 373px; float: left;}
#news_form div.announce label {line-height: inherit; display: inline;}
#news_form textarea#announce {width:367px; height: 100px; border: 1px solid #bbbbbb; padding: 2px;}
#news_form #photo_block, #news_form #soundtracks_block {margin:0 10px 10px 0; border: 1px solid #bbbbbb; height: 120px; overflow: auto; display: none;}
#news_form #soundtracks_block {height: 150px;}
#news_form .keywords {margin-bottom: 10px;}
#news_form .keywords label {width: 117px; display: inline-block; vertical-align: middle; padding:0;}
#news_form .keywords label a {display: inline-block; vertical-align: middle;}
#news_form .keywords .oinput {width: 255px; display: inline-block; vertical-align: middle;}
#news_form .keywords .obutton {vertical-align: middle;}
#news_form #keywords_block {margin: 0 10px 10px 0; background-color: #FFFFFF; border: 1px solid #C7C7C7; height: 50px;}
#news_form #keywords_block div {text-transform: lowercase; float: left; min-width: 1px; font-size: 15px; font-weight: bold;}
#news_form #keywords_block a, #news_form .photo_block_element a {cursor: pointer; background-color:#DD481B; color: #FFFFFF; font-weight: bold; text-transform: uppercase; text-decoration: none; font-size: 14px; display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center;}
#news_form .photo_block_element {float:left; border: 1px solid #dddddd; margin: 5px 19px; padding: 5px; position: relative;}
#news_form .photo_block_element div {position: absolute; background-color: #DD481B; width: 18px; height: 18px; text-align: center;}
#news_form .photo_block_element img {display: block;}
#news_form #soundtracks_block > div {margin: 5px; border: 1px solid #bbb; padding: 5px; position: relative;}
#news_form #soundtracks_block > div > a {position: absolute; right: 5px; top: 5px; display: block; color:#ffffff; font-weight: bold; text-decoration: none; cursor: pointer; background-color: #DD481B; width: 18px; height: 18px; line-height: 18px; text-align: center; }
#news_form #soundtracks_block > div > span {display: block; float: left; width: 300px;}
#news_form #soundtracks_block > div .player_wrapper {float: right; margin-right: 20px;}
#soundtrack_form .dinput {padding-right: 12px;}
#news_form label, #soundtrack_form label, #photo_form label {padding: 5px 0 0; width: 85px;}
#track_number_form {overflow: hidden; padding: 10px;}
#track_number_form div {float:left; width: 20px; height: 20px;}
#track_number_form input {margin: 4px 0 0;}
#track_number_form label {display: block; margin-left: 25px; width: auto; height: 20px; line-height: 20px; padding:0;}
/* news creation form */

/* video creation form */
#video_form .categories_block, #video_form .line {overflow:hidden; margin:0 10px 10px 0;}
#video_form .line .rinput {width:346px;}
#video_form label {float:left; padding-left:0;}
#video_form #my_tree, #video_form textarea, #video_form #keywords_block  {overflow: auto;}
#video_form .tags .rinput {width: 256px; margin-right:5px;}
#video_form .tags label {width: 117px; display: inline-block; vertical-align: middle; padding:0;}
#video_form .tags label a {display: inline-block; vertical-align: middle;}
#video_form .tags .obutton {float:right; width:85px;}
#video_form #keywords_block {float:right; background-color:#FFFFFF; border:1px solid #C7C7C7; width:354px; height:50px;}
#video_form #keywords_block div {text-transform: lowercase; float: left; min-width: 1px; font-size: 15px; font-weight: bold;}
#video_form #keywords_block a {cursor: pointer; background-color:#DD481B; color: #FFFFFF; font-weight: bold; text-transform: uppercase; text-decoration: none; font-size: 14px; display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center;}
/* video creation form */

.conference_no_player {text-align: center; padding:20px 0; border: 1px solid #ccc; font-size: 16px; color: black;}

.iframe-player-wrapper {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    position: relative;
    margin-bottom: 10px;
}
.iframe-player-wrapper > div {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.iframe-player-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.news-article {
    position: relative;
    margin-bottom: 3.03030303030303%;
    margin-right: 3.03030303030303%;
    padding-top: 35.75757575757576%;
    float: left;
    width: 30.303030303030305%;
    background-size: cover;
    -webkit-box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.news-article:hover {
    -webkit-box-shadow: 2px 4px 8px 2px rgba(0,0,0,0.1);
    box-shadow: 2px 4px 8px 2px rgba(0,0,0,0.1);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.news-article:hover .news-article__title {
    color: #f23406;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.news-article:last-child {
    margin-bottom: 0;
}
.news-article__link {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    text-decoration: none;
    cursor: pointer;
    background-color: #fff;
    overflow: hidden;
}
.news-article__image {
    position: relative;
    overflow: hidden;
}
.news-article__image:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,0.48)), to(rgba(0,0,0,0)));
    background-image: linear-gradient(to top, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0) 100%);
}
.news-article__image img {
    max-width: 100%;
    height: auto;
}
.news-article__video-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 47px;
    height: 32px;
    fill: #fff;
}
.news-article__w {
    position: static;
    z-index: 1;
    padding-top: 16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}
.news-article__title {
    margin-bottom: auto;
    margin-top: 10px;
    display: block;
    color: #222;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}
.news-article__meta {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    color: #8a8a8a;
    font-size: 11px;
    line-height: 1.571;
}
.news-article__category {
    color: #fa5831;
}
.news-article__date {
    margin-right: 14px;
    padding-left: 28px;
}
.news-article__date,
.news-article__views,
.news-article__comments {
    position: relative;
}

.category__list {
    margin-bottom: 43px;
}
.category__item {
    border-top: 1px solid #f3f3f3;
    padding-top: 23px;
    padding-bottom: 23px;
}


.grid-main { }
.grid-main .col { float: left; width: 33.333333%; }
.grid-main .col > div { margin: 0 10px; }

.breadcrumbs { font-size: 11px; margin: 0 5px; padding-bottom: 20px; }
.breadcrumbs * { padding: 0 5px; }
.breadcrumbs .active { font-weight: bold; }
.breadcrumbs h2 { font-size: 11px; }

.announce { margin: 0 0 20px; padding: 0; background: #fff; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0 0 7px rgba(0,0,0,0.1); -moz-box-shadow: 0 0 7px rgba(0,0,0,0.1); box-shadow: 0 0 7px rgba(0,0,0,0.1); font-size: 12px; }
.announce .photo { position: relative; }
.announce .photo a { display: block; }
.announce .photo img { display: block; width: 100%; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; }
.announce .photo .label-block { position: absolute; left: 22px; top: 16px; z-index: 55; }
.announce .text { padding:  15px 0; overflow: hidden; }
.announce .text > div { overflow: hidden; height: auto; padding: 0 22px; }
.announce .text .title { font-size: 1.333333em; font-weight: bold; line-height: 18px; margin: 0 0 10px; }
.announce .text .title a { text-decoration: none; color: #3b3b3b; }
.announce .text a:hover { color: #e41e26; }
.announce .text p { font-size: 1.166667em; font-weight: 300; line-height: 18px; }
.announce .meta { height: 42px; line-height: 42px; border-top: solid 1px #eceeee; padding: 0 22px;  }

.meta-item { display: inline-block; margin: 0 16px 0 0; }

.label-block { display: inline-block; height: 22px; line-height: 22px; padding: 0 10px; white-space: nowrap; color: #fff; background: #e41e26; font-weight: 300; text-decoration: none; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.label-block a { color: #fff; text-decoration: none; }
.label-block:hover { background-color: #9e1015; color: #fff; }