.tire-wizard {
	margin: 0 0 20px 0;
    border-radius: 6px;
    background-color: #fff;

}

.tire-wizard__form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tire-wizard__wrapper {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.tire-wizard__selects {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tire-wizard__row {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.tire-form .tire-wizard__row {
    width: calc(50% - 20px);
}

.tire-wizard__label {
    display: inline-block;
    margin-bottom: 5px;
}

.tire-wizard__label span{
    font-size: 16px;
    font-weight: 600;
    color: #33A558
}

.tire-wizard__btn {
    width: 130px;
}

.tire-wizard__wrapper .chosen-container {
    width: 100% !important;
    margin-bottom: 0;
}

.tire-wizard__wrapper .car-formselectauto-field {
    width: 100%;
    margin-bottom: 0;
}

.tire-wizard__buttons {
    width: 100%;
    padding-top: 20px;
}

.tire-wizard__tabs-header {
    display: flex;
    flex-direction: column;
}

.tire-wizard__tabs-header .tab {
    display: flex;
    align-items: center;
    flex: 1;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6d797b;
    text-transform: uppercase;
    border-bottom: 1px solid #ecf0f1;
	overflow: hidden;
}

.tire-wizard__tabs-header .tab.active {
    color: #fff;
    background-color: #00ab4e;
}

.tire-wizard__tabs-header .tab:first-child {
    border-radius: 6px 6px 0 0;
}

.tire-wizard__tabs-header .tab svg.tab-icon {
    width: 50px;
    height: 27px;
    margin-right: 15px;
    fill: #6d797b;
}

.tire-wizard__tabs-header .tab.active svg.tab-icon {
    fill: #fff;
}

.tire-wizard__tabs-body {
    padding: 40px 20px;
}

.tire-wizard__tabs-body .tab-content {
    display: none;
}

.tire-wizard__tabs-body .tab-content.active {
    display: block;
}

.tire-wizard__image {
    flex: 0 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    margin-bottom: 40px;
}

.tire-wizard__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tire-form__diameter {
    margin-left: 40px;
}

.tire-form__profile::before,
.tire-form__diameter::before,
 div[data-id="GETDISK"] .tire-wizard__row:nth-child(5)::before {
    display: block;
    position: absolute;
    top: 38px;
    left: -24px;
    font-size: 14px;
}

.tire-form__profile::before {
    content: '/';
}

 div[data-id="GETDISK"] .tire-wizard__row:nth-child(5)::before {
    content: '-';
}

.tire-form__diameter::before {
    content: 'R';
}

.tire-wizard__season-img {
    width: 27px;
    height: 27px;
    margin-right: 5px;
}

.tire-wizard__checkboxes {
    display: flex;
    flex-wrap: wrap;
}

.tire-wizard__checkboxes .checkbox-wrapper {
    width: 100%;
    padding: 10px 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-wrapper input {
    width: 0;
    height: 0;
    opacity: 0;
}

.checkbox-wrapper .fake {
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    min-width: 20px;
    height: 20px;
    background-color: #F1F1F1;
}

.checkbox-wrapper .fake svg {
    display: block;
    opacity: 0;
    width: 11px;
    height: 8px;
    fill: #6d797b;
}

.checkbox-wrapper input:checked + label > .fake>svg {
    opacity: 1;
}

.tab input{
	display:none;
}

.tab label{
    display: flex;
    align-items: center;
    width: 100%;
	padding: 0 20px;
}

.tab input:checked ~label{
	color: #fff;
    background-color: #00ab4e;
}

.tab input:checked ~label svg.tab-icon {
    fill: #fff;
}

div[data-id="GETTIRE"] .tire-wizard__row:nth-child(2)::before {
    content: "/";
    display: block;
    position: absolute;
    top: 38px;
    left: -24px;
    font-size: 14px;
}

div[data-id="GETTIRE"] .tire-wizard__row:nth-child(3)::before {
    content: "R";
    display: block;
    position: absolute;
    top: 38px;
    left: -24px;
    font-size: 14px;
}



div[data-id="GETDISK"] .tire-wizard__row:nth-child(4) {
    padding-left: 40px;
}

div[data-id="GETDISK"] .tire-wizard__row:nth-child(4)::before {
    content: 'ET';
    display: block;
    position: absolute;
    top: 38px;
    left: 0;
    font-size: 16px;
    font-weight: 600;
    color: #00ab4e
}

.tire-wizard .btn-main:disabled, .btn-main.disabled {
    background-color: #f1f1f1;
    color: #999999;
    cursor: auto;
}

@media (max-width: 767px) {
    div[data-id="GETDISK"] .tire-wizard__row:nth-child(4),
    div[data-id="GETDISK"] .tire-wizard__row:nth-child(5) {
        width: 50%;
    }

     div[data-id="GETDISK"] .tire-wizard__row:nth-child(5) {
        padding-left: 40px;
    }

    div[data-id="GETDISK"] .tire-wizard__row:nth-child(5)::before {
        left: 18px;
    }

	div[data-id="GETTIRE"] .tire-wizard__row:nth-child(3){
		margin-left: 40px;
	}
}

@media (min-width: 768px) {
    .tire-wizard__tabs-header {
        flex-direction: row;
    }

    .tire-wizard__form {
        flex-direction: row;
        align-items: flex-start;
    }

    .tire-wizard__image {
        min-width: 270px;
        padding-right: 20px;
        margin-bottom: 0;
    }

    .tire-wizard__row {
        width: 50%;
    }

    .tire-wizard__checkboxes .checkbox-wrapper {
        width: 50%;
    }

    .tire-wizard__selects {
        flex: 0 1 100%;
    }

    .tire-form__diameter {
        margin-left: 0;
    }

    .tire-form .tire-wizard__row,
    .disk-form .tire-wizard__row {
        width: calc(33.33% - 27px);
    }

    .tire-form .tire-wizard__row:nth-of-type(2n + 1),
    .disk-form .tire-wizard__row:nth-of-type(2n + 1) {
       padding-right: 0;
    }

    .tire-form .tire-wizard__row:nth-of-type(2n),
    .disk-form .tire-wizard__row:nth-of-type(2n) {
        padding-left: 0;
    }

    .tire-wizard__row:nth-of-type(2n + 1) {
        padding-right: 10px;
    }

    .tire-wizard__row:nth-of-type(2n) {
        padding-left: 10px;
    }
    tire-wizard__tabs-header .tab {
        border-radius: 6px 6px 0 0;
    }
    /*.tire-wizard__tabs-header .tab:first-child {
        border-radius: 6px 0 0 0;
    }

    .tire-wizard__tabs-header .tab:last-child {
        border-radius: 0 6px 0 0;
    }*/

    .tire-wizard__tabs-header .tab:not(:last-child) {
        border-right: 1px solid #ecf0f1;
    }
}
