#viewPort {
    float: left;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

#controls {
    float: left;
}

#controls table tr td {
    padding: 0 5px;
}

#controls table tr td:nth-of-type(3),
#controls table tr td:nth-of-type(4) {
    font-size: 10px;
    text-align: right;
}

#controls input[type="text"] {
    width: 60px;
}

#controls input[type="checkbox"] {
    vertical-align: middle;
}

#controls label {
    display: inline-block;
    vertical-align: middle;
}

.trinckle-gears {
    width: 100%;
}

.configurator-section {
    margin-top: 35px;
}

.config-top-row {
    padding: 21px 15px;
    background: #a8a8a7;
    text-align: left;
    color: #000;
    font-size: 15px;
    line-height: 19px;
    width: 20%;
    float: left;
    height: 61px;
    font-weight: 400;
}

.config-top-row.bottom {
    background: #ececec;
}

.config-top-row.bottom span {
    padding-left: 0;
}

.config-top-row.bottom .form-control {
}

.config-top-row:last-child {
    border-right: 0;
}

.bold-font {
    font-weight: bold;
}

.config-top-row table {
    width: 100%;
    position: relative;
    top: -1px;
}

.config-top-row i {
    display: inline-block;
    margin-right: 20px;
}

/*.config-top-row a i { margin-right: 0; position: relative; top: -2px; margin-left: 5px; }*/
.config-top-row a i {
    margin-right: 0;
    position: relative;
    top: -1px;
    margin-left: 5px;
    max-width: 16px;
}

.config-top-row a i img {
    max-width: 100%;
}

.config-top-row a:hover {
    opacity: 0.8;
}

.config-top-row label {
    font-size: 15px;
    line-height: 19px;
    font-weight: 400;
    color: #000;
    padding: 0;
    margin: 0;
    position: relative;
    top: 0;
}

.config-top-row .form-control {
    display: inline-block;
    width: 93px;
    max-width: 100%;
    border: none !important;
    border-bottom: 1px solid #FFF !important;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    -moz-box-shadow: none;
    padding: 3px;
    color: #000;
    font-size: 15px;
    line-height: 19px;
    font-weight: 400;
    height: 21px;
}

.config-block {
    background: #FFF;
    margin-right: 40px;
    color: #fff;
    padding: 40px 15px;
    margin-bottom: 2px;
    position: relative;
}

.product-info-block {
    position: absolute;
    padding: 15px;
    background: #a8a8a7;
    color: #fff;
    z-index: 1;
    top: 20px;
    left: 20px;
    width: 330px;
    height: auto;
    overflow: auto;
    display: none;
}

.product-info-block a i {
    display: inline-block;
    max-width: 20px;
}

.product-info-block a i img {
    max-width: 100%;
}

.configurator-section .product-info-block p {
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    padding-bottom: 0;
    border: none;
}

.product-info-block a {
    position: absolute;
    right: 5px;
    top: 5px;
}

.config-outer-block .legends {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    margin: 0 auto;
}

.config-outer-block .legends img {
    margin: 0 auto;
}

.config-outer-block .legends-img {
    display: none;
}

.config-outer-block .legends-img a {
    display: block;
}

.config-outer-block.active .legends-img {
    display: block;
}

.config-outer-block.active #viewPort {
    display: none;
}

.config-block .config-inner-block {
    margin-bottom: 22px;
}

.config-block .slider-table {
    width: 100%;
}

.config-block .slider-table tr td {
    font-size: 15px;
    line-height: 19px;
    font-weight: 400;
    color: #000;
    text-align: center;
    padding: 0 5px;
    text-align: left;
    height: 21px;
}

.config-block .slider-table tr td:nth-child(2) {
    border-right: 0;
    width: 13%;
    text-align: right;
}

.config-block .slider-table tr td:nth-child(3) {
}

.config-block .slider-table tr td:nth-child(4) {
}

.config-block .slider-table tr td:nth-last-child(2) {
    border-left: 0;
    width: 13%;
}

.config-block .slider-table tr td .range-box {
    border: none !important;
    width: 100%;
    height: 21px;
}

.config-block .row {
    margin-bottom: 0;
    padding: 4px 0;
    display: flex;
    align-items: center;
}

.config-block h3 {
    font-size: 15px;
    line-height: 30px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0;
}

.config-block h4 {
    font-size: 15px;
    line-height: 15px;
    font-weight: 400;
    color: #000;
    position: relative;
    top: 0px;
    margin: 0
}

.config-block .form-control {
    width: auto;
    max-width: 100%;
    box-shadow: none;
    border: 1px solid #e8e8e8 !important;
    background: transparent;
    border-radius: 0;
    padding: 0 3px;
    color: #000;
    font-size: 15px;
    line-height: 18px;
    font-weight: 400;
    height: 20px;
}

.config-block select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent url("../img/down-arrow-black.png") no-repeat 95% center;
    background-size: 8px;
    padding-right: 15px;
    width: 100%;
}

.trinckle-gears .config-block select.form-control {
    line-height: 23px;
    height: 25px;
    font-size: 1.35rem;
}

.config-block .form-control option {
    color: #000;
}

.final-block li {
    float: left;
    border-right: 10px solid #fff;
    background: #a8a8a7;
    height: 61px;
}

.final-block li:last-child {
    border-right: 0;
}

.final-block li.add-terminal { /*width: 24.6%;*/
    width: 28.7%;
}

.final-block li.minimize-legend { /*width: 28.6%;*/
    width: 20%;
}

.final-block li.to-basket {
    width: 20%;
    background: #96bf0d;
}

.final-block li.to-basket a {
    font-size: 22px;
    line-height: 21px;
    font-weight: 700;
}

.final-block li.to-basket a i {
    position: relative;
    display: inline-block;
    top: 2px;
    left: -4px;
    width: 14px;
}

.final-block li.green a {
    background: url(/out/phoenix/img/cart.png) no-repeat 12px;
    height: 61px;
    color: #fff;
    padding-left: 35px;
}

.final-block li a {
    padding: 21px 5px;
    text-align: center;
    background: #ececec;
    display: block;
    color: #000;
    text-transform: none;
    font-size: 15px;
    line-height: 19px;
    position: relative; /*min-height: 75px;*/
}

.final-block li a:hover {
    background: #009EC0;
    color: #fff;
}

.final-block li a span {
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.final-block li.green a:hover {
    background: url(/out/phoenix/img/cart.png) no-repeat 12px #0098a1;
    padding-left: 35px;
}

.final-block li.total-price {
    background: #ececec;
    width: 20%;
}

.final-block li.total-price table {
    width: 100%;
}

.final-block li.total-price table tr td {
    font-size: 15px;
    line-height: 19px;
    text-align: left;
    font-weight: bold;
    color: #000;
    padding: 11px 15px;
    text-transform: uppercase;
}

.final-block li.total-price table tr td span {
    text-transform: none;
    font-size: 15px;
    line-height: 19px;
    font-weight: bold;
    display: block;
}

.final-block li.total-price table tr td span a {
    color: #000;
}

.dxfinal-block label {
    color: white;
}

.final-block li {
    min-height: 61px;
}

.final-block li:nth-child(1) {
    width: 22%;
}

.final-block li:nth-child(2) {
    width: 16%;
}

.final-block li:nth-child(3) {
    width: 16%;
}

.final-block li:nth-child(4) {
    width: 22%;
}

.final-block li:nth-child(5) {
    width: 24%;
}

.dxfinal-block {
    color: white;
    height: 85px;
}

.dxQty {
    width: 80px;
    color: black;
    display: inline-block;
}

/*.dxTotalPriceLabel { font-weight:800; font-size:20px; }
.dxCalcedTotalPrice { font-weight:800; font-size:20px;}*/

.dxfinal-block a {
    padding: 30px 10px;
    text-align: center;
    display: block;
    color: white;
    text-transform: uppercase;
    font-size: 21.33px;
    line-height: 25.33px;
    position: relative;
}

.dxfinal-block a:after {
    position: absolute;
    content: "";
    left: 1px;
    top: 0;
    background: #708e0a;
    width: 0;
    transition: 0.3s all;
    -webkit-transition: 0.3s all;
    -moz-transition: 0.3s all;
    -ms-transition: 0.3s all;
    height: 100%;
}

.dxfinal-block a:hover:after {
    width: 100%;
}

.dxTaxInfo {
    display: inline-block;
}

.dxTaxInfo a {
    display: inline;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    padding: 0px !important;
    text-transform: none;
}

.dxTaxInfo a:after {
    background: none !important;
}

.dx-minimize-legend {
    border-right: 2px solid #fff;
    background: #a8a8a7;
    font-weight: 400;
}

.dx-singleprice {
    border-right: 2px solid #fff;
    background: #a8a8a7;
    font-weight: 400;
}

.dx-quantity {
    background: #545454;
    border-right: 2px solid #fff;
    font-weight: 400;
    padding-top: 25px;
}

.dx-totalprice {
    background: #96bf0d;
    border-right: 2px solid #fff;
    font-weight: 400;
}

.dx-tobasket {
    background: #96bf0d;
    border-right: 2px solid #fff;
    font-weight: 400;
}

.dx-tobasket a i {
    position: relative;
    display: inline-block;
    top: 2px;
    left: -4px;
    width: 14px;
}

.dx-tobasket a span {
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.iradio_minimal {
    position: relative;
    left: -20px;
    top: 13px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border: 1px solid #000;
}

.iradio_minimal.checked:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 8px;
    height: 8px;
    background: #000;
}

.category-list {
    margin: 23px 0;
}

.category-list li {
    display: block;
    width: 9%;
    margin-right: 5px;
    position: relative;
    top: 0;
    float: left;
    padding-left: 5px;
    min-height: 161px;
}

.trinckle-gears .category-list li {
    width: 8%;
}

.trinckle-gears .category-list li.material-li {
    width:9.6%;
}

@media(max-width:1400px){
    .trinckle-gears .category-list li, .trinckle-gears .category-list li.material-li {
        width:auto;
    }

}

.category-list li em {
    position: absolute;
    top: 50%;
    left: 35%;
    cursor: pointer;
    display: none;
}

.category-list li.checked em {
    display: block;
}

.category-list li label {
    white-space: inherit;
    position: relative;
    padding: 0 0 0 18px;
    margin: 0;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    color: #000;
    font-weight: 400;
    line-height: 19px;
}

.category-list li label span:not(.selection-title):not(.fakeCheckbox) {
    display: block;
}

.category-list li label .selection-title {
    display: inline-block;
    height: 57px;
    white-space: pre-wrap;
}

.category-list li i {
    display: block;
    cursor: pointer;
    max-width: 85px;
}

.category-list li i img.selected {
    display: none;
}

.category-list li.checked i img {
    display: none;
}

.category-list li.checked i img.selected {
    display: inline-block;
}

.configurator-section .config-outer-block .final-block li.minimize-legend {
    display: none;
}

.category-list li i img {
    max-width: 100%;
}

.trinckle-gears .category-list li i img {
    margin-top: 10px;
    width: 100%;
    max-width: 85px;
}

.category-list .iradio_minimal {
    position: absolute;
    top: 5px;
    left: 3px;
}

h2.title {
    font-weight: 600;
    text-transform: uppercase;
    color: #96be0d;
    padding: 0 0 12px 0;
    margin: 0;
    font-size: 38px;
    line-height: 1.5em;
}

.config-top-row span {
    position: relative;
    padding-left: 25px;
    float: left;
    top: 0;
}

.config-top-row span i {
    position: absolute;
    top: 4px;
    left: 0;
    margin: 0;
    max-width: 13px
}

.config-block .col-md-5.col-sm-9 {
    width: 42%;
}

.config-block .col-md-2.col-sm-3 {
    width: 16%;
}

.config-block .col-md-2.col-sm-3.col-xs-6 {
    width: 20%;
}

.config-block .col-md-5 {
    width: 42%
}

.configurator-section .scale-config {
    background: transparent;
    padding: 0;
    max-width: 240px;
    width: 100%;
}

.config-outer-block #viewPort {
    max-width: 100%;
}

/*.configurator-section p {border-bottom: 1px solid #96be0d;padding-bottom: 10px;}*/
.configurator-section p {
    padding-bottom: 10px;
}

.configurator-section h2.title {
    margin-top: 20px;
}

/* Slider */

.scale-config .ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 1;
    width: 11px;
    height: 11px;
    cursor: default;
    -ms-touch-action: none;
    touch-action: none;
    background: #55bac0;
    border: 2px solid #f5f5f5;
    top: -5px;
    border-radius: 100%;
    -ms-border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
}

.range-box {
    width: 240px;
    height: 22px;
    padding-left: 5px;
    padding-right: 5px;
}

.trinckle_slider {
    width: 100%;
    height: 2px;
    position: relative;
    display: inline-block;
    margin-left: -5px;
    max-width: 100%;
    background: #d5d5d5;
}

.dxPaddedLeft {
    padding-left: 35px;
}

.dxDrillHoleField {
    width: 70px !important;
    display: inline-block;
}

.tocartPopup {
    position: fixed;
    left: 0px;
    top: 0px;
    background-color: gray;
    opacity: 0.9;
    width: 100vw;
    height: 100vh;
    z-index: 20;
}

.tocartPopupContainer {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 21;
}

.tocartPopupInner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 1px;
}

.tocartPopupInner2 {
    position: absolute;
    transform: translate(-50%,-50%);
    background-color: white;
    z-index: 25;
    text-align: center;
    color: #96be0d;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    width: 90%;
    max-width: 930px;
    height: auto;
}

.tocartPopupInner2 .title, .tocartPopupInner2 h4 {
    text-transform: initial;
    text-align: left;
}

.tocartPopupInner2 .title {
    margin-bottom: 50px;
}

.tocartPopupInner2 h4 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 19px;
}

.tocartPopupInner2 .popup-body {
    padding: 40px;
}

.tocartPopupInner3 {
    position: absolute;
    transform: translate(-50%,-50%);
    width: 550px;
    height: 200px;
    background-color: white;
    z-index: 26;
    padding: 20px;
    text-align: center;
    color: #96be0d;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
}

.btt_tocart {
    color: #fff;
    text-transform: uppercase;
    background: #96be0d;
    border: none;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 12px;
    white-space: normal;
}

.btt_newobject {
    color: #fff;
    text-transform: uppercase;
    background: #96be0d;
    border: none;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 12px;
    white-space: normal;
}

.iradio_minimal {
    border-radius: 0;
    -ms-border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border: 1px solid #000;
}

.iradio_minimal.checked {
    border-radius: 0;
    -ms-border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.config-bg-block .row:nth-child(even) {
    background: #f0f0f0;
}

.config-bg-block .row:nth-child(1) {
    margin-bottom: 10px;
}

.category-outer h3 {
    font-weight: 300;
    font-size: 30px;
    line-height: 42px;
}

.trinckle-gears .category-outer {
    list-style: none;
    width: 100%;
}

.desired-geo {
    font-size: 15px;
    font-weight: 400;
    color: #000;
    padding: 25px 0 75px;
}

.config-bg-block .row.dummy {
    margin: 0;
    padding: 0;
}

.config-bg-hidden .row:nth-child(odd) {
    background: #f6f6f6;
}

/* Checkbox*/
.config-block .checkbox-outer label {
    position: relative;
    padding: 0 0 0 30px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 13px;
    color: #666666;
    font-weight: 600;
    line-height: 20px;
    text-transform: none;
}

.config-block .checkbox-outer .icheckbox_square {
    width: 10px;
    height: 10px;
    border-radius: 0;
    -ms-border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #000;
    cursor: pointer;
    display: inline-block;
    position: absolute;
    left: 4px;
    top: 6px;
}

.config-block .checkbox-outer .icheckbox_square.checked {
    background: #000;
    border: 1px solid #000;
}

.drillHolesTable tr td, .drillHolesTable tr th {
    color: #000;
}

.config-option-block {
    margin-top: 30px;
}

.showConnectorParams.config-bg-hidden {
    margin-top: 30px;
}

input[type="radio"].paramateParam {
    display: none;
}

.config-block .form-control.greyed-out {
    background: #ddd;
    opacity: 0.5;
}

.category-list input[type="radio"] + label .fakeCheckbox {
    margin: 0 !important;
    padding: 0 !important;
    width: 17px !important;
    height: 17px !important;
    border: 2px solid #96be0d !important;
    border-radius: 4px !important;
    vertical-align: middle !important;
    background-position: center center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    transition: background 0.15s ease-in-out !important;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}

.border-left-green {
    border-left: 1px solid #96be0d;
}

.category-list input[type="radio"]:checked + label .fakeCheckbox {
    background-color: #96be0d !important;
    background-image: url(/modules/dx/configurator/images/check.png) !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 4px !important;
}

.category-list .category-list-header {
    position: absolute;
    top: -60px;
    left: -3px;
    font-size: 30px;
    white-space: nowrap;
}

.right-img-block {
    margin-top: 60px;
}

.trinckle-gears .category-list li.category-list-right {
    padding-left: 8px;
}

@media (max-width: 1660px) {
    .trinckle-gears .category-list li {
        width: 16%;
    }

    .category-list-right {
        margin-top: 60px;
    }
}

@media (max-width: 991px) {
    .config-block .row {
        margin: 0;
    }

    .config-bg-block .row:nth-child(1) {
        width: 100%;
    }
}

@media (max-width: 860px) {
    .trinckle-gears .category-list li {
        width: 32%;
        min-height: initial;
        text-align: left;
    }

    .trinckle-gears .category-list li.border-left-green {
        border-left: 0;
    }

    .trinckle-gears .category-list li img {
        display: none;
    }
}

@media (max-width: 860px) and (min-width: 671px){
    .category-list-right:last-child {
        margin-top: 0;
    }
}

@media (max-width: 670px) {
    .trinckle-gears .category-list li {
        width: 50%;
    }
}

.legendImgBorder
{
    border:1px solid gray;
    max-height:320px;
}

.legendImgItem
{
    margin-bottom:10px;
    max-height:340px;
}

.tocartPopupInner .btn-primary,
.tocartPopupInner .btn-default {
    text-transform: none;
    font-weight: 600;
    padding: 20px;
    font-size: 16px;
}