@font-face {
    font-family: "Lovelo-Black";
    src: url("../fonts/Lovelo-Black.ttf")
}

:root {
    --highlight-color: #5bbfae;
}

html {
    max-width: 100vw;
    overflow-x: hidden
}

body {
    position: relative;
    max-width: 100%
}

body:before {
    content: '';
    background-image: url(../images/slider-overlay-footer.png);
    background-repeat: no-repeat;
    height: 500px;
    width: calc(100vw - 75%);
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    background-size: cover;
    opacity: .3;
}

body * {
    -webkit-transition: all 0.3s ease-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
    transition: all 0.3s ease-out;  /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+  */
}

body h1,
body h5 {
    font-family: "Lovelo-Black";
    color: #1b4049;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: 500;
    display: block;
    width: 100%
}

body h2 {
    font-family: "Lovelo-Black";
    color: #1b4049;
    text-transform: uppercase;
    margin: 0;
    padding: 40px 0 0 0;
    font-weight: 500;
    font-size: 60px;
    display: block;
    width: 100%
}

body h3 {
	color: #014751;
	font-family: "Merriweather", serif;
	font-size: 23px;
	line-height: 1.5;
	margin: 20px 0 10px 0;
	padding: 0;	
	}

body h4 {
	color: #014751;
	font-size: 18px;
	line-height: 1.5;
    font-family: 'Roboto', sans-serif;
	font-weight: bold;
	margin: 10px 0 0 0;
	padding: 0;
	width: 100%;
	}

body p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5;
    color: #000;
    margin: 0 0 10px 0;
    padding: 0;
}

body p a {
	text-decoration: underline !important;
	}

body blockquote {
	display: block !important;
	width: 100%;
	margin: 0 0 10px 0!important;
	}

body blockquote p {
	color: #00918a;
	font-family: "Merriweather", serif;
	font-size: 24px;
	line-height: 1.5;
	font-style:italic;
	margin: 0;
	padding: 0;
	}

body .italic {
    font-style: italic
}

body .bold {
    font-weight: bold
}

body .wp-block-columns {
    width: 100%
}
/* Custom */
header nav.desktop ul.top-menu li a span,
section.content ul.secondary-menu li a span {
    font-size: 11px;
    display: block;
}

header nav.desktop ul.top-menu li a:hover, 
header nav.desktop ul.top-menu li.bold a:hover,
section.content ul.secondary-menu li a:hover {
    text-decoration: none;
    color: var(--highlight-color);
}

header nav.desktop ul.top-menu li a:hover span,
section.content ul.secondary-menu li a:hover span {
    padding-left: 5px;
}

section.content ul#menu-secondary-menu > li {
    padding-left: 15px;
    border-bottom: 1px solid #e5edee;
}

.sub-menu {
	padding: 0;
	}

.template-moyola h1 {
    font-size: 3rem;
}

/* side-main-menu */
#menu-main-menu {
    list-style: none;
	padding-right: 8px;
}

#menu-main-menu ul {
	list-style: none;
	}

#menu-main-menu li {
	padding-top: 4px;
	padding-bottom: 8px;
	border-bottom: 1px solid #33727a;
}

#menu-main-menu ul li {
	padding-left: 10px;
	padding-bottom: 0;
	border-bottom: none;
}

#menu-main-menu a {
	color: #fff;
	font-weight: bold;
}

#menu-main-menu ul a {
	font-weight: normal;
	}

section.content ul#menu-secondary-menu a {
    color: #004f59;
}

header nav.mobile.active ul {
	list-style: none;
}

header nav.mobile.active ul.children {
	padding-left: 15px;
}

/* Footer Custom */
.footer-info p {
    width: auto;
    display: inline-block;
    padding: 0 10px;
    margin: 0;
    position: relative;
}

.footer-info p:first-child {
    padding-left: 0;
}

/* .footer-info p:after {
    content: '';
    height: 15px;
    display: block;
    width: 1px;
    background: #b3b4b5;
    border-right: 1px white;
    position: absolute;
    right: -2px;
    top: 2px;
} */

.footer-info p:last-child:after {
    display: none;
}

.footer-info p a, 
footer .row .footer-info .footer-links.privacy, 
footer .footer-info .footer-links {
    border: none;
    padding: 0;
}

.footer-info p a:hover, 
footer .row .footer-info .footer-links.privacy:hover, 
footer .footer-info .footer-links:hover  {
    }

/* Nav Custom */
section.content a.social {
    font-size: 14px;
    position: relative;
    margin-left: 25px;
	margin-top: 24px;
}

section.content a.social i {
    font-size: 18px;
    margin: 5px 0;
    position: absolute;
    left: -25px;
    top: -3px;
}

section.content a.social:hover {
    color:#00918a;
}
@media (min-width: 276px) {
    header {
        background-color: #1b4049;
        padding: 0;
        padding-top: 20px;
        margin-bottom: 20px
    }
    header img.desktop-logo {
        display: none
    }
    header .slider {
        margin-top: 20px;
        max-width: 100%;
        max-height: 285px;
        padding: 0
    }
    header .slider img {
        max-width: 100%
    }
    header .slider .swiper-slide img.slide {
        border-radius: 0 30em 0 0;
    }
    header .slider img.slide-overlay {
        width: 160px;
        height: 160px;
        position: absolute;
        right: 0;
        bottom: 0;
        display: block
    }
    header .slider p {
        display: none
    }
    header ul.menu {
        margin: 0;
        padding: 0;
        margin-top: 45px;
        list-style-type: none
    }
    header ul.menu li {
        list-style-type: none
    }
    header ul.menu li a:link,
    header ul.menu li a:visited {
        color: #1b4049;
        display: block
    }
    header ul.menu li a:hover {
        text-decoration: none;
        color: #00918a
    }
    header ul.menu li.bold {
        border-bottom: 1px solid #33727a
    }
    header ul.menu li.bold a {
        font-weight: bold;
        padding: 5px 0;
        color: #fff
    }
    header ul.menu li.bold:last-child {
        margin-bottom: 10px
    }
    header ul.secondary-menu {
        list-style-type: none
    }
    header nav.desktop {
        display: none
    }
    header nav.mobile {
        display: none;
        position: absolute;
        left: 0;
        top: 50px;
        width: 100%;
        height: 100%;
        z-index: 9000
    }
    header nav.mobile.active {
        display: block
    }
    header nav.mobile.active ul {
        background-color: #fff;
        margin: 0;
        padding: 0
    }
    header nav.mobile.active ul li.bold {
        list-style-type: none
    }
    header nav.mobile.active ul li.bold a {
		font-weight: bold;
        padding: 11px 0;
        color: #1b4049;
        padding-left: 40px
    }
    header nav.mobile.active ul li {
/*        border-bottom: 1px solid #e5eced */
    }
    header nav.mobile.active ul li a {
        padding: 6px 0;
        padding-left: 40px;
        display: block;
        color: #1b4049
    }
    header nav.mobile.active ul li a:hover {
        color: #00918a
    }
    header nav.mobile.active:after {
        content: "";
        display: block;
        width: 100%;
        height: 5px;
        background: linear-gradient(180deg, #ccc 0%, rgba(255, 255, 255, 0) 100%)
    }
    header #menu-btn {
        float: right;
        margin-right: 0px;
        margin-top: 5px;
        position: relative;
        z-index: 9000;
        height: 28px;
        width: 28px;
        background-color: #fff;
        border-radius: 13px
    }
    header #menu-btn .hamburger-container {
        font-size: 20px;
        vertical-align: middle;
        padding-top: 8px;
        padding-left: 8px
    }
    header #menu-btn .hamburger-container .bar1,
    header #menu-btn .hamburger-container .bar3 {
        transition: transform 0.5s ease-in-out
    }
    header #menu-btn .hamburger-container .bar2 {
        transition: opacity .3s ease-in-out
    }
    header #menu-btn .hamburger-container span {
        background-color: #1b4049;
        width: 12px;
        height: 2px;
        display: block;
        margin-bottom: 3px;
        box-shadow: 0 0 3px #999;
        text-align: center;
        transition: background-color 0.3s ease-in-out
    }
    header #menu-btn.active {
        top: 0px
    }
    header #menu-btn.active .hamburger-container .bar1 {
        -webkit-transform: rotate(-45deg) translate(-4px, 3px);
        transform: rotate(-45deg) translate(-4px, 3px)
    }
    header #menu-btn.active .hamburger-container .bar2 {
        opacity: 0
    }
    header #menu-btn.active .hamburger-container .bar3 {
        -webkit-transform: rotate(45deg) translate(-4px, -3px);
        transform: rotate(45deg) translate(-4px, -3px)
    }
    header #menu-btn.active .hamburger-container span {
        background-color: #1b4049
    }
    section.content img {
        border-bottom-right-radius: 20px;
        width: 100%
    }
    section.content .separator {
        height: 1px;
        width: 100%;
        background-color: #bfd1d3;
        margin-top: 30px;
        margin-bottom: 30px
    }
    
    section.content ul {
    	margin: 0 0 0 15px;
    	padding: 0;
    	}
    
    section.content ul li {
        list-style-type: none;
        position: relative;
    }
    section.content ul li:before {
        content: "\2022";
        font-size: 16px;
        color: #82c341;
        font-weight: bold;
        display: inline-block;
        width: 10px;
        margin-left: -15px;
        position: absolute;
        top: 0px;
    
    }
    
    section.content .wpforms-field-container ul li:before {
    	display:none !important;
    }
        
    section.content a:link,
    section.content a:visited {
        color: #41a0cf;
        text-decoration: underline
    }
    section.content a.social {
        display: none;
    }
    section.content div.wpforms-container-full form input[type=text],
    section.content div.wpforms-container-full form input[type=email],
    section.content div.wpforms-container-full form textarea {
    /*   background: #fff7e9;
        border: 1px solid #ffda96;
        border-bottom-right-radius: 20px;
        padding: 3px */
    }
    section.content div.wpforms-container-full form input[type=text],
    section.content div.wpforms-container-full form input[type=email] {
    /*    height: 45px */
    }
    
    section.content div.wpforms-container-full form button[type=submit] {
        background: #82c341;
        background: linear-gradient(0deg, #82c341 0%, #a0d251 100%);
        color: #fff;
        border-bottom-right-radius: 20px;
        padding: 15px 35px;
        font-family: 'Roboto', sans-serif;
        font-size: 21px;
        font-weight: 500;
        transition: a 0.4s ease-in-out
    }
    section.content div.wpforms-container-full form button[type=submit]:hover {
        background: #82c341
    }
    section.content .location h3 {
        color: #82c341
    }
    section.content .testimonials {
        padding: 20px 15px
    }
    section.content .testimonials blockquote {
        color: #00918a;
        font-family: "Merriweather", serif;
        font-style: italic;
        font-weight: 300;
        font-size: 24px;
        display: flex
    }
    section.content .testimonials p {
        color: #b3b4b5;
        font-size: 18px;
        width: 100%
    }
    section.content .testimonials p span.name {
        color: #000;
        font-weight: bold
    }
    section.content .testimonials img.testimonial-image {
        border-bottom-left-radius: 20px;
        display: inline-block;
        vertical-align: top
    }
    section.content ul#menu-secondary-menu {
        display: none
    }
    section.content .admissions {
        margin: 20px 0
    }
    section.content .admissions p.text {
        margin-bottom: 20px
    }
    section.content .admissions h4 {
        text-transform: none;
        color: #000;
        font-family: 'Roboto', sans-serif;
        font-weight: bold
    }
    section.content .admissions img.admissions_officer {
        border-radius: 50%;
        margin: 0 20px 40px 0;
        width: 150px;
	}
    section.template-moyola .acf-map {
        width: 100%;
        height: 400px;
        border: 1px solid #ccc;
        margin: 20px 0
    }
    section.template-moyola .acf-map img {
        max-width: inherit !important
    }
    section.template-moyola .row .admissions h5 {
        color: #82c341
    }
    section.template-moyola .row p.tagline {
        color: #82c341;
        margin-bottom: 20px
    }
    section.template-moyola .row blockquote p {
        color: #014751;
        font-family: 'Merriweather', serif;
        font-size: 24px
    }
    section.template-moyola .row .fees {
        margin-top: 20px
    }
    section.template-moyola .row.testimonials img {
        max-width: 100%;
        height: auto
    }
    section.front-page .row div.quote {
        margin-bottom: 20px
    }
    section.front-page .row div.quote strong {
        font-weight: 700;
    }
    section.front-page .row div.quote p {
        padding: 0;
        font-size: 35px;
        font-family: 'Merriweather', serif;
        color: #1b4049;
        line-height: 48px;
        font-weight: 300;
    }
    section.front-page .row .moyola_lodge p.tagline,
    section.front-page .row .moyola_gardens p.tagline {
        font-family: 'Merriweather', serif;
        font-style: italic;
        font-size: 45px;
        color: #00918a
    }
    section.front-page .row .moyola_lodge img,
    section.front-page .row .moyola_gardens img {
        max-width: 100%
    }
    section.front-page .row .moyola_lodge a:link,
    section.front-page .row .moyola_lodge a:visited,
    section.front-page .row .moyola_gardens a:link,
    section.front-page .row .moyola_gardens a:visited {
        color: #fff;
        display: block;
        font-size: 16px;
        padding: 10px;
        border-bottom-right-radius: 20px;
        text-transform: uppercase
    }
    section.front-page .row .moyola_lodge .icon,
    section.front-page .row .moyola_gardens .icon {
        display: inline-block;
        border-radius: 50%;
        position: absolute;
        right: 25px
    }
    section.front-page .row .moyola_lodge .icon span,
    section.front-page .row .moyola_gardens .icon span {
        color: #fff;
        font-size: 30px;
        padding: 10px
    }
    section.front-page .row .facebook h5 {
        color: #46bfae;
        font-size: 18px;
        margin-bottom: 20px
    }
    section.front-page .row .more-information {
        margin-top: 20px
    }
    section.front-page .row .more-information h5 {
        color: #46bfae;
        font-size: 18px;
        margin: 30px 0 20px 0
    }
    footer {
        margin-top: 30px;
        padding: 30px 0;
        background-color: #f7f9fa
    }
    footer strong {
        font-weight: bold;
    }
    footer img.footer-overlay {
        float: right;
        margin-top: -88px;
        height: 115px;
        width: 115px
    }
    footer .row div:last-child {
        margin-top: 20px
    }
    footer h4 {
        font-size: 18px;
        margin-bottom: 10px;
        font-family: "Lovelo-Black";
    }
    footer div.disclaimer {
        margin-top: 50px
    }
    footer div.disclaimer p {
        color: #666666;
        font-size: 14px
    }
    footer a.footer-links:link,
    footer a.footer-links:visited {
		text-decoration: underline;
        font-size: 14px;
  /*      color: #41a0cf; */
/*        padding: 0 10px; */
        display: inline-block;
/*        border-left: 1px solid #41a0cf */
    }
    footer a.footer-links:hover {
        color: #000
    }
    footer a.footer-links.privacy {
        border-left: none
    }
    footer a:link,
    footer a:visited {
		color: #41a0cf;
    }
    footer a:hover {
        color: #41a0cf;
    }
}

@media (min-width: 768px) {
    header {
        max-height: 100%
    }
    section.content ul.secondary-menu {
        margin: 0;
        padding: 0;
        margin-left: 0;
        list-style-type: none
    }
    section.content ul.secondary-menu li a {
        padding: 5px 0;
        display: inline-block;
        text-decoration: none;
        color: #1b4049
        position: relative;
    }
    section.content ul.secondary-menu li::before {
        content: " \25AA";
        color: #00918a;
		position: absolute;
		top: 5px;
    }
    section.content .admissions {
        margin: 0
    }
    footer .row div:last-child {
        margin-top: 0
    }
}

@media (min-width: 992px) {
    header {
        background: #004f59;
        background: linear-gradient(90deg, #004f59 0%, #004f59 46%, #29908a 60%, #004f59 74%, #004f59 100%);
        max-height: 420px; /* previously 385px */
    /*    padding-top: 50px */
    	padding-top: 25px;
    }
    header img.desktop-logo,
    header nav.desktop {
        display: block
    }
    header nav.desktop ul.top-menu {
        margin: 0;
        padding: 0;
        margin-top: 20px
    }
    header nav.desktop ul.top-menu li.bold {
        list-style-type: none;
        border-bottom: 1px solid rgba(0, 145, 138, .5);
    }
    header nav.desktop ul.top-menu li.bold a {
        font-weight: bold;
        color: #fff;
        padding: 9px 0;
        display: block
    }
    header img.desktop-logo {
        max-width: 100%
    }
    header img.mobile-logo,
    header #menu-btn {
        display: none
    }
    header .slider {
        margin-top: unset;
        max-width: unset;
        max-height: unset;
        padding: unset
    }
    header .slider .swiper-slide img.slide {
        width: 100%;
        border-radius: 0 30em 0 0;
    }
    header .slider .swiper-slide img.slide-overlay {
        width: 200px;
        height: 200px
    }
    header .slider .swiper-slide p {
        text-align: right;
        max-width: 230px;
        position: absolute;
        right: 20px;
        font-size: 16px;
        color: #fff;
        margin-top: -120px
    }
    header .slider .swiper-pagination {
        width: 340px;
        right: 0;
        left: unset
    }
    header .slider .swiper-pagination .swiper-pagination-bullet {
        background: #fff;
        width: 10px;
        height: 10px
    }
    header .slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: #1b4049
    }
    header .slider .swiper-slide img.slide-overlay {
        width: 380px;
        height: 380px
    }
    header .slider .swiper-slide p {
        display: block
    }
    header .slider .swiper-pagination .swiper-pagination-bullet {
        width: 15px;
        height: 15px
    }
    section.content a.social {
        display: block;
        color: #1b4049;
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
    }
    section.content .row p.tagline {
        font-family: 'Merriweather', serif;
        font-style: italic;
        font-size: 24px;
        color: #00918a;
		text-transform: none !important;
	    }
    
    section.content .row p.home-tagline {
        font-family: 'Merriweather', serif;
        font-style: italic;
        font-size: 16px;
        color: #00918a;
	    }
    
    section.content .row .admissions p {
    }
    section.content .row .admissions h4 {
        font-size: 18px
    }
    section.content .row .admissions img.admissions_officer {
		width: 150px;
        border-radius: 50%;
    }
    section.content .row:first-child .col-lg-10 {
        margin-top: 100px
    }
    section.content ul#menu-secondary-menu {
        display: block
    }
    section.content ul#menu-secondary-menu li:last-child {
        margin-bottom: 10px
    }
    section.front-page .row div.quote p {
        font-size: 46px;
        line-height: 1.25em;
    }
    section.front-page .row .moyola_lodge h4,
    section.front-page .row .moyola_gardens h4 {
        margin-top: -20px;
        margin-bottom: 5px;
        font-family: "Lovelo-Black";
        font-size: 24px;
        line-height: 1;
    }
    section.front-page .row .moyola_lodge img,
    section.front-page .row .moyola_gardens img {
        max-width: 100%
    }
    section.front-page .row .moyola_lodge a:link,
    section.front-page .row .moyola_lodge a:visited,
    section.front-page .row .moyola_gardens a:link,
    section.front-page .row .moyola_gardens a:visited {
        background-color: unset;
        border-radius: 0px
    }
    section.front-page .row .moyola_lodge .icon,
    section.front-page .row .moyola_gardens .icon {
        position: relative;
        top: -30px;
        left: 20px
    }
    section.front-page .row .moyola_lodge .icon span,
    section.front-page .row .moyola_gardens .icon span {
        color: #fff;
        font-size: 30px;
        padding: 10px
    }
    section.front-page .row .testimonials blockquote {
        color: #00918a;
        font-family: "Merriweather", serif;
        font-style: italic;
        font-weight: 300;
        font-size: 22px;
        display: flex
    }
    section.front-page .row .testimonials p {
        color: #b3b4b5;
        font-size: 14px;
        width: 100%
    }
    section.front-page .row .testimonials p span.name {
        color: #000;
        font-weight: bold
    }
    section.front-page .row .testimonials img.testimonial-image {
        border-bottom-left-radius: 20px;
        display: inline-block;
        vertical-align: top
    }
    footer .row div:last-child {
        margin-top: 0
    }
    footer .row .disclaimer p.copy {
        display: inline-block
    }
    footer .row a.footer-links.privacy {
        border-left: 1px solid #41a0cf
    }
    footer .row:last-child {
        margin-top: 20px
    }
}


/* hidden elements */
header .slider .swiper-slide p,
header .slider .swiper-pagination
{
    display: none;
}

.add-px {
    padding: 0 30px !important;
}

.disclaimer a {
	color: #666666 !important;
	text-decoration: none !important;
	}
	
.disclaimer a:hover {
	text-decoration: underline !important;
	}
	
	
/* Added support for tables */

table {
	width: 100%;
	margin: 10px 0 20px 0;
	}

table thead td {
	background: #00918a;
	color: #fff;
	font-weight: bold;
	}

table td {
	border-bottom: 1px solid rgba(0,0,0,0.2);
	padding: 10px 0;
	text-align: center;
	}

table td:first-child {
	text-align: left;
	}
	
table tr:nth-child(even) {
  background-color: #f7f9fa;
}	