/*
 Theme Name:   Seoplus+
 Theme URI:    https://seoplus.ca
 Description:  Custom Wordpress theme made by seoplus+ web team
 Author:       seoplus+
 Author URI:   http://seoplus.ca
 Template:     understrap
 Version:      0.5.3
 Text Domain:  understrap-child
*/


/**
 * --------------------------------------------------------------------------
 * General
 * --------------------------------------------------------------------------
 */

html {
    scroll-behavior: smooth;
}

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

/* .container-fluid {
    padding-left: 0;
    padding-right: 0;
} */

section:nth-child(odd) {
    background-color: #fff;
}

section:nth-child(even) {
    background: rgba(118, 181, 209, 0.15);
}

.bg-primary {
    background-color: #fff!important;
}

.bg-secondary {
    background: rgba(118, 181, 209, 0.2)!important;
}

/* links */

a {
    color: #8923B9;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}

strong a {
    font-weight: 700;
}

a:hover {
    color: #460067;
}

/* Buttons */


.blue-btn {
    background: #29789B;
    border-radius: 10px;
    padding: 10px 20px;
    border: 4px solid #29789B;
    transition-duration: .5s;
    color: #fff;
    font-weight: bold;
    width: unset;
}

.blue-btn:hover {
    background: rgb(255 255 255 / 0%);
    border-radius: 10px;
    color: #29789B;
    text-decoration: none;
}

.blue-btn a {
    color: #fff!important;
    font-weight: bold;
    font-size: 16px;
}

.blue-btn:hover a {
    color: #29789B!important;
}

.blue-btn a:hover {
    color: #29789B!important;
}

.orange-btn {
    background: #EC9E56;
    border-radius: 10px;
    padding: 10px 20px;
    border: 4px solid #EC9E56;
    transition-duration: .5s;
    color: #004767!important;
    font-weight: bold;
    font-size: 16px;
}

#hero--1 .orange-btn:hover {
    background: rgb(255 255 255 / 0%);
    border-radius: 10px;
    text-decoration: none;
    color: #EC9E56!important;
}

.orange-btn:hover {
    background: rgb(255 255 255 / 0%);
    border-radius: 10px;
    color: #004767!important;
    text-decoration: none;
}

.orange-btn a {
    color: #004767!important;
    font-weight: bold;
    font-size: 16px;
}

.orange-btn:hover a {
    color: #EC9E56!important;
}

.orange-btn a:hover {
    color: #EC9E56!important;
}

/* Scroll To Top */

.show {
    opacity: 1!important
}

#toTop {
    width: 54px;
    height: 54px;
    position: fixed;
    left: 20px;
    bottom: 20px;
    color: rgba(255, 255, 255, .8);
    background-color: #29789B;
    border: 4px solid #29789B!important;
    border-radius: 10px;
    opacity: 0;
    -webkit-transform: translatey(20px);
    transform: translatey(20px);
    -webkit-transition: opacity .3s, -webkit-transform .3s;
    transition: opacity .3s, -webkit-transform .3s;
    transition: opacity .3s, transform .3s;
    transition: opacity .3s, transform .3s, -webkit-transform .3s;
    z-index: 90;
    -webkit-transition: .2s;
    transition: .2s
}

#toTop.show {
    -webkit-transform: translateY(0);
    transform: translateY(0)
}

#toTop i {
    font-size: 20px
}

#toTop:active,
#toTop:focus,
#toTop:hover {
    background-color: #fff;
    text-decoration: none;
    color: #29789B;
    border: 4px solid #29789B!important;
}

#toTop,
.mobile-square {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}


/**
 * --------------------------------------------------------------------------
 * Header & Nav
 * --------------------------------------------------------------------------
 */


/*Increase the depth when calling wp_nav_menu()*/

.menu-item-has-children .menu-item-has-children:hover>.dropdown-menu {
    display: inline-block;
    left: 9em;
    top: -1ex;
}

.menu-item-has-children .menu-item-has-children:hover {
    background-color: WhiteSmoke;
}

.mobile-square {
    background: #333;
    width: 58px;
    height: 50px;
    display: none!important;
}

.mobile-square.burger {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 0px;
}

.mobile-square.burger .mobile-burger {
    width: 25px
}

.mobile-square.burger:hover:not(.activated) span:before {
    top: -10px
}

.mobile-square.burger:hover:not(.activated) span:after {
    bottom: -10px
}

.mobile-square.burger span {
    width: 100%;
    display: block;
    height: 2px;
    border-radius: 0px;
    background: #fff;
    position: relative
}

.mobile-square.burger span:after,
.mobile-square.burger span:before {
    content: '';
    display: block;
    background-color: #fff;
    width: 100%;
    height: 2px;
    border-radius: 0px;
    position: absolute;
    -webkit-transition: .2s;
    transition: .2s;
}

.mobile-square.burger span:after {
    bottom: -7px
}

.mobile-square.burger span:before {
    top: -7px
}

.activated .mobile-burger .burger-bars {
    height: 0
}

.activated .mobile-burger .burger-bars:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: calc(25% - 1.5px)
}

.activated .mobile-burger .burger-bars:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: calc(25% - 1.5px)
}


/* Nav */


.navbar-expand-md>.container {
    padding-left: 15px;
    padding-right: 15px;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap
}

.thenav {
    width: 100%;
    z-index: 9999;
    background-color: #fff;
}

.navbar-brand {
    max-width: 181px;
    height: auto;
}

.navbar-collapse .navbar-nav {
    padding: 5px 15px 20px 15px;
}

.navbar-collapse {
    background-color: #fff!important;
}

.navbar {
    padding: 20px 0;
    -webkit-transition: .1s;
    transition: .1s
}

.nav-btn {
    padding: 5px 15px;
}

.nav-btn .nav-link {
    padding: 0!important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #000;
}

.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #460067;
}

.nav-link {
    padding: 8px 20px!important;
}

/* Dropdown menu */
.dropdown-menu {
    border: 2px solid rgba(190, 190, 190, 0.5);
    padding: 0;
    border-radius: 10px;
}

.dropdown-menu li:hover a,
.dropdown-menu li a:hover {
    color: #fff;
    background-color: #29789B;
}

.dropdown-menu li:nth-child(1) a {
    border-radius: 7px 7px 0 0;
}

.dropdown-menu li:nth-last-child(1) a {
    border-radius: 0 0 7px 7px;
}

.dropdown-toggle::after {
    content: url(https://revnet.ca/dev/wp-content/uploads/2021/07/chevron-down-solid.svg);
    margin-left: .255em;
    vertical-align: -0.025em;
    width: 8px;
    border: 0;
}

/* Mega Menu Max */

#mega-menu-wrap-primary .mega-menu-toggle {
    background: #004767;
    border-radius: 10px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.nav-btn > a.mega-menu-link {
    padding: 5px 15px!important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.blue-btn > a.mega-menu-link {
    background: #29789B!important;
    border-radius: 10px!important;
    padding: 10px 20px!important;
    border: 4px solid #29789B!important;
    transition-duration: .5s!important;
    color: #fff!important;
    line-height: 0.75!important;
    font-weight: bold!important;
    display: inline-block;
    margin-bottom: 15px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.blue-btn:hover > a.mega-menu-link {
    background: rgb(255 255 255 / 0%)!important;
    border-radius: 10px!important;
    color: #29789B!important;
    text-decoration: none!important;
}

.mega-menu-item a {
	font-weight: 500!important;
}

/* Onscroll */

.thenav.scroll {
    background-color: rgba(255, 255, 255, .98);
    position: fixed;
    -webkit-box-shadow: 0px 3px 30px -15px rgba(0, 0, 0, .3);
    box-shadow: 0px 3px 30px -15px rgba(0, 0, 0, .3);
}

.thenav.scroll .navbar {
    padding: 10px 0px;
}

.navbar-collapse {
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    background-color: #53f;
    z-index: 22;
}

.goDown {
    -webkit-animation: goDown .2s forwards;
    animation: goDown .2s forwards
}

@keyframes goDown {
    from {
        transform: translatey(-120%);
    }
    to {
        transform: translatey(0);
    }
}

#burgertoggler {
    display: none!important;
}

/**
 * --------------------------------------------------------------------------
 * Footer
 * --------------------------------------------------------------------------
 */

#wrapper-footer-full {
    padding: 75px 0 25px;
    background-color: #fff;
    color: #000;
    border-top: 2px solid rgba(190, 190, 190, 0.5);
}

#wrapper-footer #footer-small {
    background-color: rgba(190, 190, 190, 0.30);
    padding: 20px 0;
}

#wrapper-footer #footer-small p {
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
}

#wrapper-footer #footer-small a {
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
}

#wrapper-footer #footer-small a:hover {
    color: rgba(0, 0, 0, 0.8);
}

#wrapper-footer.wrapper {
    padding: 0;
}

.footer-widget ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul a {
    color: #000000;
}

.footer-widget ul a:hover {
    color: #460067;
}

/**
 * --------------------------------------------------------------------------
 * Sidebar
 * --------------------------------------------------------------------------
 */

.widget-area aside {
    margin-bottom: 30px;
}

/**
 * --------------------------------------------------------------------------
 * Flexible Content
 * --------------------------------------------------------------------------
 */

/* Hero Block */
.hero-content {
    max-width: 570px;
}

.hero-btns {
    margin-top: 2.25rem;
}

.hero-btns .hero-btn {
    display: inline-block;
}

/* Hero Block - Homepage */
.content-wrapper {
    padding: 140px 0;
}

.content-wrapper-half {
    padding: 100px 0;
    border-top: 1px solid rgba(190, 190, 190, 0.5);
}

.home .hero-wrapper h2.small-hero-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #FFFFFF;
    text-align: left;
}

.home .hero-wrapper h1 {
    font-weight: bold;
    font-size: 56px;
    line-height: 62px;
    letter-spacing: -1px;
    color: #FFFFFF;
}

.home .hero-wrapper h3 {
    font-weight: normal;
    font-size: 24px;
    line-height: 36px;
    color: #FFFFFF;
}

/* Hero Block - every other page */

.content-wrapper.every-other-hero-wrapper {
    position: relative;
    min-height: 500px;
    padding-top: 0;
}

.content-wrapper.every-other-hero-wrapper .container .every-other-hero-content {
    background-color: #fff;
    max-width: 585px;
    padding: 45px 45px 65px;
    border-radius: 0 0 25px 25px;
}

.every-other-hero-content h1 {
    font-weight: bold;
    font-size: 46px;
    line-height: 52px;
    letter-spacing: -1px;
    color: #29789B; 
}

.every-other-hero-content h3 {
    font-size: 22px;
    line-height: 32px;
}

/* Grid Layout */
.top-content {
    max-width: 890px;
    margin: auto;
}

.grid-container{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
	align-items: stretch;
	justify-content:center;
}

#grid-services .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
    align-items: stretch;
    justify-content: center;
}

.grid-box {
	padding: 2rem;
	grid-gap: 1rem;
	display:grid;
	justify-items:center;
	text-align: center;
	grid-template-rows: minmax(100px, 130px) 1fr 3fr;
}

#grid-services .grid-box,
#testimonials-gridBox,
.page-id-6008 .grid-box {
	padding: 2rem;
	grid-gap: 1rem;
	display:grid;
	justify-items:center;
    text-align: center;
    grid-template-rows: auto;
}

.home .grid-box,
.page-id-6008 .grid-box,
#grid-services .grid-box,
#grid-service-groups .grid-box,
.page-id-5826 .grid-box  {
    border-bottom: 1px solid rgba(190, 190, 190, 0.5);
}

.home .grid-box:last-child,
.page-id-6008 .grid-box:last-child,
#grid-services .grid-box:last-child,
#grid-service-groups .grid-box:last-child,
.page-id-5826 .grid-box:last-child  {
    border-bottom: none;
    border-right: none;
}

#testimonials-gridBox:first-child {
    border-bottom: 1px solid rgba(190, 190, 190, 0.5);
}

.grid-img{
  max-width: 155px;
	align-self: end;
}
.grid-box h3{
    align-self: center;
    font-size: 18px;
    line-height: 28px;
}
.gridlinks{
	align-self: end;
}

.small-heading {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1px;
    color: #8923B9;
}

h1 {
    font-weight: bold;
    font-size: 60px;
    line-height: 58px;
    letter-spacing: -0.5px;
    color: #004767;
}

h2 {
    font-weight: bold;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.5px;
    color: #004767;
}

.home .top-content {
    max-width: 680px;
    margin: auto;
}

.top-content p {
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0.1px;
    color: #000000;
}

/* Two Cols + Image */
.two-cols-row, .multi-row{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	align-items: center;
	grid-gap: 3rem;
	justify-content:center;
}
.cols-content-left {
	max-width: 570px;
	justify-self: end;
}
.multi-text-content  {
	max-width: 570px;
}
.multi-text-content-left, .multi-image-col-right{
	justify-self: end;
}
.multi-image-col-right{
	justify-items: start;
}

.multi-image-col-left{
	justify-self: start;
}
.cols-content-right{
	max-width: 570px;
	justify-self: start;
}

.two-col-col {
    display: flex;
    justify-content: space-between;
}

.col-two-col-text {
   display: inline; 
}

.half-txt {
    width: 100%;
}

.two-col-col h4 {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1px;
    color: #000000;
}

.cols-content h2 {
    margin-bottom: 30px;
}

/* Two Col + Image + Text + Icons */
.icon-text-group h4 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}

.icon-text-group p {
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
}

/* Read More Block */

.content-wrapper-no-padding .left .container {
    margin-right: 0;
}

.content-wrapper-no-padding .left .container-fluid img {
    margin-left: -12px;
    border-radius: 0 25px 25px 0;
}

.content-wrapper-no-padding .right .container {
    margin-left: 0;
}

.content-wrapper-no-padding .right .container-fluid img {
    margin-right: -12px;
    border-radius: 25px 0 0 25px;
}

.read-more-above p:last-child(1) {
    padding-bottom: 20px;
}

#read-more-content-right,
#read-more-content-left {
    display: none;
}

/* Recent Posts Section */
.recent-blog-post {
    border: 2px solid rgba(190, 190, 190, 0.5);
    box-sizing: border-box;
    border-radius: 25px;
    position: relative;
}

.recent-blog-post .wp-post-image {
    width: 100%;
}

.blog-details {
    padding: 50px 35px 30px;
}

.featured-image {
    height: 160px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 23px 23px 0 0;
}

.featured-image img {
    object-fit: cover;
    width: 100%;
    min-height: 160px;
}

.recent-post-date {
    position: absolute;
    /* width: 48px; */
    left: 40px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    background-color: #EC9E56;
    padding: 5px 10px 0;
}

.recent-post-date .month {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #004767;    
}

.recent-post-date .day {
    font-weight: 900;
    font-size: 26px;
    line-height: 26px;
    text-align: center;
    color: #004767;
}

.recent-blog-post img {
    border-radius: 23px 23px 0 0;
    width: 100%;
}

.blog-title-link {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #000;
}

.entry-footer {
    margin-bottom: 1rem;
}

/* FAQ Accordion Section */
.accordion {
    background-color: #fff;
    color: #000;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: 3px solid #29789b;
    border-radius: 25px;
    outline: none;
    font-size: 18px;
  }
  
  .faq-active, .accordion:hover {
    background-color: #fff;
  }

  .faq-active {
    border-bottom: 0;
    border-radius: 25px 25px 0 0;
  }
  
  .panel {
    padding: 0 20px 10px 20px;
    background-color: white;
    display: none;
    overflow: hidden;
    border: 3px solid #29789b;
    border-top: 0;
    border-radius: 0 0 25px 25px;
  }
  
  .accordion:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 13px;
    color: #777;
    float: right;
    margin-left: 5px;
    padding-top: 5px;
  }
  
  .faq-active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
    padding-top: 5px;
  }
  

/* Contact Form Section */
.gform_wrapper.gravity-theme input,
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
    border-radius: 10px;
    border: solid 1px #fff;
    padding: 12px!important;
}

#input_1_1_3_container label, 
#input_1_1_6_container label {
    display: none;
}

.gform_footer {
    text-align: center;
}

.gform_wrapper.gravity-theme .gform_footer button,
.gform_wrapper.gravity-theme .gform_footer input,
.gform_wrapper.gravity-theme .gform_page_footer button,
.gform_wrapper.gravity-theme .gform_page_footer input {
    background: #EC9E56;
    border-radius: 10px;
    color: #004767;
    font-weight: bold;
    padding: 10px 20px!important;
    border-radius: 10px;
    border: 4px solid #EC9E56;
    transition-duration: .5s;
}

.gform_wrapper.gravity-theme .gform_footer button:hover,
.gform_wrapper.gravity-theme .gform_footer input:hover,
.gform_wrapper.gravity-theme .gform_page_footer button:hover,
.gform_wrapper.gravity-theme .gform_page_footer input:hover {
    background: rgb(255 255 255 / 0%);
    border-radius: 10px;
    color: #EC9E56!important;
    text-decoration: none;
}

.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper.gravity-theme .gfield-choice-input+label {
    color: #fff;
}

/* Contact Page */
.iframe-wrapper {
    width: 98%;
    position: relative;
    padding-bottom: 80%;
    overflow: hidden;
    border-radius: 25px;
}

.iframe-wrapper iframe {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border: none !important;
    border-radius: 25px;
}

/* 404 Page */
.notfound-title {
    font-size: 100px;
    font-weight: 300;
}

/* Blog Pageination */
.page-link {
    color: #004767;
    border: 1px solid rgba(190, 190, 190, 0.5);
}

.page-link:hover {
    color: #460067;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgb(41 120 155 / 33%);
}

.page-item.active .page-link {
    background-color: #29789B;
    border-color: #29789B;
    color: #fff;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Blog Posts */
.single-post h2,
.single-post h3 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.single-post h4,
.single-post h5 {
    padding-bottom: .75rem;
}

.entry-meta {
    padding-bottom: 2rem;
}

.entry-meta .posted-on .updated {
    display: none;
}

.single-post .wp-post-image {
    padding-bottom: 3rem;
}

.widget.widget_recent_entries ul {
    list-style-type: none;
    padding-left: 0;
}

.widget.widget_recent_entries ul li {
    padding-bottom: .75rem
}

.widget.widget_search .submit.btn.btn-primary {
    background-color: #29789B;
    border-color: #29789B;
}

.widget.widget_search .submit.btn.btn-primary:hover {
    background-color: #004767;
    border-color: #29789B;
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgb(41 120 155 / 33%);
}

.form-control:focus, .widget_archive select:focus, .widget_categories select:focus, .wpcf7 .wpcf7-validation-errors:focus, .wpcf7 input:focus[type=color], .wpcf7 input:focus[type=date], .wpcf7 input:focus[type=datetime-local], .wpcf7 input:focus[type=datetime], .wpcf7 input:focus[type=email], .wpcf7 input:focus[type=file], .wpcf7 input:focus[type=month], .wpcf7 input:focus[type=number], .wpcf7 input:focus[type=range], .wpcf7 input:focus[type=search], .wpcf7 input:focus[type=submit], .wpcf7 input:focus[type=tel], .wpcf7 input:focus[type=text], .wpcf7 input:focus[type=time], .wpcf7 input:focus[type=url], .wpcf7 input:focus[type=week], .wpcf7 select:focus, .wpcf7 textarea:focus {
    box-shadow: 0 0 0 0.2rem rgb(41 120 155 / 33%);
}

.author-header h2 {
    padding: 2rem 0 1rem;
}

#author-wrapper .site-main ul li {
    padding-bottom: 1rem;
}

/**
 * --------------------------------------------------------------------------
 * Media Queries
 * --------------------------------------------------------------------------
 */

 @media (max-width: 460px) {
    .hero-btns .hero-btn:first-child {
        margin-bottom: 20px;
    }

    .content-wrapper.every-other-hero-wrapper .container .every-other-hero-content {
        max-width: 375px;
    }
 }

@media (max-width: 640px) {
    .gform_wrapper.gravity-theme .ginput_complex span:first-child {
        margin-bottom: 18px!important;
    }

    .gform_wrapper.gravity-theme .ginput_complex span:last-child {
        margin-bottom: 0px!important;
    }
}

@media (max-width: 768px) {
    .home .hero-wrapper h1 {
        font-size: 36px;
        line-height: 50px;
    }

    .home .hero-wrapper h3 {
        font-size: 20px;
        line-height: 30px;
    }

    .every-other-hero-content h1 {
        font-size: 30px;
        line-height: 36px;
    }

    .every-other-hero-content h3 {
        font-size: 18px;
        line-height: 21px;
    }

    h1 {
        font-size: 38px;
        line-height: 42px;
    }

    h2 {
        font-size: 32px;
        line-height: 38px;
    }

    .widget_nav_menu .menu-services ul,
    .widget_nav_menu .menu-about ul {
        padding-left: 0;
    }

    .content-wrapper {
        padding: 90px 0;
    }

    .content-wrapper-half {
        padding: 60px 0;
    }
 }

@media (min-width: 768px) {
    /* Nav */
    .navbar-collapse {
        position: relative;
    }
   
    .menu-item-has-children:hover>.dropdown-menu {
        display: block;
    }
    
    .navbar-collapse .navbar-nav {
        padding: 0px;
    }

    .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .mega-menu-column:first-child {
        border-right: 1px solid rgba(190, 190, 190, 0.5)!important;
        height: 100%!important;
    }

    .mega-menu-column:last-child {
        border-left: 1px solid rgba(190, 190, 190, 0.5)!important;
        height: 100%!important;
    }

    /* Every Other Hero */
    .content-wrapper.every-other-hero-wrapper .container {
        position: absolute;
        left: 13%;
        top: 0;
        max-width: 585px;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.blue-btn > a.mega-menu-link {
        margin-bottom: 0;
    }


    #single-wrapper .content-area,
    #search-wrapper .content-area,
    #archive-wrapper .content-area,
    #author-wrapper .content-area {
        padding-right: 2rem;
    }
}

@media (min-width: 992px) {
    .home .grid-box,
    .page-id-6008 .grid-box,
    .page-id-5826 .grid-box  {
        border-right: 1px solid rgba(190, 190, 190, 0.5);
    }
    
    .home .grid-box:last-child,
    .home .grid-box:nth-child(2),
    .page-id-6008 .grid-box:last-child,
    .page-id-6008 .grid-box:nth-child(2),
    .page-id-5826 .grid-box,
    .page-id-5826 .grid-box:nth-child(2) {
        border-right: none;
        border-bottom: none;
    }

    #grid-services .grid-box,
    #grid-service-groups .grid-box {
        border-bottom: 1px solid rgba(190, 190, 190, 0.5);
        border-right: 1px solid rgba(190, 190, 190, 0.5);
    }
    
    #grid-services .grid-box:nth-child(even),
    #grid-service-groups .grid-box:nth-child(even){
        border-right: none;
    }

    #grid-services .grid-box:nth-child(3),
    #grid-service-groups .grid-box:nth-child(5){
        border-bottom: none;
    }

    #testimonials-gridBox:first-child {
        border-bottom: none;
        border-right: 1px solid rgba(190, 190, 190, 0.5);
    }

    .col-two-col-text {
        display: flex;
        justify-content: space-between;
     }
     
     .half-txt {
         width: 45%;
     }
}

@media (min-width: 1200px) {
    .home .grid-box,
    .home .grid-box:nth-child(2),
    .page-id-6008 .grid-box,
    .page-id-6008 .grid-box:nth-child(2),
    .page-id-5826 .grid-box,
    .page-id-5826 .grid-box:nth-child(2) {
        border-right: 1px solid rgba(190, 190, 190, 0.5);
        border-bottom: none;
    }

    #grid-service-groups .grid-box {
        border-bottom: 1px solid rgba(190, 190, 190, 0.5);
        border-right: 1px solid rgba(190, 190, 190, 0.5)!important;
    }

    #grid-service-groups .grid-box:nth-child(3n) {
        border-right: none!important;
    }

    #grid-service-groups .grid-box:nth-child(4){
        border-bottom: none;
    }

}

@media (min-width: 1400px) {
    .navbar-expand-md>.container {
        max-width: 1300px;
    }
}

/* grid layout button */

.grid-layout-btn {
	max-width: 240px;
	margin-top: 3em;
	text-align: center;
}

/* Footer - 5 sections */

@media only screen and (min-width: 768px) {
	#footer-full-content .col-md-4 {
		width: 20% !important;
	} 
}

#footer-full-content #nav_menu-4 .widget-title {
	font-size: 1.2rem !important;
	font-weight: bolder !important;
}

/* Author Bio Box on Single Post */

.authorBox__div {
    display: flex !important;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 2em;
}

.authorBox__name {
    margin: 0.6em 0;
    color: #29789b;
    font-size: 1.2em;
    font-weight: bold;
}

.authorBox__icon {
    max-width: 1.8em;
}

@media (min-width: 992px) {
    .authorBox__div {
    flex-direction: row;
}
    .authorBox__box:has(img) {
        margin-right: 1em;
}
    .authorBox__box:last-child {
        max-width: 80%;
    }
}

/* Mobile CTA bottom */
 .cta-mobile-bar__div {
     display: none;
     padding: 15px 15px 32px 15px;
     background-color: rgba(0, 45, 65, 0.90);
     width: 100%;
}
 .cta-mobile-bar__btn {
     color: #004767;
     font-family: Barlow;
     font-size: 16px;
     font-style: normal;
     font-weight: 700;
     line-height: 28px;
     border-radius: 9px;
     display: flex;
     padding: 12px 0px;
     justify-content: center;
     align-items: center;
     gap: 10px;
     flex: 1 0 0;
}
 .cta-mobile-bar__btn--primary {
     background: #EC9E56;
     margin-right: 7.5px;
}
 .cta-mobile-bar__btn--secondary {
     background: #76B5D1;
     margin-left: 7.5px;
}
 @media (max-width: 600px) {
     #toTop {
         display: none !important;
    }
	 #footer-small {
		 padding-bottom: 12em !important;
	 }
     .cta-mobile-bar__div {
         display: flex;
         position: fixed;
         bottom: 0;
    }
     .grecaptcha-badge {
         width: 70px !important;
         overflow: hidden !important;
         transition: all 0.3s ease !important;
         left: 0px !important;
         bottom: 110px !important;
    }
     .grecaptcha-badge:hover {
         width: 256px !important;
    }
     #designstudio-button {
         margin-bottom: 2.2em;
    }
}

/* Mobile CTA bottom - end */

/* Footer text align left */
@media (max-width: 767px) {
	#custom_html-3 .has-text-align-right {
    	text-align: left !important;
	}
}
/* Footer text align left - end */