html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}*{box-sizing: border-box;}



@font-face {
	font-family: 'lakastele';
	src: url('font-icons/lakastele-2.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: "lakastele";
	font-style: normal;
	font-weight: normal;
	speak: never;
	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	font-variant: normal;
	text-transform: none;
	line-height: 1em;
	margin-left: .2em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


.icon-fb:before { content: '\e800'; }
.icon-yt:before { content: '\e801'; }
.icon-gm:before { content: '\e802'; }
.icon-close:before { content: '\e803'; }
.icon-call:before { content: '\e804'; }
.icon-chat:before { content: '\e805'; }
.icon-arrow-right:before { content: '\e806'; }
.icon-clock:before { content: '\e807'; }
.icon-close-1:before { content: '\e808'; }
.icon-date:before { content: '\e809'; }
.icon-don-right:before { content: '\e80a'; }
.icon-email:before { content: '\e80b'; }
.icon-image:before { content: '\e80c'; }
.icon-kids:before { content: '\e80d'; }
.icon-play:before { content: '\e80e'; }
.icon-num:before { content: '\e80f'; }



@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/poppins-400.woff') format('woff');
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('fonts/poppins-500.woff') format('woff');
}
@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('fonts/poppins-800.woff') format('woff');
}
html, body {
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
	margin: 0;
	padding: 0;
}


body { 
	background: #f2f2f2; 
	color: #000;
	font-family: 'Poppins', sans-serif; 
	font-weight: normal; 
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	overflow-x: hidden;
	height: 101vh;
	top: 0;
	left: 0;
	overflow-y: scroll;
	line-height: 0;
}



label, input, textarea, button {
	font-family: 'Poppins', sans-serif; 
	-webkit-tap-highlight-color: transparent;
	line-height: normal;
}

input:focus, textarea:focus, button:focus {
	border: 0;
	outline: 0;
}

::-webkit-input-placeholder {
	color: #024ddc;
}
::-moz-placeholder {
	color: #024ddc;
	opacity: 1;
}
:-ms-input-placeholder {
	color: #024ddc;
}
:-moz-placeholder {
	color: #024ddc;
}



input:focus,
textarea:focus {
	border: 0;
	outline: 0;
}

button {
	cursor: pointer;
}
button:focus {
	outline: 0;
}

input::-ms-clear {
    display: none;
}


button,
a {
	text-decoration: none;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
	outline: none;
}


.pseudo {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}


.c2a {
	display: inline-block;
	background: #ed3237;
	padding: 15px 25px;
	border-radius: 7px;
	color: #fff;
	overflow: hidden;
	position: relative;
}

.c2a > span {
	font-weight: 700;
	font-size: 24px;
	line-height: 120%;
	margin-left: 20px;
}
.c2a:hover {
}
.c2a > span[class*="icon-"] {
	margin-left: 0;
	margin-right: 25px;
	display: inline-block;
	font-size: 20px;
}
.c2a.ho3 > span[class*="icon-"] {
	font-size: 25px;
}


.c2a > span[class*="icon-"]  {
	display: inline-block;
	margin: 0;
	-ms-transform: translate(0, -2px);
	-o-transform: translate(0, -2px);
	-moz-transform: translate(0, -2px);
	-webkit-transform: translate(0, -2px);
	transform: translate(0, -2px);
	
	-ms-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-o-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-moz-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-webkit-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	transition: transform .2s cubic-bezier(.47,.03,.5,.99);
}

.c2a:hover span[class*="icon-"]  {
	-ms-transform: translate(12px, -2px);
	-o-transform: translate(12px, -2px);
	-moz-transform: translate(12px, -2px);
	-webkit-transform: translate(12px, -2px);
	transform: translate(12px, -2px);
}


.c2a.ho2 > span[class*="icon-"]  {
	display: inline-block;
	margin: 0;
	-ms-transform: translate(0, 0) rotate(0deg);
	-o-transform: translate(0, 0) rotate(0deg);
	-moz-transform: translate(0, 0) rotate(0deg);
	-webkit-transform: translate(0, 0) rotate(0deg);
	transform: translate(0, 0) rotate(0deg);
	
	-ms-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-o-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-moz-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-webkit-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	transition: transform .2s cubic-bezier(.47,.03,.5,.99);
}

.c2a.ho2:hover span[class*="icon-"]  {
	-ms-transform: translate(6px, -4px) rotate(90deg);
	-o-transform: translate(6px, -4px) rotate(90deg);
	-moz-transform: translate(6px, -4px) rotate(90deg);
	-webkit-transform: translate(6px, -4px) rotate(90deg);
	transform: translate(6px, -4px) rotate(90deg);		
}


@media all and (max-width: 1440px) {
	.c2a {
		padding: 14px 20px;
		border-radius: 7px;
	}
	.c2a > span {
		font-size: 18px;
		margin-left: 10px;
	}
	
	.c2a > span[class*="icon-"] {
		margin-right: 15px;
		font-size: 14px;
		top: -2px;
		position: relative;
	}
	.c2a.ho3 > span[class*="icon-"] {
		font-size: 18px;
	}
}

@media all and (max-width: 768px) {
	.c2a {
		padding: 10px 15px;
		border-radius: 5px;
	}
	.c2a > span {
		font-size: 16px;
		margin-left: 10px;
	}
	.c2a > span[class*="icon-"] {
		margin-right: 15px;
		font-size: 12px;
		top: -2px;
		position: relative;
	}
}	
strong {
	font-weight: 700;
}
body * {
	font-size: inherit;
}

.galery {
	-ms-transform: translateZ(0) translateX(-100%);
	-o-transform: translateZ(0) translateX(-100%);
	-moz-transform: translateZ(0) translateX(-100%);
	-webkit-transform: translateZ(0) translateX(-100%);
	transform: translateZ(0) translateX(-100%);
}
.galery,
nav,
footer,
section {
	display: inline-block;
	width: 100%;
	text-align: center;
	visibility: hidden;
	line-height: 1;
}
nav,
section:nth-of-type(1) {
	visibility: visible;
}
section {
	overflow: hidden;
}

#s2 .boxed * {
	visibility: hidden;
}
#s2 .boxed > h1 {
	visibility: visible;
}
#s2 .boxed > p:nth-of-type(1),
#s2 .boxed > p:nth-of-type(1) strong,
#s2 .boxed > h1 {
	visibility: visible;
}


.boxed {
	display: inline-block;
	width: 1755px;
	margin: 0 auto;
	text-align: left;
	position: relative;
}
@media all and (max-width:1800px) {
	.boxed {
		padding: 0 40px;
		width: 100%;
	}	
}	


@media all and (max-width:420px) {
	.boxed {
		padding: 0 15px;
	}	
}


section {
	background-color: #f2f2f2;
}


/*nav start*/
nav,
nav *,
nav *:before {
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
nav {
	position: fixed;
	height: 220px;
	z-index: 5;
	top: 0;
	left: 0;
	z-index: 10;
	background: transparent;
}

nav.open,
nav.scroll {
	background: #fff;
	height: 80px;
}
nav > .boxed {
	height: 100%;
	position: relative;
}
nav > div > div {
	display: inline-block;
	width: 100%;
}

#mob {
	display: none;
}


#logo {
	display: inline-block;
	width: 255px;
	height: 151px;
	top: 20px;
	right: 0;
	position: absolute;
}

nav.scroll #logo {
	width: 152px;
	height: 90px;
	top: 10px;
	z-index: 1;
	cursor: auto;
}	
#logo > span {
	display: inline-block;
	width: 100%;
	height: 100%;
	background-image: url('images/icons/logo.svg');
	background-size: contain; 
	background-position: center center;
	background-repeat: no-repeat;
}

nav .items {
	position: relative; 
	top: 95px;
	z-index: 0;
}
nav.scroll .items {
	top: 30px;
}

nav .items > a:before {
	content: '';
	display: inline-block;
	width: 100%;
	height: 1px;
	background: #111;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: -6px;
	position: absolute;
	width: 0;
	z-index: 0;
}

nav.scroll .items a:before {
	background: #111;
}	
nav .items > a:hover:before {
	width: 100%;
}
nav .call .icon-call:before,
nav .call .icon-num:before {
	margin: 0;
}	
nav .items > a {
	display: inline-block;
	margin-left: 35px;
	position: relative;
	z-index: 1	
}

nav .items > a:first-of-type {
	margin-left: 0;
}

nav .items > a span {
	color: #111;
	font-size: 16px;
	font-weight: 500;
	display: inline-block;

}
nav.open .items > a span,
nav.scroll .items > a span {
	color: #111;
	text-shadow: none;
	
}	

nav .call .icon-num {
	font-size: 12px;
	width: 105px;
	position: relative;
	top: -1px;
	margin-left: 10px;
}

nav .call .icon-call,
nav .call .icon-num {
	-ms-transition: text-shadow 0s ease;
	-o-transition: text-shadow 0s ease;
	-moz-transition: text-shadow 0s ease;
	-webkit-transition: text-shadow 0s ease;
	transition: text-shadow 0s ease;
}
#menu {
	display: inline-block;
	vertical-align: middle;
	width: 30px;
	height: 20px;
	position: relative;
	cursor: pointer;
}

#menu > span {
	display: inline-block;
	width: 100%;
	height: 2px;
	background: #111;
	position: absolute;
	left: 0;
	margin: auto;
	-ms-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}
nav.open #menu > span,
nav.scroll #menu > span {
	background: #111;
}	
nav #mob .call span {
	color: #111;
}
nav.open #mob .call span,
nav.scroll #mob .call span {
	color: #111;
}		
#menu > span:nth-of-type(1) {
	top: 0;
}
#menu > span:nth-of-type(2) {
	top: 0;
	bottom: 0;
}
nav.open #menu > span:nth-of-type(1) {
	top: 0;
	bottom: 0;
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

#menu > span:nth-of-type(3) {
	bottom: 0;
}

nav.open #menu > span:nth-of-type(3) {
	top: 0;
	bottom: 0;
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

nav.open #menu > span:nth-of-type(2) {
	left: -100%;
	opacity: 0;
}
	

.social {
	display: inline-block;
}	
.gm,
.fb,
.yt {
	display: inline-block;
	font-size: 25px;
	padding: 6px 1px;
	background: #024ddc;
	border-radius: 100%;
}
.gm,
.yt {
	margin-left: 15px;
	font-size: 25px;
}

.gm:hover,
.fb:hover,
.yt:hover {
	background: #111;
}

.gm > span,
.fb > span,
.yt > span {
	color: #fff;
}
nav .social {
	width: 100%;
	text-align: left;
	padding: 40px 40px;
	display: none;
}	
	
@media all and (max-width:1800px) {
	#logo {
		right: 40px;
	}	
}	
@media all and (max-width: 1280px) {
	nav {
		height: 160px;
	}
	nav .items {
		top: 70px;
	}
	nav .items > a span {
		font-size: 13px;
	}
	nav .call .icon-num {
		font-size: 10px;
		width: 89px;
	}
	nav #logo {
		width: 203px;
		height: 120px;
	}	
	nav .items > a {
		margin-left: 25px;
	}
}

@media all and (max-width: 1040px) {
	nav .social {
		display: inline-block;
	}	
	nav .items > a:before {
		display: none;
	}	
	nav.open #logo,
	nav.scroll #logo {
		top: 5px;
	}
	nav.scroll {
		height: 60px;
	}
	#mob {
		display: inline-block;
		position: absolute;
		top: 49px;
		z-index: 2;
	}	
	nav.open #mob,
	nav.scroll #mob {
		top: 20px;
	}
	#mob:before {
		display: inline-block;
		position: absolute;
		left:0;
		top: -20px;
		left: -40px;
		width: 100%;
		height: 60px;
		background: transparent;
		content: '';
		border-bottom: 1px solid transparent;
	}
	nav.open #mob:before {
		background: #fff;
		border-bottom: 1px solid #f2efef;
	}	
	#mob .call {
		margin-left: 20px;
		position: relative;
		top:2px;
	}
	nav {
		height: 60px;
	}
	nav #logo, 
	nav.scroll #logo {
		width: 127px;
		height: 75px;
		z-index: 2;
	}
	
	nav .items {
		background: #fff;
		width: calc(100% + 80px);
		left: -40px;
		top: -398px;
		height: 398px;
		z-index: 0;
	}
	nav.scroll .items {
		top: -398px;
	}	
	
	nav .items .call {
		display: none;
	}
	nav .items > a {
		display: block;
		padding: 15px 40px;
		border-bottom: 1px solid #f2efef;
		margin-left: 0;
	}
	nav .items > a:last-of-type {
		border-bottom: 0;
	}
	nav.open .items,
	nav.open.scroll .items {
		top: 60px;
	}
}
@media all and (max-width:420px) {
	
	#logo {
		right: 15px;
	}	
	#mob:before {
		left: -15px;
	}
	nav .items {
		width: calc(100% + 30px);
		left: -15px;
		height: 358px;
		top: -358px;
	}
	nav.scroll .items {
		top: -358px;
	}		
	nav .items > a {
		padding: 15px 15px;
	}
	nav #logo, 
	nav.scroll #logo {
		width: 123px;
		height: 73px;
		z-index: 2;
	}
	nav .social {
		padding: 20px 15px;
	}	
}

@media all and (max-width:350px) {
	nav #logo {
		top: 5px;
	}
	nav #logo, 
	nav.scroll #logo {
		width: 110px;
		height: 65px;
	}
}
/*nav end*/

.h2,
h2,
h1 {
	font-weight: 800;
	line-height: 120%;
	font-size: 78px;
	margin: 0;
}

@media all and (max-width: 1280px) {
	.h2,
	h2,
	h1 {
		font-size: 63px;
	}
}

@media all and (max-width: 1040px) {
	.h2,
	h2,
	h1 {
		font-size: 50px;
	}
}

@media all and (max-width: 570px) {
	.h2,
	h2,
	h1 {
		font-size: 8.8vw;
	}
}


/*Section 1*/


.c2a.image {
	background: #024ddc;
	margin-right: 20px;
}

@media all and (max-width: 500px) {
	.c2a.image {
		width: 182px;
		display: block;
		margin-bottom: 15px;
	}
}
.c2a.ho3 > span[class*="icon-"]  {
	display: inline-block;
	margin: 0;
	margin-right: 10px;
	position: relative;
	-ms-transform: translateZ(0) scale(1,1);
	-o-transform: translateZ(0) scale(1,1);
	-moz-transform: translateZ(0) scale(1,1);
	-webkit-transform: translateZ(0) scale(1,1);
	transform: translateZ(0) scale(1,1);
	backface-visibility: hidden;
	-ms-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-o-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-moz-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	-webkit-transform: transform .2s cubic-bezier(.47,.03,.5,.99);
	transition: transform .2s cubic-bezier(.47,.03,.5,.99);
	will-change: transform;
}
@media (max-width: 1440px) {
	#s4 .c2a > span[class*="icon-"]  {
		top: 0;
	}
}
.c2a.ho3:hover span[class*="icon-"]  {
	-ms-transform: scale(1.2,1.2);	
	-o-transform: scale(1.2,1.2);	
	-moz-transform: scale(1.2,1.2);	
	-webkit-transform: scale(1.2,1.2);	
	transform: scale(1.2,1.2);		
}

.c2a.send {
	border: 0;
	background: #024ddc;
	overflow: hidden;
}
#s1 {
	margin-top: 200px;
	padding-bottom: 70px;
}

#s1 h1 {
	text-align: center;
	color: #024ddc;
	margin-bottom: 70px;
}

.c2a {
	background: #024ddc;
}
@media all and (max-width: 1440px) {
	.c2a > span[class*="icon-"]  {
		top: 0;
	}
}

@media all and (max-width: 1024px) {
	#s1 {
		margin-top: 150px;
	}	
	#s1 h1 {
		margin-bottom: 50px;
	}
}	


#s1 .ev {
	display: inline-block;
	width: 100%;
	background: #fff;
}

#s1 .ev.rtl {
	direction: rtl;
}
#s1 .ev.ltr {
	direction: ltr;
}

#s1 .ev > div {
	direction: ltr;
	display: inline-block;
} 

#s1 .ev.rtl > div.txt {
	text-align: center;
}
#s1 .ev.rtl > div.img {
	text-align: left;
}
#s1 .ev.ltr > div.txt {
	text-align: center;
}
#s1 .ev.ltr > div.img {
	text-align: right;
}

#s1 .ev > div.img > div {
	position: relative;
}

#s1 .ev.ltr > div.img > div {
	background-position: right center;
}
#s1 .ev.rtl > div.img > div {
	background-position: left center;
}

#s1 .ev > div.txt > div {
	text-align: left;
	display: inline-block;
	width: 85%;
	margin: 0 auto;
}

#s1 .ev > div.txt > div h3 {
	font-size: 48px;
	color: #333;
	line-height: 130%;
	white-space: pre-line;
	margin: 0;
}

#s1 .ev > div.txt > div p {
	font-size: 16px;
	color: #333;
	font-weight: 800;
	line-height: 150%;
	margin: 50px 0;
}

#s1 .ev > div {
	direction: ltr;
	width: 50%;
	display: inline-block;
	vertical-align: middle;
}

#s1 .ev > div.img > div {
	display: inline-block;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	text-align: center;
    height: 27vw;
}

#s1 .ev > div.img > div > span {
	color: #024cd7;
	font-size: 4vw;
    text-shadow: 0.2vw 0.2vw 0.2vw rgb(0,0,0, .6);
	cursor: pointer;
	position: relative; 
	z-index:1;
	opacity: 1;
	-ms-transition: .3s ease color, .6s ease opacity;
	-o-transition: .3s ease color, .6s ease opacity;
	-moz-transition: .3s ease color, .6s ease opacity;
	-webkit-transition: .3s ease color, .6s ease opacity;
	transition: .3s ease color, .6s ease opacity;
}
#s1 .ev > div.img.playing > div > span {
	opacity: 0;
}
#s1 .ev > div.img > div > span:hover {
	color: #ed3237;
}
#s1 .ev > div.img > div > span:before {
	margin: 0;
	width: 5.5vw;
}
#s1 .boxed > div:nth-of-type(1) .img div {
	background-image: url('images/castele/ev-cont.webp')
}
#s1 .boxed > div:nth-of-type(2) .img div {
	background-image: url('images/castele/ev-hang.webp')
}
#s1 .boxed > div:nth-of-type(3) .img div {
	background-image: url('images/castele/ev-slanic.webp')
}
#s1 .boxed > div:nth-of-type(4) .img div {
	background-image: url('images/castele/ev-moinesti.webp')
}
#s1 .boxed > div:nth-of-type(5) .img div {
	background-image: url('images/castele/ev-darmanesti.webp')
}


#s1 .img video {
	cursor: pointer;
}	
.isIE #s1 .img video {
	position: absolute;
	top: 50%;
	left: 50%;

	min-width: 100%; 
	min-height: 100%; 
  
	width: auto;
	height: auto;
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	z-index: 0;
	display: inline-block;
	background-size: cover;
}

#s1 .img video {
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 1;
	-ms-transition: .3s ease opacity;
	-o-transition: .3s ease opacity;
	-moz-transition: .3s ease opacity;
	-webkit-transition: .3s ease opacity;
	transition: .3s ease opacity;
}

#s1 .img video.end {
	opacity: 0;
}
@media all and (max-width: 1440px) {
	#s1 .ev > div.txt > div h3 {
		font-size: 35px;
	}
	#s1 .ev > div.txt > div p   {
		margin: 25px 0;
	}
	#s1 .ev > div.img > div > span {
		font-size: 5vw;
	}
	#s1 .ev > div.img > div > span:before {
		margin: 0;
		width: 6.5vw;
	}
}
@media all and (max-width: 1280px) {
	#s1 .ev > div.txt > div h3 {
		font-size: 25px;
		white-space: normal;
	}
	#s1 .ev > div.txt > div p {
		font-size: 14px;
		margin: 15px 0;
		font-weight: normal;
		white-space: normal;
	}
}
@media all and (max-width: 1024px) {	
	#s1 h1 {
		width: 70%;
		margin-left: auto;
		margin-right: auto;
		text-align: left;
	}
	#s1 .ev {
		background: #f2f2f2;
	}
	#s1 .boxed {
		text-align: center;
	}
	#s1 .ev {
		text-align: center;
		position: relative;
		width: 70%;
		margin: 0 auto;
	}
	#s1 .ev > div.img > div {
		height: 37.1vw;
	}	
	#s1 .ev > div {
		width: 100%;
	}
	#s1 .ev > div.txt,
	#s1 .ev > div.img {
		text-align: center !important;
	}
	#s1 .ev > div.txt {
		margin-top: 50px;
	}	
	#s1 .ev:nth-of-type(1) > div.txt {
		margin-top: 0;
	}	
	#s1 .ev > div.img {
		margin-top: 30px;
		padding-bottom: 80px;
	}
	
	.c2a {
		position: absolute;
		bottom:0;
		left: 0;
	}

	#s1 .ev > div.txt > div {
		width: 100%;
	}
	#s1 .ev > div.img > div > span:hover {
		color: #024cd7;
	}
	#s1 .ev > div.img > div > span {
		font-size: 6vw;
	}
	#s1 .ev > div.img > div > span:before {
		margin: 0;
		width: 8.5vw;
	}
}

@media all and (max-width: 768px) {	
	#s1 h1 {
		width: 100%;
		text-align: left;
	}
	#s1 .boxed {
		text-align: left;
	}
	#s1 .ev {
		width: 100%;
	}
	#s1 .ev > div.img > div {
		height: 51vw;
	}
	#s1 .ev > div.img > div > span {
		font-size: 9vw;
	}
	#s1 .ev > div.img > div > span:before {
		margin: 0;
		width: 13.5vw;
	}
}

@media all and (max-width: 668px) {	
	#s1 .ev > div.img > div {
		height: 50vw;
	}
}

@media all and (max-width: 568px) {	
	#s1 .ev > div.img > div {
		height: 49vw;
	}
}

@media all and (max-width: 500px) {	
.c2a.image {
	margin-bottom: 0 !important;
}
	#s1 .ev > div.img {
		margin-top: 30px;
		padding-bottom: 70px;
	}
}
@media all and (max-width: 420px) {	
	#s1 .boxed > div:nth-of-type(1) .img div {
		background-image: url('images/castele/ev-cont-500.webp')
	}	
	#s1 .boxed > div:nth-of-type(2) .img div {
		background-image: url('images/castele/ev-hang-500.webp')
	}
	#s1 .boxed > div:nth-of-type(3) .img div {
		background-image: url('images/castele/ev-slanic-500.webp')
	}
	.scroll #s1 .boxed > div:nth-of-type(4) .img div {
		background-image: url('images/castele/ev-moinesti-500.webp')
	}	
	.scroll #s1 .boxed > div:nth-of-type(5) .img div {
		background-image: url('images/castele/ev-darmanesti-500.webp')
	}

	#s1 .ev > div.img > div {
		height: 53vw;
	}
	#s1 .ev > div.img > div > span {
		font-size: 11vw;
	}
	#s1 .ev > div.img > div > span:before {
		margin: 0;
		width: 15vw;
	}
}

/*Section 1 end*/

