/*
* Title
*/
h1,
.h1 {
  font-size: 2.2rem;
  line-height: 2rem;
  font-family: "OpenSans-Bold", sans-serif;
  color:#252323;
  margin-bottom: 20px;
  margin-top: 0;
}

h2,
.h2 {
  font-size: 1.8rem;
  line-height: 1.6rem;
  color:#252323;
  font-family: "OpenSans-Semi-Bold", sans-serif;
  margin-bottom: 20px;
  margin-top: 0;
}


h3,
.h3 {
  font-size: 1rem;
  font-family: "OpenSans-Semi-Bold-italic", sans-serif;
  color:#252323;
  margin-bottom: 10px;
  margin-top: 0;
}

h4,
.h4 {
  font-size: 1.2rem;
  font-family: "Exo-Medium", sans-serif;
  color:#252323;
  margin-bottom: 15px;
  margin-top: 0;
}

h5,
.h5 {
  font-size: 0.8rem;
  font-family: "Exo-Medium", sans-serif;
  color:#252323;
  margin-bottom: 10px;
  margin-top: 0;
}

/*
-----------------------
* cpn-container
-----------------------
*/
.cpn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/*
-----------------------
* Form
-----------------------
*/

.cpn-form-row {
  display: block;
  margin-bottom: 15px;
}

.cpn-form-row__label {
  display: block;
  margin-bottom: 4px;
  line-height: 0.875rem;
  color: #7d7878 !important; /*old #252323*/
}

.cpn-form-row__label-required {
  color: #ff0000;
}

.cpn-form-row__label-link {
  display: inline-block;
  color: #0671c9;
  border-bottom: solid 1px #0671c9;
}

.cpn-form-row__label-link:hover {
  border-bottom: none;
  color: #0a4d85;
}

.cpn-field ,
input.cpn-field,
select.cpn-field,
textarea.cpn-field {
  display: block;
  width: 100%;
  height: 40px !important;
  font-size: 1rem !important;
  color: #252323;
  background-color: #fff !important;
  padding: 8px 10px !important;
  border: 2px solid #575757 !important;
  box-shadow: none !important;
  margin-bottom: 0px !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

textarea.cpn-field {
  min-height: 150px;
}

input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="checkbox"] {
  width: 0;
  height: 0 !important;
  margin: 0;
  visibility: hidden;
  z-index: -5;
}
input[type="checkbox"] + label {
  padding-left: 35px;
  position: relative;
  cursor: pointer;
}

input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: solid 2px  #575757;
  left: 0;
  top: -2px;
}

input[type="checkbox"] + label::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 12px;
  border: solid 2px  transparent;
  border-top: none;
  border-left: none;
  left: 6px;
  top: 0px;
  transition: all .2s linear;
}

input[type="checkbox"]:checked + label::before {
  background-color: #086afc;
  border-color: #086afc;
}

input[type="checkbox"]:checked + label::after {
  border-color: #fff;
  transform: rotate(45deg);
}

input[type="checkbox"] + label.field--right {
  padding-left: 0;
  padding-right: 35px;
}

input[type="checkbox"] + label.field--right::before {
  left: initial;
  right: 0;
}

input[type="checkbox"] + label.field--right::after  {
  left: initial;
  right: 6px;
}

input[type="password"] {
  padding-right: 40px;
}
.control-stage-password {
  display: inline-block;
  width: 40px;
  height: 36px;
  border-radius: 0 3px 3px 0;
  position: absolute;
  top: 2px;
  right: 2px;
  cursor: pointer;
}

.cpn-field.error {
  border-color: #ff0000 !important;
  margin-bottom: 3px !important;
}

label.error {
  font-size: 0.8rem !important;
  color: #ff0000 !important;
  padding-left: 5px !important;
}

.cpn-form-row-footer {
  text-align: center;
  margin-bottom: 20px;
}

.form-alert {
  background-color: #ff5739;
  text-align: center;
  font-size: 1rem;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  margin: 5px 0;
}


/*
-----------------------
* cpn-btn
-----------------------
*/
.cpn-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-shadow: 0 1px 1px #094529;
  color: #fff;
  background: url('../../images/init/button-bg.png') repeat-x 0 -106px #0a653a;
  line-height: 36px;
  padding: 2px 20px 0;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0 1px 2px #a8a8a8, 0 1px 0 #15c375 inset;
  -moz-box-shadow: 0 1px 2px #a8a8a8, 0 1px 0 #15c375 inset;
  -webkit-box-shadow: 0 1px 2px #a8a8a8, 0 1px 0 #15c375 inset;
  border-top: 1px solid #17985b;
  border-left: 1px solid #307a57;
  border-right: 1px solid #307a57;
  border-bottom: 1px solid #053d23;
  box-shadow: 0 1px 2px #433c2f, 0 1px 0 #1dcf8c inset;
  -moz-box-shadow: 0 1px 2px #433c2f, 0 1px 0 #1dcf8c inset;
  -webkit-box-shadow: 0 1px 2px #433c2f, 0 1px 0 #1dcf8c inset;
  transition: all .25s linear;
}

.cpn-btn--red {
  text-decoration: none;
  color: #fff;
  background: url('../../images/init/button-bg.png') repeat-x 0 0 #ff7e20;
  line-height: 36px;
  padding: 2px 20px 0;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-top: 2px solid #ffd03e;
  border-left: 1px solid #ffca39;
  border-right: 1px solid #ffca39;
  display: inline-block;
  font-weight: bold;
  text-shadow: 0 1px 1px #784311;
  box-shadow: 0 0 2px #084c2c;
  -moz-box-shadow: 0 0 2px #084c2c;
}

.cpn-btn:hover {
  color: #fff;
  box-shadow: 0px 2px 0px rgb(0 0 0 / 51%);
}


/*
-----------------------
* Cpn-X
-----------------------
*/
.cpn-x
{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-moz-justify-content: space-between;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	-o-justify-content: space-between;
	justify-content: space-between;
	-moz-flex-wrap:wrap;
	-webkit-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	-o-flex-wrap:wrap;
	flex-wrap:wrap;
}

.cpn-x.cpn-x--align-vert-center {
  -moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;
	-o-align-items: center;
	align-items: center;
}


.cpn-x__2elem
{
	width: calc(50% - 7.5px);
}

.cpn-x__3elem
{
	width: calc(33.333% - 7.5px);
}

.cpn-x__4elem
{
	width: calc(25% - 7.5px);
}

@media(max-width: 600px) {
  .cpn-x {
    flex-direction: column;
  }

  [class*="cpn-x__"] {
    width: 100%;
  }
}
