/*
Theme Name: NRCRM theme
Theme URI: http://nrcrm.gov.ua/
Description: Основна тема веб-сайту ННЦРМ
Author: Toha
Version: 1.0
*/

html {
height:100%;
position:relative;
z-index:-10;
}/* to make footer stick to the ground*/

body {
padding:0;
margin:0;
position:relative;
z-index:-10;
min-width: 1024px;
min-height:100%;
background-color: #ffffff;
background-position: top;
background-repeat: no-repeat;
background-image: url(img/fon.png);
}

div { margin: 0 auto;}
a {outline: none; } /* убрать рамку у ссылок после того как на них нажимаешь*/
a img {border: none;} /* убрать рамку у ссылок-картинок в дебильном internet explorer*/

.push_it:hover:not(:active) {color: red;}

#red, .red{ color: red;}

header {
background: url(img/bg.jpg);
line-height:0;
}

.probel {margin: 0; clear: both;}
.p_img_wrapper{float:left; padding:0; margin:0;}

.footer {
position:absolute;
left:0;
right:0;
bottom: 0;
width:100%;
max-width: 1024px;
height: 25px;
font-size: 12px;
font-family:Arial, sans-serif;
text-align: center;
padding: 15px 15px 0px 30px;
color: white;
background-color: #05487F;
border-radius: 25px 25px 0px 0px ;
}

#personal {
  float: right;
  margin-right: 40px;
  position: relative;
  font-size: 12px;
}
#personal a{
  color: white;
  text-decoration: none;
}
#personal a:hover{
  color:yellow;
}
#personal img{
  width: 30px;
  height: 30px;
  position: absolute;
  top: -10px;
  right: -35px;
}


#lang {
float: right;
padding: 20px;
}

/*кнопка смены языка*/
.lang_change{
float: right;
width:80px;
height:30px;
margin: 20px;
background-image: url("img/ua_en.png");
background-repeat:no-repeat;
background-position:0px -30px;
}
.lang_change_en{
float: right;
width:80px;
height:30px;
margin: 20px;
background-image: url("img/en_ua.png");
background-repeat:no-repeat;
background-position:0px -30px;
}
.lang_change:hover{background-position:0px 0px;}
.lang_change_en:hover{background-position:0px 0px;}

ul {list-style-type: none;
font-size:14px;
text-align:left;
}
ol { counter-reset: item;}
ol li {
    display: block;
    position: relative;
}
ol li:before {
    content: counters(item, ".")".";
    counter-increment: item;
    position: absolute;
    margin-right: 100%;
    right: 10px; /* space between number and text */
}

/* ГЛАВНЫЙ СПИСОК*/
nav {
position: relative;
text-align: left;
border-radius: 0px 0px 25px 25px;
width: 100%;
height: 70px;
background: #05487F;
}

.menu {
height:50px;
width: 1024px;
padding:0;
margin:0;
list-style-type: none;
padding-left:70px;
}

.menu li {
display:inline;
float:left;
display:table;
height:inherit;
margin: 3px;
margin-top: 10px;
}

.menu li a {
display:table-cell;
line-height: 16px;
font-family: Verdana;
font-size: 16px;
font-weight: 700; /* 700 - значит стандартный полужирный - значения бывают от 100 до 900*/
color: gold;
text-align:center;
text-decoration: none;
padding-left: 10px;
padding-right: 10px;
outline: none;
vertical-align:middle;
border-radius: 3px;
background: #05487F;
box-shadow:
0 -1px rgba(255,255,255,.2) inset,
0 -2px 5px rgba(0,1,6,.5),
0 0 1px 1px rgba(0,1,6,.2);
transition: .2s ease-in-out;
}

.menu li a:active {
background: #032E51;
box-shadow:
0 0 1px rgba(0,0,0,.5) inset,
0 -2px 3px rgba(0,0,0,.5) inset,
0 1px 1px rgba(255,255,255,.1);
color: gold;
}

.menu li a:hover:not(:active) {
color: yellow;
background: #0063AE;
}

/* ВЫПАДАЮЩЕЕ МЕНЮ*/
.sub-menu{
position:absolute;
z-index: -1;
margin-top: -165px;
margin-left:-130px;
padding: 15px;
padding-top:20px;
background: #0063AE;
border-radius:0 0 10px 10px;
transition: all 0.5s ease 0.5s;
box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.7);
}
.sub-menu li{
float:none;
}
.sub-menu li a{
padding: 5px 15px;
text-align:left;
}


.menu li a:hover + .sub-menu{
margin-top: 40px;
transition: all 0.5s ease 0s;
}
.sub-menu:hover {
margin-top: 40px;
}

/* обертка всего контента*/
.main_wrapper{
max-width: 1024px;
max-height: 999999px;/* for Chrome mobile to prevent font-oversize*/
position:relative;
z-index:-10;
}
/* обертка контента с информацией*/
.content_wrapper{
position:relative;
z-index:-2;
min-height:200px;
padding-bottom:20px;
}
.front_wrapper{padding-bottom:0 !important;} /* доп. класс для главной*/

 /* изображение на главной*/
#centerimg {
text-align: center;
padding-top: 0;
width: 800px;
height: 468px;
}

h1 {
background-color: #E9EDF1;
border-radius: 0px 0px 25px 25px;
padding-bottom: 10px;
padding-top: 10px;
color: #05487F;
margin-top:0;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 0;
font-family: Verdana;
text-align:center;
font-size:20px;
}

/* надпись контакты  в КОНТАКТАХ*/
h2 {
margin-top:0;
padding-top: 10px;
font-family: Verdana;
color: #05487F;
}

/* надписи имен директоров, замов и тд*/
 h3  {
text-align:center;
font-family: Tahoma;
color: #05487F;
}

h4 {
font-family: Tahoma;
text-align:center;
padding-left: 20px;
padding-right: 20px;
font-size:18px;
}

.left_align{text-align:left;}
/* надписи званий директоров, замов и тд 2*/
.rank{
font-family: Tahoma;
text-align: center;
padding-left: 20px;
padding-right: 20px;
font-size: 16px;
font-weight:700;
}

/* дата в новостях*/
h6 {
margin: 0;
margin-bottom: 10px;
}


/*ОБЩИЕ стили для ТАБЛИЦ*/
table {
width: 72%;
float: left;
font-size: 25px;
margin-left: 0;
margin-top:0;
background: #EDF1F5;
border-collapse: collapse;
}

th {
cursor: default;
font-family: Verdana;
font-size: 30px;
font-style: italic;
font-weight: normal;
align: center;/*for IE*/
padding: 10px;
border: 1px solid #05487F;
border-top: 0;
background: gainsboro;
color: indianred;
}

td {
height:100%;/*for Chrome mobile*/
font-family: Verdana;
border: 1px solid #05487F;
text-align: center;
padding:15px;
font-size: 20px;
}

tr {border: 0;}

/*табличка в контактах пациента*/
.patient_contacts_td{padding:0 5px;}

/* блок див в МОНОГРАФИЯХ и в КЕРІВНИЦТВІ */
.divabout  {
float: left;
width: 72%;
height:72%;
border-right: 1px solid gainsboro;
background: #EDF1F5;
}

/* фотка базыки и других*/
.bazyka {
margin: 20px;
margin-left: 260px;
margin-bottom: 0;
}

.sushko {
margin: 20px;
margin-left: 160px;
margin-bottom: 0;
}

/* див в который завернуты пункты меню в разделе про ннцрм*/
.menuaboutdiv {
background-color: whitesmoke;
width: 23%;
height:100%;
float: left;
margin-left: 25px;
padding-bottom: 20px;
border-radius: 0px 0px 25px 25px;
border-bottom: 1px solid gainsboro;
}

/* надпись МЕНЮ над пунктами в разделе про ннцрм*/
.menuabout2  {
cursor: default;
background-color: gainsboro;
font-family: Verdana;
font-size: 30px;
font-style: italic;
color: #05487F;
margin-top: 0;
margin-bottom: 0;
text-align: center;
line-height: 60px;
margin-bottom: -10px;
border-bottom: 1px solid #05487F;
}

/* главная картинка в ПУБЛИКАЦИЯХ и в КЛИНИКЕи в НАУКЕ*/
 #publication  {
float: left;
width: 740px;
height:492px;
border-right: solid 2px #05487F;
border-bottom: solid 2px #05487F;
}

/* дивы-обертки в разделах ИСТОРИЯ и в НАУЧНОЙ ДЕЯТЕЛЬНОСТИ и в ГАЛЛЕРЕЕ!*/
.history, .gallery {
float: left;
width: 72%;
height:72%;
background-color: #EDF1F6;
}

.historyimg  {width: 100%;}  /* изображения внутри него*/


 /* текст внутри ИСТОРИИ и заголовок в НАУКЕ*/
.historyp {
padding-top: 10px;
font-family: Verdana;
font-size: 18px;
padding-left: 20px;
padding-right: 20px;
text-indent: 20px;
color: #05487F;
}

 /* текст где описываются УЧЕНЫЕ*/
.sciencep {
padding-top: 10px;
font-family: Verdana;
font-size: 18px;
padding-left: 10px;
text-indent: 20px;
color: #05487F;
text-align:center;
 }

.scienceul {
list-style-type: disc;
font-family: Verdana;
font-size: 18px;
color: #05487F;
padding-right: 10px;
}

 /*Р - маленька посада в керівництві*/
.posada, .patient_contacts_p{
font-size:14px;
line-height:14px;
margin-bottom:10px;
}

/* обложка монографии АНГЛ*/
#book {
margin-left: 200px;
margin-top: 10px;
}

.monograph_img_ukr {text-align: center;}

/* загрузки в раделе публикаций*/
.downloads {
margin-left: 70px;
font-size: 18px;
}

/* шрифт в названиях МОНОГРАФИЙ и в БИОГРАФИЯХ директоров*/
.articles {
margin-top: 20px;
font-family: Verdana;
font-size: 14px;
padding-left: 10px;
text-indent: 20px;
}

/* шрифт в метод рекомендациях*/
.articles2 {
font-family: Verdana;
font-size: 14px;
}

.ulabout li {padding: 10px 0 0 0; } /* пункты меню в разделе про ннцрм*/

/* пункты меню в разделе про ннцрм ccылки*/
.ulabout li a {
font-family: Verdana;
font-size: 18px;
font-weight: bold;
line-height: 20px;
padding: 10px;
margin-bottom: 10px;
margin-right: 100px;
display: block;
float: left;
text-decoration: none;
color: #05487F;
box-shadow: 0 0 0 1px #ddd inset, 0 1px 1px #fff;
border-radius: 10px 10px 10px 10px;
}

/* пункты меню в разделе про ннцрм когда наводишь на них мышкой*/
.ulabout li a:hover:not(:active) {
border-radius: 10px 10px 10px 10px;
padding: 10px;
background: #dcdcdc linear-gradient(#fff, #dcdcdc);
box-shadow: 0 0 0 1px #aaa inset, -1px 0 1px #aaa, 1px 0 1px #aaa;
color: #05487F;
}

/* пункты меню в разделе про ннцрм когда нажимаешь на них*/
.ulabout li a:hover:active {
border-radius: 10px 10px 10px 10px;
background: none;
box-shadow:
0 0 0 1px #bbb inset,
1px 0 3px rgba(0,0,0,.5) inset,
-1px 0 3px rgba(0,0,0,.5) inset,
0 1px 2px #fff;
color: #05487F;
}

/* збірник у внутрішньому меню*/
#zbirnyk{
color: white;
background-color: #3A7895;
}
#zbirnyk:hover:not(:active) {
background: #3A7895 linear-gradient(#4E8CA9, #266481);
color: white;
}

/* збірник у головній панелі*/
.zbirnyk a{
color: white !important;
background-color: #266481 !important;
}
.zbirnyk a:hover:not(:active) {
background: #3A7895 !important;
color: white !important;
}
  /* обидва*/
#zbirnyk:hover:active, .zbirnyk a:hover:active {
background: #3A7895 !important;
color: white ;
}

.imgstend {
width: 740px;
height:1355px;
}

/* р в клинике*/
.clinic_info {
font-family: Verdana;
font-size: 16px;
text-align:left;
}

/* р в контактах*/
.contacts {
font-family: Verdana;
font-size: 16px;
}

.contactsul {
list-style-type: disc;
font-family: Verdana;
font-size: 16px;
}

.contactsul li { padding-bottom: 15px; } /* расстояние между пунктами*/

.newsmaindiv {
background-color: #E9EDF1;
border-radius: 25px 25px 0px 0px;
padding-bottom: 25px;
padding-left:20px;
height: 100%;
}

/* новости на главной странице*/
.newsmain {
margin-bottom: 0;
padding-top:5px;
font-family: Verdana;
font-size: 20px;
}

/* новости на главной - ССЫЛКИ*/
.newsmain1 {
font-family: Verdana;
font-size: 14px;
}
.newsmain1:hover:not(:active) { color: red; }


/* табличка годов в ИСТОРИИ*/
.historytable {
width: 100%;
border: 1px solid black;
margin-bottom: 10px;
}

/* табличка в ГАЛЛЕРЕЕ*/
.gallerytable { width: 100%; }

.galleryth {
background: #E9EDF1;
border: 0;
}

.popup-gallery {margin:20px;}
.popup-gallery img {margin:20px;}

.contactstable {
width: 94%;
border: 1px solid black;
border-top: 0;
margin-left: 30px;
margin-right: 30px;
margin-bottom: 20px;
}

/* наполнение таблиц в СТРУКТУРЕ и архиве ДИССЕРТАЦИЙ*/
.structure, .dissertation {
font-size: 14px;
padding: 5px;
text-align: left;
vertical-align: top;
}
.dissertation{width:50%;}

/* КРАСНЫЕ заголовки таблиц в МЕНЕДЖМЕНТЕ и в ГАЛЕРЕЕ и в ДИСЕРТАЦИЯХ*/
.structure1 {
font-size: 20px;
margin: 5px;
}

/* КРАСНЫЕ заголовки таблиц в СТРУКТУРЕ*/
.structure_th {
font-size: 20px;
margin: 5px;
width:33%;
}

.councils_th {
color: #05487F;
font-size: 20px;
}

.councils_a:hover{ color: red;  }/* подсветка ссылки красным, при наведении*/

.councils_img{
margin-left: 40%;
margin-top: -5px;
}


#kerivnyctvo, .th_title {
cursor: default;
color: #05487F;
padding: 12px;
}

/*------------------------
Розділ "Пацієнту"
--------------------------*/
.hidden_info{display:none;}
.show_info{cursor:pointer;}
.show_info:hover{text-decoration:underline;}
.show_info:hover h4{text-decoration:underline;}


/*------------------------
Розділ "НОВИНИ"
--------------------------*/
#news2015_wrapper{display:none;} /*скрыть архивные новости до показа*/
.anews {
text-decoration: none;
color: black;
font-size: 16px;
height:100%; /*for Chrome mobile*/
width:100%;
}

/* ссылки в новостях*/
.anews:hover:not(:active) {
text-decoration: none;
color: red;
}

.tdnews {
border: 1px solid #05487F;
padding: 10px;
text-align: left;
font-size: 16px;
}

.imgwrapper /*див-обертка изображения новости на общей*/ {
float: left;
width: 125px;
padding-right: 10px;
padding-bottom:5px;
}
.inside{ width:100px;}/*дополнительный класс для отдельных новостей*/

.imgwrapper img{
margin: 0px auto;
float: none;
display: table;
max-height: 125px;
max-width: 100px;
}

.name_of_news /* заголовок новости*/ {
margin-top:5px;
margin-bottom:0;
padding-left:5px;
}

/* таблица в ОБЩИХ НОВОСТЯХ и ДЕРЖ. закупівлі*/
.news {
float: left;
width: 75%;
margin-left: 35px;
    z-index: -2;
    position: relative;
}
.news_archive{
background-color:#05487F;
cursor:pointer;
}
.news_archive_p{
font-size:18px;
text-align:center;
color: gold;
margin:5px;
}
.news_archive:hover .news_archive_p{color:yellow;}

/* таблица ОБЫЧНОЙ новости*/
.news1 {
float: left;
width: 60%;
margin-left: 35px;
}

/* Таблица БОЛЬШОЙ новости + таблица формы регистрации + дисертации*/
.news_big {
float: left;
width: 92%;
margin-left: 35px;
}

/*---отдельные новости в НОВИНАХ---*/
.tdnews_big /*большая новость*/{
border: 1px solid #05487F;
padding: 10px;
text-align: center;
font-size: 16px;
}

.tdnews_big p{
font-family: Verdana;
font-size: 16px;
padding-top: 20px;
width: 90%;
text-align: center;
margin: 0 auto;
}

.tdnews_big .name_of_photo{
padding-top: 0;
padding-bottom: 20px;
}

.tdnews_big .content_p{
padding-top: 0;
padding-bottom: 0;
text-align:justify;
}

.tdnews_big .content_p_list{
margin-left:300px;
margin-top:-10px;
text-align:left;
}

.tdnews_big img{
margin-top: 30px;
text-align: center;
margin: 0 auto;
}

.tdnews_big h3  /* заглавие большой новости*/ {
text-align:center;
font-family: Tahoma;
color: #05487F;
margin-top: 30px;
}

.tdnews_big h6 /* дата большой новости*/ {
float: left;
font-size: 14px;
position: absolute;
}

/*новость про межд. конференцию*/
.decimal_ul{
text-align:left;
list-style-type:decimal;
margin-left:20px;
font-size:14px;
}
.decimal_ol{
text-align:left;
font-size:14px;
}
.disc_ul{
text-align:left;
list-style-type:disc;
margin-left:20px;
font-size:16px;
}

.hr_500{width:500px;}

/*td в КОНТАКТАХ, в РЕГИСТРАЦИИ*/
.adresstd, .registration_td {
background-color: #EDF1F6;
font-family: Verdana;
font-size: 16px;
text-align:left;
padding-left: 30px;
padding-right: 30px;
}

/* ------------------------------------------------
Кнопка "архів захищених дисертацій"
---------------------------------------------------*/
.th_button_wrapper{background: #05487F;}

.button_dissertation{
background-color: #5A9B1B;
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.55);
border-radius:5px;
border:1px solid #72B021;
border-top: none;
display:inline-block;
color:gold;
font-size:22px;
font-weight:700;
padding:10px 20px;
text-decoration:none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.55);
cursor:pointer;
}
.button_dissertation:hover {background-color: #7BB431; color:yellow;}
.button_dissertation:active {
box-shadow: none;
position:relative;
top:1px;
}

/* ---------------------
Форма реєстрації + форма тез
---------------------*/
.thesis_ul_1{list-style-type: disc;margin-top: 5px;}
.thesis_ul_2{list-style-type: square; margin-top: 5px;}
.thesis_div{
font-family: Verdana;
color: #05487F;
font-size:16px;
font-weight:700;
text-align:center;
margin-bottom:15px;
}
/* кінець тез*/


.th_registration{font-size:20px;}
.date{font-size:16px;}

input {margin-bottom:20px;}

label.error {
font-family:'arial','verdana', sans-serif;
font-size:14px;
font-style:italic;
color:red;
margin-left:10px;
}

#entry_794590247{
width:700px;
display:none;
margin-bottom:0;
}
#entry_794590247-error{display:block;}
#label_for_name_of_report{ display:none;}
#entry_1462078141{width:500px;}

#ss-submit{
display: block;
width:200px;
padding:5px 0;
text-align:center;
margin: 0 auto;
margin-top:10px;
margin-bottom: 20px;
font-size:18px;
color: #fff;
border:none;
background-color:#05487F;
cursor:pointer;
}
#ss-submit:hover{color:gold;}
.hint{font-size:12px;margin-top:15px;}


/* ---------------------
оголошення на гол. сторінці
---------------------*/
.announcement{
text-align:center;
width:900px;
border:1px solid red;
font-family: Verdana;
text-align:center;
font-size:17px;
color:black;
padding:10px 0px;
background-color:#FFB3A3;
border-radius: 0px 0px 25px 25px;
}

.widgettitle{
font-size: 14px;
margin: 0;
padding: 0;
margin-bottom:10px;
}
.wysija-paragraph{
margin:0;
font-size:12px;
margin-left:250px;
margin-right:20px;
float:left;
}
.wysija-paragraph input{
margin-bottom:10px;
margin-top: 5px;
}
.widget_wysija_cont p label {
   display:inline;
}


.wysija-submit, .main_register_button{
background-color: #05487F;
margin-top:10px;
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.55);
border-radius:5px;
border:1px solid #002A51;
border-top: none;
display:inline-block;
color:gold;
font-size:18px;
font-weight:700;
padding:5px 20px;
text-decoration:none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.55);
cursor:pointer;
transition:.2s ease-in-out;
}
.main_register_button:hover {background-color: #0063AE; color:yellow;}
.main_register_button:active {
box-shadow: none;
position:relative;
top:1px;
}
#form-wysija-2 .wysija-submit{
margin-bottom:0;
margin-top:0;
}

/* facebook button*/
.facebook_wrapper{
	height:15px;
}
.facebook_wrapper a{
float: right;
width: 170px;
}


/* mailpoet personal page*/
.form-table{
margin: 0 auto;
border-top: 1px solid #05487f;
width: 50%;
float: none;
}

.form-table input{margin-bottom: 0;}
.form-table th{font-size:18px;}
.form-table input[type="radio"]{cursor:pointer;}

.button-primary{
background-color: #05487F;
margin-top:10px;
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.55);
border-radius:5px;
border:1px solid #002A51;
border-top: none;
display:inline-block;
color:gold;
font-size:18px;
font-weight:700;
padding:5px 20px;
text-decoration:none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.55);
cursor:pointer;
transition:.2s ease-in-out;
}
.button-primary:hover {background-color: #0063AE; color:yellow;}
.button-primary:active {
box-shadow: none;
position:relative;
top:1px;
}

.wysija-msg li {text-align:center;}



/*pagination*/
.page-numbers{
padding:10px 15px;
color:#0063AE;
background-color:white;
text-decoration:none;
}
.current{
background-color:gold;
}

.pager .prev{display:none;}
.pager .next{display:none;}


/*страничка презентаций конференций*/
.conference_td_1 {
padding: 0 5px;
width: 70%;
}
.conference_td_2 {
padding: 0 5px;
width: 30%;
}

.conference_p{
font-size: 12px;
line-height: 14px;
margin-bottom: 10px;
text-align: left;
}
