﻿/*
Theme Name: all4wp
Version: 1.0
*/

@font-face { font-family: 'HelveticaNeueCyr'; src: url('visual/fonts/HelveticaNeueCyr-Roman.woff2') format('woff2'),  url('fonts/HelveticaNeueCyr-Roman.woff') format('woff'); font-weight: normal; font-style: normal;}
* {outline: none;}
html { height: 100%; min-width: 320px;}
body {position: relative; margin: 0; padding: 0px 0 0 0; height: auto !important; height: 100%; min-height: 100%; min-width: 320px; background: #fff; font-family: 'HelveticaNeueCyr'; background: #faf5f5;}
html > body {padding: 0;}
img {padding: 0; margin: 0; border: 0;}
.cleaner {clear: both;}
a, input {transition: all 0.3s ease; -webkit-transition: all 0.3s ease;}
a {color: #2e7e81;}
a:hover {text-decoration: none;}
.container {width: 100%; position: relative;}
.wrapper {width:100%; max-width: 1170px; margin: 0 auto; padding: 0 10px; box-sizing: border-box; position: relative;}
header {margin: 0 0 40px; background:#fff; text-align:center; padding: 40px 0;}
header .icons {align-items: flex-start; display: flex; position: absolute; right: 10px; top: 50%;  margin-top: -21px;}
header .icons a {margin: 0 0 0 14px;}
.content .wrapper {display: flex; align-items: flex-start;}
.content .wrapper .center-block {font-size: 18px; color: #404040; padding: 50px 100px; width: calc(100% - 530px); background: #fff; box-sizing: border-box;}
.content .wrapper .center-block p {padding: 0 0 30px; margin: 0;}
.content .wrapper .center-block img.full-pic {width: 100%; margin: 0 0 30px;}
.content .wrapper .center-block .articles {justify-content: center; margin: 0 -8px; padding: 10px 0 0 0; width: calc(100% + 16px); display: flex; flex-wrap: wrap;}
.content .wrapper .center-block .articles .block {font-size: 14px; width: calc(100% / 3 - 16px); margin: 0 8px 16px; text-align:center; }
.content .wrapper .center-block .articles .block .pic {background-position: center center; background-size: cover; margin: 0 0 10px; height: 70px; overflow: hidden; position: relative;}
.content .wrapper .center-block .articles .block .pic img {position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; min-height: 100%;}
.content .wrapper .center-block h1 {font-size: 24px; color: #b95700; line-height: 125%; padding: 0 0 30px; margin: 0; font-weight: normal; text-transform: uppercase;}
.content .wrapper .center-block .bc {color: #2e7e81; padding: 0 0 30px; margin: 0;}
.content .wrapper .center-block .bc a {white-space: nowrap;}
.content .wrapper .leftbar {font-size: 18px; color: #404040; padding:  50px 30px; width:230px; background: #fff; box-sizing: border-box; text-align:center; margin: 0 35px 0 0;}
.content .wrapper .leftbar .bl {margin: 0 0 25px;}
.content .wrapper .leftbar .bl:last-child {margin:0;}
.content .wrapper .rightbar {line-height: 145%; text-align:center; padding:  50px 30px; width:230px; background: #fff; box-sizing: border-box; text-align:center; margin: 0 0 0 35px;}
.content .wrapper .rightbar a {text-decoration: none;}
.content .wrapper .rightbar a.small {font-size: 14px;}
.content .wrapper .rightbar a.medium {font-size: 18px;}
.content .wrapper .rightbar a.big {font-size: 22px;}
footer {font-size: 14px; color: #2e7e81; position: relative; margin: 50px 0 0 0; background: #fff; padding: 25px 0 10px;}
footer .copy {padding: 10px 0 0 0;}
footer .wrapper .menus {display:flex; justify-content: center; flex-wrap: wrap;}
footer .wrapper .menus ul {font-size: 14px; padding: 0 35px; margin: 0; list-style-type: none;}
footer .wrapper .menus ul li {padding: 0 0 8px;}
footer .wrapper .menus ul li a {color: #808080; }
footer .icons {align-items: flex-start; display: flex; position: absolute; right: 10px; top: 50%; margin-top: -21px;}
footer .icons a {margin: 0 0 0 14px;}

/* start style by arkanzas */
.rightbar-search {
    line-height: 145%;
    text-align: center;
    width: 230px;
    background: #fff;
    box-sizing: border-box;
    text-align: center;
    margin: 15px 0 0 35px;
}

.searchbox {
    display: flex;
    height: 35px;
    position: relative;
}

.search-input {
    border: none;
    color: #333;
    font-size: 14px;
    font-family: inherit;
    padding-left: 20px;
    width: 100%;
    border: 1px solid #e7e7e7;
    height: 33px;
    box-sizing: border-box;
    line-height: 31px;
}

.search-btn {
    background: url('visual/img/icons/search.png') center no-repeat;
    border: none;
    width: 22px;
    height: 22px;
    cursor: pointer;
    margin-left: -25px;
    position: absolute;
    top: 6px;
    right: 15px;
}

.new-pipe {
    width: calc(100% - 530px);
}

.center-block-blog {
    font-size: 18px;
    color: #404040;
    padding: 50px 100px;
    /* width: calc(100% - 530px); */
    background: #fff;
    box-sizing: border-box;
}

.center-block-blog p {
    padding: 0 0 35px;
    margin: 0;
    line-height: 145%;
}

.center-block-blog .bc {
    color: #2e7e81;
    padding: 0 0 30px;
    margin: 0;
}

.post-title {
    font-size: 24px;
    color: #b95700;
    line-height: 125%;
    padding: 0 0 30px;
    margin: 0;
    font-weight: normal;
    text-transform: uppercase;
}

.relatives-posts {
    display: flex;
    justify-content: center;
    font-size: 18px;
    color: #404040;
    padding: 35px 95px;
    /* width: calc(100% - 530px); */
    background: #fff;
    box-sizing: border-box;
    margin: 25px -8px 0 0px;
}

.relatives-posts .block {
    font-size: 14px;
    width: calc(100% / 3 - 16px);
    margin: 0 8px 0px;
    text-align: center;
}

.relatives-posts .block .pic {
    background-position: center center;
    background-size: cover;
    margin: 0 0 10px;
    height: 70px;
    overflow: hidden;
    position: relative;
}

.contents {
    color: #2e7e81;
    padding-bottom: 20px !important;
}

article .wrapper .center-block-blog ul {
    padding: 0;
    margin: 0;
}

article .wrapper .center-block-blog ul li {
    list-style-type: none;
    font-size: 20px;
    margin-bottom: 10px;
}

article .wrapper .center-block-blog ul li:before {
    color: #B95700;
    content: "•";
    padding-right: 10px;
    font-size: 30px;
    position: relative;
    top: 5px;
}

article .wrapper .center-block-blog ul li:last-child {
    margin-bottom: 30px;
}

article .wrapper .center-block-blog ul li a {
    color:#404040;
    text-decoration: none;
}

.blue-block {
    color: #378386;
    background-color: #FAF5F5;
    padding: 28px 25px;
    margin: 0 0 30px;
    line-height: 1.5;
}

.orange-block {
    color: #BC5F0C;
    background-color: #FAF5F5;
    padding: 28px 25px;
    margin: 0 0 30px;
    line-height: 1.5;
}

.details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.details span {
    color: #3C8789;
    font-size: 13px;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.details-u-txt {
    text-decoration: underline;
    margin-right: 10px;
    display: inline !important;
}

.share-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.full-pic {
    width: 100%;
    margin: 0 0 30px;
}

.rt-reading-time {
	display: block;
	font-weight: 700;
	text-align: center;
	padding-bottom: 15px;
}


.arkanzas-link {
    padding: 15px !important;
    color: white;
    font-size: 13px;
    border-radius: 2px;
    cursor: pointer;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    margin-top: 2px;
    display: inline-block;
    text-decoration: none;
}
 
.arkanzas-link:hover,.arkanzas-link:active {
    color: white;
}
 
.arkanzas-twitter {
    background: url('visual/img/icons/tw.png') center no-repeat;
    background-size: 20px;
}
 
.arkanzas-facebook {
    background: url('visual/img/icons/fb.png') center no-repeat;
    background-size: 20px;
}

.arkanzas-telegram {
    background: url('visual/img/icons/telegram.png') center no-repeat;
    background-size: 20px;
}
 
.arkanzas-social {
    margin: 20px 0px 25px 0px;
    -webkit-font-smoothing: antialiased;
    color: #3C8789;
    font-size: 13px;
    display: flex;
justify-content: center;
}



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

    .center-block-blog,
    .relatives-posts {
        padding: 50px;
    }
}

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

    .center-block-blog,
    .relatives-posts {
        order: 1;
        width: 100%;
        padding: 30px 20px;
        margin: 0 0 20px;
    }

    .new-pipe {
        width: 100%;
    }
}

/* end style by arkanzas */

@media screen and (max-width: 1200px) {
.content .wrapper .center-block {padding: 50px;}
}
@media screen and (max-width: 1000px) {
.wrapper {display: block; text-align:center;}
footer .icons {justify-content: center; position: relative; margin: 20px auto 0; top: auto; right: auto;}
footer .icons a {margin: 0 8px;}
footer .icons img {width: 28px;}
footer .wrapper .menus ul {padding: 0 10px; text-align: left; font-size: 11px;}
.wrapper {text-align:left;}
.content .wrapper .leftbar {order: 2; width: 100%; padding: 30px 20px; margin: 0 0 20px;}
.content .wrapper .center-block {order: 1; width: 100%; padding: 30px 20px;  margin: 0 0 20px;}
.content .wrapper .rightbar {order: 3; width: 100%; padding: 30px 20px; margin: 0 0 20px;}
.content .wrapper {flex-wrap: wrap;}
}
@media screen and (max-width: 500px) {
header .logo {width: 160px;}
header .icons a img {width: 30px;}
header .icons {margin-top: -15px;}
header {padding:20px 0;}
.content .wrapper .center-block .articles .block {width: calc(100% - 16px); margin-bottom: 30px;}
.content .wrapper .center-block .articles .block .pic {max-width: 150px; margin: 0 auto 10px; height: 110px;}
.content .wrapper .center-block h1 {font-size: 20px;}
}
@media screen and (max-width: 400px) {
.content .wrapper .center-block .articles .block .pic {height: 80px;}
}