html,body {
	padding: 0;
	margin: 0;
	background-color:#fff;
	font-family: 'Ubuntu', sans-serif;
	font-size: 16px;
	font-weight: 500;
}

.top-image{
	width: 100%;
	max-width: 100%;
	margin-bottom: -10vh;
}

.wrapper {
	margin:0 auto;
	max-width: 990px;
	width: 100%;
	background-color:#fff;
}

.content {
	width: 100%;
	max-width: 620px;
	padding: 20px;
	box-sizing: border-box;
	margin: 0 auto;
}

h1 {
	color: #16428b;
	font-size: 28px;
	text-align: center;
	position: relative;
	text-transform: uppercase;
	margin-bottom: 50px;
}
h1:after{
	content: "";
	position: absolute;
	bottom: -15px;
	width: 100px;
	height: 2px;
	background: #16428b;
	left: 50%;
	transform: translateX(-50%);
}

h2 {
	color: #16428b;
	font-size:22px;
	text-align: center;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 500;
	margin-top: 40px;
}
p{
	font-size: 15px;
	line-height: 24px;
	color: #383a3d;
	text-align: justify;
	text-align-last: left;
}
p.gray{
	font-weight: 300;
}

.input-group{
	display:table;
	border-collapse:collapse;
	width:100%;
	margin-bottom: 20px;
	margin-top: 20px;
}
.input-group span{
	display: table-cell;
	width: 175px;
	color: #16428b;
	text-align: left;
	/*padding-left: 9px;*/
	box-sizing: border-box;
}
.input-group select, .input-group textarea{
	display:table-cell;
	color: #16428b;
	border-color: #16428b;
	border-radius: 0;
	background: transparent;
	text-align: center;
	text-align-last: center;
}
.input-group .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border: 1px solid #16428b;
}
.input-group .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.input-group input[type='checkbox']{
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.input-group strong{
	position: relative;
}
input[type='checkbox']:checked ~ strong .checkmark:after {
  display: block;
}
input[type='checkbox']:checked ~ strong .checkmark {
  background-color: #16428b;
}
.input-group .checkmark:after {
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.input-group em {
	font-size: 17px;
}

.input-group textarea{
	text-align: left;
	text-align-last: left;
}
.middle-vertical span{
	vertical-align: middle;
}
.top-vertical span{
	vertical-align: top;
}
.new-input{
	color: #16428b;
	border-color: #16428b;
	border-radius: 0;
	border:none;
	border-bottom: 1px solid;
	background: transparent;
	margin: 20px 0;
	font-size: 16px;
}
.form-buttons{
	width: 100%;
}
.halffield{
	float:right;
	width: 40%;
}
.hidden{
	display: none !important;
}
.topSeparator{
	border-top: 1px solid #16428b;
}
#adaugareProdus{
	display: inline-block;
	padding: 10px 13px;
	background: #16428b;
	color: white;
	cursor: pointer;
}
.removeProduct{
	display: table-cell;
	text-align: center;
	background: #16428b;
	color: white;
	cursor: pointer;
}

label {
	display: block;
	margin:10px 0;
	font-size: 17px;
}

input,textarea,select {
	background-color:#e6e6e6;
	font-size: 16px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border:1px solid #808080;
	width: 100%;
	padding: 6px 0;
	box-sizing: border-box;
}

textarea {
	min-height: 100px;
	padding: 6px 9px;
	font-family: 'Ubuntu', sans-serif;
}

.error {
	border:1px solid red;
}

button {
	padding: 20px 20px;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer;
	background: #e41135;
	color: white;
	border: none;
	font-weight: 300;
	display: block;
	margin: 0 auto;
	text-transform: uppercase;
	font-family: 'Ubuntu', sans-serif;
}

.errmsg {
	color:red;
	font-size:11px;
	padding: 0;
	margin: 0;
	margin-top: -20px;
    margin-bottom: 20px;
}
.input-group .errmsg{
	display: table-row;
}
.termenisiconditii{
	position: relative;
}
.termenisiconditii .errmsg{
	position: absolute;
    bottom: -40px;
}

.labelcheckmark {
	display: inline!important;
	padding-left: 50px;
	font-size:16px!important;
}

em {
	font-size:17px;
	color:#16428b;
	display: inline-block;
	margin: 15px 0;
	font-weight: 500;
}

.visible-mobile { display:none }
.visible-desktop { display:block; }

@media screen and (max-width: 1000px){
	.visible-mobile { display:block; }
	.visible-desktop { display:none; }
	.top-image{
		margin-bottom: 0;
	}
	h2{
		text-align: left;
	}
	.input-group, .input-group span, .input-group select, .input-group textarea{
		display: block;
		text-align-last: left;
	}
	.input-group{
		text-align-last: right;
	}
	.input-group span{
		margin-bottom: 10px;
	}
	.removeProduct{
		display: inline-block;
		width: 40px;
		height: 35px;
		line-height: 35px;
		text-align-last: center; 
	}
	.halffield{
		width: 100%;
		text-align: center;
		margin-top: 20px;
	}
}