body,
html {
    direction: rtl;
    text-align: right;
    min-height: calc(100vh - 300px);
}

.fa,
.far,
.fas,
.contact-form-section .single-info .icon-wrapper i {
    color: var(--primarycolor) !important;
}

.alert {
    border: 0px;
    position: relative;
    padding: 0.95rem 1.25rem;
    border-radius: 1px;
    color: inherit;
    background-color: #ffffff;
    -webkit-box-shadow: 1px 1px 14px 0px rgba(18, 38, 63, 0.26);
    -moz-box-shadow: 1px 1px 14px 0px rgba(18, 38, 63, 0.26);
    box-shadow: 1px 1px 14px 0px rgba(18, 38, 63, 0.26);
}

.alert [data-notify="icon"] {
    display: block;
}

.alert [data-notify="icon"]::before {
    line-height: 35px;
    font-size: 22px;
    display: block;
    left: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 30px;
    text-align: center;
    color: #fff;
}

.alert [data-notify="title"] {
    display: block;
    color: #2b2b2b;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}

.alert [data-notify="message"] {
    font-size: 13px;
    color: #908e8e;
}

.alert .close {
    background: rgba(255, 255, 255, 0.8);
    width: 25px;
    height: 25px;
    line-height: 25px;
    top: 12px;
    border-radius: 50%;
}

/*    Alert States    */
.alert-default {
    border-left: 4px solid #1a2035;
}

.alert-default [data-notify="icon"]:before {
    background: #1a2035;
}

.alert-primary {
    border-left: 4px solid #1572e8;
}

.alert-primary [data-notify="icon"]:before {
    background: #1572e8;
}

.alert-secondary {
    border-left: 4px solid #6861ce;
}

.alert-secondary [data-notify="icon"]:before {
    background: #6861ce;
}

.alert-info {
    border-left: 4px solid #48abf7;
}

.alert-info [data-notify="icon"]:before {
    background: #48abf7;
}

.alert-success {
    border-left: 4px solid #31ce36;
}

.alert-success [data-notify="icon"]:before {
    background: #31ce36;
}

.alert-warning {
    border-left: 4px solid #ffad46;
}

.alert-warning [data-notify="icon"]:before {
    background: #ffad46;
}

.alert-danger {
    border-left: 4px solid #f25961;
}

.alert-danger [data-notify="icon"]:before {
    background: #f25961;
}

div.social i.fa {
    margin-left: 6px;
    transition: all 0.2s;
}

div.social i.fa:not(.fa-language):hover {
    cursor: pointer;
    transform: translateY(-2px);
}

section#features img {
    max-width: 150px;
}

section#faq .card-body {
    text-align: right !important;
}

input:-internal-autofill-selected {
    background-color: yellow !important;
    background: greenyellow;
}

.side-bar-cat-list {
    cursor: pointer;
    font-weight: 600;
}

.custom-hover img,
.testimonial-item {
    transition: all 0.4s;
}

.testimonial-item:hover {
    scale: 1.02;
    box-shadow: 0px 8px 16px rgb(0 0 0 / 50%);
}

.custom-hover:hover img {
    scale: 1.05;
}

section#blog .blog-title,
#content-box .blog-title {
    padding: 10px;
    background: var(--primarycolor);
    color: white;
    margin: -20px auto 0px;
    width: 90%;
    position: relative;
    z-index: 1;
    border-radius: 5px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

footer .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    font-size: 13px;
    width: 120px;
    max-width: auto;
    height: 120px;
    max-height: auto;
}

section#features .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    margin-right: 10px;
    height: 150px;
    max-height: auto;
}

section#blog .custom-border:hover,
section#features .custom-border:hover,
#content-box .custom-border:hover {
    border: solid 5px var(--primarycolor) !important;
}

section#blog .custom-border:hover .blog-title,
#content-box .custom-border:hover .blog-title {
    color: var(--secondcolor) !important;
}

section#faq .card-header:hover {
    background: var(--primarycolor);
}

span.language {
    position: relative;
}

span.language:after {
    content: "\25BC";
    font-size: 10px;
}

.language-dropdown {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 100%;
    list-style-type: none;
    padding-inline-start: 0;
    background: var(--primarycolor);
    border: solid 1px var(--secondcolor);
    border-radius: 5px;
    margin-bottom: 0;
    text-align: right;
}

.language-dropdown > li > a {
    padding: 5px 5px 5px 15px;
    display: block;
}

.language-dropdown > li:hover {
    background: var(--secondcolor);
    color: var(--primarycolor);
}

a.card-header:has(h5[aria-expanded="true"]) {
    color: var(--secondcolor);
    background: var(--primarycolor);
}

h5[aria-expanded="true"] > button {
    color: var(--secondcolor);
}

.contact-form-section .single-info .icon-wrapper {
    border: solid 1px var(--primarycolor) !important;
}

.contact-form-section .single-info:hover .icon-wrapper {
    background-color: var(--secondcolor) !important;
    border: solid 1px var(--secondcolor) !important;
}

.contact-form-section .single-info {
    padding: 40px 20px;
}

.contact-form-section .single-info .icon-wrapper {
    margin-right: 0;
}

.contact-form-section .single-info .info-txt {
    width: initial;
    float: unset;
}

.contact-form-section {
    padding: 20px 0 120px;
}

.language {
    margin-right: 17px;
    margin-left: 0;
}

/* general-main-menu styles */

#main-menu > span:hover a {
    color: var(--primarycolor) !important;
}

#main-menu > span {
    transition: 0.08s;
}

#main-menu > span:not(.dp):hover,
#main-menu .hover-tab-menu span,
#toolbar span:not(.dp):not(.language):hover {
    font-weight: 700;
    scale: 1.05;
}

#main-menu .mega-menu > div > a:first-child {
    font-weight: 700;
}

#main-menu span {
    border: solid 3px transparent;
    padding: 5px;
}

/* no main-menu styles */
#main-menu .hover-no-menu {
    position: absolute;
    z-index: 9;
    right: 0;
    width: 100%;
    min-width: 200px;
    display: none;
    background: var(--secondcolor);
    justify-content: center;
    align-items: center;
    border-bottom: solid;
}

#main-menu span.dp:hover > .hover-no-menu {
    display: block;
}

/* tab-main-menu styles */
#main-menu .hover-tab-menu {
    position: absolute;
    z-index: 9;
    right: 0;
    width: 100%;
    height: 50px;
    display: none;
    background: var(--secondcolor);
    justify-content: center;
    align-items: center;
    border-bottom: solid;
}

#main-menu span.dp:hover > .hover-tab-menu {
    display: flex;
}

#main-menu .tab-menu > div > a:not(:first-child) {
    transition: 0.4s;
}

#main-menu .tab-menu > div > a:not(:first-child):hover {
    transform: translateX(-5px);
}

#main-menu .hover-tab-menu {
    border-top: solid 1px var(--primarycolor);
}

#main-menu .hover-tab-menu.sub-menu {
    top: 40px;
}

/* mega main-menu styles */
#main-menu span.dp:hover > .hover-mega-menu {
    display: flex;
}

#main-menu .hover-mega-menu.sub-menu {
    top: 83px;
}

header #sub-menu li {
    line-height: 6px;
}

.tab-menu {
    display: none;
    margin: auto;
    position: absolute;
    z-index: 999;
    background: #fff;
    background-clip: padding-box;
    height: 43px;
    width: 98%;
    top: 83px;
    right: 1%;
    border-radius: 0.25rem;
    border: solid 1px rgba(0, 0, 0, 0.15);
}

.tab-menu .dropdown-item {
    padding: 10px !important;
    width: initial;
}

.dropdown-menu {
    text-align: right;
    left: initial;
    right: 0;
    top: 35px;
    position: relative;
}

.footer-section .footer-txt {
    text-align: right;
}

ul.footer-links li a {
    padding-right: 15px;
    padding-left: 0;
}

ul.footer-links li {
    text-align: right;
}

ul.footer-links li a::after {
    right: 0;
    transform: rotateY(180deg);
    left: auto;
}

.footer-section h4 {
    text-align: right;
}

footer {
    border-top: solid 3px var(--primarycolor);
}

#search-result {
    width: 100%;
    max-height: 300px;
    overflow: auto;
    padding: 5px;
    display: none;
}

#search-result > div {
    padding: 10px;
    display: flex;
    align-items: center;
    padding: 10px;
}

#search-result > div:not(:last-child) {
    border-bottom: solid 3px var(--primarycolor);
}

input[type="color"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="range"],
input[type="search"],
input[type="tel"],
input[type="text"] {
    display: inline-block;
    width: 100%;
    padding-left: 23px;
    border: 1px solid #ddd;
    outline: 0;
    border-radius: 1px;
    padding-left: 0;
    padding-right: 23px;
}

.blog-details-title {
    text-align: center;
}

.footer-contact-info ul li {
    text-align: right;
}

.footer-contact-info ul li span {
    margin-left: 0;
    margin-right: 15px;
}

.service-txt {
    text-align: right;
}

.searchbar input[type="search"],
.searchbar input[type="text"] {
    float: right;
}

.searchbar button[type="submit"],
.searchbar input[type="submit"] {
    float: right;
}

.blog-sidebar-widgets.category-widget {
    text-align: right;
}

.category-lists ul li a::after {
    left: auto;
    right: 0;
    transform: rotateY(180deg);
}

.category-lists ul li a {
    padding-left: 0;
    padding-right: 10px;
}

.subscribe-section {
    text-align: right;
}

.subscribe-section h3::after {
    right: 0;
    left: auto;
}

.support-bar-area .support-contact-info i {
    margin-right: 0;
    margin-left: 4px;
}

span.phone {
    display: inline-block;
}

span.phone i {
    float: right;
}

.breadcrumb-area .breadcrumb-txt {
    text-align: right;
}

ul.breadcumb li::after {
    left: -17px;
    transform: rotateY(180deg);
}

ul.breadcumb li {
    margin-left: 0;
    margin-right: 25px;
}

ul.breadcumb li:first-child {
    margin-right: 0;
    margin-left: auto;
}

.faq-section .accordion .card .card-header .btn::after {
    right: auto;
    left: 30px;
}

.faq-section .accordion .card .card-header .btn {
    text-align: right !important;
}

.faq-section .accordion .card .card-header .btn[aria-expanded="true"]::after {
    right: auto;
    left: 30px;
}

.faq-section .card-body {
    text-align: right;
}

.blog-share ul li:last-child {
    margin-right: 15px;
    margin-left: 0;
}

.blog-share {
    text-align: right;
}

textarea {
    padding-left: 0;
    padding-right: 23px;
}

.contact-infos {
    left: auto;
    right: 30px;
}

button[type="submit"],
input[type="submit"] {
    float: right;
}

.contact-form-section .section-summary {
    padding-right: 0px !important;
    font-weight: 700;
}

.contact-form-section .section-title {
    display: block;
    text-align: right;
}

.contact-form-section .icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.hero2-carousel.owl-theme .owl-dots {
    right: auto;
    left: 28px;
}

.form-element label {
    text-align: right;
}

.form-element {
    text-align: right;
}

form {
    text-align: right;
}

.error-txt a {
    background-color: var(--primarycolor);
    border: 1px solid var(--primarycolor);
}

.error-txt a:hover {
    border: 1px solid var(--secondcolor);
}

.custom-control-inline {
    margin-right: 0;
    margin-left: 1rem;
}

.footer-newsletter::after,
.form-element::after {
    content: "";
    display: block;
    clear: both;
}

.slicknav_menu .slicknav_icon {
    width: auto;
}

h5.service-title {
    padding-left: 0;
    padding-right: 20px;
}

.contact-form-section .section-summary {
    text-align: right;
}

select {
    padding-right: 15px;
}

.actions {
    display: flex;
}

section .member-item,
#content-box .member-item {
    height: 350px;
    max-width: 250px;
    text-align: center;
}

.actions .checkout-btn {
    margin-right: 10px;
}

.shop-review-area {
    text-align: right;
}

.shop-review-area .shop-review-user img {
    right: 0;
    left: auto;
}

.user-sidebar {
    text-align: right;
}

.user-dashbord .main-info ul.list {
    float: right;
}

.user-dashbord .main-info ul.list {
    width: auto;
    margin-left: 20px;
    text-align: right;
}

.user-dashbord .main-info h5 {
    margin-bottom: 15px;
    text-align: right;
}

.dataTables_wrapper .dataTables_length {
    float: right;
}

.dataTables_wrapper .dataTables_filter {
    float: left;
}

.main-table .dataTables_wrapper input[type="search"] {
    direction: ltr;
}

.user-dashbord .main-info ul.list li p span {
    float: right;
    margin-right: 0;
    margin-left: 20px;
}

.single-message .user-img {
    margin-right: 0;
    margin-left: 30px;
}

.reply-section > h5 {
    text-align: right;
}

.form-element label {
    text-align: right;
}

.message-section > h5 {
    text-align: right;
}

.file-upload-area {
    margin-left: 0;
    margin-right: 30px;
}

.form_control {
    padding-left: 0;
    padding-right: 23px;
}

.user-dashbord .title {
    text-align: right;
}

.summary {
    text-align: right;
}

ul.login {
    margin-left: 0;
    margin-right: 20px;
}

ul.login::before {
    left: auto;
    right: -12px;
}

.login-title {
    text-align: right;
}

.input-btn {
    display: flex;
    justify-content: space-between;
}

li.submenus::after {
    left: 10px;
    right: auto;
    content: "\f053";
}

.categories-widget ul li a span {
    float: left;
}

.single_checkbox label span.text b,
.single_radio label span.text b {
    right: auto;
    left: 0;
}

.single_checkbox label span.text,
.single_radio label span.text {
    margin-left: 0;
    margin-right: 10px;
}

.nav-push-item .menu-box .main-btn i,
.nav-pushed-item .menu-box .main-btn i {
    margin-left: 0;
    margin-right: 20px;
}

.single_checkbox label .box:after,
.single_radio label .circle:after {
    left: 45%;
}

.single_checkbox label span.text,
.single_radio label span.text {
    margin-left: 0;
    margin-right: 10px;
}

div.language:not(.dashboard)::before {
    left: -12px;
    right: auto;
}

div.language {
    margin-right: 0;
    margin-left: 15px;
}

.language.dashboard ul.language-dropdown li a {
    text-align: right;
}

.dropdown a {
    text-align: right;
}

.card-box:after {
    right: auto;
    left: 19px;
}

/* #header-toolbar {
    display: flex;
    padding: 5px;
    position: relative;
    width: 90%;
    margin-right: 5%;
    margin-left: 5%;
}

#header-bottom-bar {
    display: flex;
    padding: 5px;
    position: relative;
} */

#navbarNavDropdown ul {
    padding-right: 5px !important;
}

#side-menu {
    padding: 5px;
}

.item-box span {
    margin: 2px 3px;
}

aside .side-box:not(:first-child) {
    margin-top: 10px;
}

aside .side-box:last-child {
    margin-bottom: 15px;
}

.side-box a.cat:after {
    content: "\25BE";
    float: left;
    padding-top: 5px;
}

.side-box a.cat[aria-expanded="true"]:after {
    content: "\25B4";
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

main > section > div,
#main-bar,
#toolbar > div,
footer > div,
#sub-menu nav,
#footer-menu nav {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
}

#main-bar .nav-link {
    padding: 0 1rem;
}

footer * {
    text-align: justify;
}

footer .item-box,
header .item-box {
    align-items: center;
}

footer .item-box * {
    color: #6c757d;
}

button:focus {
    outline: 5px transparent;
}

section .slick-slide:not(.member-item, .custom-border) {
    border: unset !important;
}

.slider-items {
    position: absolute;
}

.header-search-box {
    position: absolute;
    z-index: 1;
    top: 22%;
    left: 25%;
    width: 50%;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}

a {
    text-decoration: none;
    color: unset;
}

a:hover {
    text-decoration: none;
    color: var(--secondcolor);
}

footer a:hover {
    text-decoration: none;
    color: unset;
}

header a:hover {
    text-decoration: none;
    color: unset;
}

header a {
    white-space: nowrap;
}

a:hover .btn {
    color: var(--secondcolor) !important;
}

a:active {
    text-decoration: none;
    color: unset;
}

.side-box a:hover {
    color: initial;
    font-weight: 900;
}

.side-box a.list-group-item:hover {
    font-weight: 700;
}

section img:not(footer section img) {
    width: 100%;
}

section h4 {
    color: var(--primarycolor);
}

.testimonial-item img {
    position: absolute;
    left: 25px;
    bottom: 30px;
}

footer {
    text-align: justify;
}

/* #main-bar,
#main-bar span {
    display: flex;
    align-items: center;
    padding: 3px 2px;
}

#main-bar > * {
    margin-right: 5px;
} */

#main-bar span > button {
    display: none;
}

.btn-primary {
    background-color: var(--primarycolor);
    border-color: var(--primarycolor);
}

#bg-header {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 300px;
    position: relative;
}

.collaps {
    transition: height 1s;
}

.btn-primary:hover {
    background-color: var(--secondcolor);
    border-color: var(--secondcolor);
}

footer .btn-primary:hover {
    border-color: var(--primarycolor);
    color: var(--primarycolor);
}

span.nav-item.dropdown .tab-menu a:hover {
    background: var(--secondcolor);
    color: var(--primarycolor);
}

section#testimonial .slick-list.draggable {
    padding: 30px;
}

footer > div {
    padding: 10px 50px;
}

footer i.fa {
    color: var(--primarycolor);
}

main section {
    padding-top: 20px;
    padding-bottom: 20px;
    margin: 0px 0px;
}

section .home-header {
    margin: unset;
    margin-bottom: 20px;
}

section#copy-write > div p {
    margin-bottom: 0;
}

section#copy-write > div > :first-child img {
    width: 60px !important;
}

#service .card-services,
#content-box .card-services {
    background: var(--primarycolor);
}

#content-box .card-services:hover {
    border: solid 1px var(--secondcolor);
    box-shadow: inset 0 0 0px 3px var(--secondcolor);
}

#service .card-services:hover {
    border: solid 1px var(--secondcolor);
    box-shadow: inset 0 0 0px 3px var(--secondcolor);
}

#service .card-services * {
    color: var(--secondcolor);
}

#service .card-services:hover * {
    color: var(--secondcolor);
}

.services {
    margin-bottom: 10px;
    height: 60px;
    width: 60px;
}

section#blog img,
#content-box.blog img {
    width: 100%;
    height: 200px;
    max-width: 100%;
    display: block;
    margin: auto;
}

.social-box > span {
    margin-top: 5px;
    margin-right: 10px;
    font-size: 24px;
    transition: all 0.4;
}

.social-box > span:hover i {
    transform: translateY(-5px);
}

.social-box {
    background: var(--secondcolor);
    height: 40px;
    position: relative;
    margin-top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
}

.avatar {
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    display: block;
    margin: auto;
}

.avatar-sm {
    width: auto;
    height: auto;
    max-width: 45px;
    max-height: 45px;
    display: block;
    margin: auto;
}

.img {
    width: auto;
    height: auto;
    max-width: 120px;
    display: block;
    margin: auto;
    aspect-ratio: 16/9;
}

.member-item:hover .social-box {
    opacity: 1;
    visibility: visible;
}

section .slick-slide {
    margin-right: 10px;
}

section .card-body {
    text-align: center;
}

.mega-menu {
    min-height: 400px;
    background: var(--secondcolor);
    padding: 20px;
}

.main-container {
    padding-top: 15px;
}

.custom-border {
    border: solid 5px var(--primarycolor) !important;
    transition: all 0.3s;
}

#toolbar #mobile nav a:not(:only-child)::after {
    content: "+";
    margin-right: 5px;
}

#toolbar #mobile ul {
    list-style-type: none;
    padding-inline-start: 0;
    padding: 5px;
}

#toolbar #mobile ul li {
    padding: 5px;
}

section h2 a:hover {
    color: var(--secondcolor);
}

.form-control:focus {
    box-shadow: none;
}

.btn:focus {
    box-shadow: none;
}

#main-menu {
    width: 100%;
}

aside .list-group {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 5px 5px 0px 0px;
}

aside .slick-slide {
    border: unset !important;
}

/*********************************** responsive for mobile ***************************************/

@media only screen and (min-width: 992px) {
    .offset-lg-3 {
        margin-right: 25%;
    }

    #main-menu #mobile,
    #toolbar #mobile {
        display: none !important;
    }

    #main-menu #desktop,
    #toolbar #desktop {
        display: initial !important;
    }
}

@media only screen and (max-width: 991px) {
    .hero-txt {
        padding-left: 30px;
    }

    .support-bar-area .text-left {
        text-align: center !important;
    }

    .support-contact-info {
        text-align: center;
    }

    .support-bar-area ul.social-links::after {
        right: 100%;
    }

    .slicknav_nav .slicknav_row,
    .slicknav_nav a,
    ul.slicknav_nav li a.boxed-btn {
        text-align: right;
    }

    h5.service-title {
        text-align: right;
    }

    .product-area .shop-search {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .approach-summary {
        padding-left: 0;
    }

    .cta-section h3 {
        text-align: center;
    }

    .contact-btn-wrapper {
        text-align: center;
    }
}

@media only screen and (max-width: 578px) {
    .header-search-box {
        top: 10%;
        left: 5%;
        width: 90%;
    }

    /* header > div:nth-child(2) {
        height: 200px !important;
    } */

    .testimonial-item img {
        left: -60px;
        bottom: 10px;
    }

    footer section .col-sm-3 {
        scale: 0.9;
        font-size: 15px;
    }

    #main-bar #main-menu {
        display: none;
    }

    #main-bar span {
        padding: 5px;
    }

    #main-bar > span:nth-child(1) {
        margin-right: 20px;
    }

    #main-bar > span:nth-child(2) {
        margin-left: 20px;
    }

    #bg-header {
        height: 200px;
    }
}

@media only screen and (max-width: 480px) {
    .product-details-area .product-details-content {
        margin-left: 0;
        margin-right: 20px;
    }

    .actions .main-btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    #main-menu #mobile,
    #toolbar #mobile {
        display: initial !important;
    }

    #main-menu #desktop,
    #toolbar #desktop {
        display: none !important;
    }
}
