.d0whitebox {background-color: #FFF; margin-top: 1em; margin-bottom: 1em; padding:15px; min-height:0px; border-radius: 20px; display:block;}
.d0whiteshadowbox {background-color: #FFF; margin-top: 1em; margin-bottom: 1em; padding:15px; min-height:0px; border-radius: 20px; box-shadow: 10px 10px 20px #eee; display:block;}
.d0bluebox {background-color: #32679b; margin-top: 1em; margin-bottom: 1em; padding:15px; min-height:0px; border-radius: 20px; display:block;}
.d0greenbox {background-color: #55ab88; margin-top: 1em; margin-bottom: 1em; padding:15px; min-height:0px; border-radius: 20px; display:block;}
.d0navybox {background-color: #111133; margin-top: 1em; margin-bottom: 1em; padding:15px; min-height:0px; border-radius: 20px; display:block;}

.btn-green {color: #FFF; background-color: #55ab88;}
.btn-navy {color: #FFF; background-color: #111133;}

.d0lightgradiant {background: linear-gradient(180deg,rgba(50, 103, 155, 1) 0%, rgba(28, 85, 140, 1) 100%); color: #FFF;}
.d0darkgradiant {background: linear-gradient(180deg,rgba(28, 85, 140, 1) 0%, rgba(17, 17, 51, 1) 100%); color: #FFF;}

@media only screen and (min-width: 800px) {.d0splitbgright {background: linear-gradient(90deg,rgba(85, 171, 136, 1) 0%, rgba(85, 171, 136, 1) 50%, rgba(22, 50, 93, 0) 50%, rgba(17, 17, 51, 0) 100%);}}
@media only screen and (max-width: 799px) {.d0splitbgright {background: #55AB88;}}

@media only screen and (min-width: 800px) {.d0splitbgleft {background: linear-gradient(270deg,rgba(85, 171, 136, 1) 0%, rgba(85, 171, 136, 1) 50%, rgba(22, 50, 93, 0) 50%, rgba(17, 17, 51, 0) 100%);}}
@media only screen and (max-width: 799px) {.d0splitbgleft {background: #55AB88;}}

@media only screen and (min-width: 800px) {.d0splitbluebgleft {clip-path: polygon(50% 0, 100% 0%, 100% 100%, 50% 100%); background: linear-gradient(180deg,rgba(50, 103, 155, 1) 0%, rgba(28, 85, 140, 1) 100%); color: #FFF;}}
@media only screen and (max-width: 799px) {.d0splitbluebgleft {background: linear-gradient(180deg,rgba(50, 103, 155, 1) 0%, rgba(28, 85, 140, 1) 100%); color: #FFF;}}

@media only screen and (min-width: 800px) {.d0splitbluebgright {clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); background: linear-gradient(180deg,rgba(50, 103, 155, 1) 0%, rgba(28, 85, 140, 1) 100%); color: #FFF;}}
@media only screen and (max-width: 799px) {.d0splitbluebgright {background: linear-gradient(180deg,rgba(50, 103, 155, 1) 0%, rgba(28, 85, 140, 1) 100%); color: #FFF;}}

@media only screen and (min-width: 800px) {.d0homebannersize {display: flex; align-items: flex-start; flex-direction: column; justify-content: center; min-height: 580px;}}
@media only screen and (max-width: 799px) {.d0homebannersize {display: flex; align-items: flex-start; flex-direction: column; justify-content: center; min-height: 480px;}}

@media only screen and (min-width: 800px) {.d0topbannersize {display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 580px;}}
@media only screen and (max-width: 799px) {.d0topbannersize {display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 480px;}}

@media only screen and (min-width: 800px) {.d0headerbannersize {display: flex; align-items: flex-start; flex-direction: column; justify-content: center; min-height: 580px;}}
@media only screen and (max-width: 799px) {.d0headerbannersize {display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 480px;}}

@media only screen and (min-width: 800px) {.d0footerbannersize {display: flex; align-items: flex-start; flex-direction: column; justify-content: center; min-height: 510px;}}

@media only screen and (min-width: 800px) {.d0h1textsize {font-family: "Gabarito", sans-serif; font-size: 55px; line-height: 61px; font-weight: 500;}}
@media only screen and (max-width: 799px) {.d0h1textsize {font-family: "Gabarito", sans-serif; font-size: 30px; line-height: 30px; font-weight: 500;}}
@media only screen and (min-width: 800px) {.d0h2textsize {font-family: "Gabarito", sans-serif; font-size: 36px; line-height: 40px; font-weight: 500;}}
@media only screen and (max-width: 799px) {.d0h2textsize {font-family: "Gabarito", sans-serif; font-size: 20px; line-height: 20px; font-weight: 500;}}
@media only screen and (min-width: 800px) {.d0h3textsize {font-family: "Gabarito", sans-serif; font-size: 24px; line-height: 40px; font-weight: 500;}}
@media only screen and (max-width: 799px) {.d0h3textsize {font-family: "Gabarito", sans-serif; font-size: 20px; line-height: 20px; font-weight: 500;}}

@media only screen and (min-width: 800px) {.d0roundbottom {clip-path: ellipse(130% 100% at 50% 0);}}
@media only screen and (max-width: 799px) {.d0roundbottom {clip-path: ellipse(170% 100% at 50% 0); margin-bottom: 70px;}}

@media only screen and (min-width: 800px) {.d0roundtop {clip-path: ellipse(130% 100% at 50% 100%);}}
@media only screen and (max-width: 799px) {.d0roundtop {clip-path: ellipse(170% 100% at 50% 100%); margin-top: 70px;}}

.r8_form {
    color: #111133;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    border: 1px solid white;
    border-radius: 4px;
    padding: 10px;
    display: table;
}
@media only screen and (min-width: 800px) {.form-control {border-radius: 50px; border: 1px solid #32679b;}
.r8_form_title {
    text-align: left;
    font-size: 1.5em;
    padding-bottom: 0;
    font-family: Gabarito, sans-serif;
    padding-bottom: 10px;}}
@media only screen and (max-width: 799px) {.form-control {border-radius: 50px;}
.r8_form_title {text-align: center;}}

#r8_content .ui-state-active {background: #32679b; border: 1px solid rgba(0,0,0,0); border-radius: 1.5rem;}
.ub-palette-light h4 {color: #fff;}
.ui-accordion-content {border-radius: 1.5rem;}
.ui-state-default {background: #32679b !important; border: 1px solid rgba(0,0,0,0) !important; border-radius: 1.5rem !important;}

#r8_content h1 {font-family: Gabarito, sans-serif; }
#r8_content h2 {font-family: Gabarito, sans-serif; }
#r8_content h3 {font-family: Gabarito, sans-serif; }
#r8_content h4 {font-family: Gabarito, sans-serif; }

#r8_content img {border-radius: 20px;}

.sf-menu li ul li a:hover {color:#FE601B;}

@media (max-width: 991px) {
    #header div.menu_container {
        background-color: rgba(50, 103, 155, 1);
        border-bottom: none;
        box-shadow: none;
    }
}

@media (max-width: 991px) {
    #header a.mobile-menu-right, #header a.mobile-menu {
        background-color: #FE601B;
        color: #FFF;
        border-color: #FE601B;
    }
}

@media (max-width: 991px) {
    #header a.mobile-menu-right {display: none;}}

/*CHANGE MOBILE MENU BACKGROUND AND TEXT*/

@media (max-width: 991px) {
    .mm-ismenu, .mm-ismenu.mm-light {
        background-color: #111133;
        color: #fe601b;
    }}
/*CHANGE DIVIDERS BETWEEN MOBILE MENU ITEMS*/

@media (max-width: 991px) {
    .mm-menu.mm-light .mm-list>li:after, .mm-menu .mm-list>li:after, .mm-menu.mm-light .mm-header, .mm-menu.mm-light .mm-header {
        border-color: #111133;
 }}

/*CHANGE MOBILE DROPDOWN ARROW COLOUR*/

@media (max-width: 991px) {
    .mm-menu .mm-list>li>a.mm-subopen:after, .mm-menu .mm-list>li>a.mm-subclose:before, .mm-menu.mm-light .mm-list>li>a.mm-subopen:after, .mm-menu.mm-light .mm-list>li>a.mm-subclose:before, .mm-menu.mm-light .mm-header a:before {
        border-color: #fe601b;
}}

#r8_navbar .navbar hr {display: none;}

@media only screen and (min-width: 800px) {
/* Navbar styling */
#r8_navbar .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 8px 0; /* Adjust padding as needed */
  min-height: 250px; /* Optional: Set a minimum height */
  height: auto; /* Allow it to grow with content */
  overflow: visible; /* Prevent cropping */
  position: relative;
}

/* Logo image styling */
#r8_logo img {
  max-height: 180px; /* Adjust to your preferred size */
  height: auto;
  width: auto;
  display: block;
}
#r8_navbar .row {margin-top: 40px;}}
.d0scrolling-text-container {
    overflow: hidden;
    width: 100%;
    background-color: transparent;
    position: relative;
}

.d0scrolling-text-inner {
    display: flex;
    width: max-content;
    animation: scroll-left 25s linear infinite;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
}

.d0scrolling-text {
    display: flex;
}

.d0scrolling-text-item {
    padding: 0 30px;
}

/* Responsive font adjustment for mobile */
@media (max-width: 600px) {
    .d0scrolling-text-inner {
        font-size: 14px;
        padding: 6px 0;
    }

    .d0scrolling-text-item {
        padding: 0 20px;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.d0scrolling-text-container2 {
    overflow: hidden;
    width: 100%;
    background-color: transparent;
    position: relative;
}

.d0scrolling-text-inner2 {
    display: flex;
    width: max-content;
    animation: scroll-left 45s linear infinite;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
}

.d0scrolling-text2 {
    display: flex;
}

.d0scrolling-text-item2 {
    padding: 0 30px;
}

/* Responsive font adjustment for mobile */
@media (max-width: 600px) {
    .d0scrolling-text-inner2 {
        font-size: 14px;
        padding: 6px 0;
    }

    .d0scrolling-text-item2 {
        padding: 0 20px;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
