.calc {
    background: #fff;
    color: rgb(102, 102, 102);
    font-family: "Roboto", Arial, Helvetica, sans-serif !important;
    font-size: 16px!important;
    font-weight: 300!important;
    letter-spacing: 0.01em!important;
    line-height: 1.6em!important;
    margin: 0!important;
    padding: 30px!important;
    
}

#manager {
    color: #0fa24e;
}

.calc.a {
    background: #0fa24e;
    color: rgb(102, 102, 102);
    display: block;
    font-size: 12px;
    line-height: 1em;
    margin: 0;
    padding: 5px 110px;
    position: fixed;
    top: 20px;
    right: -100px;
    text-align: center;
    text-decoration: none;
    transform: rotate(45deg);
}

#form {
    position: relative;
}

#rollet_form {
    z-index: 15;
}

#calc button:focus,
#calc input:focus,
#calc textarea:focus,
#calc select:focus {
    outline: none;
}

#calc .logo_calc {
    display: flex;
    justify-content: center;
}

#calc .tabs {
    display: block;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    overflow: hidden;
    padding: 10px;
}

#calc .tabs [class^="tab"] label,
#calc .tabs [class*=" tab"] label {
    color: rgb(102, 102, 102);
    cursor: pointer;
    display: block;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1em;
    padding: 2rem 0;
    text-align: center;
    margin-left: 10px;
}

#calc .tabs [class^="tab"] [type="radio"],
#calc .tabs [class*=" tab"] [type="radio"] {
    border-bottom: 1px solid rgba(239, 237, 239, 0.5);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin: 0;
}

#calc .tabs [class^="tab"] [type="radio"]:hover,
#calc .tabs [class^="tab"] [type="radio"]:focus,
#calc .tabs [class*=" tab"] [type="radio"]:hover,
#calc .tabs [class*=" tab"] [type="radio"]:focus {
    border-bottom: 1px solid #0fa24e;
}

#calc .tabs [class^="tab"] [type="radio"]:checked,
#calc .tabs [class*=" tab"] [type="radio"]:checked {
    border-bottom: 2px solid #0fa24e;
}

#calc .tabs [class^="tab"] [type="radio"]:checked+div,
#calc .tabs [class*=" tab"] [type="radio"]:checked+div {
    opacity: 1;
}

#calc .tabs [class^="tab"] [type="radio"]+div,
#calc .tabs [class*=" tab"] [type="radio"]+div {
    display: block;
    opacity: 0;
    padding: 2rem 0;
    width: 90%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#calc .tabs .tab-2 {
    width: 50%;
}

#calc .tabs .tab-2 [type="radio"]+div {
    width: 200%;
    margin-left: 200%;
}

#calc .tabs .tab-2 [type="radio"]:checked+div {
    margin-left: 0;
}

#calc .tabs .tab-2:last-child [type="radio"]+div {
    margin-left: 100%;
}

#calc .tabs .tab-2:last-child [type="radio"]:checked+div {
    margin-left: -100%;
}

#calc .container,
#calc .container-fluid {
    margin-right: auto;
    margin-left: auto
}

#calc .summ {
    margin-top: 18px;
    font-size: 20px;
}

#width,
#height {
    display: inline-block;
    vertical-align: top;
}

#calc .rol-img img:first-child {
    display: block;
}

#h-if-ofset {
    color: #f22121;
}

#calc .flex-group {
    display: flex;
    margin-top: 20px;
}

#calc .input-group input,
#calc .input-group label {
    display: inline-block;
    vertical-align: top;
    z-index: 1000;
    position: relative;
    margin-bottom: 0!important;
}

.accessories_simple label {
    margin-bottom: 0!important;
}

#warning-alert,#warning-alert2 {
    display: none;
    text-align: center;
    background: rgb(15 162 78);
    padding: 15px;
    border: 5px solid #fff;
    box-shadow: -1px 1px 1px 1px rgba(0,0,0,.18);
    color: #fff;
    font-size: 18px
}

#reset,
#reset2 {
    background: transparent;
    border: 2px solid #f13333;
    color: #f13333;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#add_to_cart {
    background: rgb(15 162 78);
    border: 2px solid rgb(15 162 78);
    color: #ffffff;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#add_to_cart:hover {
    background: rgb(4 147 65);
    border: 2px solid rgb(4 147 65);
    color: #ffffff;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#refresh {
    background: rgb(237 177 0);
    border: rgb(237 177 0);
    color: #ffffff;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#refresh:hover {
    background: rgb(215 161 0);
    border: rgb(215 161 0);
    color: #ffffff;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#calc .option {
    display: flex;
    padding: 10px 0;
}

#calc .label {
    padding: 0 !important;
    text-align: left !important;
}

#calc .size {
    text-align: left !important;
    padding: 20px 0 !important;
}

#calc .size_input,
#calc .count{
    height: 30px !important;
    padding-left: 5px !important;
    border: 2px solid #0fa24e !important;
    border-radius: 15px;
}

#calc .count {
    margin-left: 19px;
    width: 35px;
}

#calc select {
    border: 2px solid #0fa24e !important;
    height: 30px;
}

#calc option {
    border: 2px solid #0fa24e !important;
}

#calc .parametrs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#calc .col-xs-4 {
    min-width: 200px;
    margin-top: 63px;
    width: auto;
}

#img-preview {
    width: 100%;
    max-width: 200px;
    height: auto;
}

#img-preview1 {
    max-height: 200px;
    width: auto;
    margin: 0 auto !important;
}

#profile_img,
#img-preview_f {
    display: flex;
    justify-content: center;
}

#img-preview2,
#img-preview3 {
    width: 100%;
    max-width: 300px;
    height: auto;
}

#calc .flex {
    display: flex;
    margin-top: 20px;
}

#calc .charachter {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#calc h4 {
    font-size: 20px;
    margin: 10px 0;
}

#calc h3 {
    margin: 10px 0;
}

#calc .reset {
    display: flex;
    justify-content: center;
}

#calc .order {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#calc .choose_color {
    display: flex;
}

#calc .color_img {
    margin-left: 20px;
    height: 70px;
    width: 70px;
}

#calc .color_img {
    border-radius: 70px;
    border: 2px solid #0fa24e !important;
}

#calc .profile_img {
    width: 178px;
    margin-top: 5px;
}

#profile {
    margin-top: 61px !important;
}

#view,
#control {
    margin-top: 60px !important;
}

#color {
    margin-top: 5px !important;
}

#profile,
#view {
    width: 178px;
}

#calc .profile_type {
    display: flex;
    flex-direction: column;
}

#calc .accessories_simple {
    display: flex;
    padding: 7px 0;
    align-items: center;
}

#calc .accessories_simple label {
    padding: 0 !important;
    text-align: left !important;
}

#calc select {
    background: transparent !important;
    z-index: 15!important;
}

#calc input {
    z-index: 15!important;
}

#calc .du {
    margin: 0 19px;
}

#calc .pdu {
    align-items: center;
}

#calc .pdu input,
#discount,
#discount2 {
    width: 35px;
    position: relative;
    z-index: 1500;
}

#calc hr {
    width: 100% !important;
    margin-top: 0 !important;
}

#img-preview3 {
    margin-top: 10px;
    margin-bottom: 20px;
}

#calc .input-group [type="radio"] {
    border-bottom: none !important;
    cursor: pointer !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
    display: block !important;
    width: auto !important;
}

@media (min-width: 980px) and (max-width: 1920px) {
    /* .tabs {
        margin-top: -90px;
    } */
    #calc .padding-0 {
        padding-top: 0 !important;
    }
    #img-preview2,
    #img-preview3 {
        max-width: 200px;
    }
    #calc .size {
        text-align: left !important;
        padding: 8px 0 !important;
    }
    #profile,
    #view,
    #control {
        margin-top: 0 !important;
    }
    #control-param {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 15px;
    }
    #calc .grid {
        width: 100%;
    }
}

#calc .line {
    grid-column: 1 / -1;
}

#calc .column1 {
    grid-column: 1;
    grid-row: auto;
}

#calc .column2 {
    grid-column: 2;
    grid-row: auto;
}

@media (min-width: 980px) {
    #calc .accessories-wrapp {
        width: 100%;
    }
    #accessories {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-column-gap: 15px;
    }
    #calc .grid-padding {
        padding-left: 35px;
    }
}

#calc input[type="checkbox"]~input[type="number"] {
    display: none;
}

#calc input[type="checkbox"]:checked~input[type="number"] {
    display: block;
}

.line-group label {
    margin-left: 0 !important;
    margin-top: 10px;
}
body {
    /*background: #fff;*/
    color: rgb(102, 102, 102);
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.01em;
    line-height: 1.6em;
    margin: 0;
    /*padding: 30px;*/
}

#manager {
    color: #0fa24e;
}

.header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.mobile_app {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.mobile_app a:first-child {
    margin-right: 20px;
}

.mobile_app img {
    height: 60px;
    width: auto;
}

.a {
    background: #0fa24e;
    color: rgb(102, 102, 102);
    display: block;
    font-size: 12px;
    line-height: 1em;
    margin: 0;
    padding: 5px 110px;
    position: fixed;
    top: 20px;
    right: -100px;
    text-align: center;
    text-decoration: none;
    transform: rotate(45deg);
}

button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

.logo_calc {
    display: flex;
    justify-content: center;
}

.tabs {
    display: block;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    overflow: hidden;
    padding: 10px;
}

.tabs [class^="tab"] label,
.tabs [class*=" tab"] label {
    color: rgb(102, 102, 102);
    cursor: pointer;
    display: block;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1em;
    padding: 2rem 0;
    text-align: center;
}

.tabs [class^="tab"] [type="radio"],
.tabs [class*=" tab"] [type="radio"] {
    border-bottom: 1px solid rgba(239, 237, 239, 0.5);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tabs [class^="tab"] [type="radio"]:hover,
.tabs [class^="tab"] [type="radio"]:focus,
.tabs [class*=" tab"] [type="radio"]:hover,
.tabs [class*=" tab"] [type="radio"]:focus {
    border-bottom: 1px solid #0fa24e;
}

.tabs [class^="tab"] [type="radio"]:checked,
.tabs [class*=" tab"] [type="radio"]:checked {
    border-bottom: 2px solid #0fa24e;
}

.tabs [class^="tab"] [type="radio"]:checked+div,
.tabs [class*=" tab"] [type="radio"]:checked+div {
    opacity: 1;
}

.tabs [class^="tab"] [type="radio"]+div,
.tabs [class*=" tab"] [type="radio"]+div {
    display: block;
    opacity: 0;
    padding: 2rem 0;
    width: 90%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tabs .tab-2 {
    width: 50%;
}

.tabs .tab-2 [type="radio"]+div {
    width: 200%;
    margin-left: 200%;
}

.tabs .tab-2 [type="radio"]:checked+div {
    margin-left: 0;
}

.tabs .tab-2:last-child [type="radio"]+div {
    margin-left: 100%;
}

.tabs .tab-2:last-child [type="radio"]:checked+div {
    margin-left: -100%;
}

.container,
.container-fluid {
    margin-right: auto;
    margin-left: auto
}

.summ {
    margin-top: 18px;
    font-size: 20px;
}

#width,
#height {
    display: inline-block;
    vertical-align: top;
}

.rol-img img:first-child {
    display: block;
}

#h-if-ofset {
    color: #0fa24e;
}

.flex-group {
    display: flex;
    margin-top: 20px;
}

.input-group input,
.input-group label {
    display: inline-block;
    vertical-align: top;
    z-index: 1000;
    position: relative;
}

#warning-alert,#warning-alert2 {
    display: none;
    text-align: center;
    background: rgb(15 162 78);
    padding: 15px;
    border: 5px solid #fff;
    box-shadow: -1px 1px 1px 1px rgba(0,0,0,.18);
    color: #fff;
    font-size: 18px
}

#reset,
#reset2 {
    background: transparent;
    border: 2px solid #0fa24e;
    color: #0fa24e;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#add_to_cart2 {
    background: rgb(15 162 78);
    border: 2px solid rgb(15 162 78);
    color: #ffffff;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#add_to_cart2:hover {
    background: rgb(4 147 65);
    border: 2px solid rgb(4 147 65);
    color: #ffffff;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#refresh2 {
    background: rgb(237 177 0);
    border: rgb(237 177 0);
    color: #ffffff;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

#refresh2:hover {
    background: rgb(215 161 0);
    border: rgb(215 161 0);
    color: #ffffff;
    border-radius: 1px;
    transition: .3s ease;
    height: 60px;
    padding: 0 30px;
    font-size: 18px;
}

.option {
    display: flex;
    padding: 10px 0;
}

.label {
    padding: 0 !important;
    text-align: left !important;
}

.size {
    text-align: left !important;
    padding: 20px 0 !important;
}

.size_input,
.count {
    height: 30px !important;
    padding-left: 5px !important;
    border: 2px solid #0fa24e !important;
}

.count {
    margin-left: 19px;
    width: 35px;
}

select {
    border: 2px solid #0fa24e !important;
    height: 30px;
}

option {
    border: 2px solid #0fa24e !important;
}

.parametrs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-xs-4 {
    min-width: 200px;
    margin-top: 63px;
}

#img-preview {
    width: 100%;
    max-width: 200px;
    height: auto;
}

#img-preview1 {
    max-height: 200px;
    width: auto;
    margin: 0 auto !important;
}

#profile_img,
#img-preview_f {
    display: flex;
    justify-content: center;
}

#img-preview2,
#img-preview3 {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.flex {
    display: flex;
    margin-top: 20px;
}

.charachter {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

h4 {
    font-size: 20px;
}

.reset {
    display: flex;
    justify-content: center;
}

.order {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.choose_color {
    display: flex;
}

.color_img {
    margin-left: 20px;
    height: 70px;
    width: 70px;
}

.color_img {
    border-radius: 70px;
    border: 2px solid #0fa24e !important;
}

.profile_img {
    width: 178px;
    margin-top: 5px;
}

#profile {
    margin-top: 61px !important;
}

#view,
#control {
    margin-top: 60px !important;
}

#color {
    margin-top: 5px !important;
}

#profile,
#view {
    width: 178px;
}

.profile_type {
    display: flex;
    flex-direction: column;
}

.accessories_simple {
    display: flex;
    padding: 7px 0;
    align-items: center;
}

.accessories_simple label {
    padding: 0 !important;
    text-align: left !important;
}

select {
    background: transparent !important;
}

.du {
    margin: 0 19px;
}

.pdu {
    align-items: center;
}

.pdu input,
#discount,
#discount2 {
    width: 35px;
    position: relative;
    z-index: 1500;
}

hr {
    width: 100% !important;
    margin-top: 0 !important;
}

#img-preview3 {
    margin-top: 10px;
    margin-bottom: 20px;
}

.input-group [type="radio"] {
    border-bottom: none !important;
    cursor: pointer !important;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
    display: block !important;
    width: auto !important;
}

@media (min-width: 980px) and (max-width: 1920px) {
    .padding-0 {
        padding-top: 0 !important;
    }
    #img-preview2,
    #img-preview3 {
        max-width: 200px;
    }
    .size {
        text-align: left !important;
        padding: 8px 0 !important;
    }
    #profile,
    #view,
    #control {
        margin-top: 0 !important;
    }
    #control-param {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 15px;
    }
    .grid {
        width: 100%;
    }
}

.line {
    grid-column: 1 / -1;
}

.column1 {
    grid-column: 1;
    grid-row: auto;
}

.column2 {
    grid-column: 2;
    grid-row: auto;
}

@media (min-width: 980px) {
    .accessories-wrapp {
        width: 100%;
    }
    #accessories {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-column-gap: 15px;
    }
    .grid-padding {
        padding-left: 35px;
    }
}

input[type="checkbox"]~input[type="number"] {
    display: none;
}

input[type="checkbox"]:checked~input[type="number"] {
    display: block;
}

.gate_acc_new {
    display: grid;
    grid-template-columns: 33% 33% 33%;
}

@media screen and (max-width: 768px) {
    .gate_acc_new {
        display: flex;
        flex-direction: column;
    }    
}

.cart-container {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 80%;
    width: 90%;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9999999;
}

.cart-header {
    text-align: right;
    padding: 10px;
    background-color: rgb(15 162 78);
}

.close-button {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.cart-content {
    padding: 10px;
}

.cartButton {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 85px;
    background-color: #0fa24e;
    color: #fff;
    transition: .3s ease;
}

.cartButton:hover {
    background-color: #0a8d42;
}

.deleteButton {
    display: flex;
    margin-top: 10px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    transition: .3s ease;
    margin-bottom: 10px;
}

.deleteButton:hover {
  background-color: #c31e00;
}

.resetButton {
    display: flex;
    margin-top: 10px;
    background-color: rgb(237 177 0);
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    transition: .3s ease;
}

.resetButton:hover {
  background-color: rgb(205 153 0);
}

.head_logo_and_cart {
    display: flex;
    justify-content: space-between;

}

@media screen and (max-width: 768px) {
    .head_logo_and_cart {
        position: sticky;
        top: 0px;
        z-index: 5000;
        background: #fff;
        flex-direction: column;
    }    
}

.quanity{
    height: 30px !important;
    padding-left: 5px !important;
    border: 2px solid #0fa24e !important;
    width: 50px;
    margin-left: 10px;
}

.quanity2{
    height: 30px !important;
    padding-left: 5px !important;
    border: 2px solid #0fa24e !important;
    width: 50px;
    margin-left: 10px;
}

.inp-disc-and-quan {
    padding-bottom: 10px;
    font-weight: 700;
}

.crmButton {
    margin-top: 10px;
    background-color: #3c49e7;
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    transition: .3s ease;
    margin-bottom: 10px;
}