.nav {
  padding: 15px 0;
}

.menu.social-icons a {
  padding: 5px;
}

.social-icons .nav-link {
    display: block;
    padding: .5rem .5rem;
}

p.contact-phone {
  font-size: 18px;
}

.hero {
    height: 400px;
}

.hero-search-filter {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background: #fefefe;
    padding: 0.25rem;
    border-radius: 5px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: left;
}

.hero-search-filter-form {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    background: #fefefe;
    padding: 0.25rem;
    border-radius: 5px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.hero-search-filter-form label {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    color: #8a8a8a;
    font-weight: bold;
}

.hero-search-filter-form input, .hero-search-filter-form .button {
    margin-bottom: 0;
    margin-left: 10px;
}

.overlay {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.overlay:before {
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
    background: linear-gradient(90deg,rgba(33, 41, 54, 1) 0%, rgba(33, 41, 54, 0.01) 75%);
}

.overlay .grid-container {
    position: relative;
    z-index: 2;
}

.normal-pad {
    padding: 50px 0;
}

.footer {
  padding: 10px 0;
}

.blog-post-box-img {
    min-height: 200px;
}

.blog-post-box-content {
    padding: 1rem;
    min-height: 170px;
}

p.date-listed {
  opacity: 0.5;
}

ul.machine-type-list {
    background: #cccccc;
    padding: 15px;
    margin-left: 0;
    list-style-type: none;
    border-radius: 5px;
}

ul.machine-type-list h2 {
    margin-bottom: 5px;
}


ul.machine-type-list li {
    font-weight: 600;
    margin-bottom: 10px;
    border-bottom: 1px solid grey;
    padding-bottom: 10px;
}

ul.machine-type-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}


/* Useful Classes */
.xy-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.transition {
    transition: all 350ms ease-in-out;
}

.r-3-2 {
    width: 100%;
    padding-bottom: 66.667%;
    background-color: #ddd;
}

.image-holder {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Main Styles */
.gallery-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery {
    position: relative;
    white-space: nowrap;
    font-size: 0;
}

#main-inventory-container {
    background-color: rgba(0, 0, 0, 0.2);
    border: solid 4px #fefefe;
    box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.2);
}

.inventory-thumb.active {
    opacity: 1.0;
}

.inventory-thumb {
    width: auto;
    max-height: 75px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    border: solid 4px #fefefe;
    box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.2);
    display: inline-block;
    line-height: 0;
    max-width: 100%;
    transition: all .3s ease-in, box-shadow 200ms ease-out;
    border-radius: 0;
    margin-bottom: 1rem;
}

.item-wrapper {
    cursor: pointer;
    width: 25%; /* arbitrary value */
    display: inline-block;
    background-color: white;
}

.gallery-item { opacity: 0.5; }
.gallery-item.active { opacity: 1; }

.controls {
    font-size: 0;
    border-top: none;
}
.move-btn {
    display: inline-block;
    width: 50%;
    border: none;
  color: #ccc;
    background-color: transparent;
    padding: 0.2em 1.5em;
}
.move-btn:first-child {border-right: none;}
.move-btn.left  { cursor: w-resize; }
.move-btn.right { cursor: e-resize; }

.tabs {
    margin: 0;
    border: none;
    background: #a5a5a5;
    list-style-type: none;
    border-radius: 5px 5px 0 0;
}

.listing-tabs {
  padding: 50px 0;
}

.tabs-content {
    border: none;
    border-top: 0;
    background: #cccccc;
    color: #333333;
    transition: all 0.5s ease;
}

.listing-tabs table.unstriped tbody {
    background-color: #fefefe;
    border: none;
}

.listing-tabs table.unstriped tbody tr {
    border-bottom: 0;
    border-bottom: 1px solid #808080;
    background-color: #cccccc;
}

.listing-tabs table.unstriped tbody tr:last-child {
    border-bottom: 0;
    border-bottom: none;
    background-color: #cccccc;
}

.tabs-content {
    border: none;
    border-top: 0;
    background: #cccccc;
    color: #333333;
    transition: all 0.5s ease;
    border-radius: 0 0 5px 5px;
}

.tabs-title {
  font-weight: 600;
}

.tabs-title > a:focus, .tabs-title > a[aria-selected='true'] {
    background: #cccccc;
    color: #01467f;
    border-radius: 5px 5px 0 0;
}

.tabs-title > a:hover {
    background: #d6d6d6;
    color: #1468a0;
    border-radius: 5px 5px 0 0;
}

.featurette-image {
  width: 100%;
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
}
.featurette-image img {
    object-fit: cover;
    object-position: 50% 50%; /* default value: image is centered*/
    width: 100%;
    height: 100%;
    transform: scale(1);
    transition: transform 0.2s ease-in-out;
}

.card-header:first-child {
    border-radius: 0;
}

.card-header {
    background-color: rgba(0, 47, 87, .4);
}

.card.listing {
    padding: 0;
    height: 100%;
    transition: all 0.15s ease-in-out;
}

a .card.listing:hover > .card-footer .btn-outline-primary {
    padding: 0.5rem;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #0051a4;
    background: #0051a4;
    color: #ffffff;
}

a .card.listing {
    color: black;
}

.card.listing .card-body {
    flex: 0 1 auto;
}

 .card-body h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 1rem;
}

.content {
  position: relative;
  z-index: 2;
}

#accordion .sidebar-nav {
    font-size: 14px;
    font-weight: bold;
    color: black;
}

#accordion [data-bs-toggle="collapse"] {
    color: var(--primary);
    font-weight: 400;
    font-size: 1.75rem;
}
#accordion [data-toggle="collapse"] div {
    position: relative;
    text-align: left;
}
#accordion [data-toggle="collapse"] div:before {
    position: absolute;
    color: var(--primary);
    content: '\f068';
    font-family: "Font Awesome\ 6 Pro";
    font-weight: 300;
    font-size: 1.25rem;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
#accordion [data-toggle="collapse"].collapsed div:before {
    content: '\f067';
}

@media(min-width:992px) {
#accordion .sidebar-nav {
    font-size: 16px;
  padding-left: .75rem;
}
.card-header {
  padding-left: .25rem;
  }
  }

@media(max-width:768px) {
    #accordion .sidebar-nav {
        font-size: 16px;
      padding-left: .75rem;
    }
    .site-logo{
        max-width: 175px;  /* 175 x2 = 350 */
    }
}

.card-header {
  padding-left: 2px;
}

.card-header:first-child {
    border-radius: 0;
}

.card-header .fas {
    color: var(--primary);
}

#accordion .sidebar-nav li a {
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    text-transform: Capitalize;
    font-weight: 400;
    color: #5a5a5a;
}

.morecontent .morelink {
    display: block;
    color: #007bff;
}

img.logo {
    max-height: 150px;
    object-fit: contain;
}

#player_wrapper,#player {
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left: 0;
  z-index: 1;
}

#player_wrapper {
  overflow:hidden;
}

.scroll {
    position: absolute;
    margin: auto;
    left: calc( 50% - 50px );
    bottom: 0;
    color: #fefefe;
    z-index: 3;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 14px;
    font-family: proxima-nova, sans-serif;
}

.scroll:after {
    background: none repeat scroll 0 0 #fefefe;
    content: "";
    display: block;
    height: 70px;
    position: relative;
    width: 1px;
    margin-top: 10px;
    left: 50px;
}

.section_padding {
  padding: 100px 0;
}

#nav-search {
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    z-index: 1;
    align-items: center;
    background-color: transparent;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s, opacity 0.5s linear;
    display: flex;
    justify-content: end;
    animation-name: search-toggle-off;
    animation-duration: 0.5s;
    width: 100%;
}

#nav-search.active {
    visibility: visible;
    opacity: 1;
    animation-name: search-toggle-on;
    animation-duration: 0.5s;
}

@keyframes search-toggle-on {
    from {top: -5rem}
    to {top: 0}
}

@keyframes search-toggle-off {
    from {top: 0}
    to {top: -5rem}
}

section.navigation.default {
    position: sticky;
    width: 100%;
    z-index: 10;
}

.utility {
    width: 100%;
    top: 0;
    z-index: 10;
}

.slick-slider .slick-prev, .slick-slider .slick-next {
    z-index: 5;
    font-size: 1.25rem;
    height: 40px;
    width: 40px;
    position: absolute;
    top: 50%;
    text-align: center;
    color: var(--primary);
    background-color: white;
    border: 1px solid #E2E8F0;
    opacity: 1;
    transition: all .25s ease;
    cursor: pointer;
    border-radius: 50%;
}
.slick-slider .slick-prev i, .slick-slider .slick-next i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.slick-slider .slick-prev {
    left: 5px;
}
.slick-slider .slick-next {
    right: 5px;
}

#detail .product-images {
  width: 100%;
  margin: 0 auto;
}
#detail .product-images li, #detail .product-images figure, #detail .product-images a, #detail .product-images img {
  display: block;
  outline: none;
  border: none;
}
#detail .product-images .main-img-slider figure {
  margin: 0 auto;
  padding: 0 2em;
}
#detail .product-images .main-img-slider figure a {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
#detail .product-images .main-img-slider figure a img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
#detail .product-images .thumb-nav {
  margin: 0;
    padding: 0;
}
#detail .product-images .thumb-nav.slick-slider .slick-prev, #detail .product-images .thumb-nav.slick-slider .slick-next {
  font-size: 1.2em;
  height: 20px;
  width: 26px;
  margin-top: -10px;
}
#detail .product-images .thumb-nav.slick-slider .slick-prev {
  margin-left: -30px;
}
#detail .product-images .thumb-nav.slick-slider .slick-next {
  margin-right: -30px;
}
#detail .product-images .thumb-nav li {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}
#detail .product-images .thumb-nav li:hover, #detail .product-images .thumb-nav li:focus {
  border-color: #999;
}
#detail .product-images .thumb-nav li.slick-current img {
  border-color: #d12f81;
}

#detail .thumb-nav .slick-slide li {
    background-color: #F3F3F3;
    border: 1px solid #E2E8F0;
    margin-bottom: 20px;
    max-width: 100%;
    width: 100px !important;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
}
#detail .thumb-nav .slick-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.main_container {
    height: 550px;
    width: 100%;
    background-color: #F3F3F3;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

img.main {
    margin: auto;
    object-fit: contain;
    max-height: 550px;
}

.slick-slide {
  max-height: 550px;
  height: unset !important
}

.slick-list {
  max-height: 550px !important;
}

.slick-prev:before, .slick-next:before {
    content: '' !important;
}

@media (max-width: 767px) {
  .main_container {
    height: 300px;
  }

  .slick-slide {
    max-height: 300px;
    height: unset !important
  }

  .slick-list {
    max-height: 300px !important;
  }

  img.main {
    max-height: 300px;
  }
}

/* Overlay style */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 69, 126, 0.99);
}

/* Overlay closing cross */
.overlay .overlay-close {
    position: absolute;
    right: 15px;
    top: 0.25rem;
    overflow: hidden;
    border: none;
    color: #fefefe;
    outline: none;
    z-index: 5001;
    font-size: 2rem;
    padding: 1rem;
    margin-right: 0.9375rem;
    background: transparent;
    border: none;
}

/* Menu style */
.mobilemenu nav {
    position: relative;
    top: 40%;
    height: 55%;
    font-size: 2.5rem;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-right: auto;
    margin-left: auto;
}

.mobilemenu ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    height: 100%;
    position: relative;
}

.mobilemenu ul li {
    display: block;
    padding: 0 0 1.5rem;
}

.mobilemenu ul li a {
  font-family: "futura-pt", sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  font-weight: 900;
  color: #fefefe;
  display: block;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  line-height: 1;
  text-align: center;
}

.mobilemenu ul li a.phone {
    color: #fefefe;
    font-size: 2rem;
}

.mobilemenu ul li a:hover, .mobilemenu ul li a:focus {
    color: #caccce;
}

/* Effects */
.overlay-hugeinc {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
    transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay-hugeinc.open {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
    z-index: 5000;
    overflow: scroll;
}

.overlay-hugeinc nav {
    -webkit-perspective: 1200px;
    perspective: 1200px;
}

.overlay-hugeinc nav ul {
    opacity: 0.4;
    -webkit-transform: translateY(-25%) rotateX(35deg);
    transform: translateY(-25%) rotateX(35deg);
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
}

.overlay-hugeinc.open nav ul {
    opacity: 1;
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    width: 100%;
}

.overlay-hugeinc.close nav ul {
    -webkit-transform: translateY(25%) rotateX(-35deg);
    transform: translateY(25%) rotateX(-35deg);
}

#trigger-overlay {
    color: #01457e;
    padding: 1rem;
    height: 75px;
}

#mobile_menu {
    height: 100vh;
    background: var(--primary);
    display: flex;
    align-items: center;
    color: #fefefe;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    transition: all 0.5s ease-in;
}

#mobile_menu.active {
    width: 100%;
    position: fixed;
    transition: all 0.25s ease-in;
}

@media only screen and (max-width: 500px) {
    #mobile_menu.active {
        width: 100%;
        position: fixed;
        transition: all 0.25s ease-in;
    }

    .logo {
        max-width: 200px;
    }
}

#mobile_menu.active a i {
    opacity: 0;
    transition: opacity 0.25s ease-in;
}

#mobile_menu .closenav {
    position: absolute;
    top: 2rem;
    right: 1rem;
    opacity: 0;
    display: none;
}

#mobile_menu.active h3, #mobile_menu.active .closenav  {
    opacity: 1;
    display: block;
    transition: opacity 1s ease-in;
}


button.overlay-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 11;
    background: none;
    outline: none;
    border: none;
}

.video-box {
    width: 100%;
    background: #4d5a67;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.video-box i {
    position: absolute;
}

.default-padding {
  padding: 100px 0;
}

.header, .content-block, .callout-overlay {
  position: relative;
  z-index: 0;
}

.header .container, .content-block .container,  .callout-overlay div {
  position: relative;
  z-index: 2;
}

.owl-theme.testimonial-slider .owl-nav {
    margin-top: 0;
    top: calc( 50% - 21px);
    position: absolute;
    width: 100%;
}

.owl-theme.testimonial-slider .owl-nav .owl-prev {
    left: -50px;
    position: absolute;
}

.owl-theme.testimonial-slider .owl-nav .owl-next {
    Right: -50px;
    position: absolute;
}

.owl-theme.testimonial-slider  .owl-nav [class*='owl-']:hover {
    background: transparent;
    color: unset;
    text-decoration: none;
}

#home-hero {
    min-height: 600px;
    background-color: var(--dark);
    position: relative;
    color: white;
    font-size: 1.5rem;
}
#home-hero > div {
    position: absolute;
    top: 50%;
    left: 1rem;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 3;
}
#home-hero h1 {
    font-size: 64px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

body {
    font-family: 'Roboto', sans-serif;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.navigation .nav-link {
    color: black;
    font-family: 'Open Sans', sans-serif;
}

.v-margin {
    margin-top: 100px;
    margin-bottom: 100px;
}
.v-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.listing h4 {
    font-weight: 700;
}

.service-icon {
    height: 35px;
    width: 35px;
    background-color: var(--primary);
    color: white;
    display: flex;
    position: relative;
    margin-bottom: 1rem;
}
.service-icon i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
}

a.listing-card-link:hover {
    text-decoration: none;
}
a.listing-card-link:hover .featurette-image img {
    transform: scale(1.25);
}

#accordion ul.sidebar-nav {
    display: block;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

#accordion .card-header {
    background-color: var(--light);
}

.pagination .page-item {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}
.page-item .page-link {
    border-radius: 10px !important;
}
.pagination .page-link {
    background-color: #F3F3F3;
    color: #5F646E;
}
.pagination .page-link:hover {
    background-color: #5F646E;
    color: #F3F3F3;
}

.search-bg {
    background-image: url('/wp-content/themes/basic-mhub/img/background-img.png')
}

.page-header-bg {
    background-image: url('/wp-content/themes/basic-mhub/img/background-img2.png')
}

.cta {
    background-image: url('/wp-content/themes/basic-mhub/img/background-img.png')
}

.font-weight-black {
    font-weight: 800;
}

.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    color: white !important;
    background-color: var(--primary) !important;
}

.bg-gray {
    background-color: #F3F3F3;
}

label {
    font-weight: bold;
}
.form-control {
    height: 3.5rem;
}
.footer .form-control {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
}
.footer .btn {
    display: block;
}
.footer .form-control, .footer .btn {
    height: 2.5rem;
}

.contact-info-indent-width {
    width: 20px;
    display: inline-block;
}

a:not(.btn, .nav-link) {
    text-decoration: underline;
}

.footer a {
    color: white;
}

.video-container {
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: 0;
}

@media (max-width: 772px) {

    .v-margin {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .v-padding {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #home-hero h1 {
        font-size: 48px;
    }

}