.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25;
  background-repeat: no-repeat;
  background-size: cover;
  /*height: 100vh;*/
  min-height: 100vh;
}

.main > div > h1 {
  color: #4ea37b;
}

.main-txt, .main-txt > p{
  color: #3D4042;
}



@media (min-width: 992px) {
  .main {
    padding: 0px 50px;
    align-self: center;
    /*
    background-image: url('../img/curatenie-d.jpg');
    background-position: center;
    */
  }
  .main > div:first-child {
    max-width: 50%;
  }
  .main > div > h1{
    margin-bottom: 50px;
  }
  .main-txt, .main-txt > p, .beforeoffer-txt, .beforeoffer-txt > p {
    font-size: clamp(1.125rem, 0.724rem + 0.647vw, 1.5rem);
    line-height: 1.5;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 20px;
  }
  .main > div > a > img{
    max-width: 16px;
  }
  .main > div > a {
    height: auto;
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    bottom: 20px;
		left: 0;
		right: 0;
  }
	@keyframes MoveUpDown {
		0%, 100% {
		  bottom: 20px;
		}
		50% {
		  bottom: 1px;
		}
	}
  .offer-desc{
    line-height: 30px;
  }
}

@media (max-width:991px){
  .main {
    padding: 50px 20px;
    /*
    background-image: url('../img/curatenie-m.jpg');
    background-position: center;
    */
  }
  .main > div > h1{
    margin-bottom: 30px;
  }
  .main-txt, .main-txt > p, .beforeoffer-txt, .beforeoffer-txt > p{
    font-size: 18px;
    line-height: 1.5;
  }
  .main > div:last-child {
    align-self: center;
    position: absolute;
    bottom: 60px;
  }
  .main > div > a > img{
    max-width: 12px;
    height: auto;
  }
  .main > div > a {
    height: auto;
    animation: MoveUpDown 2s linear infinite;
    position: absolute;
    bottom: 20px;
		left: 0;
		right: 0;
  }
	@keyframes MoveUpDown {
		0%, 100% {
		  bottom: 20px;
		}
		50% {
		  bottom: 1px;
		}
	}
  .offer-desc{
    line-height: 25px;
  }
}

@media(min-width:768px){
  .mobile{
    display: none !important;
  }  
}

@media(max-width:767px){
  .desktop{
    display: none !important;
  }
}


/* Formularistica */

.contact-link {
  display: flex;
  flex-direction: column;
}

.contact-link > a {
  color: #3d4042;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}

.contact-link > a:hover, .contact-link > a:visited, .contact-link > a:active{
  text-decoration: none;
  color: #3d4042;
}

.form-container{
  display: flex;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
  min-height: 100vh;
  align-items: center;
  background-color: #d8d8d8;
}

.form-i{
  background-color: #F0F0F0;
  padding: 50px;
  border-radius: 10px;
  margin-top: 60px;
  margin-bottom: 60px;
}

/* Formularistica - formular contact */
.wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
	color:#3D4042;
	opacity: 1;
	text-transform:uppercase;
	display:block;
  font-weight: 500;
}

.wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select{
	border: 1.5px solid #3D4042;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	width: 100%;
	height:50px;
	color:#3D4042;
	background:#f0f0f0;
	margin-top:5px;
	margin-bottom:25px;
	
	transition:all 300ms ease;
  box-sizing: border-box;
}

.wpcf7 select{
  width: 100%;
  height: 50px;
  /*background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");*/
  background-image: url("../img/arrow-d.svg");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 5px;
  background-size: 20px 20px;
  outline: none;
  /*
  border-radius: 2px;
  margin-right: 2rem;
  padding: 1rem;
  padding-right: 2rem;
  */
}

.wpcf7 select:focus{
	outline: none;
}

.wpcf7 select::after{
	content: 'p';
	display: block;
	position: absolute;
	width: 15px;
	height: 15px;
	background: #ff0000;
	left: 0;
	bottom: 0;
}

input:focus, textarea:focus{
	border-bottom: 2px solid #59b18f;
	outline: none;
}

.wpcf7-date{
	border-bottom: 1.5px solid #3D4042 !important;
	color:#3D4042 !important;
	background:#f0f0f0;
	border:none;
	width:100%;
	height:50px;
	margin-top:5px;
	margin-bottom:35px;
	padding:10px;
}

.wpcf7-list-item{
	display:block;
	width:100%;
	margin-left:0px !important;
	font-weight:200;
	margin-bottom:10px !important;
}

.checkbox-754, .check-servicii{
	margin-bottom:35px !important;
	display:block;
}

.wpcf7-list-item-label{
	font-weight:400;
}

.wpcf7-textarea, .nf-field-element textarea{
	border: 1.5px solid #3D4042;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	width:100%;
	height:100px;
	resize:vertical;
	color:#3D4042;
	background:#f0f0f0;
	margin-bottom:15px;
	padding-top:10px;
	font-weight:200;
	transition:all 300ms ease;
  box-sizing: border-box;
}

.wpcf7-submit{
	color: #F0F0F0;
	font-weight: 600;
	text-decoration: none;
	background:#3D4042;
	border: none;
  outline: none;
	transition:all 300ms ease;
	display: table;
	position: relative;
  width: 100%;
  padding: 15px 0px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
	}


.wpcf7-submit:hover{
	background:#000;
	text-decoration: none;
}

.wpcf7-not-valid{
	border:1px solid #ff0000;
	margin-bottom:0px;
  box-sizing: border-box;
}

.wpcf7-not-valid-tip, .nf-error-required-error{
	background:#ff0000;
	color:#fff !important;
	font-weight:400;
	font-size:12px !important;
	padding:15px;
	width:100%;
  box-sizing: border-box;
}

.facord{
	font-size:12px!important;
	text-transform:none!important;
	font-weight:300!important;
	display:block!important;
	margin-bottom:35px;
	cursor: pointer;
	position: relative !important;
	float:left !important;
	width:100% !important;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  line-height: 1.5;
  display: inline-block;
  width: 100%;
}

.ftxt{
  padding-left: 30px !important;
}

.facord .wpcf7-list-item{
	width:auto!important
}

.facord input{
	position: absolute !important;
	opacity: 0 !important;
	cursor: pointer !important;
	height: 0 !important;
	width: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
}

.checkmark-contact{
	position: absolute;
	left: 0;
	background-color: #f0f0f0;
	border: 1.5px solid #3D4042;
	transition: all 300ms ease;
  z-index: 90;
}

.facord:hover .checkmark-contact{
	background-color: #ddd;
}
/*
.facord input:checked + .checkmark-contact{
	background-color: #eee !important;
}
*/
  .checkmark-contact:after {
	content: "";
	position: absolute;
	display: none;
	transition: all 300ms ease;
  }

.facord input:checked ~ .checkmark-contact:after{
	display: block !important;
	transition: all 300ms ease;
}

.facord .checkmark-contact:after{
	left: 4px;
	bottom: 2px;
	width: 3px;
	height: 8px;
	border: solid #3D4042;
	border-width: 0 1.5px 1.5px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	transition: all 300ms ease;
}

.facord:hover .checkmark-contact:after{
	border: solid #000;
	border-width: 0 1.5px 1.5px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.acord{
vertical-align:middle;
}

.acord, .acord-text{
display:inline-block;
}

.acord-text{
	margin-left: 30px;
	margin-top:0px !important;
	padding-top:0px !important;
	vertical-align:middle;
}

.form-note{
    font-size:12px;
    margin-bottom:30px;
}

@media (min-width: 992px) {
  .contact-link {
    flex-direction: row;
    margin-top: 110px;
    gap: 50px;
  }
  .contact-link > a {
    font-size: clamp(1rem, 0.599rem + 0.647vw, 1.375rem);
    letter-spacing: 1.2px;
  }
  .contact-link > a:first-child > img{
    max-width: 16px;
    height: auto;
  }
  .contact-link > a:nth-child(2) > img{
    max-width: 22px;
    height: auto;
  }
  .form-container{
    padding: 0px 50px;
    background-image: url('../img/oferta-d.jpg');
    background-position:center;
  }
  .wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
    font-size: 14px;
    line-height: 1.5;
  }
  .wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select, .wpcf7-date, .wpcf7 select, .wpcf7-list-item, .wpcf7-list-item-label, .wpcf7-textarea, .nf-field-element textarea {
    font-size:14px;
  }
  .checkmark-contact{
    height: 13px;
    width: 13px;
  }
}

@media(max-width:991px){
  .contact-link {
    margin-top: 40px;
    /*
    margin-bottom: 40px;
    */
    gap: 30px;
  }
  .contact-link > a:first-child > img{
    max-width: 14px;
    height: auto;
  }
  .contact-link > a:nth-child(2) > img{
    max-width: 20px;
    height: auto;
  }
  .form-container{
    padding: 0px 20px;
    background-image: url('../img/oferta-m.jpg');
    background-position:right;
  }
  .wpcf7 label, .nf-field-label, .wpcf7 ::placeholder{
    font-size: 12px;
    line-height: 1.8;
    margin-top:35px;
  }
  .wpcf7-text, .nf-field-element input, .nf-field-element select, .wpcf7 select, .wpcf7-date, .wpcf7 select, .wpcf7-list-item, .wpcf7-list-item-label, .wpcf7-textarea, .nf-field-element textarea {
    font-size:12px;
  }
  .checkmark-contact{
    height: 10px;
    width: 10px;
  }
  .form-i{
    background-color: rgba(240, 240, 240, 0.95);
    padding: 20px;
    margin-top: 0px;
    /*margin-right: 30px;*/
  }
  
}
