/* Feuille de style */

/* RESET RESET RESET RESET RESET RESET RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a, a:hover, a:active, a:visited {
	color: inherit;
	text-decoration: none;
}

[role="button"],
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

/* Reset `button` and button-style `input` default styles */
input[type="submit"],
input[type="reset"],
input[type="button"],
button {
    background: none;
    border: 0;
    color: inherit;
    /* cursor: default; */
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    -webkit-appearance: button; /* for input */
    -webkit-user-select: none; /* for button */
       -moz-user-select: none;
        -ms-user-select: none;
}
input::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* GENERAL ---------------------------------------- */

.v-align, .v-aligned
{
	display: inline-block;
	vertical-align: middle;
}

.b-align, .b-aligned
{
	display: inline-block;
	vertical-align: bottom;
}

.v-align, .b-align
{
	height: 100%;
}

html
{
	width: 100%;
	height: 100%;
}

body
{
	position: relative;
	text-align: center;
	font-family: 'Mukta', 'sans-serif';
	height: 100%;
	line-height: 1.2;
}

.wrap
{
	width: 100%;
	max-width: 1000px;
	display: inline-block;
}

.section-title
{
	font-family: 'chonburi';
	font-size: 36px;
}

.white-text
{
	color: white;
}

.full-height
{
	height: 100%;
}

.full-width
{
	width: 100%;
}

.content-block h2
{
	font-size: 35px;
	font-weight: bold;
	font-family: 'montserrat';
}

.content-in > p 
{
	font-size: 22px;
	font-weight: 500;
	line-height: 1.4;
	margin: 50px 0;
}

.content-block
{
	margin: 120px 0;
}

.content-in
{
	padding: 0 20px;
}

.text-full-width, .title-full-width
{
	display: inline-block;
	width: 100%;
	max-width: 900px;
}

.side-text
{
	display: inline-block;
	width: 100%;
	max-width: 550px;
}

.block-text.lonely-text
{
	margin-bottom: 0px;
}

.text-left
{
	text-align: left;
}

.text-right
{
	text-align: right
}

.text-justify
{
	text-align: justify;
}

.light {
	background-color: #D7F9FE;
	color: #419293;
}

.dark {
	background-color: #419293;
	color: white;
}

/* HEADER ------------------------ */

header {
	background-color: #D7F9FE;
	color: #419293;
	font-family: 'Righteous', 'sans-serif';
	font-size: 30px;
	position: relative;
	padding: 20px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

header img {
	height: 35px;
}

header img, header h1 {
	display: inline-block;
	vertical-align: middle;
}

header h1 {
	margin: 0 10px;
}

header a {
	position: absolute;
	right: 25px;
	top: 17px;
}

header button {
	font-size: 20px;
	padding: 0 20px;
	font-weight: bold;
	font-family: 'Mukta', 'sans-serif';
	border-radius: 20px;
	outline: none;
	cursor: pointer;
}

@media screen and (max-width: 800px) {
	header {
		font-size: 20px;
	}

	header h1 {
		margin: 0 5px;
	}

	header img {
		height: 25px;
	}

	header a {
		top: 66px;
		left: 0;
		right: 0;
	}

	header button {
		border-radius: 0;
		width: 100%;
		padding: 0;
	}
}

/* PAGE WELCOME --------------------- */

#page-welcome {
	text-align: right;
	padding-top: 75px;
	height: 100%;
	display: flex;
}

#page-welcome-background {
	background-image: url('/img/cristina.JPG');
	background-size: cover;
	background-position: 0 50%;
	height: 100%;
	flex: 0 0 40%;
}

#page-welcome-content {
	background-color: transparent;
	background-image: linear-gradient(to left, rgba(0,145,147,1) 85%, 93%, rgba(0,145,147,0) 100%);
	display: inline-block;
	height: 100%;
	padding: 40px 40px 40px 15%;
	line-height: 1.3;
	flex: 0 0 75%;
	margin-left: -15%;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

#page-welcome-content-in {
	max-width: 700px;
	display: inline-block;
}

#page-welcome h2 {
	font-size: 40px;
	font-weight: bold;
	margin-bottom: 20px;
}

#page-welcome p {
	font-size: 18px;
}

nav {
	display: inline-block;
	margin-top: 20px;
	max-width: 600px;
}

nav a {
	display: inline-block;
	background-color: #43D0CC;
	padding: 10px 15px;
	font-weight: bold;
	text-transform: uppercase;
	margin: 5px 5px;
	transition: transform 200ms ease-out;
}

nav a:hover {
	transform: scale(1.05);
}

@media screen and (max-width: 800px) {
	#page-welcome {
		display: block;
		height: auto;
	}

	#page-welcome-background { 
		height: 500px;
	}

	#page-welcome-content {
		height: auto;
		padding: 30px;
		margin: 0;
		background-image: none;
		background-color: #419293;
	}
}

/* ALL ------------------------------- */

p a {
	font-weight: bold;
	text-decoration: underline;
}

.block {
	padding: 60px 40px;
}

.block-title {
	font-family: 'Righteous', 'sans-serif';
	font-size: 32px;
	margin-bottom: 20px;
}

.block-title h3 {
	margin-bottom: -15px;
}

.block-title i {
	height: 3px;
	width: 80px;
	display: inline-block;
	background-color: white;
}

.light .block-title i {
	background-color: #419293;
}

.line-1 {
	flex: 0 0 100%;
}
.line-2 {
	flex: 0 0 50%;
}
.line-3 {
	flex: 0 0 75%;
}
.line-4 {
	flex: 0 0 25%;
}

.line-1 {
	margin: 20px 0;
}
.line-2, .line-4, .line-3, .float-block p, #learning p {
	padding: 20px;
	text-align: justify;
}

.line {
	display: flex;
}

.italic {
	font-style: italic;
}

.wrap {
	font-size: 20px;
}

.img-container {
    position: relative;
	overflow: hidden;
	height: 100%;
}

.img-container img {
	position: absolute;
    top: -9999px;
    right: -9999px;
    bottom: -9999px;
    left: -9999px;
    margin: auto;
    width: 1px;
    min-width: 100%;
    min-height: 100%;
}

.img-container.portrait img {
    width: auto;
    height: 1px;
}

#video-it {
	width: 420px;
	height: 315px;
}

#devotion-img {
	float: right;
	height: 400px;
	width: 300px;
	margin: 20px;
}

#spanish {
	width: 100%;
}

#spanish-container {
	margin: 20px;
}

#donate-button {
	display: block;
	margin-top: 20px;
}

#donate-button button {
	padding: 6px 16px;
	background-color: #419293;
	color: white;
	cursor: pointer;
	transition: transform 300ms;
}

#donate-button button:hover {
	transform: scale(1.08);
}

.quote {
	width: 100%;
	text-align: center;
	font-weight: bold;
	font-size: 22px;
}

#map {
	width: 100%;
	height: 400px;
	text-align: left;
}

footer img {
	height: 20px;
	display: block;
	margin-left: 10px;
}

footer div {
	padding: 10px 0 8px 0;
	display: flex;
	justify-content: center;
}

@media screen and (max-width: 800px) {
	.line {
		flex-direction: column;
	}

	#video-it {
		width: 100%;
		height: 280px;
	}

	.line-2, .line-4, .line-3, .float-block p, #learning p {
		padding: 20px 0;
		text-align: left;
	}

	.img-container {
		height: 200px;
	}

	.img-container.portrait img {
    	width: 1px;
    	height: auto;
	}

	#devotion-img {
		float: none;
		margin: 20px 0;
		width: 100%;
		height: 350px;
	}
}

#cristinas-children ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 15px 0;
}

#cristinas-children li {
	margin: 15px;
	padding: 15px;
	color: #419293;;
	background-color: white;
}

#cristinas-children li:nth-child(odd) {
	transform: rotate(2deg);
}

#cristinas-children li:nth-child(even) {
	transform: rotate(-2deg);
}