.d0bluebox {background-color: #1B1C4B; margin: 1em 0; padding:20px; min-height:0px; display:block;}
.d0whitebox {background-color: #FFF; margin: 1em 0; padding:20px; min-height:0px; display:block;}
.d0blacktransbox {background-color: rgba(0,0,0,0.6); margin: 1em 0; padding:20px; min-height:0px; display:block;}

@media only screen and (min-width: 992px) {
    .d0insetright {
        background: #1B1C4B; 
        width: 100vw; 
        padding: 2em 0 2em 2em;
    }
    
    .d0insetleft {
        background: #1B1C4B; 
        width: 100vw; 
        padding: 2em 2em 2em 0;
        margin-left: calc(-100vw + 100%);
        margin-right: calc(-50vw + 50%);
    }
    
    .d0insetrightinner {
        background-color: #1B1C4B; 
        min-height: 0px; 
        width: 40vw;
        display: block;
    }
    
    .d0insetleftinner {
        background-color: #1B1C4B; 
        min-height: 0px; 
        width: 40vw;
        display: block; 
        margin-left: auto; 
        margin-right: 2em;
    }
}

@media only screen and (max-width: 991px) {
    .d0insetright {
        background: transparent; /* No background on outer container */
        width: auto; /* Reset width */
        border: none; /* No border */
        padding: 0; /* No padding */
        margin: 0; /* No margin */
    }
    
    .d0insetleft {
        background: transparent; /* No background on outer container */
        width: auto; /* Reset width */
        border: none; /* No border */
        padding: 0; /* No padding */
        margin: 0; /* No margin */
    }
    
    .d0insetrightinner {
        background-color: #1B1C4B; 
        min-height: 0px;  
        padding: 20px; 
        width: 75vw; 
        border: none
        display: block;
        margin: 0 auto; /* Center the box */
    }
    
    .d0insetleftinner {
        background-color: #1B1C4B; 
        min-height: 0px;  
        padding: 20px; 
        width: 75vw; 
        border: none;
        display: block;
        margin: 0 auto; /* Center the box */
    }
}

@media only screen and (min-width: 800px) and (max-width: 991px) {
.d0insetright, .d0insetleft {
        background: #1B1C4B !important;
        padding: 20px;
        border-radius: 0px;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
    }

    .d0insetrightinner, .d0insetleftinner {
        margin: 0 auto !important;
        width: 90%;
        max-width: 600px;
    }
}

.r8_gallery.galleryStyle-1 .gallery-gradBox {background: rgba(0, 0, 0, 0.6);}

@media only screen and (min-width: 800px) {.d0fivecolumnwrapper {display: flex; overflow: hidden; width: 100%;}} @media only screen and (max-width: 799px) {.d0fivecolumnwrapper {display: flex; flex-direction: column; overflow: hidden; width: 100%;}} .d0fivecolumn {flex: 1 1 20%; box-sizing: border-box; padding: 0 5px;}

#r8_content h3, #r8_content h4 {font-family: "DM Sans", sans-serif;} 

.d0overlaydeep {
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1780 1306"><defs><style> .cls-1 { fill: %23ec2028; } .cls-2 { opacity: .6; } </style></defs><g class="cls-2"><path class="cls-1" d="M309.52,567.91c16.39-29.06,30.48-61.19,20.33-95.04-8.94-29.83-36.79-50.09-59.44-69.36l-14.55-14.95c4.19,16.98,17.33,30.29,25.43,45.47,11.21,21.01,12.28,41.01,7.16,64.14-1.07,4.84-3.62,10.22-4.15,15.02-1.13,10.38,4.1,19.78,8.72,28.68,1.09,2.1,15.22,26.92,16.49,26.04ZM274.26,917.44c-2.68-37.52,9.57-71.64,26.44-104.26,24.1-46.61,58.75-85.56,40.5-141.62-22.66-69.58-95.81-124.51-81.28-204.21,1.06-5.79,3.13-11.23,4.59-16.87.2-.79,1.17-2.4.17-2.89-29.74,36.79-49.97,78.26-47.2,126.88,2.23,39.17,22.58,74.18,12.55,115.19-9.75,39.85-42.48,29.36-47.71-6.47-2.6-17.82,2.26-38.25,8.53-54.92,1.54-4.09,4.76-8.6,4.81-12.82-49.66,44.55-73.75,112.51-60.21,178.59-56.92-76.55-42.02-185.74,30.67-246.44,7.28-6.08,15.24-10.34,22.52-15.82.71-.53,2.41-1.55.13-1.41-81.74,42.99-125.54,133.98-106.47,225.2,18.9,90.41,99.3,158.8,191.97,161.88ZM369.36,595.51c-4.32,7.28-9.5,13.91-11.9,22.22-7.2,24.89,8.63,52.96,10.35,78.58,5.46,81.28-65.48,129.51-68.28,209.22-.08,2.26-.67,10.39,1.29,11.04,3.75,1.24,25.93-3.46,31.11-4.71,138.1-33.46,200.83-196.69,120.41-314.6-18.76-27.51-45.36-51.53-75.32-66.13,21.46,14.08,40.32,30.74,55.07,51.87,42.94,61.5,44.19,143.45,2.3,205.9-2.38,3.55-5.17,7.57-8.28,10.49,10.09-39.91-4.01-74.25-21.85-108.86-17.84-34.61-32.02-51.99-34.14-93.13-.04-.86.5-2.1-.76-1.9Z"/><path class="cls-1" d="M274.26,917.44c-92.67-3.08-173.07-71.47-191.97-161.88-19.07-91.22,24.73-182.21,106.47-225.2,2.28-.14.58.87-.13,1.41-7.28,5.47-15.24,9.74-22.52,15.82-72.69,60.71-87.59,169.89-30.67,246.44-13.54-66.08,10.56-134.04,60.21-178.59-.04,4.22-3.27,8.74-4.81,12.82-6.27,16.67-11.13,37.1-8.53,54.92,5.23,35.83,37.96,46.32,47.71,6.47,10.03-41.01-10.32-76.02-12.55-115.19-2.77-48.62,17.46-90.09,47.2-126.88,1,.49.03,2.1-.17,2.89-1.46,5.64-3.54,11.09-4.59,16.87-14.53,79.71,58.62,134.63,81.28,204.21,18.26,56.06-16.39,95.01-40.5,141.62-16.87,32.62-29.12,66.75-26.44,104.26Z"/><path class="cls-1" d="M369.36,595.51c1.26-.21.71,1.03.76,1.9,2.12,41.13,16.31,58.52,34.14,93.13,17.83,34.61,31.94,68.95,21.85,108.86,3.12-2.92,5.9-6.95,8.28-10.49,41.89-62.45,40.64-144.4-2.3-205.9-14.75-21.13-33.61-37.79-55.07-51.87,29.96,14.6,56.56,38.62,75.32,66.13,80.42,117.9,17.7,281.13-120.41,314.6-5.18,1.26-27.36,5.95-31.11,4.71-1.96-.65-1.37-8.78-1.29-11.04,2.8-79.7,73.74-127.93,68.28-209.22-1.72-25.62-17.55-53.69-10.35-78.58,2.4-8.3,7.58-14.93,11.9-22.22Z"/><path class="cls-1" d="M309.52,567.91c-1.27.88-15.4-23.94-16.49-26.04-4.63-8.9-9.86-18.3-8.72-28.68.52-4.8,3.08-10.18,4.15-15.02,5.12-23.13,4.05-43.14-7.16-64.14-8.1-15.18-21.24-28.49-25.43-45.47l14.55,14.95c22.65,19.27,50.5,39.53,59.44,69.36,10.15,33.86-3.94,65.98-20.33,95.04Z"/></g></svg>');
    background-attachment: scroll;
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.sf-menu>li ul {background: #1b1c4b; color: #fff; width: 350px;}
.sf-menu li ul li a {color: #fff;}
.sf-menu li ul li a:hover {color: #fff;}

.ub-compliment li:before {color: #ec2028 !important;}
.d0blacktransbox li:before {color: #fff !important;}

#header div.menu_container {background-color: #1b1c4b; border-bottom: none; box-shadow: none;}

#header a.mobile-menu {background-color: #ec2028; color: #FFF; border-color: #ec2028; border-radius: 0px;}
#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: #1b1c4b; color: #fff;}}

/*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: #1b1c4b;}}

/*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: #ec2028;}}

.mm-menu.mm-vertical .mm-list li.mm-opened>ul {background-color: rgba(236, 32, 40, 0.0);}

.mm-menu.mm-vertical .mm-list li.mm-opened>a.mm-subopen, .mm-menu.mm-vertical .mm-list li.mm-opened>ul {background-color: rgba(236, 32, 40, 0);}

@media (max-width : 799px) {#body h1, #body h2, #body h3, #body h4, #body p {text-align: center;}}

@media only screen and (max-width: 799px) {.btn {display: block !important; white-space: normal !important;}}

/* Remove focus outline for mouse users only */
:focus:not(:focus-visible) {
  outline: none;
}
