:root {
    --h1-font-size: 30px;
    --h1-font-weight: 400;

    --h2-font-size: 21px;
    --h2-font-weight: 400;

    --h3-font-size: 21px;
    --h3-font-weight: 400;

    --h4-font-size: 20px;
    --h4-font-weight: 400;

    --h5-font-size: 19px;
    --h5-font-weight: 400;

    --h6-font-size: 18px;
    --h6-font-weight: 400;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    position: fixed;
    color: var(--white);
}

body.home #header::before {
    content: '';
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
}

body:not(.home) #header {
    background: var(--black);
}

#header-wrap {
    max-width: 100%;
    padding: 15px 30px 15px 50px;
}

#header-logo {
	width: 100%;
	height: auto;
    max-width: 123px;
}

#header-columns {
    display: flex;
    align-items: center;
}

#header-column-1 {
    padding-right: 15px;
}

#header-column-2 {
    flex-grow: 1;
    padding-left: 15px;
}

/*
* Header responsive style
*/
@media screen and (max-width: 767px) {
    .mobile-noscroll {
        overflow: hidden;
    }

    body.mobile-noscroll {
        position: fixed;
    }

    #page-wrap.mobile-noscroll {
        padding-top: 70px;
    }

    #header {
        z-index: 999999;
    }

    #header.mobile-fixed-header {
        top: 0;
        left: 0;
        position: fixed;
        background: var(--black) !important;
    }

    #header-column-1 {
        padding-right: 8px;
    }

    #header-column-2 {
        padding-left: 8px;
        padding-right: 2px;
    }

    #close-search-btn {
        font-size: 32px;
        padding-bottom: 2px;
    }

    #header-search-form-cnt .site-search-form input[type="search"] {
        font-size: 16px;
        padding-left: 42px;
        padding-top: 35px;
        padding-bottom: 35px;
    }

    #header-logo {
        max-width: 90px;
    }
}

@media screen and (min-width: 768px) {
    #page-wrap {
        opacity: 1 !important;
        margin-left: 0 !important;
    }

}

@media screen and (max-width: 991px) {
    #header-wrap {
        padding-inline: 30px 10px;
    }
}

/*--------------------------------------------------------------
# Desktop & Mobile Menus
--------------------------------------------------------------*/
#navbar {
    float: right;
}

#navbar ul,
#navbar li {
    margin: 0;
    list-style: none;
}

#navbar li,
#navbar a {
    position: relative;
}

#navbar ul {
    font-size: 0;
}

#navbar .main-list-wrap > li {
    margin-right: 35px;
    display: inline-block;
}

#navbar .main-list-wrap > li:last-child {
    margin-right: 0;
}

#navbar a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    position: relative;
}

#navbar .main-list-wrap > li > a {
    padding: 30px 0;
    text-transform: uppercase;
}

#navbar .main-list-wrap > li:hover > a,
#navbar .main-list-wrap > li.current-menu-item > a,
#navbar .main-list-wrap > li.current-menu-ancestor > a {
    color: var(--white);
}

/* #navbar .main-list-wrap > li > a::after {
    content: '';
    position: absolute;
    display: inline-block;
    background: var(--orange);
    width: 0%;
    height: 1px;
    bottom: 36px;
    left: 0;
    transition: all 0.2s;
} */

/* #navbar .main-list-wrap > li:hover > a::after,
#navbar .main-list-wrap > li.current-menu-item > a::after,
#navbar .main-list-wrap > li.current-menu-ancestor > a::after {
    width: 100%;
} */

#navbar .main-list-wrap > li > ul {
    left: -15px;
    z-index: 999;
    display: none;
    min-width: 100%;
    padding: 0 15px;
    background: var(--white);
    position: absolute;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,.2);
    box-shadow: 0 3px 6px 0 rgba(0,0,0,.2);
}

#navbar .main-list-wrap > li:hover > ul {
    display: block;
}

#navbar .main-list-wrap > li > ul > li {
    white-space: nowrap;
    border-top: 1px solid #dfdfdf;
}

#navbar .main-list-wrap > li > ul > li:first-child {
    border: none;
}

#navbar .main-list-wrap > li > ul > li > a {
    padding: 8px 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
}

#navbar .main-list-wrap > li > ul > li:hover > a,
#navbar .main-list-wrap > li > ul > li.current-menu-item > a {
    color: var(--red);
}

#navbar .main-list-wrap > li > ul > li > ul {
    top: 0;
    left: 100%;
    display: none;
    background: #000;
    position: absolute;
}

#navbar .main-list-wrap > li > ul > li:hover > ul {
    display: block;
}

#navbar .main-list-wrap > li > ul > li > ul > li > a {
    padding: 15px;
    font-size: 14px;
}

#navbar .main-list-wrap > li > ul > li > ul > li:hover > a,
#navbar .main-list-wrap > li > ul > li > ul > li.current-menu-item > a{
    color: var(--red);
}

/*--------------------------------------------------------------
# Mobile Menu
--------------------------------------------------------------*/
/*
* Toggle Menu
*/
#toggle-menu {
    float: right;
    min-width: 50px;
    position: relative;
}

#toggle-menu ul,
#toggle-menu li {
    margin: 0;
    list-style: none;
}

#toggle-menu li {
    float: left;
    width: 50px;
    height: 50px;
    display: block;
    overflow: hidden;
    position: relative;
}

#toggle-menu li::before {
    content: '';
    position: absolute;
    display: inline-block;
    background: #d5d5d5;
    height: 35px;
    width: 1px;
    margin: auto;
    top: 0;
    left: -0;
    bottom: 0;
}

#toggle-menu li:first-child {
    margin-left: 0;
}

#toggle-menu li:first-child::before {
    display: none;
}

#toggle-menu li:hover * {
    cursor: pointer;
}

#toggle-menu li#search-toggle-btn i,
#toggle-menu li#call-btn a {
    width: 50px;
    height: 50px;
    display: block;
    overflow: hidden;
    text-indent: 100%;
    position: relative;
    white-space: nowrap;
}

#toggle-menu li#search-toggle-btn i::before,
#toggle-menu li#search-toggle-btn i::after {
    content: '';
    display: block;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#toggle-menu li#search-toggle-btn i::before {
    right: 5px;
    bottom: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

#toggle-menu li#search-toggle-btn i::after {
    top: 12px;
    left: 10px;
    width: 2px;
    height: 9px;
    border-radius: 2px;
    background: var(--white);
    transform: rotate(-45deg);
}

#menu-toggle i {
    width: 50px;
    height: 50px;
    font-size: 6px;
    display: block;
    cursor: pointer;
    overflow: hidden;
    line-height: 68px;
    font-weight: 700;
    font-style: normal;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
}

#menu-toggle i span::before,
#menu-toggle i span::after {
    content: '';
}

#menu-toggle i span,
#menu-toggle i span::before,
#menu-toggle i span::after {
    width: 22px;
    height: 3px;
    margin: auto;
    background: var(--white);
    position: absolute;
    display: inline-block;
    left: 0;
    right: 0;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#menu-toggle i span {
    top: 0;
    bottom: 0;
}

#menu-toggle i span::before {
    top: -7px;
}

#menu-toggle i span::after {
    bottom: -7px;
}

#menu-toggle i.mobile-btn-open span {
    background: none;
}

#menu-toggle i.mobile-btn-open span::before,
#menu-toggle i.mobile-btn-open span::after {
    background: var(--white);
}

#menu-toggle i.mobile-btn-open span::before {
    transform: rotate(-45deg) translateY(4px) translateX(-4px);
}

#menu-toggle i.mobile-btn-open span::after {
    transform: rotate(45deg) translateY(-6px) translateX(-6px);
}

/*
* Mobile hamberger main menu
*/
#mobile-navigation-section {
    width: 100%;
    display: flex;
    position: fixed;
    max-width: 320px;
    flex-direction: column;
    background: var(--black);
    justify-content: space-between;
    padding: 133px 50px 50px;
    height: 100%;
    overflow-y: auto;
    z-index: 10;
    bottom: 0;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition-property: transform;
    transition-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

#mobile-navigation-section.mobile-menu-open {
    transform: translateX(0%);
}

#mobile-menu {
    margin-bottom: 35px;
}

#mobile-menu ul,
#mobile-menu li {
    margin: 0;
    list-style: none;
}

#mobile-menu li {
    opacity: 0;
    margin-bottom: 10px;
    transform: translateX(20px);
}

#mobile-menu li:last-child {
    margin-bottom: 0;
}

#mobile-menu li:last-child {
    margin-bottom: 0;
}

#mobile-menu a {
    cursor: pointer;
}

#mobile-menu .mobile-main-list-wrap > li > a {
    padding-block: 6px;
    position: relative;
    color: var(--white);
    letter-spacing: 2px;
    display: inline-block;
    font: 400 16px var(--s-font-family);
}

#mobile-menu .mobile-main-list-wrap > li > a::after {
    content: '';
    display: block;
    position: absolute;
    background: var(--orange);
    transition: all 0.2s;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
}

#mobile-menu .mobile-main-list-wrap > li > a:hover::after {
    width: 100%;
}

#nav_menu-3 .widget-title {
    font-size: 12px;
    margin-bottom: 4px;
}

/*--------------------------------------------------------------
## Social Links Menu
--------------------------------------------------------------*/
@property --angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.menu-social-links-menu-container ul,
.menu-social-links-menu-container li {
    margin: 0;
    font-size: 0;
    list-style: none;
}

.menu-social-links-menu-container ul {
    white-space: nowrap;
}

.menu-social-links-menu-container li {
    margin-top: 16px;
    margin-right: 15px;
    display: inline-block;
}

.menu-social-links-menu-container li::before {
    content: '';
    display: block;
    position: absolute;
    top: -2px;
    left: -2px;
    border-radius: 50%;
    z-index: -1;
    height: calc(100% + 4px);
    width: calc(100% + 4px);
    background: conic-gradient(
        var(--orange) 0deg var(--angle),
        transparent var(--angle) 360deg
    );
    transition: --angle 600ms cubic-bezier(0.65, 0, 0.35, 1);
}

.menu-social-links-menu-container li:hover::before {
    --angle: 360deg;
    transition: --angle 600ms cubic-bezier(0.65, 0, 0.35, 1);
}

.menu-social-links-menu-container li:last-child {
    margin-right: 0;
}

.menu-social-links-menu-container li a {
    padding: 0;
    width: 48px;
    height: 48px;
    display: block;
    font-size: 14px;
    overflow: hidden;
    font-weight: 400;
    text-indent: 100%;
    background: #141414;
    position: relative;
    white-space: nowrap;
    isolation: isolate;
    border: 4px solid transparent;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

/*
* Desktop & Mobile Menus responsive style
*/
@media screen and (max-width: 767px) {
    #mobile-navigation-section {
        padding-top: 100px;
    }
}

/*--------------------------------------------------------------
# Main Content
--------------------------------------------------------------*/
#main {
    min-height: 100vh;
}

body:not(.home) #content-wrap {
    padding-top: 133px !important;
    padding-bottom: 100px !important;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 5px;
}

h1 {
    font-weight: bold;
    font-synthesis: weight;
}

.title-bottom-orange-border span {
    padding-bottom: 7px;
    display: inline-block;
    border-bottom: 2px solid var(--orange);
}

.wr-infinite-scroll-item,
.wr-scroll-trigger-item {
    opacity: 0;
    transform: translateY(40px);
}

.has-white-text-link a {
    color: var(--white);
}

.has-white-text-link a:hover {
    color: var(--blue);
}

/*
* Our Rig Index and Post Pages
*/
#our-rigs-intro-section-inner {
    position: relative;
}

#latest-rigs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

body.single-rig .lb-data .lb-caption {
    display: none !important;
    visibility: hidden !important;
}

/*
* Scroll Down Arrow
*/
#scroll-arrow-cnt {
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    padding-left: 40px;
    padding-block: 50px 125px;
    background: var(--black);
    mask-image: linear-gradient(rgba(0, 0, 255, 0) 0%, rgb(0, 0, 0) 20%, rgb(0, 0, 0) 100%, rgba(0, 0, 0, 0) 100%);
}

#scroll-arrow {
    width: 40px;
    height: 40px;
    margin: auto;
    cursor: pointer;
    background: var;
    animation: bounce 2s infinite;
}

.arrow-down {
    left: 9px;
    padding: 8px;
    position: relative;
    border: solid var(--white);
    border-width: 0 4px 4px 0;
    display: inline-block;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

#scroll-arrow:hover .arrow-down {
    border: solid var(--orange);
    border-width: 0 4px 4px 0;
}

@keyframes bounce {
    0%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(10px);
    }
}


/* Rig Post Page */
.single-rig-content-has-two-cols {
    display: flex;
}

#single-rig-media-content {
    width: 400px;
}

.single-rig-content-has-two-cols #single-rig-text-content {
    padding-left: 85px;
    width: calc(100% - 400px);
}

#single-rig-text-content .entry-content {
    position: relative;
}

.single-rig-main-title {
    margin-bottom: 25px;
    width: calc(100% - 125px);
}

.single-rig-main-title span {
    padding-bottom: 7px;
    display: inline-block;
    border-bottom: 2px solid var(--orange);
}

body.single #single-post-top-pagination .nav-links {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#single-post-top-pagination {
    position: absolute;
    width: 92px;
    z-index: 1;
    right: 0;
    top: 0;
}

#single-post-top-pagination .nav-previous,
#single-post-top-pagination .nav-next,
#single-post-top-pagination .nav-previous a,
#single-post-top-pagination .nav-next a {
    width: 45px;
    height: 45px;
    background: #181818;
}

#single-post-top-pagination .nav-previous {
    float: right;
}

#single-post-top-pagination .nav-next {
    float: left;
}

#single-post-top-pagination .nav-previous a,
#single-post-top-pagination .nav-next a {
    padding: 0;
    display: block;
    cursor: pointer;
    overflow: hidden;
    text-indent: 100%;
    position: relative;
    white-space: nowrap;
    transition: background 0.2s ease;
}

#single-post-top-pagination .nav-previous a:hover,
#single-post-top-pagination .nav-next a:hover {
    background: var(--orange);
}

#single-post-top-pagination .nav-previous a::before,
#single-post-top-pagination .nav-next a::before {
    content: '';
    display: block;
    position: absolute;
    margin: auto;
    height: 16px;
    width: 16px;
    inset: 0;
    border: 2px solid var(--white);
    border-top-color: transparent;
}

#single-post-top-pagination .nav-previous a::before {
    border-left-color: transparent;
    transform: rotate(-45deg);
    right: 8px;
}

#single-post-top-pagination .nav-next a::before {
    border-right-color: transparent;
    transform: rotate(45deg);
    left: 8px;
}

/*
* Blog Section
*/
#blog-grid-wrap {
    z-index: 2;
    position: relative;
    background: var(--black);
}

#blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-post-item-cnt {
    height: 100%;
    display: flex;
    position: relative;
    padding-bottom: 60px;
    flex-direction: column;
    align-items: center;
}

.blog-post-item-thumb {
    height: 300px;
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-post-item-thumb a,
.blog-post-item-thumb img {
    display: block;
    width: 100% !important;
    height: 300px !important;
}

.blog-post-item-thumb img {
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(.22,.68,.47,1.14), box-shadow 0.3s;
}

/* Subtle zoom and shadow on hover */
.blog-post-item-thumb:hover img {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(30,40,62,0.18);
}

/* Overlay effect: fades a colored overlay on top */
.blog-post-item-thumb::after {
    content: "";
    position: absolute;
    display: block;
    inset: 0;
    /* background: linear-gradient(120deg, rgba(31,84,255,.23), rgba(0,196,162, .16)); */
    background: linear-gradient(120deg, rgba(8,100,174,0.23), rgba(255,128,0,0.16));
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(.22,.68,.47,1.14);
    pointer-events: none;
}

.blog-post-item-thumb:hover::after {
    opacity: 1;
}

.blog-post-item-content {
    position: relative;
    text-align: center;
}

.blog-post-item-title {
    font-size: 21px;
    letter-spacing: 3px;
}

.blog-post-item-title a {
    color: var(--white);
}

.blog-post-item-title a:hover {
    color: var(--blue);
}

.blog-post-item-short-description {
    margin-bottom: 35px;
}

.blog-post-item-short-description *:last-child {
    margin-bottom: 0;
}

.blog-post-feed-action-btn {
    border-radius: 0;
    padding: 10px 36px;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    background: var(--blue);
    letter-spacing: 0.5px;
    border: 2px solid var(--blue);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: absolute;
    z-index: 1;
    bottom: 0;
}

.blog-post-feed-action-btn:hover {
    background: none;
    color: var(--white);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

body.single-post .single-post-has-featured-img::before {
    content: '';
    position: absolute;
    display: inline-block;
    background: #fafafa;
    width: 100%;
    height: 70%;
    max-height: 500px;
    left: 0;
    top: 0;
}

body.single-post #content-wrap {
    max-width: 1010px;
}

.post-entry-title {
    font-size: 42px;
    margin-bottom: 0;
    text-align: center;
}

#post-featured-img {
    overflow: hidden;
    max-height: 500px;
    padding-top: 35px;
    object-fit: cover;
    text-align: center;
}

#post-featured-img img {
    width: 100%;
    height: 100%;
    display: block;
}

#post-share-icons {
    text-align: right;
    padding-top: 35px;
    padding-bottom: 35px;
}

body.single-post .entry-content h2 {
    font-size: 26px;
    font-weight: 600;
}

body.single-post .entry-content h3 {
    font-size: 24px;
    font-weight: 600;
}

.post-about-img {
    width: 150px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

.post-about-img img {
    display: block;
    border-radius: 50%;
    border: 3px solid #fcfcfc;
    -webkit-box-shadow: 0 2px 6px 0 rgba(0,0,0,0.22);
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.22);
}

.post-about-bio {
    padding: 25px;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 35px;
    background: #fafafa;
    border-radius: 12px;
    position: relative;
}

.post-about-bio *:last-child {
    margin-bottom: 0;
}

.post-about-bio::before {
    content: '';
    position: absolute;
    display: inline-block;
    margin: auto;
    width: 0;
    height: 0;
    top: -38px;
    left: 0;
    right: 0;
    border: 20px solid #fafafa;
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
}

.post-about-bio-contact {
    font-style: normal;
}

.blog-post-item-thumb {
  position: relative;
  overflow: hidden;
}

/*--------------------------------------------------------------
## FAQS
--------------------------------------------------------------*/
/*
* Simple FAQs
*/
.simple-faq-post-title {
    font-size: 30px;
}

.simple-faq-answer {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px dotted #e8e8e8;
}

/*
* Accordion FAQs
*/
#accordion-faqs-cnt {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-faq-post-item {
    margin: 0;
    padding-top: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.accordion-faq-post-item:first-child {
    padding-top: 0;
}

.accordian-faq-post-title {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    border: 1px solid #e8e8e8;
    border-bottom: none;
}

.accordian-faq-post-title a {
    display: block;
    position: relative;
    padding: 15px 85px 15px 35px;
}

.accordian-faq-post-title a::before {
    content: '';
    display: block;
    position: absolute;
    margin: auto;
    height: 12px;
    width: 12px;
    right: 35px;
    bottom: 0;
    top: 0;
    border-left: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    border-radius: 0 0 0 2px;
    transform: rotate(-45deg);
}

.accordian-faq-post-title a.active::before {
    transform: rotate(135deg);
}

.accordion-faq-answer {
    display: none;
    padding: 1px 35px 35px;
    border: 1px solid #e8e8e8;
    border-top: none;
}

.faq-answer *:last-child {
    margin-bottom: 0;
}

/*
* Main content section responsive style
*/
@media screen and (max-width: 767px) {
    :root {
        --h1-font-size: 24px;
        --h2-font-size: 21px;
        --h3-font-size: 20px;
        --h4-font-size: 19px;
        --h5-font-size: 18px;
        --h6-font-size: 17px;
    }

    h1, h2, h3, h4, h5, h6 {
        letter-spacing: 1px;
    }

    #blog-grid,
    #latest-rigs {
        grid-template-columns: repeat(1, 1fr);
    }

    #blog-grid {
        padding-bottom: 35px;
    }

    .blog-post-item {
        width: 100%;
        max-width: 440px;
        margin-inline: auto;
    }

    .blog-post-item-thumb,
    .blog-post-item-thumb a,
    .blog-post-item-thumb img {
        height: auto !important;
    }

    #scroll-arrow-cnt {
        display: none !important;
        visibility: hidden !important;
    }

    body:not(.home) #content-wrap {
        padding-top: 100px !important;
        padding-bottom: 15px !important;
    }

    .blog-post-item {
        margin-bottom: 20px;
    }

    .wp-pagenavi,
    .custom-posts-wrap {
        padding-bottom: 35px;
    }

    .accordian-faq-post-title {
        font-size: 18px;
    }

    .accordian-faq-post-title a {
        padding-left: 15px;
        padding-right: 65px;
    }

    .accordian-faq-post-title a::before{
        right: 20px;
        width: 10px;
        height: 10px;
    }

    .simple-faq-post-title {
        font-size: 24px;
    }

    .single-rig-content-has-two-cols {
        flex-direction: column;
    }

    #single-rig-media-content,
    .single-rig-content-has-two-cols #single-rig-text-content {
        width: 100%;
        padding-inline: 0;
    }

    #single-rig-media-content {
        order: 2;
    }

    .single-rig-content-has-two-cols #single-rig-text-content {
        order: 1;
        padding-bottom: 35px;
    }

    .single-rig-content-has-two-cols #single-rig-text-content *:last-child {
        margin-bottom: 0;
    }
    
    .sm-gallery-col-3 .vc_grid.vc_row .vc_grid-item {
        float: left;
        clear: none;
        width: 33.3333%;
    }
}

@media screen and (min-width: 768px) {
    .blog-post-item:nth-child(3n+1) {
        clear: left;
    }

    /* #our-rigs-intro-section {
        min-height: calc(100vh - 198px);
    } */

    /* .rigs-grid-wrap {
        padding-top: 200px;
        mask-image: linear-gradient(rgba(0, 0, 255, 0) 0%, rgb(0, 0, 0) 8%, rgb(0, 0, 0) 100%, rgba(0, 0, 0, 0) 100%);
    } */

    #single-rig-content-cnt.single-rig-content-has-two-cols {
        max-height: calc(100vh - 333px);
    }

    body.single-rig {
        overflow: hidden;
        max-height: 100vh;
    }

    #single-rig-media-content,
    .single-rig-content-has-two-cols #single-rig-text-content {
        overflow: hidden;
        position: relative;
    }

    .single-rig-content-has-two-cols #single-rig-text-content {
        padding-right: 15px;
    }

    #single-rig-media-content {
        width: 400px;
        padding-right: 15px;
    }

    .ps__rail-y {
        z-index: 99;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .blog-post-item {
        margin-bottom: 35px;
    }

    .blog-post-item-thumb,
    .blog-post-item-thumb a,
    .blog-post-item-thumb img {
        height: 160px !important;
    }

    .wp-pagenavi,
    .custom-posts-wrap {
        padding-bottom: 50px;
    }

    #single-rig-media-content {
        width: 250px;
    }

    .single-rig-content-has-two-cols #single-rig-text-content {
        padding-left: 50px;
        width: calc(100% - 250px);
    }
}

@media screen and (max-width: 991px) {
    #single-post-top-pagination {
        display: none;
    }

    .single-rig-main-title {
        width: 100%;
    }
}

@media screen and (min-width: 992px) {
    .blog-post-item {
        margin-bottom: 55px;
    }

    .custom-posts-wrap {
        padding-bottom: 70px;
    }

    .lg-gallery-col-5 .vc_col-sm-3 {
        width: 20% !important;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .blog-post-item-thumb,
    .blog-post-item-thumb a,
    .blog-post-item-thumb img {
        height: 200px !important;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .blog-post-item-thumb,
    .blog-post-item-thumb a,
    .blog-post-item-thumb img {
        height: 252px !important;
    }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    position: fixed;
    background: var(--black);
    transition-property: transform;
    transition-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.home #footer {
    isolation: isolate;
    background: transparent;
}

body.home #footer::before {
    content: '';
    position: absolute;
    display: block;
    height: 300px;
    width: 100%;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
}

body:not(.home) #footer {
    border-top: 1px solid #717171;
}

#footer,
#footer a {
    color: var(--white);
}

#footer a:hover {
    color: var(--orange);
}

#footer.slide-menu-open {
    transform: translateY(100%);
}

#footer-wrap {
    padding-block: 15px;
}

body:not(.home) #footer-wrap {
    padding-block: 14px 15px;
}

#nav_menu-2 ul {
    text-align: center;
}

#nav_menu-2 ul,
#nav_menu-2 li {
    margin: 0;
    list-style: none;
}

#nav_menu-2 li {
    margin-inline: 35px;
    position: relative;
    display: inline-block;
}

#nav_menu-2 li:first-child {
    margin-left: 0;
}

#nav_menu-2 li:last-child {
    margin-right: 0;
}

#nav_menu-2 li::before {
    content: '';
    display: block;
    position: absolute;
    background: #707070;
    margin: auto;
    height: 16px;
    width: 1px;
    left: -36px;
    bottom: 0;
    top: 1px;
}

#nav_menu-2 li:first-child::before {
    display: none;
}

#nav_menu-2 li a {
    display: block;
    position: relative;
    color: var(--white);
    padding-block: 6px;
    letter-spacing: 2px;
    font: 400 16px var(--s-font-family);
}

#nav_menu-2 li a::after {
    content: '';
    display: block;
    position: absolute;
    background: var(--orange);
    height: 2px;
    width: 0%;
    bottom: 0;
    left: 0;
    transition: all 0.2s;
}

#nav_menu-2 li:hover a,
#nav_menu-2 > li.current-menu-item > a,
#nav_menu-2 > li.current-menu-ancestor > a {
    color: var(--white);
}

#nav_menu-2 li a:hover::after,
#nav_menu-2 > li.current-menu-item > a::before,
#nav_menu-2 > li.current-menu-ancestor > a::before {
    width: 100%;
}

/*
* Footer responsive style
*/
@media screen and (max-width: 767px) {
    body.home #footer {
        display: none;
    }

    #footer {
        position: static;
    }

    #footer-wrap {
        padding-block: 12px;
    }

    body:not(.home) #footer-wrap {
        padding-block: 12px 13px;
    }

    #nav_menu-2 li {
        margin-inline: 4px;
    }

    #nav_menu-2 li a {
        font-size: 7px;
        padding-block: 20px;
        letter-spacing: 1px;
    }

    #nav_menu-2 li::before {
        left: -7.5px;
        height: 10px;
    }

    #nav_menu-2 li a::after {
        bottom: 16px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    #nav_menu-2 li {
        margin-inline: 20px;
    }

    #nav_menu-2 li::before {
        left: -21px;
    }
}


/*--------------------------------------------------------------
## Copyright
--------------------------------------------------------------*/
#copyright {
    font-size: 11px;
    text-align: center;
    background: var(--black);
}

#copyright,
#copyright a {
    color: var(--white);
}

#copyright *:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Sprite
--------------------------------------------------------------*/
#toggle-menu li#call-btn a::before,
#post-404 .entry-title-group::before,
.menu-social-links-menu-container li a::after,
.site-search-form .search-submit-field::before,
#header-search-form-cnt .site-search-form::before {
    background: url(../images/sprite@1x.webp) no-repeat;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    #toggle-menu li#call-btn a::before,
    #post-404 .entry-title-group::before,
    .menu-social-links-menu-container li a::after,
    .site-search-form .search-submit-field::before,
    #header-search-form-cnt .site-search-form::before {
        background: url(../images/sprite@2x.webp) no-repeat;
        background-size: 250px 250px;
    }
}

#toggle-menu li#call-btn a::before,
#post-404 .entry-title-group::before,
.menu-social-links-menu-container li a::after,
.site-search-form .search-submit-field::before,
#header-search-form-cnt .site-search-form::before {
    content: '';
    position: absolute;
    display: inline-block;
}

#toggle-menu li#call-btn a::before,
#post-404 .entry-title-group::before,
.menu-social-links-menu-container li a::after,
.site-search-form .search-submit-field::before,
#header-search-form-cnt .site-search-form::before {
    margin: auto;
}

#toggle-menu li#call-btn a::before,
.menu-social-links-menu-container li a::after,
.site-search-form .search-submit-field::before {
    inset: 0;
}

#header-search-form-cnt .site-search-form::before {
    top: 0;
    bottom: 0;
    left: 15px;
    width: 20px;
    opacity: 0.8;
    height: 20px;
    background-position: -197px -45px;
}

#toggle-menu li a::before {
    top: 15px;
    left: 0;
    right: 0;
}

#toggle-menu li#menu-toggle i::before {
    width: 18px;
    height: 17px;
    background-position: -181px -20px;
}

#toggle-menu li#call-btn a::before {
    width: 16px;
    height: 17px;
    background-position: -204px -20px;
}

#toggle-menu li#location-btn a::before {
    width: 12px;
    height: 17px;
    background-position: -225px -20px;
}

#post-404 .entry-title-group::before {
    top: 0;
    left: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-position: 0 0;
}

.site-search-form .search-submit-field::before {
    z-index: 1;
    width: 20px;
    height: 20px;
    background-position: -105px 0;
}

.menu-social-links-menu-container li.icon-facebook a::after {
    width: 10px;
    height: 21px;
    background-position: -136px -117px;
}

.menu-social-links-menu-container li.icon-twitter a::after {
    width: 20px;
    height: 21px;
    background-position: -86px -117px;
}

.menu-social-links-menu-container li.icon-pinterest a::after {
    width: 17px;
    height: 21px;
    background-position: -112px -117px;
}

.menu-social-links-menu-container li.icon-linkedin a::after {
    width: 20px;
    height: 21px;
    background-position: -59px -117px;
}

.menu-social-links-menu-container li.icon-instagram a::after {
    width: 20px;
    height: 20px;
    background-position: 0 -118px;
}

.menu-social-links-menu-container li.icon-youtube a::after {
    width: 22px;
    height: 15px;
    background-position: -151px -117px;
}

.menu-social-links-menu-container li.icon-vimeo a::after {
    width: 25px;
    height: 21px;
    background-position: -27px -117px;
}

.menu-social-links-menu-container li.icon-website a::after {
    width: 25px;
    height: 25px;
    background-position: -218px -98px;
}

.menu-social-links-menu-container li.icon-email a::after {
    width: 25px;
    height: 18px;
    background-position: -195px -73px;
}