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EuMiwxMi40TC0xMDMtMjMzLjZMLTEwMy0yMzMuNnogTS0xMDAuMi0yNTMuNHYxNC45bDEyLjctNy40ICAgICBMLTEwMC4yLTI1My40TC0xMDAuMi0yNTMuNHoiIGlkPSJGaWxsLTEyNSIvPjwvZz48L2c+PC9zdmc+) no-repeat 5px center;
    background-size: 40px;
    padding: 0 10px 0 52px;
    position: relative;
}

body > header a#logo.px0-m {
    padding-left: 45px !important;
    padding-right: 10px !important;
    letter-spacing: 1px;
}


body > header a#logo:after {
    content: "";
    position: absolute;
    right: 4px;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 4px;
    background-color: #C00;
}


body > header {
    background-color: #FFF;
}

body > footer {
    background-color: transparent;
    margin-top: 20px;
}


header > .w, footer > .w, #layout {
	max-width: 1200px;
}

#layout #main-left {
	margin-right: 10px;
}

#layout #main-right {
	margin-left: 20px;
}

#layout #main-left .img-thumbnail {
	margin: 0 auto 0;
}

#layout #main-center,
#layout #main-right .widget_tabbed,
#layout #main-left .vert-list {
	background-color: #FFF;
}

#layout #main-right .widget_tabbed {
	padding: 10px;
}

#layout #main-center 
{
	margin: 20px 0px 0 0px;
    padding: 20px;
    box-sizing: border-box;
}

.controller-frontpage #layout #main-center {
    margin: 20px 0px 0 0px;
    padding: 0 20px 20px;
}


a {
	color: #3766a9;
	transition: background 0.15s linear, color 0.15s linear;
}

.content_categories a {
	background-color: #68809B;
	color: #FFF;
}

/*#layout #main-center .actions {
	margin: -10px -10px 20px;
	background-color: #F0F0F0;
}
*/

.pagebarobbw2 {
	background-color: #FFF;
	padding: 10px;
}

.pagebar_pages *{
	margin-right: 10px;
}

.author-header-item-view {
    background-color: #e3f6fc;
    padding: 10px;
    margin: 0 -10px 10px;
}

.video_frame {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.video_wrap {
    height: 0;
    position: relative;
    padding-bottom: 56.25%;
    overflow:hidden;
}


#widget_pos_top
{
	padding-top: 10px;
}

#widget_pos_top .menu
{
	background-color: #0c5261;
	overflow: hidden;
	padding: 0 !important;
}

#widget_pos_top .menu a
{
	font-size: 18px;
	line-height: 42px;
	height: 42px;
	display: block;
	float: left;
	margin: 0 !important;
	padding: 0 10px;
	color: #FFF;
	font-weight: bold;
}

#widget_pos_top .menu a:hover
{
	background-color: #FFF;
}

#widget_pos_top .menu a:hover
{
	color: #C00;
}

#widget_pos_top .menu li.active a
{
	background-color: #FFF;
	color: #000;
}

#widget_pos_top .menu li.active a span
{
	color: #000;
	border-bottom: none;
}

ul.oauth-soctype-choose
{
	list-style-type: none;
	padding: 0;
	margin: 20px 0 0;
	overflow: hidden;;
}

ul.oauth-soctype-choose li
{
	margin-right: 10px;
	margin-bottom: 10px;
	display: inline-block;
}

ul.oauth-soctype-choose li:last-child
{
	margin-right: 0;
}

ul.oauth-soctype-choose li a
{	
	text-align: center;
	text-decoration: none;
	font-size: 11px;
	display: block;
}

ul.oauth-soctype-choose li a span.icon
{
	display: block;
	width: 50px;
	height: 50px;
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: top center;
	position: relative;
	box-sizing: border-box;
}

ul.oauth-soctype-choose li.vk a span.icon
{
	background-image: url(../svg/vk.svg);	
}

ul.oauth-soctype-choose li.ok a span.icon
{
	background-image: url(../svg/ok.svg);	
}

ul.oauth-soctype-choose li.google a span.icon
{
	border: 1px solid #EEE;
	background-color: #FFF;
	border-radius: 7px;
	background-image: url(../svg/google.svg);	
}

ul.oauth-soctype-choose li.facebook a span.icon
{
	background-image: url(../svg/facebook.svg);	
}

ul.oauth-soctype-choose li.instagram a span.icon
{
	background-image: url(../svg/instagram.svg);	
}

ul.oauth-soctype-choose li.mailru a span.icon
{
	background-image: url(../svg/mailru.svg);
}

ul.oauth-soctype-choose li.ya a span.icon
{
	background-image: url(../svg/yandex.svg);
}

ul.oauth-soctype-choose li.yahoo a span.icon
{
	background-image: url(../svg/yahoo.svg);
}

ul.oauth-soctype-choose li.apple a span.icon
{

	background-image: url(../svg/apple.svg);
	background-color: #FFF;
    border-radius: 7px;
    border: 1px solid #EEE;
	background-size: 75%;
    background-position: center center;

}


ul.oauth-soctype-choose li a span
{
	display: block;
}

ul.oauth-soctype-choose li a span.title
{
	display: none;
}

#relogin-modal-window-bg
{
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100001;
}

#relogin-add-post-waiting
{
    width: 100px;
    height: 100px;
    background: url("../images/spinner-2.svg") no-repeat center center #EEE;
    background-size: 32px;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,.4);
    position: fixed;
    margin-left: -50px;
    left: 50%;
    margin-top: -50px;
    top: 50%;
    display: none;
    z-index: 100002;
}

#relogin-modal-window-bg
{
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100001;
}

#relogin-add-post-waiting
{
    width: 100px;
    height: 100px;
    background: url("../images/spinner-2.svg") no-repeat center center #EEE;
    background-size: 32px;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,.4);
    position: fixed;
    margin-left: -50px;
    left: 50%;
    margin-top: -50px;
    top: 50%;
    display: none;
    z-index: 100002;
}

#relogin-modal-window
{
    width: 400px;
    background: #EEE;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,.4);
    position: fixed;
    margin-left: -150px;
    left: 50%;
    margin-top: -130px;
    top: 50%;
    display: none;
    z-index: 100002;
    overflow: hidden;
    border-radius: 2px;
}

#relogin-modal-window .in
{
}

#relogin-modal-window .in .title
{
    height: 54px;
    line-height: 54px;
    padding: 0 25px;
    font-size: 14px;
    background-color: rgb(12, 82, 97);
    color: #FFF;
}

#relogin-modal-window .in .message
{
    padding-bottom: 20px;
}

#relogin-modal-window .in .content
{
    padding: 20px 25px;
}

#relogin-modal-window .in .controls
{
    padding: 15px 23px 15px 25px;
    background-color: #e7e7e7;
    border-radius: 0 0 2px 2px;
    border-top: 1px solid #ddd;
    white-space: nowrap;    
    overflow: hidden;
}

#relogin-modal-window .in .controls .buttons
{
    float: right;
}



#relogin-modal-window .in h3
{
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}


#relogin-modal-window .in .widget_auth .field
{
    padding-bottom: 10px;
}

#relogin-modal-window .in .widget_auth .field input
{
    height: 40px;
    text-indent: 5px;
}

.digest-groups-area
{
	background-color: #FFF;
	padding: 15px;
}

h1.digest-groups-header
{
	background-color: #643ce7;
	padding: 20px !important;
	font-size: 28px !important;
	color: #FFF !important;
	margin-bottom: 0 !important;
}

.digest-groups-area h2.group-list-section
{
    font-weight: bold;
    font-size: 32px;
    margin: 40px 0 20px;
}


.digest-groups-area .group-header
{
	overflow: hidden;
    background-color: #ede8ff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.digest-groups-area .digest-item .preview img
{
	border-radius: 4px;
}

.digest-groups-area .group-header .logo
{
	width: 80px;
	float: left;
	font-size: 0;
}

.digest-groups-area .group-header .logo .nologo
{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #DDD;	
}

.digest-groups-area .group-header .info
{
}

.digest-groups-area .group-header .join-btn
{
	font-weight: bold;
	background-color: #C00;
	display: inline-block;
	padding: 0 10px;
	line-height: 40px;
	height: 40px;
	color: #FFF;
	float: right;
	border-radius: 4px;
}


.digest-groups-area .group-header .title
{
    font-size: 24px;
    padding-bottom: 2px;
    font-weight: bold;
}

.digest-groups-area .group-header .title a
{
	color: #000;
	text-decoration: none;
}

.digest-item .preview img
{
    max-width: 150px;
}

.digest-item .text
{
    box-sizing: border-box;
}

digest-items .digest-item .preview img
{
}

.digest-items .digest-item.preview img a
{
  border: none;
}

.digest-area .digest-item .preview .nophoto,
.digest-items .digest-item .preview .nophoto
{
  width: 150px;
  height: 150px;
  box-sizing: border-box;
  background-color: #F2F2F2;
}

.digest-area .digest-item .preview,
.digest-items .digest-item .preview {
    width: 160px;
    padding-left: 0;
    box-sizing: border-box;
    text-align: left;
    float: left;
}

.digest-area
{
  background-color: #FFF;
  padding: 0 0px 20px 0;
  margin-right: 0;
}

.digest-item 
{
    overflow: hidden;
    margin-bottom: 20px;
}

.digest-item .text
{
  margin-left: 173px;
  color: #444;
  padding-right: 20px;
}

.digest-item .text h2
{
  padding-top: 0;
  margin-top: 0;
  font-family: 'PT Sans',sans-serif;
  font-weight: bold;
}

.digest-item .text h2 a
{
}

#main-right .subscribe-subscribe-form
{
padding: 20px;
background-color: #F2B6A0;
margin-bottom: 20px;
}
#main-right .subscribe-subscribe-form h2
{
font-size: 36px;
line-height: 36px;
margin-top: 0;
}
#main-right .subscribe-subscribe-form .text
{
font-size: 18px;
line-height: 24px;
color: #000;
}
#main-right .subscribe-subscribe-form .email
{
height: 50px;
line-height: 50px;
padding: 0 20px;
width: 100%;
font-size: 16px;
}
.subscribe-subscribe-form .message
{
font-size: 18px;
line-height: 24px;
}
#main-right .subscribe-subscribe-form .button-submit
{
height: 50px;
line-height: 50px;
background-color: #73332D;
margin-top: 20px;
width: 100%;
font-size: 16px;
}
#main-right .subscribe-subscribe-form .button-submit:hover
{
background-color: #FF4E20;
}
.subscribe-subscribe-form .text
{
color: #888;
padding: 0 0 10px;
}
.subscribe-subscribe-form .email
{
width: 60%;
box-sizing: border-box;
height: 32px;
line-height: 32px;
display: inline-block;
}
.subscribe-subscribe-form .button-submit
{
width: 35%;
height: 32px;
line-height: 32px;
border-radius: 4px;
display: inline-block;
text-align: center;
background-color: #7293b6;
color: #FFF;
cursor: pointer;
}
.subscribe-subscribe-form .message.error
{
padding: 5px;
color: #842029;
background-color: #f8d7da;
border-color: #f5c2c7;
margin-bottom: 10px;
}
.subscribe-subscribe-form .message.success
{
padding: 5px;
}
.subscribe-subscribe-form .button-submit:hover
{
background-color: #93acc8;
}
.subscribe-subscribe-form .button-submit.disabled
{
background-color: #DDD !important;
}

ul.oauth-soctype-choose li a span.icon {
    width: 64px !important;
    height: 64px !important;
}

.content_list_item.posts_list_item {
    border-bottom: 20px solid #7e7e7e;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.content_list_item.posts_list_item .author-header {
    margin-bottom: 20px;;
}

.content_list_item.posts_list_item .author-header .info {
    display: flex;
    flex-wrap: wrap;
    padding: 0;;
}

.content_list_item.posts_list_item a.h2 {
    color: #000;
}

#main-center .content_list_item.posts_list_item .author-header .avatar img.img-thumbnail {
    height: 22px;
    width: 22px;
}

.content_list_item.posts_list_item .author-header .info a,
    .content_list_item.posts_list_item .author-header .date_pub {
    margin-left: 10px;
    color: #606060;
}

#shownextbutton-absolute {
position: fixed;
top: 0px;
left: 50%;
width: 880px;
background-color: #4ba5e5;
text-align: center;
line-height: 40px;
font-size: 16px;
font-weight: bold;
height: 40px;
color: #FFF;
text-decoration: none;
margin-left: -600px;
transition-duration: 0.2s;
transition-property: top;
z-index: 100;
opacity: 0;
}
#shownextbutton-absolute.down {
top: 50px;
opacity: 1;
}
body.columns3 #shownextbutton-absolute {
width: 970px;
margin-left: -640px;
font-size: 21px;
}
#layout.nexbuttondown {
padding-top: 35px !important;
}


h2#most-popular {
    display: none;
    }
    .loader-ellips {
    font-size: 20px;
    position: relative;
    width: 4em;
    height: 1em;
    margin: 10px auto;
    }
    .loader-ellips__dot {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    background: #7293b6;
    position: absolute;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    }
    .loader-ellips__dot:nth-child(1),
    .loader-ellips__dot:nth-child(2) {
    left: 0;
    }
    .loader-ellips__dot:nth-child(3) { left: 1.5em; }
    .loader-ellips__dot:nth-child(4) { left: 3em; }
    @keyframes reveal {
    from { transform: scale(0.001); }
    to { transform: scale(1); }
    }
    @keyframes slide {
    to { transform: translateX(1.5em) }
    }
    .loader-ellips__dot:nth-child(1) {
    animation-name: reveal;
    }
    .loader-ellips__dot:nth-child(2),
    .loader-ellips__dot:nth-child(3) {
    animation-name: slide;
    }
    .loader-ellips__dot:nth-child(4) {
    animation-name: reveal;
    animation-direction: reverse;
    }
    .grid_item,
    .grid__col-sizer {
    width: 32%;
    overflow: hidden;
    }
    .grid__gutter-sizer {
    width: 2%;
    }
    .grid_item img
    {
    width: 100%;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
    }
    .grid.are-images-unloaded {
    opacity: 0;
    }
    /* hide by default */
    .grid.are-images-unloaded .image-grid_item {
    opacity: 0;
    }
    .grid_item {
    margin-bottom: 10px;
    float: left;
    }
    .page-load-status {
    display: none; /* hidden by default */
    padding-top: 20px;
    text-align: center;
    color: #777;
    }
    .popular-pages .caption
    {
    display: block;
    position: absolute;
    bottom: 10px;
    left: 10px;
    max-width: 90%;
    }
    .popular-pages .caption a
    {
    background-color: #fff !important;
    box-decoration-break: clone !important;
    -webkit-box-decoration-break: clone !important;
    border-radius: 3px !important;
    padding: 1px 4px !important;
    line-height: 1.55 !important;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    }
    .popular-pages .grid_item
    {
    }

@media screen and (max-width: 700px) {

    #shownextbutton-absolute {
        top: auto !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }    

    .grid_item, .grid__col-sizer {
        width: 100%;
        overflow: hidden;
    }    
}

.right-comments-widget .lgray.fs1 {
    display: none;
}

.right-comments-widget  .w100p {
    font-weight: bold;
}


.right-comments-widget .subject {
    display: block;
    font-weight: normal;;
}

.guestform textarea#content {
    width: 100%;
    height: 10em;
    border: 1px solid #e7eaf3;
    border-radius: 6px;
}