/*
    Theme Name: Matrix Internet
    Theme URI: 
    Author: Matrix Internet Development team
    Author URI: https://www.matrixinternet.ie/who-we-are/
    Description: This theme is for developing themes with full customized UX/UI
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: Responsive
    Text Domain: matrixinternet2023
*/

/***** General styles *****/
@font-face {
  font-family: "IBM Plex Sans";
  src: url(fonts/IbmPlexSans/IBMPlexSans-Regular.woff2);
}

@font-face {
  font-family: "IBM Plex Sans Medium";
  src: url(fonts/IbmPlexSans/IBMPlexSans-Medium.woff2);
}

@font-face {
  font-family: "IBM Plex Sans Bold";
  src: url(fonts/IbmPlexSans/IBMPlexSans-Bold.woff2);
}

html,
body{
    display: flex;
    flex-direction: column;
    max-width: 100%;
    position: relative;
    overflow-x: hidden;
    margin: 0;
}

html.menu_open,
body.menu_open{
   max-height: 100%;
   overflow: hidden;
}

.container {
    width: 1920px;
    max-width: 90%;
    justify-content: space-between;
    margin: 0 auto;
}

h1{
    font-family: "IBM Plex Sans";
}

h2{
    color: #00495A;
    font-family: "IBM Plex Sans";
    font-weight: 600;
    font-size: 48px;
    line-height: 60px;
    margin-top: 0;
    margin-bottom: 20px;
}

h4{
    color: #fff;
    font-family: "IBM Plex Sans";
    font-weight: 600;
    font-size: 36px;
    line-height: 45px;
    margin-top: 0;
    margin-bottom: 20px;
}

h5{
    color: #fff;
    font-family: "IBM Plex Sans";
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    margin-top: 0;
    margin-bottom: 0px;
}

p{
    max-width: 1000px;
    font-size: 18px;
    line-height: 31.5px;
    margin: 0 auto;
}

.section_cta {
    max-width: fit-content;
    display: flex;
    padding: 16px 48px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--S4R-Primary-Green-300, #75BC22);
    color: var(--S4R-Primary-Slate-500, #0A2134);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    text-decoration: none;
    margin-top: 25px;
}

.section_cta:hover {
    background-color: #22404D;
    color: #fff;
}

img{
    border-radius: 5px;
}

@media only screen and (max-width: 1200px) {

    .container {
        max-width: 90%;
        margin: 0 auto;
    }

} 

@media only screen and (max-width: 767px) {
    
    h2 {
        font-size: 28px !important;
        line-height: 36px !important;
    }

    h2 strong{
        font-size: 28px !important;
        line-height: 36px !important;
    }

    h3{
        font-size: 24px !important;
        line-height: 32px !important;
    }


    h4{
        font-size: 20px !important;
        line-height: 28px !important;
    }


    p{
        font-size: 16px;
        line-height: 24px;
    }

}

/***** Header *****/
header {
    font-family: "IBM Plex Sans";
    position: fixed;
    top: 0px;
    z-index: 3;
    width: 100%;
    padding-top: 20px;
}

header .container {
    display: flex;
}

header #logo_container {
    width: 100%;
    float: left;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    margin-right: 32px;
}

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

header.scrolled #logo {
    opacity: 0;
    position: absolute;
}

header #site_logo_sticky {
    transition-duration: 0;
    opacity: 0;
    position: absolute;
    transition-delay: 0;
}

header.scrolled #site_logo_sticky {
    position: static;
    opacity: 1;
    transition-duration: 0.5s;
    transition-delay: 0.5s; 
}

header .mobile {
    display: none;
    background: #fff;
    border-radius: 8px;
    margin: 10vh auto;
    overflow: hidden;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 2;
    padding-top: 80px;
    margin-top: 0;
}

header .mobile .mobile-controls {
    background: #FF7533;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

header .mobile .mobile-controls button {
    background: none;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    height: 40px;
    padding: 0 15px;
    margin: 10px 15px;
}

header .mobile .mobile-menu {
     display: none;
     height: 100%;
     left: 0;
     position: absolute;
     width: 100%;
     z-index: 10;
}

header .mobile ul {
     margin: 0;
     padding: 0;
     width: 100%;
     position: absolute;
     transition: 0.25s;
}

header .mobile li {
    display: flex;
}

header .menu-item {
    margin: 0 28px;
}

header .menu-item a {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    text-decoration: none;
    transition-duration: 0.75s;
}

header.scrolled .menu-item a {
    color: #21282F;
    transition-duration: 0.75s;
}

header .cta_button.menu-item a {
    transition-duration: 0.75s;
}

header.scrolled .cta_button.menu-item a {
    color: #0A2134;
    background: linear-gradient(94deg, #FF9461 17.37%, #FF7533 90.35%);
    color: var(--Base-Black, #000);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    border-radius: 24px;
    transition-duration: 0.75s;
}

header.scrolled .cta_button.menu-item a:hover {
    text-decoration: none;
    background-color: #22404D;
    color: #fff !important;
}

header.scrolled .hamburger .line {
    background-color: #22404D;
}

header .menu_open header.scrolled #logo {
    opacity: 1;
    position: static;
}

header .hamburger {
    position: relative;
    z-index: 4;
}

header .hamburger .line {
    width: 32px;
    height: 3px;
    background-color: #fff;
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

header .hamburger:hover {
    cursor: pointer;
}

header .hamburger.is-active .line:nth-child(2) {
    opacity: 0;
}

header .hamburger.is-active .line:nth-child(1) {
    -webkit-transform: translateY(11px) rotate(44deg);
    -ms-transform: translateY(11px) rotate(44deg);
    -o-transform: translateY(11px) rotate(44deg);
    transform: translateY(11px) rotate(44deg);
}

header .hamburger.is-active .line:nth-child(3) {
    -webkit-transform: translateY(-13px) rotate(-45deg);
    -ms-transform: translateY(-13px) rotate(-45deg);
    -o-transform: translateY(-13px) rotate(-45deg);
    transform: translateY(-13px) rotate(-45deg);
}

header .mobile.open {
    display: block;
}

header .mobile button:hover {
    cursor: pointer;
}

/*header .mobile .mobile-controls button:hover {
    background: #0095A9;
    color: #0095A9;
}*/

header .mobile .mobile-controls .back-button {
    display: none;
    align-items: center;
}

header .mobile .fa-chevron-right {
    color: #21282F;
}

header .mobile li.cta_button {
    border-bottom: 0 none;
    padding-right: 0;
    margin-right: 0;
}

header .mobile li button {
    background: none;
    border: 0;
    flex: 1;
    text-align: right;
    padding: 7.5px 15px;
}

header .mobile li:hover > button {
    color: #fff;
}

header .mobile div > ul {
    top: 0;
    left: 0;
}

header .mobile div > ul ul {
    display: none;
    top: 0;
    left: 100%;
}

header .cta_button.menu-item a {
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #22404D;
    color: var(--Base-Colours-White, #FFF);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    cursor: pointer;
}

header .cta_button.menu-item:hover > a {
    background-color: #FF8B00;
    color: #22404D !important;
}

header .header_overlay {
    position: absolute;
    transform: translateY(-200px);
    transition-duration: 0.75s;
    background-color: #fff;
    width: 100%;
    height: 100%;
    left: 0;
}

header.scrolled .header_overlay {
    position: absolute;
    transform: translateY(0);
    transition-duration: 0.75s;
    background-color: #fff;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
}

header .menu_cta_container{
    display: flex;
    align-items: center;
}

header .search_icon:hover{
    cursor: pointer;
}

header .cta_menu {
    display: flex;
    list-style-type: none;
    padding-left: 24px;
}

header .cta_menu .menu-item{
    margin: 0 8px;
}

header .cta_menu .menu-item.hide{
    display: none;
}

header .cta_menu .primary{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(94deg, #FF9461 17.37%, #FF7533 90.35%);
    border: 2px solid transparent;
    border-radius: 30px;    
}

header .cta_menu .primary a{
    color: var(--Base-Black, #000);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; 
    padding: 12px 32px;
}

header .cta_menu .primary:hover{
    background: #000;
}

header .cta_menu .primary:hover > a{
    color: #fff;
}

header .cta_menu .secondary{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: transparent;
    border: 2px solid #FF7533;
    border-radius: 30px;  
}

header .cta_menu .secondary a{
    color: var(--Base-Black, #000);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; 
    padding: 12px 32px;
}

header .cta_menu .secondary:hover{
    background: linear-gradient(94deg, #FF9461 17.37%, #FF7533 90.35%);
}


@media only screen and (min-width: 768px) {

    header .mobile {
        padding-top: 120px;
    }

}

@media only screen and (min-width: 1201px) {

    header {
        padding-bottom: 10px;
    }

    header #logo_container {
        max-width: fit-content;
        padding-bottom: 10px;
    }

    header .mobile {
        width: auto;
        position: static;
        display: block;
        height: auto;
        background-color: transparent;
        padding-top: 0;
        margin: 0 auto;
        overflow: visible;
    }

    header .mobile .mobile-controls,
    header .hamburger {
        display: none;
    }

    header .mobile .mobile-menu {
        display: flex;
        height: 100%;
        position: static;
    }

    header .menu {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    header .mobile ul {
        position: static;
    }

    header .mobile li {
        height: 100%;
        background-color: transparent;
        border: 0 none;
        white-space: nowrap;
        position: relative;
        margin: 0 16px;
        display: flex;
        align-items: center;
    }

    header .mobile li:hover {
        background-color: transparent;
        z-index: 2;
    }

    header .mobile li.cta_button {
        margin-left: 32px;
    }

    header .mobile li:hover > ul {
        display: block;
        position: absolute;
        top: 32px;
        left: 0;
        background-color: #fff;
        width: 100%;
        min-width: 200px;
        padding: 16px 0;
    }

    header .mobile li.menu-item li.menu-item:hover > ul {
        top: -17px;
        left: calc(100% + 1px);
    }

    header .mobile li.menu-item li.menu-item button {
        transform: rotate(0deg) scale(1);
    }

    header .mobile li.menu-item li.menu-item li.menu-item a {
        padding-bottom: 0;
    }

    header .mobile li:hover > a {
        color: #0A2134;
    }

    header .mobile li.menu-item li.menu-item li.menu-item button {
        transform: rotate(90deg) scale(1);
    }

    header .mobile li a {
        flex: auto;
        color: var(--Primary-Colours-Slate-Gray-600, #21282F);
        font-family: "IBM Plex Sans";
        font-size: 20px;
        font-weight: 500;
        line-height: 30px;
    }

    header .menu-item a{
        padding-bottom: 5px;
    }

    header .menu-item.current_page_item a {
        border-bottom: 2px solid #FF5200;
        max-width: fit-content;
    }

    header .menu-item.current_page_item .sub-menu a{
        border-bottom: none;
    }

    header .primary.menu-item.current-menu-item a,
    header .secondary.menu-item.current-menu-item a{
        border-bottom: 2px solid transparent;
    }

    header .mobile li button {
        transform: rotate(90deg) scale(1);
        position: absolute;
        top: 12px;
        right: -10px;
    }

    header .mobile li button.arrow {
        position: relative;
        top: 0px;
        right: -8px;
        padding: 0;
    }

    header .mobile li .sub-menu button.arrow {
        right: -7px;
    }

    header .mobile li .sub-menu button.arrow .fa-chevron-right:before {
        color: #0095A9;
    }

    header .mobile ul.sub-menu {
        background-color: #fff !important;
        padding: 0px;
        border-radius: 0px;
    }

    header .mobile ul.sub-menu li {
        padding: 4px 16px;
        margin: 0;
    }

    header .mobile li:hover > ul {
        display: block;
        min-width: 250px;
        background-color: rgba(117, 188, 34, 0.75);
        padding-top: 15px;
        padding-bottom: 15px;
        top: 66px;
        left: -10px;
    }

    header .mobile li.level-2:hover > ul {
        top: 0;
        left: 100%;
    }

    header .mobile li.level-2 button {
        transform: rotate(0deg) scale(1);
    }

    header .mobile li.level-3 {
        padding-bottom: 0;
    }

    header .mobile li.level-3 a {
        padding-bottom: 0;
    }

    header .mobile li.level-3 button {
        transform: rotate(90deg) scale(1);
    }

    header .new.menu-item a{
        position: relative;
    }

    /*header .new.menu-item a:after {
        content: 'NEW';
        background: var(--Primary-Colours-Slate-Gray-600, #21282F);
        color: var(--Base-White, #FFF);
        font-family: "IBM Plex Sans";
        font-size: 10px;
        font-style: normal;
        font-weight: 600;
        line-height: 8px;
        padding: 4px 6px;
        border-radius: 16px;
        position: absolute;
        top: 0;
        left: calc(100% + 4px);
    }*/

    header .menu-item {
      position: relative;
      text-decoration: none; 
      color: inherit;        
    }

    header .menu-item::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 25px;
      height: 2px;
      width: 0;
      background-color: #FF5200;
      transition: width 0.3s ease;
    }

    header .menu-item:hover::after {
      width: 100%;
    }

    header .primary.menu-item:after,
    header .secondary.menu-item:after,
    header .current-menu-item:after,
    header .sub-menu .menu-item::after{
        display: none;
    }


}

@media only screen and (max-width: 1340px) {

    header .mobile {
       margin-left: 0px;
    }

}

@media only screen and (max-width: 1280px) {

    header .container {
        max-width: calc(100% - 80px);
        padding: 0 40px;
    }

    header #logo_container img {
        max-width: 150px;
    }

}

@media only screen and (max-width: 1200px) {
   
    header .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    header #logo_container {
        display: flex;
        justify-content: center;
    }

    header .menu {
        align-items: center;
        justify-content: center;
    }

    header .mobile ul.top-menu{
        margin: 30px;
        margin-bottom: 15px;
    }

    header .menu_cta_container{
        order: 1;
    }

    header .hamburger {
        order: 2;
        margin-left: 20px;
    }

}

@media only screen and (max-width: 1200px) {

    header {
        padding-bottom: 20px;
        background: var(--Base-White, #FFF);
        box-shadow: 0px 4px 24px 0px rgba(33, 40, 47, 0.05);
    }

    header .container {
        flex-direction: row;
    }

    header #logo_container {
        justify-content: flex-start;
    }

    header .mobile ul.top-menu{
        margin: 0;
    }

    header .menu-item {
        text-align: left;
        margin: 0px 10px;
    }

    header .mobile li a {
        flex: 3;
        text-align: left;
        text-decoration: none;
        padding: 10px;
    }

    header .mobile li.cta_button {
        max-width: 90%;
        margin: 0 auto;
    }

    header .cta_button.menu-item a {
        max-width: 300px;
        margin: 20px auto;
    }

    header.scrolled .menu-item a {
        color: #fff;
    }

    header .menu-cta-menu-container{
        display: none;
    }

    .menu_open .header_container{
        height: 100vh;
    }

    .menu_open header #logo_container {
        z-index: 3;
        position: absolute;
        top: 20px;
        left: 40px;
        max-width: fit-content;
    }

   .menu_open header .menu-item {
        width: 350px;
        max-width: 90%;
        margin: 0 auto;
    }

    .menu_open .search_icon {
        position: absolute;
        top: 25px;
        right: 93px;
    }

    .menu_open header .menu_cta_container {
        display: flex;
        width: 100%;
        margin-top: auto;
        margin-bottom: 10%;
        z-index: 2;
    }

    .menu_open header .cta_menu {
        display: flex;
        list-style-type: none;
        padding-left: 24px;
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 0;
        position: absolute;
        bottom: 0;
        height: auto;
        height: 200px;
        margin-top: auto;
        margin-bottom: 35vh;
    }

    .menu_open .menu-cta-menu-container{
        width: 100%;
    }

    .menu_open header .cta_menu .menu-item {
        width: 100%;
        margin: 6px 0;
    }

    .menu_open header .cta_menu .menu-item a {
        text-align: center;
        margin: 0 auto;
    }

    .menu_open header .hamburger {
        position: absolute;
        top: 20px;
        right: 40px;
    }

    .menu_open header .hamburger .line{
        width: 35px;
        height: 4px;
    }

    .menu_open header.scrolled .menu-item a {
        color: #21282F;
    }

}

@media only screen and (max-width: 991px) {

    header .hamburger .line {
        background-color: #22404D;
    }

}


@media only screen and (max-width: 767px) {

    #logo{
        max-width: 100px;
    }

    header.scrolled .menu-item a {
        color: #21282F;
    }

    header.scrolled .cta_button.menu-item a {
        color: #0A2134;
        border: 3px solid var(--german-uds-primary-orange-700, #fff);
        transition-duration: 0.75s;
    }

}


/* Mega Menu */
@media only screen and (min-width: 1201px) {

    .mega_menu:hover > .sub-menu{
        display: none;
    }

    .services_mega_menu{
        display: flex;
    }

}

@media only screen and (max-width: 1200px) {

    .services_mega_menu {
        display: none;

    }
}

.services_mega_menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    background: var(--Base-White, #FFF);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 12;
    transition: 0.3s;
    padding-top: 60px;
    padding-bottom: 60px;
}

.services_mega_menu.show{
    display: flex;
    transition: 0.3s;
}

.megamenu_overlay{
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(76, 48, 65, 0.6);
    z-index: 11;
}

.megamenu_overlay.active{
    display: block;
}

.services_mega_menu .container{
    display: flex;
    width: 1200px;
    max-width: 90%;
    background: var(--Base-White, #FFF);
    margin: 0 auto;
}

.services_mega_menu h2{
    margin-bottom: 0;
}

.services_mega_menu h2 a{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 30px;
    font-weight: 500;
    line-height: 38px;
    text-decoration: none;
    margin-top: 60px;
    margin-left: 80px;
    position: relative;
}

.services_mega_menu h2::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('/wp-content/themes/matrixinternet2023/images/menu-arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 16px;
    vertical-align: middle;
}

.services-column {
    flex: 1;
    padding: 20px 80px;
    padding-top: 0;
}

.services-column h3 {
    margin-top: 40px;
}

.services-column h3 a {
    color: var(--Primary-Colours-Slate-Gray-600, #21282F);
    font-family: "IBM Plex Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    text-decoration: none; 
    margin-bottom: 20px;
    margin-top: 0;
}

.service-item {
    margin-bottom: 20px;
}

.service-item h4 {
    display: flex;
    align-items: center;
    padding-right: 20px;
    margin-bottom: 10px;
    position: relative;
}

.services_mega_menu h4::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/matrixinternet2023/images/menu-arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 16px;
    vertical-align: middle;
    position: absolute;
    right: 0px;
    top: 6px;
}

.service-item h4 a{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    text-decoration: none;
}

.service-excerpt {
    font-size: 1em;
    color: #555;
}

.service-item h4 a{
    position: relative;
}

.service-item h4 a::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0px;
      height: 3px;
      width: 0;
      background-color: #FF5200;
      transition: width 0.3s ease;
}

.service-item h4 a:hover::after {
      width: 100%;
}





/* Search Bar */
.search-bar-container {
    position: absolute;
    top: 100%;
    right: 10px;
    background: white;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.search-bar-container.active {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.search-bar-container .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-form {
    display: flex;
    align-items: center;
    width: 1000px;
    max-width: 90%;
    margin: 10px 0;
}

.search-input {
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    height: 28px;
    border-radius: 4px;
    margin: 0 auto;
    outline: none;
}

.search-submit {
    height: 45px;
    background: linear-gradient(94deg, #FF9461 17.37%, #FF7533 90.35%);
    border: none;
    padding: 8px 12px;
    color: #000;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 5px;
}

.search-submit:hover {
    background: #000;
}

.search-submit:hover > .fa {
    color: #fff;
}

.close-search {
    font-size: 30px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    outline: none;
    margin-right: 10px;
    position: relative;
}

.close-search:hover {
    color: #0073aa;
}

/* Search Results */
.search_breadcrumb {
    display: flex;
    align-items: center;
    font-family: "IBM Plex Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1px;
    margin-top: 88px;
}

.search_breadcrumb img{
    position: relative;
    top: 2px;
    margin-right: 7px;
}

.search-results-container {
    padding: 40px 0;
}

.search-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.search-result-item h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.search-result-item p {
    color: #666;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 40px 0;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.search-results-container {
    padding: 40px 0;
    padding-bottom: 0;
}

.search-title {
    display: flex;
    align-items: flex-end;
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: 76px;
    letter-spacing: -1.44px;
    margin-bottom: 48px;
}

.search-title span{
    color: #000;
}

img.search_result_img{
    margin-right: 10px;
}

.search_result_text{
    margin: 0 20px;
}

img.quote{
    max-width: 70px;
    position: relative;
    top: -10px;
}

.search-section-title {
    font-size: 22px;
    line-height: 30px;
    margin-top: 50px;
}

.showing_results{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 64px;
}

.search-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 20px;
    margin-bottom: 88px;
}

.search-item {
    background: #fff;
    transition: all 0.3s ease;
    text-align: center;
    flex: calc(33.333% - 32px);
    max-width: calc(33.333% - 32px);
}

.partner .search-item {
    flex: calc(20% - 32px);
    max-width: calc(20% - 32px);
}

.team_member .search-item {
    flex: calc(25% - 32px);
    max-width: calc(25% - 32px);
}

.technology .search-item {
    margin-bottom: 50px;
}


.search-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.search-item img {
    width: 100%;
    height: 290px;
    border-radius: 5px;
    object-fit: cover;
}

.technology .search-item img {
    display: block;
    width: auto;
    height: auto;
    border-radius: 5px;
    object-fit: contain;
    max-height: 60px;
}

.search-grid.partner .search-item img {
    width: 100%;
    max-width: 100px;
    height: 150px;
    border-radius: 5px;
    object-fit: contain;
}

.search-grid.team_member .search-item img {
    height: auto;
    object-fit: contain;
    object-position: top;
}

.search-item h3 {
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    text-align: left;
    margin-top: 25px;
    margin-bottom: 12px;
}

.service .search-item h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 0;
}

.search-item p{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
}

.pagination {
    margin-top: 20px;
    text-align: center;
    margin-bottom: 60px;
}

.pagination a, .pagination span {
    display: inline-block;
    font-family: "IBM Plex Sans";
    color: #000;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #FF7533 ;
    border-radius: 5px;
    margin: 5px;
}

.pagination a:hover, .pagination .current {
    background: #FF7533 ;
    color: #000;
}

.search footer .partners_we_work {
    width: 90%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 180px auto;
    margin-top: 0;
}


@media only screen and (max-width: 1200px) {
    
    .search_result_text{
        font-size: 50px;
        line-height: 60px;
    }
    
}

@media only screen and (max-width: 1024px) {

    .search-bar-container.active {
        max-width: 90%;
        padding: 0 5%;
        margin: 0 auto;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
    }

    img.search_result_img {
        max-width: 50px;
        margin-right: 10px;
    }

}

@media only screen and (max-width: 991px) {

    .search_result_text{
        font-size: 40px;
        line-height: 50px;
    }
    
    .search-item {
        flex: calc(50% - 32px);
        max-width: calc(50% - 32px);
    }

    .search-grid {
        margin-bottom: 50px;
    }

}

@media only screen and (max-width: 767px) {

    .search-title {
        flex-wrap: wrap;
        align-items: flex-start;
        margin: 0;
        margin-top: 20px;
    }

    .search_result_text {
        font-size: 24px;
        line-height: 32px;
        margin: 0;
    }

    .search-title span {
        color: #000;
        font-size: 30px;
        line-height: 38px;
        display: block;
        margin-left: 6px;
    }

    .service .search-item h3 {
        margin: 0;
    }

    img.search_result_img {
        margin-right: 10px;
        max-width: 30px;
        position: relative;
        top: 3px;
    }
                
    .search-item {
        flex: calc(100% - 0px);
        max-width: calc(100% - 0px);
    }

    img.quote {
        max-width: 40px;
        position: relative;
        top: 0;
    }

}


/* Footer */
footer h2 {
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans Medium";
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: 56px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 64px;
}

footer h2 span{
    font-family: "IBM Plex Sans Bold";
    font-weight: 700;
    color: #000;
}

footer .partners_list {
    display: flex;
    flex-wrap: wrap; 
}

footer .partners_list .partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 calc(33.333% - 136px);
    box-sizing: border-box;
    margin: 0 68px;
}

footer .partners_list .partner-item img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100px;
    margin: 20px 10px;
}

footer .partners_we_work {
    width: 90%;
    max-width: 1440px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 120px auto;
}

footer .partners_we_work h2{
    font-family: "IBM Plex Sans Medium";
    font-weight: 500;
    color: #323E48;
    margin-bottom: 0;
}

footer .partners_we_work h2 span{
    font-family: "IBM Plex Sans Bold";
    font-weight: 700;
    color: #000;
}

footer .partners_list{
    padding: 0 184px;
}

footer .offices_section{
    display: flex;
    align-items: center;
}

footer .office_item {
    width: 50%;
    height: 100vh;
    max-height: 640px;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

footer .office_item_container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

footer .office_title{
    width: 100%;
    color: var(--Base-White, #FFF);
    font-family: "IBM Plex Sans Medium";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
}

footer .office_info {
    display: flex;
    align-items: flex-start;
}

footer .office_address p {
    color: var(--Base-White, #FFF);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    max-width: 167px;
    margin-right: 30px;
}

footer .office_telephone a{
    display: block;
    color: var(--Base-White, #FFF);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    margin-bottom: 12px;
}

footer .office_email a{
    color: var(--Base-White, #FFF);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
}

footer .office_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    mix-blend-mode: multiply;
}

footer .row_1{
    display: flex;
    justify-content: space-evenly;
    padding: 80px 0;
}

footer .row_1 .footer_menu_container{
    display: flex;
    flex-direction: column;
}

footer .row_1 .footer_menu_container h4{
    margin-bottom: 0;
}

footer .row_1 .footer_menu_container h4 a{
    color: var(--Primary-Colours-Slate-Gray-600, #21282F);
    font-family: "IBM Plex Sans";
    font-size: 16px !important;
    font-style: normal;
    font-weight: 600;
    line-height: 20px !important;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 0;
}

footer .footer_menu{
    flex: 25%;
    flex-direction: column;
    list-style-type: none;
    padding: 0;
    padding-left: 0px;
}

footer .footer_service_list{
    list-style-type: none;
    padding-left: 0px;
}

footer .footer_service_list a{
    display: block;
    color: var(--Primary-Colours-Slate-Gray-600, #21282F);
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    padding: 6px 0;
}

footer .footer_service_list a:hover{
    text-decoration: underline;
}

footer .row_2 {
    display: flex;
    align-items: center;
    background: var(--Base-White, #FFF);
    width: 100%;
    color: var(--Primary-Colours-Slate-Gray-600, #21282F);
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    padding: 0 5%;
    border-top: 1px solid var(--Primary-Colours-Slate-Gray-300, #8E959A);
}

footer .row_2 .copyright_container {
    display: flex;
    align-items: center;
}

footer .row_2 ul{
    display: flex;
    align-items: center;
    list-style-type: none;
}

footer .row_2 ul li{
    margin-right: 40px;
}

footer .row_2 ul.social li {
    margin-right: 24px;
}

footer .row_2 ul li a{
    color: var(--Primary-Colours-Slate-Gray-600, #21282F);
    font-family: "IBM Plex Sans";
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
}

footer .row_2 ul li a:hover{
    text-decoration: underline;
}

footer .row_2 .social li a:hover img {
    filter: brightness(1.4);
}

@media only screen and (max-width: 1480px) {

    footer .partners_list {
        padding: 0 5%;
    }

}

@media only screen and (max-width: 1200px) {

    footer .row_2{
        flex-direction: column;
    }

}

@media only screen and (max-width: 1080px) {

    footer .partners_we_work {
        width: 100%;
        max-width: 90%;
        align-items: center;
        flex-direction: column;
        margin: 60px auto;
    }

    footer .partners_list {
        flex-wrap: wrap;
    }

}

@media only screen and (max-width: 991px) {

    footer .offices_section{
        flex-direction: column;
    }


    footer .office_item{
        width: 100%;
    }

    footer .row_1 {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 40px 0;
    }

    footer .row_1 .footer_menu_container {
        padding: 0 10px;
    }

    footer .footer_service_list {
        margin-top: 10px;
    }

    footer .row_2 .copyright_container {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 40px;
    }

   footer .row_2 ul {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0;

    }

    footer .partners_list .partner-item {
        flex: 40%;
        margin: 5%;
    }

}


@media only screen and (max-width: 767px) {

    footer .row_1 {
        flex-direction: column;
        padding: 24px;
    }

    footer .row_1 .footer_menu_container {
        padding: 12px 0;
    }

    footer h2 {
        max-width: 90%;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    footer h2 span {
        display: block;
    }

    footer .footer_menu_container h4 {
        width: 100%;
        cursor: pointer;  
        color: var(--Primary-Colours-Slate-Gray-600, #21282F);
        font-family: "IBM Plex Sans";
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: 3.2px;
        text-transform: uppercase;
        margin: 0;
        position: relative;
    }

    footer .row_1 .footer_menu_container h4:after{
        content: '';
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url('/wp-content/themes/matrixinternet2023/images/accordion-arrow-down.svg');
        background-size: contain;
        background-repeat: no-repeat;
        margin-left: 16px;
        vertical-align: middle;
        position: absolute;
        right: 0;
        transition: 0.3s;
    }

    footer .row_1 .footer_menu_container h4.active:after{
        transform: rotate(180deg);
        transition: 0.3s;
    }

    footer .footer_service_list {
        display: none;
        padding: 10px; 
        background: #f9f9f9; 
    }


    footer .footer_service_list a {
        text-decoration: none;
        color: #142A3E;
        font-size: 16px;
        line-height: 24px;
        padding: 10px;
    }

    footer .row_2 {
        align-items: flex-start;
    }

    footer .row_2 ul {
        flex-wrap: wrap;
        padding: 0;
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    footer .row_2 ul.social {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-evenly;
    }

    footer .row_2 ul li {
        margin-bottom: 15px;
        margin-left: 0;
    }

    footer .row_2 ul.social li {
        margin-right: 10px;
    }

    footer .partners_list .partner-item {
        flex: 100%;
        margin: 12px 0%;
    }

    footer .office_info {
        flex-direction: column;
    }

}


/* Plugin - Brevo */
.brevo_form .section_container {
    justify-content: space-between;
    max-width: 90%;
}

.brevo_form .column_left {
    padding-right: 7%;
}

.brevo_form .row_1 {
    display: flex;
    align-items: flex-end;
}

.brevo_form .form_input {
    display: flex;
    flex-direction: column;
}

.brevo_form .form_input label {
    color: var(--Primary-Colours-Slate-Gray-600, #21282F);
    font-family: "IBM Plex Sans";
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 12px;
}

.brevo_form p {
    color: #21282E;
    font-family: Blinker;
    font-size: 16px;
    line-height: 22px;
    max-width: 500px;
    margin: 0;
}

.brevo_form .sib_signup_form input[type="text"],
.brevo_form .sib_signup_form input[type="email"] {
    color: #21282E;
    font-family: Blinker;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    width: 240px;
    max-width: 612px;
    height: 48px;
    background-color: #fff;
    padding-left: 16px;
    border-radius: 4px;
    border: 1px solid var(--Primary-Colours-Slate-Gray-200, #B7BBBF);
    margin-right: 16px;
}

.brevo_form .sib_signup_form input[type="text"]:focus,
.brevo_form .sib_signup_form input[type="email"]:focus {
    outline: none;
}

.brevo_form .sib_signup_form::placeholder,
.brevo_form .sib_signup_form input::placeholder {
    color: var(--Primary-Colours-Slate-Gray-400, #656E76);
    font-family: "IBM Plex Sans";
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.brevo_form .accept_subscription {
    display: flex;
    align-items: center;
    color: var(--grey, #676767);
    font-family: "IBM Plex Sans";
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    margin: 32px 0;
    margin-bottom: 0;
}

.brevo_form .accept_subscription input {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    cursor: pointer;
}

.brevo_form .accept_subscription a {
    color: #21282E;
    text-decoration: underline;
    margin: 0 3px;
}

.brevo_form .sib-default-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(94deg, #FF9461 17.37%, #FF7533 90.35%);
    color: var(--Primary-Colours-Deep-Purple-600, #35222E);
    cursor: pointer;
    margin-left: 18px;
}

.brevo_form .sib-default-btn:hover {
    background: #000;
    color: #fff;
}

.brevo_form form#sib_signup_form_1 p.sib-alert-message {
    padding: 6px 12px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-sizing: border-box;
}

.brevo_form form#sib_signup_form_1 p.sib-alert-message-error {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.brevo_form form#sib_signup_form_1 p.sib-alert-message-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.brevo_form form#sib_signup_form_1 p.sib-alert-message-warning {
    background-color: #fcf8e3;
    border-color: #faebcc;
    color: #8a6d3b;
}


@media only screen and (max-width: 767px) {

    .brevo_form {
        width: 90%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        background: var(--Base-White, #FFF);
        box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.08);
        padding: 5%;
        border-radius: 8px;
    }

    .brevo_form .row_1 {
        flex-wrap: wrap;
    }

    .brevo_form .sib-default-btn {
        margin-left: 0;
        margin-top: 18px;
    }

}




/* Single Post - Default Layout */
.single-post .hero_section.default_layout {
    margin-top: 100px;
}

.default_post_layout{
    width: 1240px;
    max-width: 90%;
    margin: 0 auto;
}

.default_post_layout h2{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px;
    letter-spacing: -0.72px;
    margin-top: 60px;
}

.default_post_layout h3{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: -0.72px;
    margin-top: 40px;
}

.default_post_layout h4{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -0.72px;
    margin-top: 40px;
}

.default_post_layout h5{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: -0.72px;
    margin-top: 40px;
}

.default_post_layout h6{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: -0.72px;
    margin-top: 40px;
}

.default_post_layout .excerpt p{
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    margin: 80px auto;
}

.default_post_layout p{
    width: 100%;
    max-width: 100%;
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; 
    margin: 0 auto;
    margin-bottom: 25px;
}

.default_post_layout p a{
    font-family: "IBM Plex Sans Medium";
    font-weight: 500;
    color: #DA3400;
    text-decoration: underline;
}

.default_post_layout p a:hover{
    text-decoration: underline;
}

.default_post_layout li{
    width: 100%;
    max-width: 100%;
    color: var(--Primary-Colours-Slate-Gray-500, #323E48);
    font-family: "IBM Plex Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; 
    margin: 0 auto;
    margin-bottom: 10px;
}

.default_post_layout ul li::marker {
  color: #DA3400;
  font-size: 10px;
}

.default_post_layout ol li::marker  {
  color: #DA3400;
  font-size: 20px;
}

.default_post_layout p button{
    background: linear-gradient(94deg, #FF9461 17.37%, #FF7533 90.35%);
    color: var(--Base-Black, #000);
    font-family: "IBM Plex Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; 
    padding: 20px 32px;
    border: 0 none;
    border-radius: 30px;
}

.default_post_layout p button:hover{
    background: #000;
    color: #fff;
}

.default_post_layout p img {
    width: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    margin: 0 auto;
    display: block;
}

@media only screen and (max-width: 1200px) {

     .single-post .hero_section.default_layout {
        margin-top: 0;
    }

}

@media only screen and (max-width: 991px) {

    .single-post .default_post_layout .hero_section.text_on_the_left .hero_content {
        padding: 20px 0;
    }

    .single-post .default_post_layout .section_container {
        width: 100%;
        max-width: 100%;
        margin: 0px 0;
        margin-bottom: 25px;
    }

    .default_post_layout .hero_section h4 {
        margin-left: 0;
    }

    .default_post_layout h2,
    .default_post_layout h3,
    .default_post_layout h4,
    .default_post_layout h5,
    .default_post_layout h6{
        max-width: 90%;
        margin: 40px auto;
        margin-bottom: 20px;
    }

    .default_post_layout h2,
    .default_post_layout h3{
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .default_post_layout h4,
    .default_post_layout h5,
    .default_post_layout h6{
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .single-post .default_post_layout .post_excerpt p {
        margin-bottom: 25px;
    }

}

@media only screen and (max-width: 600px) {

    .default_post_layout p button {
        font-size: 16px;
        line-height: 24px;
        padding: 16px 16px;
        border-radius: 12px;
    }

}


/* Accessibility */
input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus {
  outline: 3px solid #005fcc; 
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.3); 
}

input[readonly]:focus {
  outline: 2px dashed #999;
  background-color: #f0f0f0;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
.mejs-container:focus {
  outline: 3px solid #005fcc !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.3) !important;
}


/* Skip to main content */
.skip-link {
  background: #000; color: #fff;
  font-family: "IBM Plex Sans";
  padding: 8px 16px; border-radius: 4px;
  text-decoration: none; z-index: 100;
  transition: top .2s ease;
  position: absolute;
  top: -40px; left: 0;
}

.skip-link:focus { top: 10px; }


.addtoany_list {
    display: flex !important;
    list-style-type: none;
}



.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link.screen-reader-text:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    z-index: 1000;
}



#chatbase-bubble-button{
    right: 80px !important;
}