@font-face {
    font-family: "Myriad Pro";
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/MyriadPro.eot?') format('eot'), url('../fonts/MyriadPro.woff') format('woff'), url('../fonts/MyriadPro.ttf') format('truetype'), url('../fonts/MyriadPro.svg#myriadPro') format('svg')
}

@font-face {
    font-family: "Myriad Pro - BoldCond";
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/MyriadPro-BoldCond.eot?') format('eot'), url('../fonts/MyriadPro-BoldCond.woff') format('woff'), url('../fonts/MyriadPro-BoldCond.ttf') format('truetype'), url('../fonts/MyriadPro-BoldCond.svg#myriadProBoldCond') format('svg')
}

@font-face {
    font-family: "Myriad Pro - Light";
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/MyriadPro-Light.eot?') format('eot'), url('../fonts/MyriadPro-Light.woff') format('woff'), url('../fonts/MyriadPro-Light.ttf') format('truetype'), url('../fonts/MyriadPro-Light.svg#myriadProLight') format('svg')
}

.embed-container {
    height: 1200px !important;
    padding-bottom: 0 !important;
    overflow: unset !important;
}

.embed-container iframe {
    width: 100% !important;
}

body {
    margin: 0;
    padding: 0;
    background: #FFF;
	min-width:300px;
}

p,
a,
ul,
div {
    font-family: "Myriad Pro"
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Myriad Pro - BoldCond"
}

h2 {
    margin: 0
}

h3 {
    font-weight: 400;
}

a {
    color: #525252
}

a:hover {
    color: #323232
}

a:visited {
    color: #424242
}

blockquote {
    border-left: 5px solid gray;
    padding-left: 5px
}

img[style*="float: left;"]{
	padding-right:5px;
}
.default {
    position: relative
}

.fixed {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999
}

.clear:after {
    content: '';
    display: block;
    clear: both
}

.shadow {
    box-shadow: 0 0 15px black
}

#header {
    position: relative;
    z-index: 2;
    width: 100%;
    background: none repeat scroll 0% 0% #edecec
}

#headerWrapper {
    width: 960px;
    height: 130px;
    margin: 0px auto
}

#logo {
    background: url("../images/logo-flat.png") no-repeat scroll 55px 20px transparent;
    height: 130px;
    width: 700px;
    float: left;
    position:relative;
}
#logo:hover {
	background: url("../images/logo-flat.png") no-repeat scroll 55px -91px transparent;
}

#logo:after {
	content: '18+';
	background: #999;
	border-radius:8px;
	width: 40px;
	height: 30px;
	display:block;
	color: #EEE;
	text-align: center;
	font-size: 20px;
	line-height: 28px;
	position:absolute;
	top:10px;
	right:-135px;
	opacity:0.8;
}

#leo {
    height: 46px;
    width: 72px;
    background: url("../images/leo.png") repeat scroll 0px 100% transparent;
    margin: 70px 0 0 80px;
    float: left
}

#leo:hover {
    background: url("../images/leo.png") repeat scroll 0px 0px transparent
}

#toTop {
    display: block;
    background: url("../images/top.png") repeat scroll 0% 0% transparent;
    width: 50px;
    height: 50px;
    position: fixed;
    right: 50px;
    bottom: 50px;
    cursor: pointer;
    visibility: hidden;
    transition: all 1s
}

#topMenu {
    width: 100%;
    background: none repeat scroll 0% 0% #333;
    height: 30px
}

#topMenu ul {
    list-style-type: none;
    margin: 0px auto;
    width: 960px
}

#topMenu ul > li {
    float: left;
    height: 30px;
    padding: 0 30px
}

#topMenu ul > li > a {
    color: #fafafa;
    margin-top: 2px;
    vertical-align: -5px;
    text-decoration: none
}

#topMenu ul > li:hover {
    background-color: #000
}

#topMenu ul .active {
    background: #2a2a2a;
    border-right: 1px solid #444;
    border-left: 1px solid #444
}

#topMenu ul:after {
	content: '';
    display: block;
    clear: both
}

ul.breadcrumb {
    list-style-type: none;
    padding-top: 10px;
    margin: 0
}

ul.breadcrumb li {
    float: left
}

ul.breadcrumb:after {
    content: '';
    display: block;
    clear: both
}

#content {
    background: #FFF;
    border-radius: 3px;
    box-shadow: 0px 0px 10px #AAA
}

#columnLeft {
    float: left;
    width: 75%
}

.itemContent address {
    margin: 10px 0;
    font-size: smaller;
    color: #333;
}

.itemContent p img {
    margin-right: 20px
}
.itemContent table {
	border-collapse: collapse;
	width: 100%;
	margin: 20px 0;
}
.itemContent tr:nth-child(odd) {
	background: #FFF;
}
.itemContent tr:nth-child(even) {
	background: #EEE;
}
.itemContent tr:first-child {
	background: #333;
	color: #FFF;
	font-weight: 600;
}
.itemContent tr:first-child td p {
	text-align:center !important;
}
.itemContent td {
	border: 1px solid #333;
	padding: 5px;
}
.itemContent tr td:nth-child(even) p {text-align:center !important;}
.article-info-term {
    display: none
}

.item-image img,
.itemContent p img,
.itemContent figure img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}
/*
.pbitem_cont,
.pbitem_title {
    transition: all 1s
}
*/
#pbgrid_cont.style_fullness .pbitem_cont .pbitem_image {
    margin: 5px 15px 5px 30px !important;
}
#pbgrid_cont.style_fullness .pbitem_cont .pbitem_intro {
    padding: 0px 30px !important;
}

.pbitem_title {margin: 5px 30px !important;}

.pbitem_intro p {
    line-height: initial !important;
    margin: initial !important;
    text-indent: initial !important;
    text-align: justify !important;
}

.pbitem_intro figure > figcaption {
    display: none;
}

/* Новости */
.category-8:before {
	color:#FFF;
	content: 'новости';
	position: absolute;
	left: 0;
	transform: rotate(-90deg);
	transform-origin: 50px 50px;
	width: 100px;
	background: #d0bd71;
	line-height: 16px;
	height: 20px;
}
.category-8:after {
	content:'';
	position:absolute;
	left: 0;
	top:100px;
	border-top: 20px solid #d0bd71;
	border-right: 20px solid transparent;
}
/* Статьи */
.category-10:before {
	color:#FFF;
	content: 'статьи';
	position: absolute;
	left: 0;
	transform: rotate(-90deg);
	transform-origin: 50px 50px;
	width: 100px;
	background: #897;
	line-height: 16px;
	height: 20px;
}
.category-10:after {
	content:'';
	position:absolute;
	left: 0;
	top:100px;
	border-top: 20px solid #897;
	border-right: 20px solid transparent;
}
/* Аналитика */
.category-13:before {
	color:#FFF;
	content: 'аналитика';
	position: absolute;
	left: 0;
	transform: rotate(-90deg);
	transform-origin: 50px 50px;
	width: 100px;
	background: #b66e79;
	line-height: 16px;
	height: 20px;
}
.category-13:after {
	content:'';
	position:absolute;
	left: 0;
	top:100px;
	border-top: 20px solid #b66e79;
	border-right: 20px solid transparent;
}
/* Блог */
.category-11:before {
	color:#FFF;
	content: 'блог';
	position: absolute;
	left: 0;
	transform: rotate(-90deg);
	transform-origin: 50px 50px;
	width: 100px;
	background: #d7ab7a;
	line-height: 16px;
	height: 20px;
}
.category-11:after {
	content:'';
	position:absolute;
	left: 0;
	top:100px;
	border-top: 20px solid #d7ab7a;
	border-right: 20px solid transparent;
}
/* Партнеры */
.style_default > .category-2 {
	padding: 0 10px 0 25px !important;
}
.category-2:before {
	color:#FFF;
	content: 'партнеры';
	position: absolute;
	left: 0;
	transform: rotate(-90deg);
	transform-origin: 50px 50px;
	width: 100px;
	background: #AAA;
	line-height: 16px;
	height: 20px;
}
.category-2:after {
	content:'';
	position:absolute;
	left: 0;
	top:100px;
	border-top: 20px solid #AAA;
	border-right: 20px solid transparent;
}

.item-page {
    padding: 20px;
    max-width: 800px;
    margin: 0px auto
}

.item-page span {
    font-family: "Myriad Pro" !important;
}

.item-page p {
    text-align: justify !important;
    line-height: initial !important;
    margin: 20px 0 !important;
    font-family: "Myriad Pro" !important;
    font-size: initial !important;
}

.item-page h3:first-of-type {
	padding-top: 0;
	margin-top:0;
}

.item-page figure {
	text-align: center;
}

.item-page figure > img {
	width: 100%;
}

.item-page figure.fig-left {
	width:350px;
	margin-left:0;
	float:left;
}

.item-page figure.fig-right {
	width:350px;
	margin-right:0;
	float:right;
}
.item-page figure.fig-center {
	margin:0;
}

.item-page:after {
    content: '';
    display: block;
    clear: both
}

.page-header {
    text-align: center
}

#pbgrid_cont.style_fullness .pbitem_cont {
    margin: 10px;
    background: none repeat scroll 0% 0% #FFF;
    box-shadow: 0px 2px 10px #EEE
}

figcaption {
    font-size: smaller
}

.nologin {
    margin: 15px;
    background: none repeat scroll 0% 0% rgb(238, 238, 238);
    text-align: center;
    border-radius: 5px;
    border: 1px solid rgb(204, 204, 204)
}

#comments-form textarea {
    max-width: 95% !important;
    margin: 0px;
    resize: none;
    width: 95%
}

#comments-form .grippie {
    height: 13px;
    display: block;
    overflow: hidden;
    color: #CCC;
    padding: 0px;
    margin: 0px;
    border-right: 1px solid #DDD;
    border-width: 0px 1px 1px;
    border-style: solid;
    border-color: #DDD;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    cursor: s-resize;
    background: url("images/jc_resize.gif") no-repeat scroll right 2px #EEE;
    width: 95%;
    max-width: 95% !important
}

#columnRight {
    float: left;
    width: 25%
}

#login-form {
    border: 0;
    padding: 0 15px
}

.userdata {
    border: 0;
    margin: 0;
    padding: 0
}

ul.jcomments-latest {
    padding: 15px
}

ul.jcomments-latest .author {
    float: right
}

.latest-comment-item-title {
    padding: 0;
    margin: 0
}

input.button {
    background-color: #525252
}

input.button:hover {
    background-color: #323232
}

.banneritem a img {
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%
}

.widget {
    margin-top: 10px;
    max-width: 300px;
    min-width: 220px;
    border: 1px solid #EEE;
	border-top: 0;
    box-shadow: 0 0 10px #EEE;
	overflow: hidden;
}

.widget:after {
    content: '';
    display: block;
    clear: both
}

.widget h2 {
    font-size: 1.5em;
    padding: 0 0 0 20px;
    margin: 0px;
    line-height: 40px;
    background: #EEE
}

ul.latestnews {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

ul.latestnews li {
    padding: 20px;
    border-bottom: 1px solid #EEE
}

ul.latestnews li:hover {
	background: #f8f8f8;
}

ul.latestnews li:last-child {
    border: 0px none !important
}
/* Widget Latest */
.latestnews-wrapper {
    margin-top: 10px;
    max-width: 300px;
    min-width: 220px;
    border: 1px solid #EEE;
    box-shadow: 0 0 10px #EEE;
	overflow: hidden;
}

.latestnews-wrapper:after {
    content: '';
    display: block;
    clear: both
}

.latestnews-wrapper h2 {
    font-size: 1.5em;
    padding: 0 0 0 20px;
    margin: 0px;
    line-height: 40px;
    background: #EEE
}
.latestnews-header {
	background: linear-gradient(to top, #CCC 80%, #AAA 100%);
    display: flex;
	justify-content: space-around;
	overflow:hidden;
	padding-top: 5px;
} 
.latestnews-header div {
	display: inline-flex;
	height: 30px;
	color: #000;
	line-height: 30px;
	box-sizing:border-box;
	position: relative;
	padding: 0 15px;
	cursor:pointer;
	font-weight: bold;
}
.latestnews-on{
	background: #FFF;
}
.latestnews-on:before {
	content: '';
	border-bottom: 30px solid #FFF;
	border-left: 10px solid transparent;
	position: absolute;
	left: -10px;
}
.latestnews-on:after {
	content: '';
	border-bottom: 30px solid #FFF;
	border-right: 10px solid transparent;
	position: absolute;
	right: -10px;
}
.latestnews-off{
	background: #EEE;
}
.latestnews-off:hover {
	background: #f8f8f8;
}
.latestnews-off:hover:after {
	border-bottom: 30px solid #f8f8f8;
}
.latestnews-off:hover:before{
	border-bottom: 30px solid #f8f8f8;
}
.latestnews-off:before {
	content: '';
	border-bottom: 30px solid #EEE;
	border-left: 10px solid transparent;
	position: absolute;
	left: -10px;
}
.latestnews-off:after {
	content: '';
	border-bottom: 30px solid #EEE;
	border-right: 10px solid transparent;
	position: absolute;
	right: -10px;
}


.latestnews-content {
}
.latestnews-content > div {
}
.latestnews-content .widget {
	margin-top:0 !important;
	box-shadow: 0 !important;
}
.latestnews-category-title {}

#likes {
	padding-top: 50px;
	clear: both;
}

.slogin-buttons {
    padding: 10px 0
}

.slogin-buttons span {
    background: url(../images/socials_sprite.png) no-repeat;
    height: 24px;
    width: 24px;
    display: block
}

.slogin-buttons a,
.slogin-buttons a:hover {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-decoration: none;
    float: left
}

.slogin-buttons a {
    display: block;
    width: 25px;
    padding: 5px;
    margin: 5px 0 0px 10px;
    text-decoration: none
}

.slogin-buttons a:hover {
    background: #f4f3f2
}

.slogin-buttons .googleslogin {
    background-position: 0 0
}

.slogin-buttons .odnoklassnikislogin {
    background-position: -26px 0
}

.slogin-buttons .vkontakteslogin {
    background-position: 0 -26px
}

.slogin-buttons .facebookslogin {
    background-position: -26px -26px
}

.slogin-buttons .mailslogin {
    background-position: 0 -52px
}

.slogin-buttons .twitterslogin {
    background-position: -26px -52px
}

.slogin-buttons .yandexslogin {
    background-position: 0 -78px
}

.slogin-buttons .linkedinslogin {
    background-position: -26px -78px
}

.slogin-buttons .liveslogin {
    background-position: 0 -104px
}

.slogin-buttons .uloginslogin {
    background-position: -26px -104px
}

.slogin-buttons .pinterestslogin {
    background-position: 0 -130px
}

.slogin-buttons .yahooslogin {
    background-position: -26px -130px
}

.slogin-buttons .wordpressslogin {
    background-position: 0 -156px
}

.slogin-buttons .instagramslogin {
    background-position: -26px -156px
}

.slogin-avatar {
    text-align: center
}

.slogin-avatar img {
    border: 1px solid #c0c0c0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    padding: 0px;
    margin: 0px 0px 10px
}

#footer {
    width: 100%;
    background: none repeat scroll 0% 0% #222;
    box-shadow: 0px 15px 15px -15px inset
}

img.liCounter {
    height: 31px;
    width: 31px
}

.style_fullness .pbitem_cont{width:586px;}

@media only screen and (max-width:320px) {
	#logo:after {
		right: -40px;
		width:30px;
		height:20px;
		font-size:12px;
		line-height:20px;
	}
}

@media only screen and (max-width:420px) {
    img {
        height: auto;
        width: auto;
        max-width: 100%;
        max-height: 100%
    }
    figure {
        margin: 0;
        padding: 0;
        height: auto;
        width: 100% !important;
        max-width: 100%;
        max-height: 100%
    }
    table {
        font-size: smaller
    }
    p {
        word-wrap: break-word
    }
    .pbitem_intro figure {
        display: none
    }
    .itemContent div[style] {
        width: 100% !important;
        float: none !important;
        margin: 0 !important
    }
    #headerWrapper {
        width: 100%;
        height: 50px
    }
    #logo {
        width: 260px;
        height: 50px;
        background-size: 300px 100px;
        background-position: 5px 5px
    }
	#logo:hover {
		background: url("../images/logo-flat.png") no-repeat scroll 5px -45px transparent;
		background-size: 300px 100px;
	}
	#logo:after {
		right: initial;
		left:calc(100vw - 50px);
	}
    #leo {
        display: none
    }
    #content {
        margin: 0;
		width:100%;
    }
    #topMenu:before {
        content: "";
        position: absolute;
        left: 0.5em;
        top: 0.5em;
        width: 1.25em;
        height: 0.2em;
        background: none repeat scroll 0% 0% #FFF;
        box-shadow: 0px 0.35em 0px 0px #FFF, 0px 0.75em 0px 0px #FFF, 0 0 5px black, 0 0.35em 5px black, 0 0.75em 5px black;
        cursor: pointer
    }
    #topMenu:after {
        content: attr(data-content);
        font-family: 'Myriad Pro - BoldCond';
        color: #FFF;
        position: absolute;
        right: 20px;
        top: 5px;
        text-transform: uppercase;
        font-size: 18px
    }
    #topMenu ul {
        display: none;
        width: auto;
        margin: 0;
        padding: 0
    }
    #topMenu ul > li {
        float: none
    }
	#pbgrid_cont {
		width:100% !important;
	}
    #pbgrid_cont .pbitem_cont {
        display: inline-block;
        width: 95%;
        margin: 5px;
        text-decoration: none;
        opacity: 1
    }
    .pbitem_image {
        display: none
    }
    ul.breadcrumb {
        margin: 0
    }
    #columnLeft {
        float: none;
        width: 100%
    }
    #columnRight {
        display: none
    }
    #toTop {
        top: 40px;
        bottom: auto;
        left: 10px;
        right: auto
    }
}

@media only screen and (min-width:421px) and (max-width:600px) {
    img {
        width: 100%;
        height: 100%
    }
    table {
        font-size: smaller
    }
    p {
        word-wrap: break-word
    }
    .pbitem_intro figure {
        display: none
    }
    .itemContent div[style] {
        width: 100% !important;
        float: none !important;
        margin: 0 !important
    }
    #headerWrapper {
        width: 100%;
        height: 75px
    }
    #logo {
        width: 420px;
        height: 70px;
        background-size: 420px 140px;
        background-position: 10px 10px
    }
	#logo:hover {
		background: url("../images/logo-flat.png") no-repeat scroll 10px -60px transparent;
		background-size: 420px 140px;
	}
	#logo:after {
		right: initial;
		left:calc(100vw - 50px);
	}
    #leo {
        display: none
    }
    #content {
        margin: 0
    }
    #topMenu:before {
        content: "";
        position: absolute;
        left: 0.5em;
        top: 0.5em;
        width: 1.25em;
        height: 0.2em;
        background: none repeat scroll 0% 0% #FFF;
        box-shadow: 0px 0.35em 0px 0px #FFF, 0px 0.75em 0px 0px #FFF, 0 0 5px black, 0 0.35em 5px black, 0 0.75em 5px black;
        cursor: pointer
    }
    #topMenu:after {
        content: attr(data-content);
        font-family: 'Myriad Pro - BoldCond';
        color: #FFF;
        position: absolute;
        right: 20px;
        top: 5px;
        text-transform: uppercase;
        font-size: 18px
    }
    #topMenu ul {
        display: none;
        width: auto;
        margin: 0;
        padding: 0
    }
    #topMenu ul > li {
        float: none
    }
	#pbgrid_cont {
		width:100% !important;
	}
    #pbgrid_cont .pbitem_cont {
        display: inline-block;
        width: 95%;
        margin: 5px;
        text-decoration: none;
        opacity: 1
    }
    ul.breadcrumb {
        margin: 0
    }
    #columnLeft {
        float: none;
        width: 100%
    }
    #columnRight {
        display: none
    }
    #toTop {
        top: 40px;
        bottom: auto;
        left: 10px;
        right: auto
    }
}

@media only screen and (min-width:601px) and (max-width:800px) {
    img {
        height: auto;
        width: auto;
        max-width: 100%;
        max-height: 100%
    }
    .itemContent div[style] {
        max-width: 100% !important
    }
    #headerWrapper {
        width: 100%;
        height: 75px
    }
    #logo {
        width: 420px;
        height: 70px;
        background-size: 420px 140px;
        background-position: 10px 10px
    }
	#logo:after {
		right: initial;
		left:calc(100vw - 50px);
	}
    #leo {
        display: none
    }
    #content {
        margin: 0
    }
    #topMenu:before {
        content: "";
        position: absolute;
        left: 0.5em;
        top: 0.5em;
        width: 1.25em;
        height: 0.2em;
        background: none repeat scroll 0% 0% #FFF;
        box-shadow: 0px 0.35em 0px 0px #FFF, 0px 0.75em 0px 0px #FFF, 0 0 5px black, 0 0.35em 5px black, 0 0.75em 5px black;
        cursor: pointer
    }
    #topMenu:after {
        content: attr(data-content);
        font-family: 'Myriad Pro - BoldCond';
        color: #FFF;
        position: absolute;
        right: 20px;
        top: 5px;
        text-transform: uppercase;
        font-size: 18px
    }
    #topMenu ul {
        display: none;
        width: auto;
        margin: 0;
        padding: 0
    }
    #topMenu ul > li {
        float: none
    }
	#pbgrid_cont {
		width:100% !important;
	}
    #pbgrid_cont .pbitem_cont {
        display: inline-block;
        width: 95%;
        margin: 5px;
        text-decoration: none;
        opacity: 1
    }
    ul.breadcrumb {
        margin: 0
    }
    #columnLeft {
        float: none;
        width: 100%
    }
    #columnRight {
        display: none
    }
    #toTop {
        top: auto;
        bottom: 10px;
        left: auto;
        right: 10px
    }
}

@media only screen and (min-width:801px) and (max-width:1000px) {
	 img {
        height: auto;
        width: auto;
        max-width: 100%;
        max-height: 100%
    }
	#headerWrapper {
		height: 130px;
		width:100%;
	}
	#logo:after {
		right:-55px;
	}
    #leo {
        margin: 70px 0 0 0
    }
    #content {
        margin: 0;
        padding: 0;
        border-radius: 0
    }
    #topMenu ul {
        list-style-type: none;
		width: 100%;
		margin: 0;
		padding: 0;
    }
    #topMenu ul > li {
        padding: 0px 31px
    }
    #columnLeft {
        width: 70%
    }
    #columnRight {
        width: 30%
    }
    .breadcrumb {
        margin: 0
    }
    .style_fullness .pbitem_cont {
        width: 546px
    }
    .widget-latestnews {
        margin: 10px 10px 0 0
    }
    #toTop {
        top: auto;
        bottom: 10px;
        left: auto;
        right: 10px
    }
}

@media only screen and (min-width:1001px) and (max-width:1200px) {
	 img {
        height: auto;
        width: auto;
        max-width: 100%;
        max-height: 100%
    }
    #columnLeft {
        width: 70%
    }
    #columnRight {
        width: 30%
    }
    .style_fullness .pbitem_cont {
        width: 686px
    }
    .widget-latestnews {
        margin: 10px 20px 0 0
    }
}

@media only screen and (min-width:1201px) and (max-width:1400px) {
    .style_fullness .pbitem_cont {
        width: 436px
    }
}

@media only screen and (min-width:1401px) and (max-width:1600px) {
    .style_fullness .pbitem_cont {
        width: 486px 
    }
}
@media only screen and (min-width:2201px) {
	#columnLeft {
        width: 85%
    }
    #columnRight {
        width: 15%
    }
}

/* 
    #content {
        margin: 30px
    }
КОСТЫЫЫЫЫЫЛЬ!!! 
#pbgrid_cont {
    width: 100% !important
}
*/
