/*
Theme Name: FWYT
Author URI: https://www.codechameleon.com/
Description: Theme developed for FWYT
Version: 1.0
Text Domain: fwyt
*/

.wp-content {
    width: 100%;
    margin: 0 auto !important;
}

.wp-content img {
    height: auto;
}

.wp-content h1,
.wp-content h2,
.wp-content h3,
.wp-content h4,
.wp-content h5,
.wp-content h6 {
    margin: 1rem 0;
    display: block;
    clear: both;
}

.wp-content img.alignnone {
    clear: both;
    display: block;
    margin-bottom: 2rem;
}

.wp-content p {
    margin: 1rem 0;
}

.wp-content a {
    color: #70468e !important;
    text-decoration: underline;
}

.wp-content a:hover {
    color: #2e1d3b !important;
}

.wp-content div.column {
    overflow: hidden;
}

.wp-content figure.alignleft {
    margin: 2rem 2rem 2rem 0;
}

.wp-content figure.alignright {
    margin: 2rem 0 2rem 2rem;
}

.wp-content figure.alignnone {
    margin: 2rem 0;
}

.wp-content figure.aligncenter img,
.wp-content figure.aligncenter,
.wp-content img.aligncenter {
    display: block;
    margin: 0 auto;
    padding: 2rem 0;
}

.wp-content figure.aligncenter figcaption {
    text-align: center;
}

@media (min-width: 52rem) {

    .wp-content figure.alignleft,
    .wp-content img.alignleft {
        padding-bottom: 2rem;
        padding-right: 2rem;
        float: left;
        max-width: 50%;
    }

    .wp-content figure.alignright,
    .wp-content img.alignright {
        padding-bottom: 2rem;
        padding-left: 2rem;
        float: right;
        max-width: 50%;
    }

    .wp-content figure.alignnone,
    .wp-content img.aligncenter,
    .wp-content figure.alignright img,
    .wp-content figure.alignleft img,
    .wp-content figure.alignnone img {
        padding-bottom: 2rem;
    }
}

@media (max-width: 52rem) {

    .wp-content figure.alignleft,
    .wp-content img.alignleft {
        max-width: 40%;
        padding-bottom: 2rem;
        padding-right: 2rem;
        float: left;
    }

    .wp-content figure.alignright,
    .wp-content img.alignright {
        max-width: 40%;
        padding-bottom: 2rem;
        padding-left: 2rem;
        float: right;
    }

    .wp-content figure.alignnone,
    .wp-content img.aligncenter,
    .wp-content figure.alignright img,
    .wp-content figure.alignleft img,
    .wp-content figure.alignnone img {
        padding-bottom: 2rem;
    }
}

@media (max-width: 40rem) {

    .wp-content figure.alignleft,
    .wp-content img.alignleft {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0;
    }

    .wp-content figure.alignright,
    .wp-content img.alignright {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
        padding: 0;
    }

    .wp-content figure.aligncenter,
    .wp-content img.aligncenter {
        display: block;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .wp-content figure,
    .wp-content img {
        display: block;
        max-width: 100%;
    }
}

.copyright-text {
    color: #D1D1D1;
}

.icon-img-header {
    width: 14px;
    height: 14px;
}

.grid-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    /* Aligns items to the top */
}

.section-less-padding {
    padding: 25px 0 !important;
}

.product_attr_disabled {
    display: none !important;
}

.rfq-history h2 {
    display: none;
}

.gform_wrapper .button {
    background-color: #70468e;
}

.gform_wrapper .button:hover {
    background-color: #2e1d3b;
    color: #fff;
}

.bg-brand-orange {
    background-color: #70468e !important;
}

.orange-link {
    color: #70468e;
}

.orange-link:hover {
    color: #2e1d3b;
}

.icon-img-header {
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 767px) {

    div.dataTables_wrapper div.dataTables_length,
    div.dataTables_wrapper div.dataTables_filter,
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate {
        text-align: left !important;
    }

    #datatable_filter label {
        width: 80vw;
    }

    #datatable_filter input {
        width: 100%;
    }
}

@media screen and (min-width: 767px) {
    #datatable_filter label {
        width: 360px;
    }

    #datatable_filter input {
        width: 300px;
    }
}

.img-fluid {
    width: 100%;
    height: auto
}

.custom-style-categories a {
    font-size: 11px !important;
    color: #aaa !important;
}

.img-landscape-mode img,
img.img-landscape-mode {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.img-portrait-mode img,
img.img-portrait-mode {
    aspect-ratio: 2/3;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.post-meta-category a:hover {
    color: white !important;
}

.img-square-mode {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.post-thumbnail-list .post-thumbnail-entry {
    width: 100%;
}

.post-meta-date {
    font-size: 16px !important;
    color: #3c4043 !important;
}

.item-link {
    font-size: 14px !important;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* ако искаш да е центрирано и вертикално */
}

.widget-social {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.widget-social .nav.social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    margin-top: -0.5rem;
}

.widget-social .nav.social a i {
    font-size: 1.25rem;
    color: white;
    transition: color 0.3s ease;
}

.two-column-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    padding-left: 0;
}

.gradient-8 {
    background: linear-gradient(135deg, #dfb49a, #262b32);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
}


.blog.classic-view {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog.classic-view .post {
    flex: 1 1 320px;
    max-width: 320px;
}

.card-img-top img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.profile-card {
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
    background-color: #fff;
}

.user-position p,
.user-personal-info p {
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.user-position i,
.user-personal-info i,
.user-weblinks i {
    margin-right: 0.3rem;
    vertical-align: middle;
}

.text-white {
  color: #fff !important;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

.text-dark.product-title {
    font-size: 85%;
}

.custom-shadow {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.padded {
    padding: 30px;
    background: white;
    box-sizing: border-box;
}
.grid-layout-archive {
  width: 100%;
}

.grid-item-archive {
  width: 100% !important;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.archive-swiper {
    cursor: grab !important;
}

.testimonials-swiper .item-inner.testimonials,
.testimonials-swiper .card.testimonials {
  display: flex;
  flex-direction: column;
}

.filter-item {
    transition: color 0.3s;
    color: #aaa;
}

.filter-item.active {
    color: #f78b77;
    background-color: transparent;
}

.logos-container figure {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logos-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.gform_wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea {
    padding: 1rem;
    font-size: 16px;
    border-radius: 0.375rem;
    border: 1px solid #ccc;
    background-color: #fff;
    width: 100%;
    box-shadow: none;
}

.gform_wrapper .gfield_label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gform_wrapper .gfield {
    margin-bottom: 1.5rem;
}

.gform_wrapper textarea {
    min-height: 150px;
    resize: vertical;
}

.gform_wrapper .gform_footer input[type="submit"] {
    background-color: #f7941d;
    color: black;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gform_wrapper .gform_footer input[type="submit"]:hover {
    background-color: black;
    color:white;
}

.gform_wrapper .ginput_container_name .gform-grid-col {
    display: inline-block;
    width: 48%;
    margin-right: 4%;
}

.gform_wrapper .ginput_container_name .gform-grid-col:last-child {
    margin-right: 0;
}

.gform_wrapper .gform_heading .gform_title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 3rem;
    padding-top: 2rem;
}


.gform_heading {
    border-bottom: 1px solid lightgray;
    padding-bottom: 0.1rem;
    margin-bottom: 40px;
}

/* Override navy color */
:root {
    --bs-dark: #2c3545 !important;
    --bs-dark-rgb: 44, 53, 69 !important;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgb(var(--bs-dark-rgb));
}

/* Adjust a bit team members card size */
.team-cards-row {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Set Accordion index */
.accordion-wrapper {
    position: relative;
    z-index: 1;
}

/* Hero slider fixes */
/*.slider-img {
    position: relative;
}*/

.slider-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.gradient-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
}

.slider-content-wrap {
    position: relative !important;
    z-index: 3 !important;
}

/* Ensure swiper slide takes adaptive height */
.main-slider .swiper-slide {
    height: auto !important;
    min-height: 500px;
}

.main-slider {
    height: auto !important;
}

@media (max-width: 992px) {
    .main-slider .swiper-slide {
        min-height: 400px;
    }
}
