@charset "utf-8";

/*---------------------------------------------------*/
/*	MODALBOXES
/*---------------------------------------------------*/

.itrechos_modalbox{
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 100vh;
	z-index: 20;
	background-color: rgba(0,0,0,.8);
	opacity: 0;
	visibility: hidden;
	
	-webkit-transition: all .3s ease;
	   -moz-transition: all .3s ease;
	    -ms-transition: all .3s ease;
	     -o-transition: all .3s ease;
	        transition: all .3s ease;
}
.itrechos_modalbox.opened{
	opacity: 1;
	visibility: visible;
}
.itrechos_modalbox .box_inner{
	position: absolute;
	top: 70px;
	bottom: 70px;
	width: 968px;
	left: 50%;
	transform: translateX(-53%);
	background-color: #fff;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	transition-delay: .3s;
	
	-webkit-transition: all .3s ease;
	   -moz-transition: all .3s ease;
	    -ms-transition: all .3s ease;
	     -o-transition: all .3s ease;
	        transition: all .3s ease;
}
.itrechos_modalbox.opened .box_inner{
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%);
}
.itrechos_modalbox .close{
	position: fixed;
	left: 100%;
	top: 0px;
	margin-left: 30px;
	z-index: 10;
}
.itrechos_modalbox .close a{
	display: block;
	width: 40px;
	height: 40px;
	text-decoration: none;
	color: #fff;
	border:2px solid #fff;
	position: relative;
	
	-webkit-transition: all .3s ease;
	   -moz-transition: all .3s ease;
	    -ms-transition: all .3s ease;
	     -o-transition: all .3s ease;
	        transition: all .3s ease;
}
.itrechos_modalbox .close a:hover{
	border-radius: 100%;
}
.itrechos_modalbox .close a i{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.itrechos_modalbox .description_wrap{
	position: relative;
	width: 100%;
	height: 100%;
	float: left;
	overflow: hidden;
	padding: 50px;
	overflow-y: scroll;
}
.itrechos_modalbox .description_wrap:before{
	position: fixed;
	content: "";
	top: 0px;
	left: 0px;
	right: 0px;
	height: 50px;
	background-color: #fff;
	z-index: 5;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.itrechos_modalbox .description_wrap:after{
	position: fixed;
	content: "";
	bottom: 0px;
	left: 0px;
	right: 0px;
	height: 50px;
	background-color: #fff;
	z-index: 5;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
.itrechos_modalbox .description_wrap::-webkit-scrollbar{
  width: 11px;
}
.itrechos_modalbox .description_wrap{
  scrollbar-width: thin;
  scrollbar-color: #bbb #fff;
}
.itrechos_modalbox .description_wrap:-webkit-scrollbar-track{
  background: #fff;
}
.itrechos_modalbox .description_wrap::-webkit-scrollbar-thumb{
  background-color: #bbb;
  border-radius: 10px;
  border: 3px solid #fff;
}

/*Portfolio*/

.hidden_content_portfolio{
	display: none;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	z-index: -11;
}
.itrechos_modalbox .hidden_content_portfolio{
	display: none;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	z-index: -11;
}
.itrechos_modalbox .popup_details{
	width: 100%;
	height: auto;
	clear: both;
	float: left;
}
.itrechos_modalbox .popup_details .top_image{
	position: relative;
	overflow: hidden;
	margin-bottom: 30px;
}
.itrechos_modalbox .popup_details .top_image img{
	position: relative;
	width: 100%;
	height: 250px;
}
.itrechos_modalbox .popup_details .information {
	width: 100%;
	height: 250px;
	border-radius: 16px;
	border: 1px solid #1A1D271A;
	padding: 21px 9px 63px 9px;
}
.itrechos_modalbox .popup_details .information h6 {
	font-size: 18px;
	line-height: 28px;
	color: #1A1D27;	
}
.itrechos_modalbox .popup_details .information p {
	font-size: 10px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 1px;
	color: #1A1D27;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	column-gap: 20px;
}
.itrechos_modalbox .popup_details .information p span {
	font-size: 8px;
	font-weight: 400;
	line-height: 20px;
	color: #1A1D27CC;
}
.itrechos_modalbox .popup_details .top_image .main{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: 10px;
}
.itrechos_modalbox .portfolio_main_title{
	width: 100%;
	float: left;
	margin-bottom: 20px;
}
.itrechos_modalbox .portfolio_main_title span a{
	display: inline-block;
	color: var(--bc);
	margin-bottom: 7px;
	
	-webkit-transition: all .3s ease;
	   -moz-transition: all .3s ease;
	    -ms-transition: all .3s ease;
	     -o-transition: all .3s ease;
	        transition: all .3s ease;
}
.itrechos_modalbox .portfolio_main_title span a:hover{
	color: var(--sc);
}
.itrechos_modalbox .portfolio_main_title h3{
	font-size: 20px;
}
.itrechos_modalbox .main_details{
	width: 100%;
	height: auto;
	clear: both;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.itrechos_modalbox .main_details .textbox{
	width: 100%;
}
.itrechos_modalbox .main_details .textbox .textbox_imgs {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}
.itrechos_modalbox .main_details .textbox .textbox_imgs img {
	width: 100%;
	height: 100%;
}
.itrechos_modalbox .main_details h6 {
	line-height: 40px;
	color: #1A1D27;
	
}
.itrechos_modalbox .main_details p{
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #1A1D27;
}
.itrechos_modalbox .main_details .detailbox{
	width: 100%;
}
.itrechos_modalbox .main_details .detailbox .detailbox_type p{
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;	
	color: #1A1D27;
	display: flex;
	align-items: center;
	column-gap: 8px;
}


/*---------------------------------------------------*/
/*	ERLING MODALBOXES MEDIA QUERIES (FOR SMALL DEVICES)
/*---------------------------------------------------*/

@media (max-width: 1600px) {
	.itrechos_modalbox .box_inner{width: 800px;}
	.itrechos_modalbox .description_wrap{padding: 40px;}
	.itrechos_modalbox .description_wrap:before{height: 40px;}
	.itrechos_modalbox .description_wrap:after{height: 40px;}
	.itrechos_modalbox .close{margin-left: 20px;}
}
@media (max-width: 1040px){
	.itrechos_modalbox .box_inner{width: 600px;top: 50px;bottom: 50px;}
	.itrechos_modalbox .description_wrap{padding: 30px;}
	.itrechos_modalbox .description_wrap:before{height: 30px;}
	.itrechos_modalbox .description_wrap:after{height: 30px;}
	.itrechos_modalbox .close a{width: 30px;height: 30px;}
	.itrechos_modalbox .close{margin-left: 15px;}
	.itrechos_modalbox .main_details{flex-direction: column;}
	.itrechos_modalbox .main_details .textbox{width: 100%;padding-right: 0px;margin-bottom: 30px;}
	.itrechos_modalbox .main_details .detailbox{width: 100%;padding-left: 0px;}
}
@media (max-width: 768px){
	.itrechos_modalbox .box_inner{width: 300px;top: 40px;bottom: 40px;}
	.itrechos_modalbox .description_wrap{padding: 30px 25px 25px 25px;}
	.itrechos_modalbox .description_wrap:before{height: 30px;}
	.itrechos_modalbox .description_wrap:after{height: 25px;}
	.itrechos_modalbox .close{margin-left: auto;left: auto;right: 25px;top: 15px;}
	.itrechos_modalbox .close a{color: #000;width: auto;height: auto;border: none;font-size: 20px;}
	.itrechos_modalbox .portfolio_main_title h3{font-size: 19px;}
	.itrechos_modalbox .portfolio_main_title{margin-bottom: 15px;}
	.itrechos_modalbox .additional_images ul{margin: 0px;}
	.itrechos_modalbox .additional_images ul li{width: 100% !important;padding-left: 0px;margin-bottom: 20px;}
	.itrechos_modalbox .news_popup_informations .title h3{font-size: 19px;}
	.itrechos_modalbox .news_popup_informations .title{margin-bottom: 15px;}
}
