/*** CONTAINERS AND WRAPPERS ***/

div.ry-fullwrp {
    padding: 0;
    width: 100%;
    margin: 2em 0;
}

.ry-container {
    max-width: 1200px;
    float: none;
    margin: auto;
    clear: both;
    padding: 0 2em;
}

body {
	position: relative;
	width: 100%;
	height: 100%;

}
body, html {
	overflow: initial;
}
.footer-wrapper.ry-fluid {
	margin-bottom: -1em;
}



div#homefooter {
    display: block;
    clear: both;
    
}

.ry-wrp {
    display:block;
    width: 100%;
    clear: both;
}

.headwrp {
    padding: 0;
}


.site-header {
	padding: 0;
	height: auto;
}

.ry-header-container {
    padding: 1em 0;
}

.headLeft {
    padding: 0;
}

.logo img {
    max-width: 280px;
    float: none;
    margin: auto;
}


body {
    font-size: 16px;
    color: #333;
    font-family: 'Nunito', sans-serif;
    font-weight: normal !important;
}

h1, .h1, h2, .h2, h3, .h3 {
    font-family: playfair display;
}

h1 {
    font-size: 26px !important;
    margin-top: 0;
}

.slider-text-wrapper {
    bottom: 53%;
    color: #fff;
    padding: 0;
    position: absolute;
    top: 61%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1200px;
}

.slider-text-wrapper h1 {
    font-family: 'Nunito Sans', sans-serif;
    color: #007538;
    text-shadow: 0 0 20px transparent;
    font-size: 20px !important;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: bolder;
    position: relative;
    top: 20px;
}


.slider-text-wrapper h2 {
	color: #007538;
    text-shadow: 0 0 20px transparent;
    position: relative;
    letter-spacing: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 80px !important;
}


.intro-box h2:before, .intro-box h2:after {
	display:none;
}


.site-header .menu-wrap > ul >li.dropdown.open {
    background: transparent !important;
}

.site-header ul .dropdown-menu li a {
    color: #fff;
    padding: 10px 10px;
    transition: all ease 0.3s;
    text-shadow: none;
    text-transform: capitalize;
}

div.site-header ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.site-header ul .dropdown-menu {
    margin: 0;
    width: 220px;
    background: #007538;
    border: transparent;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.site-header ul li a {
    background: transparent;
    padding-right: 2em;
}

div.ry-header-container {
    transition: all 1.5s ease;
    float: none;
    margin: auto;
    transform: scale(0.99);
}

.ry-header-container {
    padding-top: 2em;
}

.ry-header-container {
    max-width: 90%;
    float: none;
    margin: 2em auto 0;
}

.headwrp {
    position: fixed;
    z-index: 30;
    transition: all ease 0.2s;
    width: 100%;
	padding-bottom: 13px;
}

.headwrp.smaller {
    position: fixed;
    background: #007538;
    padding: 13px 0;
    height: 110px;
    z-index: 999;
}

.headwrp.smaller .logo img {
    max-width: 200px;
}


.headwrp.smaller .ry-header-container {
    transform: scale(.85);
    padding-bottom: 4em;
    padding-top: 0;
}


/** Default Page **/
.bnr-wrp {
	display: none;
}

div#def-footer {
    padding-top: 0;
}

div#ry-footer-top {
    background: #f0f0f0;
    padding: 10em 0;
}

#ry-footer-top .ry-left-wrp {
    border-bottom: 1px solid rgba(17, 17, 17, 0.15);
    width: 18em;
    padding-top: 3em;
}

#ry-footer-top .ry-right-wrp {
    padding-left: 2em;
}

div.bnr-wrp {
    background: rgba(240, 240, 240, 0.5);
    height: 350px;
}

.bnr-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25%;
}

.headwrp {
    /* position: absolute; */
    z-index: 30;
}

.main-content {
	margin-top: -1px;
}
	
a.btn.btn-primary {
    transition: all ease 0.5s;
}

div.bnr-title h2 {
	display: block;
}

/*** CUSTOM MEDIA QUERY ***/
@media only screen and (max-width: 991px) {
	
	.ry-wrp {
	display: inline-block;
	width: 100%;
	}
	div#homefooter, div#def-footer {
    text-align: center;
	}

	div#homecontent {
		text-align: center;
	}
	body {
		-webkit-overflow-scrolling: touch;
		overflow-y: scroll !Important
	}
	
	div#def-content .ry-title h1, div#def-content .ry-title h3, div#def-content h3, div#def-content .ry-content-wrp .ry-copy p, div#def-content .ry-content-wrp p {
    	text-align: center;
	}
	
	.inside-sidebar p {
		text-align: center !important;
	}
	
}

/* IE */

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {	
	.headwrp {
		background: #007538;
		padding: 0;
		height: 165px;
	}
}