@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i|Roboto:100,100i,300,300i,400,400i,500,500i,700,700i&display=swap');

main {
    padding: 20px;
}

main a, main button, main input, main div, main span {
    -webkit-transition: background 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease;
    -o-transition: background 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease;
    transition: background 300ms ease, color 300ms ease, border 300ms ease, box-shadow 300ms ease;
    outline: none;
}

input:not([type=checkbox]):not([type=radio]),
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.h1, h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 28px;
    color: #333333;
}

label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: normal;
}

.header {
    padding: 15px 0 25px 0;
    position: relative;
}

.del-all-params-block > a {
    display: block;
    color: crimson !important;
}

.del-all-params-block {
    margin-top: 20px;
    /* position: absolute;
     right: 0;
     top: 10px;*/
}

/*.left-content {
    border-right: 1px rgba(0, 0, 0, 0.05) solid;
    padding-right: 30px;
}*/

.content {
    padding: 20px;
    border: 1px #ffffff dashed;
}


.hide, .hide-wrapper {
    display: none;
}

.hide-wrapper.show {
    display: block;
}

.clear {
    clear: both;
}

.step-wrapper {
    padding: 0 20px 0 20px;
    margin: 0 -15px 20px -15px;
    position: relative;
    border-top: 2px rgba(0, 0, 0, 0.05) solid;
    background-color: rgba(0, 0, 0, 0.02);

}

.step-wrapper .step-caption {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: normal;
    padding: 10px 0 10px 0;
}

.step-wrapper .step-caption span {
    font-weight: bold;
    margin-right: 8px;
}

.step-wrapper .step-info {
    font-size: 14px;
    font-weight: 300;
    color: #555555;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
}

.step-wrapper .step-body {
    padding-bottom: 40px;

}

.step-wrapper button.next {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px 20px;
    border: none;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.02);
    border-top-left-radius: 7px;
    font-family: 'Roboto', sans-serif;
    color: rgba(0, 0, 0, 0.7);
}

.step-wrapper button.next:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.9);
}

.step-wrapper button.next i {
    font-size: 14px;
}

.step-wrapper input {
    font-size: 24px;
    height: 38px;
    border: none;
}

.step-1 {
    border-top-color: rgba(254, 218, 90, 0.7);
    background-color: rgba(254, 218, 90, 0.1);
}

.step-1 button.next {
    color: #733e00;
    background-color: rgba(254, 218, 90, 0.2);
}

.step-1 button.next:hover {
    background-color: rgba(254, 218, 90, 0.5);
}

.step-1 .doors-count {
    margin-top: 5px;
}

.step-1 .doors-count input {
    width: 70px;
    text-align: center;
    float: left;
}

.step-1 .doors-count a {
    color: #733e00;
    background-color: rgba(254, 218, 90, 0.2);
    height: 38px;
    padding: 6px 5px 5px 7px;
    display: block;
    float: left;
    line-height: 28px;
}

.step-1 .doors-count a:hover {
    color: #733e00;
    background-color: rgba(254, 218, 90, 0.5);
}

.icon-key {
    width: 150px;
    height: 80px;
    margin-bottom: -5px;
}

.icon-key,
.icon-key.k0 {
    fill: rgba(0, 0, 0, 0.2);
}

.step-2 .key-color .color-item.k0 {
    background-color: rgba(0, 0, 0, 0.2);
}

.icon-key.k1 {
    fill: #000000;
}

.step-2 .key-color .color-item.k1 {
    background-color: #000000;
}

.icon-key.k2 {
    fill: #007dff;
}

.step-2 .key-color .color-item.k2 {
    background-color: #007dff;
}

.icon-key.k3 {
    fill: #8b00ff;
}

.step-2 .key-color .color-item.k3 {
    background-color: #8b00ff;
}

.icon-key.k4 {
    fill: #99FF99;
}

.step-2 .key-color .color-item.k4 {
    background-color: #99FF99;
}

.icon-key.k5 {
    fill: #FFFF66;
    stroke: rgba(0, 0, 0, 0.2);
    stroke-width: 3px;
}

.step-2 .key-color .color-item.k5 {
    background-color: #FFFF66;
}

.icon-key.k6 {
    fill: #FF0066;
}

.step-2 .key-color .color-item.k6 {
    background-color: #FF0066;
}

.icon-key.k7 {
    fill: #339900;
}

.step-2 .key-color .color-item.k7 {
    background-color: #339900;
}

.icon-key.k8 {
    fill: #FF6633;
}

.step-2 .key-color .color-item.k8 {
    background-color: #FF6633;
}

.icon-key.k9 {
    fill: #66CCCC;
}

.step-2 .key-color .color-item.k9 {
    background-color: #66CCCC;
}

.icon-key.k10 {
    fill: #ffc0cb;
}

.step-2 .key-color .color-item.k10 {
    background-color: #ffc0cb;
}

.step-2 .key-color .color-item {
    width: 21px;
    height: 21px;
    float: left;
    margin: 4px 0 0 4px;
    cursor: pointer;
}

.step-2 .key-color .color-item.selected {
    outline: 2px solid rgba(255, 162, 0, 0.5);
    outline-offset: 0;
}

.step-2 .key-item {
    text-align: center;
    height: 250px;
}

.step-2 .key-item-name-show {
    cursor: pointer;
    position: relative;
}

.step-2 .key-item-name-show .key-item-name {
    width: 100%;
    text-align: center;
    font-size: 16px;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0); /* Параметры рамки */
    height: 22px;
    padding: 2px 0 0 0;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
}

.step-2 .key-item-name-show .key-item-count {
    width: 100%;
    text-align: center;
    font-size: 14px;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0); /* Параметры рамки */
    padding: 2px 0 4px 0;
    color: rgba(0, 0, 0, 0.6);
}

.step-2 .key-item-name-show .key-item-edit span {
    font-size: 11px;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.step-2 .key-item-name-show .key-item-edit {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.2);
    font-weight: normal;
    /*    position: absolute;
        top: 17px;
        right: 20px;*/
}

.step-2 .key-item-name-show:hover .key-item-edit {
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.step-2 .key-item-name-edit {
    display: none;
    position: relative;
    height: 155px;
    overflow: hidden;
}

.step-2 .key-item-name-edit input {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 5px 30px 5px 5px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    height: 30px;
    border-radius: 0;
}

.step-2 .key-item-name-edit button {
    height: 26px;
    border: none;
    background-color: rgba(93, 147, 29, 1);
    color: #ffffff;
    font-size: 16px;
    position: absolute;
    top: 2px;
    right: 2px;
}

.step-2 .key-item-name-edit .key-color {
    margin-top: 5px;
    border: 1px rgba(0, 0, 0, 0.2) solid;
    background-color: #ffffff;
    padding: 0 4px 4px 0;
    /*height: 30px;
    overflow: hidden;*/
}

/*
* Количество ключей
 */

.step-2 .key-item-name-edit .key-count {
    margin-top: 5px;
    border: 1px rgba(0, 0, 0, 0.2) solid;
    background-color: #ffffff;
    height: 30px;
    overflow: hidden;
}

.step-2 .key-item-name-edit .key-count .key-count-text {
    float: left;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.7);
    display: block;
    padding: 5px 5px 0 5px;
}

.step-2 .key-item-name-edit .key-count input {
    width: 30px;
    height: 28px;
    text-align: center;
    float: left;
    font-size: 14px;
    padding: 0;
    border: none;
    font-weight: bold;
}


.step-2 .key-item-name-edit .key-count a {
    color: rgba(0, 0, 0, 0.3);
    background-color: rgba(254, 218, 90, 0);
    height: 28px;
    padding: 0 2px 2px 4px;
    display: block;
    float: left;
    line-height: 28px;
    font-size: 12px;
}

.step-2 .key-item-name-edit .key-count a:hover {
    color: rgba(0, 0, 0, 0.9);
    background-color: rgba(0, 0, 0, 0.2);
}


.step-2 .key-item-del {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 18, 0, 0.3);
    right: 10px;
    top: -10px;
    cursor: pointer;
    display: none;
}

@media (max-width: 992px) {
    .step-2 .key-item-del {
        right: 80px;
    }
}

@media (max-width: 430px) {
    .step-2 .key-item-del {
        right: 7%;
    }
}

.step-2 .key-item-del:hover {
    color: rgba(255, 18, 0, 1);
}

.step-2 .key-item-add {
    margin-bottom: 40px;
    text-align: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.3);
}

.step-2 .key-item-add a.key-item-add-button {
    display: block;
    width: 70px;
    height: 70px;
    font-size: 38px;
    padding: 9px 0 0 5px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 45px;
    color: #ffffff;
    margin: 5px auto 14px auto;
}

.step-2 .key-item-add .key-item-add-button:hover {
    background-color: rgba(0, 0, 0, 0.3);
}


/**
* Двери
 */
.step-3 {

}

.step-3 .door-item {
    /*    padding: 0 20px 20px 20px;*/
    min-height: 300px;
    padding-bottom: 30px;
    /*    padding-right: 15px;*/
}

.step-3 .door-item:nth-child(2n) {
    /* padding-left: 0;*/
    /*padding-left:15px;*/
    /*padding-right: 20px;*/
}

@media (max-width: 768px) {
    .step-3 .door-item:nth-child(2n) {
        padding-left: 20px;
    }
}

.step-3 .door-item-wrapper {
    border: 1px rgba(0, 0, 0, 0.1) solid;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px 20px;
    min-height: 300px;
}

.step-3 .door-item-wrapper.edit {
    -webkit-box-shadow: 0 9px 20px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 9px 20px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 9px 20px 0 rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 1);
    border-radius: 7px;
}

.step-3 .door-item-add {
    margin-top: 40px;
    margin-left: -20px;
    text-align: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.3);
}

.step-3 .door-item-add a.door-item-add-button {
    display: block;
    width: 70px;
    height: 70px;
    font-size: 38px;
    padding: 9px 0 0 5px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 45px;
    color: #ffffff;
    margin: 5px auto 14px auto;
}

.step-3 .door-item-add .door-item-add-button:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.step-3 .icon-door {
    width: 150px;
    height: 160px;
    /*   margin-left: -40px;*/
}

.step-3 .icon-door,
.step-3 .icon-door.k0 {
    fill: rgba(0, 0, 0, 0.2);
}

.step-3 .door-color .color-item.k0 {
    background-color: rgba(0, 0, 0, 0.2);
}

.step-3 .icon-door.k1 {
    fill: #000000;
}

.step-3 .door-color .color-item.k1 {
    background-color: #000000;
}

.step-3 .icon-door.k2 {
    fill: #007dff;
}

.step-3 .door-color .color-item.k2 {
    background-color: #007dff;
}

.step-3 .icon-door.k3 {
    fill: #8b00ff;
}

.step-3 .door-color .color-item.k3 {
    background-color: #8b00ff;
}

.step-3 .icon-door.k4 {
    fill: #99FF99;
}

.step-3 .door-color .color-item.k4 {
    background-color: #99FF99;
}

.step-3 .icon-key.k5 {
    fill: #FFFF66;
    stroke: rgba(0, 0, 0, 0.2);
    stroke-width: 3px;
}

.step-3 .door-color .color-item.k5 {
    background-color: #FFFF66;
}

.step-3 .icon-door.k6 {
    fill: #FF0066;
}

.step-3 .door-color .color-item.k6 {
    background-color: #FF0066;
}

.step-3 .icon-door.k7 {
    fill: #339900;
}

.step-3 .door-color .color-item.k7 {
    background-color: #339900;
}

.step-3 .icon-door.k8 {
    fill: #FF6633;
}

.step-3 .door-color .color-item.k8 {
    background-color: #FF6633;
}

.step-3 .icon-door.k9 {
    fill: #66CCCC;
}

.step-3 .door-color .color-item.k9 {
    background-color: #66CCCC;
}

.step-3 .icon-door.k10 {
    fill: #ffc0cb;
}

.step-3 .door-color .color-item.k10 {
    background-color: #ffc0cb;
}

.step-3 .door-color .color-item {
    width: 24px;
    height: 24px;
    float: left;
    margin: 4px 0 0 4px;
    cursor: pointer;
}

.step-3 .door-color .color-item.selected {
    outline: 2px solid rgba(255, 162, 0, 0.5);
    outline-offset: 0;
}

.step-3 .door-item-del {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 18, 0, 0.3);
    right: 30px;
    top: 5px;
    cursor: pointer;
    display: none;
}

.step-3 .door-item-del:hover {
    color: rgba(255, 18, 0, 1);
}

/*
* Изменение Названия и цвета двери
 */
.step-3 .door-item-name-edit {
    display: none;
    position: relative;
    overflow: hidden;
    width: 153px;
}

.step-3 .door-item-name-edit input {
    width: 100%;
    text-align: center;
    font-size: 16px;
    /*padding: 5px 30px 5px 5px;*/
    padding: 5px 5px 5px 5px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    height: 30px;
    border-radius: 0;
}

.step-3 .door-item-name-edit button {
    height: 26px;
    border: none;
    background-color: rgba(93, 147, 29, 1);
    color: #ffffff;
    font-size: 16px;
    position: absolute;
    top: 2px;
    right: 2px;
    /* display: none;*/
}

.step-3 .door-item-name-edit .door-color {
    margin-top: 5px;
    border: 1px rgba(0, 0, 0, 0.2) solid;
    background-color: #ffffff;
    padding: 0 4px 4px 0;
    /*height: 30px;
    overflow: hidden;*/
}


.step-3 .door-item-name-show {
    cursor: pointer;
    width: 150px;
    text-align: center;
}

.step-3 .door-item-name-show .door-item-edit span {
    font-size: 11px;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

.step-3 .door-wrapper {
    position: absolute;
    z-index: 10;
    left: 30px;
    top: 30px;
}

.step-3 .door-item-name-show .door-item-edit {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.2);
    font-weight: normal;
    /*    position: absolute;
        top: 17px;
        right: 20px;*/
}

.step-3 .door-item-name-show:hover .door-item-edit {
    color: rgba(0, 0, 0, 0.7);
}

.step-3 .icon-key {
    height: 18px;
    width: 30px;
    display: inline-block;
}

.step-3 .door-keys-items {
    display: none;
}

.step-3 .door-item-keys-wrapper {
    position: relative;
    padding-left: 160px;
}

@media (max-width: 1200px) {
    .step-3 .door-item-keys-wrapper {
        padding-left: 150px;
        padding-top: 20px;
    }

    .step-3 .door-wrapper {
        /*        position: relative;
                left: auto;
                top: auto;
                text-align: center;*/

    }

    .step-3 .door-item-keys-wrapper {

    }
}

@media (max-width: 768px) {
    .step-3 .door-item-keys-wrapper {
        left: 130px;
    }
}

@media (max-width: 530px) {
    .step-3 .door-item-keys-wrapper {
        left: 30px;
    }
}

@media (max-width: 440px) {
    .step-3 .door-wrapper {
        position: relative;
        left: 0;
    }

    .step-3 .door-item {
        height: auto;
    }

    .step-3 .door-item-wrapper {
        text-align: center;
    }

    .step-3 .door-item-name-show, .step-3 .door-item-name-edit {
        width: 100%;
    }

    .step-3 .door-item-keys-wrapper {
        position: relative;
        left: auto;
        padding-top: 40px;
        padding-left: 0;
        padding-bottom: 30px;
    }
}

.step-3 .door-keys-items .key-item {

}

.step-3 .door-item-keys-caption {
    color: rgba(0, 0, 0, 0.7);
    font-size: 13px;
    margin-bottom: 7px;
}


.step-3 .door-keys-items input {
    height: auto;
    margin: 0 5px 0 0;

    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

/*
* Результат и рассчеты
 */
.result-wrapper {
    /*  display: none;*/
    max-width: 262px;
    /* padding-top: 100px;*/
}

.result-wrapper.fixed {
    position: fixed;
    top: 10px;
}

/*.result-price-wrapper{
    height: 100px;
    position: relative;
    margin-top: -100px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}*/

.result-price-wrapper.fixed {
    position: fixed;
    top: 0px;
    margin-top: 0;
    padding-top: 10px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.95);
}

.result-wrapper .result-block-wrapper {
    margin-bottom: 15px;
    padding-bottom: 7px;
    border-bottom: 1px rgba(0, 0, 0, 0.1) solid;
}

.result-wrapper .result-block-wrapper:last-child {
    border-bottom: none;
}

.result-wrapper .result-caption {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 16px;
    display: block;
}

.result-wrapper .result-price {
    font-size: 14px;

}

.result-wrapper .result-price span {
    font-size: 42px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    color: rgba(46, 139, 3, 1);
}

.result-wrapper .preview-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    font-weight: 200;
    color: #333333;
}

.result-wrapper .result-text {
    display: none;
}

.result-wrapper .result-text.show {
    display: block;
}

.result-key-type span {
    padding-top: 5px;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    display: block;
}

.result-key-type .key-type-item {
    margin-bottom: 15px;
    margin-top: 7px;
}

.result-key-type label {
    padding-left: 30px;
}

.result-key-type label:before {
    top: 32%;
    margin-right: 20px;
}

.result-brand {
    color: rgba(0, 0, 0, 0.6);
    font-size: 13px;
    font-family: 'Roboto', sans-serif;

}

.result-brand-item {
    display: flex;
    margin-top: 6px;
    padding-bottom: 4px;
    border-bottom: 1px rgba(0, 0, 0, 0.05) solid;
}

.result-brand-item:last-child {
    border: none;
    padding-bottom: 0;
}

.result-brand-item label {
    color: rgba(0, 0, 0, 0.6);
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
}

.result-brand-item-name {
    min-width: 40%;
}

.result-brand-price {
    font-size: 12px;
    margin-left: 20px;
}

.send-order-button {
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    background-color: rgba(27, 170, 27, 1);
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    border: none;
}

.send-order-description {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    font-family: 'Roboto', sans-serif;
}

/**
Modal
 */
.modal-content {
    background-color: #fff;
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
    border: none;
    border-radius: 0;
}

.modal-content label .glyphicon{
    font-size: 12px;
}

.modal-header {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 400;
    background-color: rgba(0,0,0,0.02);
}

.model-order-num {
    font-weight: 600;
}

.modal-body .description {
    font-size: 14px;
    color: rgba(0,0,0,0.8);
    margin-bottom: 15px;
}

.modal-footer {
    text-align: center;
    background-color: rgba(0,0,0,0.03);
}

.modal-errors {
    color: red;
    font-size: 14px;
    margin-bottom: 15px;
}

.glyphicon.red {
    color: red;
}

.sendOrderOk {
    color: green;
    font-size: 14px;
    text-align: center;
}

.sendOrderOk span{
    font-size: 72px;
}
