/************************/
/* General */
/************************/

body{
    font-family: ArialMT, Arial, sans-serif;
    font-size: 14px;
    color: #333333;
}

h1, h2, h3{
    font-weight: bold;
}

.h1, h1{
    font-size: 24px;
    text-transform: uppercase;
}

.h2, h2{
    font-size: 19px;
}

.h3, h3{
    font-size: 16px;
}

.main-body{
    padding: 20px;
}

a{
    text-decoration: none;
}

.form-floating>label{
    color: #797979;
}

.btn-primary a{
    color: #fff;
}
.btn-primary {
    background-color: #169bd5;
    border-color: #169bd5;
}
.btn-primary:hover {
    background-color: #148bbf;
    border-color: #148bbf;
}
.btn-primary:focus {
    background-color: #148bbf;
    border-color: #148bbf;
}

#loading_overlay{
    display: block;
}

#loading_overlay:before{
    content: '';
}

.loading_overlay_active{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #16213cad;
    z-index: 999;
}

#loading_overlay.loading_overlay_active:before{
    background-image: url(/images/spinner_u65.svg);
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 9999;
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: -1;
    animation: rotation 6s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/************************/
/* Menu */
/************************/

#main_navbar{
    height: 100px;
    padding: 20px;
    background-image: linear-gradient(-180deg, #fdfdfd 0%, #e4e4e4 100%);
}

#left-menu{
    width: 140px;
    max-width: 140px;
    background-color: #bf540a;
    color: #fff;
    padding: 22px 0px;
}

#left-menu ul{
    list-style: none;
    padding-left: 0px;
}

#left-menu a{
    color: #fff;
    text-decoration: none;
    background-color: #ca690d;
    display: block;
    padding: 10px 10px;
    margin-bottom: 2px;
    font-size: 14px;
}

/************************/
/* Admin Menu */
/************************/

.admin-menu{
    background-color: #333;
}

.admin-menu ul{
    list-style-type: none;
}

.admin-menu ul li{
    display: inline-block;
    color: #fff;
}

.admin-menu ul li a{
    color: #fff;   
    display: inline-block;
    padding: 10px;
    background-color: #444;
}

.admin-menu ul li.menu-right{
    float: right;
}

.admin-menu ul li a:hover{
    background-color: #000;
}

.main-body .admin-menu{
    background-color: transparent;
}

.main-body .admin-menu ul li{
    display: block;
    margin-bottom: 2px;
}

.main-body .admin-menu ul li.menu-right{
    float: none;
}


/************************/
/* Home */
/************************/

.home-button{
    width: 140px;
    height: 60px;
    padding: 2px 12px;
    border-radius: 8px;
    border: 1px solid #797979;
    background-color: #00526a;
    box-sizing: border-box;
    font-family: 'ArialMT', 'Arial', sans-serif;
    color: #ffffff;
    text-align: center;
    line-height: normal;
    display: inline-flex;
    vertical-align: middle;
    align-content: center;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin-right: 40px;
    margin-bottom: 2px;
}
    
.home-button:hover{
    color: #fff;
    background-color: #0f6882;
}    
    
.home-row{
    border-bottom: 1px solid #797979;
    padding: 36px 40px 40px 40px;
}    

div.main-body.home section:first-of-type{
    border-top: 1px solid #797979;
    margin-top: 20px;
} 


/************************/
/* Parts */
/************************/

.company form, .company form textarea, .company form input{
    width: 100%;
    margin-bottom: 20px;
}

.company #keyword_search, .company #parts_search{
    text-align: center;
}

.company textarea{
    min-height: 400px;
}    

#keyword_search{
    margin-bottom: 40px;
}

.part #prod_main_image{
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 2px solid #797979;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.part .product_description{
    margin-bottom: 20px;
}

.part .product_comments{
    margin-bottom: 22px;
}

.part .change_down{
    background-color: #abe4b1;
}

.part .change_up{
    background-color: #facbd1;
}

.part .product_thumbnail{
    width: 100%;
    max-width: 100px;
    height: auto;
    max-height: 100px;
    border: 2px solid #797979;
}

.part .related_product_row{
    margin-bottom: 20px;
}

.part .related_title{
    font-size: 16px;
    font-weight: 700;
}    
    
.part_status{
    text-transform: uppercase;
    color: red;
    font-weight: bold;
}  
    
/* form styles - GTG */
span.input-required { color: #990000 !important; }
.form-submission-error ul { margin-bottom: 0; }

/* login styles - GTG */
body.page-login .alert h5 { font-size: 16px; }

/* message-session styles - GTG */
.message-session .alert { margin-top: 15px; font-weight: 600; }
.message-session .alert p:last-of-type { margin-bottom: 0; }


/* form_module_default - GTG */
.form_module_default legend { font-size: 16px; font-weight: bold; }


/* custom button styles */
.btn-custom1 { background-color: transparent; border-color: inherit; }
button#add-line:focus { box-shadow: none; }