/*
MEDIA QUERIES
*/

@media screen and (max-width:1366px){
	.desc .subtitle {
		font-size: 19px;
		line-height: 28px;
	}
	.desc .text {
		font-size: 18px;
		line-height: 24px;
	}
	.avan .title {
		font-size: 22px;
		line-height: 32px;
		letter-spacing: 2px;
	}
	.avan ul li {
		padding: 5% 3%;
		text-align: center;
		line-height: 22px;
		background: #fff;
		margin-bottom: -14px;
		font-size: 18px;
		box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.1);
		width: 25%;
		display: table-cell;
		vertical-align: middle;
	}
	.c-row-header .te {
		font-size: 22px;
		line-height: 22px;
	}
	.button {
		padding: 13px 30px;
		font-size: 18px;
		line-height: 18px;
		letter-spacing: 1px;
	}
	.c-row-body .boxes .box {
		padding: 13px 15px;
	}
	.c-v-body .boxes .box {
		width: 100%;
	}
}

/* Large Devices, Wide Screens */
@media screen and (max-width:1250px){
	.container .cell,
	.container .left,
	.container .right {
		display: block;
		vertical-align: top;
		width: 100%;
	}
	.container .left {
		padding: 20px 0 0 0;
	}
}

@media screen and (max-width:1111px){
	.c-row-body .boxes .box {
		width: 30%;
	}
	.c-v-body .boxes .box {
		width: 100%;
	}
}

/* Medium Devices, Desktops */
@media screen and (max-width:992px){
	.header {
		padding: 3% 0 13%;
	}
	.desc .text {
		font-size: 16px;
		line-height: 22px;
		max-width: 400px;
	}
	.desc .text span {
		display: inline;
	}
	.avan ul li {
		padding: 4% 2%;
		line-height: 20px;
		font-size: 16px;
		line-height: 20px;
		background: #fff;
		width: 25%;
	}
	.avan .title::after {
		border-left: solid 15px #D1DE51;
		border-top: solid 30px transparent;
		border-bottom: solid 30px transparent;
	}
	.avan .title {
		font-size: 20px;
		line-height: 28px;
		letter-spacing: 1px;
	}
	.c-title {
		font-size: 24px;
		line-height: 24px;
	}
	.c-row-header .no {
		font-size: 20px;
		width: 40px;
		height: 40px;
		line-height: 40px;
	}
	.c-row-header {
		top: -22px;
	}
	.c-row-body .boxes .box {
		width: 40%;
	}
	.c-v-body .boxes .box {
		width: 100%;
	}
}

/* Small Devices, Tablets */
@media screen and (max-width:768px){

	.desc .subtitle {
		font-size: 22px;
		line-height: 36px;
	}
	ul.form-header-list li {
		width: 49%;
		padding: 0 0 15px 0;
		margin-right: 2%;
	}
	ul.form-header-list li:nth-child(2n) {
		margin-right: 0;
	}
	ul.form-header-list li strong {
		display: table-cell;
		font-size: 27px;
		line-height: 21px;
		background: #092a5e;
		color: #fff;
		padding: 0;
		border-radius: 0;
		width: 60px;
		height: 100%;
		white-space: nowrap;
		text-align: center;
		vertical-align: middle;
		font-family: tui_new1;
	}
	ul.form-header-list li {
		width: 49%;
		padding: 0;
		margin-right: 2%;
		background: #DCF0FF;
		display: table;
		margin-bottom: 10px;
	}
	ul.form-header-list li div {
		background: #fff;
		margin-top: -25px;
		padding: 14px 20px;
		font-size: 17px;
		line-height: 18px;
		border-right: 1px solid #D0E4F3;
		display: table-cell;
		vertical-align: middle;
		text-align: left;
	}
	.form-header {
		padding: 15px 0 35px 0;
		margin-bottom: 0;
	}
	.form-box {
		margin-top: 30px;
	}
	.form-inputs .input-row {
		float: none;
		margin: 0 0 20px 0;
		width: 100%;
	}
	.form-body {
		padding: 25px;
	}
	.avan ul li {
		width: 100%;
		display: block;
		padding: 25px 15px;
		margin-bottom: 0;
	}
	.avan .title span {
		display: inline-block;
	}
	.avan .title::after {
		display: none;
	}
	.c-row {
		padding: 25px 0;
		float: none;
		width: 100%;
		margin-right: 0;
		margin-bottom: 50px;
	}
	.c-title {
		padding: 0 0 45px 0;
	}
	.container {
		padding-top: 0;
	}
	.form-box {
		margin-top: 0;
	}
	.form-inputs,
	.c-row-body-full {
		padding-top: 50px;
	}
	.c-row-body .boxes .box {
		width: 47%;
	}
	.c-v-body .boxes .box {
		width: 100%;
	}
	.logo a img {
		display: block;
		max-width: 150px;
	}
	.header {
		padding: 20px 0;
	}
	.avan {
		margin-top: 20px;
	}
	.desc h1 {
		font-size: 28px;
		line-height: 34px;
		letter-spacing: 1px;
	}
	.desc .subtitle {
		font-size: 18px;
		line-height: 26px;
	}
	.desc .text {
		font-size: 16px;
		line-height: 24px;
		max-width: 100%;
	}
	.content {
		padding-top: 50px;
	}
	.container {
		margin-bottom: 50px;
	}
	.c-v-body {
		padding: 5% 5px;
	}
	.c-row-t {
		padding-bottom: 0;
	}
	.c-v-body.Zi_nastere,
	.c-v-body.Casatorie,
	.c-v-body.Vara,
	.c-v-body.Paste,
	.c-v-body.Iarna {
		background-position: left center;
	}
}

/* Extra Small Devices, Phones */
@media screen and (max-width:540px){
	ul.form-header-list li {
		width: 100%;
		margin-right: 0;
		display: block;
		margin-bottom: 10px;
	}
	ul.form-header-list li span {
		display: inline-block;
	}
	ul.form-header-list li {
		background: #fff;
	}
	ul.form-header-list li div {
		border-right: 0px solid #fff;
		padding: 15px 10px;
	}
	ul.form-header-list li strong {
		display: table-cell;
		font-size: 19px;
		line-height: 16px;
		width: 60px;
		font-family: tui_new4;
	}
	.desc .subtitle {
		font-size: 20px;
		line-height: 22px;
		padding: 10px 0;
	}
	.desc .subtitle span {
		display: block;
	}
	.c-row-body .boxes .box {
		width: 100%;
		margin: 0 0 10px 0;
	}
	.c-row-body .boxes {
		padding: 0 20px;
	}
	.form-inputs, .c-row-body-full {
		padding: 70px 0 0 0;
	}
	.c-row-body .boxes {
		padding: 0;
	}
	.c-row {
		padding: 25px 10px;
	}
	.c-row-t {
		padding: 25px 0 0 0;
	}
	.boxes-new-2 {
		-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	}
	.c-row-body .boxes .b_in {
		margin: 0 5px 20px 5px;
	}
}

/* Custom, iPhone Retina */ 
@media screen and (max-width:480px){
	.logo {
		text-align: center;
	}
	.header {
		background: #3A5B44;
		padding: 20px 0 0 0;
	}
	.header::before {
		background: rgba(0,0,0,0);
	}
	.avan .title {
		font-size: 16px;
	}
	.desc .text {
		font-size: 15px;
		max-width: 100%;
		color: #fff;
		padding: 15px 0 0 0;
	}
	.desc {
		color: #092a5e;
		padding: 15px 0 0;
		text-align: center;
	}
	.c-v-body .boxes {
		opacity: .8;
		max-width: 100%;
	}
	.form-body {
		padding: 15px;
	}
	.c-v-body {
		padding: 5% 5% 1.5% 5%;
	}
}



