.cf, .cf *, .cf :before, .cf :after {
  box-sizing: border-box;
  outline: none;
}

.cf .cf-headline {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.cf .cf-section__title {
  margin-bottom: 10px;
  font-weight: 700;
}
.cf .cf-section + .cf-section {
  margin-top: 30px;
}
.cf .cf-section-form {
  display: flex;
  justify-content: center;
}
.cf .cf-section-form__left {
  padding-right: 20px;
  flex: 0 0 300px;
  max-width: 300px;
}
.cf .cf-section-form__right {
  padding-left: 20px;
  flex: 0 0 300px;
  max-width: 300px;
}
.cf .cf-field__label {
  margin-bottom: 2px;
}
.cf .cf-field__desc {
  font-size: 12px;
  font-style: italic;
}
.cf .cf-field + .cf-field {
  margin-top: 15px;
}
.cf .cf-field-checkbox .cf-field__desc {
  padding-left: 30px;
}
.cf .cf-input {
  padding: 0 10px;
  width: 100%;
  height: 38px;
  border: 1px solid #ccc;
  background-color: #fff;
}
.cf .cf-input:focus {
  border-color: #f7c51e;
}
.cf .cf-checkbox {
  display: block;
  position: relative;
  padding: 0 0 0 30px;
  line-height: 18px;
  cursor: pointer;
}
.cf .cf-checkbox__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  cursor: pointer;
}
.cf .cf-checkbox__input:checked ~ .cf-checkbox__mark {
  border-color: #f7c51e;
  background-color: #f7c51e;
}
.cf .cf-checkbox__input:checked ~ .cf-checkbox__mark:after {
  display: block;
}
.cf .cf-checkbox__mark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  border: 1px solid #ccc;
}
.cf .cf-checkbox__mark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cf .cf-table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  border: 1px solid #ddd;
  font-size: 14px;
  text-align: left;
  background-color: transparent;
}
.cf .cf-table th {
  background-color: #eee;
}
.cf .cf-table__title {
  width: 100%;
  text-align: center;
}
.cf .cf-table td.cf-table__unit,
.cf .cf-table td.cf-table__quantity {
  text-align: center;
}
.cf .cf-table td.cf-table__price,
.cf .cf-table td.cf-table__sum {
  text-align: right;
}
.cf .cf-table td.cf-table__total {
  text-align: right;
}
.cf .cf-table__totaltitle, .cf .cf-table__total {
  font-weight: 700;
}
.cf .cf-table-total {
  font-weight: 700;
  background-color: #eee;
}
.cf .cf-table > tbody > tr > td,
.cf .cf-table > tbody > tr > th,
.cf .cf-table > tfoot > tr > td,
.cf .cf-table > tfoot > tr > th,
.cf .cf-table > thead > tr > td,
.cf .cf-table > thead > tr > th {
  vertical-align: middle;
  padding: 8px;
  line-height: 1.42857143;
}
.cf .cf-table > thead > tr > th {
  vertical-align: top;
  border-bottom: 2px solid #ddd;
  text-align: center;
}
.cf .cf-table > tbody > tr > td,
.cf .cf-table > tbody > tr > th,
.cf .cf-table > tfoot > tr > td,
.cf .cf-table > tfoot > tr > th,
.cf .cf-table > thead > tr > td,
.cf .cf-table > thead > tr > th {
  border: 1px solid #ddd;
}
.cf .cf-table > thead > tr > td,
.cf .cf-table > thead > tr > th {
  border-bottom-width: 2px;
}
.cf .cf-table > thead:first-child > tr:first-child > td,
.cf .cf-table > thead:first-child > tr:first-child > th {
  border-top: 0;
}
.cf .cf-estimate-data {
  margin-bottom: 20px;
  overflow-x: auto;
}
@media (max-width: 700px) {
  .cf .cf-section-form {
    display: block;
  }
  .cf .cf-section-form__left {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    padding-right: 0;
  }
  .cf .cf-section-form__right {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
  }
}

.cfg .cf-table__name,
.cfdp .cf-table__name {
  width: 45%;
}
.cfg .cf-table__unit,
.cfdp .cf-table__unit {
  width: 10%;
}
.cfg .cf-table__quantity,
.cfdp .cf-table__quantity {
  width: 10%;
}
.cfg .cf-table__price,
.cfdp .cf-table__price {
  width: 20%;
}
.cfg .cf-table__sum,
.cfdp .cf-table__sum {
  width: 15%;
}
.cfg .cf-table__totaltitle,
.cfdp .cf-table__totaltitle {
  width: 85%;
}
.cfg .cf-table__total,
.cfdp .cf-table__total {
  width: 15%;
}

.cfm .cfm-section-estimate .cf-checkbox {
  padding-left: 0;
}
.cfm .cf-table__id,
.cfm .cf-table__checkbox {
  vertical-align: top !important;
  width: 10%;
}
.cfm .cf-table__name {
  width: 45%;
}
.cfm .cf-table__quantity {
  width: 10%;
}
.cfm .cf-table__price {
  width: 20%;
}
.cfm .cf-table__sum {
  width: 15%;
}
.cfm .cf-table__totaltitle {
  width: 85%;
}
.cfm .cf-table__total {
  width: 15%;
}

.cfusp .cfusp-section-estimate .cf-checkbox {
  padding-left: 0;
}
.cfusp .cf-table__id,
.cfusp .cf-table__checkbox {
  vertical-align: top !important;
  width: 10%;
}
.cfusp .cf-table__name {
  width: 45%;
}
.cfusp .cf-table__quantity {
  width: 10%;
}
.cfusp .cf-table__price {
  width: 20%;
}
.cfusp .cf-table__sum {
  width: 15%;
}
.cfusp .cf-table__totaltitle {
  width: 85%;
}
.cfusp .cf-table__total {
  width: 15%;
}

.cfc .cfc-section-estimate .cf-checkbox {
  padding-left: 0;
}
.cfc .cf-table__id,
.cfc .cf-table__checkbox {
  vertical-align: top !important;
  width: 10%;
}
.cfc .cf-table__name {
  width: 45%;
}
.cfc .cf-table__quantity {
  width: 10%;
}
.cfc .cf-table__price {
  width: 20%;
}
.cfc .cf-table__sum {
  width: 15%;
}
.cfc .cf-table__totaltitle {
  width: 85%;
}
.cfc .cf-table__total {
  width: 15%;
}

.cfv .cf-table > tbody > tr > td,
.cfv .cf-table > tbody > tr > th,
.cfv .cf-table > tfoot > tr > td,
.cfv .cf-table > tfoot > tr > th,
.cfv .cf-table > thead > tr > td,
.cfv .cf-table > thead > tr > th {
  vertical-align: top;
}
.cfv .cf-table__name {
  width: 40%;
  font-weight: 700;
}
.cfv .cf-value {
  width: 60%;
}
