.mainmenu1 .collapse ul>li>ul>li>a {
    overflow-x: hidden;
}

.mainmenu1 .collapse ul>li>ul>li>a::-webkit-scrollbar {
    width: 12px;
    height: 3px;
}

.mainmenu1 .collapse ul>li>ul>li>a::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.mainmenu1 .collapse ul>li>ul>li>a::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

@media only screen and (min-width: 767px) and (max-width: 991px) {

    .header_area .header_bottom .mainmenu1 a,
    .navbar-default .navbar-nav>li>a {

        padding: 0 5px;
    }
}


.mainmenu1 {
    background-color: transparent;
    border-color: transparent;
    margin-bottom: 0;
    border: 0px !important;
}

.header_area .header_bottom .mainmenu1 a,
.navbar-default .navbar-nav>li>a {
    color: #d63b37;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 20px;
    padding: 0px 10px;
    text-align: center;
    align-items: center;
}

.header_area .mainmenu1 .active a,
.header_area .mainmenu1 .active a:focus,
.header_area .mainmenu1 .active a:hover,
.header_area .mainmenu1 li a:hover,
.header_area .mainmenu1 li a:focus,

/*==========Sub Menu=v==========*/
.mainmenu1 .collapse ul>li:hover>a {
    background: #D63B37;
    color: #fff;

}

#navbarCollapsed {
    text-align: center;
    align-items: center;
}

.mainmenu1 .collapse ul ul>li:hover>a,
.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,
.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
    background: none;
    color: #111;
}

.mainmenu1 .collapse ul ul ul>li:hover>a {
    background: none;
    color: #111;
}

.mainmenu1 .collapse ul ul,
.mainmenu1 .collapse ul ul.dropdown-menu {
    background: #efefef;
}

.mainmenu1 .collapse ul ul ul,
.mainmenu1 .collapse ul ul ul.dropdown-menu {
    background: #d5d5d5
}

.mainmenu1 .collapse ul ul ul ul,
.mainmenu1 .collapse ul ul ul ul.dropdown-menu {
    background: #e4eeb8
}

.mainmenu1 {
    background: none;
    border: 0 solid;
    margin: 0;
    padding: 0;
    /* min-height: 20px */
}

.mainmenu1 .collapse ul ul ul.dropdown-menu {
    background: #e0e0e0;
    width: 240px !important;
    right: -240px;

}

.mainmenu1 .collapse ul ul ul,
.mainmenu1 .collapse ul ul ul.dropdown-menu {
    padding-left: 40px;
}

#myList {
    /* Style for the entire list */
    list-style-type: none;
    /* Remove bullet points */
    padding: 0;
}

#myList li {
    /* Style for list items */
    cursor: pointer;
    /* Change the cursor on hover to indicate interactivity */
    transition: background-color 0.3s;
    /* Add a smooth transition effect */

    /* Change text color */
    color: #D63B37;
    padding: 10px;

}

#myList {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
}

#myList li>a {
    color: #d63b37;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;

}

#myList li:hover>a {
    /* background: #D63B37; */
    color: #fff;

}

#myList li:hover {
    /* Style for list items on hover */
    background-color: #D63B37;
    /* Change the background color on hover */
}
.dflexclass {
    display: flex;
    justify-content: center;
}
.d-md-none{
    display: none;
}
.d-md-block{
    display: block;
}
@media screen and (max-width: 768px) {
    .logo {
        text-align: left;
        padding: 10px;
    }
    .d-md-none{
        display: block;
    }
    .d-md-block{
        display: none;
    }
    .navbar1 {
        flex-direction: column;
        align-items: center;
    }

    .navbar1 li {
        padding: 5px;
    }
    .dflexclass {
        display: grid;
        justify-content: center;
    }
    .paddingtoop {
        padding-top: 430px;
    }
}

/* Style the outer ul element */
#activepcb {
    list-style-type: disc;
    /* Remove the default list bullet */
    margin-left: 20px;
    padding: 10px;
    /* font-weight: bold; */
}

#activepcb1 {
    list-style-type: disc;
    /* Remove the default list bullet */
    margin-left: 10px;
    padding: 10px;
}


/* Style the top-level list item (Active Components) */
#activepcb>li {
    /* font-weight: bold; */
    padding-left: 2px;
    /* background-color: #f0f0f0; */
    /* Add a background color */
    /* padding: 5px 10px; */
    /* Add padding to create a block effect */
}

/* Style the nested ul element */
#activepcb ul {
    list-style-type: disc;
    /* Add a disc bullet for nested lists */
    margin: 0;
    padding: 0 0 0 20px;
    /* Adjust the left padding to create an indentation */
}

/* Style the nested list items */
#activepcb1>li {
    padding-left: 0px;
    margin: 0;
    /* Add some space between list items */
    /* color: #333; */
    /* Change the text color */
}

.imgcontainer {
    position: relative;
    
  }
  
  .imagesoftexer {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
  }
  
  .middlesoftexer {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 30%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    /* text-align: justify; */
  }
  
  .imgcontainer:hover .imagesoftexer {
    opacity: 0.3;
  }
  
  .imgcontainer:hover .middlesoftexer {
    opacity: 1;
  }
  
  .textsoftexer {
    background-color: #FD7D00;
    color: white;
    font-size: 12px;
    padding: 5px 10px;
  }