/*
Theme Name: aoneoffice
Theme URI: https://seo90.ir/
Author: گروه برنامه نویسی سئو 90
Author URI: https://seo90.ir/
Description: قالب اختصاصی وردپرس طراحی شده توسط گروه طراحی و برنامه نویسی سئو 90
Version: 1.0
License URI: https://seo90.ir/
Text Domain: aoneoffice
*/

* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}

@font-face {
	font-family: 'Zamp_';
	src: url("fonts/Morabba-Medium.ttf");
}

body,
html {
	font-family: 'Zamp_';
	font-size: 16px;
}

.tooltip-inner {
	font-family: 'Zamp_';
	font-size: 14px;
}

:root {
	--Color-b: #3b5fff;
	--Color-y: #c7a26b;
	--Color-d: #121212;
	--Color-w: #fff;
	--Color-e: #e5e1e1;
	--Color-el: #f1f1f1;
	--plyr-color-main: var(--Color-y);
}

.Color-b {
	color: var(--Color-b);
}

.Color-y {
	color: var(--Color-y);
}

.Color-d {
	color: var(--Color-d);
}

.Color-w {
	color: var(--Color-w);
}

.Color-e {
	color: var(--Color-e);
}

.Color-el {
	color: var(--Color-el);
}

.Bg-b {
	background-color: var(--Color-b);
}

.Bg-y {
	background-color: var(--Color-y);
}

.Bg-d {
	background-color: var(--Color-d);
}

.Bg-w {
	background-color: var(--Color-w);
}

.Bg-e {
	background-color: var(--Color-e);
}

.Bg-el {
	background-color: var(--Color-el);
}

li {
	list-style: none;
}

a {
	text-decoration: none;
}

img {
	max-width: 100%;
}

.text-justify {
	text-align: justify !important;
}

.rounded-8 {
	border-radius: 8px;
}

.fs-11 {
    font-size: 11px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.lh-44 {
    line-height: 44px;
}

.invert-1 {
    filter: invert(1);
}

.line-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    height: 65px;
}

.z-index-1 {
	z-index: 1;
}

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

.crsr-p {
    cursor: pointer;
}

/* Form Elements */

::placeholder {
	font-size: 15px;
}

form input[type="text"],
form input[type="password"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form select {
	background-color: var(--Color-w);
	height: 45px;
	padding: 0 12px;
	color: var(--Color-d);
	width: 100%;
	margin: 2px 0;
	border: 1px solid var(--Color-d);
}

form button,
form input[type="submit"] {
	width: auto;
	height: 45px;
	border: 0;
	background-color: var(--Color-d);
	color: var(--Color-w);
	text-align: center;
	font-size: 14px;
	padding: 0 20px;
}

textarea {
	width: 100%;
	background-color: var(--Color-w);
	height: 100px;
	padding: 10px;
	resize: none;
	margin: 2px 0;
	border: 1px solid var(--Color-d);
}

.search-form-site form {
	height: 45px;
}

.search-form-site input,
.search-form-site button {
	background-color: var(--Color-e);
}

.search-form-site input,
.search-form-site button {
	color: var(--Color-d);
}

.search-form-button {
	font-size: 19px;
	line-height: 51px;
}

.btn-close:focus {
	box-shadow: none !important;
}

.ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Nav Menu */

.Main_Head {
	border-bottom: 1px solid #f5f1f169;
}

.nav-menu ul{
	display: flex;
	justify-content: space-around;
}

.nav-menu ul li{
	flex-basis: 0;
    flex-grow: 1;
    text-align: center;
	position: relative;
	transition: all 0.4s ease;
}

.nav-menu ul li:hover {
	background-color: #f5f1f121;
	transition: all 0.4s ease;
}

.nav-menu ul li a{
	color: var(--Color-w);
    padding: 54px 0;
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
	font-size: 20px;
}

.nav-menu-R > nav > ul > li {
	border-left: 1px solid #f5f1f169;
}

.nav-menu-L > nav > ul > li {
	border-right: 1px solid #f5f1f169;
}

.nav-menu > nav > ul > li span.position-absolute {
    top: 46%;
    font-size: 10px;
    left: 16px;
    color: var(--Color-w);
    transition: all 0.2s ease;
}

.nav-menu > nav > ul > li:hover span.position-absolute {
	top: 49%;
	transition: all 0.4s ease;
}

.nav-menu > nav > ul > li > ul {
	position: absolute;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #000000a6;
    top: 138px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
	z-index: 3;
}

.nav-menu > nav > ul > li:hover > ul {
	opacity: 1;
	visibility: visible;
	transition: all 0.4s ease;
}

.nav-menu > nav > ul > li > ul li {
	border-top: 1px solid #f5f1f169;
}

/* Main_Head_PAGE */

.Main_Head_PAGE .nav-menu > nav > ul  > li > a{
	color: var(--Color-d);
}

.Main_Head_PAGE .nav-menu > nav > ul > li span.position-absolute {
    color: var(--Color-d);
}

/* Responsive Menu */

.offcanvasExample_ReM i {
	top: 3px;
	font-size: 23px;
}

.responsive-menu-body ul li {
	position: relative;
}

.responsive-menu-body ul li a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid #212529;
	color: var(--Color-w);
	opacity: 0.9;
	transition: all 0.3s ease-in-out;
	position: relative;
	font-size: 15px;
}

.responsive-menu-body ul li a:hover {
	transition: all 0.3s ease-in-out;
	opacity: 1;
}

.responsive-menu-body>ul:last-child>li:last-child>a {
	border-color: transparent !important;
}

.responsive-menu-body>ul>li>:last-child a {
	border-bottom: 0;
}

.responsive-menu-body ul li span.responsive-menu-span {
    position: absolute;
    left: 0;
    top: -4px;
    text-align: center;
    color: var(--Color-w);
    width: 40px;
    height: 40px;
    line-height: 58px;
    cursor: pointer;
    z-index: 5;
}

.responsive-menu-body ul li ul {
	display: none;
}

/* swiper__Main */

.swiper__Main::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0000006e;
    top: 0;
    right: 0;
    z-index: 2;
}

.swiper__Main {
	min-height: 100vh;
	z-index: 1;
}

.swiper__Main img{
	height: 100vh;
	object-fit: cover;
}


@media only screen and (min-width: 992px) {
	.LLn {
		padding-right: 75px;
	}
	
	.LLn::before {
		content: "";
		position: absolute;
		width: 60px;
		height: 3px;
		background-color: var(--Color-y);
		top: 8px;
		right: 0;
	}
}

.BTN_1 {
	border: 1px solid #f5f1f169;
	transition: all 0.3s ease-in-out;
}

.BTN_1::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    width: 5%;
    height: 1px;
    background-color: var(--Color-w);
	transition: all 0.3s ease-in-out;
}

.BTN_1::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 5%;
    height: 1px;
    background-color: var(--Color-w);
	transition: all 0.3s ease-in-out;
}

.BTN_1:hover::before , .BTN_1:hover::after {
	width: 100%;
	transition: all 0.3s ease-in-out;
}

.BTN_1:hover {
	border: 1px solid var(--Color-w);
	transition: all 0.3s ease-in-out;
}

.BTND {
	border: 1px solid var(--Color-d);
	color: var(--Color-d) !important;
}

.BTND:hover {
	border: 1px solid var(--Color-w);
	transition: all 0.3s ease-in-out;
}

.BTNY {
	border-color: var(--Color-y);
	color: var(--Color-y) !important;
}

.BTN_HL::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	background-color: var(--Color-y);
	right: 0;
	top: 47%;
}

.Mini-Avatars img {
    object-fit: contain;
	filter: grayscale(1);
}

.Mini-Avatars img:first-child {
	height: 75px;
}

.Mini-Avatars img:last-child {
	height: 55px;
	position: relative;
	right: -12px;
}

/* footer */

/* footer.position-relative::before , .line-ver::before { */
	content: "";
	position: absolute;
	width: 1px;
	height: 70px;
	top: -40px;
	background-color: var(--Color-y);
	right: 0;
	left: 0;
	margin: 0 auto;
	display: table;
}

.scrollTop {
	transform: rotate(-90deg);
    bottom: 100px;
    left: -6px;
    z-index: 5;
    color: #8f8d8d;
    opacity: 0.5;
    cursor: pointer;
    padding: 6px 0;
    font-weight: bold;
	display: none;
}

.scrollTop i {
	position: relative;
    top: 4px;
    margin-left: 6px;
    font-size: 20px;
}

@media only screen and (min-width: 992px) {
	.RTT {
		transform: rotate(270deg);
	}
}


/* portfoli */

@media only screen and (min-width: 768px) {

	.portfoli_Main .portfoli{
		height: 630px;
	}

	.portfoli_Main .portfoli figure img{
		height: 550px;
	}

}

.portfoli figure {
	transform: scale(1);
	transition: all 0.4s ease;
}

.portfoli figure img{
	width: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: all 0.4s ease;
}

.portfoli:hover figure {
	transform: scale(0.95);
	transition: all 0.4s ease;
}

.portfoli:hover figure img {
	transform: scale(1.1);
	transition: all 0.4s ease;
}

.portfoli span.overflow-hidden {
	height: 25px;
}

/* portfoli-nav */

.portfoli-nav::-webkit-scrollbar {
	display: none;
}

.portfoli-nav ul {
	padding: 0;
	margin: 0;
}

.portfoli-nav > ul > li {
	display: inline-block;
    padding: 0 14px;
    position: relative;
    color: var(--Color-d);
    transition: all 0.4s ease;
}

.portfoli-nav > ul > li::before {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    height: 70%;
    width: 2px;
    background-color: #dfdddd;
    opacity: 0.75;
}

.portfoli-nav > ul > li:first-child:before {
	opacity: 0;
}

.portfoli-nav ul li a {
	font-size: 1.25rem;
	color: var(--Color-d);
	position: relative;
	padding: 18px 0;
	transition: all 0.4s ease;
}

.portfoli-nav ul li:hover > a , .portfoli-nav ul li a:hover  {
	color: var(--Color-y);
	transition: all 0.4s ease;
}

.portfoli-nav ul li ul {
    position: absolute;
    width: 200px;
    right: 0;
    top: 26px;
    opacity: 0;
    visibility: hidden;
    z-index: 20;
    background-color: var(--Color-w);
    padding: 12px;
	padding-top: 16px;
    margin: 0;
    transition: all 0.4s ease;
}

.portfoli-nav ul li:hover>ul {
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
}

.portfoli-nav ul li ul li a{
	display: block;
	padding: 8px;
	font-size: 16px;
}

.portfoli_I figure {
	height: 260px;
	background-color: var(--Color-w);
}

.portfoli_I figure img{
	height: 260px;
	object-fit: cover;
	transition: all 0.4s ease;
}

.portfoli_I figure figcaption {
	background-color: #ffffff93;
	transition: all 0.4s ease;
	opacity: 0;
}

.portfoli_I figure:hover figcaption {
	background-color: var(--Color-w);
	transition: all 0.4s ease;
	opacity: 0.85;
}

.s-portfoli__d li {
	border-bottom: 1px solid var(--Color-e);
}

.s-portfoli__d li:last-child {
	border-bottom: 1px solid transparent;
}

.swiper-button-next, .swiper-button-prev {
    color: #c8d1db;
}

/* Blog__Cr */

.Blog__Cr {
	height: 670px;
}

.Blog__Cr figure {
	transform: scale(1);
	transition: all 0.4s ease;
}

.Blog__Cr:hover figure {
	transform: scale(0.95);
	transition: all 0.4s ease;
}

.Blog__Cr figure img{
	height: 550px;
	object-fit: cover;
	transform: scale(1);
	transition: all 0.4s ease;
}

.Blog__Cr:hover figure img {
	transform: scale(1.1);
	transition: all 0.4s ease;
}

.Blog__Cr figure+span.overflow-hidden {
	height: 25px;
}

.TAG_BLOG {
    height: 32px;
    padding-top: 2px;
    transition: all 0.4s ease;
}

/* TextArea_Text */

.TextArea_Text h1,
.TextArea_Text h2,
.TextArea_Text h3,
.TextArea_Text h4,
.TextArea_Text h5,
.TextArea_Text h6,
.TextArea_Text p {
	margin: 0;
	padding: 0;
	margin: 8px 0;
	color: var(--Color-y);
	line-height: 1.8;
}

.TextArea_Text p {
	color: var(--Color-d);
	font-size: 16px;
    text-align: justify;
}

.TextArea_Text p:last-of-type {
	margin-bottom: 0;
}

.TextArea_Text ul , .TextArea_Text ol {
	margin: 0;
	padding: 0;
	margin: 8px 0;
	margin-right: 16px;
	display: inline-block;
	width: 100%;
}

.TextArea_Text ul li , .TextArea_Text ol li {
	list-style-type: disclosure-open;
	line-height: 1.8;
	opacity: 0.8;
}

.TextArea_Text ol li {
	list-style: decimal;
}

.TextArea_Text table {
	margin: 0;
	padding: 0;
    margin: 16px 0;
}

.TextArea_Text img {
	display: table;
    margin: 16px auto;
}

.TextArea_Text blockquote {
    margin: 16px 0;
    border: 2px dashed var(--Color-d);
    padding: 16px;
	padding-right: 36px;
    text-align: justify;
	position: relative;
}

.TextArea_Text blockquote::before {
    content: "\f191";
    font-family: bootstrap-icons !important;
    position: absolute;
    top: 13px;
    right: 8px;
    font-size: 23px;
    color: var(--Color-d);
}

/* plyr */

.video-plyr::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 100%;
    height: 100%;
    background-color: var(--Color-y);
	opacity: 0.5;
    z-index: -1;
}

.video-plyr::after {
	content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 70px;
    height: 70px;
    background-image: url(img/video-fast-forward.svg);
    z-index: 7;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.plyr--video .plyr__controls {
    background: linear-gradient(#0000, #00000040);
    background: var(--plyr-video-controls-background, linear-gradient(#0000, #00000040));
}

.plyr__video-wrapper {
	background-color: transparent;
}

.h-40 {
	height: 40px;
    line-height: 39px;
    font-size: 14px;
}

/* Paginatino */

.Paginatino-Box span,
.Paginatino-Box a {
	display: inline-block;
	width: 35px;
	height: 35px;
	line-height: 38px;
	text-align: center;
	color: var(--Color-d);
	font-size: 19px;
}

.Paginatino-Box span {
	color: var(--Color-y);
}

.Paginatino-Box::before {
	content: "";
	position: absolute;
	top: 17px;
	right: 0;
	height: 1px;
	width: 30%;
	background-color: var(--Color-y);
}

.Paginatino-Box::after {
	content: "";
	position: absolute;
	top: 17px;
	left: 0;
	height: 1px;
	width: 30%;
	background-color: var(--Color-y);
}

/* comments */

ul.Comments-Rules-Cond {
	display: none;
    padding-right: 12px;
}

ul.Comments-Rules-Cond li{
	list-style: none;
}

.Avatar-Mini {
    height: 45px;
    object-fit: contain;
	filter: saturate(0.5);
}

.swiper__Gallery img {
	min-height: 300px;
    object-fit: cover;
}

.swiper__Gallery .swiper-pagination {
    text-align: left;
    color: var(--Color-w) !important;
}

/* trigger */

.trigger-element {
    width: 1px;
    height: 0;
    background-color: var(--Color-y);
    right: 0;
    left: 0;
    margin: 0 auto;
    display: table;
    transition: all 3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 4;
    bottom: calc(100% - 82px);
}

.trigger-element::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -14px;
    left: 0;
    display: table;
    margin: 0 auto;
    background-color: var(--Color-y);
    width: 31px;
    height: 1px;
}

.trigger-element.active {
    height: 120px;
    transition: all 3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* preloader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--Color-d), var(--Color-d), var(--Color-y));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    position: relative;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color:var(--Color-w);
    animation: spin 1.5s linear infinite;
    margin: 0 auto 20px;
}

.loader-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-text {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--Color-w);
}

.progress-bar {
    width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 15px auto;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--Color-y), var(--Color-w));
    border-radius: 3px;
    transition: width 0.3s ease;
}
