html,
body {
    height: 100%;
    width: 100%;
    font-family: "Open Sans", sans-serif;
    color: #444444;
    position: relative;
}
body {
    overflow-x: hidden;
    background-color: #efefef;
}

/*---Nav Bar---*/

.navbar-brand img {
    width: auto;
    height: 40px;
}

.shopping-cart-whole {
    margin-top: 6px;
}
.shopping-cart {
    color: #fff;
    background-color: #343a40;
    font-size: 20px;
}
#cart-badge {
    font-size: 14px;
    background: #696969;
    color: #fff;
    padding: 0 5px;
    vertical-align: top;
}
.search-box {
    color: #000;
}

#search-form {
    margin-right: -34px;
}

#search-button {
    color: #fff;
    background-color: #343a40;
    width: auto;
    border: none;
}
.shopping-cart:hover {
    background-color: #343a40;
    border-color: #343a40;
    color: #244787;
}
#search-button:hover {
    background-color: #343a40;
    border: none;
    color: #244787;
}
#search-prepend:hover {
    cursor: pointer;
}

.top-level {
    padding-right: 20px;
}

.nav-link {
    font-size: 1.1em !important;
}

.dropdown-menu {
    margin-top: 0;
}
.dropdown-menu .dropdown-toggle::after {
    vertical-align: middle;
    border-left: 4px solid;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
}
.dropdown-menu .dropdown .dropdown-menu {
    left: 100%;
    top: 0;
}
.dropdown-menu > li a:hover,
.dropdown-menu > li.show {
    background: #244787;
    color: white;
}
.dropdown-menu > li.show > a {
    color: white;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0px;
    margin-left: 0px;
}

@media screen and (min-width: 768px) {
    .dropdown:hover .dropdown-menu,
    .btn-group:hover .dropdown-menu {
        display: block;
    }
    .dropdown-menu {
        margin-top: 0;
        margin-bottom: 0;
    }
}

/*---Login---*/

.login-header {
    border: none;
}

.login-img img {
    display: block;
    height: 75px;
    margin: -2em auto 1.5em;
}

.modal-content {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.grecaptcha-badge {
    opacity: 0;
}

/*---Banner---*/
.banner-video {
    margin-top: 66px;
    width: 100%;
    object-fit: fill;
}
.carousel-caption {
    position: absolute;
    top: 250px;
    z-index: 5;
}
.carousel-caption h1 {
    font-size: 300%;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 15px #000;
}
.carousel-caption h2 {
    font-size: 200%;
    font-weight: 500;
    text-shadow: 2px 2px 15px #000;
}
.btn-outline-primary {
    color: #244787;
    border: 1px solid #244787;
}
.btn-outline-primary:hover {
    background-color: #0081b2;
    border: 1px solid #244787;
}
.btn-primary {
    background-color: #244787;
    border: 1px solid #244787;
}
.btn-primary:hover {
    background-color: #0081b2;
    border: 1px solid #0081b2;
}

/*---Home Page Content---*/
.product-lines-text {
    text-align: right;
    left: 8%;
}

.btn-outline-secondary {
    margin-top: 14px;
}

.welcome hr {
    border-top: 2px solid #b4b4b4;
    width: 75%;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
}
.three-column-images-first {
    width: 100%;
    height: 100%;
}

.card-contents {
    left: 60px;
}
.Portfolio {
    transition-duration: 0.4s;
    animation: winanim 0.5s;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

.Portfolio:hover {
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
        0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.Portfolio img {
    width: 100%;
    height: auto;
    /*border-radius: 5px*/
}

.home-card-deck {
    margin-top: 3em;
}

.home-card-deck .card-body {
    display: flex;
    flex-direction: column;
}

.home-card-deck .btn {
    margin-top: auto;
}

.home-card-deck .card-deck {
    margin-bottom: 4em;
}

.home-card-deck .card-text {
    font-size: 88%;
}

.home-pic {
    max-width: 358px;
    max-height: 180px;
}

.home-pic-conagg {
    max-width: 100%;
    max-height: 100%;
}

.catalog-container img {
    display: block;
    margin: auto;
    max-width: 240px;
    max-height: 311px;
}

.catalog-container img:hover {
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
        0 17px 50px 0 rgba(0, 0, 0, 0.19);
    cursor: pointer;
}

.catalog-container p {
    font-size: 80%;
}

.desc {
    padding: 5px;
    text-align: center;
    font-size: 80%;
    background: #244787;
    color: #fff;
}

.bold-mms {
    font-weight: bold;
}

.interactive-cover {
    width: 285px;
    height: 378px;
}

@keyframes winanim {
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
    50% {
        opacity: 1;
    }
}

/*---Product Items Page --*/
.product-card-img img {
    width: 95%;
    height: 95%;
    margin: -5px;
}
.custom-select {
    width: 30%;
}
#amountOfItems {
    width: 30%;
}
.input-group-text {
    width: 150px;
}
.of-containers {
    padding-left: 18px;
    padding-bottom: 15px;
}
.in-containers {
    padding-left: 18px;
}
.btn-cart {
    margin-left: 4px;
}
.product-item-price {
    margin-left: 3px;
}
.list-h6 {
    margin-top: 0.25em;
    font-size: 110%;
}
.list-ul {
    margin-top: 1em;
}
.list-ul li {
    margin-top: 0.5em;
}

/*---Login Page---*/
.login {
    top: 28%;
    margin-bottom: 280px;
    max-width: 400px;
    max-height: 500px;
}
.login img {
    width: 70%;
    height: 70%;
    margin-left: 55px;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*---Products Pages Breadcrumbs---*/
.breadcrumb {
    margin-top: 3.8em;
    background-color: #244787;
    margin-bottom: -0.25em;
    height: 80%;
    padding: 6px 15px !important;
}
.breadcrumb-item {
    color: #fff;
}
.white-text {
    color: #fff;
}
.white-text:hover {
    color: #000;
}
li.active {
    color: #000 !important;
}
.bc-icons-2 .breadcrumb-item + .breadcrumb-item::before {
    content: none;
}

/*---Product Items Page --*/
.pi-card-contents {
    left: 40px;
    text-align: center;
}
.pi-card-contents .stock-desc {
    margin-top: 10px;
}

.pi-card-contents .stock-size {
    margin-top: -5px;
}

.pi-card-contents .stock-part-num {
    margin-top: -5px;
}

.pi-card-contents p {
    margin-bottom: 5px;
}
.pi-card {
    min-width: 267px;
}

.pi-card p {
    font-size: 89.5%;
}

.pi-card .btn-success,
.pi-card .btn-secondary {
    margin-top: 5px;
}

.pi-card .default-img {
    margin-top: 44px;
    margin-bottom: 24px;
}

#itemModal .modal-body {
    margin-bottom: -40px;
}

#itemModal .modal-footer {
    border-top: none;
}

#itemModal .form-group {
    margin-bottom: -5px;
}

.categories-img {
    width: 180px !important;
    height: 180px !important;
}

/*---Forgot Password Page---*/
.forgot {
    top: 25%;
    margin-bottom: 250px;
}
.forgot label {
    padding-top: 24px;
}

/*---Shopping Cart Page---*/

.bloc_left_price {
    color: #c01508;
    text-align: center;
    font-weight: bold;
    font-size: 150%;
}
.category_block li:hover {
    background-color: #007bff;
}
.category_block li:hover a {
    color: #ffffff;
}
.category_block li a {
    color: #343a40;
}
.add_to_cart_block .price {
    color: #c01508;
    text-align: center;
    font-weight: bold;
    font-size: 200%;
    margin-bottom: 0;
}
.add_to_cart_block .price_discounted {
    color: #343a40;
    text-align: center;
    text-decoration: line-through;
    font-size: 140%;
}
.product_rassurance {
    padding: 10px;
    margin-top: 15px;
    background: #ffffff;
    border: 1px solid #6c757d;
    color: #6c757d;
}
.product_rassurance .list-inline {
    margin-bottom: 0;
    text-transform: uppercase;
    text-align: center;
}
.product_rassurance .list-inline li:hover {
    color: #343a40;
}
.reviews_product .fa-star {
    color: gold;
}
.pagination {
    margin-top: 20px;
}

.cart-container {
    margin-top: 80px;
    background-color: white;
}

.cart-header {
    background-color: #244787;
    color: white;
}

.cart-buttons {
    margin-bottom: 0.4rem;
}

.cart-h1 {
    text-align: center;
    padding-top: 20px;
}

.cart {
    background-color: white;
}

.cart .delete-item {
    display: inline-block;
}

.cart tfoot {
    background-color: #244787;
    color: white;
}

.modal-img {
    margin-top: -5px;
    margin-bottom: 5px;
}

.modal-img-text {
    font-size: 95%;
}

#addItemModal .modal-body {
    margin-bottom: -40px;
}

#addItemModal .modal-footer {
    border-top: none;
}

#addItemModal .form-group {
    margin-bottom: -5px;
}

.cart-form button {
    display: inline-block;
}

.prop65 {
    margin-left: -8px;
}

.hazard {
    margin-left: -22px;
}

.restricted-flying {
    margin-top: 3px;
    margin-left: -8px;
}

.clickable-td:hover {
    cursor: pointer;
}

.cart-default-img {
    width: 45px;
    height: 45px;
}

.disclaimer {
    font-size: 75%;
}

.legend-div {
    font-size: 14px;
    margin-top: -20px;
}

.hazard-div {
    margin-top: 17px;
}

.hazard-div span {
    margin-left: 15px;
}

.hazard-div button {
    margin-right: -10px;
}

.prop65-link:link {
    color: #0000ee;
    text-decoration: underline;
}

.prop65-link:visited {
    color: #551a8b;
    text-decoration: underline;
}

.prop65:hover,
.hazard:hover {
    cursor: text;
}

#submitForQuoteModal .first-row {
    margin-top: -15px;
}

#submitForQuoteModal .form-group {
    margin-bottom: -18px;
}

#submitForQuoteModal .required-field {
    color: red;
}

#submitForQuoteModal .modal-body p {
    margin-top: -5px;
    margin-bottom: 10px;
    font-size: 73%;
}

/*---Wish List Page---*/

.wish-list-img {
    width: 45px;
    height: 45px;
}

/*---Checkout Page---*/
.fa-cc-visa {
    font-size: 35px;
    margin: 5px;
    margin-top: 8px;
}
.fa-cc-mastercard {
    font-size: 35px;
    margin: 5px;
    margin-top: 8px;
}
.fa-cc-amex {
    font-size: 35px;
    margin: 5px;
    margin-top: 8px;
}

/*---Footer---*/

footer {
    background-color: #343a40;
    color: #fff;
}

footer a {
    color: #fff;
}

a {
    color: #444444;
}
a:hover {
    color: #444444;
    text-decoration: none;
}

.footer-p {
    margin-bottom: -2px;
}

footer p {
    font-size: 95%;
}

footer a {
    display: block;
}

footer a:hover {
    color: #c0c0c0;
}

footer .fa-youtube {
    color: white;
}

footer .fa-linkedin {
    color: white;
}

/** Media Queries for navbar **/
@media screen and (max-width: 1220px) {
    .navbar-nav .nav-item {
        font-size: 90%;
        margin-left: -5px;
    }
}

@media screen and (max-width: 1110px) {
    .navbar-nav .nav-item {
        font-size: 85%;
        margin-left: -13px;
    }
}

@media screen and (max-width: 1050px) {
    .navbar-nav .nav-item {
        font-size: 85%;
        margin-left: -10px;
    }
}

@media screen and (max-width: 900px) {
    .navbar-nav .nav-item {
        font-size: 80%;
        margin-left: -14px;
    }
}

@media screen and (max-width: 820px) {
    .navbar-nav .nav-item {
        font-size: 70%;
        margin-left: -14px;
    }
}

@media screen and (max-width: 767px) {
    .navbar .nav-item {
        margin-left: 5px;
        margin-bottom: 10px;
    }
    .shopping-cart-whole {
        margin-bottom: 25px;
    }
    .navbar .dropdown-menu {
        background-color: #343a40;
        border: none;
    }
    .navbar .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.5);
    }
    .navbar .dropdown-menu .dropdown-item:hover {
        background-color: #343a40;
    }
}

/** Media Queries for Footer **/
@media screen and (max-width: 991px) {
    footer p,
    footer a {
        font-size: 80%;
    }
    footer h6 {
        font-size: 0.85rem;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min--moz-device-pixel-ratio: 1.5),
    only screen and (min-device-pixel-ratio: 1.5) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }
}

/*---Firefox Bug Fix --*/
.carousel-item {
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

/*--- Bootstrap Padding Fix --*/
[class*="col-"] {
    padding: 1rem;
}

/* Bootstrap Lightbox using Modal */

#profile-grid {
    overflow: auto;
    white-space: normal;
}
#profile-grid .profile {
    padding-bottom: 40px;
}
#profile-grid .panel {
    padding: 0;
}
#profile-grid .panel-body {
    padding: 15px;
}
#profile-grid .profile-name {
    font-weight: bold;
}
#profile-grid .thumbnail {
    margin-bottom: 6px;
}
#profile-grid .panel-thumbnail {
    overflow: hidden;
}
#profile-grid .img-rounded {
    border-radius: 4px 4px 0 0;
}

.input-row {
    margin-bottom: -20px;
}

.form-control::placeholder {
    color: rgba(167, 167, 167, 0.603);
}
