/*
	Theme Name: Medlit theme
	Theme URI: http://rocknglory.ru
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Rocknglory
	Author URI: http://rocknglory.ru
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 14px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:980px;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

article
{
    margin: 0;
    padding: 0;
    padding-top: 0.5em;
    border-top: 1px solid #bbb;
}

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.primary-menu
{
    margin: 0 0 0 0;
    background: #4d4d4d;
    width: 100%;
    height: 37px;
    padding-left: 5px;
}

.primary-menu ul li {
    font-weight: bold;
    float: left;
    text-align: center;
}
li.menu-item, li.page_item {
    margin: 0;
    padding: 0;
    display: inline;
    
    font-weight: bold;
    float: left;
    text-align: center;
    
    font-size: 14px;
    letter-spacing: normal;
    font-weight: bold;
    text-transform: lowercase;
}

.logo_a
{
    width:50%;
    height:100%;
    display:block;
}

li.menu-item a,li.page_item a
{
    color: white;
    display: inline-block;
    height: 37px;
    margin-top: 1px;
    line-height: 18px;
    padding: 9px 10px;
    margin: 0px 5px;
}

li.menu-item a:hover,li.page_item a:hover
{
    background:#65c295;
    color:white;
}

.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

.leftSidebar {
    float: left;
    width: 160px;
    padding: 1em 0px 1em 0px;
    font-size: 0.65em;
    height: 100%;
    display: inline;
    overflow: hidden;
    background: #ebebeb;
}

.leftSidebar, .rightSidebar {
    overflow: visible !important;
}

.rightSidebar {
    float: right;
    width: 160px;
    padding: 1em 0px 1em 0px;
    font-size: 0.65em;
    height: 100%;
    position: relative;
    background: #ebebeb;
    height: 100%;
}

.main-content
{
    position: relative;
    float: left;
    width: 640px;
    padding: 0 10px;
    margin-left: 0;
    margin-right: 0 !important;
    display: inline;
    overflow: hidden;
}

.footer
{
    width: 980px;
    height: 114px;
    font-size: 13px;
    background: #d7d7d7;
    padding: 10px;
    position: relative;
    bottom: 0;
}

.copyright
{
    text-align: center;
}
/*------------------------------------*\
    Journal Base
\*------------------------------------*/

#tabs ul
{
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#tabs ul li 
{
    float: left;
    margin: 0 .5em 0 0;
}

.separator
{
    width: 100%;
    margin-top: 1em;
    margin-bottom: 0.25em;
    padding: 0;
    border-bottom: 1px dotted #000;
    font-size: 0.5em;
    line-height: 25%;
}

.stepleft
{
    padding-left: 20px;
    border-left: 5px solid #aaa;
    margin-top: 10px;
}

#content h4
{
    margin: .75em 1em 0.25em 0em;
    font-family: 'Ubuntu',sans-serif;
    font-weight: normal;
    font-size: 1.5em;
}

#issue
{
	float: none; 
	display: inline-block; 
	text-align: center; 
	width: 15%;
}

#issues #issue h4 
{
    width: 96px;
}

#issues #issue h4 
{
    font-size: 1.1em;
}

.pagination 
{
    clear: both;
    display: inline-block;
    margin-top: 15px;
}

#content h3 
{
    margin: 0em 1em 0.25em 0em;
    padding-top: 0.75em;
     font-family: Trebuchet, sans-serif;
    font-weight: normal;
    font-size: 1.8em;
}

table.tocArticle td.tocAuthors 
{
    padding-left: 30px;
    font-style: italic;
    vertical-align: top;
}

table.tocArticle td.tocTitle 
{
    width: 70%;
    height: 100%;
}

table.tocArticle td.tocGalleys 
{
    width: 30%;
    text-align: right;
}

table.tocArticle td.tocPages 
{
    text-align: right;
    vertical-align: top;
}

#articleTitle h1 
{
    margin: 0em 1em 0.25em 0em;
    padding-top: 0.75em;
    font-family: 'Ubuntu',sans-serif;
    font-weight: normal;
    font-size: 1.8em;
}

#articleFullText 
{
    padding-bottom: 5px;
    border-bottom: 1px dotted black;
}

.banners img {
    margin-bottom: 5px;
}

img {
    border: 0;
}


h3 {
    font-family: Trebuchet, sans-serif;
}
h3 {
    margin: 0em 1em 0.25em 0em;
    padding-top: 0.75em;
    font-family: 'Ubuntu',sans-serif;
    font-weight: normal;
    font-size: 1.8em;
}

ul {
    margin: 0.25em 0 0.75em 0;
    padding: 0 0 0 1.5em;
}

.primary-menu ul {
    margin: 0;
    padding: 0;
}


#content a:visited {
    color: #09667a;
}
#content a:link {
    color: #09667a;
}
#content a {
    text-decoration: underline;
}


#content ul.plain {
    list-style-type: none;
    padding-left: 1.5em;
}

#content ul {
    margin: 0.25em 0 0.75em 0;
    padding: 0 0 0 1.5em;
}

#aboutPeople, #aboutPolicies, #aboutSubmissions, #aboutOther {
    width: 49%;
    float: left;
    min-height: 105px;
}

.sidebar div.block span.blockTitle {
    display: block;
    padding: 0.3em 0 0.3em 0;
    font-size: 1.6em;
    letter-spacing: 0.1em;
    font-weight: bold;
    line-height: 14px;
}

.sidebar div.block span.blockTitle {
    letter-spacing: normal !important;
}

.sidebar div.block {
    font-size: 1em;
}

.sidebar div.block {
    font-size: 1em;
}

.sidebar div.block ul li a {
    font-size: 1.2em;
    text-transform: lowercase;
    text-decoration: underline;
}

.sidebar div.block ul li a:visited {
    color: #09667a;
}
.sidebar div.block ul li a:link {
    color: #09667a;
}


.leftSidebar div.block {
    padding: 10px;
}
div {
    text-align: left;
}

li.lang-item
{
    float: right;
}

li.lang-item a img
{
    display: none;
}

li.lang-item a
{
    background: url('img/rus_eng.png') no-repeat;
    width: 35px;
    height: 23px;
    margin-top: 6px;

}

li.lang-item a[hreflang="en-GB"]
{
    background-position: -35px 0px;
}