/*
Theme Name: HHB Solutions
Theme URI: https://www.novinvision.com
Author: NovinVision
Author URI: https://www.novinvision.com/
Version: 1.0.0
Description: خرسندیم که وظیفه طراحی و برنامه نویسی وب سایت شما بر پایه وردپرس توسط نوین ویژن انجام شده است. از اعتماد شما سپاسگذاریم و امیدواریم در راه استفاده از این پروژه کسب و کار شما همیشه پر رونق و موفق باشد.
Text Domain: hhb
*/

body {
    position: relative;
}

.search-bar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

header .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

header .menu > li {
    display: inline-block;
}

header .menu > li > a {
    display: block;
    padding: 8px 15px;
    color: #ffffff;
    font-weight: bold;
}

header .menu > li > a:hover {
    background-color: var(--bs-primary);
}

.float-vertical {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 500px;
    z-index: 2;
    writing-mode: vertical-rl;
}

.page-header {
    position: relative;
}

.page-header .page-header-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding-top: 150px;
}

.page-header img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.page-header nav p {
    margin: 0;
}

.page-header nav,
.page-header nav a {
    color: #666666 !important;
}

.carousel-homepage img {
    height: 800px;
    width: 100%;
    object-fit: cover;
}

.carousel-homepage .carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.carousel-homepage .carousel-caption--title,
.carousel-homepage .carousel-caption--subtitle {
    line-height: .9;
}

.carousel-homepage .carousel-indicators {
    left: auto;
    bottom: 40px;
}

.carousel-homepage .carousel-indicators > li {
    font-weight: 200;
    color: #ffffff;
    text-indent: 0;
    border: 0;
    background-color: transparent;
    height: 30px;
    padding: 0;
    width: auto;
    font-size: 1.5rem;
    text-align: center;
    border-bottom: 1px solid transparent;
}

.carousel-homepage .carousel-indicators > li.active {
    border-bottom-color: #ffffff;
}

.section-title {
    position: relative;
    line-height: 1;
}

.section-title .section-line {
    height: 1px;
    width: 10px;
}

.section-title .section-line.section-line-1 {
    width: 15px;
    margin-bottom: 1px;
}

.side-by-side-image {
    position: relative;
}

.side-by-side-image .side-by-side-image--float {
    position: absolute;
    top: -10%;
    right: 0;
}

.side-by-side-image .side-by-side-image--caption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 40px;
    background-color: var(--bs-primary);
    width: 240px;
    color: #fff;
    font-weight: bold;
    line-height: 1.4;
}

.action-card {
    position: relative;
}

.action-card,
.action-card .action-card--icon,
.action-card .action-card--title,
.action-card .action-card--description {
    color: #666666;
    transition: all ease 0.3s;
}

.action-card .action-card--icon {
    color: var(--bs-primary);
    font-size: 3rem;
    line-height: 1;
}

.action-card .action-card--title {
    color: #333333;
}

.action-card .card-body {
    background-color: #ffffff;
    transition: all ease 0.3s;
}

.action-card:hover .card-body {
    background-color: var(--bs-primary);
}

.action-card:hover,
.action-card:hover .action-card--icon,
.action-card:hover .action-card--title,
.action-card:hover .action-card--description {
    color: #ffffff;
}

.caption-action {
    position: relative;
}

.caption-action .caption-action--content {
    margin-top: -50px;
}

@media (min-width: 768px) {
    .caption-action .caption-action--content {
        margin-top: -250px;
    }
}

.action-page {
    display: block;
    position: relative;
}

.action-page .action-page--overly {
    background-image: none;
    background-color: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    opacity: 0;
}

.action-page:hover .action-page--overly {
    visibility: visible;
    opacity: 1;
}

.after-dark {
    position: relative;
}

.after-dark:after {
    content: "";
    display: block;
    height: 150px;
    width: 100%;
    background-color: var(--bs-dark);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
}

@media (max-width: 992px) {
    .our-clients-swiper .swiper-slide {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .last-posts-swiper .swiper-slide {
        width: 280px;
    }
}

.post-item {
    position: relative;
    overflow: hidden;
}

.post-item .post-item--thumbnail {
    position: relative;
}

.post-item .post-item--thumbnail img {
    transition: all ease 0.3s;
}

.post-item:hover .post-item--thumbnail img {
    transform: scale(1.05);
}

.post-item .post-item--date {
    display: flex;
    align-content: center;
    justify-content: center;
    position: absolute;
    left: 25px;
    height: 30px;
    bottom: -15px;
}

.post-item .post-item--title {
    height: 45px;
    overflow: hidden;
}

.about-media-slider {
    position: relative;
}

.about-media-slider > img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 20%;
    width: 300px;
    height: 550px;
    z-index: -1;
}

.about-media-slider .card {
    width: 300px;
}

.elementor-button {
    border-radius: 0;
    background-color: var(--bs-primary);
}

.product-bermuda {
    position: relative;
    overflow-x: hidden;
}

.product-bermuda .product-bermuda--thumbnail {
    background-image: url("img/shape-triangle-left.png");
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 250px auto;
}

.product-bermuda-reverse .product-bermuda--thumbnail {
    background-image: url("img/shape-triangle.png");
    background-position: top right;
}

.product-bermuda .product-bermuda--top-title {
    position: relative;
}

.product-bermuda .product-bermuda--top-title:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 103%;
    width: 280px;
    height: 1px;
    background-color: var(--bs-primary);
}

.product-bermuda-reverse .product-bermuda--top-title:before {
    right: auto;
    left: 103%;
}

.product-item {
    position: relative;
}

.product-item .product-item--thumbnail {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    transition: all ease 0.3s;
}

.product-item:hover .product-item--thumbnail {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-item .product-item--action {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    transform: translateY(100%);
    transition: all ease 0.3s;
}

.product-item:hover .product-item--action {
    transform: translateY(0);
}