/* body {
    margin: 0;
} */
@font-face {
    font-display: swap;
    font-family: IRANSans;
    font-weight: 300;
    src: url("fonts/IRANSansWeb(FaNum).woff") format("woff");
    src: url("fonts/IRANSansWeb(FaNum).woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "kalleh";
    font-weight: 300;
    src: url("fonts/kalleh.ttf") format("ttf");
    src: url("fonts/kalleh.woff") format("woff");
    font-display: swap;
}
*,
:after,
:before {
    box-sizing: border-box;
}
.slider-container {
    width: 100%;
    height: 85vh;
    margin: 0 auto;
    display: flex;
    
    flex-direction: row-reverse;

    align-items: center;
    overflow: hidden;
    padding: 0;
    position: relative;
    border-bottom: 1px solid #fafafa;
    background-image: url(../img/slider-back-fa.png.webp);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 38%;
}
.col-slider {
    width: 33.33%;
    margin: 0;
    /* border: 1px solid red; */
    padding: 0;
    height: 85vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
	overflow:hidden;
}

#main-slider-left {
    height: 100%;
    width: 100%;
    padding: 0;
}
#main-slider-left img {
    height: 85vh;
    width: auto;
    object-fit: cover;
    object-position: center;
}

#main-slider-right {
    /* height: 300px; */
    overflow: hidden;
}
#main-slider-right img {
    height: auto;
}
/*text slider*/
#text-slider {
    height: 300px;
    margin: 30px auto 0;
    border-radius: 10px;
    /* background: #ffeb3b; */
    align-items: center;
    padding: 10px 30px;
    text-align: center;
    bottom: 0;
    position: absolute;
	max-width:100%;
}

#text-slider .txt {
    height: 300px;
}

a.more {
    bottom: 30px;
    z-index: 1;
    color: #e22b30;
    overflow: hidden;
    padding: 6px 40px;
    border-radius: 8px;
    position: relative;
    display: inline-block;
    border: 1px solid #e22b30;
    display: inline-flex;
    font-family: IRANSans;
    top: 0;
}
a.more:hover {
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
}

#text-slider .slick-slide .title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: 22px;
    color: green;
    font-family: IRANSans;
}
#text-slider .slick-slide a {
    text-decoration: none;
}
#text-slider .slick-slide .title a {
    color: #3a3a3a;
    text-align: right;
    display: block;
    font-weight: 400;
}

#text-slider .slick-slide p.subtitle {
    margin: 15px 0;
    font-size: 14px;
    min-height: 4rem;
    max-height: 6rem;
    line-height: 1.5;
    font-family: IRANSans;
    line-height: 1.6;
    overflow: hidden;
}
#text-slider .slick-slide .title :after {
    content: "";
    width: 20px;
    height: 2px;
    display: block;
    margin-top: 5px;
}
a.more:before {
    content: "";
    left: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}
a.more:hover:before {
    box-shadow: inset 300px 0 0 #ee3439;
}

#text-slider .slick-slide .title:after {
    content: "";
    width: 20px;
    height: 2px;
    display: block;
    margin-top: -5px;
    background-color: #ee3439;
    float: right;
}
/*End text slider*/

/*slider button*/
.slick-slide {
}

.slick-arrow {
    z-index: 2;
}

.slick-prev {
    right: 0 !important;
}

.slick-next {
    left: 0 !important;
}

.icon-right-arrow:before {
    content: "";
}
.icon-left-arrow:before {
    content: "";
}

/* @media (min-width: 992px) { */
.slider-buttons .next-arrow.slick-arrow:hover,
.slider-buttons .prev-arrow.slick-arrow:hover {
    cursor: pointer;
}
.slider-buttons .next-arrow.slick-arrow,
.slider-buttons .prev-arrow.slick-arrow {
    border: none;
    color: #ee3439;
    font-size: 24px;
    border-radius: 0;
    padding: 14px 20px;
	line-height:1;
	min-height: 1em;
    background-color: #fafafad4;
}
.slider-buttons .next-arrow.slick-arrow i,
.slider-buttons .prev-arrow.slick-arrow i {
    vertical-align: middle;
}
.slider-buttons i[class^="icon-"] {
    font-family: "kalleh"!important;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
	
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slider-buttons .next-arrow.slick-arrow,
.slider-buttons .prev-arrow.slick-arrow {
    border: none;
    color: #ee3439;
    font-size: 24px;
    border-radius: 0;
    background-color: #fafafad4;
	outline: none;
	margin:0;
}

/*این استایل برای ادیتور قالب فلت سام اضافه کردم*/
	.container .section, .row .section {
    padding: 0px;
    }


@media (min-width: 992px) {
	
	.slider-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
}
	
	#main-slider-right .slick-track  {
	   max-width:100%;
    }
    #main-slider-right .slick-track img {
        transform: rotate(-15deg);
		outline: none;
		padding:6%;
		margin: 0 35px;
    }
    .slider-container {
        background-size: 40%;
    }
	.line-left.divider {
		position: absolute;
		left: 0;
		z-index: -1;
		border-color: #eaeaea;
		border-style: solid;
		border-width: 0 0 0 1px;
		height: 100vh;
	}
}
@media (min-width: 1200px) {
    .slider-container {
        /* max-width: 1280px; */
         max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .slider-container {
        background-size: contain;
        /* height: unset; */
        padding: 10px;
        display: flex;
        flex-direction: column-reverse;
    }
    .slider-container .col:first-child {
        display: none;
    }
    .col-slider {
        height: auto;
        width: 100%;
    }

    #main-slider-left {
        display: none;
    }
    #text-slider {
        /* border: 1px solid blue; */
        bottom: unset;
        /* background: #ffeb3b; */
        position: static;
        max-width: 100%;
        /* direction: rtl; */
        flex-direction: column-reverse;
    }
    #text-slider .txt {
        width: 100%;
        text-align: center;
    }
    #text-slider .slick-slide .title a {
        color: #3a3a3a;
        text-align: center;
    }
    #main-slider-right {
        /* border: 1px solid green; */
        direction: ltr;
    }
    #text-slider .slick-slide .title:after {
        display: none !important;
    }
    #text-slider .slick-slide p.subtitle {
        margin: 15px 0;
        font-size: 12px;
        min-height: 4rem;
        max-height: unset;
        line-height: 1.8;
    }
    button.navigate-responsive.slick-arrow {
        left: 10px;
        top: 10px;
        font-size: 16px;
        position: absolute;
        border-radius: 50%;
        background-color: #ee3439;
        color: #fff;
        border: none;
        cursor: pointer;
        transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
        z-index: 1;
		width: 48px;
        height: 48px;
        line-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    button.navigate-responsive.slick-arrow:before {
        content: "";
        font-family: "kalleh";
    }
    i[class^="icon-"] {
        font-family: "kalleh";
        font-style: normal;
        font-weight: 400;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    #main-slider-right img {
        /* padding: 33px; */
    }
    .slider-container {
        height: auto;
        margin: 0 auto;
        display: flex;

        align-items: center;
        overflow: hidden;
        padding: 10px;
        border-bottom: 1px solid #fafafa;
        background-position: top center;
        background-repeat: no-repeat;
        background-size: 266px;
    }
	.slider-buttons {
    display: none!important;
    }
}


div#main-slider-right .slick-track {
    display: flex;
}

