/* @ Update 1401/08/07 | 15:07 */
@charset "utf-8";
/* CSS Document */
/*
:root {
    --color1:#ae0aca;
    --color2:#2d242d;
    --color3:#f5edf6;
    --black1:#343a40;
    --gray1:#7e7e7e; 
    --black:#111;
    --lightGray:#f7f7f7;
}
*/
:root {
    --color1: #de2021;
    --color2: #2d2424;
    --color3: #f6eded;
    --black1: #403434;
    --gray1: #7e7e7e;
    --black: #111;
    --lightGray: #f7f7f7;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "rtl-font";
    font-style: normal;
    font-weight: normal;
    src: local("☺️"), 
        url("../fonts/IRANSansWeb.woff2") format("woff2");
}


body{
    color: var(--black1);
    font-family: "rtl-font";
	font-size:14px;
    text-align: justify;
}

h1,.h1{font-size: 2.1em;}
h2,.h2{font-size: 1.8em;}
h3,.h3{font-size: 1.6em;}
h4,.h4{font-size: 1.4em;}
h5,.h5{font-size: 1.2em;}
h6,.h6{font-size: 1em;}

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

img, svg, video {
    max-width: 100%;
}

[dir*="rtl"] label {
    text-align: right;
}

.awesomplete {
    flex: 1 0 auto;
}

[dir*="rtl"] .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    margin-right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


span.icon-fw {
    font-family: "Font Awesome 5 Free";
}
span.icon-eye-slash:before {
    content: "\f070";
}
span.icon-eye:before {
    content: "\f06e";
}
span.icon-user:before {
    
}
span.icon-eye:before {

}

[dir*="rtl"] .float-end {
    float: left!important;
}

[dir*="rtl"] .float-start {
    float: right!important;
}

[dir*="rtl"] .ms-auto {
	margin-right: auto!important;
	margin-left: unset !important;
} 
[dir*="rtl"] .text-end {
	text-align: left!important;
}

.ltr {
    direction: ltr;
}

.blog-featured {
    margin-top: 3em;
    margin-bottom: 1em;
}

.blog-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.blog-items.columns-3 .blog-item {
    flex: 0 0 auto;
    width: 32%;
    border-radius: 1em;
    overflow: hidden;
    border: 1px solid #ccc;
}

.blog-items .blog-item .item-content {
    padding: 0 1em;
}

.blog-items .blog-item .item-content h2{
    font-size: 20px;
    text-align: center;
}

/*-------
POSITION STYLE
------*/
#topbar{
    height: 40px;
    background-color: var(--color1);
    color: var(--lightGray);
}
#topbar a{
    color: var(--lightGray);
}
#topbar p{
    margin: 0;
    
}

#header{
    background-color: var(--color3);
    color: var(--black1);
}

#menu{
    background-color: var(--color2);
    color: var(--lightGray);
}

#banner {
    background-color: var(--color2);
    color: var(--color3);
    margin-top: -100px;
	padding-bottom:50px;
}

#banner-1 .mod-custom,
#banner-2 .mod-custom {
    height: 40vh;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    justify-content: center;
    background-position: center;
    position: relative;
    flex-direction: column;
}

#banner-1 .mod-custom::after,
#banner-2 .mod-custom::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.25);
}

#banner-1 .mod-custom *,
#banner-2 .mod-custom * {
    font-size: 2.5em;
    text-align: center;
    color: #fff;
    margin: 0;
    z-index: 1;
}

#footer {
    background: #343a40 url(../images/footer-bg.jpg) no-repeat center / cover;
    box-shadow: 0 0 30px 0 #ccc;
    position: relative;
    padding: 4em 0;
}
#footer h3{
	margin-bottom:1.2em;
}

#footer a:hover{
    color: #ffc107;
}

#footer::after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0%;
    top: 0;
    background-color: rgb(33 37 41 / 82%);
    z-index: 0;
}
#footer .footer{
    position: relative;
    z-index: 1;
    color: var(--lightGray);
}

#footer i{
    color: var(--color1);
}

#copyright{
    background-color: #000;
    color: var(--lightGray);
    line-height: 2;
}

#copyright a{
    color: var(--color3);
}

#copyright .footer2{
    font-size: 80%;
}

/*-------
CUSTOM STYLE
------*/
.brand-logo {
    display: inline-block!important;
    background: white;
    padding: 3px;
    border-bottom: 4px solid var(--color1);
    border-radius:10px;
    margin-top: -20px;
    /*margin-bottom: 15px; */
    position: absolute;
    z-index: 1;
}

.small.upper-text-right {
    color: var(--color1);
    position: relative;
    display: inline-block;
    font-weight: bold;
}
.small.upper-text-right::after {
    content: "";
    width: 40px;
    height: 1px;
    position: absolute;
    right: 115%;
    top: 10px;
    background-color: var(--color1);
}
[dir*="ltr"] .small.upper-text-right::after {
    left: 115%;
	right: unset;
}


.flip-box {
    background-color: transparent;
    height: 480px;
    border: 1px solid #f1f1f1;
    perspective: 1000px;
}
[dir*="ltr"] .flip-box {
    height: 550px;
}

@media only screen and (max-width:400px) {
    .flip-box {
        height: 480px;
    }
    [dir*="ltr"] .flip-box {
      height: 550px;
    }
}
  
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-box-inner p{
    text-align: justify;
	font-size: 120%;
}
  
.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}
  
.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
  
.flip-box-front {
    background-color: white;
    color: black;
}
  
.flip-box-back {
    background-color: var(--color1);
    color: white;
    transform: rotateY(180deg);
	padding:0 1em
}

.flip-box-front div{
    padding: 100px 100px 40px;
}
.flip-box-back div{
    padding: 50px 100px 40px;
}
@media only screen and (max-width:400px) {
    .flip-box-front div,
    .flip-box-back div{
        padding: 10px 10px 5px;
    }
}

/*-------
mod_dj-megamenu
------*/
.dj-fa-0 ul.dj-mobile-light li.dj-mobileitem.parent >a span.toggler:before, 
.dj-fa-1 ul.dj-mobile-light li.dj-mobileitem.parent >a span.toggler:before, 
.dj-fa-5 ul.dj-mobile-light li.dj-mobileitem.parent >a span.toggler:before {
    font: unset !important; 
}
ul.dj-mobile-light li.dj-mobileitem.parent > a span.toggler{
    font-family: Font Awesome\ 5 Free;
    font-weight: 900;
}

/*-------
mod_djmediatools
------*/
.dj-slide-desc-text {
    text-align: justify !important;
}

/*------
com_djcatalog
------*/
#djcatalog .djc_item_bg {
    border: 1px solid #ccc;
    border-radius: 1em;
}

#djcatalog .djc_items .djc_item_in, 
#djcatalog .djc_related_items .djc_item_in {
    padding: 0;
}

.com_djcatalog2.view-items .djc_description {
    padding: 0 1em;
}

.com_djcatalog2.view-items .djc_readon,
.com_djcatalog2.view-items .djc_title {
    text-align: center;
}

#djcatalog .btn-primary {
    color: #fff;
    background-color: #ff4747;
    border-color: #2d2424;
}
#djcatalog .btn-primary:hover {
    color: #fff;
    background-color: #2d2424;
    border-color: #ff4747;
}

/*------
com_komento
------*/
[dir*="rtl"] i.fdi.fdi.fa.fa-caret-right {
    transform: rotateY(180deg);
}

/*------
com_search
------*/
.com-finder__results-list {
    display: flex;
    flex-wrap: wrap;
}

li.result__item {
    flex: 0 0 24.25%;
    max-width: 24.25%;
    margin-top: 0px !important;
    border: 1px solid #ccc !important;
    padding: 0 10px 10px;
    margin-left: 1%;
	margin-bottom:1%;
}
li.result__item:nth-child(4n+0) {
	margin-left: 0;
}


/*------
com_content
------*/
.page-header {
    padding-bottom: 9px;
    margin: 20px 0 20px;
    border-bottom: 1px solid #eee;
}
/*
.page-header h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}
.page-header h1::after,
.page-header h1::before {
    content: ".";
    font-size: 3rem;
    color:var(--color1);
    font-weight: bold;
    vertical-align: bottom;
}
*/
.blog,
.item-page,
#djcatalog{
    /*border: 1px solid var(--color1);
    padding: 15px;*/
  	margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 7px;
}
.blog-item::after,
.blog-item::before {
    content: "";
    display: block;
    clear: both;
}


/*------
mod ebwhatsapp
------*/
[dir*="rtl"] .whatsappchat .popup-section .popup .popuptext {
    opacity: unset;
    display: none;
    width: 370px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 0;
    position: absolute;
    z-index: 1;
    top: 70px;
    left: 0;
    transition: all 0.3s ease-in 0s;
    -webkit-transition: all 0.3s ease-in 0s;
}

[dir*="rtl"] .whatsappchat .popup-section .popup .show {
    transition: all 0.3s ease-in 0s;
    -webkit-transition: all 0.3s ease-in 0s;
    opacity: unset;
	display: block;
}

[dir*="rtl"] .whatsappchat.is-bottom_left .popup-section .popup .popuptext {
    box-shadow: 4px 4px 10px #ccc;
}

[dir*="rtl"] .whatsappchat img.is-analytics {
    padding-left: 10px;
    padding-right: 0;
    max-width: 24px;
}

[dir*="rtl"] .whatsappchat .popup-section .popup .popuptext .popup-box .response .send_btn {
    position: absolute;
    top: 40%;
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    right: unset;
    left: 40px;
    line-height: 0;
}

[dir*="rtl"] .whatsappchat .popup-section .message p {
    margin: 0px;
    color: #333;
}

/*-------
MEDIA QUERY
------*/
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    
}



/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    
}


@media only screen and (max-width: 760px), 
(min-device-width: 768px) and (max-device-width: 1024px){
    
}


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
    .blog-items.columns-3 .blog-item {
      width: 100%;
      margin-bottom: 2em;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
    
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    
}