
/*  COLORS:
    -Red:#CF102D;
    -Gray:#C1C6C8;
    -Black:#2C2A29;
    -White:#FFF;

    BOOTSTRAP 4 SIZING CUTOFFS:
    .col- (extra small devices - screen width less than 576px)
    .col-sm- (small devices - screen width equal to or greater than 576px)
    .col-md- (medium devices - screen width equal to or greater than 768px)
    .col-lg- (large devices - screen width equal to or greater than 992px)
    .col-xl- (xlarge devices - screen width equal to or greater than 1200px)

    STYLESHEET LAYOUT:
    -Body as it affects everything
    -Navbar,Main,Footer as they affect everything
    -More Niche attributes, like A, Table, Button, Etc.
    -Page Exclusive Styles (ex. Work Orders/Claims)
    -Media Queries
    
    PLEASE NOTE: 
    -Spacing is px
    -Font-size is rem
    -The standard is 1rem = 16px
    attmepting for force stylesheet update
*/

/*----------------------------------------------- PAGE */ 
body{
    font-family: 'Montserrat', sans-serif;
    transition: all 100ms ease 0s;
    font-size: .9rem;
}
i{
    color:gray;
}
h5{
    color: #CF102D;   
}
main{
    min-height: calc(100vh - 121px);
    margin-bottom:0px;
}
footer{
    font-size:.75rem;
    display: flex;
    justify-content: center;
    font-size: .75rem;
    width: 100%;
    height: 29px;
    line-height: 28px;
    z-index: 1;
    position:absolute;
}


/*----------------------------------------------- HERO */ 
#hero{
    background-image: url("/inc/images/banner.jpg");
    background-repeat: no-repeat;
    background-position: center;
    padding-top:25px;
    /*padding-bottom:50px;*/
    margin-bottom:25px;
    color:#fff;
    text-align:center;
}
#hero h1{
    font-style:italic;
}
#hero a{
    color:#fff;
    text-decoration: underline;
}
#hero a:hover{
    color:#fff;
}
#hero-contact{
    background-image: url("/inc/images/contact_header.jpg");
    background-repeat: no-repeat;
    background-position: center;
    padding-bottom:50px;
    margin-bottom:25px;
    color:#fff;
    text-align:center;
}
#hero-contact h1{
    font-style:italic;
}
#hero-contact a{
    color:#fff;
    text-decoration: underline;
}
#hero-contact a:hover{
    color:#fff;
}
/*----------------------------------------------- BRAND */ 
.brand{
    opacity:0.4;
    cursor: pointer;
}
.brand-container{
    overflow:hidden;
    display:flex;
    justify-content:center
}

/*----------------------------------------------- PRODUCT */ 
.product-sub-container{
    display:flex;
    justify-content: center;
    overflow:hidden;
}
.product-option{
    opacity:0.4;
    cursor: pointer;
    height:200px;
}
.product-name{
    opacity:0.4;
    font-style: italic;
    text-decoration: none!important;
    color:#2C2A29!important;
}
.product-name:hover{
    text-decoration: none!important;
    color:#2C2A29!important;
}
.product-image{
    display:block;
    height: 20vh;
    object-position:center;
    max-width:100%;
}
.product-background{
    background: rgb(86,90,95);
    background: linear-gradient(0deg, rgba(86,90,95,1) 0%, rgba(131,136,141,1) 25%, rgba(170,175,181,1) 72%, rgba(192,197,204,1) 100%);
}
.product{
    margin-bottom:4px;
    text-overflow: initial!important;
    white-space:normal!important;
}
.product a{
    color:#2C2A29;
}
.product a:hover{
    color:#2C2A29;
}
.product:hover{
    background-color:#FFF; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#product-head{
    font-weight:normal;
    color: #CF102D;
}
.product-container{
    width:100%;
    background:#FFF;
    margin-bottom:0px !important;
    overflow:hidden;
    height:250px;
}
.detail-container{
    width:100%;
    background:#FFF;
    margin-bottom:0px !important;
    height:100%
}
.detail-container table{
    table-layout: fixed;
    width:100%;
}
.detail-container .table td{
    padding:.5rem;
}
.detail-container .table th{
    padding:.5rem;
} 
.detail-container tr:nth-child(even){
    background-color:#00000013;
}
.detail-container .table-active{
    background:#00000035!important;
}

/*----------------------------------------------- NAVBAR */

.navbar{
    padding: 0.25rem 0.5rem!important;
    position: fixed;
    width: 100%;
    z-index: 1;
}

/* Removes orange outline from drop-down button when clicked */
.navbar-toggler{
    outline:none!important;
}
#nav-header {
    margin-top: 5px;
    margin-bottom: -5px;
    margin-left: 7px;
    font-weight: normal !important;
    font-size:1.08rem;
    color: #2C2A29;
    display:inline-block;
}

/* Resolves dropdown item turning blue */
.dropdown-item.active, .dropdown-item:active {
    background-color: #FFFFFF;
}

.find-serial{
    color:#000!important;
    text-decoration: none!important;
}
.find-serial:hover{
    color:#000!important;
    text-decoration:none!important;
}



/*----------------------------------------------- ROWS */
.row{
    margin-left:50px;
    margin-right:50px;
}
.fake-row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
/*Intended for spacing */
.fake-row > div[class^="col"], .fake-row > [class^="col"] {
    /*padding:inherit;*/
    overflow: hidden;
}
.bs4-tbody > div[class^="col-sm"], .bs4-tbody > [class^="col-sm"] {
    padding:inherit;
}
.bs4-tbody > div[class^="col-md"], .bs4-tbody > [class^="col-md"] {
    padding:inherit;
}
.bs4-thead > div[class^="col"], .bs4-thead > [class^="col"] {
    padding:inherit;
}
.bs4-tbody > div[class^="col-md"], .bs4-tbody > [class^="col-md"] {
    padding:inherit;
}
.bs4-big-thead > div[class^="col-lg"], .bs4-big-thead > [class^="col-lg"] {
    padding:inherit;
}
.bs4-big-thead > div[class^="col"], .bs4-big-thead > [class^="col"] {
    padding:inherit;
}
.bs4-tbody > div[class^="col-lg"], .bs4-tbody > [class^="col-lg"] {
    padding:inherit;
}
.bs4-tbody > div[class^="col-xl"], .bs4-tbody > [class^="col-xl"] {
    padding:inherit;
}
.detail-row{
    margin-left:0px;
    margin-right:0px;
    padding-bottom: 6px;
    display:flex;
    flex-wrap:wrap;
}

/*----------------------------------------------- FAKE TABLE */
/*Header for fake tables at large sizes */
.bs4-thead{
    font-weight:bold;
    margin:2px;
}/*Header for fake tables at very large sizes */
.bs4-big-thead{
    font-weight:bold;
    margin:2px;
}
.bs4-big-thead a{
    color:gray!important;
}
.bs4-big-thead a:hover{
    color:#CF102D!important;
}
/*Header for fake tables at smaller sizes */
.bs4-hidden-header{
    margin-top:2px;
    font-weight:bold;
    display:none;
}
/*Header for large fake tables at smaller sizes */
.bs4-big-hidden-header{
    margin:2px;
    font-weight:bold;
    display:none;
}
/*Hides content until BS4 xl break (1199px) */
.bs4-hidden-xl{
    display:none;
}
/*Hides content at BS4 xl break (1199px) */
.bs4-hide-xl{
    display:inline;
}
/*Additional Spacing for fake table bodies */
.bs4-tbody{
    margin:2px;
    border-top:1px solid darkgray;
}
/*Hover functionality for table rows */
.bs4-tbody:hover{
    background:#e5e6e7;
}
/*for order information */
.collapse-right{
    padding:0px;
}



/*--- table for product detail */


/*----------------------------------------------- BUTTON */

.btn-primary:focus{
    outline: 0 !important;
    outline-offset: 0  !important;
    background-image: none  !important;
    -webkit-box-shadow: none !important;
    box-shadow: none  !important;
}
.btn-orderview{
    border-radius:3px;
    font-size:.75rem!important;
    box-shadow:none;
    color:#FFF;
    display:block;
    outline:none!important;
    text-align:center!important;
    margin-top:3px;
    padding-top:2px!important;
    padding-bottom:2px!important;
    padding-left:3px!important;
    padding-right:3px!important;
}
.btn-orderview:focus{
    outline: 0 !important;
    outline-offset: 0  !important;
    background-image: none  !important;
    -webkit-box-shadow: none !important;
    box-shadow: none  !important;
}
.btn{
    border-radius: 2px!important;
}

.href-orderview{
    color:#FFF;
}
.href-orderview:hover{
    color:#FFF!important;
}

.btn-prod
{
    color:#CF102D;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color:#FFF!important;
    background-color:#CF102D;
}

/*--- Carousel is for previous and next buttons on product detail */

.carousel-control-next-icon:after
{
  content: '>';
  font-size: 3rem;
  color: #CF102D;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 3rem;
  color: #CF102D;
}


.carousel-control-prev-icon{
    background-image:none!important;
}

.carousel-control-next-icon{
    background-image:none!important;
}

/*----------------------------------------------- IFRAME */
.iframe-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    margin-left:15px;
  }
  
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/*----------------------------------------------- MODALS */
.modal-title{
    color:#CF102D!important;
}
/*----------------------------------------------- ACCORDION */
.card-header{
    background:transparent!important;
    text-decoration:none!important;
}
.card-detail{
    padding:0px!important;
}
.card-body{
    padding:10px;
}

.card-header-tabs {
    margin-right: -.625rem;
    margin-bottom: 0rem!important;
    margin-left: 0rem!important;
    border-bottom: 0;
}
.extended{
    padding:inherit;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.extended:hover{
    white-space: normal!important;
    overflow:visible!important;
    z-index: 99;
    background: #fff;
    border: 1px solid #C1C6C8;
    border-radius: 10px;
}

/*----------------------------------------------- TOOLTIP */
.btn{
    background:#fff;
}

.btn:focus {
    box-shadow: none;
}
  
.btn-prod {
    position: relative;
    display: inline-block;
  }
  
  .btn-prod .tooltiptext {
    font-size:.75rem;
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    padding: 5px;
    position: absolute;
    z-index: 500;
    
    right: 110%;
    overflow-wrap: break-word;
    
  }
  
  .btn-prod .tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent black;
  }
  .btn-prod:hover .tooltiptext {
    visibility: visible;
  }

/*----------------------------------------------- PRODUCT EXCLUSIVE */

#product-head{
    font-weight:normal;
    color: #CF102D;
}
.update-row{
    background:#ccc;
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    display: flex;
    justify-content: center;
}

.remove-item{
    color:#e1261c;
}

/* Used for the current page in pagination */
.page-item.active .page-link {
    font-size:.75rem;
    color: #fff !important;
    background-color: #CF102D !important; /* red */
    border-color: #CF102D !important; /* red */
    
}

/* Used for non-selected pages in pagination */
.page-link {
    font-size:.75rem;
    color:gray !important; /* red */
    background-color: #FFF !important; /* light gray */
}
.pag-spacing{
    text-align:center;
}
.pag{
    display:inline-block;
}
.pag-small{
    display:none;
}

/*----------------------------------------------- ORDERVIEW EXCLUSIVE */

#orderview-search{
    display:inline-block;
    font-weight:normal;
    padding-top:5px;
    margin:3px;
}

.orderview-input{
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    margin:5px;
    display:inline-block;
    height:30px;
}

#orderview-container{
    font-size:.75rem;
    overflow-y:auto;
    overflow-x:hidden;
    height:47vh;
    width:100vw;
}
#orderview-container>.bs4-tbody:hover{
    background-color: unset;
}
.orderview-add{
    font-weight:normal;
    color:#FFF;
    background:#CF102D;
    border-radius:.25rem;
    padding:4px;
    margin-top:5px;
}
.orderview-add:hover{
    color:#FFF!important;
}

.small-price{
    display:none;
}

/* --------------- form entry */
.form-control{
    border: 1px solid #C1C6C8;
    transition: none;
    border-radius:2px;
}
/*Style change to remove transitions from standard entries */
.form-control:focus{
    box-shadow:none;
    border: 1px solid #C1C6C8;
}

/*--------------------- cart system */
/* Container holding the image and the text */
#checkout-container {
    text-align: center;
    position: relative;
    color: #fff;
    cursor: pointer;
  }
.checkout{
    color:#fff!important; 
    line-height:2; 
    margin-bottom:0px!important;
}

  
  /* Centered text */
  .centered {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
  }

.modal-body{
    font-size:.9rem!important;
}
#cart-table-body tr{
    border: 1px solid #dee2e6;
}
#cart-table-body tr span{
    font-weight:normal!important;
}

.navbar-brand{
    margin-right:0px;
}
.nav-item{
    display:inline-block;
    margin-right: 1rem;
}

.navbar{
    display:-webkit-box!important;
}
#checkout-main{
    min-height: calc(100vh - 97px);
}
#iframe-container{
    background:transparent;
}
.iframe-filter{
    z-index:-2;
}
#login-container{
    display:none;
}
#login-card{
    border:none!important;
    z-index:1050;
}
.modal-header{
    align-items:center!important;
}

.required:after {
    color: #CF102D;
    content: '*';
}
#cart-button{
    height:30px;
    margin-right: 15px;
    filter: invert(100%) hue-rotate(18deg) brightness(3);
    
}
#cart-modal{
    max-height: calc(100vh - 120px);
}

.modal{
    left:initial;
    position:absolute!important;
}
#payment-mobile{
    display:none;
}
.modal-content{
    height:100%;
    border-radius:2px
}
.modal-dialog{
    height:100%;
    margin:0px;
}
.modal-header{
    border-radius:0px;
}

.close{
    float: right;
    font-size: 70px;
    font-weight: normal;
    line-height: 1;
    text-shadow: none;
    opacity: .5;
    transition: all 100ms ease 0s;
}
.close:hover{
    transform: rotate(90deg);
    opacity:1;
}
button.close::selection{
    border:none;
    outline:none;
}
button.close:focus{
    border:none;
    outline:none;
}
#cart-close{
    justify-content: end;
}
#background-color{
    position:fixed;
    width:34vw;
    top:0;
    right:0;
    bottom:0;
    left:initial;
    background-color:#ececec;
    z-index:0;
}
.nav-item{
    margin-right:0px!important;
}
.alert{
    margin-bottom:0px!important;
}
#disabler{
    display:none;
    position:fixed;
    width:100vw;
    height:100vh;
    top:0;
    right:initial;
    bottom:0;
    left:0;
    background-color:#000;
    opacity:0.01;
    z-index:1030;
}
.btn-mini{
    height:25px!important;
    font-size:14px!important;
    line-height:.5!important;
}

.ui-w-40 {
    width: 40px !important;
    height: auto;
}
.card{
    box-shadow: 0 1px 15px 1px rgba(52,40,104,.08);    
}
.ui-product-color {
    display: inline-block;
    overflow: hidden;
    margin: .144em;
    width: .875rem;
    height: .875rem;
    border-radius: 10rem;
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.15) inset;
    vertical-align: middle;
}
.images {
    border: 1px solid #00000035; /* added gray border around hero image */
    width:100%;
    background:#FFF;
    margin-bottom:0px !important;
    overflow:hidden;
    height:100%
}
.detail-row-fix {
    margin-left:0px;
    margin-right:0px;
    padding-bottom: 6px;
    /* display:flex; */
    flex-wrap:wrap;
}
.navbar-collapsed{
    display:none;
}
.orderview-box{
    border:1px solid lightgray;
    padding-right:5px!important;
    padding-left:10px!important;
}
.orderview-box > .btn{
    width:initial!important;
}
.btn_quantity{
    font-size:1.5rem;
    color:#000!important;
    font-weight: bold;
    border-radius: 0px;
    background: #f5f5f5;
    border:1px solid gray!important;
    display:inline-block;
    height:30px!important;
    line-height:0.5!important;
    padding-right:20px!important;
}
.quantity{
    background:#fff!important;
    display:inline-block;
    height:30px!important;
    width:40px!important;
    font-weight: bold;
    color:#000!important;
}

.btn_quantity{
    border-radius: 0px;
    background: #f5f5f5!important;
    border:1px solid gray;
    color:#000;
    font-weight:bold!important;
    width:15px!important;
    display:inline-block;
}
.container-fluid{
    padding:0px;
}
#checkout-parts{
    overflow-y:scroll;
    max-height:60vh;
}
.preview{
    color:#3e3e3e!important;
}
.preview::hover{
    color:#3e3e3e!important;
    text-decoration:none!important;
    text-decoration-color: none;
}
.alert{
    margin-left:-15px!important;
    margin-right:-15px!important;
    border-radius: 0px!important;
}

.information-drop{
    -moz-transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  transition: transform 0.5s;
}

#detail-footer{
    background-image: url("/inc/images/detail-footer.jpg");
    background-repeat: no-repeat;
    background-position: center;
}