/*
Theme Name: Neori Child
Theme URI: http://litmotion.net/demo/neori
Description: Neori Child Theme
Author: Rudolf Pasztor
Author URI: http://rudolfpasztor.com/
Tags: news
Template: neori
Version: 3.1.89
License: Themeforest License
License URI: http://themeforest.net/licenses
Text Domain: neorichild
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500;1,700&display=swap');

.card-img-overlay p a {
    color:white;
}

.search-icon{
    background: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: 0;
    background: url(./img/search-icon.svg) no-repeat 0px center;
    width: 19px;
    height: 21px;
    color: #B8B8B8;
    transition: .2s;
}
.search-icon:hover,
.search-icon:focus{
    color: #031154 !important;
}
.belowheader .search-description{ display: none; }
#navbarsearchform {
    display: flex;
    position: fixed;
    z-index: 9999;
    background-color: white;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}
#navbarsearchform.hide {
    display: none;
}
#navbarsearchform i.fa-times {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
#navbarsearchform button {
    position: absolute;
    right: 0;bottom: 100%;
}
#navbarsearchform .inner {
    width: 100%;
    max-width: 450px;
    display: grid;
    grid-gap: 1rem;
    position: relative;
}



#navbarsearchform input {
    width: 100%;
    max-width: 450px;
    border-bottom: 2px solid #dedede;
    color: #333;
    padding: 1rem;
}
#navbarsearchform input:focus {
    border-bottom: 2px solid #dedede !important;
}

.carousel-caption h3, .page .carousel-caption h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: 46px !important;
    line-height: 43px !important;
}

.slice.type1 .card .card-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 30px !important;
    line-height: 35px !important;
}

.slice.no-margin, .carousel.no-margin, .no-margin {
    margin: 0 !important;
}

body.home .carousel, .page .carousel {
    margin-bottom: 25px !important;
}

body header {
    margin-top: 30px !important;
}

.logo-right .social-icons a:hover, .logo-right .social-icons a:focus {
    color: #031154 !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body h3.card-title,
body .single-title-zone h1 {
    font-family: 'Playfair Display', serif !important;
}

body.home h3.card-title a {
    color: #000;
    font-weight: bold !important;
}

body.home article.page,
body.home .slice.type4 {
    margin-bottom: 0 !important;
}

body.home .carousel, .page .carousel {
    margin-bottom: 20px !important;
}

body.home aside article {
    border-bottom: 1px solid #d8d8d8;
}

body.home aside article:last-child {
    border-bottom: none;
}

body.home .slice.type7 .blog-post,
body.home .page .entry-content .slice.type7 .hentry{
    margin-bottom: 30px !important;
}

header.ad .header-lower {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.logo-right .advertisement {
    margin: 0 20px;
}

.single-top-area .author-info p {
    /*display: none !important;*/
}

.single-top-area .useravatar {
    width: 27px !important;
    height: 27px !important;
}

.single-top-area .author {
    margin-top: 15px !important;
}

article.short-news a {
    margin: 0 !important;
}

article.short-news {
    padding-bottom: 15px;
    margin-bottom: 15px;
}

article.short-news p.card-meta {
    font-size: 14px;
    line-height: 1;
    color: #dedede;
    margin-bottom: 0;
}

.social-icons.row a:nth-child(3),
.social-icons.row a:nth-child(4) {
    display: none !important;
}

.archive-description {
    border: none !important;
}
.allcomments {
    display: none !important;
}

.sn-description h3 {
    margin-bottom: 30px;
    font-size: 30px;
    color: white;
}

#short_news .inner {
    background-color: #031154;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    height: calc(100% - 20px);

}

#short_news .inner article h3.card-title a {
    color: white;
}

.main-navigation li a,
.archive-description h1,
.blog-post h2 a
{
    color: #031154 !important;
}

.logo-right {
    float: right !important;
}

@media all and (min-width: 992px) {
    .slice.type4 .card.card-tall .card-img {
        height: 600px;
    }
}

@media all and (min-width: 992px) and (max-width: 1200px) {
    .slice.type4 .card.card-tall {
        flex-basis: 50% !important;
    }
}
/*
body .blog-post .author, body .single-top-area .author,
.slice.type4 .card .card-meta img,
.slice.type4 .card .card-meta .author {
     display: none !important;
    opacity: 0;
    visibility: hidden;
 }
*/
.events-container {
    justify-content: space-between;
}

#agendas.events,
#events.events {
    max-width: calc(50% - 15px);
}

.events {
    width: 100%;
    border-radius: 10px;
    padding: 10px 30px;
    margin-bottom: 30px;
}

#agendas {
    background-color: #311ab7;
}

#events.events .item .extended {
    color: #311ab7;
}

#agendas.events .item .date .year {
    width: 100%;
}

#events {
    background-color: #fbe6d4;
}

#events.events header h3 {
    color: #311ab7;
}

#events.events header h3 .icon {
    background-image: url('static/images/Events_icon.svg?v=1');
}

#agendas.events header h3 .icon {
    background-image: url('static/images/Eu_csillagok.svg');
}

.events header h3 .icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-size: contain;
    margin-right: 15px;
    margin-bottom: -4px;
    background-repeat: no-repeat;
}

.events .item {
    display: flex !important;
    flex-direction: row-reverse;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1e2d75;
    position: relative;
}

.events .item .content {
    margin: 0 !important;
    width: calc(100% - 100px);
}

.events header {
    margin-top: 0 !important;
    padding: 0 !important;
    display: flex;
    margin-bottom: 20px;
}

.events header .actions {
    display: flex;
    flex-grow: 1;
    padding: 15px;
    display: none;
}

.events header .actions input {
    border: 2px solid white;
    color: white;
    background-color: transparent;
}

.events header h3 {
    color: white;
    padding: 0 !important;
    font-size: 40px;
}

.events .item h3,
.events .item h3 a {
    color: white
}
/**/
#events.events .item h3,
#events.events .item h3 a,
#events.events .item .desc,
#events.events .item .date {
    color: #311ab7;
}

#events.events .item .date {
    border-color: #311ab7;
}

#events.events .item {
    border-bottom: 1px solid #bdb6b0;
}

.events .item h3 {
    font-size: 1.35rem;
    font-weight: 700;

}

.events .item .desc {
    color: white;
}

.events .item .date {
    width: 80px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
    color: white;
    border: 2px solid white;
    padding: 5px 0;
}
#agendas.events .item a,
#agendas.events .item .more {
    color: white;
    display: inline-block;
    width: 100%;
    padding: 5px 0;
}

#events.events .item a,
#events.events .item .more {
    color: #311ab7;
    display: inline-block;
    width: 100%;
    padding: 5px 0;
    cursor: pointer;
}

#agendas.events .item .extended {
    color: white;
}

.events .item.opened .extended {
    height: auto;
}

.events .item:not(.opened) .extended {
    overflow: hidden;
    height: 0px;
    transition: all, .3s;
}

#agendas.events .item .date .year {
    width: 100%;
}

.events .slick-arrow {
    top: -70px;
    background-color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 30px;
    position: absolute;
    transition: all, .3s;
}

.events .slick-arrow:not(.slick-disabled) {
    cursor: pointer;
}

.events .slick-arrow.slick-disabled {
    opacity: .5;
}

.events .slick-prev {
    right: 60px;
}

.events .slick-next {
    right: 10px;
}

.events .item .actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

@media all and (max-width: 980px) {

    #agendas.events, #events.events {
        max-width: 100% !important;
    }
    .events header h3 {
        font-size: 30px !important;
    }
}

@media all and (max-width: 650px) {
    .home .carousel-caption h3, .page .carousel-caption h3 {
        font-size: 25px !important;
        line-height: 1.3 !important;
    }
}

#footer_signup {
    margin-top: 40px;
    background-color: #fbe6d4;
    padding: 30px 0;
    margin-bottom: 30px;
}

.signup input {
    height: 45px;
    line-height: 45px;
    padding: 0 10px;
    outline: none;
}

.signup input[type=text],
.signup input[type=email] {
    border: 1px solid #311ab7;
    background-color: transparent;
    color: #311ab7;
}

.signup input:focus {
    outline: none;
}

.signup h4 {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
    color: #311ab7;
}

#footer_signup .mc4wp-form-fields {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
}
.signup label {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    color: #311ab7;
    font-size: 14px;
    position: relative;
}

.signup label span {
    position: absolute;
    top: -5px;
    left: 16px;
    display: inline-block;
    line-height: 1.02;
    background-color: #fbe6d4;
    transition: all, .3s;
    padding: 3px 11px 3px 5px;
}


.signup input[type=submit] {
    margin-bottom: 14px;
    cursor: pointer;
    background-color: #311ab7;
    color: white;
    border-radius: 0;
    border: 1px solid #311ab7;
    font-weight: bold;
    text-align: center;
    min-width: 150px;
    margin-left: 5px;
}

.signup .mc4wp-response {
    display: flex;
    margin: 10px 0 20px 0;
    justify-content: center;
}

.signup .mc4wp-response .mc4wp-alert {
    display: inline-block;

}

.signup .mc4wp-response .mc4wp-alert.mc4wp-notice p {
    color: white;
    background-color: #311ab7;
    line-height: 1.5;
    padding: 2px 5px;
}

#subscribe_layer.hidden {
    display: none;
}

#subscribe_layer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .78);
    z-index: 9999;
}

#subscribe_layer .container {
    max-width: 650px;
    background-color: white;
    position: relative;
    border-radius: 10px;
}

#subscribe_layer .mc4wp-form-fields label {
    margin-bottom: 20px;
}

#subscribe_layer .mc4wp-form-fields label span {
    background-color: white;
}

#subscribe_layer .fa-close {
    position: absolute;
    top: -40px;
    right: -30px;
    color: white;
    cursor: pointer;
    font-size: 35px;
}

#subscribe_layer img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

#subscribe_layer .mc4wp-form-fields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
}

#subscribe_layer .mc4wp-form-fields label.fname,
#subscribe_layer .mc4wp-form-fields label.lname {
    width: 50%;
}

#subscribe_layer .mc4wp-form-fields label.email,
#subscribe_layer .mc4wp-form-fields .accept-terms  {
    width: 100%;
}

#subscribe_layer .mc4wp-form-fields .accept-terms input {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#subscribe_layer .mc4wp-form-fields .accept-terms label {
    display: flex;
    flex-direction: row;
}

.signup .mc4wp-form-submitted.mc4wp-form-success {
    display: none;
}

.signup .mc4wp-alert.mc4wp-success p {
    color: white;
    background-color: #1ab76d;
    line-height: 1.5;
    padding: 5px 10px;
}

.mc4wp-form-fields .accept-terms label a,
.mc4wp-form-fields .accept-terms label a:visited {
    color: #311ab7;
}


#footer_signup .mc4wp-form-fields {
    position: relative;
}

#footer_signup .mc4wp-form-fields .accept-terms {
    width: 100%;
}
#footer_signup .mc4wp-form-fields .accept-terms label {
    display: flex;
    flex-direction: row;
}

#footer_signup .mc4wp-form-fields .accept-terms input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

#footer_signup .mc4wp-form-fields .accept-terms label {
    justify-content: center;
}

.mc4wp-form-submitted.mc4wp-form-success + .cet-newsletter-success {
    display: flex;
}

.cet-newsletter-success.big h5 {
    font-size: 35px;
}
.cet-newsletter-success.big {
    display: flex !important;
}

.cet-newsletter-success {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 30px 50px 30px;
}

.cet-newsletter-success h5 {
    color: #311ab7;
    text-align: center;
    display: inline-block;
    width: 100%;
    margin: 20px auto;
}

#signup_page h4 {
    display: none;
}


#signup_page label span {
    background-color: white;
}

#signup_page .mc4wp-form-fields .accept-terms input {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#signup_page .mc4wp-form-fields .accept-terms label {
    display: flex;
    flex-direction: row;
}

@media all and (min-width: 991px) {

    #footer_signup .mc4wp-form-fields .accept-terms {
        width: 100%;
        position: absolute;
        top: 130px;
    }
}

@media all and (max-width: 900px) {
    #subscribe_layer .fa-close {
        top: 0px !important;
        right: 0px !important;
        background-color: #311ab7;
        padding: 10px;
        border-radius: 9px;
        font-size: 25px;
    }
    #subscribe_layer .mc4wp-form-fields label.fname,
    #subscribe_layer .mc4wp-form-fields label.lname {
        width: 100% !important;
    }
    .signup label {
        width: 100% !important;
        margin-bottom: 20px;
    }
}

.offcanvas-menu-button {
    margin-right: 20px !important;
}

.offcanvas-close {
    text-align: right !important;
}

.entry-content .author, .ss-social-icons-container {
    font-weight: bold;
    max-width: 730px;
    margin: 0 auto 20px auto;
}

.entry-content .author-info a {
    color: black;
    text-decoration: none;
}

.single-top-area .tags {
    float: left;
}

.ss-inline-share-wrapper {
    max-width: 730px;
    margin: 0 auto 20px auto;
}

.single-top-area .tags a {
    display: inline-block;
    margin: 0 13px 15px 0;
    padding: 7px 17px;
    color: #6d6d6d;
    font-family: 'Heebo', 'Arial';
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    transition: 0.3s;
    background: #efeeee;
    border-radius: 4px;
}

.ss-social-icons-container li a {
    box-shadow: none !important;
}

.single-title-zone .date a {
    color: white;
}

.action-links {
    display: flex;
    margin-bottom: 30px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.action-links a,
.action-links a:visited {
    padding: 10px 20px;
    display: inline-block;
    background-color: #eaeaea;
    color: #333 !important;
    font-weight: bold;
    border-radius: 5px;
    transition: all, .3s;
}

.action-links a:hover {
    color: white !important;
    background-color: #311ab7 !important;
}
