	/* -------------------------------- 

Primary style

-------------------------------- */

.full-width {width:100% !important; margin: 0 auto !important;}
.half-width {width: 50% !important;margin: 30px auto !important;}
.checkbox-legal {text-align:left;}
.cd-form input[type="text"], .cd-form input[type="email"], .cd-form textarea, .cd-form select, .js .floating-labels .cd-label { color: #000!important; }
html .form-control { color: #000; }
html .form-control::-webkit-input-placeholder { color:#000; }
html .form-control:-moz-placeholder { color:#000; }
html .form-control::-moz-placeholder { color:#000; }
html .form-control:-ms-input-placeholder { color:#000; }


/* -------------------------------- 

Form

-------------------------------- */
.cd-form {
  width: 100%;
  max-width: 1600px;
  margin: auto;
}
.cd-form::after {
  clear: both;
  content: "";
  display: table;
}
.cd-form fieldset {
    margin: 0 100px;
}
.cd-form legend {
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 2rem;
}
.cd-form div {
  /* form element wrapper */
  position: relative;
  margin: 20px 0;
  width: 57.5%;
  min-height: 54px;
  max-height: 55px;
}
.cd-form h4, .cd-form .cd-label {
  font-size: 1.3rem;
  color: #7a7a7a;
  margin-bottom: 10px;
}
.cd-form .cd-label {
  display: block;
}
.cd-form select {
  color: #7a7a7a;
  font: normal 18px "lg smart regular", sans-serif;
}
.cd-form input{
  color: black;
  font: 16px "lg smart regular", sans-serif;
}

.cd-form textarea, .cd-form label {
  color: white;
  font: 1.1875vw lg smart regular;
}

.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select,
.cd-form legend {
  display: block;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  height: 44px;
}
.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select {
  /* general style for input elements */
  padding: 12px;
  background-color: #ffffff;
  border: 0;
}
.cd-form input[type="text"]:focus,
.cd-form input[type="email"]:focus,
.cd-form textarea:focus,
.cd-form select:focus {
  outline: none;
  border-color: #2c97de;
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.2);
}
.cd-form .cd-select {
  /* select element wapper */
  position: relative;
  width: 57.5%;
  margin: 18px;
  min-height: 54px;
  max-height: 55px;
}
.cd-form .cd-select::after {
  /* arrow icon for select element */
  content: '';
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 50%;
  margin-top: -8px;
  display: block;
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-arrow.svg") no-repeat center center;
  pointer-events: none;
  background-size: contain;
}
.cd-form select {
  cursor: pointer;
}
.cd-form select::-ms-expand {
  display: none;
}
.cd-form .cd-form-list {
  margin-top: 0;
  margin: auto;
  line-height: 90%;
}
.cd-form .cd-form-list::after {
  clear: both;
  content: "";
  display: table;
}
.cd-form .cd-form-list li {
  /* wrapper for radio and checkbox input types */
  display: inline-block;
  position: static;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0px 0px 0px 0px;
  float: right;
  text-align:left;
}
.cd-form input[type=radio],
.cd-form input[type=checkbox] {
  /* hide original check and radio buttons */
  position: absolute;
  left: -4%;
  top: 25%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  margin: 0px;
  padding: 0;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}
.cd-form input[type="radio"] + label,
.cd-form input[type="checkbox"] + label {
  padding-left: 10%;
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
  /* custom radio and check boxes */
  content: '';
  display: block;
  position: absolute;
  left: 0%;
  top: 25%;
  margin-top: -2%;
  width: 2.375vw;
  height: 2.375vw;
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="checkbox"] + label::before {
  background: #ffffff;
}
.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after {
  border-radius: 50%;
}
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
  border-radius: 0em;
}
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::after {
  background-color: white;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0;
  display: none;
}

.cd-form input[type="checkbox"] + label::after {
  /* custom image for checkbox */
  background-image: url("../img/cd-icon-check.svg");
  background-size: contain;
}

.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::after {
  display: block;
}
.cd-form input[type="radio"]:checked + label::before,
.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::before,
.cd-form input[type="checkbox"]:checked + label::after {
  -webkit-animation: cd-bounce 0.3s;
  -moz-animation: cd-bounce 0.3s;
  animation: cd-bounce 0.3s;
}

.cd-form textarea {
  min-height: 200px;
  resize: vertical;
  overflow: auto;
}



.help-block, .form-error {
  color: red;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 16px;
  font: normal 14px "lg smart regular", sans-serif;
}
.cd-form .error {
  border-color: #e94b35 !important;
}
@media only screen and (min-width: 600px) {
  .cd-form div {
    /* form element wrapper */
    margin: 32px 0;
  }
  .cd-form legend + div {
    /* reduce margin-top for first form element after the legend */
    margin-top: 20px;
  }
  .cd-form h4, .cd-form .cd-label {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .cd-form input[type="text"],
  .cd-form input[type="email"],
  .cd-form textarea,
  .cd-form select {
    padding: 0 0 0 16px;
  }
}

@-webkit-keyframes cd-bounce {
  0%, 100% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.8);
  }
}
@-moz-keyframes cd-bounce {
  0%, 100% {
    -moz-transform: scale(1);
  }
  50% {
    -moz-transform: scale(0.8);
  }
}
@keyframes cd-bounce {
  0%, 100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
  }
}


/* -------------------------------- 

FLoating labels 

-------------------------------- */
.js .floating-labels div {
  margin: 18px;
}
.js .floating-labels .cd-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 18px;
  cursor: text;
  -webkit-transition: top 0.2s, left 0.2s, font-size 0.2s;
  -moz-transition: top 0.2s, left 0.2s, font-size 0.2s;
  transition: top 0.2s, left 0.2s, font-size 0.2s;
}
.js .floating-labels .icon .cd-label {
  /* left: 56px; */
}
.js .floating-labels .cd-label.float {
  /* move label out the input field */
  font-size: 1rem;
  top: -24px;
  left: 0 !important;
  /* color:white; */
}

@media only screen and (max-width: 768px) {
.cd-form .cd-select {
    /* width: 85%; */
    margin: 18px;
}

.cd-form div {
    width: 85%;
}
}

@media only screen and (max-width: 768px) {
	.js .floating-labels .cd-label {
		position: absolute;
		top: 11px;
		left: 11px;
		font-size: 18px;
		cursor: text;
		-webkit-transition: top 0.2s, left 0.2s, font-size 0.2s;
		-moz-transition: top 0.2s, left 0.2s, font-size 0.2s;
		transition: top 0.2s, left 0.2s, font-size 0.2s;
	}
	.cd-form fieldset {
		margin: 0 12px;
	}
  .js .floating-labels div {
    margin: 18px 0;
  }
  .cd-form .cd-select {
    width: 85%;
    margin: 0;
  }

  .cd-form input[type=checkbox] {
    /* hide original check and radio buttons */
    position: absolute;
    left: -6%;
    top: 25%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0px;
    padding: 0;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
  }
	.cd-form .cd-select::after {
		content: '';
		position: absolute;
		z-index: 1;
		right: 16px;
		top: 40%;
		margin-top: -8px;
		display: block;
		width: 16px;
		height: 16px;
		background: url(../img/cd-icon-arrow.svg) no-repeat center center;
		pointer-events: none;
		background-size: contain;
	}
  .cd-form input[type="radio"] + label,
  .cd-form input[type="checkbox"] + label {
    padding-left: 8%;
    font-size: 2.473958333333333vw;
  }
  .cd-form input[type="radio"] + label::before,
  .cd-form input[type="radio"] + label::after,
  .cd-form input[type="checkbox"] + label::before,
  .cd-form input[type="checkbox"] + label::after {
    /* custom radio and check boxes */
    left: 0;
    width: 4.947916666666667vw;
    height: 4.947916666666667vw;
  }
	.cd-form input[type="text"], .cd-form input[type="email"], .cd-form textarea, .cd-form select {
		padding: 0 0 0 12px;
	}	
}

@media only screen and (min-width: 600px) {
  .js .floating-labels legend + div {
    /* reduce margin-top for first form element after the legend */
  }
  .js .floating-labels .cd-label {
    top: 8px;
  }
}


@media only screen and (max-width: 480px) {
.cd-form div {
    width: 100%;
}

.cd-form .cd-select {
    width: 100%;
}

.cd-form .cd-form-list {
    margin-top: 16px;
    width: 100%;
    margin: auto;
}

.half-width {
    width: 90% !important;
    margin: auto !important;
}

.js .floating-labels div {
    margin: 20px 0;
}

.cd-form .cd-select {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

.cd-form .cd-form-list li {
    display: inline-block;
    position: static;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0px 0px 0px 12px;
    float: left;
    text-align: left;
}

}

@media only screen and (max-width: 750px) {
.cd-form .cd-form-list li {
    display: inline-block;
    position: static;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 3px 0px 0px 10px;
    float: left;
    text-align: left;
}


}

/* ipad Mini Portrait */
@media only screen and (width:768px) and (resolution: 163dpi) {
	.full-width {
		width: 100% !important;
		max-width:500px;
	}
}
@media only screen and (max-width: 480px){
	.half-width {
		width: 90% !important;
		margin: auto !important;
		max-width:500px;
	}
}

@media screen and (min-width:1600px) {
	.cd-form textarea, .cd-form label {
		font: 19px lg smart regular;
	}
	.cd-form input[type="radio"] + label::before,
	.cd-form input[type="radio"] + label::after,
	.cd-form input[type="checkbox"] + label::before,
	.cd-form input[type="checkbox"] + label::after {
	  /* custom radio and check boxes */
	  width: 38px;
	  height: 38px;
	}
}