.veedool-red { color: #d31117; }
.veedool-red-back { background-color: #d31117!important; }

.darker-red { color: #b90809; }
.darker-red-back { background-color: #b90809; }


/* really dark red  #aa0607 */
.grey-back { background-color: #f1f1f1;}

.white-back { background-color: white;}
.black { color: black;}

.skew {
    transform: skew(-12deg);
}

.noskew {
    transform: skew(12deg);
}

.veedol-btn { 
   
    transform: skew(-12deg); 
    background: #d31117; 
    color:white; 
    text-decoration: none; 
    display: inline-block; 
    padding: 7px 14px;
    font-size:17px!important;
}
.veedol-btn:hover { color:white;}
.veeedol-btn a {transform: skew(+12deg);display: block;}

.veedol-btn-white {
    background: white!important; 
    color:black!important; 
}

.red-hr {
    width: 230px;
    height: 6px!important;
    background-color: #d31117; 
    margin: 10px auto; 
    border: none; 
    opacity: 1!important;
}

.red-hr:nth-of-type(2) {
    margin: 70px auto!important; 
}

.news-cards .title { font-size: 25px }
.news-cards .date { }
.news-cards img { border-bottom: 6px solid #d31117;}

/* MENU */

#top-menu {
    z-index: 9999!important;
    position:relative;
}

#contact-menu-container-home {
    background-color:rgba(241, 241, 241, 0.7);
}
#contact-menu-container{
    background-color:#f1f1f1;
}
#contact-menu {
    height:30px;
}

#contact-menu a {
    text-decoration: none;
    margin-left:35px;
    font-size: 15px;
}
#contact-menu a:hover {
    color: black;
}


button.navbar-toggler{
    margin-top: 10px;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:focus {
    box-shadow: none!important;
}


#logo {
    height:47px;
}

#main-menu{
    height:67px;
}

#sub-menu {
    background-color:#d31117;
    height:55px;
    text-transform: uppercase;
}

#sub-menu .sub-menu-link {
    
    font-size: 16px;
    height:54px;
    display: inline-block;
    padding-top:15px;
    padding-left:10px;
    padding-right:10px;
}

#sub-menu .sub-menu-item {
    
    font-size: 16px;
    height:54px;
    width: 600px;
    padding-top:8px;
}
#sub-menu .sub-menu-item div {
    padding-top:7px;
}

#sub-menu .default {
    margin-left: 356px;
}

#sub-menu .about-us {
    padding-top:0px;
    margin-left: 290px;
}

#main-nav nav ul { 
    height:50px;
    left: -52px !important;
    top: -4px;
    position: relative;
}
.nav-item { 
    height: 67px;
    
}
.nav-item a { 
    color: black;    
}
.nav-item a:hover { 
    color: black;    
}
.nav-item a div {
    height: 51px;
    padding-top: 14px;
    padding-left:10px;
    padding-right:10px;
}



.nav-item  {
    transform: skew(-12deg); 
}

.nav-item .active {
   /* transform: skew(-12deg);  */
    background-color: #d31117!important;
    color: white!important;
}


.nav-link {
    font-size: 16px;
    text-transform: uppercase;
}

.nav-link:hover {
    background-color: #f1f1f1!important;
}

.activeMenu {
    background-color: #f1f1f1!important;
}

.nav-item .active:hover {
    color: white!important;
    background-color: #d31117!important;
}


.child-menu{
    display: none;
    position:absolute;
    top:67px;
    width:600px;
    height:55px;
}

.child-menu-active { 
    display: block;
}

.child-menu li{
    display: inline-block;
    margin-right:5px;
}

.child-menu a {
    background-color:#b90809!important;
    color: white!important;
}
.child-menu a:hover {
    background-color:#aa0607!important;
    color: white!important;
}

a.child-menu-active-page, .child-menu-active-page a {
    background-color:#aa0607!important;
}


ul.child-menu a div {
    height: 39px!important;
    padding-top: 9px;; 
}
.nav-item:hover .child-menu {
    display: inline-block;   
}

.link-default .child-menu {
    left:65px!important;
}

.link-aboutus .child-menu {
    left:-32px!important;
}

.link-products .child-menu {
    left:-32px!important;
}

#navbarNav {
    margin-left: 99px!important;
}

#contactaddress .img-grey-background {
    top: -41px!important;margin-left:-150px
}


@media (max-width: 1399px) {

    
    
    .img-grey-background {
        top: -20px!important;
    }
    
    #contactaddress {
        height: 150px!important;
    }
    
    #contactaddress .txt-grey-background {
        margin-top: -16px !important;
    }

    .nav-link { 
        padding:0 0!important;
        height: 67px;
        padding-top:10px!important;
    }
    .child-menu .nav-link {
        height:55px;
        padding-top:7px!important;
    }

    #sub-menu{ 
        height: 55px;
    }

    #navbarNav {
        margin-left: 9px!important;
    }

    .img-grey-background {
        height:250px!important;
    }

    .img-grey-background2 {
        height:280px!important;
        top:-37px!important;
    }
    
    .grey-back {
        height: 200px!important;
    }
    #contactdetails {
        height: 80px!important;
    }
    .txt-grey-background {
        height: 200px!important;
        font-size: 22px!important;
    }

   #location-text {
        height: 200px!important;
        font-size: 22px!important;
    }

    #home-history-text  {
        height: 200px!important;
        font-size: 16px!important;
    }

    #history-main #history-img-1 {
        top:-40px!important;
    }

    #history-main #history-img-2 {
        top:-18px!important;
    }

    #history-main #history-img-3 {
        top:-18px!important;
    }
    #history-main #history-img-4 {
        top:-24px!important;
    }

    #contact-main .img-grey-background {
        top:-30px!important;
    }

    #navbarNav ul.child-menu {
        margin-top: 0px !important;
    }

    .link-default .child-menu {
        left: 34px !important;
    }

    #header-slider {
        top: -165px!important;
    }
  
    #logo-container { margin-right: 90px!important;}
    #logo { height: 40px}
    .search-container {
        margin-top: 2px!important;
    }
    .social-links {
        padding-top: 2px!important;
    }
}

@media (max-width: 1199px) {

    #main-menu .container {
        margin-left: 0px;
    }
    #navbarNav ul.child-menu {
        margin-top: 0px !important;
    }

    .nav-item { margin-top:0px}
    #logo-container { margin-right: 71px!important;}
    #logo { height: 40px}

    .container, .container-lg, .container-md, .container-sm {
        max-width: 1120px;
    }

    #header-slider {
        height: 500px!important;
    }
    
}

@media (max-width: 1110px) {
    .search-input{
        width:150px!important;
    }
    .search-container {
        max-width:150px!important;
        margin-left:-20px!important;
    }

    #logo-container { padding-top:6px; margin-right: 71px!important; height:51px;} 
    #logo { height: 35px}
    #navbarNav ul.nav{
        width: 475px!important;
    }
}



@media (max-width: 1000px) {
    #navbarNav {
        display: none!important; /* Hide desktop menu below 1050px */
    }
    .navbar-toggler {
        display: inline-block!important; /* Show hamburger menu button below 1050px */
    }

    #header-slider {
        margin-top:80px!important;
        height: 300px!important;
    }
    #logo-container {
        padding-top:11px;
    }


    .search-button {
        display: inline-block!important;
        height: 39px;
        vertical-align: middle
    }
    .search-input {
        width: 80% !important;
        display: inline-block!important;
    }
    .search-container {
        margin:0!important;
        width:100%!important;
        max-width:100%!important;
    }

    .search-input {
        font-size:30px!important;
        height:40px!important;
        vertical-align: middle;
    }



  
}

@media (min-width: 1001px) {
    .navbar-toggler {
        display: none!important; /* Hide hamburger menu above 1050px */
    }
    #navbarNav {
        display: flex!important; /* Show desktop menu above 1050px */
    }


}

@media (max-width: 970px) {
    #location-text {
        
        font-size: 16px!important;
    }

    #oemproducts {
        width:100%!important;
    }

}
@media (max-width: 880px) {

    #history-main  .txt-grey-background {
        font-size: 14px!important;
    }

    #history-main .text-start{
        top: -20px !important;
        position: relative;
    }

    #home-history .text-start, #home-history .text-start  a{
        font-size:13px!important;
    }
    #home-history-text {
        margin-top: -20px;
    }

    .img-grey-background {
        height:211px!important;
    }

    #contactaddress .img-grey-background {
        top:-20px!important;
        margin-left: -70px!important;
        height: 150px!important;
    }


    .img-grey-background2 {
        height:260px!important;
    }
    
    .grey-back {
        height: 160px!important;
    }

    .txt-grey-background {
        height: 200px!important;
        font-size: 22px!important;
    }

    .txt-grey-background:nth-child(2) {
        height: 200px!important;
        font-size: 14px!important;
    }
}

@media (max-width:820px) {
    .footer-skew { display:none;}
    .footer-logo img {
        width:180px;
    }
}
@media (max-width: 770px) {

    #history-main #history-img-1,  #history-main #history-img-3  {
        top: 20px !important;
    }

   
 
    #history-main  .txt-grey-background {
        font-size: 20px!important;
    }

    #history-main .img-row {
        text-align:center!important
    }

    #home-history-text {
        margin-top:  50px !important;
        margin-bottom: 30px!important; 
    }
    
    #img-grey-background2-parent {
        text-align:center!important;
    }

    .home .img-grey-background,.home .img-grey-background2 {
        position:unset!important;
        margin-top:30px;
    }

    
    #location-text {
        font-size: 25px!important;
    }

    #home-history .text-start {
        font-size: 22px!important;
    }

    .grey-back {
        height:auto!important;
    }
    #contactaddress {
        height: 260px !important;
        
    }
    
    #contactaddress #img-grey-background-parent {
        margin-bottom: 20px!important;
        text-align: center!important;
        background-color: #f1f1f1;
    }
    #contactaddress .txt-grey-background p, #contactaddress .img-grey-background-parent  {
        text-align: center!important;
        width:100vw!important;    
    }

    #contactaddress .img-grey-background {
        top:-20px!important;
        margin-left: 0px!important;
        height: 240px!important;
    }


    #locations .row .col {
        text-align: center!important;
    }

    
    footer .short {
        height:auto!important;
        margin-top: 0!important;
        text-align: center;
    }
    footer {
        padding-top:10px;
        padding-bottom:10px;
    }
}

@media (max-width: 570px) {
    #home-history-text {
        margin-top: 50px !important;
        margin-bottom: 70px!important; 
    }
    .img-grey-background {
        max-height:90%!important;
    }
    #logo-container {
        padding-top:14px;
    }
    #contactaddress .img-grey-background {
        top:-20px!important;
        margin-left: 0px!important;
        height: 190px!important;
    }
}
.search-container {
    position: relative;
    width: 100%; /* Adjust width */
    max-width: 200px; /* Optional: set a maximum width */
    margin-top: 2px;
    margin-left:20px;
}

.search-input {
    width: 200px;
    padding: 0px 40px 0px 10px; /* Add padding-right for icon space */
    border: 1px solid #ccc;
    height: 30px;
    font-size: 14px;
    box-sizing: border-box;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px; /* Adjust icon size */
    color: #555; /* Adjust icon color */
    pointer-events: none; /* Prevent interaction */
}

.social-links {
    padding-top:3px;
}
.social-links a {
    display: inline-block;
    padding: 0;
    margin:0;
}
.social-links a img{
    height:27px;
}

#header-slider {
    z-index: 9998!important;
    top:-152px;
    position: relative;
    height: 362px;
    height: 653px; /* Set desired height */
}

#mobileNavbar {
    background-color:#d31117;
    width:100%;
    
    /* position:absolute;
    left:0!important;
    top:97px;
    padding-left:100px;
    height:270px; */
}

#mobileNavbar ul {
    list-style: none;
    padding-top:30px;
    font-size: 30px;
    padding-right:35px;
}

#mobileNavbar ul.submenu {
    padding-top:0px;
    margin-bottom:35px;
    margin-left:50px
}


#mobileNavbar a, #mobileNavbar a:hover  {
    color: white;
    text-decoration: none;
}

#mobileNavbar div {
    padding-left: 35px;
}

.submenu {
    display: none; /* Initially hide all submenus */
    padding-left: 20px; /* Optional: Indent submenu items */
}

.has-submenu > .text-black {
    cursor: pointer; /* Indicate that the item is clickable */
}

.has-submenu > a {
    cursor: pointer; /* Indicate clickable items */
    display: flex;
    justify-content: space-between; /* Ensure arrow is aligned to the right */
    align-items: center;
}

.arrow {
    transition: transform 0.3s ease; /* Smooth rotation */
}

.arrow.up {
    transform: rotate(180deg); /* Rotate arrow when submenu is open */
}






#header-slider .carousel-inner {
    height: 100%; /* Ensure the carousel matches the height */
}

#header-slider .carousel-item  {
    height: 100%; /* Match the height of the carousel */

}


#header-slider .carousel-item img.img-slide {
    height: 100%; /* Match the height of the carousel */
    width: 100%; /* Maintain aspect ratio, cropping width if needed */
    object-fit: cover; /* Ensure the image covers the container */
    object-position: center;
}



main .sec {
    margin-top:40px;
    margin-bottom:40px;
}

main .sec:first-of-type {
    margin-bottom:70px;
}

main .sec:nth-of-type(3) {
    margin-top: 115px;
}


main.home {     
    top: -250px;
    position: relative;
}



/* Grey Back Row Home */
.grey-back {
    height:300px;
}

.img-grey-background  { 
    position:relative; 
    top: -30px; 
    max-height: 100%; 
    object-fit: contain; 
    clear: both;
}

.img-grey-background2  { 
    position:relative; 
    top: -54px; 
    max-height: 100%; 
    object-fit: contain; 
    clear: both;
    height:390px;
}
.txt-grey-background {
    height:300px; 
    font-size: 27px;
}

.txt-grey-background-small-text {
    font-size: 20px!important;
}


.veedolHeading {
    text-transform: uppercase!important;
    text-decoration: underline!important;
    text-decoration-color: #d31117!important;
    text-underline-position: under!important;
    text-decoration-thickness: 5px!important;
    margin-bottom:40px;
    text-underline-offset: 10px;;
}

p { font-size:20px;}

.contact-detail {
    background-size: contain;
    background-repeat: no-repeat;
    padding-left:90px;
}

.contact-detail a{
    text-decoration: none!important;
    color: black!important;
    font-weight: 600;
    font-size: 25px;
}

#contact-phone {
    background-image: url("/img/phone-contact-us.jpg");
}

#contact-email {
    background-image: url("/img/email-contact-us.jpg");
}


#news .news-cards .news {
    margin-bottom:40px;
}

/* Footer */
footer{
    height: 300px;
    display: flex;
    flex-direction: column;
}

footer.home{
    margin-top: -220px !important;
}

footer .row {
    display: flex;
    align-items: stretch;
}

footer img{
    width:200px;
}

footer .container, footer .container .row{
    height: 100%;
}

footer .short{
    height: 120px;
    
    margin-top:100px;
}

footer .footer-copy {
    display: flex;
    flex-direction: column; /* Allow alignment of content */
    justify-content: flex-end;
}


.footer-skew {
       transform: skew(-12deg);  
      background-color: #b90809!important;
}


.news-cards h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(1.2em * 2);
}
.single-news {
    margin-bottom: 20px;
}

#news img {
    max-width: 100%!important;
    height: auto!important;
}



.page-link { border-radius: 0!important; border-color: #b8080a!important; color: #b8080a!important;}
.active .page-link { background-color: #d31117!important; color: white!important;}

.page-link:hover { background-color: #f1f1f1!important; color: #b8080a!important;}