@import "reset.css";

a {
  font-family: "DB Sans", Arial;
  color: #333;
  text-decoration: none;
}

.noMargin {
  margin: 0 !important;
}

.db_button {
  margin: 4px;
  display: block;
  font-size: 14px;
  line-height: 1;
  height: 49px;
  width: 280px;
  border: 1px solid #C8CDD2;
  border-radius: 7px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  outline: none;
  cursor: pointer;
  padding: 1px 15px 0 15px;
}

a:hover,
.db_button:hover {
  color: #F01515;
}

.db_button:hover {
  box-shadow: 0 0.5px 3px 0 rgba(145, 145, 145, 0.5);
}

.db_button span {
  display: block;
  float: left;
  text-align: left;
}

.db_button img {
  display: block;
  float: left;
  margin-top: 12px;
}

.db_button span {
  padding-top: 14px;
  width: 220px;
}

.db_button--2 {
  width: 200px;
}

.db_button--2 span {
  width: 140px;
}

.db_button--1 {
  width: 60px;
}


.db_form {
  overflow: hidden;
  position: relative;
  width: 200px;
  background-color: #FFF;
  border: 1px solid #DEDEDE;
  padding: 15px;
}

.db_form--1 {
  background-color: #EAEEF1;
  border: none;
}

.db_form_header {
  height: 31px;
  padding: 0 5px;
  margin-bottom: 30px;
}

.db_form img {
  display: block;
  float: right;
  width: 32px;
}

.db_form--1 .db_form__logo {
  float: right;
  height: 30px;
  width: 74px;
  position: relative;
  right: -21px;
  background-color: #FFF;
  padding: 6px 0 0 17px;
  margin-bottom: 12px;
  box-shadow: -2px 3px 6px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: -2px 3px 6px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: -2px 3px 6px 0 rgba(0, 0, 0, 0.2);
}

.db_form--1 .db_form__logo img {
  margin-right: 15px;
  width: 27px;
  height: 19px;
  float: none;
}

.db_form__input {
  font-size: inherit;
  border: 1px solid #6D7278;
  padding: 7px 10px 6px;
}

.db_form input[placeholder] {
  text-overflow: ellipsis;
  overflow: hidden;
}

.db_form__input {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  background-color: #FFF;
}

.db_form__input label {
  font-size: 13px;
  margin-right: 10px;
  color: #929191;
}

.db_form__input input {
  width: 100%;
}

.db_form button {
  float: right;
  font-size: 14px;
  line-height: 14px;
  font-weight: bold;
  cursor: pointer;
  color: #FFF;
  padding: 10px 40px;
  margin: 4px;
  border: none;
  outline: none;
  background-color: #F01515;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.db_form button:hover {
  background-color: #9A0014;
}

.db_form__wrapper {
  overflow: hidden;
  margin-bottom: 13px;
  padding: 0 5px;
  position: relative;
}

.db_form__wrapper--2col {
  overflow: hidden;
}

.db_form__wrapper--info {
  overflow: initial;
  height: 23px;
}


.db_form__wrapper--2col input {
  float: left;
  width: calc(50% - 7px);
}

.db_form__wrapper--2col .db_form__input--first {
  margin-right: 7px;
}

.db_form__wrapper--2col .db_form__input--last {
  margin-left: 7px;
}

.db_form__radio {
  overflow: hidden;
  margin-bottom: 23px;
  padding: 0 5px;
}

.db_form__radio label,
.db_form__radio input {
  float: left;
}

.db_form__radio input {
  position: absolute;
  left: -99999px;
}

.db_form__radio input:checked + label {
  font-weight: bold
}

.db_form__radio input + label:before {
  content: '';
  display: inline-block;
  height: 15px;
  width: 15px;
  position: relative;
  top: 2px;
  margin-right: 5px;
  border-radius: 50%;
  border: 1px solid #787D87;
  background-color: #FFFFFF;
  box-shadow: inset 1.5px 0 2px 0 rgba(150, 150, 150, 0.5);
}

.db_form__radio input:checked + label:before {
  background: transparent url("../img/activeRadio.png") no-repeat center center;
}

.db_form__radio label {
  margin-right: 10px;
}

.db_form__checkbox,
.db_form__checkbox:checked {
  position: absolute;
  left: -99999px;
}

.db_form__checkbox + label:before {
  content: '';
  display: inline-block;
  height: 15px;
  width: 15px;
  position: relative;
  top: 3px;
  border: 1px solid #787D87;
  margin-right: 5px;
  background-color: #FFF;
  box-shadow: inset 1.5px 1.5px 3px 0 rgba(150, 150, 150, 0.5);
}

.db_form__checkbox:checked + label:before {
  background: transparent url("../img/checked.png") no-repeat center center;
}

.db_form__label {
  float: left;
  margin-top: 1px;
}

#db_form__infoButton {
  position: relative;
  width: 26px;
  height: 26px;
  display: block;
  float: left;
  margin-left: 5px;
  background: transparent url("../img/info_hover.png") no-repeat top left;
}

#db_form__infoButton.active,
#db_form__infoButton:hover {
  background: transparent url("../img/info.png") no-repeat top left;
}

#db_form__infoButton.active:after {
  content: '';
  position: absolute;
  right: 8px;
  top: -16px;
  height: 10px;
  width: 10px;
  border: 1px solid #C8CDD2;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  background-color: #EAEEF1;
  z-index: 10;
}

#db_form__tooltip {
  position: absolute;
  left: 5px;
  bottom: 35px;
  font-size: 11px;
  line-height: 1.4;
  height: 170px;
  width: 160px;
  display: none;
  background-color: #EAEEF1;
  border: 1px solid #C8CDD2;
  font-weight: normal;
  padding: 32px 15px;
}

#db_form__infoButton:hover,
#db_form__tooltip:hover {
  color: #333;
}

#db_form__tooltip .active {
  display: block;
}

.db_form--1 #db_form__tooltip {
  background-color: #787D87;
  color: #FFF;
}

.db_form--1 #db_form__infoButton:after {
  background-color: #787D87;
}


#db_form__tooltip.active {
  display: block;
}

.db_form__button {
  clear: both;
  overflow: hidden;
}

button {
  cursor: pointer;
}

button:hover {
  background-color: #9A0014;
}
