/*
 Theme Name:   HHRF.org theme
 Author:       Arteries Studio Kft.
 Author URI:   https://arteries.hu
 Template:     ascend
 Text Domain:  hhrf
*/

#hhrf-search-container {
    background-color: #E6E6E6;
    width: 100%;
    max-width: unset;
    padding: 0;
    display: none;
}

#hhrf-search {
    width: 40%;
    margin: auto;
    min-width: 400px;
}

#hhrf-search input {
    width: 80%;
    border: 1px solid white;
    background: white;
    color: #4D4D4D;
    font-size: 16px;
}

#hhrf-search button {
    border: 1px solid white;
    background-color: #fc0404;
    color: white;
    width: 120px;
    position: absolute;
}

#logo .kad-site-tagline {
    font-style: italic !important;
    width: 170px;
}

.kt-header-layout-below-lg .kad-center-header {
    text-align: left;
}

.kt-header-layout-below-lg .kad-left-header {
    text-align: unset;
}

#hhrf-header-languages {
    list-style: none;
}

#hhrf-header-languages li {
    float: left;
    display: inline-block;
    padding-top: 8px;
}

#hhrf-header-languages li:last-child {
    margin-right: 30px;
}

.arteries-widget-area {
    float: left;
}

#hhrf-header-search-icon {
    cursor: pointer;
    margin-bottom: 5px;
}

.hhrf-header-icons p {
    cursor: pointer;
}

.sf-menu>li>a {
    text-transform: unset;
}

.second-navclass .sf-menu>li>a {
    padding: 20px 25px;
}

.second-navclass .sf-menu>li:after {
    content: unset;
}

.sf-menu ul {
    left: 0;
}

.sf-menu.sf-menu-normal>li>ul:before {
    left: 50%;
}

@media (min-width: 993px) {
    ul.sub-menu {
        min-width: 200px;
    }
}

@media (max-width: 993px) {
    .kad-site-tagline {
        display: none;
    }
    
    #mobile-logo a.brand {
        font-size: 15px !important;
        margin-left: 12px !important;
    }
}

#hhrf-recent-post-container {
    background-color: #E6E6E6;
    padding: 10px 10px;
    max-width: unset;
}

#hhrf-recent-post-container h3 {
    margin: 0;
    padding: 0;
    line-height: 1;
    margin-bottom: 18px;
}

#hhrf-recent-post-read-more {
    background-color: #fc0404;
    color: white;
    padding: 10px;
    margin-top: 35px;
    text-transform: uppercase;
    font-weight: normal;
}

#hhrf-recent-post-container .row, .home_blog, .entry-content .entry-content {
    max-width: 1140px;
    margin: auto;
}

.hhrf-donate-button {
    border-radius: 20px;
    background-color: #F5A623;
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    padding: 8px 30px;
    margin-top: 5px;
}

#containerfooter {
    background-color: #E6E6E6;
}

#containerfooter h3, .footerclass .footer-widget-title span {
    font-size: 21px;
    line-height: 24px;
    color: #444444;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footerclass .footer-widget-title span {
    display: block;
    background-color: unset !important;
}

.footerclass .footer-widget-title:before {
    background: unset;
}

#containerfooter p {
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

#containerfooter .row:last-child {
    border-bottom: none;
}

#containerfooter .hhrf-donate-button {
    margin: 0 0 0 0;
}

#containerfooter .hhrf-letter-icon {
    margin: 40px 0 40px 0;
}

#containerfooter .hhrf-contact-icon {
    margin-right: 10px;
    margin-bottom: 10px;
}

#containerfooter .wpcf7-text, #containerfooter .wpcf7-textarea {
    border: 1px solid #E6E6E6;
    background-color: unset;
    color: #fff;
    font-size: 16px;
    padding: 10px;
}

#containerfooter .wpcf7-textarea {
    height: 186px;
}

#containerfooter .wpcf7-form label {
    margin-top: 10px;
    display: inherit;
    padding-left: 20px;
}

#containerfooter .wpcf7-form .col-md-6, #containerfooter .wpcf7-form .col-sm-12 {
    padding: 0;
}

#containerfooter .wpcf7-submit {
    background-color: #BE1F2E;
    float: right;
}

#containerfooter .footercredits p {
    font-size: 12px;
}

.mc4wp-form input[type=email] {
    border: 1px solid white;
    background: white;
    color: #4D4D4D;
    font-size: 16px;
    width:65%;
}

.mc4wp-form input[type=submit] {
    border: 1px solid white;
    background-color: #fc0404;
    color: white;
    width: 32%;
    position: absolute;
}

.mc4wp-form input[type=text] {
    border: 1px solid white;
    background: white;
    color: #4D4D4D;
    font-size: 16px;
    margin-bottom: 10px;
    width: 100%;
}

.home_blog_readmore a.btn {
    background-color: #BE1F2E;
    color: white;
    padding: 10px;
    text-transform: uppercase;
}

#hhrf-featured-post {
    width: 35%;
    height: 400px;
    float: right;
    padding: 20px;
}

#hhrf-featured-post a {
    color: unset;
}

#hhrf-featured-post #hhrf-featured-post-content {
    max-height: 280px;
    overflow: auto;
}

@media (max-width: 1557px) {
    #hhrf-featured-post #hhrf-featured-post-footertext {
        font-size: 18px;
    }
}

#hhrf-featured-post #hhrf-featured-post-title {
    text-align: center;
    font-size: 23px;
    color: unset;
    line-height: 23px;
    margin-top: unset;
}

#hhrf-featured-post #hhrf-featured-post-footertext {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    color: unset;
}

#hhrf-reconnect-banners {
    margin-top: 20px;
    margin-bottom: 20px;
}

#hhrf-reconnect-banners .hhrf-reconnect-banner a div {
    background-size: cover;
    background-position: center center;
    min-height: 150px;
    text-align: center;
    color: white;
    font-weight: bold;
    text-shadow: 0px 0px 7px black;
}

#hhrf-reconnect-banners .hhrf-reconnect-banner a div p {
    position: absolute;
    bottom: 0;
    margin: 0;
    text-align: center;
    width: 100%;
    padding-right: 30px;
}

#hhrf-operational-areas {
    margin-top: 20px;
    margin-bottom: 20px;
}

#hhrf-operational-areas .hhrf-operational-area a div {
    background-size: cover;
    background-position: center center;
    min-height: 150px;
    text-align: center;
    padding-top: 25%;
    color: white;
    text-shadow: 0px 0px 7px black;
}

#hhrf-operational-areas .hhrf-operational-area a div p {
    border: 1px solid rgba(255,255,255,0.6);
    background-color: rgba(0,0,0,0.6);
    display: inline;
    padding: 10px 20px;
}

@media (max-width: 992px) {
    .sliderclass {
        width: 100%;
    }

    #hhrf-featured-post {
        width: 100%;
        height: auto;
    }

    .container-fullwidth .main.kt-nosidebar {
        overflow: unset;
        display: inline-block;
    }

    .hhrf-reconnect-banner, .hhrf-operational-area {
        margin-bottom: 10px;
    }

    #hhrf-operational-areas .hhrf-operational-area a div {
        position: relative;
    }

    #hhrf-operational-areas .hhrf-operational-area a div p {
        margin: 0;
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%) translateX(-50%);
        transform: translateY(-50%) translateX(-50%);
        left: 50%;
    }

    #hhrf-featured-post #hhrf-featured-post-content {
        max-height: initial;
    }

    .pop-modal-body .custom-html-widget a {
        float: left;
        width: 100%;
        display: inline-block;
    }
}

#pageheader {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.second-navclass ul.sf-menu ul a:hover {
    background-color: #E6E6E6;
}

.footerclass .widget-first {
    margin-bottom: 30px;
}

.wpcf7 input[type="submit"] {
    display: block;
    float: right;
    margin-right: 15px;
    margin-top: 10px;
    background-color: #fc0404;
}

.hhrf-logo-pager-elem img {
    height: 100px;
    margin-right: 10px;
}

#mobile-logo a .ascend-mobile-logo {
    height: 100px;
}

.is-sticky #kad-mobile-banner {
    margin-top: 27px;
}

.red-page-title {
    font-size: 42px;
    line-height: 50px;
    color: #fc0404;
    background-color: #000;
}

.mainpage-latest-news {
    padding-top: 20px;
    padding-bottom: 20px;
}

.mainpage-latest-news:first-child {
    border-bottom: 1px solid black;
}

.kt-header-extras .widget_text {
    float: right;
}

.kt-header-extras .widget_icl_lang_sel_widget {
    float: left;
    margin-right: 15px;
}

.kt-header-extras .sf-menu ul {
    position: initial;
    display: block;
    min-width: auto;
    border: none;
}
