/*Layouts*/
* { margin:0;padding:0; }
html, body { height: 100%;}
#page-wrapper { min-height: 100%; }
#page-content {
    overflow:auto;
    padding-bottom: 100px; /* must be same height as the footer */
}
#page-footer{
    position: relative;
    height: 100px;
    margin-top: -100px; /* negative value of footer height */
    background: #8f9bb0;
    clear:both;
}
/*Opera Fix thanks to Maleika (Kohoutec)*/
body:before {
  content:"";
  height:100%;
  float:left;
  width:0;
  margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}

#page-header{
    background: url(../img/magasines-blured.jpg) no-repeat center center;

    background-size: cover;
    height: 100px;
    width: 100%;
    /*border-bottom: 5px solid #9BBEE4;*/
    border-bottom: 5px solid #272262;
    overflow: hidden;
    position: fixed;
    z-index:20;
}
#page-content{overflow: visible; max-width: 960px; margin: 0 auto; padding-top: 100px;}
#page-content .grid-container{margin-left:-10px; margin-right:-10px;}

/*FontSets*/

h1,h2,h3,h4,h5{
    font-family: "PT Serif Caption",Georgia,serif;
    /*font-weight: bold;*/
    color:#272262;
    margin: .8em 0;
    line-height: 1.5em;
}
body{
    font-family: Roboto,Arial,sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #545454;
}
p{
    margin: .8em 0;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 10px;
  quotes: "\201C""\201D""\2018""\2019";
  min-height: 30px;
  position: relative;
}
/*blockquote p:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
  position: absolute;
  left:5px;
  top:.5em;
  font-family: "Times New Roman";
  font-weight: bold;
}*/
blockquote p {
  margin: 0 0 0.8em;
  padding: 0;
}

blockquote.inline{
    float:left;
    width: 30%;
    padding: 10px 35px;
    margin:-10px 20px 10px -35px;
    border: none;
}
blockquote.inline.right{
    float:right;
    margin:-10px -35px 10px 20px;
}

blockquote.green{
    background: #12A89D;
}
blockquote.green,
blockquote.green *{
    color:#fff;
}
blockquote.green p:before{
    color:#fff;
}

/*Elements*/
.clear{clear:both;}

#page-nav-main{
    padding: 37px 0 0;
}

#page-nav-main a,
#page-nav-main span{
  display: inline-block;
  background: #fff;
  color: #9bbee4;
  padding: 5px 20px;
  text-decoration: none;
  font-size: 18px;

}
#page-nav-main span{
  background: #12a89d ;
  color: #fff;
}

.infoblock{
    text-align: center;
    height: 100%;
    position: relative;
}

.infoblock p{text-align: left; padding: 0 10px; }
.infoblock header{
 color: #000;
    font-family: "PT Serif Caption",Georgia,serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
.infoblock .more{
  display: none;
}
.infoblock .read-more{
  color: #12A89D;
  display: block;
  font-style: italic;
  position: absolute;
  bottom: 0;
}
.fix-max-width{
  max-width: 960px;
  margin:0 auto;
  height: 100%;
}

.infoblock.active{
  border-bottom: solid 10px #12A89D;

}

#more-text-block{
  display: none;
  background: #12A89D;
  padding: 10px 20px;
}
#more-text-block *{color: #fff;}

.journals-list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.journals-list li{
  background: #fff;

  width: 30%;
  min-height: 150px;
  border: 1px solid #0b8;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  margin: 5px;
  zoom: 1;
  *display: inline;
  _height: 150px;
}

#more-text-block .journals-list li {
  padding: 5px;
}
#more-text-block .journals-list li,
#more-text-block .journals-list li *{
  color: #545454;
}
#more-text-block .journals-list li a,
#more-text-block .journals-list li .name{
  font-family: "PT Serif Caption",Georgia,serif;
  font-size: 16px;
  font-weight: bold;
}

#more-text-block .tools-more{
  display: block;
  clear: both;
  text-align: right;
  font-style: italic;
}
#more-text-block .tools-more a{
  padding-right: 20px;
}

a{
  color:#12A89D;
}

#page-header .contacts{
  background: #fff;
  padding: 10px 10px 10px 20px;
  float:right;
  margin-top:10px;
}

#lang-switcher{
  position: absolute;
  top: 35px;
  left:50%;
  margin-left: -100px;
  padding: 10px;
  background: #fff;
  color: #000;
  text-decoration: none;

  /*Safari 3-4, iOS 1-3.2, Android 1.6*/
    -webkit-border-radius: 5px;
    /* Firefox 1-3.6 */
    -moz-border-radius: 5px;
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 5px;
    /* smooth angles */
    -webkit-background-clip: padding-box;
    -moz-background-clip:    padding;
    background-clip:         padding-box;
}

@media (max-width: 769px) {
  #page-header{background: #fff;}
  /*#page-header{background: #272262;}
  #page-header *{color:#fff;}*/
  #page-header .fix-max-width > img{
    height: 70px;
    margin-top: 12px;
  }
  #page-header .contacts{float:none; margin: 0; background: none;}
  #page-header .contacts tr td:first-child{display:none;}
  #page-content{padding-left:10px; padding-right:10px;}
  #lang-switcher{font-size: 0; right:20px; left:auto; margin: 0; height:16px;}
  blockquote.inline{
    float: none !important;
    margin: 0 !important;
    width: 85% !important;
    padding: 5% !important;
  }

  .infoblock{
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
  .infoblock .next-more{display: none;}
  .infoblock .read-more{
    position: static;
    margin-top: 10px;
  }

  .infoblock .more{
    background: #272262;
    margin:0 -20px;
    padding: 10px 20px;
  }
  .infoblock .more,
  .infoblock .more *{
    color: #fff;
  }

  .journals-list li{
    width: 45%;
    color: #000;
  }
  .infoblock .more .journals-list li,
  .infoblock .more .journals-list li *{
    color: #000;
  }
  .infoblock .more .journals-list li img{
    width: 100%;
  }
  ol, ul{
    padding-left: 1em;
  }
}

@media (max-width: 1024px) {
  #page-content{padding-left:10px; padding-right:10px;}
    ol, ul{ padding-left: 1em; }
}

.file-link img{ vertical-align: middle; margin-right: 2px; }