body, html {
	margin: 0;
	padding: 0;
	font-family: 'Lato', sans-serif;
    color: black;
    overflow: hidden;
}

/***************************************/
/*          Common Components          */
/***************************************/
section > h1 {
    margin-left: 15px;
}

/****************************/
/*          Header          */
/****************************/

header {
    margin: 0;
    padding: 0;
	width: 100%;
	background-color: rgba(0,0,0,0.7);
	position: fixed;
    left: 0;
    top: 0;
    transition: height 0.5s ease;
    box-shadow: -1px 2px 10px 4px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

header > nav {
    margin-top: 80px;
    margin-right: 80px;
    transition: margin 0.5s ease;
}

header > nav a {
    padding: 0 15px 10px 15px;
    margin: 0 5px;
    font-size: 1.8em;
    font-weight: bold;
    color: #D0DCFD;
    text-align: center;
    text-decoration: none;
}

header > nav a:hover {
    color: white;
    border-bottom: 3px solid white;
}

a:hover, a:link, a:visited, a:active, a:focus {
    color: white;
    text-decoration: none;
    outline: none;
}

.active {
    color: white;
    border-bottom: 3px solid white;
}

header ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

header li {
    float: left;
}

.inflateHeader {
    height: 150px;
}

.reduceHeader {
    height: 80px;
}

.titleBig {
    display: inline-block;
    padding: 20px;
    font-size: 6em;
    color: white;
    font-family: 'Tangerine', serif;
    transition: font-size 0.5s ease;
}

.titleSmall {
    display: inline-block;
    padding: 5px;
    font-size: 4em;
    color: white;
    font-family: 'Tangerine', serif;
    transition: font-size 0.5s ease;
}

/*****************************/
/*          Content          */
/*****************************/
#content {
    background: url('../pictures/background.jpg') no-repeat center fixed;
    background-size: cover;
    -webkit-background-size: cover; /* for older Chrome and Safari versions */
    box-shadow: 0px 10px 20px -10px rgba(0,0,0, 0.85);
}

img.background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

#content > div {
    text-align: center;
}

#citation {
    margin: auto;
}

#content h1, h2 {
    padding:25px;
    display: inline-block;
    font-size: 7em;
    font-family:'Tangerine', serif;
    color: white;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.8);
    /*background-color:rgba(0,0,0,0.5);
    border-radius:30px;
    box-shadow: -1px 2px 10px 4px rgba(0,0,0, 0.5);*/
}

/***************************/
/*          About          */
/***************************/
#about {
    height: 900px;
}

/*****************************/
/*          Gallery          */
/*****************************/
#gallery {
}

#gallery h1 {
    margin: 0;
    padding: 10px;
}

#gallery > div {
    margin: auto;
    width: 90%;
    text-align: center;
}

#gallery > div > a > div {
    margin: 20px;
    position: relative;
    display: inline-block;
    width: 25vw;
    min-width: 10vw;
    height: 25vw;
    min-height: 10vw;
    background: url('../pictures/background_old.jpg') no-repeat center;
    background-size: cover;
    border: 1px solid black;
}

#gallery > div > a > div > div {
    overflow: hidden;
    background: rgba(255,255,255,0.75);
    width: 100%;
    position: absolute;
    max-height: 0;
    bottom: 0;
    right: 0;
    word-wrap: break-word;
    transition: max-height 0.75s ease-in-out;
}

#gallery > div > a > div:hover > div {
    max-height: 10vw;
    transition: max-height 0.75s ease-in-out;
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}

.modalDialog > div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);
}

.close {
    background: #606061;
    color: #FFFFFF;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:hover {
    background: #00d9ff;
}

/*****************************/
/*          Contact          */
/*****************************/
#contact {
    margin-bottom: 20px;
}

#contact h1 {
    margin: 0;
}

#contact form > a:hover {
    background-color: rgba(0,0,0, 0.85);
}


#contact input[type="button"] {
    margin: 5px auto;
    display: block;
    background: url('../pictures/icons/send.png') no-repeat;
    border: none;
    height: 40px;
    width: 40px;
}
#contact input[type="text"] {
    margin: 5px;
    padding:0.4em;
    font-size: 1.3em;
    width: 100%;
    border-radius:5px;
    border: solid 1px #ccc;
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
}

#contact textarea {
    margin: 5px;
    padding: 10px;
    font-size: 1.3em;
    border-radius: 5px;
    border: solid 1px #ccc;
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
    width: 100%;
}

.g-recaptcha div {
    margin: auto;
}

/****************************/
/*          Footer          */
/****************************/
#footer {
    padding: 15px;
    color: white;
    height: 80px;
    background-color: black;
    text-align: center;
}


/* Colors */
.color-primary-0 { color: #2F4172 }	/* Main Primary color */
.color-primary-1 { color: #D0DCFD }
.color-primary-2 { color: #697BAB }
.color-primary-3 { color: #0C183A }
.color-primary-4 { color: #000001 }

.color-secondary-1-0 { color: #2D882D }	/* Main Secondary color (1) */
.color-secondary-1-1 { color: #CBFECB }
.color-secondary-1-2 { color: #73CB73 }
.color-secondary-1-3 { color: #074507 }
.color-secondary-1-4 { color: #000100 }

.color-secondary-2-0 { color: #5D2971 }	/* Main Secondary color (2) */
.color-secondary-2-1 { color: #F0CCFD }
.color-secondary-2-2 { color: #9563A9 }
.color-secondary-2-3 { color: #2B0839 }
.color-secondary-2-4 { color: #010001 }
