﻿body {
}

.hidden {
    display: none;
}
/* override datatables responsive.css to wrap colums in details*/
tr.child ul li {
    white-space: normal !important;
}

.dt-buttons{	 
	display: flex;
	justify-content: flex-end;
 }

.ui-tooltip {
    background: #fff !important; /* White background */
    color: #333;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
    display: block !important;
    z-index: 9999;
}

/* override style.css*/
.dataTables_filter, .dt-search {
    margin-bottom: 10px;	
	float: right;
    text-align: right;

}

    .dataTables_filter input, .dt-search input {
        display: inline-block !important;
        border: 1px solid !important;
        width: auto !important;
        padding: 0 !important;
		/*display: flex !important;*/
		justify-content: flex-end;
    }
	
 
#main {
    /*border: 3px solid #921913;*/
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#parts-list {
    width: auto;
    overflow-x: auto;
}

#Loading {
    position: fixed;
    top: 40%;
    left: 40%;
    height: 60px;
    width: 150px;
    margin: auto;
    padding-left: 3px;
    padding-top: 2px;
    z-index: 1000000;
}

#prev-img
{
    float:left;
    margin:10px 10px 10px 10px;
}
#next-img {
    float: right;
    margin: 10px 10px 10px 10px;
}
#part-slider .slides img, #part-carousel .slides img {
    max-width: 95%;
    width: auto;
    max-height: 200px;
}

#part-slider .slides img {
    max-height: 200px;
    margin-left: auto;
    margin-right: auto;
}

#part-carousel .slides img {
    max-height: 40px;
    padding:1px;
    border:2px solid black;
    /*border: solid 2px #CCC;*/

}

#part-carousel .slides {
    margin-left: 30px;
}

#part-detail-spec {
    float: left;
    /*border:1px solid green;*/
    white-space: normal;
    max-width: 95%;
    margin-bottom:10px;
}

#part-detail-image {
    width: 90%;
    max-height: 330px;
    float: left;
    /*border: 5px solid red;*/
    line-height: normal;
    cursor: pointer;
    display: block;
}

#part-slider, #part-carousel {
    margin-bottom: 30px;
}

    #part-slider .flex-direction-nav li a {
        top: 60px;
    }

    #part-carousel .flex-direction-nav li a {
        top: 0;
    }

#part-detail-image .flex-direction-nav li a.flex-prev {
    margin-left: -20px;
}

#part-detail-image .flex-direction-nav li a.flex-next {
    margin-right: -20px;
}

#part-detail-image .flex-direction-nav a.flex-next::before {
    content: none;
}

#part-detail-image ul {
    list-style: outside none none;
    margin: 0;
}

    #part-detail-image ul li {
        margin: 0;
    }

#part-detail-image .flex-control-nav {
    display: block;
}


/* Landscape to small desktop */
@media (min-width: 1030px) {
    #part-detail-spec {
        float: left;
        max-width: 55%;
    }

    #part-detail-image {
        float: left;
        width: 40%;
        margin-left:10px;
    }

    #form-multiparts-search{
        float: left;
        width: 45%;
    }

    #form-upload-search {
        float: left;
        width: 50%;
    }

    #form-missing-application div.input-sub-section{
        float: left;
        width: 50%;
    }

    #form-specification div.input-sub-section{
        float: left;
        width: 50%;
    }
}

#part-detail-spec table {
    border-collapse: collapse;
}

    #part-detail-spec table th {
        border-bottom: 1px solid #555555;
        font-weight: bold;
    }

    #part-detail-spec table tr {
        vertical-align: text-top;
    }

#part-detail-spec td.spec-label {
    width: 40%;
    font-weight: bold;
}

#part-detail-spec td.spec-field {
    max-width: 55%;
}

.clear {
    clear: both;
}

#part-detail-header h3 {
    display: inline-block;
}

#part-detail-header a {
    float: right;
}

div.part-detail-expand {
    margin-top: 10px;
}

.section-header {
    font-weight: bold;
}

/* Bootstrap Related*/
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    font-size: 24px;
}

.glyphicon-print:before {
    content: "\e045";
}

.glyphicon-circle-arrow-left:before {
  content: "\e132";
}

#form-multiparts-search input[type="text"]{
    margin: 5px auto;
    font-size: 0.8em;
    border: 1px solid #302e31;
    border-radius:2px;
    padding: 2px;
    max-width: 95%;
    height: 25px;
    line-height: 20px;
    width:300px;
}

#form-upload-search input[type="file"] {
    margin: 5px auto;
    font-size: 0.8em;
    padding: 0;
    width: 100%;
    display: block;
    height: 25px;
    overflow:hidden;
}

#form-multiparts-search, #form-upload-search {
    padding: 10px;
    margin: 10px 5px;
    /*border: 3px solid #921913;*/
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#form-multiparts-search .ui-button, #form-upload-search .ui-button
{
   height: 25px !important;
   font-size: 0.8em;
   padding: 0.2em 0.5em;
}

#form-multiparts-search .buttonarea, #form-upload-search .buttonarea {
  text-align: center;
  clear:both;
  margin-top: 20px;
  margin-bottom: 10px;
}

p.caption {
    color: #999999;
    font-size: 0.8em;
}

td.align-right {
    text-align:right;
}

#hd-applications-list table caption, #ld-applications-list table caption {
    margin:5px;
    font-size: 1em;
    font-weight: bold;
    text-align: left;
}

#hd-applications-list{
    margin-top:10px;
}

p.vehicle-desc {
    margin: 10px 5px 5px 0;
    font-size: 1em;
    font-weight: bold;
    text-align: left;
}
.dt-button-print-img {
    transition: all 0.3s ease;
}

.dt-button:hover .dt-button-print-img {
    content: url('/Content/images/print_hover.png');
}

a.button-print span {
    background: transparent url("images/print.png") no-repeat scroll right center;
    display: inline-block;
	height: 24px;
	line-height: 24px;
	padding-right: 30px;
}

a.button-print:hover span { background: #f0f0f0 url("images/print_hover.png") no-repeat center right; }

/*********************
PRINT STYLESHEET
*********************/
@media print {
    div.datatables a, div.datatables a:visited {
        color: #444 !important;
        text-decoration: none;
    }

     div.datatables  a:after, div.datatables a:visited:after {
            content: "";
	}

    div.datatables-print-msg {
        display:none;
    }
}

#form-missing-application {
    padding: 10px;
    margin: 10px 5px;
    /*border: 3px solid #921913;*/
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#form-missing-application div.input-section{
    margin: 20px auto;
    max-width: 96%;
    width: 600px;
}

#form-missing-application .input-unit{
    width: 100%;
    margin: 10px;
}

#form-missing-application input[type="text"], #form-missing-application textarea{

    font-size: 0.8em;
    border: 1px solid #302e31;
    border-radius:2px;
    width: 100%;
    height: 25px;
    line-height: 20px;

}

#form-missing-application .custom-combobox-input {
    background: white none repeat scroll 0 0;
    /*float: left;*/
    font-size: 0.8em;
    height: 25px;
    line-height: 20px;
    /*margin: 0 -35px 0 0;*/
    padding: 0 10px;
    /*width: 100%;*/
}

#form-missing-application .ui-button
{
   height: 25px !important;
   font-size: 0.8em;
   padding: 0.2em 0.5em;
   margin-right: 10px;
}

#form-missing-application .buttonarea {
  text-align: center;
}

#form-missing-application label {
    display:block;
}

.float-left{
    float:left;
}
.float-right{
    float:right;
}
.clear-both {
    clear:both;
}

#part-detail .ui-tabs-nav {
    margin:0;
}

#part-detail .ui-tabs-nav li {
    margin: 1px 0.2em 0 0;
}

#part-detail .ui-tabs-nav li.ui-tabs-active {
    margin-bottom: -1px;
}

#part-detail .ui-accordion-header {
    margin-bottom: 0;
}

/*Copied styles for video from deanhouston*/
.video-container {
    height: 0;
    margin-bottom: 10px;
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    width: 100%;
}
.video-container iframe, .video-container video {
    height: 100% !important;
    left: 0;
    position: absolute;
    top: 0;
    width: 100% !important;
}
/* styles for video END */
#cat-tabs ul.r-tabs-nav {
    margin: 0;
}
#cat-tabs ul li.r-tabs-tab {
    margin: 0;
}

div .go-back, .go-back-spec{
    margin-bottom: 20px;
    margin-top: -15px;
}

#vin-lookup-result{
    margin: 0 10px 10px 10px;
    overflow:auto;
}
#vin-image, #vin-fields {
    /*border:1px solid green;*/
    white-space: normal;
    width: 100%;
    margin-bottom:10px;
    overflow:hidden;
}

#vin-image {
    margin-bottom:10px;
}

#vin-fields-1, #vin-fields-2{
    float:left;
    min-width: 200px;
    white-space: normal;
}

#vin-fields td.field-label {
    width: 55%;
    font-weight: bold;
}

#vin-fields td.field-value {
    max-width: 45%;
}

#show-vin-info {
    display:block;
    margin-bottom: 10px;
    text-decoration: underline;
}

/*Specifications Search*/
#form-specification {
    padding: 10px;
    margin: 10px 5px;
    /*border: 3px solid #921913;*/
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#form-specification div.input-section{
    margin: 20px auto;
    max-width: 96%;
    width: 600px;
}

#form-specification .input-unit{
    width: 100%;
    margin: 10px;
}

#form-specification input[type="text"], #form-specification textarea{

    font-size: 0.8em;
    border: 1px solid #302e31;
    border-radius:2px;
    width: 100%;
    height: 25px;
    line-height: 20px;

}

#form-specification .custom-combobox-input {
    background: white none repeat scroll 0 0;
    /*float: left;*/
    font-size: 0.8em;
    height: 25px;
    line-height: 20px;
    /*margin: 0 -35px 0 0;*/
    padding: 0 10px;
    /*width: 100%;*/
}

#form-specification .ui-button
{
   height: 25px !important;
   font-size: 0.8em;
   padding: 0.2em 0.5em;
   margin-right: 10px;
}

#form-specification .buttonarea {
  text-align: center;
}

#form-specification label {
    display:block;
}

#form-specification .ui-autocomplete-input
{
    float:left;
}

#form-specification fieldset  
{
  border: 1px solid #c5dbec; 
  padding: 5px 10px 5px 10px;   
  margin:5px 50px 10px 50px;
  clear:both;
}

#form-specification label.fixedwidth {   
  width: 200px; 
}

#form-specification label.fixedwidth-small {   
  width: 50px; 
}



#spec-search-criteria input.spec-range,.input.ui-corner-all.spec-range
{
  font-family:Verdana,Arial,sans-serif !important;
  font-weight:normal;
  font-size: small;
  /*width:5px !important;*/
}

#form-specification label, legend {
  font-weight: bold;
  font-size: small;
  color: #2e6e9e;
  margin-left:10px;
  margin-right:5px;
  margin-top:0px;
}

/*
#form-specification input.spec-range { 
  float: right;
  margin-right: 10px;
  width: 100px; 
}
*/
#spec-search-criteria
{
    margin:0 0 0 0 !important;
    overflow:auto;
    position:relative;/*For IE7 - buttons overflow */
}

#spec-search-criteria .ui-button
{
    float:left;
    height: 25px !important;
    width: 25px !important;
}

#spec-search-criteria .input-unit{
    width: 100%;
    margin: 0px;
}

#spec-search-criteria input.spec-range { 
  display:inline-block;
  /*margin-right: 10px;*/
   /*margin-right: 10px;*/
  width: 45px; 
  padding:0px 7px 0px 7px;
}

div.expand-bom
{
    display:inline-block !important;
    /*float:left;*/
}

#table-bom td.space-required, #table-whereused td.space-required, #table-interchange td.space-required
{
    padding-left: 20px;    
}

#table-bom td.indent, #table-whereused td.indent
{ 
   padding-left: 50px;  
}

#table-bom A , #table-whereused A
{
    margin-right:0px;
}
#table-bom .ui-icon, #table-whereused .ui-icon 
{
    display:inline-block;
}


/*@media screen and (max-width: 599px) {
    #spec-search-criteria div.general-input .ui-autocomplete-input {
         max-width:150px !important;
}

    #spec-search-criteria{
        padding-top:20px;
    }
 .product-line-attr-custom-box{
    margin:0px 0px 0px 0px !important;    
}
 #form-specification label.fixedwidth{
     max-width:100px;
 }

}

@media screen and (min-width: 600px) {
    #spec-search-criteria div.general-input .ui-autocomplete-input {
         max-width:190px !important;
}
  .search-criteria-field-custom-box{
        margin:-24px 0px 0px 200px !important;  
    }

   #spec-search-criteria{
        padding-top:20px;
    }
}*/


@media screen and (max-width: 600px) {
    #spec-search-criteria div.general-input .ui-autocomplete-input {
         max-width:120px !important;
}

    #spec-search-criteria{
        padding-top:20px;
    }
 .product-line-attr-custom-box{
    margin:0px 0px 0px 0px !important;    
}
 #form-specification label.fixedwidth{
     max-width:100px;
 }

}
@media screen and (min-width: 600px) {
    #spec-search-criteria div.general-input .ui-autocomplete-input {
         max-width:150px !important;
}

    #spec-search-criteria{
        padding-top:20px;
    }
 .product-line-attr-custom-box{
    margin:0px 0px 0px 0px !important;    
}
 #form-specification label.fixedwidth{
     max-width:100px;
 }

}


@media screen and (min-width: 1200px) {
    #spec-search-criteria div.general-input .ui-autocomplete-input {
         max-width:190px !important;
}
  .search-criteria-field-custom-box{
        margin:-15px 0px 0px 200px !important;  
    }

   #spec-search-criteria{
        padding-top:20px;
    }
}

@media screen and (min-width: 992px) {
    #spec-search-criteria div.general-input .ui-autocomplete-input {
         max-width:190px !important;
}
  .search-criteria-field-custom-box{
        margin:-15px 0px 0px 200px !important;  
    }

   #spec-search-criteria{
        padding-top:20px;
    }
}

@media screen and (min-width: 768px) {
    #spec-search-criteria div.general-input .ui-autocomplete-input {
         max-width:190px !important;
}
  .search-criteria-field-custom-box{
        margin:-15px 0px 0px 200px !important;  
    }

   #spec-search-criteria{
        padding-top:20px;
    }
   #form-specification label.fixedwidth{
     max-width:100%;
 }
}


#parts-list-attr-table>tbody>tr>td>.part-number{
    color:blue;
    text-decoration:underline;
    }
.control-icon-plus{
    /*top: 50%;
    left: 50%;*/
    height: 16px;
    width: 16px;
    margin-top: -10px;
    /*margin-left: -10px;*/
    display: block;
    /*position: absolute;*/
    color: white;
    border: 2px solid white;
    border-radius: 16px;
    text-align: center;
    line-height: 14px;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box;    
    background-color: #31b131;
    cursor:pointer;
}

.control-icon-minus{
    height: 16px;
    width: 16px;
    margin-top: -10px;
     display: block;  
    color: white;
    border: 2px solid white;
    border-radius: 16px;
    text-align: center;
    line-height: 14px;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box; 
    background-color: #31b131;
    background-color: #d33333;
    cursor:pointer;
}

