/*
Theme Name: Modeling Folio Aagency
Theme URI: https://modelingfolio.com/
Version: 1.0
Description:
Author: Vertanet
Author URI:
template: bb-theme
*/

.menu-item a {
    text-decoration: none !important;
}

.menu-item.current-menu-item a {
    font-weight: 900;
}

.featured-site a, .featured-site-wrap div, .featured-site-wrap {
    height: 100%;
}

.featured-site a > div, .featured-sites a > div {
    background-size: cover;
    display: flex;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(61, 91, 125, 0.15);
    transition: box-shadow .3s ease-in-out;
}
.featured-site a > div {
    min-height: 240px;
}
@media (max-width: 768px) {
    .fl-module.fl-module-video {
        margin-top: 35px;
    }
}
.featured-site div:hover {
    box-shadow: 0px 10px 30px rgba(61, 91, 125, 0.4);
}

.featured-site a, .featured-sites a {
    text-decoration: none;
}

.featured-site p {
    background: #fff;
    padding: 3px 5px;
    border-radius: 6px;
    margin-top: auto;
    margin-left: 10px;
    color: #000;
    font-size: 18px;
}

.featured-site p b {
    color: #3170e1;
    display: block;
    font-weight: 900;
    font-size: 14px;
}

@media (min-width: 768px) {
    .featured-row .fl-module-content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

.fluid-width-video-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(61, 91, 125, 0.15);
}

@media (min-width: 768px) {
    .divider-heading .fl-heading {
        display: flex;
        align-items: flex-end;
        width: 100%;
    }

    .divider-heading .fl-heading-text {
        margin-right: 20px;
    }

    .divider-heading .fl-heading::after {
        content: "";
        flex-grow: 1;
        height: 3px; /* Adjust the line thickness */
        background: linear-gradient(to right, #3170e1, white);
        margin-bottom: 12px;
    }
}

.sidebar-news img {
    border-radius: 12px;
}

.sidebar-news h2.fl-post-feed-title {
    margin-bottom: 2px !important;
}

.sidebar-news .fl-post-feed-post {
    border-bottom: none !important;
}

.latest-post {
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0px 10px 30px rgba(61, 91, 125, 0.15);
    border-radius: 20px;
    overflow: hidden;
    width: 97%;
}

.latest-post-image {
    flex: 1 1 50%;
}

.latest-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-post-content {
    flex: 1 1 50%;
    padding: 30px 5px 5px 20px;
}

.latest-post p.latest-post-meta {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 25px;
    font-size: 14px;
    max-width: 95%;
}

.latest-post p.latest-post-meta span {
    padding: 0 5px;
}

.latest-post p.latest-post-meta {
    text-transform: capitalize;
}

.latest-post-content h2 {
    margin-top: 0;
    font-size: 28px;
}

@media (max-width: 768px) {
    .latest-post-image,
    .latest-post-content {
        flex: 1 1 100%;
        padding-left: 0;
    }

    .latest-post-image {
        margin-bottom: 20px;
    }
}

.featured-sites {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
}

.featured-sites a {
    text-decoration: none;
}

.featured-sites div {
    background-size: cover;
    background-position: center;
    padding: 4px;
    height: 320px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0px 10px 30px rgba(61, 91, 125, 0.15);
}

@media (max-width: 1080px) {
    .featured-sites div {
        height: 450px;
    }
}

.featured-sites div:hover {
    box-shadow: 0px 10px 30px rgba(61, 91, 125, 0.4);
}

.featured-sites p {
    background: #fff;
    padding: 3px 5px;
    border-radius: 6px;
    margin-top: auto;
    margin-left: 10px;
    color: #000;
    font-size: 18px;
}

.featured-sites p b {
    color: #3170e1;
    display: block;
    font-weight: 900;
    font-size: 14px;
}

@media (min-width: 400px) {
    .featured-sites {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .featured-sites {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1080px) {
    .featured-sites {
        grid-template-columns: repeat(4, 1fr);
    }
}

.news-page .fl-post-grid-post {
    box-shadow: 0px 10px 30px rgba(61, 91, 125, 0.15);
    border-radius: 20px;
    overflow: hidden;
}
.news-page span.fl-post-grid-author {
    font-weight: bold;
    text-transform: capitalize;
}
.single .fl-post-info-author {
    font-weight: bold;
    text-transform: capitalize;
}
.contact-box {
    padding: 0 15px;
}
.contact-box .fl-col-content {
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(61, 91, 125, 0.15);
    overflow: hidden;
}
@media (max-width: 768px) {
    .contact-box {
        padding: 15px;
    }
}

.nf-form-fields-required, .nf-field-label {
    display:none!important;
}
.field-wrap.checkbox-wrap .nf-field-label {
    display:inherit!important;
}
.field-wrap.checkbox-wrap .nf-field-label label {
    font-weight: unset;
    font-size: 14px;
}
.nf-form-content textarea.ninja-forms-field {
    height: 100px!important;
}

.nf-field-element input, .nf-field-element textarea {
    border-radius: 12px !important;
    background: #fff !important;
    color: #000 !important;
}
.nf-error.field-wrap .nf-field-element:after {
    border-radius: 0 12px 12px 0;
}
.nf-field-element input::placeholder, .nf-field-element textarea::placeholder {
    color: #1e1e1e !important;
}
.nf-form-content input[type=submit] {
    cursor: pointer;
    background: #3172e6 !important;
    color: #fff !important;
    padding: 2px 12px !important;
    height: 38px;
}
.nf-form-content input[type=submit]:hover {
    background: #2a63cc !important;
}