/*   
Theme Name: Anticorcommittee
Theme URI: 
Description: Blog
Author: Alexey Khrusch
Version: 1.0.0
*/

body {
    overflow-x: hidden;
}

img {
    display: inline-block !important;
}

.header-top {
    background: #2e4558;
}

.header-top a {
    color: #fff;
}

.header-top p {
    color: #fff;
    margin: 0;
    padding: 3px 3px 3px 10px;
    display: inline-block;
}

.choose-language {
    float: right;
    border-left: 2px solid #fff;
    padding: 2px 10px 4px 5px;
}

.choose-language ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.choose-language li {
    display: inline-block;
    opacity: .5;
}

.choose-language a {
    padding: 0 3px;
}

.lang-item img {
    width: 100%;
}

.choose-language li:hover {
    opacity: 1;
}

.current-lang {
    opacity: 1 !important;
}

.header-body {
    background: url(img/fon.jpg);
    background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
    background-size: cover !important;
    position: relative;
}

.header-logo {
    padding: 20px;
    margin-bottom: 0;
    background: rgba(0,0,0,.5);
    position: relative;
}

.header-logo:after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    border-bottom: 30px solid transparent;
    border-top: 30px solid transparent;
    border-left: 20px solid rgba(0,0,0,.5);
}

.logo {
    max-height: 300px;
}

.logo:hover {
    opacity: .8;
}

.header-main h1, .header-main p {
    color: #fff;
    text-align: center;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.3em;
    padding-bottom: 20px;
}

.header-form {
    text-align: center;
    margin-top: 20px;
}

.navbar {
    border-bottom: none;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    margin: 0;
    background: #2e4558;
}

.navbar a {
    color: #fff !important;
}

.dropdown-menu a {
    color: #333 !important;
}

.active a {
    background: none !important;
}

.icon-bar {
    background: #fff !important;
}

.nav>li>a {
    border-top: 2px solid #2e4558;
    transition: .2s;
}

.nav>li:hover a, .current-menu-item a {
    border-top: 2px solid #fff !important;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 0 6px 6px 0;
    line-height: 1;
    border-top: 1px dashed;
}

.breadcrumbs a, .breadcrumbs .current {
    color: #fff;
    padding: 5px 5px;
    background: #304967;
    display: inline-block;
}
/* END */

.container {
    padding: 0;
    border: 2px solid #2e4558;
}

.wrap {
    padding: 0 15px 0;
}

.index {
    margin-top: 20px;
}

.category-title {
    display: block;
    text-align: center;
    background: #3b5367;
    padding: 5px 10px;
    font-size: 25px;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

.line {
    position: relative;
    margin-top: 20px;
}

.line::before {
    content: "";
    border: 1px solid #2e4558;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    z-index: 10;
}

.line::after {
    content: "";
    position: absolute;
    left: -4px;
    bottom: -4px;
    border: 5px solid #2e4558;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
}

.line article {
    padding: 15px 0 20px 15px !important;
    border-left: 2px solid #2e4558;
}

.line .page {
    margin-left: 0;
}

/* News */
.news {
    margin-bottom: 20px;
}

.block-news {
    border: 3px solid #2e4558;
    padding: 15px;
}

.block-news>.post:last-child {
    margin: 0;
}

.block-news>.post::after {
    content: none !important;
}

.news-title {
    position: relative;
}

.fa-rss-square {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0 !important;
    text-align: center;
    color: #FF9800;
    font-size: 36px;
}

.news-title h2 {
    font-size: 25px;
    display: inline-block;
    padding: 3px 10px;
    border: 2px solid #2e4558;
    background: #2e4558;
    color: #fff;
    margin: -1px 0 0 0;
}

.block-news .post {
    position: relative;
    margin-bottom: 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid #e7e7e7;
}

.block-news .post:hover::before {
    content: none;
}

.post {
    position: relative;
    padding: 15px 0 20px 15px;
    border-bottom: 1px solid #e7e7e7;
    word-wrap: break-word;
}

.post:last-child {
    border-bottom: 0;
    padding: 0;
}

.post:only-child::after {
    content: none;
}

.post h1, .page h1 {
    font-size: 30px;
    margin: 7px 0 20px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e7e7e7;
}

.post h3 {
    margin: 0 0 10px;
}

.post h3 > a {
    color: #2e4558;
    display: block;
    transition: .3s;
}

.post>a>h3:hover {
    color: #9E9E9E;
}

.post p {
    text-align: justify;
}

.post img {
    width: 100%;
    height: auto;
}

.single {
    padding: 0;
}

.single::after {
    content: none !important;
}

.go-post {
    float: right;
}

.time-post {
    font-size: 13px;
}

.page a img:hover {
    opacity: .8;
}

.type-page {
    margin-left: 10px;
}
/* END */

/* Pagination */
.fa-angle-double-right {
    padding: 0 0 0 5px !important;
}

.pagination {
    display: block;
    margin: 30px 0 10px;
    text-align: center;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

.pagination > li {
    display: inline-block;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    color: #333;
    border-color: #3b5367;
}

.pagination > div {
    padding: 0;
}

@media (max-width: 992px) {
    .pagination {
        margin: 30px 0;
    }
}

@media (max-width: 750px) {
    .pagination > div > a {
        font-size: 14px;
        padding: 10px 2px;
    }
}
/* END */

/* Widget */
.widget .input-group {
    margin-bottom: 20px;
}

.widget-block {
    background: #2e4558;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.widget-block .fa {
    font-size: 11.5em;
    width: 100%;
    text-align: center;
    color: #676767;
    padding: 0;
    position: relative;
}

.widget-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f4faff;
    font-size: 40px;
}

.widget-block .fa::after {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    transform: scale(0,1);
    opacity: 0;
    transition: opacity 0.35s, transform 0.35s;
}

.widget-block .fa:hover::after {
    opacity: 1;
    transform: scale(1);
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
/* END */

/* Footer */
.footer {
    padding: 15px 0;
    text-align: center;
    color: #fff;
    background: #2e4558;
    margin-top: 20px;
}
/* END */


.error-404 {
    text-align: center;
    position: relative;
    margin: 70px 0 100px;
}

.error-404::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 2px solid #2e4558;
    width: 100px;
}

.fa {
    padding-right: 5px;
}

@media (max-width: 768px) {
    .header-body {
        text-align: center;
    }

    .header-logo {
        background: none;
    }

    .header-logo:after {
        content: none;
    }

    .header-main h1, .header-main p {
        padding: 20px 0;
        background: rgba(0,0,0,.5);
    }
}

.read-more {
    text-align: center;
    height: 100%;
    padding: 40px 0 0;
}

.read-more span {
    display: inline-block;
    border: 2px solid;
    font-weight: bold;
    padding: 10px 15px;
    color: #fff;
    transition: 0.3s;
    background: rgba(34, 42, 156, 0.4);
}

.read-more span:hover {
    color: #fff;
    border: 2px solid #2e4558;
    background: #2e4558;
}


@media (max-width: 1170px) {
    .read-more {
        padding: 20px 0 0;
    }
}


@media (max-width: 992px) {
    .read-more {
        padding: 0;
    }

    .read-more span {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* Autobiography */

.autobiography {
    margin-bottom: 30px;
    text-align: center;
}

.autobiography h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 27px;
}

.autobiography img {
    margin: 0 auto 10px;
    max-height: 200px;
}

.timeline {
    margin: 0 0 30px;
}

.timeline-title, .timeline-end {
    text-align: center;
}

.timeline-title h2, .timeline-end span {
    font-size: 20px;
    display: inline-block;
    position: relative;
    background: #2e4558;
    padding: 10px 40px;
    color: #fff;
    font-weight: bold;
    margin: 0;
    letter-spacing: 2px;
    line-height: 1.1;
}

.timeline-title h2::after, .timeline-end span::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 10px;
    height: 100%;
    border-left: 5px solid #fff;
}

.timeline-title h2::before, .timeline-end span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    height: 100%;
    border-right: 5px solid #fff;
}

.timeline-start {
    position: relative;
    padding: 30px 0;
}

.timeline-start::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 100%;
    background: #2e4558;
    display: block;
    z-index: -9999;
}

.timeline-post {
    padding: 30px 0;
    margin: 0;
}

.timeline-half.data {
    text-align: right;
}

.timeline-half.data::before, .reverse>.timeline-half.data::after {
    content: "";
    position: absolute;
    top: 17px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-half.data::before {
    right: 0;
    border-left: 20px solid #2e4558;
}

.reverse>.timeline-half.data::after {
    left: 0;
    border-right: 20px solid #2e4558;
}

.timeline-half.description {
    text-align: left;
    padding: 0 15px 0 0;
}

.reverse>.timeline-half.description {
    text-align: right;
    padding: 0 0 0 15px;
}

.reverse>.timeline-half.data {
    text-align: left;
}

.reverse>.timeline-half.data::before {
    content: none;
}

.timeline-time, .timeline-description {
    display: inline-block;
    padding: 10px 30px;
    font-size: 18px;
    text-align: justify;
}

.timeline-time {
    color: #696969;
    border: 5px solid #2e4558;
    transition: .5s;
}

.timeline-description {
    width: 100%;
    color: #fff;
    font-size: 16px;
    border: 5px solid #2e4558;
    background: #2e4558;
    transition: .5s;
}

.partners {
    display: block;
    text-align: center;
}

.partners a {
    display: inline-block;
    width: 135px;
    margin-bottom: 10px;
    padding: 5px;
}

.partners > a > img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 400px) {
    .timeline-time, .timeline-description {
        padding: 5px;
    }

    .pagination > div {
        width: 100%;
        margin-bottom: 25px;
    }

    .widget-text {
        font-size: 30px;
    }
}

/* Activity */
.category-title.custom {
    margin-top: 20px;
}

.post.activity {
    padding: 15px 15px 20px !important;
    margin-bottom: 20px;
    border: 2px solid #2e4558;
}

.activity .file {
    display: block;
    margin-bottom: 10px;
    transition: .2s;
    border: 1px solid #bdbdbd;
    padding: 10px;
    background: #2e455829;
    color: #333;
}

.activity .icon {
    float: right;
    font-size: 50px;
    line-height: 0;
    padding: 0 10px;
}

.activity .icon a {
    color: #ced2d6;
    transition: .3s;
}

.activity .icon a:hover {
    color: #2e4558;
}

.activity .icon .fa {
    padding-right: 0;
}

.activity .file:hover, .activity .file:focus {
    text-decoration: none;
    background: #2e4558;
    color: #fff;
    border: 1px solid #2e4558;
}

.activity.single {
    border: 0;
}

.activity .go-post {
    float: none;
    display: block;
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

/* Fix menu */
@media (max-width: 900px) {
    body > .container {
        min-width: 100%;
    }

    .activity .icon {
        display: none;
    }
}

.text-right {
    text-align: right;
}

.aligncenter {
    margin: 0 auto;
    display: block !important;
    width: auto !important;
}

.category-desc {
    background: #f7f7f7;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    padding: 10px;
    font-size: 15px;
    color: #2e4558;
}
