.size-calculator {
    width: auto;
    margin: 40px auto 0;
    text-align: center;
}

.size-calculator > .heading {
    font-family: BebasNeueRegular;
    font-size: 23px;
    letter-spacing: 2px;
}

.size-calculator > .inner {
    width: 210px;
    margin: 30px auto 0;
}

.size-calculator > .inner > .calc-label {
    text-align: left;
    font-family: OpenSansSemiBold; 
    text-transform: uppercase;
    margin-left: 3px;
    margin-top: 10px;
}

.size-calculator > .inner .text-field {
    background-color: transparent;
    border: 1px solid #000;
    height: 30px;
    margin-top: 3px;
    padding-left: 7px;
    padding-right: 7px;
    transition: 0.3s;
}

.size-calculator > .inner .text-field:focus {
    background-color: #fef6f2;
    border-color: #ddd;
}

.size-calculator > .inner .select-field {
    background-color: transparent;
    border: 1px solid #000;
}

.size-calculator > .inner .select-field:focus {
    background-color: #fef6f2;
    border-color: #ddd;
}

.size-calculator > .inner .button-primary {
    float: right;    
}

.size-guide-title-dec {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #feeef9;
    margin-right: 13px;
}

.size-calculator > .heading {
    letter-spacing: 3px !important;
}

.size-calculator button:focus {
    outline: none;
    text-decoration: none;
    border: 1px solid #fff;
}

.size-calculator > .inner {
    width: 45%;
}

.size-calculator > .inner > .calc-label {
    margin-left: 0 !important;
}

.size-calculator > .inner .text-field {
    width: 76%;
    margin-right: 3.3%;
}

.size-calculator > .inner .text-field:focus {
    outline: none;
}

.size-calculator > .inner .select-field {
    width: 20%;
    font-family: OpenSansRegular;
    font-size: 10px;
}

.size-calculator > .inner .select-field:focus {
    outline: none;
}

.btn-expand {
    min-width: 300px;
    height: 50px;
}

.btn-expand:focus {
    outline: none;
    background-color: #f7f7f7;
}

.meas-name {
    font-family: OpenSansSemiBold;
}


.size-table {
    margin: 50px auto 0;       
}

.size-table tr:hover > td {
    background-color: #feeef9;
}


.size-table > tbody > tr > td {
    border-bottom: 1px solid #ddd;
    padding: 5px;
    text-align: center;
}

#size-table3 > tbody > tr:first-child > td {
    border-bottom: none;
}

.size-table#size-table1 > tbody > tr > td:first-child {
    font-family: OpenSansSemiBold;
}

.size-table > tbody > tr > th {
    border-bottom: 2px solid #ddd;
    padding: 5px;
    text-align: center;
    font-family: OpenSansSemiBold;
}

.size-table#size-table1 {
    width: 80%;
}

.size-table#size-table2 {
    width: 58%;
}

.size-table#size-table3 {
    width: 90%;
}

.size-table#size-table3 > tbody > tr:first-child > td {
    border-bottom: none;
}

.size-table#size-table3 > tbody > tr:first-child:hover > td {
    background-color: initial;
}

.size-table#size-table3 > tbody > tr:not(:first-child) > td:first-child, .size-table#size-table3 > tbody > tr:not(:first-child)  > td:nth-child(3), .size-table#size-table3 > tbody > tr > th:first-child, .size-table#size-table3 > tbody > tr > th:nth-child(3) {
    background-color: #feeef9;
}

.size-table#size-table4  {
    width: 50%;
}

.size-table#size-table4 th {
    text-transform: uppercase;
}

.size-table#size-table4 > tbody > tr > td:first-child, .size-table#size-table4 > tbody > tr > td:nth-child(3), .size-table#size-table4 > tbody > tr > th:first-child, .size-table#size-table4 > tbody > tr > th:nth-child(3) {
    background-color: #feeef9;
}

.size-table#size-table4 > tbody > tr:second-child > th {
    border-bottom: none;
}

.size-table#size-table4 > tbody > tr:first-child > td {
    background-color: initial;
    border-bottom: none;
}

.size-table {
    margin-top: 5%;
}

.size-table > tbody > tr > th {
    padding-top: 25px;
}

.size-table > tbody > tr:last-child td {
    border-bottom: 0;
    padding-bottom: 25px;
}

.size-table#size-table1 {
    width: 50%;
}

.size-table#size-table2 {
    width: 43%;
}

.size-table#size-table4 {
    width: auto;
}

.size-table tr:hover > td {
    background-color: #fff2fa;
}

.size-guide-title-block {
    padding-top: 12%;
    text-align: right;
    width: 75%; 
}

.size-guide-title {
    padding-bottom: 60px;
}

.size-guide-container {
    background-color: #feeef9 !important;
}


@media (max-width: 767px) {
	
	#size-table-container3 {
        width: 90%;
        margin: 5% auto;
        overflow-y: auto;
    }

    .size-table#size-table1, .size-table#size-table2, .size-table#size-table3, .size-table#size-table4 {
        width: 90% !important;
        overflow: auto;
    }
	
	.size-calculator > .inner {
        width: 79% !important;
    }
    .size-calculator > .inner .text-field {
        width: 69% !important;
    }
    .size-calculator > .inner .select-field {
        width: 27% !important;
    }
	
	.size-calculator .button-primary {
       float: left !important;
    }
    .size-calculator .button-primary {
        width: 100% !important;
    }
	
    .size-guide-title-block {
        width: 95% !important;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    .size-guide-title {
        margin-right: 0 !important;
		font-size: 35px !important;
        padding-bottom: 0 !important;
    }

    .size-guide-text-block {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .size-guide-img-block {
        margin-top: 50px !important;
    }
    
    .size-guide-img-block img {
        margin-bottom: 5% !important;
    }
    
    .size-guide-container.calculator-container {
        margin-top: 15%;
    }
    
    #size-table4 {
        margin-top: 50px !important;
    }
    .btn-expand {
        width: 90% !important;
        margin-top: 5% !important;
        margin-bottom: 7% !important;
    }
}

@media (max-width: 900px) and (min-width: 600px) {
	 .size-guide-title {
        padding-bottom: 0 !important;
    }

    .size-guide-img-block {
        padding-top: 5% !important;
    }

    .size-guide-container.calculator-container {
        margin: 7% auto 0 !important;
    }
}

@media (max-width: 800px) and (min-width: 600px) {
    .size-guide-container {
        width: 90% !important;
        margin: 3% auto 0 !important;
    }
}

