/* @font-face {
	font-family: 'Comfortaa';
	src: url(/assets/fonts/ElMessiri/ElMessiri.ttf);
} */

:root {
	--link-color: #0084a3;
}

body{
	font-family: "ElMessiri", sans-serif;
	font-size: 16px;
	line-height: 1.5em;
}

a{color: var(--link-color);}

* > p{margin-bottom: 0.75em;}
* > p:last-child{margin-bottom: 0;}
* > ul:last-child{margin-bottom: 0;}

.h1, h1 {
    font-size: 32px;
    line-height: 40px;
}
.h2, h2 {
    font-size: 30px;
    line-height: 36px;
}
.h3, h3 {
    font-size: 28px;
    line-height: 34px;
}
.h4, h4 {
    font-size: 26px;
    line-height: 32px;
}
.h5, h5 {
    font-size: 22px;
    line-height: 28px;
}
.h6, h6 {
    font-size: 18px;
    line-height: 26px;
}

.fs14{font-size: 14px;}
.fs13{font-size: 13px;}
.fs12{font-size: 12px;}
.fs11{font-size: 11px;}
.fs10{font-size: 10px;}

.scrolling-wrapper {
	overflow-x: scroll;
	overflow-y: hidden;
	white-space: nowrap;
}

.div_gorisontal_scroll {display: inline-flex;}

.pointer{cursor: pointer;}

.visible_lines_1{
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.visible_lines_2{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.visible_lines_3{
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.text-shadow-black {text-shadow: 1px 1px 7px black;}

.breadcrumb_banner{padding: 6% 0 4% 0;}


/* ====================== LOADING ====================== */
#pageloader-overlay {
	opacity: 0;
	top: 0px;
	left: 0px;
	position: fixed;
	background-color: rgba(0, 0, 0);
	height: 100%;
	width: 100%;
	z-index: 9998;
	-webkit-transition: opacity 0.2s linear;
	-moz-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}
#pageloader-overlay.visible {opacity: 1;}
#pageloader-overlay.hidden {
	opacity: 0;
	height: 0px;
	width: 0px;
	z-index: -10000;
}
#pageloader-overlay .loader-wrapper-outer {
	background-color: transparent;
	z-index: 9999;
	margin: auto;
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: table;
	text-align: center;
	vertical-align: middle;
}
#pageloader-overlay .loader-wrapper-inner {
	display: table-cell;
	vertical-align: middle;
}
#pageloader-overlay .loader {
	margin: auto;
	font-size: 10px;
	position: relative;
	text-indent: -9999em;
	border-top: 8px solid rgba(255, 255, 255, 0.5);
	border-right: 8px solid rgba(255, 255, 255, 0.5);
	border-bottom: 8px solid rgba(255, 255, 255, 0.5);
	border-left: 8px solid #AAA;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: pageloader 1.1s infinite linear;
	animation: pageloader 1.1s infinite linear;
}
#pageloader-overlay .loader,
#pageloader-overlay .loader:after {
	border-radius: 50%;
	width: 50px;
	height: 50px;
}
@-webkit-keyframes pageloader {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes pageloader {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}


.img_ratio_1x1{aspect-ratio: 1;}
.img_fit_cover{object-fit: cover;}
.img_fit_contain{object-fit: contain;}
.img_pos_top{object-position: top;}
.img_pos_center{object-position: center;}


.bg-white-300 {
	background: rgba(255, 255, 255, 0.3) !important;
}

.rounded-bottom-left {
	border-radius: 0;
	border-bottom-left-radius: .25rem!important;
}
.rounded-bottom-right {
	border-radius: 0;
	border-bottom-right-radius: .25rem!important;
}

.square_background{
	background-position: center;
	background-repeat: no-repeat;
	background-color: white;
	background-size: cover;
}


/* ====================== product_option ====================== */
.product_option {
	display: block;
	list-style: outside none none;
	margin: 0 12px 12px 0;
	overflow: hidden;
	padding-left: 0;
}
.product_option li {
	float: left;
	margin: 3px 3px 3px 0;
}
.product_option li label input {
	left: -9000px;
	position: absolute;
}
.product_option li label span {
	cursor: pointer;
	display: block;
	font-weight: 400;
	margin: 0;
	-webkit-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
	padding: 5px 8px;
	border-radius:6px;
	line-height: 1;
	border: 1px solid #a5a5a5;
	color: #a5a5a5;
}
.product_option li label span:hover {
	background-color: #eee;
}
.product_option li label input:checked+span {
	background-color: #000;
	border-color: #000;
	color: white;
}


/* ====================== CART ====================== */
.cart_informer_count {
	font-size: 0.7em;
	top: -10px;
	right: -10px;
}
.cart_informer_count:empty {
	display: none;
}
footer .cart_informer_count {
	right: -16px;
	top: -12px;
}


.carousel-indicators ::marker {content: '';}


/* GO TO UP BUTTON */
.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 70px;
    right: 10px;
    display:none;
	z-index: 1;
}


/* Dark theme */
[data-bs-theme="dark"] .btn-dark {
    border: 1px solid white;
}

/* ====================== bs-icons ====================== */
.bs-icon {
	--bs-icon-size: .75rem;
	display: flex;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	font-size: var(--bs-icon-size);
	width: calc(var(--bs-icon-size) * 2);
	height: calc(var(--bs-icon-size) * 2);
	color: var(--bs-primary);
}
.bs-icon-lg {
	--bs-icon-size: 2rem;
}
.bs-icon-xs {
	--bs-icon-size: 1rem;
	width: calc(var(--bs-icon-size) * 1.5);
	height: calc(var(--bs-icon-size) * 1.5);
}
.bs-icon-sm {
	--bs-icon-size: 1rem;
}
.bs-icon-md {
	--bs-icon-size: 1.5rem;
}
.bs-icon-xl {
	--bs-icon-size: 2.5rem;
}
.bs-icon.bs-icon-primary {
	color: var(--bs-white);
	background: var(--bs-primary);
}
.bs-icon.bs-icon-primary-light {
	color: var(--bs-primary);
	background: rgba(var(--bs-primary-rgb), .2);
}
.bs-icon.bs-icon-semi-white {
	color: var(--bs-primary);
	background: rgba(255, 255, 255, .5);
}
.bs-icon.bs-icon-rounded {
	border-radius: .5rem;
}
.bs-icon.bs-icon-circle {
	border-radius: 50%;
}


/* ==================== BLOCK REVIEWS ==================== */
#block_review_p{margin:0;}
#block_review_p > span{
	cursor:pointer;
	text-decoration:underline;
}
#block_review_div{
	display:none;
}
#block_review_div > p{
	margin: 10px 10px 0 10px;
}
#block_review_div > p > label {
	width: 100%;
	margin: 0;
}
#block_review_div > p > input,
#block_review_div > p > textarea {
	width: 100%;
	margin: 0;
	border: 1px solid #f76f1c;
	border-radius: 4px;
	padding: 10px;
	color: #888888;
}
#block_review_div > p > button {
	background-color: #1ba1e2;
	color: white;
	display: block;
	width: 100%;
	padding: 10px;
	border: 1px solid #232323;
	border-radius: 4px;
}
#block_review_div > p > button:hover {
	background-color: #f76f1c;
}
#block_review_div #capcha{
	display:inline-block;
	width:auto;
	vertical-align:bottom;
}



/* ====================== SCROLLBAR ====================== */
::-webkit-scrollbar{width: 6px; height: 6px;}
::-webkit-scrollbar-button{background-color: #afafafb3; width:0; height:0;}
::-webkit-scrollbar-track{background-color:transparent;}
::-webkit-scrollbar-track-piece{background: transparent;}
::-webkit-scrollbar-thumb{height: 50px; background-color: #afafafb3; border-radius: 3px;}
::-webkit-scrollbar-corner{background-color: #afafafb3;}
::-webkit-resizer{background-color: #afafafb3;}

.scrolling-wrapper::-webkit-scrollbar{height: 0;}


.content2 {
    text-align: justify;
}

.text {
    overflow: hidden;
    max-height: 50px;
    transition: max-height .5s linear;
}

.text.expended {
	max-height: 500px;
}
.toggleButton {
    position: relative;
    margin-top: 10px;
    font-size: 12px;
    cursor: pointer;
}




/* ---------------- MEDIA ---------------- */
@media (min-width: 360px) {
	.categories {
		height: 190px;
	}
	.services {
		height: 200px;
	}
	.projects {
		height: 240px;
	}
	.articles {
		height: 180px;
	}
	.carousel_height {
		height: 280px;
	}
	.descr_line {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2; /* number of lines to show */
		line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.title_line {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 1; /* number of lines to show */
		line-clamp: 1;
		-webkit-box-orient: vertical;
	}
	.card_title {
		font-size: 16px;
		line-height:20px;
	}
	.card_line {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 1; /* number of lines to show */
		line-clamp: 1;
		-webkit-box-orient: vertical;
	}
	.descr_line {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 1; /* number of lines to show */
		line-clamp: 1;
		-webkit-box-orient: vertical;
	}
	.card-height {
		height: 230px;
	}
	.bnr_height {
		height: 230px;
	}
	.category_scroll {
		height: 120px;
	}
	.card_descr {
		font-size: 12px;
	}
	body > main {
		padding-bottom: 60px;
	}
	.title_bg {
		max-width:150px;
	}
}

@media (min-width: 768px) {
	.categories {
		height: 380px;
	}
	.category {
		height: 420px;
		font-size: 14px;
	}
	.articles {
		height: 320px;
	}
	.carousel_height {
		height: 560px;
	}
	.descr_line {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 3; /* number of lines to show */
		line-clamp: 3;
		-webkit-box-orient: vertical;
	}
	.title_line {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2; /* number of lines to show */
		line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.card_title {
		font-size: 18px;
		line-height:22px;
	}
	.card_line {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2; /* number of lines to show */
		line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.descr_line {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 2; /* number of lines to show */
		line-clamp: 2;
		-webkit-box-orient: vertical;
	}
	.card-height {
		height: 330px;
	}
	.bnr_height {
		height: 330px;
	}
	.category_scroll {
		height: 230px;
	}
	.services {
		height: 340px;
	}
	.projects {
		height: 380px;
	}
	.card_descr {
		font-size: 16px;
	}
	body > main {
		padding-bottom: 0;
	}
	.title_bg {
		max-width:260px;
	}
}
@media (max-width: 768px) {
	.h1, h1 {
		font-size: 26px;
		line-height: 32px;
	}
	.h2, h2 {
		font-size: 24px;
		line-height: 30px;
	}
	.h3, h3 {
		font-size: 22px;
		line-height: 28px;
	}
	.h4, h4 {
		font-size: 20px;
		line-height: 26px;
	}
	.h5, h5 {
		font-size: 18px;
		line-height: 24px;
	}
	.h6, h6 {
		font-size: 16px;
		line-height: 22px;
	}
}