/*========================================================================================
  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: 1220px; padding: 0 20px; position: relative; }

#ymm_searchbox { border: solid 2px #444; padding: 20px 0; margin:0px 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: 23px; font-weight: 700; line-height: normal; text-transform: uppercase; text-align: center; margin: 0 0 10px; }
#ymm_searchbox select { background-color: #f9f9f9; cursor:pointer; font-size:14px; border:1px solid #ddd; padding:8px 10px; height: 36px; }
#ymm_searchbox select:focus { outline: 0; }

#ymm_searchbox #ymm_actions { text-align:center; margin-top: 5px; }
#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 input[disabled] { opacity: 0.5; cursor: default !important; }
#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 li img { display:block; margin: 8px auto 9px; }
#ymm_searchbox .ymm-dropdowns .red-border-invalid { box-shadow: 0px 0px 2px 1px #f91b05; }
#ymm_searchbox .ymm-dropdowns.required { color:Red; }
/* Horizontal Dropdown */
.ymm-horizontal-box .ymm-dropdowns ul:before,
.ymm-horizontal-box .ymm-dropdowns ul:after { content:''; clear:both; display:block; }
#ymm_searchbox.ymm-horizontal-box ul { margin-left: -15px; }
.ymm-horizontal-box .ymm-dropdowns li { float: left; display: block; width:25%; padding-left:15px; margin-bottom:10px; text-align: left; vertical-align: middle; }
.ymm-horizontal-box .ymm-dropdowns li:nth-child(4n) { margin-right:0; }
.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%; }
.ymm-horizontal-box .ymm-dropdowns li .ymm_label { font-size:15px; text-transform:uppercase; display:block; margin-bottom:3px; }

#loader img { margin: 8px auto !important; text-align: center; }
#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: 36px; min-width: 100px; border: 0; text-transform: uppercase; margin-left: 15px; } 
#ymm_actions.button-action input[type="button"]:hover { opacity: 0.8; }

.ymm-horizontal-box .ymm-dropdowns li .ymm_label .required { color: #d90000; }

#ymm-container #ymm_searchbox input#ymm_reset { background-position: center center !important; background-repeat: no-repeat !important; background-size: contain !important; padding: 8px 20px !important; }
#ymm-container #ymm_searchbox input#ymm_search { background-position: center center !important; background-repeat: no-repeat !important; background-size: contain !important; padding: 8px 20px !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; }

.page-sidebar #ymm-container { max-width: 100%; padding: 0; }
.page-sidebar #ymm_searchbox li { margin: 0 0 10px; }
.page-sidebar #ymm_searchbox #ymm_label { font-size: 18px; }
.page-sidebar #ymm_searchbox { padding: 15px; margin: 0 0 20px; }

.page-content.page-content--centered h1.page-heading { text-align: center; }

.home div#ymm-container #ymm_searchbox { padding: 10px 0; border-bottom: none; }
/* 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 h3 { text-transform: uppercase; font-weight: 700; text-align:center; }
#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 (min-width:800px) {
    #ymm_searchbox #ymm_label { margin: 0; text-align: left; }
    #ymm-container #ymm_searchbox { display: flex; align-items: center; }
    #ymm_searchbox.ymm-horizontal-box #my_ymm_html { display: flex; align-items: center; width: 100%; -webkit-flex: 1; flex: 1; margin-left: 15px; }
    #ymm_searchbox.ymm-horizontal-box ul { display: flex; align-items: center; -webkit-flex: 1; flex: 1; margin-top: -10px; }
    #ymm_searchbox.ymm-horizontal-box .ymm-dropdowns li { padding-top: 10px; margin-bottom: 0; } 
    #ymm_searchbox.ymm-horizontal-box  #ymm_actions { margin-top: 0px;  display: flex; flex-wrap: wrap; }

}

@media (max-width:800px) {
    #ymm_searchbox.ymm-horizontal-box ul { margin-left: -15px; display: flex; flex-wrap: wrap; }

    div#ymm-container #ymm_searchbox { border-top: 1px solid #ddd; }

}

@media (max-width:767px) {
    .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_actions.button-action input[type="button"] { margin-left: 10px; }

    .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 (max-width:600px) {
    #ymm_searchbox { /* padding: 15px; */ }

    .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%; margin-right: 0; }
    #ymm_searchbox #ymm_label { font-size: 20px; }
    .ymm-vertical-box { max-width: 300px; }

    .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%; }

}


