/* Article Search Header */

.article-header {
    background: url(../images/article-search-banner.jpg) no-repeat center;
    height: 154px;
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.article-header .col-9 {
    display: flex;
    align-items: center;
}

.article-header .a-title h1 {color: #fff;}

.article-search-form {
    background: #fff;
    padding: 0 5px;
    height: 40px;
    display: flex;
    align-items: center;
    width: 100%;
}

.article-search-form input[type=text] {
    border: 0;
    background: none;
    flex: auto;
    width: 0;
    text-indent: 10px;
    font-size: 18px;
    color: #6f6f70;
    font-family: inherit;
    padding: 0;
    margin: 0
}

.article-search-form input[type=submit] {
    margin: 0;
    padding: 0;
    width: 40px;
    flex-grow: 0;
    flex-shrink: 0;
    border: 0;
    outline: 0;
    background: url(../images/search.png) no-repeat center;
    cursor: pointer;
}


/* Article Search */

.article-search-results {
    display: flex;
    flex-wrap: wrap;
}

.a-title {
    font-family: "Baloo Paaji 2 Bold";
    font-size: 24px;
}

body[data-page="article"] .a-title a:last-child {
    border: 0;
}

.articles-pager {
    display: flex;
    width: 100%;
    margin: 20px 0;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #e1e1e1;
}

.articles-pager>a {
    color: #4a4f55;
    font-size: 20px;
    line-height: 60px;
    margin: 0 5px;
    text-transform: uppercase;
}

.articles-pager>a:last-child {
    margin-right: 0;
}

.articles-pager>a.active {
    color: #EC411B;
    text-decoration: underline;
}

.articles-pager>a.pager-next {
    font-weight: bold;
}


/* Article Block */

.article {
    display: flex;
    flex-direction: column;
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0 10px 20px;
}

.article:hover .article-title a {
    color: #EC411B;
    transition: ease all .3s;
}

.article .article-image {
    height: 160px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #ededed;
}

.article .article-title {
    height: 75px;
    line-height: 25px;
    display: flex;
    align-items: flex-start;
    width: 100%;
    overflow: hidden;
}

.article .article-date {
    font-size: 15px;
    font-weight: bold;
    line-height: 28px;
}

.article .article-title a {
    color: #414B55;
    font-size: 20px;
    text-decoration: none;
    font-family: "Baloo Paaji 2 Bold";
    transition: ease all .3s;
}

.article .article-snippet {
    height: 42px;
    font-size: 12px;
    line-height: 20px;
    overflow: hidden;
}

.article .article-info {
    padding: 5px 0;
}

.article .article-read-now {
    font-family: "Baloo Paaji 2 Bold";
    color: #EC411B;
    text-decoration: underline;
}


/* Article Details */

.article-details-page .article-header {
    font-size: 16px;
}

.article-fields .article-image {
    min-height: 30px;
}

.article-fields .article-image img {
    max-width: 100%;
}

.article-fields .article-title {
    font-size: 36px;
    line-height: 40px;
    padding: 0 0 20px;
    font-family: "Baloo Paaji 2 Semi Bold";
    color: #3c3d3d;
}

.article-fields .article-meta {
    display: none;
}

.article-fields .article-description {
    margin: 20px 0;
}

.article-details .article-related-articles>div:first-child {
    margin: 0 0 20px;
    border-bottom: 1px solid #ebebeb;
    color: #EC411B;
    font-size: 24px;
    font-family: "Baloo Paaji 2 Semi Bold";
    line-height: 60px;
}


/* Article Sidebar */

.article-sidebar {}

.article-sidebar>div {
    border: 1px solid #EBEBEB;
    margin-bottom: 20px;
}

.article-sidebar>div header {
    font-size: 16px;
    line-height: 50px;
    font-family: "Baloo Paaji 2 Semi Bold";
    color: #3a3a3c;
    padding: 0 10px;
    background: #f8f6f6;
    border-bottom: 1px solid #EBEBEB;
}

.article-sidebar>div ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-sidebar>div ul li {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 24px;
    flex-wrap: wrap;
}

.article-sidebar>div>ul>li>ul {
    width: 100%;
    margin: 0 0 0 25px;
    padding: 0;
    list-style: none;
}

.article-sidebar>div>ul>li>ul>li {
    border-top: 0;
    padding: 12px 0;
}

.article-sidebar>div>ul>li>ul>li>a {
    font-size: 14px;
    display: flex;
    align-items: flex-start;
}

.article-sidebar>div ul li a {
    font-size: 16px;
    color: #3a3a3c;
}

.article-sidebar>div ul.sidebar-article-list>li>a {
    font-size: 16px;
    display: inline-flex;
}

.article-sidebar>div ul.sidebar-article-list>li>a>span {
    color: #0f2944;
}

.article-sidebar>div ul li>a:hover {
    text-decoration: none;
}

.article-sidebar .search-input {
    padding: 0;
}

.sidebar-category-list>li>a {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
}

.sidebar-category-list>li>a:before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background: #EC411B;
    margin: 10px;
    flex-shrink: 0;
    flex-grow: 0;
}

.article-sidebar>div>a {
    text-align: left;
    background: #e4e2e2;
    font-size: 14px;
    display: block;
    line-height: 40px;
    padding: 0 10px;
}

.sidebar-category-list>li>a:hover,
.sidebar-article-list>li>a:hover {
    color: #EC411B;
}

.article-sidebar .view-all a {
    position: relative;
    background: #f8f6f6;
    color: #3a3a3c;
    font-size: 16px;
    font-family: "Baloo Paaji 2 Semi Bold";
}

.article-sidebar .view-all a:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #676769;
    clip-path: polygon(0 0, 0 100%, 78% 48%);
    -webkit-clip-path: polygon(0 0, 0 100%, 78% 48%);
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 15px;
}

.sidebar-article-list>li>a:before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background: #EC411B;
    margin: 10px;
    flex-shrink: 0;
    flex-grow: 0;
}


/* Article List */

.article-list-module {
    position: relative;
    height: 510px;
    padding-top: 20px;
    margin-top: 20px !important;
    background: #F3F3F2;
    box-sizing: border-box;
}

.article-list-module>div {
    position: relative;
}

.article-list-module>span {
    color: #414B55;
    font-size: 36px;
    font-family: "Baloo Paaji 2 Semi Bold";
    display: block;
    padding: 20px 0 40px;
    text-align: center;
}

.article-list-module .article-slider {
    display: flex;
    align-items: flex-start;
}

.articles-gal-prev,
.articles-gal-next {
    width: 20px;
    height: 20px;
    border: 5px solid #EC411B;
    border-width: 5px 5px 0 0;
    transform: rotate(45deg);
    display: block;
    position: absolute;
    top: calc(50% - 40px);
    right: -20px
}

.articles-gal-prev {
    transform: rotate(-135deg);
    right: initial;
    left: -20px;
}

.article-list-module .article {
    margin: 0 10px !important;
}


/* Desktop */

@media (min-width: 1200px) {
    .article {
        width: 257px;
    }
}

@media (min-width: 960px) and (max-width: 1199px) {
    .article {
        width: 212px;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    .article {
        width: 210px;
    }
}

@media (max-width: 767px) {
    body[data-page="article"] .a-title {
        font-size: 16px
    }
    .article-search-results {
        justify-content: center;
    }
    .article {
        width: 270px;
    }
    .article-details .article-related-articles>div:first-child {
        border-bottom: 0;
        border-top: 1px solid #ebebeb;
        text-align: center;
        margin: 0;
    }
    .articles-gal-next {
        left: initial;
        right: 5px;
    }
    .articles-gal-prev {
        right: initial;
        left: 5px;
    }
    .article-header {
        height: 100px;
    }
    .article-header .row {
        position: relative;
    }
    .article-toggle-search {
        display: block;
        height: 30px;
        width: 40px;
        background: url(../images/search-white.png) no-repeat center;
        float: right;
    }
    .search-form-container {
        display: none;
        position: absolute;
        right: 0;
        z-index: 10;
    }
    .close-search {
        width: 30px;
        height: 30px;
        background: url(../images/close-search.png) no-repeat center center;
    }
}