/*
Theme Name: Akademia
Theme URI: http://vs.sav.sk/
Description: Theme for Slovak Academy of Sciences institutes
Author: VS SAV
Author URI: http://vs.sav.sk/
Version: 1.1
Tags: Slovak Academy of Sciences, science

License:
License URI:
*/

/**
 * Table of Contents:
 *
 * 1.0 - Body
 * 2.0 - Headings
 * 3.0 - Text Elements
 * 4.0 - Links
 * 5.0 - Alignment
 * 6.0 - Tables
 * 7.0 - Images
 * 8.0 - Galleries
 * 9.0 - Audio/Video
 * 10.0 - RTL
 *
 */
 
/* Load Fonts **********/
@font-face{
  font-family: 'Bn';
  src: url('./fonts/BebasNeue.woff') format('woff'),
       url('./fonts/BebasNeue.ttf') format('truetype'),
       url('./fonts/BebasNeue.eot');
}
@font-face{
  font-family: 'My';
  src: url('./fonts/MyriadPro-Cond.woff') format('woff'),
       url('./fonts/MyriadPro-Cond.otf') format('opentype'),
       url('./fonts/MyriadPro-Cond.eot');
}

/* Reset CSS Firstly **********/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym,
address, big, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strike, strong, sub, sup, tt,
var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr,
th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
}

/* Body and Content **********/
body {
  width: 100%;
  background: #f8f5ec;
  color: #3b3b3b;
  font-family: Verdana, Tahoma, Arial CE, Helvetica CE, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 18px;
}

.main {
  width: 100%;
  margin: 0 auto;
}

.content {
  width: 100%;
  float: left;
  padding: 40px 0;
  background: #f8f5ec;
}

.content_cont {
  width: 974px;
  margin: 0 auto;
}

.content_left_home {
  width: 724px;
  float: left;
  line-height: 22px;
  margin-right: 20px;
}

.content_right_home {
  width: 230px;
  float: left;
}

.content_left {
  width: 230px;
  float: left;
  margin-right: 20px;
}

.content_right {
  width: 724px;
  float: left;
  line-height: 22px;
}

/* Page **********/

.page_content_home {
  width: 694px;
  clear: both;
  float: right;
  padding: 10px 25px 30px;
  border: 1px solid #CECECE;
  background-color: #FFF;
  min-height: 500px;
  text-align: justify;
}

.page_content {
  width: 694px;
  clear: both;
  float: left;
  padding: 10px 25px 30px;
  border: 1px solid #CECECE;
  background-color: #FFF;
  min-height: 500px;
  text-align: justify;
}

.page_content ul {
  margin: 8px 0 8px 20px;
}

.page_content li {
  margin: 8px 0;
}

.page_content p {
  margin: 12px 0;
}

.page_content img {
  margin: 6px 12px 6px 0;
  float: left;
}

/* Headings **********/
h1 {
  font-size: 40px;
  font-family: 'My',Tahoma;
  line-height: 40px;
  color: #336699;
  margin: 20px 0;
  text-align: left;
}

h1.news_title {
  font-size: 22px;
  line-height: 26px;
  margin: 0;
}

h2 {
  clear: both;
  font-size: 22px;
  font-family: 'My',Tahoma;
  font-weight: normal;
  line-height: 26px;
  color: #7f420d;
  padding: 8px 0;
  border-bottom: 1px dotted #D7D5D5;
  margin: 20px 0 4px;
}

h3 {
  font-weight: bold;
  padding-top: 8px;
}

/* Fonts **********/
.bold {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.underline {
   text-decoration: underline;
}

/* Fonts Color *****/
.green {
  color: #336699;
}

/* Links **********/
a {
  color: #7f420d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Lists **********/
ul {
  list-style: disc inside;
  color: #444;
}

ul li a {
  color: #7f420d;
}

ul li a:hover {
  text-decoration: underline;
}

/* Floats **********/
img.alignleft {
  margin: 5px 10px 5px 0;
  display: inline-block;
  float: left;
}

img.alignright {
  margin: 5px 0 5px 10px;
  display: inline-block;
  float: right;
}

.alignleft {
  float: left;
  margin: 5px 10px 5px 0;
}

.alignright {
  float: right;
  margin: 5px 0 5px 10px;
}

/* Lists *********/
/* Table List *****/
table.list {
  width: 100%;
  font-size: 11px;
  border-spacing: 0;
}

table.list tr td:first-child {
  padding-left: 4px;
}

table.list tr.list_header td {
  font-weight: bold;
}

table.list tr:nth-child(even) {
  background: #EEE;
}

/* Table Project List *****/
table.project_list {
  width: 100%;
  font-size: 11px;
  border-spacing: 0;
  margin: 10px 0;
}

table.project_list tr td {
  padding: 0 8px;
}

table.project_list:nth-child(even) {
  background: #EEE;
}

/* Table Conferences List *****/
.conf {
  padding-bottom: 8px;
}

/* Ul List *****/
ul.list {
  width: 95%;
  font-size: 11px;
  list-style: none none;
}

ul.list li {
  padding: 0 8px;
}

ul.list li:nth-child(even) {
  background: #EEE;
}

/* Ul Annual List *****/
ul.annual_list li {
  padding-left: 30px;
}

ul.annual_list li a {
  margin-right: 40px;
}

/* Inputs **********/
input[type=submit]:hover {
  cursor: pointer;
}

/* Paddings **********/
.padd_top10 {
  padding-top: 10px;
}

/* Header **********/
.header_top {
  width: 100%;
  height: 40px;
  margin: 0 auto;
  background-color: #F4F3F0;
  font-family: 'My',Tahoma;
}

.header_top .ht_inside {
  width: 974px;
  margin: 0 auto;
  line-height: 40px;
}

.header_top .ht_inside .ht_title {
  float: left;
  vertical-align: middle;
  color: #757575;
  font-size: 20px;
  text-transform: uppercase;
}

.header_top .ht_inside .ht_title img {
  position: relative; top: 2px;
}

.header_top .ht_inside .ht_title a {
  color: #757575;
}

.header_top .ht_inside .ht_title a:hover {
  color: #505050;
}

.header_top .ht_inside .ht_services {
  vertical-align: middle;
  font-size: 14px;
  float: right;
  font-family: 'My',Tahoma;
}

.header_top .ht_inside .ht_services a {
  color: #336699;
  margin-right: 10px;
  text-transform: uppercase;
}

.header_top .ht_inside .ht_services a:hover {
  color: #305f8f;
}

.header_top .ht_inside .ht_services img {
  margin-right: 6px;
  position: relative; top: 2px;
}

.header_top .ht_inside .ht_lang {
  float: right;
  padding-left: 12px;
  font-size: 14px;
}

.header_top .ht_inside .ht_lang a {
  color: #A7A6A6;
}

/* Header Departments */
.odd1 {
  border-left: 5px solid #957745;
}

.odd2 {
  border-left: 5px solid #945328;
}

.odd3 {
  border-left: 5px solid #962614;
}

.odd4 {
  border-left: 5px solid #6c1406;
}

/* Header Presentation */
.header_cont {
  clear: left;
  width: 100%;
  height: 360px;
  background: url('./img/layout/header/intro.jpg') no-repeat center;
}

.header_cont_text {
  clear: left;
  width: 100%;
  position: absolute; top: 290px;
}

.header_cont_text .header_cont_text_content {
  width: 974px;
  margin: 0 auto;
}

.header_cont_text .header_cont_text_content #anim_img {
  opacity: 0.5;
}

.slideshow_title {
  display: none;
}

/* Header Image - Small */
.header_small {
  background: url('./img/layout/header/header_small.jpg') no-repeat center;
  height: 120px;
  width: 100%;
}

.header_small_cont {
  width: 974px;
  margin: 0 auto;
  height: 100%;
  text-align: left;
}

/* Navbars **********/

/* Main Menu *****/
/* Main Menu - Top Line */
.navbar {
  clear: both;
  width: 100%;
  height: 45px;
  background: #336699 url('./img/layout/navbar/navbar_bg.jpg') repeat-x;
  font-family: 'Bn',Verdana;
  z-index: 1;
}

.navbar a {
  color: #FFF;
  font-size: 17px;
}

.navbar_cont {
  width: 974px;
  margin: 0 auto;
  height: 100%;
}

.navbar_buts {
  float: left;
}

.navbar .menu ul,
.navbar ul#menu-main_menu,
.navbar ul#menu-main_menu-home_but {
  width: 974px;
  list-style-type: none;
  padding: 0;
}

.navbar .menu ul li,
.navbar ul#menu-main_menu li,
.navbar ul#menu-main_menu-home_but li {
  float: left;
  position: relative;
  color: #FFF;
  height: 45px;
  line-height: 45px;
  vertical-align: middle;
  font-size: 16px;
  font-family: 'My',Tahoma;
  border-left: 1px solid #2e5c89;
}

.navbar .menu ul li,
.navbar ul#menu-main_menu li {
  text-transform: uppercase;
}

.navbar .menu ul li:last-child,
.navbar ul#menu-main_menu li:last-child {
  border-right: 1px solid #2e5c89;
}

.navbar .menu ul li:hover,
.navbar ul#menu-main_menu li:hover,
.navbar ul#menu-main_menu-home_but li:hover,
.navbar ul#menu-main_menu li.current_page_parent {
  background-color: #2e5c89;
}

.navbar .menu ul a,
.navbar ul#menu-main_menu a,
.navbar ul#menu-main_menu-home_but a {
  display: block;
  padding: 0 35px;
}

.navbar ul#menu-main_menu img,
.navbar ul#menu-main_menu-home_but img {
  padding: 15px 0;
}

/* Main Menu - Home Button */
.navbar ul#menu-main_menu-home_but .home {
  height: 45px;
}

/* Main Menu - Sub Menu */
.navbar ul#menu-main_menu ul.sub-menu {
  position: absolute; left: 8px;
  width: 270px;
  display: none;
  list-style-type: none;
  padding-top: 0;
}

.navbar ul#menu-main_menu li:hover ul.sub-menu {
  display: block;
}

.navbar ul#menu-main_menu ul.sub-menu li {
  z-index: 1;
  width: 280px;
  margin: 0;
  padding: 4px 12px;
  height: 25px;
  line-height: 25px;
  background-color: #336699;
  border-bottom: 1px solid #2e5c89;
  text-align: left;
  position: relative; right: 8px;
  text-transform: none;
}

.navbar ul#menu-main_menu ul.sub-menu li:last-child {
  width: 279px;
}

.navbar ul#menu-main_menu ul.sub-menu li a {
  display: block;
  padding: 0;
  font-family: Tahoma, Verdana;
  font-size: 11px;
}

.navbar ul#menu-main_menu ul.sub-menu li:hover {
  background-color: #2e5c89;
}

/* Main Menu - Sub Menu - Sub Menu */
.navbar ul#menu-main_menu ul.sub-menu li ul.sub-menu {
  position: relative; left: 300px; bottom: 29px;
  width: 270px;
  display: none;
  list-style-type: none;
  padding-top: 0;
}

.navbar ul#menu-main_menu ul.sub-menu li:hover ul.sub-menu {
  display: block;
}

/* Department List */
#dep_list {
  width: 100px;
  list-style-type: none;
  display: inline;
  padding: 0;
  float: right;
  height: 40px;
  position: relative;
  z-index: 100;
}

/* Department List - Sub Menu */
#dep_list ul.navbar_sub {
  width: 190px;
  display: none;
  list-style-type: none;
  /*padding-top: 16px;*/
}

#dep_list:hover ul.navbar_sub {
  display: block;
}

#dep_list ul.navbar_sub li {
  width: 250px;
  padding: 0 4px 0 0;
  line-height: 24px;
  background-color: #fff;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  text-align: left;
  position: relative; bottom: 16px;
}

#dep_list ul.navbar_sub li:nth-child(even) {
  background-color: #eee;
}

#dep_list ul.navbar_sub li a {
  display: block;
  font-family: Tahoma, Verdana;
  font-size: 11px;
  color: #444;
}

#dep_list ul.navbar_sub li:hover {
  background-color: #ddd;
}

/* Page Menu *****/
.navbar_sec ul.menu {
  width: 230px;
  border-top: 1px solid #CECECE;
  border-right: 1px solid #CECECE;
  border-left: 1px solid #CECECE;
  font-size: 11px;
  padding: 0;
  list-style-type: none;
}

.navbar_sec ul.menu ul {
  list-style-type: none;
}

.navbar_sec ul.menu li {
  line-height: 35px;
}

.navbar_sec ul.menu li:first-child {
  width: 100%;
  background-color: #757575;
  font-size: 11px;
}

.navbar_sec ul.menu li:first-child a {
  color: #FFF;
}

.navbar_sec ul.menu li:first-child a:hover {
  color: #FFF;
  text-decoration: none;
}

.navbar_sec ul.menu li ul.sub-menu li:first-child a:hover {
  text-decoration: underline;
}

.navbar_sec ul.menu li ul.sub-menu {
  position: relative; top: 1px;
}

.navbar_sec ul.menu li:not(:first-child),
.navbar_sec ul.menu li ul.sub-menu li {
  width: 230px;
  border-bottom: 1px solid #D7D5D5;
  background: #FAFAFA url('./img/layout/navbar/navbar_sec_bg.jpg') no-repeat left center;
  padding: 0;
}

.navbar_sec ul.menu li a,
.navbar_sec ul.menu li ul.sub-menu li a {
  color: #4D4D4D;
  padding-left: 8px;
  cursor: pointer;
  display: block;
  margin-left: 7px;
  font-size: 12px;
}

.navbar_sec ul.menu li span {
  color: #4D4D4D;
  cursor: pointer;
}

.navbar_sec ul.menu li a:hover,
.navbar_sec ul.menu li ul.sub-menu li a:hover {
  color: #184e84;
}

/* Emphasize Current */
.navbar_sec ul.menu li.current-page-ancestor a {
  font-weight: bold;
}

.navbar_sec ul.menu li.current-page-ancestor ul.sub-menu li a {
  font-weight: normal;
}

.navbar_sec ul.menu li.current-menu-item a,
.navbar_sec ul.menu li.current-page-ancestor ul.sub-menu li.current-menu-item a {
  font-weight: bold;
  background: #e6ebf1 url('./img/layout/navbar/navbar_sec_bg_current.jpg') no-repeat left center;
  color: #336699;
}

.navbar_sec ul.menu li.current-menu-item ul.sub-menu a {
  font-weight: normal;
  background: #fff;
  color: #4D4D4D;  
}

.navbar_sec ul.sub-menu li:first-child {
  border-top: 1px solid #D7D5D5;
}

.navbar_sec ul.menu li.menu-item-has-children {
  background: #FFF;
}

.navbar_sec ul.menu li.menu-item-has-children.current_page_ancestor {
  background: #FAFAFA;
}

.navbar_sec ul.menu li.menu-item-has-children ul.sub-menu li.menu-item a {
  display: block;
  padding-left: 16px;
  font-size: 11px;
}

/* Pagination Navigation *********/
.navigation {
  clear: left;
  text-align: center;
}

.navigation a.page-numbers {
  border: 1px solid #CECECE;
  padding: 4px;
  background-color: #fff;
  color: #444;
}

.navigation .current {
  border: 1px solid #7f420d;
  padding: 4px;
  color: #7f420d;
}

/* Index Page *********/
/* News Page *****/
.news_content,
.news_content_wide {
  clear: both;
  float: left;
  width: 100%;
  padding-right: 10px;
  border: 1px solid #CECECE;
  background-color: #FFF;
  text-align: justify;
  margin-bottom: 15px;
}

.news_content_wide {
  clear: left;
  height: 180px;
  /*padding-left: 10px;*/
}

.news_content .news_img {
  float: left;
}

.news_content .news_img,
.news_content .news_img img {
  float: left;
  margin-right: 10px;
}

.news_content .news_text,
.news_content_wide .news_text_wide {
  padding-left: 15px;
  padding-bottom: 10px;
  font-size: 12px;
  min-height: 290px;
}

/*.news_content_wide .news_text_wide {
  padding-left: 15px;
}*/

.news_content .news_text .news_date,
.news_content_wide .news_text_wide .news_date {
  font-size: 11px;
  color: #777;
  text-align: left;
  margin-top: 10px;
}

.news_content .news_text p,
.news_content_wide .news_text_wide p {
  margin-top: 10px;
  padding-right: 15px;
  text-align: justify;
  word-wrap: break-word;
}

.news_content .news_text .excerpt_more a,
.news_content_wide .news_text_wide .excerpt_more a {
  color: #336699;
}

.news_content .news_text .excerpt_more a:hover,
.news_content_wide .news_text_wide .excerpt_more a:hover {
  color: #184e84;
}

/* Quick Bar *****/
.quick_bar, .quick_bar2 {
  width: 100%;
}

.quick_bar ul, .quick_bar2 ul {
  list-style: none none;
}

.quick_bar ul li, .quick_bar2 ul li {
  border: 2px solid #CECECE;
  background: #EEE url('./img/layout/quickbar/quick_bar_bg.jpg') no-repeat;
  margin-bottom: 5px;
  padding: 4px 8px;
  text-align: right;
}

.quick_bar ul li:hover {
  border: 2px solid #7f420d;
  background: #EEE url('./img/layout/quickbar/quick_bar_bg_hover.jpg') no-repeat;
}

.quick_bar2 ul li:hover {
  border: 2px solid #336699;
  background: #EEE url('./img/layout/quickbar/quick_bar2_bg_hover.jpg') no-repeat;
}

.quick_bar ul li:hover a, .quick_bar2 ul li:hover a {
  text-decoration: none;
}

.quick_bar ul li a, .quick_bar2 ul li a {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
}

.quick_bar2 ul li a {
  color: #336699;
}

.quick_bar2_title {
  text-align: right;
  margin: 40px 0 6px;
  padding-right: 10px;
  color: #a5a091;
  font-size: 16px;
  font-family: 'My',Tahoma;
  text-transform: uppercase;
}

/* Department Page *********/
.department_manag {
  margin: 30px 0;
}

/* News List Page **********/
.post_list {
  clear: both;
  padding: 10px 0;
  border-bottom: 1px solid #cecece;
}

.post_list_mono {
  clear: both;
  padding: 10px 0;
  border-bottom: 1px solid #cecece;
  overflow: auto;
}

.post_list_mono img {
  float: left;
}

.post_list .news_date {
  font-size: 11px;
  color: #777;
  text-align: left;
  margin-top: 10px;
}

/* Profile Page **********/
.profile_name {
  font-weight: bold;
  font-size: 14px;
}

.profile_position {
  margin-bottom: 20px;
  font-style: italic;
}

/* Detached Page **********/
.detached_img {
  width: 100%;
  height: 250px;
  margin-left: 20px;
}

.detached_img img {
  float: left;
}

/* User Basic Info page *********/
.photo {
  float: left;
  width: 150px;
}

.photo img {
  height: 150px;
}

.basic_info {
  float: left;
  text-align: left;
}

.basic_info h2 {
  margin-top: 0;
  padding-top: 0;
}

.personal {
  position: relative; right: 20px;
}

/* Search **********/
/* Search Form */
.navbar_search {
  float: left;
  margin-left: 20px;
}

.navbar_search .searchform input {
  float: left;
  display: inline;
}

.navbar_search .searchform input[type=text] {
  width: 160px;
  position: relative; top: 11px;
  padding: 3px 2px 2px;
  font-size: 12px;
  color:#AFACA5;
  background-color:#EEEAE2;
  border: 1px solid #AFACA5;
  border-right: 0;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 3px;
}

.navbar_search .searchform input[type=submit] {
  background-color: #37B2D0;
  border: 1px solid #AFACA5;
  position: relative; top: 11px;
  width: 32px;
  height: 23px;
  background: #EEEAE2 url('./img/layout/header/loupe.jpg') center no-repeat;
  border-left: 0;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 3px;
}

.navbar_search .searchform select {
  margin-left: 10px;
  width: 170px;
  color:#AFACA5;
  font-size: 12px;
  background-color: #EEEAE2;
  border: 1px solid #AFACA5;
  position: relative; top: 11px;
  float: left;
  display: inline;
  height: 23px;
  border-top-left-radius: 3px;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  -moz-border-radius-toprightleft: 3px;
  -moz-border-radius-bottomrightleft: 3px;
}

/* Footer **********/
footer {
  clear: both;
  width: 100%;
  height: 50px;
  background: #302d26 url('./img/layout/footer/footer_bg.jpg') repeat-x;
  color: #928f8a;
  padding: 10px 0;
}

.site-info {
  width: 974px;
  margin: 0 auto;
  font-size: 11px;
}

.footer_left, .footer_center, .footer_right {
  float: left;
  height: 100%;
  vertical-align: middle;
}

.footer_left {
  width: 50%;
  border-right: 1px solid #0a0a0a;
}

.footer_center {
  width: 35%;
  border-right: 1px solid #0a0a0a;
  padding-left: 10px;
}
 
.footer_right {
  width: 10%;
  text-align: right;
}

.footer_row {
  float: left;
  height: 25px;
  vertical-align: middle;
}

.footer_left .footer_img, .footer_center .footer_img, .footer_left .footer_img2, .footer_center .footer_img2 {
  float: left;
  width: 18px;
  padding: 5px;
  text-align: center;
}

.footer_left .footer_img2 {
  margin-left: 10px;
}

/*.footer_center .mail {
  position: relative; top: 7px;
}*/

.footer_center .marg {
 margin-right: 50px;	
}

.footer_left .footer_text, .footer_center .footer_text {
  float: left;
  position: relative; top: 3px;
}

.footer_center a {
  color: #928f8a;
}

.frontpage_maintext {
  text-align: justify;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #cecece;
}

/* Responsive Design *********/
/*@media only screen and (min-width:1000px) { 
  body {
    background-color: lightblue;
  }
}
@media only screen and (min-width: 768px) and (max-width: 999px) {
  body {
    background-color: blue;
  }	
}
@media only screen and (min-width: 568px) and (max-width: 767px) {
  body {
    background-color: green;
  }	
}*/
@media only screen and (max-width: 567px) {
  body {
    max-width: 567px;
  }	
}
