/*Калькулятор*/

#calc_container select {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#calc_container input {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#calc_container input[type="number"] {
    min-width: 105px;
    width: 90%;
    margin: 0 10px 0 0 !important;
}

.calc_block {
    text-align: center;
    font-weight: bold;
    margin: 7px 0;
    font-size: 16px;
}

#calc_container input.number {
    width: 90%;
    margin: 0 10px 0 0 !important;
}

.calculator .h2 {
    font-size: 18px;
    margin-top: 0;
}

#order {
    display: none;
}

.styled-radio+.styled-radio-label {
    color: #111;
    line-height: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    min-width: 40px;
    margin: 2px 20px 10px 0;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    vertical-align: top;
}

.styled-radio:checked+.styled-radio-label {
    background: #ffa000;
    color: #fff;
    box-shadow: none;
}

.styled-radio-label.wider {
    padding: 0 15px;
    border-radius: 20px;
    font-size: 12px;
}

.manual-size {
    margin-top: 10px;
    color: #747373;
    font-size: 12px;
}

.type3 .manual-size {
    margin-top: 0;
    margin-left: -8px;
}

.manual-size label {
    color: #747373;
}
.label {
    font-size: 75%;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.label span {
    display: block;
    font-size: 12px;
}

.label:empty {
    display: none;
}
.calc .label {
    font-size: 14px;
    color: #2a2a2a;
    line-height: 1.3;
    padding-top: 10px;
}

.calc .row {
    padding: 5px 0;
}

.calc .row.checkbox {
    margin-top: 5px;
    margin-bottom: 0;
}

.calc .row.checkbox .label {
    padding: 7px 15px;
}

.calc .row.checkbox input[type="checkbox"],
.calc .row input[type="radio"] {
    display:none;
}

button.calcit,
button.calcit:hover,
button.calcit:focus,
button.calcit:active {
    padding: 10px 25px;
    width: 100%;
    margin-top: 30px;
    color: #fff !important;
    font-size: 18px;
    background: #ffa000;
    outline: none;
    border: none !important;
}

.calc .c_info {
    margin: 10px 0;
    font-style: italic;
}

.calc .lined {
    line-height: 1;
}

.old_price {
    font-size: 20px;
    margin-right: 15px;
    text-decoration: line-through;
    color: #ffa000 !important;
}

.pre-select {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    color: #111;
    line-height: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px 6px 30px;
    position: relative;
}

.pre-select:before {
    content: url(/wp-content/themes/printex/img/check.png);
    position: absolute;
    left: 5px;
    top: 4px;
    width: 18px;
    height: 18px;
}

.pre-select.active {
    color: #fff;
    background: #ffa000;
}

#calc_container input[type~="number"] {
    min-width: 105px;
    padding: 0 12px;
    margin: 0 5px;
}
.so-select {
    display: none;
    padding-top: 0;
    margin-top: -20px;
}

#calcResult {
    text-align: right;
    font-size: 34px;
    margin: 30px 0 20px;
}

#calcResult .error {
    font-size: 18px;
    padding-top: 10px;
    color: red;
}

.itogo span {
    color: #3fb618;
}

textarea#pinfo {
    display: none;
}

.paper_group {
    position: relative;
    display: table;
    border-collapse: separate;
    border-spacing: 0 5px;
    width: 100%;
}

.paper_group .up {
    display: table-header-group;
}

.paper_group .down {
    display: table-footer-group;
    opacity: .5;
}

.paper_group .change {
    position: absolute;
    top: 32px;
    left: -23px;
    cursor: pointer;
    display: block;
}

.header_contacts .main_phone {
    font-size: 32px;
    line-height: 58px;
    font-weight: 300;
}

.paper_group.type2 {
    border-spacing: 0 9px;
}

.paper_group.type2 .manual-size {
    display: table-footer-group;
}

#calc_container .check_proizv {
    display: inline-block;
    position: relative;
}

#calc_container input#checkbox {
    height: auto;
    margin-right: 20px;
}

.paper_group.type2 .down {
    display: inline-block;
}

#calc_container input#checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 20px;
}

#calc_container input#checkbox+label {
    position: relative;
    padding: 0 0 0 60px;
    cursor: pointer;
}

#calc_container input#checkbox+label:before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 50px;
    height: 26px;
    border-radius: 13px;
    background: #CDD1DA;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, .2);
    transition: .2s;
}

#calc_container input#checkbox+label:after {
    content: '';
    position: absolute;
    top: -2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 10px;
    background: #FFF;
    transition: .2s;
}

#calc_container input#checkbox:checked+label:before {
    background: #ffa000;
}

#calc_container input#checkbox:checked+label:after {
    left: 26px;
}

.calculator .orderToggle {
    padding: 10px 25px;
    color: #fff;
    font-size: 18px;
    border: none;
    width: 100%;
    display: block;
	background-color: #3fb618;
	text-align:center;
	cursor:pointer;
}

.calculator .orderToggle:hover {
    background-color: #24690e;
}

#calcResult .orderBlock {
    position: absolute;
    right: 0;
    top: 90px;
    z-index: 999;
}

#order #details {
    resize: none;
    outline: none;
    background: transparent;
    border: none;
    padding: 0;
}

.f-tooltip {
    position: absolute;
    right: -30px;
    top: 5px;
    display: inline-block;
    background: transparent;
    color: #ffa000;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    text-align: center;
    margin-left: 10px;
    margin-top: auto;
    margin-bottom: auto;
    border: 1px solid #ffa000;
    font-size: 19px;
    cursor: pointer;
}

.f-tooltip:hover {
    border-color: #d58512;
    color: #d58512;
}

.f-tooltip span {
    box-sizing: border-box;
    display: block;
    background: rgba(0, 0, 0, .7);
    color: white;
    padding: 20px;
    position: absolute;
    left: 50%;
    margin-left: -142px;
    bottom: 33px;
    width: 282px;
    height: auto;
    border-radius: 5px;

    font-size: 14px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.f-tooltip span:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -8px;
    left: 50%;
    margin-left: -8px;
    height: 0;
    width: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, .7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}

.f-tooltip:hover span {
    visibility: visible;
    opacity: 1;
}

.f-tooltip:hover span:after {
    opacity: 1;
    visibility: visible;
}

.paper_group .f-tooltip{
	right: -45px;
    top: 13px;
}

#calc_container .manual-size input[type~="number"] {
    display: inline-block;
    width: 25%;
    margin: 0 5px 0 5px !important;
}
@media(max-width:480px){
	#calc_container input[type~="number"] {
		min-width: 70px;
	}
	#calc_container input.number {
		width: calc(100% - 40px);
	}
}
#costs .visible p:not(.h2), #costs #details {
    color: #000 !important;
    margin-bottom: 2px;
    font-size: 16px !important;
}
#costs #details {
	margin-bottom:25px;
}
#costs .visible p.h2 {
    margin-bottom: 50px;
}