@import url('https://fonts.googleapis.com/css2?family=Courgette&display=swap');

h1 {
    font-size:2rem;
    text-transform:uppercase;
}
h2 {
    color:#005c2e;
}

.top-bar-left .submenu a {
    color:#fff !important;
}

.top-bar ul a {
    font-weight:unset !important;
}

.learning-item {
    text-align:center;
}

.tribe-events-calendar tbody tr:first-child {
    background-color:#f9f9f9;
}

.twitter  {
    background-image: url(../img/girl_opac.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 20%;
    box-shadow:0 0 0px;
}

.page-wrapper {
    background-image: url('../img/durham-lane-news-background-cross.svg'),url('../img/durham-lane-sub-page-background.svg');
    background-size: 40%;
}


.accreds-slider .slick-slide img {
    max-width: 66%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.accreds-slider .slick-slide {
    padding: 0 1rem;
    position: relative;
    min-height: 200px;
}
a {
    color:#005c2e;
}

.logo-bar {
    background-color:#005c2e;
}

.top-bar {
    background-color:#005c2e;
}
.top-bar ul {
    background-color:#005c2e;
}
.top-bar ul a {
    color:#fff;
    font-weight:bold;
    text-transform:uppercase;
}

.dropdown.menu>li.is-dropdown-submenu-parent>a::after {
    border-color:#0b9444 transparent transparent; 
}
.submenu {
    background-color: #0b9444 !important;
    border-bottom: 6px solid #ddb108;
    padding: 2rem 1rem;
}
.submenu a {
    text-align: left;
    border-bottom: 1px solid black;
    padding-left: 0px !important;
    font-size: 0.9rem;
    text-transform:capitalize !important;
}
.submenu a:hover {
    color:#ddb108;
}

.menu .active > a {
    color:#ddb108;
}

.intro-area {
    padding-top:2rem;
}

.intro-area h1 {
    color:#005c2e;
}

.home-header .text-area .home-logo {
    max-width:300px;
    margin-bottom:2rem;
}

.home-header .text-area h3 {
    font-family: 'Courgette', cursive;
    color:#fff;
    margin-bottom:2rem;
}
.home-header .link-logo {
    max-height: 34px;
    margin-top: -14px;
    margin-bottom: -10px;
    margin-left: 15px;
}
.home-header .button {
    font-size:1.2rem;
}
.home-header .grid-x {
    margin-bottom:3rem;
}
.yellow {
    background-color:#ddb108;
}
.dgreen {
    background-color: #005c2e;
}
.footer h5 {
    color:#fff;
    font-weight:bold;
}

.card-section.yellow.latest-news {
    background-image:url('../img/news-section-background.png');
    background-position: center;
    background-size: 60%;
    background-repeat: no-repeat;
}
.yellow.latest-news .button {
    margin-bottom: 0px;
}
.card-section.dgreen .button {
    margin-bottom: 0px;
}
.button {
    background-color:#ddb108;
    border-radius:10px;
}
.button:hover {
    background-color:#b08d06;
}
.button.bone {
    background-color:#005c2e;
}
.button.bone:hover{
    background-color:#004924;
}

.button.bthree {
    background-color:#0b9444;
}
.button.bthree:hover {
    background-color:#087636;
}


.tringle-holder {
    position:relative;
}
.tringle-holder .grid-container {
    z-index: 10;
    position: relative;
    margin-top:2rem;
}
.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 100px 0 0 100vw;
    border-color: transparent transparent transparent #005c2e;
    position:absolute;
    bottom:0; 
    left:0;
}

.footer {
    background-color:#005c2e;
}
.footer-bottom {
    background-color:#0b9444;
}
.orange {
    background-color: #0b9444; 
    background-image:url('../img/calendar-background.png');
    background-position:bottom right;
    background-repeat:no-repeat;
    background-size:48%;
    border-radius:16px;
}
.box-area-two {
    background-image:none;
}
.box-area-two .card-section.orange h3 {
    background-color: #0b843c;
    display: inline-block;
    padding:0.5rem 0.8rem;
    border-radius:10px;
}
.box-area-two .card {
    border-radius:16px;
}
.event .date {
    display: block;
    width: 38%;
    margin: 0 auto;
    text-align: center;
    background-color: #0b843c;
    border-radius: 10px;
    border: 2px solid white;
    font-size: 1.4rem !important;
    line-height: 1.8rem;
    padding: 10px;
    position: relative;
    z-index:10;
}
.event .text-holder {
    background-color:#0eaa51;
    border:2px solid white;
    border-radius:10px;
    padding: 2rem 1rem;
    margin-top: -1rem;
    margin-bottom: -1rem;
}
.event .button {
    border:2px solid white;
}

.box-area-two .card .card-section.orange .text-holder p {
    font-size:100%;
    text-transform:none;
}

#cff.cff-masonry .cff-item {
    border:2px solid #005c2e;
}
#cff.cff-masonry .cff-item:first-child {
    border:2px solid #005c2e;
}


.box-area-three {
    background-image:url('../img/child-care-provision-background.jpg');
    background-position: center;
    background-size: cover;
    padding-bottom:0px;
}
.box-area-three p {
    color:#fff !important;
}
.box-area-three .big-button {
    font-size:2rem;
    padding:2rem;
    background-image: url(../img/admissions-back.png);
    background-position: bottom right;
    background-size: 62%;
    background-repeat: no-repeat;
}
.box-area-three h2 {
    padding-bottom:0px;
}
.disp-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-area-four h2 {
    padding-left:1rem;
}
.box-area-four {
    padding-top:2rem;
    background-image:url('../img/durham-lane-news-background-cross.svg');
    background-position:top left;
    background-repeat:no-repeat;
    background-size:50%;
}

.menu.dropdown .email, .menu.dropdown .telephone {
    background-image:url('../img/contact-icon-sprite.png');
    background-repeat:no-repeat;
    background-size: auto 100%;
}
.menu.dropdown .email a, .menu.dropdown .telephone a {
    height:100%;
    opacity:0;
}

.menu.dropdown .telephone {
    background-position: -50px 0;
}

.title-bar {
    background-color:#005c2e;
    padding-top:5px;
    padding-bottom:5px;
}

.menu.accordion-menu .email, .menu.accordion-menu .telephone {
    background-image:url('../img/contact-icon-email.png');
    background-repeat:no-repeat;
    background-size: auto 100%;
    background-position:center;
}
.menu.accordion-menu .telephone {
    background-image:url('../img/contact-icon-phone.png');
}
.menu.accordion-menu .email a, .menu.accordion-menu .telephone a {
    height:100%;
    opacity:0;
}


@media only screen and (max-width: 450px) {
    .home-header .grid-x {
        margin-bottom:0px;
    }
    .home-header .text-area .home-logo {
        width: 150px;
        margin-bottom: 1rem;
    }
}

