/* ------------------------------------------------
  Project:   Saad - Creative Portfolio HTML5 Template
  Author:    sThemeIT
------------------------------------------------ */

/* ------------------------
    Table of Contents

  1. General
  2. Transition
  3. Pre Loader
  4. Scroll to Top
  5. Header
  6. Footer
  7. Page Title


/* ------------------------
    General
------------------------*/
a,
a:focus {
    text-decoration: none !important;
}
a,
a:visited {
    text-decoration: none;
    color: var(--sThemeIT-body-color);
}
a:focus,
a:hover {
    color: var(--sThemeIT-primary-color);
    text-decoration: none !important;
}
a,
button,
input {
    outline: medium none !important;
}
*::-moz-selection {
    background: var(--sThemeIT-primary-color);
    color: var(--sThemeIT-text-color);
    text-shadow: none;
}
::-moz-selection {
    background: var(--sThemeIT-primary-color);
    color: var(--sThemeIT-text-color);
    text-shadow: none;
}
::selection {
    background: var(--sThemeIT-primary-color);
    color: var(--sThemeIT-text-color);
    text-shadow: none;
}

/* ------------------------
    Transition
------------------------*/
a,
.btn,
button,
img,
span,
input,
.dropdown-item,
.nav-item.dropdown .dropdown-menu a:before,
.social-icons li:hover a,
.rounded-button i,
.team-member,
.swiper-button-next,
.swiper-button-prev {
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -ms-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}

/* ------------------------
    Pre Loader
------------------------*/
#ht-preloader {
    background: var(--sThemeIT-bg-dark-color);
    bottom: 0;
    height: 100%;
    left: 0;
    overflow: hidden !important;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader span {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, transparent 30%, var(--sThemeIT-primary-color));
    animation: loader 2s linear infinite;
    display: inline-block;
}
.loader span:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    bottom: 6px;
    right: 6px;
    background: var(--sThemeIT-bg-dark-color);
    border-radius: 50%;
    z-index: 1000;
}
.loader span:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(45deg, transparent, transparent 30%, var(--sThemeIT-primary-color));
    border-radius: 50%;
    z-index: 1000;
    z-index: 1;
    filter: blur(30px);
}

/* ------------------------
    Scroll to Top
------------------------*/
.scroll-top {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 60px;
    width: 60px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    background: var(--sThemeIT-white-color);
}
.scroll-top.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top::after {
    position: absolute;
    font-family: "bootstrap-icons";
    content: "\F145";
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    color: var(--sThemeIT-text-color);
    left: 0;
    top: 0;
    height: 60px;
    width: 60px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.scroll-top:hover::after {
    opacity: 0;
}
.scroll-top::before {
    position: absolute;
    font-family: "bootstrap-icons";
    content: "\F145";
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    opacity: 0;
    background-image: linear-gradient(298deg, var(--sThemeIT-text-color), var(--sThemeIT-text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    left: 0;
    top: 0;
    height: 60px;
    width: 60px;
    cursor: pointer;
    display: block;
    z-index: 2;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.scroll-top:hover::before {
    opacity: 1;
}
.scroll-top svg path {
    fill: none;
}
.scroll-top svg.scroll-circle path {
    stroke: var(--sThemeIT-text-color);
    stroke-width: 2;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

/* ------------------------
  Header
------------------------*/
.header {
    position: relative;
    z-index: 9999;
    width: 100%;
    left: 0;
    padding: 30px 0;
}

/*--navigation--*/
.navbar-brand.logo {
    padding: 0;
    margin-right: 0;
}
.logo img {
    max-height: var(--logo-desktop-height);
}
.main-menu::-webkit-scrollbar {
    width: 5px;
}
.main-menu::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
}
.main-menu::-webkit-scrollbar-thumb {
    background-color: var(--sThemeIT-primary-color);
}
.main-menu {
    display: inline-block;
    padding: 0;
    max-height: 550px;
    overflow-y: auto;
}

.main-menu .nav-item {
    margin: 15px 0;
    list-style-type: none;
}
.main-menu .nav-link {
    padding: 0 20px 10px !important;
    color: var(--sThemeIT-white-color);
    font-size: 100px;
    font-weight: 700;
    line-height: 100px;
    border-radius: 0;
    position: relative;
    display: inline-block;
    box-shadow: inset 0 0 0 0 var(--sThemeIT-primary-color);
    transition: color 1s ease-in-out, box-shadow 1s ease-in-out;
    text-transform: uppercase;
    font-family: var(--sThemeIT-typography-secondary-font-family);
}
.main-menu .nav-link:hover,
.main-menu .nav-link.active {
    box-shadow: inset 0 -200px 0 0 var(--sThemeIT-primary-color);
    color: var(--sThemeIT-text-color);
}
.main-menu .nav-item.dropdown .dropdown-menu .nav-item {
    margin: 10px 0;
}
.main-menu .nav-item.dropdown .dropdown-menu {
    position: static;
    background: none;
    border: none;
    border-radius: 0;
    padding: 10px 0px 10px 40px;
}
.main-menu .dropdown-menu .dropdown-item {
    padding: 10px 0;
    font-size: 50px;
    font-weight: 500;
    line-height: 50px;
    background: none;
    color: var(--sThemeIT-body-color);
    position: relative;
}
.main-menu .dropdown-menu .dropdown-item:hover {
    color: var(--sThemeIT-primary-color);
}
.nav-link.dropdown-toggle::after {
    font-family: bootstrap-icons !important;
    content: "\F282";
    border: none;
    margin-left: 0.255em;
    vertical-align: middle;
    font-size: 80px;
    line-height: 1;
}
.dropdown-submenu {
    position: static !important;
    box-shadow: none !important;
    display: block;
}
.main-menu .dropdown-submenu > .dropdown-menu {
    top: 3% !important;
}
.main-menu .dropdown-submenu:hover > .dropdown-menu {
    top: 0 !important;
}
.dropdown-submenu a.dropdown-toggle::after {
    font-family: bootstrap-icons !important;
    content: "\F282";
    border: none;
    margin-left: 0.255em;
    vertical-align: middle;
    font-size: 60px;
    line-height: 1;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
    margin-top: 0 !important;
}
.dropdown-submenu > .dropdown-item {
    padding-right: 2.5rem;
    position: relative;
}

.menu-text {
    color: var(--sThemeIT-white-color);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--sThemeIT-typography-secondary-font-family);
    display: inline-block;
}
.header button {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
    transition: opacity 0.25s ease-in-out;
    -moz-transition: opacity 0.25s ease-in-out;
    -webkit-transition: opacity 0.25s ease-in-out;
}
.menu-open {
    display: flex;
    align-items: center;
}
.menu-line {
    display: flex;
    flex-direction: column;
    width: 40px;
    cursor: pointer;
    margin-right: 10px;
}
.menu-line span {
    background: #fff;
    height: 1px;
    margin: 4px 0;
    display: inline-block;
}
.menu-line span:nth-of-type(1) {
    width: 50%;
}
.menu-line span:nth-of-type(2) {
    width: 100%;
}
.menu-line span:nth-of-type(3) {
    width: 75%;
}
.menu-close {
    position: fixed;
    right: 80px;
    top: 80px;
    font-size: 50px;
    color: var(--sThemeIT-primary-color);
    line-height: 1;
}
.header-menu-item {
    position: fixed;
    transform: translateX(-100%) translateZ(0);
    transition: all 0.9s ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--sThemeIT-bg-dark-color);
    color: var(--sThemeIT-white-color);
    list-style: none;
    padding-top: 10rem;
    padding-left: 10rem;
}
.hamburger-menu .header-menu-item {
    transform: translateX(0) translateZ(0);
}

/*--Header Search--*/
.search-icon {
    margin-left: 30px;
}
.search-icon a {
    font-size: 20px;
    color: var(--sThemeIT-white-color);
    line-height: 1;
}
.search-icon a:hover {
    color: var(--sThemeIT-primary-color);
}
.search-input {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
    background: var(--sThemeIT-bg-dark-color);
    border-bottom: 1px solid var(--sThemeIT-border-light-color);
    z-index: 9999;
    top: 0;
    display: none;
    padding: 80px 0;
}
.search-inner {
    padding: 15px 0;
    position: relative;
}
.search-input label {
    width: 100%;
}
.search-input .search-field {
    width: 100%;
    background: transparent;
    border: none;
    height: 100%;
    padding-right: 60px;
}
.search-input .search-form button[type="submit"] {
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    font-size: 20px;
    right: 50px;
    color: var(--sThemeIT-body-color);
    position: absolute;
    top: 5px;
}
.search-input .search-submit:hover {
    color: var(--sThemeIT-primary-color);
}
.right-nav {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 50px;
}
.search-input .search-form {
    margin: 0 auto;
    border: 1px solid var(--sThemeIT-border-light-color);
    padding: 15px 10px;
}
.close-search {
    position: absolute;
    bottom: -40px;
    right: 0;
    cursor: pointer;
    font-size: 30px;
    color: var(--sThemeIT-body-color);
}
.close-search:hover {
    color: var(--sThemeIT-primary-color);
}

/* ------------------------
    Footer
------------------------*/
.footer {
    border-top: 1px solid var(--sThemeIT-border-light-color);
    padding: 30px 0;
    color: var(--sThemeIT-white-color);
}
.home .footer {
    display: none;
}

/* ------------------------
    Page Title
------------------------*/
.page-title {
    display: block;
    position: relative;
    padding: 100px 0 0;
}
.page-title h1 {
    font-size: 70px;
    line-height: 70px;
    font-weight: 700;
    text-transform: uppercase;
    word-break: break-word;
    margin-bottom: 0;
}
.post-single-bg-img {
    height: 40rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center !important;
}
.has-post-thumbnail .post-single-thumb {
    height: 40rem;
    background-repeat: no-repeat;
}
