/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0
*/
/*smooth scroll for back to top elementor*/
html {
  scroll-behavior: smooth;
}

/* justify content */

.post-content p,
.post-content ul,
.post-content ol {
    text-align: justify;
}

/* <a> hover effect */

.post-content p a,
.post-content ul a,
.post-content ol a,
.breadcrumbs li a {
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(to left, #7d1a1a 0%, #7d1a1a 100%);
    background-repeat: no-repeat;
    background-position: right 100%;
    transition-duration: 1s;
    background-size: 0 10%
}

.post-content p a:hover,
.post-content ul a:hover,
.post-content ol a:hover,
.breadcrumbs li a:hover {
    background-size: 100% 10%
}

/* side Bar */

.mcb-sidebar {
    padding: 0 10px;
}

/* Fix content width */

.the_content_wrapper {
    margin: 0%;
    width: 100%;
}

/* ul&ol fix */

.post-content ul,
.post-content ol{
    margin: 0 30px 15px 0;
}

/* menu bebuilder fix */

.column_header_menu, .mfn-header-menu {
height: 100%; 
}
header {
	z-index:15 !important;
}
/* Custom Quote - Border transition */
.custom-quote {
    box-sizing: border-box;
}
.custom-quote::before,
.custom-quote::after {
    box-sizing: inherit;
    content: '';
    position: absolute;
}
.custom-quote::before,
.custom-quote::after {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform-origin: center;
}
.custom-quote::before {
    border-top: 1px solid #7d1a1a;
    border-bottom: 1px solid #7d1a1a;
	border-left: 1px solid #7d1a1a00;
    border-right: 1px solid #7d1a1a00;
    transform: scale3d(0, 1, 1);
}
.custom-quote::after {
    border-left: 1px solid #7d1a1a;
    border-right: 1px solid #7d1a1a;
    transform: scale3d(1, 0, 1);
}
.custom-quote:hover::before,
.custom-quote:hover::after {
    transform: scale3d(1, 1, 1);
    transition: transform 1s;
}

/* block quote style */

blockquote {
    border: solid 1px #7d1a1a;
    margin: 0;
    top: 0;
    padding: 50px 25px 25px 25px;
    margin: 25px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    background-image: url(/wp-content/uploads/2022/01/logo-raykanet40x40.png) !important;
    background-repeat: no-repeat !important;
    background-position: 50% 5px !important;
}

/*Single Post Images*/

.single-photo-wrapper .mcb-column-inner {
    margin: 0 0 15px 0;
}

.single-photo-wrapper .mcb-column-inner .image_wrapper {
    border-radius: 5px;
}
.single-photo-wrapper .mcb-column-inner .image_frame {
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
}
.post-wrapper-content img:not(.custom-quote img) {
    border-radius: 5px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 15px;
}

/* Single Post Header Fix */

.sections_group .post-header,
.sections_group .post-header .mcb-column-inner,
.sections_group .post-meta {
    margin: 0
}

.sections_group .title_wrapper {
    margin: 0;
    padding: 0 10px;
    border: 0
}

.sections_group .post-meta .mata-tags {
    display: none
}

/* Table */

.style-simple table th,
.style-simple table td {
    border-width: 0 0 1px 1px !important
}

/* button hover animation */

.button-hover {
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transition: color 1000ms;
    transition: color 1000ms;
}
.button-hover a {
    width: 100%;
    text-align: right;
}
.button-hover:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px 0px 0px 5px;
    background: linear-gradient(70deg, var( --e-global-color-primary) 0%, var( --e-global-color-a82db59) 100%);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition: 300ms ease-out;
    transition: 300ms ease-out;
}

.button-hover:hover:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.button-hover:hover span {
    color: #ffffff;
}

/*  Sticky Call Button - Mobile */

@media only screen and (max-width: 767px) {
    #Footer .footer_copy {
        padding-bottom: 50px !important;
    }
    #Footer .footer_copy .copyright,
    #Footer .footer_copy .social {
        float: none !important;
        margin-left: 0px;
    }
}

/* Customers gallery grid fix */
#customers-grid .e-gallery-image {
background-size: contain;
background-repeat: no-repeat;
}
#customers-grid .elementor-gallery-item__content{
	padding: 5px;
}
#customers-grid .elementor-gallery-item__title{
  font-size: 1rem;
  max-width: fit-content;
  overflow: hidden;
  white-space: wrap;
}

/* footer size & text decoration fix */
#Footer .footer_copy .social li a {
	font-size: 20px !important;
}
#Footer li {
    font-size: 16px;
}
#Footer li a:hover{
    text-decoration: none;
}


/*searchbar sidebar
.elementor-search-form input.elementor-search-form__input {
    font-family: inherit;
}
button.elementor-search-form__submit {
	margin: 0px !important;
}
button.elementor-search-form__submit i {
	color: #ffffff;
} 
*/

/*Search page*/
@media only screen and (min-width: 767px) {
    .search-content{
        padding-left: 25px
    }
}

article.search-item {
    padding: 15px;
    background-color: #f4f4f4;
}

/*Elementor Anchors Scroll Offset*/
html, body {
   scroll-padding-top: 110px;
}

/*projects inline block*/
@media only screen and (min-width: 767px) {
.custom-inline {
    display: inline-block;
    width: 50%!important;
    height: 200px;
}
.custom-inline .elementor-widget-container{
    height: inherit;
    margin-left: 10px;
    margin-right: 10px;
    }
}

/*Comments*/
#respond textarea, #respond input {
    border-radius: 5px;
}

/* Header */
header {
	z-index: 20;
}

/*mobile menu*/
.mfn-sidemenu-menu li>.outer-menu-sub {
	right: 90% !important;
}

/*subheader*/
#Subheader {
	text-align-last: right;
}

/*زیر سربرگ*/
.sections_group {
	padding: 0!important
}