

#woodster-newcalc-calc-form fieldset {
    border: none;
    min-height: 120px;
    width: 33.33%;
    float: left;
    box-sizing: border-box;
    padding: 0 30px 0 0;
    margin: 0;
}

#edit-currency {
	display: none;
}
#woodster-newcalc-calc-form fieldset label {
	font-weight: bold;
}

#woodster-newcalc-calc-form fieldset div div div label {
	font-weight: normal;
}

#woodster-newcalc-calc-form fieldset .form-item.form-type-textfield > label {
    white-space: nowrap;
}
#woodster-newcalc-calc-form fieldset input[type=text],
#woodster-newcalc-calc-form fieldset select,
#woodster-newcalc-calc-form fieldset input[type=date],
#woodster-newcalc-calc-form fieldset input[type=radio] {
    width: 100%;
    border: 1px solid #dfdfdf;
    padding: 15px;
    box-sizing: border-box;
    margin-top: 10px;
}
#woodster-newcalc-calc-form fieldset input[type=radio] {
    border: none;
    padding-left: 0;
}
#woodster-newcalc-calc-form fieldset input[type=radio] + label {
    padding-left: 8px;
}
#woodster-newcalc-calc-form fieldset input[type=text].error,
#woodster-newcalc-calc-form fieldset input[type=date].error {
    border-color: #8c2e0b;
}
#woodster-newcalc-calc-form fieldset input[type=text].error + span,
#woodster-newcalc-calc-form fieldset input[type=date].error + span{
    color: #8c2e0b;
    position: absolute;
    bottom: -18px;
    left: 0;
    font-size: 12px;
}


#woodster-newcalc-calc-form fieldset .fieldset-wrapper .form-item {
    display: inline-block;
    vertical-align: bottom;
    width: 44%;
    padding-right: 10px;
    position: relative;
}
#woodster-newcalc-calc-form fieldset .fieldset-wrapper .form-item.form-type-radios {
    padding-right: 0;
    display: block;
    float: right;
    margin-top: 29px;
    width: 56%;
}


#woodster-newcalc-calc-form fieldset .fieldset-wrapper .form-item.form-type-radio {
    width: 100%;
}
#woodster-newcalc-calc-form fieldset .fieldset-wrapper .form-type-radio input,
#woodster-newcalc-calc-form fieldset .fieldset-wrapper .form-type-radio label {
    display: inline;
    width: auto;
    margin: 0;
}
#woodster-newcalc-calc-form #edit-payment-type-group .form-item {
    width: 100%;
    padding-right: 0;
}
#woodster-newcalc-calc-form #edit-payment-type-group .form-item-payment-type {
    margin-top: 12px;
}

#woodster-newcalc-calc-form #edit-start-date-group .form-item {
    width: 100%;
}
#woodster-newcalc-calc-form input[type=submit] {
    border: none;
    background: #FCB315;
    color: #fff;
    padding: 15px 50px;
    margin-top: 45px;
    margin-bottom: 45px;
    margin: 45px auto;
    display: block;
    clear: left;
}
.newcalc-review {
    float: left;
    width: 100%;
    text-align: center;
}
.newcalc-review-wrap {
    display: inline-block;
    text-align: left;
    background: #dfdfdf;
    padding: 50px;
    width: 550px;
    font-size: 16px;
}
.newcalc-review-wrap > div {
    line-height: 2;
}
.newcalc-review-wrap .nc-key {
    float: left;
}
.newcalc-review-wrap .nc-value {
    float: right;
    text-align: right;
    font-weight: bold;
}
.nc-download-excel {
    float: left;
    width: 100%;
    margin-top: 40px;
    text-align: center;
}
.nc-download-excel a{
    background: url('file-o.png') no-repeat;
    background-position: 0 50%;
    padding-left: 30px;
}

#nc-result-table {
    width: 100%;
    margin-top: 50px;
    float: left;
    font-size: 13px;
    table-layout: fixed;
}
#nc-result-table thead tr {
    background: #6A97D0;
    color: #fff;
}
#nc-result-table tbody tr:nth-child(2n) {
    background: #f7f7f7;
}
#nc-result-table td,
#nc-result-table th {
    font-weight: normal;
    text-align: center;
    border: none;
    padding: 7px 15px;
    width: auto;
}
#nc-result-table td:first-child,
#nc-result-table th:first-child {
    width: 50px;
    overflow: hidden;
}

#nc-result-table .col-label {
    display: none;
}

.nc-description {
    width: 100%;
    float: left;
}

#woodster-newcalc-calc-form input[type='radio'] {
    position: relative;
    height: 16px;
    width: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
}
#woodster-newcalc-calc-form input[type='radio']::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #dfdfdf;
}
#woodster-newcalc-calc-form input[type='radio']:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FCB315;
    transform: translate(-50%, -50%);
    visibility: visible;
}

#nc-result-accordeon {
    float: left;
    width: 100%;
    display: none;
}
.blue-stripe {
    margin-top: 40px;
    background: #6A97D0;
    float: left;
    width: calc(100% + 50px);
    margin-left: -25px;
    height: 40px;
    margin-bottom: 20px;
}
.nc-acc-item {
    float: left;
    width: 100%;
    margin-bottom: 40px;
    margin: 0 auto 0px;
    padding: 15px;
    box-sizing: border-box;
}
.form-select  {
    white-space: pre-line;
    line-height: 1.5em !important;
}
.nc-acc-head {
    position: relative;
    width: 100%;
    float: left;
    cursor: pointer;
}
.nc-acc-body {
    float: left;
    width: 100%;
}
.nc-acc-head::after {
    content:'';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 7px 7px 7px;
    border-color: transparent transparent #000000 transparent;
    position: absolute;
    right: 0;
    top: 4px;
}
.nc-acc-head.nc-collapsed::after {
    border-width: 7px 7px 0 7px;
    border-color: #000000 transparent transparent transparent;
}
.nc-acc-head.nc-collapsed + .nc-acc-body {
    display: none;
}
.nc-acc-row {
    float: left;
    width: 100%;
    margin-top: 20px;
}
.nc-acc-label {
    float: left;
    width: 50%;
    color: #6A97D0;
}
.nc-acc-value {
    float: left;
    width: 50%;
}

.form-item.form-type-select {
    width: 65% !important;
}

.form-item.form-type-textfield.form-item-commission {
    width: 30% !important;
}
#edit-onetime-commission-type {
    line-height: 1em;
    height: 40px;
    padding: 5px 0 5px 10px !important;
}

.form-item.form-type-checkbox.form-item-date-pay {
    width: 100% !important;
    margin-top: 13px;
}

.form-item.form-item-end-date {
	margin-top: 13px;
	width: 100% !important;
}
#edit-commission-type {
    line-height: 1em;
    height: 40px;
    padding: 5px 0 5px 10px !important;
}

.main__wrapper {
	padding: 30px;
	background: #fff;
}

.form-item-onetime-commission-type, .form-item-commission-type {
    position: relative;
}

.form-item-onetime-commission-type select, .form-item-commission-type select{
    display: block;
    width: 100%; /* от ширины блока div */
    padding: .75rem 2.5rem .75rem 1rem;/* отступы от текста до рамки */
    background: none; /* убираем фон */
    border: 1px solid #ccc; /* рамка */
    border-radius: 3px;/* скругление полей формы */
    -webkit-appearance: none;/* Chrome */
    -moz-appearance: none;/* Firefox */
    appearance: none;/* убираем дефолнтные стрелочки */
    font-family: inherit;/* наследует от родителя */
    font-size: 1rem;
    color: #444;
}

.form-item-onetime-commission-type:after, .form-item-commission-type:after {
    content: "";
    display: block;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #000 transparent transparent transparent;
    pointer-events: none;
    position: absolute;
    top: 59%;
    right: 21px;
    z-index: 1;
    margin-top: -3px;
}

.form-item.form-type-textfield.form-item-amount {
    width: 100%;
}

.form-item.form-type-textfield.form-item-onetime-commission {
    width: 30% !important;
}
.ui-icon.ui-icon-circle-triangle-e ,.ui-icon.ui-icon-circle-triangle-w{
	font-size: 0;
}
.form-item.form-item-amount {
	width: 100% !important;
}

#edit-start-date {
	background: url(/img/pepe_calc_desktop-data.png) no-repeat center;
	background-position-x: 97%;
}

#edit-end-date{
	background: url(/img/pepe_calc_desktop-data.png) no-repeat center;
	background-position-x: 97%;
}
#ui-datepicker-div {
 background: #fff !important; 
}

#nc-result-accordeon .nc-acc-item:nth-child(2n + 1) {

    background: #f7f7f7;
	}
.form-item-amount:after {
    content: '€';
    position: absolute;
    z-index: 9;
    right: 10px;
    top: 56%;
    font-size: 16px;
    padding: 1px 15px;
    pointer-events: none;
}

.form-item-amount {
   position:relative;
}

/* для элемента input c type="checkbox" */
    .form-checkbox:not(.vbo-select) {
      position: absolute;
      z-index: -1;
      opacity: 0;
    }

    /* для элемента label, связанного с .form-checkbox */
    .form-checkbox+label {
      display: inline-flex;
      align-items: center;
      user-select: none;
    }

    /* создание в label псевдоэлемента before со следующими стилями */
    .form-checkbox+label::before {
      content: '';
      display: inline-block;
      width: 1em;
      height: 1em;
      flex-shrink: 0;
      flex-grow: 0;
      border: 1px solid #adb5bd;
      border-radius: 0.25em;
      margin-right: 0.5em;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 50% 50%;
    }

    
    .form-checkbox:not(:disabled):not(:checked)+label:hover::before {
      border-color: #b3d7ff;
    }

   
    .form-checkbox:not(:disabled):active+label::before {
      background-color: #b3d7ff;
      border-color: #b3d7ff;
    }

   
    .form-checkbox:focus+label::before {
      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

   
    .form-checkbox:focus:not(:checked)+label::before {
      border-color: #80bdff;
    }

    
    .form-checkbox:checked+label::before {
      border-color: #fcb315;
      background-color: #fcb315;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
    }

    /* стили для чекбокса, находящегося в состоянии disabled */
    .form-checkbox:disabled+label::before {
      background-color: #e9ecef;
    }
	@media(max-width: 1100px) {
					#woodster-newcalc-calc-form fieldset {
				padding: 5px !important;
			}
	}
	
	
	@media(max-width: 991px) {
#woodster-newcalc-calc-form fieldset {
    width: 50%;
    padding: 0 10px 0 0;
}

fieldset#edit-date-pay-group {
    height: auto !important;
    min-height: 0px !important;
}

input#edit-submit {
    margin: 0 auto;
    display: block;
}

.newcalc-review-wrap {
    padding: 30px;
    width: 500px;
    max-width: 90%;
}
	}
@media(max-width: 550px) {
    #woodster-newcalc-calc-form fieldset {
        width: 100%;
        padding: 0;
    }
    #woodster-newcalc-calc-form input[type=submit]{
        margin-top: 20px;
        width: 100%;
    }
    .newcalc-review-wrap {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
        margin-top: 50px;
    }
    .newcalc-review-wrap .nc-key {
        max-width: 200px;
        line-height: 1;
        margin-bottom: 25px;
    }
    #nc-result-table {
        display: none;
    }
    #nc-result-accordeon {
        display: block;
    }
}