/*========================================================================================
  Year Make Model Search BigCommerce App. All rights reserved. | Capacity Web Solutions Pvt. Ltd.
/*========================================================================================*/
*, ::before, ::after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

#ymm-container { margin-left: auto; margin-right: auto; width:100%; max-width: 1170px; padding: 0 1.5rem; position: relative; }

#ymm_searchbox { border: solid 2px #444; padding:20px; margin:20px 0; background-size: cover !important; background-position: center center !important; }
#ymm_searchbox ul { list-style: none; padding: 0; margin: 0; text-align: center; }
#ymm_searchbox #ymm_label { font-size: 24px; font-weight: 600; line-height: normal; text-transform: uppercase; text-align: center; margin: 0 0 10px; }
#ymm_searchbox select { font-size: 14px; border: 1px solid #ccc; padding: 8px 20px 8px 10px; height: 38px; width: 100%; cursor: pointer; outline: 0 !important; }
#ymm_searchbox select:focus { border-color: #bfbfbf; }
#ymm_searchbox input[disabled] { opacity: 0.5; cursor: default !important; }

#ymm_searchbox #ymm_actions { text-align:center; margin-top: 15px; }
#ymm_searchbox #ymm_actions .btn { font-size: 16px; cursor:pointer; padding:8px 10px; display:inline-block; border:0; text-transform: uppercase; margin-right: 10px; }
#ymm_searchbox #ymm_actions .btn.ymm_search { color: #fff; background-color: #000; }
#ymm_searchbox #ymm_actions .btn.ymm_search:hover { color: #fff; background-color: #333; }
#ymm_searchbox #ymm_actions .btn.btn--secondary { color: #555; background-color: #fff; border: solid 1px #e8e9eb; }
#ymm_searchbox #ymm_actions .btn.btn--secondary:hover { color: #000; background-color: #cacaca; border-color: #a6a6a6; }

#ymm_searchbox .ymm-dropdowns ul { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; }
#ymm_searchbox .ymm-dropdowns li img { display: block; margin: 4px auto; background-color: #fff; padding: 5px; height: 30px; width: 30px; box-shadow: 0 0 4px #ddd; }
#ymm_searchbox .ymm-dropdowns .red-border-invalid { box-shadow: 0px 0px 2px 1px #f91b05; }
#ymm_searchbox .ymm-dropdowns.required { color:#f70606; }

/* Horizontal Dropdown */
#ymm_searchbox.ymm-horizontal-box .ymm-dropdowns ul { margin: -15px 0 0 -15px; }
.ymm-horizontal-box .ymm-dropdowns ul:before,
.ymm-horizontal-box .ymm-dropdowns ul:after { content:''; clear:both; display:block; }
.ymm-horizontal-box .ymm-dropdowns li { float: left; width:25%; margin:0 0; text-align: left; padding: 15px 0 0 15px; }
.ymm-horizontal-box .ymm-dropdowns li .ymm_label { font-size:15px; text-transform:uppercase; display:block; margin-bottom:3px; }
.ymm-horizontal-box .ymm-dropdowns li .ymm_label .required { color: #d90000; }
.ymm-horizontal-box .ymm-dropdowns.two-dropdowns li { width: 50%; }
.ymm-horizontal-box .ymm-dropdowns.three-dropdowns li { width: 33.33333%; }
.ymm-horizontal-box .ymm-dropdowns.four-dropdowns li { width: 25%; }
.ymm-horizontal-box .ymm-dropdowns.five-dropdowns li { width: 20%; }

#loader { margin: 0px auto; }
#loader img { margin: 0 auto; }
#loader-result { margin: 0 auto; }
#ymm-container #loader-result img { width: 50px; margin: 0 auto; display: block; }

.ymm-horizontal-box .ymm-dropdowns .three-dropdownsPerRow li { width: 33.33333%; }
.ymm-horizontal-box .ymm-dropdowns .four-dropdownsPerRow li { width: 25%; }
.ymm-horizontal-box .ymm-dropdowns .five-dropdownsPerRow li { width: 20%; }
.ymm-horizontal-box .ymm-dropdowns .six-dropdownsPerRow li { width: 16.66667%; }

#ymm_actions.button-action input[type="button"] { padding: 10px 20px; height: auto; border: none; text-transform: uppercase; margin: 0 5px; } 
#ymm_actions.button-action input[type="button"]:hover { opacity: 0.8; }

#ymm-container #ymm_searchbox input#ymm_reset { background-position: center center !important; background-repeat: no-repeat !important; background-size: contain !important; }
#ymm-container #ymm_searchbox input#ymm_search { background-position: center center !important; background-repeat: no-repeat !important; background-size: contain !important; }

/* Vertical Dropdown */
#ymm_searchbox.ymm-vertical-box { max-width: 340px; margin: 20px auto; }
#ymm_searchbox.ymm-vertical-box #ymm_label { font-size: 22px; }
#ymm_searchbox.ymm-vertical-box .ymm-dropdowns li { margin-bottom: 10px; text-align: left; }
#ymm_searchbox.ymm-vertical-box #ymm_actions { margin-top: 15px; }

/* Fitments CSS */
.fitment svg { vertical-align: middle; width: 18px; height: 20px; }
.fitment .fit_title { padding: 8px; }
.fitment p { margin: 0; }
.fitment .fit_text { padding-left: 2px; text-transform: uppercase; vertical-align: middle; font-weight: 600; }
.ymm_fitment_inner { padding: 15px; display: flex; display: -webkit-flex; display: -ms-flexbox; justify-content: space-between; -webkit-justify-content: space-between; -ms-justify-content: space-between; 
  align-items: center; -webkit-align-items: center; -ms-align-items: center; font-size: 15px; box-shadow: 0 0 2px rgba(0,0,0,0.2); border: 2px solid #fff; }
.ymm_fitment_inner svg { vertical-align: middle; margin-right: 2px; width: 24px; height: 25px; }
.ymm_fitment_inner  p { margin: 0; }
.ymm_fitment_inner img { margin-right: 8px; vertical-align: middle; }
.ymm_fitment_inner .fit_text,
.ymm_fitment_inner .not_fit_text { vertical-align: middle; text-transform: uppercase; font-weight: 600; font-size: 15px; }
.ymm_fitment_inner input[type="button"] { border: 0; border-radius: 0; padding: 8px 15px; background: #fff; box-shadow: 0 0 5px rgba(0,0,0,0.1); -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.1); }
.ymm_fitment_inner input[type="button"]:hover { opacity: 0.8; }
.ymm_fitment_inner input[type="button"]:focus { border: 0; border-radius: 0; }

#ymm_data_desktop { margin: 10px 0 50px; }
.ymm_data_desktop h3 { text-transform: uppercase; font-weight: 700; text-align:center; margin: 0 0 20px; }
#ymm_compatibility_chart .compatible-chart .ymm_table { width: 100%; border-collapse: collapse; border-spacing: 0; }
#ymm_compatibility_chart .compatible-chart .ymm-table-data { overflow-x: auto; display: block; }
#ymm_compatibility_chart .compatible-chart .ymm_table th, #ymm_compatibility_chart .compatible-chart .ymm_table td { padding: 10px; border: 1px solid #fff; text-align: left; }
#ymm_compatibility_chart .compatible-chart .ymm_table thead th { text-align: left; font-size: 15px; } 
#ymm_compatibility_chart .compatible-chart .ymm_table tr:hover { background-color: #efefef; }

/*------------ Media Querys ------------*/
@media only screen and (max-width:767px) {	
    #ymm_searchbox.ymm-horizontal-box .ymm-dropdowns ul { margin: -10px 0 0 -10px; }
    #ymm_searchbox.ymm-horizontal-box .ymm-dropdowns li { padding: 10px 0 0 10px; }	

    .ymm-horizontal-box .ymm-dropdowns li, 
    .ymm-horizontal-box .two-dropdowns li, 
    .ymm-horizontal-box .three-dropdowns li,
    .ymm-horizontal-box .ymm-dropdowns.four-dropdowns li, 
    .ymm-horizontal-box .ymm-dropdowns.five-dropdowns li { width: 50%; }

    .ymm-horizontal-box .ymm-dropdowns .three-dropdownsPerRow li,
    .ymm-horizontal-box .ymm-dropdowns .four-dropdownsPerRow li,
    .ymm-horizontal-box .ymm-dropdowns .five-dropdownsPerRow li,
    .ymm-horizontal-box .ymm-dropdowns .six-dropdownsPerRow li { width: 50%; }

    .ymm_fitment_inner { flex-direction: column; -webkit-flex-direction: column; -ms-flex-direction: column; padding: 10px; }
    .ymm_fitment_inner .fit_desc, .ymm_fitment_inner .not_fit_desc { padding: 10px 0; text-align: center; }

}

@media only screen and (max-width:639px) {
    #ymm_searchbox #ymm_label { font-size: 18px; }
    .ymm-vertical-box { max-width: 300px; }

    .ymm-horizontal-box .ymm-dropdowns li, 
    .ymm-horizontal-box .ymm-dropdowns.two-dropdowns li,
    .ymm-horizontal-box .ymm-dropdowns.three-dropdowns li, 
    .ymm-horizontal-box .ymm-dropdowns.four-dropdowns li,
    .ymm-horizontal-box .ymm-dropdowns.five-dropdowns li { width: 100%; }
    .ymm-horizontal-box .ymm-dropdowns .three-dropdownsPerRow li,
    .ymm-horizontal-box .ymm-dropdowns .four-dropdownsPerRow li,
    .ymm-horizontal-box .ymm-dropdowns .five-dropdownsPerRow li,
    .ymm-horizontal-box .ymm-dropdowns .six-dropdownsPerRow li { width: 100%; }

    #ymm_compatibility_chart .compatible-pagination a { font-size: 14px; padding: 5px 10px; }

}

@media only screen and (max-width:480px) {
#ymm_compatibility_chart .compatible-pagination a { padding: 5px 8px; }
}

