/*
test Claudio Croce                2
TEMPLATE FOR MEDIA QUERIES
@media screen and (min-width:1050px) {}
@media screen and (min-width:768px) and (max-width:1049px) {}
@media screen and (min-width:520px) and (max-width:767px) {}
@media screen and (max-width:519px) {}


FONTS
font-family: 'Roboto', sans-serif;
font-family: 'Lobster Two', cursive;


COLORS
grey:			#cbcbcb;
light blue: 	#4f8fc3;
Green:			#0a8f4a;


INDEX
- PAGE RESET
- STRUCTURE  HEADER & MAIN
- CONFIG ELEMENTS
- CONFIG IMAGES/TEXT/LINKS
- STRUCTURE FOOTER
- CONFIG FORM
- SCROLL TO TOP
- VIDEO
*/

/*---------------------------------------- PAGE RESET --------------------*/
html {
	height: 100%;
	width: 100%;
}
body {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 23px;
}
article, aside, figure, footer, header, hgroup, menu, section { display: block; }
input {
	-webkit-appearance: none;
	border-radius: 0;
}
* {
	padding: 0;
	margin: 0;
	border: 0;
	box-sizing: border-box;
	text-decoration: none;
	max-width: 100%;
	height: auto;
	outline: none !important;
}

/*---------------------------------------- STRUCTURE / HEADER & MAIN --------------------*/
@media screen and (min-width:1050px) {

	section {
		width: 1050px;
		margin: 0 auto;
		padding: 0 10px;
	}
	#top-header {
		position: relative;
		width: 1050px;
		margin: 0 auto;
		text-align: center;
	}

	section { padding: 0 !important; }
	#top-header { height: 42px; }
	#top-logo {
		left: 0;
		top: 13px;
	}
	#menu{ right: 0; }
	#quote { background-size: 700px; }
	#wrap-garden { 
		height: 450px;
		background-size: contain;
		background-position: top left;
	}
	#main_menu { display: none; }
	aside { display: initial !important; }
	.content-narrow { float: left; }
}

@media screen and (min-width:768px) and (max-width:1049px) {

	section {
		margin: 0 15px;
		padding: 0 10px;
	}

	#top-header {
		position: relative;
		margin: 0 15px;
		text-align: center;
		height: 35px;
	}
	#top-logo {
		left: 10px;
		top: 13px;
	}
	#menu{ float: right; }
	#quote { background-size: 550px; }
	#wrap-garden { width: 768px; }
	#wrap-garden { 
		height: 450px;
		background-size: contain;
		background-position: top left;
	}
	#main_menu { display: none; }
	.box-portfolio { width: 768px; }
}

@media screen and (min-width:520px) and (max-width:767px) {
	section {
		margin: 0 15px;
		padding: 0 10px;
	}

	#top-header {
		position: relative;
		margin: 0 15px;
		text-align: center;
		height: 200px; 
	}
	#top-logo {
		bottom: 0;
		left: 50%;
		margin-left: -115px;
	}
	#menu{
		right: 50%;
		margin-right: -244px;
	}
	#quote { background-size: 350px; }
	#wrap-garden { 
		width: 520px; 
		height: 550px;
		background-position: 0 105px;
	}
	#main_menu { display: none; }
	.wrap-team { width: 500px; }
	.box-portfolio { width: 520px; }
}

@media screen and (max-width:519px) {
	section {
		margin: 0 15px;
		padding: 0 10px;
	}

	#top-header { height: 59px; }
	#top-logo {
		left: 50%;
		margin-left: -115px;
		top: 10px;
	}
	#menu{
		/*! bottom: 0; */
		width: 250px !important;
		height: 47px !important;
		/*! left: 50%; */
		/*! margin-left: -125px; */
		margin: 10px auto;
	}
	#quote { background-image: none !important; }
	#wrap-garden { background-image: none !important; }
	#wrap-garden::after {
		content: "";
		background: url('../../images/garden-home.png') no-repeat center;
		background-size: contain;
		opacity: 0.2;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		position: absolute;
		z-index: -1;
	}
	#main_menu {
		display: block; 
		background-color: #000;
		color: #fff;
		padding: 12px;
		cursor: pointer;
		margin: 2px auto;
	}	
	.menu-hidden { display: none; }
	.contact-us {
		background: none !important;
		height: auto !important;	 
	}
	.wrap-team { width: 230px; }
}

header { 
	margin-bottom: 10px;
	border-top: 15px solid #D2B626; 
}

#top-logo {	position: absolute; }
#menu{
	/*! position: absolute; */
	width: 185px;
	/*! height: 89px; */
	/*! float: right; */
	/*! height: 30px; */
	/*! background-color: rebeccapurple; */
}
#main {
	margin:0;
	min-height:600px;
	overflow:visible;
}
.content-narrow {
	width: 760px;
	margin: 0 auto;
}
.content-narrow>:first-child {
	margin-top: 0;
	padding-top: 0;
}
#wrap-dev { /*! margin-top: 50px; */ }	
#wrap-dev-links { 
	margin: 20px 0;
	text-align: center;
}
#quote {
	background-image: url('../../images/quote-bg.jpg');
	background-color: #6493b9;
	background-repeat: no-repeat;
	background-position: bottom center;
	margin-top: 40px;
}
#wrap-garden {
	position: relative;
	background-image: url('../../images/garden-home.png');
	background-repeat: no-repeat;
	margin-top: 30px;
}
.contact-us {
	background: url('../../images/mail.png') no-repeat bottom center;
	height: 510px;
}
.wrap-team { margin: 0 auto; }
aside {
	width: 260px;
	float: right;
	display: none;
}
address { font-style: normal; }
.box-portfolio { margin: 0 auto; }
.clear{	clear: both; }

/*---------------------------------------- CONFIG ELEMENTS --------------------*/
@media screen and (min-width:1050px) {
	.one_half { width: 49%; }
	.one_half:nth-child(odd) { float: left; }
	.one_half:nth-child(even) { float: right; }
	.wrap-team div { margin: 0px 17px 20px 0; }
	.wrap-team div:nth-child(3n+3) { margin-right: 0; }
	#hm-video {
		width: 850px;
		height: 479px;
	}
}

@media screen and (min-width:768px) and (max-width:1049px) {
	.one_half { width: 49%; }
	.one_half:nth-child(odd) { float: left; }
	.one_half:nth-child(even) { float: right; }
	.wrap-team div { margin: 0px 17px 20px 0; }
	.wrap-team div:nth-child(3n+3) { margin-right: 0; }
	#hm-video {
		width: 650px;
		height: 363px;
	}
}

@media screen and (min-width:520px) and (max-width:767px) {
	.one_half { margin-bottom: 25px; }
	.wrap-team div { margin: 0px 26px 20px 0; }
	.wrap-team div:nth-child(2n+2) { margin-right: 0; }
	#hm-video {
		width: 500px;
		height: 283px;
	}
}

@media screen and (max-width:519px) {
	.one_half { margin-bottom: 25px; }
	#hm-video {
		width: 300px;
		height: 165px;
	}
}

#hm-video {
	display: block;
	margin: 20px auto;
}
aside .one-third { margin: 8px 0 20px 0; }
aside .btn-default { display: block; }
.vmenu li {
	list-style: none;
	font-size: 14px;
	line-height: 21px;
	margin: 5px 0;
	border-bottom: 1px dashed #999;
	padding: 0 10px;
}
.vmenu li:hover { letter-spacing: 2px; }
.vmenu li a.selected {
	font-weight: bold;
	width: auto;
	margin: 0 auto;
	display: table;
}
#quote blockquote { padding: 40px 0; }
.btn-default {
	background-color: #4f8fc3;
	color: #fff !important;
	padding: 5px 20px;
	text-align: center;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.5s;
}
.btn-default:hover { background: #999; }
.wrap-team div {
	width: 235px;
	height: 308px;
	display: inline-block;
}
.wrap-team div p {
	font-family: 'Lobster Two', cursive;
	font-weight: bold;
	text-align: center;
}
hr {
	border-bottom: 1px dashed #ddd;
	margin: 15px 0;
}
ul {
	list-style-type: square;
    /*color: #518518;*/
    margin: 8px 0 12px 0;
}
li { 
	list-style-position: inside;
	margin: 10px 0; 
}
/*---------------------------------------- CONFIG IMAGES/TEXT/LINKS --------------------*/
@media screen and (min-width:1050px) {
	.box-portfolio div img:nth-child(1) { float: left; }
	.box-portfolio div img:nth-child(3) { float: right; }
	.box-portfolio div img:nth-child(2) { float: right; }
	#quote blockquote p { font-size: 30px; }
	#quote blockquote p:before {
		font-size: 125px;
		margin: 25px 0 35px 0;
	}
	#wrap-garden h1, #wrap-garden p { position: absolute; }
	#wrap-garden h1 {
		width: 835px;
		font-size: 30px !important;
		line-height: 40px !important;
	}
	#wrap-garden p:nth-child(2) {
		width: 490px;
		font-size: 25px;
		top: 170px;
		line-height: 30px;
	}
	#wrap-garden p:nth-child(3) { width: 675px; }
	.imgL { float: left; }
	.imgR { float: right; }
}

@media screen and (min-width:768px) and (max-width:1049px) {
	.box-portfolio div img:nth-child(1) { width: 100%; }
	.box-portfolio div img:nth-child(3) { float: left; }
	.box-portfolio div img:nth-child(2) { float: right; }
	.box-portfolio div img:nth-child(2),
	.box-portfolio div img:nth-child(3) { width: 370px; }
	#quote blockquote p { font-size: 25px; }
	#quote blockquote p:before {
		font-size: 120px;
		margin: 25px 0 70px 0;
	}
	#wrap-garden h1, #wrap-garden p { 
		position: absolute;
		width: 550px;
	}
	#wrap-garden p:nth-child(2) {
		width: 375px;
		font-size: 19px;
		top: 145px;
	}
	#wrap-garden p:nth-child(3) {
		width: 390px;
		font-size: 13px;
	}
	.imgL { float: left; }
	.imgR { float: right; }
}

@media screen and (min-width:520px) and (max-width:767px) {
	.box-portfolio div img:nth-child(1) { width: 100%; }
	.box-portfolio div img:nth-child(3) { float: left; }
	.box-portfolio div img:nth-child(2) { float: right; }
	.box-portfolio div img:nth-child(2),
	.box-portfolio div img:nth-child(3) { width: 245px; }
	#wrap-dev-links a:first-child { margin-bottom: 15px; }
	#quote blockquote p { font-size: 20px; }
	#quote blockquote p:before {
		font-size: 100px;
		margin: 20px 0 110px 0;
	}
	#wrap-garden p:nth-child(2) {
		float: right;
		width: 300px;
		font-size: 18px;
		margin-top: 25px;
	}
	#wrap-garden p:nth-child(3) {
		float: right;
		width: 260px;
		font-size: 12px;
	}
	#wrap-garden a {
		margin: 80px 45px 0 0 !important;
		position: initial !important;
		float: right;
		clear: right;
	}
	.imgL {
		display: block;
		margin: 0 auto;
	}
	.imgR {
		display: block;
		margin: 0 auto;
	}
}

@media screen and (max-width:519px) {
	.box-portfolio div img:nth-child(2),
	.box-portfolio div img:nth-child(3) { display: none; }
	#wrap-dev-links a:first-child { margin-bottom: 15px; }
	#quote blockquote p { font-size: 20px; }
	#quote blockquote p:before {
		font-size: 100px;
		margin: 20px 0 235px 0;
	}
	#wrap-dev-links a { font-size: 12px !important; }
	#wrap-garden p:nth-child(2) {
		position: initial;
		font-size: 18px;
		margin-top: 20px;
	}
	#wrap-garden p:nth-child(3) {
		position: initial;
		font-size: 12px;
		margin-top: 20px;
	}
	#wrap-garden a {
		margin: 20px auto 0 auto !important;
		position: initial !important;
		width: 250px;
		display: block;
	}
	.imgL {
		display: block;
		margin: 0 auto;
	}
	.imgR {
		display: block;
		margin: 0 auto;
	}
}

/* IMAGE */
#wrap-dev img { margin-top: 25px; }
.wrap-team div img { box-shadow: 0 0 5px #999; }
.box-portfolio div img { 
	margin-bottom: 25px;
	box-shadow: 0 0 5px #999;
}
.imgC {
	display: block;
	margin: 0 auto;
}

/* TEXT */
p { padding: 8px 0 12px 0; }
h1,h2,h3,h4,h5,h6 {	
	font-family: 'Lobster Two', cursive;
	line-height: normal;
	padding: 5px 0 10px 0;
}

h1 {
	font-family: 'Lobster Two', cursive;
	font-style: normal;
	font-size: 40px; 
	color: #CD5B50;
	text-align: center;
	/*! line-height: 50px; */
	margin-bottom: 15px;
}

@media screen and (max-width:519px) {
	h1 {  font-size: 31px; }

}



h2 { font-size: 30px; }
h3 { 
	color: #0a8f4a; 
	font-size: 25px;
}
h4 { 
	color: #999; 
	font-size: 25px;
}
.one-third h1 {
	background: linear-gradient(to bottom, #777, #000 100%);
	font-family: inherit;
	font-weight: normal;
	font-style: normal;
	color: #fff;
	font-size: 20px;
	padding: 5px 10px;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
#quote blockquote p {
	color: #fff;
	line-height: 35px;
}




#quote blockquote p:before {
	color: #fff;
	content: '\201C';
	font-family: 'libre Baskerville', serif;
	display: block;
	float: left;
}
#quote span#autor {
	display: block;
	text-align: right;
	font-size: 16px;
	margin: 20px 10px 0 0;
	line-height: 23px;
}
#wrap-garden p span { font-size: 125%; }
#wrap-garden h1 {
	font-family: 'Roboto', sans-serif;
	font-style: normal;
	font-size: 25px;
	line-height: 30px;
	color: #0a8f4a;
	right: 0;
}
#wrap-garden p:nth-child(2) { left: 320px; }
#wrap-garden p:nth-child(3) {
	bottom: 80px;
	right: 0;
}

/* LINKS */
a {
	color: #000;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
a:hover { color: #999; }
#wrap-dev-links a {
	background-color: red;
	color: #fff;
	font-size: 16px;
	display: inline-block;
	margin: 0 10px;
	padding: 4px 40px 5px 40px;
	transition: all 0.5s;
	width:280px;
}
#wrap-garden a { 
	background-color: #0a8f4a;
	position: absolute;
	bottom: 15px;
	left: 50%;
	margin-left: -92px;
}
#wrap-dev-links a:hover,
#wrap-garden a:hover { background: #999; }

/*-----------------------------------------------------------  STRUCTURE FOOTER ---------------*/
@media screen and (min-width:1050px) {
	#contact { 
		float: left;
		margin: 0 !important;
	}
	#ask { 
		float: right; 
		margin: 0 !important;
	}
	#atimo { width: 100% !important; }
	#ask input { width: 240px; }
}

@media screen and (min-width:768px) and (max-width:1049px) {
	#ask { width: 584px; }
	#ask input { width: 240px; }
}

@media screen and (min-width:520px) and (max-width:767px) {
	#ask { width: 500px; }
	#ask textarea { width: 285px; }
	#ask input { width: 200px; }
}

@media screen and (max-width:519px) {
	#ask { width: 300px; }
	#ask textarea{
		float: none !important;
		width: 100%;
	}
	#ask input {
		width: 100%;
		margin: 0 0 6px 0 !important;
	}
	#atimo { display: none; }
}

footer {
	background-color: #99A43D;
	color: #ffffff;
	font-size: 16px;
	padding: 20px 0;
}
footer h2 {
	font-family: 'Roboto', sans-serif;
	font-style: normal;
	font-weight: normal;
	font-size: 20px;
	margin-bottom: 10px;
	color: #000000;
}
footer a { color: #cbcbcb; }
footer a:hover { color: #4f8fc3; }

#wrap-footer { 
	position: relative;
	height: 100%;
}
#contact { 
	width: 301px;
	margin: 0 auto;
}
#contact img {
	float: left;
	margin-right: 20px;
}
#contact address { display: inline-block; }
#contact address p:first-child { margin-bottom: 10px; }
#ask { margin: 20px auto 0 auto; }
#atimo {
	position: absolute;
	width: calc(100% - 20px);
	bottom: 0;
	font-size: 12px;
}

/*-----------------------------------------------------------  CONFIG FORM ---------------*/
#ask textarea,
#ask input[type="text"],
#ask input[type="email"] {
	background-color: transparent;
	color: #000;
	border: 1px solid #ddd;
	padding: 5px 15px;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
}
#ask textarea { float: left; }
#ask input { margin: 0 0 23px 15px; }
#ask input[type="submit"] { margin-bottom: 0; }
.form-group { margin-bottom: 15px; }
.form-control {
	display: block;
	width: 100%;
	height: 30px;
	padding: 6px 12px;
	font-family: inherit;
	font-size: 12px;
	color: #555;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out 0.5s,-webkit-box-shadow ease-in-out 0.5s;
	-o-transition: border-color ease-in-out 0.5s,box-shadow ease-in-out 0.5s;
	transition: border-color ease-in-out 0.5s,box-shadow ease-in-out 0.5s;
}
.form-control:focus {
	border-color: #66afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
textarea.form-control { height: initial; }


/*-----------------------------------------------------------  SCROLL TO TOP   -----------*/
#scrollToTop {
	cursor: pointer;
	width:55px;
	height:55px;
	text-decoration: none;
	position:fixed;
	bottom:10px;
	right:15px;
	display:none;
	background:url('../../images/scrollToTop.png') no-repeat;
	opacity:0.15;
	transition: 0.5s;
}
#scrollToTop:hover { opacity:1;}
#scrollToTop:hover{	text-decoration:none; }



/*-----------------------------------------------------------  VIDEO ---------------------------*/
.lt-ie8 iframe.youtube {
	width: 640px;
	height: 360px;
	margin: 10px auto;
	display: block;
}


@media screen and (min-width:695px) {
	.youtube {
		width: 850px;
		height: 479px;
		margin: 10px auto;
		display: block;
	}
}

@media screen and (min-width:610px) and (max-width:694px) {
	.youtube {
		width: 560px;
		height: 315px;
		margin: 10px auto;
		display: block;
	}
}

@media screen and (min-width:445px) and (max-width:694px) {
	.youtube {
		width: 400px;
		height: 225px;
		margin: 10px auto;
		display: block;
	}
}

@media screen and (max-width:444px) {
	.youtube {
		width: 280px;
		height: 158px;
		margin: 10px auto;
		display: block;
	}
}


#wrap-dev a img {
	border: 1px solid #CD5B50;
	display: block;
	margin: 0;
	padding: 0;
}



/*-----------------------------------------------------------  SECTION NAVIGATION   ------------*/
	.section_navigation a { 
		display: inline-block;
		float: left;
	}

	.section_navigation a:last-child{ margin-right:0;}

.section_navigation { 
	overflow:hidden; 
	margin: 0 auto 0 auto; 
	display: table;
}

header .section_navigation a {
	/*! background-color: #F5F5F5; */
	/*! border: 2px solid #f5f5f5; */
	color: #010107;
	cursor: pointer;
	font-size: 18px;
	margin: 0px 2px 2px 0px;
	overflow: hidden;
	padding: 6px 0;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 120px;
}

section .section_navigation a {
	cursor: pointer;
	font-size: 15px;
	margin: 0px 2px 2px 0px;
	overflow: hidden;
	padding: 5px 10px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 168px;
	background: #f5f5f5;
    color: #000000;
}


.section_navigation a.selected { /*! border-left:2px solid #ecae27; */ background-color: #D2B626;color: white;}

section .section_navigation a.selected {
	    background: #f5f5f5 url(http://www.ololourdes.org/church/Atimo_s/news/arrow-menu-orange.png) no-repeat top center;
    color: #ecae27 !important;
    border: none;
}

.section_navigation a:hover { background-color: #D2B626 !important; color:#FFFFFF; }

section .section_navigation a:hover {
	background: #f5f5f5 url(http://www.ololourdes.org/church/Atimo_s/news/arrow-menu-orange.png) no-repeat top center !important;
    color: #ecae27;
    border: none;
}




