/**
 * Theme Name: WPMag.ru
 * Template: semicolon
 */

/* WordPress Magazine Specific Styles */

body.wpmag .wpmag-content-newsletter h3 {
	font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
	font-weight: 300;

	margin-top: 24px;
	padding-top: 24px;
	margin-bottom: 24px;

	line-height: 48px;
	font-size: 18px;
}

body.wpmag .wpmag-content-newsletter p {
	margin: 0;
}

body.wpmag .site-title a {
	background: url('//wpmag.ru/wp-content/uploads/2014/11/wpmag-logo-v4.png') 0 0 no-repeat;
	background-size: 224px 75px;
	text-indent: -15000px;
	display: inline-block;
	width: 224px;
	height: 75px;
	margin-bottom: 9px; /* 84px - 75px */
}

body.wpmag .site-description {
	display: none;
}

body.wpmag .wpm-button-primary,
body.wpmag a.wpm-button-primary,
body.wpmag .wpm-button,
body.wpmag a.wpm-button {
	background: #117bb8;
	color: white;
	border: none;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	padding: 12px 20px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}

body.wpmag .wpm-button-primary:hover,
body.wpmag a.wpm-button-primary:hover,
body.wpmag .wpm-button-primary:focus,
body.wpmag a.wpm-button-primary:focus {
	background: #138bcf;
	color: white;
}

body.wpmag .wpm-button,
body.wpmag a.wpm-button {
	background: #3a3a3a;
}

body.wpmag .wpm-button:hover,
body.wpmag a.wpm-button:hover,
body.wpmag .wpm-button:focus,
body.wpmag a.wpm-button:focus {
	background: #474747;
	color: white;
}

body.wpmag .wpm-share-buttons {
	float: left;
}

body.wpmag .yandex-share {
	float: left;
}

body.wpmag .yandex-share .b-share {
	margin: 0;
	padding: 0 !important;
}

body.wpmag .yandex-share.b-share_theme_counter .b-share__link {
	border-radius: 0;
	-webkit-border-radius: 0;

	min-width: 32px;
	height: 32px;
	margin-bottom: 4px;
	margin-right: 4px;
}

body.wpmag .yandex-share.b-share_theme_counter .b-share-btn__wrap {
	margin: 0;
}

body.wpmag .yandex-share.b-share_theme_counter .b-share-icon {
	margin: 4px;
}

body.wpmag .yandex-share.b-share_theme_counter .b-share-counter {
	margin-top: 7px;
}

body.wpmag.page-id-3157 #secondary {
	display: none;
}

/* HiDPI */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min--moz-device-pixel-ratio: 1.5),
    only screen and (min-device-pixel-ratio: 1.5) {
        body.wpmag .site-title a {
        	background-image: url('//wpmag.ru/wp-content/uploads/2014/11/wpmag-logo-v4.png');
        	background-size: 224px 75px;
        }
}

/* Jobs */
body.wpmag.post-type-archive-wpm_jobs #primary h1.entry-title {
	margin-top: 24px;
	padding-top: 24px;

	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 18px;
	line-height: 24px;

	font-weight: normal;
	margin-bottom: 6px;
}

body.wpmag.post-type-archive-wpm_jobs .entry-content .entry-meta {
	margin-top: -16px;
}

body.wpmag.post-type-archive-wpm_jobs .paging-navigation {
	margin-top: 60px;
}

body.wpmag.post-type-archive-wpm_jobs .yandex-share {
	display: none;
}

body.wpmag.post-type-archive-wpm_jobs #text-4 {
	display: none;
}

body.wpmag.page-id-31036 .yandex-share,
body.wpmag.single-wpm_jobs .yandex-share {
	display: none;
}

body.wpmag.page-id-31036 #text-4,
body.wpmag.single-wpm_jobs #text-4 {
	display: none;
}

body.wpmag .wpm-jobs-widget ul {
	list-style: none;
	margin-left: 0;
}

body.wpmag .wpm-jobs-widget li {
	margin-bottom: 24px;
}

/* From Custom CSS */

.grid #text-2 {
	min-height: 210px;
}

.wpm-jobs-widget li,
.widget_top-posts li {
	padding-top: 12px;
	padding-bottom: 12px;
	margin-bottom: 0;
	border-bottom: solid 1px #f0f0f0;
}

.wpm_jobs .author,
.related-content .author {
	display: none;
}

.widget_top-posts a {
	text-decoration: none;
	color: #444;
}

.widget_top-posts img {
	margin-top: 4px;
}

.site-title {
	float: left;
}

small.disclaimer {
	color: #aaa;
}
