.d0tealbox {background-color: #007F7F; margin: 1em 0; padding:20px; min-height:0px; border-radius: 20px; display:block;}
.d0beigebox {background-color: #f4ebde; margin: 1em 0; padding:20px; min-height:0px; border-radius: 20px; display:block;}

#r8_content h1 {font-weight: 700;}
#r8_content h2 {font-weight: 600;}
#r8_content h3 {font-weight: 600;}

.d0tealbox h2 {color: #fff !important;}
.d0tealbox h3 {color: #fff !important;}
.d0tealbox p {color: #fff !important;}

.ub {padding-top: 0px; padding-bottom: 0px;}

@media only screen and (min-width: 800px) {
.d0curveshape {clip-path: ellipse(130% 100% at 30% 0%);} 
.d0curveshape2 {clip-path: ellipse(130% 100% at 70% 0%);}}

@media only screen and (max-width: 799px) {
.d0curveshape {clip-path: ellipse(300% 100% at 30% 0%);} 
.d0curveshape2 {clip-path: ellipse(300% 100% at 70% 0%);} }

.clip-round-bottom-med {clip-path: ellipse(300% 100% at 50% 0);}}

.parallax-black {background: rgba(0, 0, 0, 0.3);}

#r8_content img {border-radius: 20px;}

@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;}

.d0parallaxoverlay01 {background-image: url(/shared/images/content/bus_58273/DofE-Expedition-Parallax-OverlayV3-01.png); 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;}
.d0parallaxoverlay02 {background-image: url(/shared/images/content/bus_58273/DofE-Expedition-Parallax-OverlayV3-02.png); 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;}
.d0parallaxoverlay03 {background-image: url(/shared/images/content/bus_58273/DofE-Expedition-Parallax-OverlayV3-03.png); 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;}
.d0parallaxoverlay04 {background-image: url(/shared/images/content/bus_58273/DofE-Expedition-Parallax-OverlayV3-04.png); 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;}

.d0compass {display: inline-block; width: 2em; height: 2em; vertical-align: middle;  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 100 100"><defs><style> .cls-1 { fill: %231c1565; } </style></defs><g><polygon class="cls-1" points="43.55 36.54 39.37 27.65 39.37 27.65 45.28 34.09 46.98 31.46 35.04 18.45 37.43 35.83 43.55 36.54"/><polygon class="cls-1" points="63.46 43.55 72.35 39.37 72.35 39.37 65.91 45.28 68.54 46.98 81.55 35.04 64.17 37.43 63.46 43.55"/><polygon class="cls-1" points="56.45 63.46 60.63 72.35 60.63 72.35 54.72 65.91 53.02 68.54 64.96 81.55 62.57 64.17 56.45 63.46"/><polygon class="cls-1" points="36.54 56.45 27.65 60.63 27.65 60.63 34.09 54.72 31.46 53.02 18.45 64.96 35.83 62.57 36.54 56.45"/></g><g><path class="cls-1" d="M66.65,16.09c15.81,7.75,24.2,25.59,20.09,42.71l2.01,1.3c4.87-18.64-4.35-38.25-21.82-46.39l-.28,2.37Z"/><path class="cls-1" d="M16.09,33.35c7.75-15.81,25.59-24.2,42.71-20.09l1.3-2.01c-18.64-4.87-38.25,4.35-46.39,21.82l2.37.28Z"/><path class="cls-1" d="M83.91,66.65c-7.75,15.81-25.59,24.2-42.71,20.09l-1.3,2.01c18.64,4.87,38.25-4.35,46.39-21.82l-2.37-.28Z"/><path class="cls-1" d="M33.35,83.91c-15.81-7.75-24.2-25.59-20.09-42.71l-2.01-1.3c-4.87,18.64,4.35,38.25,21.82,46.39l.28-2.37Z"/></g><g><path class="cls-1" d="M25.08,34.39c2.36-3.77,5.5-6.88,9.14-9.18l-.34-2.45c-4.58,2.7-8.5,6.56-11.27,11.34l2.47.29Z"/><path class="cls-1" d="M18.76,44.78c-.92,5.5-.34,11.03,1.5,16.07l1.81-1.66c-1.36-4.13-1.82-8.59-1.23-13.05l-2.08-1.35Z"/></g><g><path class="cls-1" d="M34.39,74.92c-3.75-2.35-6.84-5.47-9.15-9.08l-2.45.34c2.7,4.55,6.55,8.45,11.31,11.21l.29-2.47Z"/><path class="cls-1" d="M46.13,79.15l-1.35,2.09c5.43.91,10.87.36,15.86-1.42l-1.67-1.82c-4.07,1.31-8.45,1.74-12.83,1.16Z"/></g><g><path class="cls-1" d="M81.24,55.22c.91-5.45.36-10.92-1.45-15.92l-1.82,1.67c1.33,4.09,1.77,8.49,1.18,12.9l2.08,1.35Z"/><path class="cls-1" d="M74.92,65.61c-2.39,3.81-5.58,6.95-9.27,9.27l.34,2.44c4.63-2.71,8.6-6.59,11.4-11.42l-2.47-.29Z"/></g><g><path class="cls-1" d="M65.61,25.07c3.84,2.4,6.99,5.62,9.31,9.33l2.44-.34c-2.71-4.66-6.61-8.65-11.45-11.46l-.29,2.47Z"/><path class="cls-1" d="M53.87,20.85l1.35-2.08c-5.53-.93-11.07-.34-16.13,1.52l1.66,1.81c4.15-1.38,8.63-1.85,13.12-1.25Z"/></g><path class="cls-1" d="M61.59,44.55l4.59-39.45-21.62,33.31-39.45-4.59,33.31,21.62-4.59,39.45,21.62-33.31,39.45,4.59-33.31-21.62ZM40.59,53.9l-25.87-16.61,34.12,12.29-8.25,4.32ZM46.1,40.59l16.61-25.87-12.29,34.12-4.32-8.25ZM37.29,85.28l12.29-34.12,4.32,8.25-16.61,25.87ZM51.16,50.42l8.25-4.32,25.87,16.61-34.12-12.29Z"/></svg>'); background-size: contain; background-repeat: no-repeat; background-position: center;}

#contactUs .panel h3 {color: #fff !important;}

.sf-menu li ul li a:hover {background-color: #007F7F; color: #fff;}

.ub-white {background: #FFFCF9;}
