/*------------------------------
=BASIC SETUP
------------------------------*/

/* CSS Reset: html5doctor.com/html-5-reset-stylesheet/ */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,time,mark,audio,video { margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; } 
body { line-height:1; }
ol,ul { list-style:none; }
blockquote,q { quotes:none; }
blockquote:before,blockquote:after,q:before,q:after { content:'';content:none; }
ins { text-decoration:none; }
del { text-decoration:line-through; }
table { border-collapse:collapse;border-spacing:0; }

/* Tell the browser to render HTML 5 elements as block */
header, footer, section, aside, nav, article {
	display: block;
}

body {
	margin: 0 auto;
	width: 100%;
	height: 100%;
	font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	background: rgb(68,158,242);
}

h1 {
	font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 54px;
	line-height: 54px;
	padding: 20px 0;
	color: white;
	text-align: center;
}

h2 {
	font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 20px;
	font-style: italic;
	line-height: 30px;
	padding: 11px 0;
	color: white;
	text-align: center;
}

h3 {
	font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 20px;
	line-height: 30px;
	padding: 11px 0;
	color: white;
	text-align: center;
}

h4 {
	font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
	padding: 6px 0;
	color: white;
	text-align: center;
}

a {
	font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 20px;
	line-height: 30px;
	text-decoration: underline;
	padding: 11px 0;
	color: white;
	text-align: center;
}

p {
  	font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 16px;
	line-height: 30px;
	padding: 11px 0;
	color: white;
	text-align: justify;
}

button {
    cursor:pointer;
    font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 14px;
	margin: 0 auto;
  	margin-left: auto;
  	margin-right: auto;
}

input {
    font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 14px;
}

@media screen and (max-width: 800px) {
	h1 {
		font: 13px/22px 'Helvetica Light', Arial, sans-serif;
		font-size: 46px;
		line-height: 46px;
	}
}

@media screen and (max-width: 620px) {
	body {
		width: 100%;
	}

	h1 {
		font: 13px/22px 'Helvetica Light', Arial, sans-serif;
		font-size: 34px;
		line-height: 34px;
	}
}

@media screen and (max-width: 500px) {

	h1 {
		font: 13px/22px 'Helvetica Light', Arial, sans-serif;
		font-size: 26px;
		line-height: 28px;
	}
}

/*------------------------------
=NAVIGATION
------------------------------*/

nav {
	position: relative;
	left: 0;
	width: 100%;
	background: rgb(21,108,193);
}

nav ul {
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

nav ul li {
	display: inline-block;
}

nav ul li a {
	display: block;
	margin-right: 20px;
	width: 140px;
	font-size: 18px;
	line-height: 44px;
	text-align: center;
	text-decoration: none;
	color: white;
}

nav ul li a:hover {
	text-decoration: underline;
}

nav ul li.selected a {
	text-decoration: underline;
}

@media screen and (max-width: 500px) {

	nav ul li a {
		margin-right: 10px;
		width: 100px;
	}
}

@media screen and (max-width: 400px) {

	nav ul li a {
		width: 80px;
		font-size: 16px;
	}
}

/*------------------------------
=MAIN CONTENT
------------------------------*/

div .mainContent {
	text-align: center;
}

div .mainBox {
  display: inline-block;
  width: 600px;
  margin: 1em;
  padding: 10px;
  //border: 1px solid red;
}

div .pictureAndTextContainer {
	vertical-align:top;
	width: 250px;
	height: 250px;
	padding: 0px;
	text-align: center;
	display:inline-block;
	color: white;
	//border: 1px solid red;
}

div .pictureAndTextContainerDesktop {
	vertical-align:top;
	width: 250px;
	height: 430px;
	padding: 30px;
	text-align: center;
	display:inline-block;
	color: white;
	//border: 1px solid red;
}

div .pictureAndTextContainerMobile {
	vertical-align:top;
	padding: 0px;
	text-align: center;
	display:none;
	color: white;
	//border: 1px solid red;
}

div .pictureBox {
	width: 250px;
	display:inline-block;
	//border: 1px solid black;
}

div .pictureBox img {
	display: block;
    margin: auto;
    width: 100%;
    padding: 0px;
}

div .textBox {
	vertical-align:top;
	width: 250px;
	height: 430px;
	padding: 0px;
	text-align: center;
	display:inline-block;
	color: white;
	//border: 1px solid green;
}

div a {
	font: 13px/22px 'Helvetica Light', Arial, sans-serif;
	font-size: 16px;
	line-height: 24px;
	padding: 6px 0;
	color: blue;
	text-align: center;
}

div .contactsBox {
	vertical-align:top;
	width: 100%;
	height: 200px;
	padding: 0px;
	text-align: center;
	color: white;
	//border: 1px solid green;
}

#slideshow { 
    margin: auto; 
    position: relative; 
    width: 250px; 
    height: 495px; 
}

#slideshow > div { 
    position: absolute;
    //top: 10px; 
    //left: 5px; 
    //right: 5px; 
    //bottom: 20px;
}

@media screen and (max-width: 620px) {
	
	div .mainBox {
	  width: 80%;
	}

	div .pictureAndTextContainerDesktop {
	
		display:none;

	}

	div .pictureAndTextContainerMobile {
		
		display:inline-block;
		width: 100%;
		padding: 0px;
		height: 370px;
	}
	
}

/*------------------------------
 =FOOTER
 ------------------------------*/
footer {
	position: relative;
	width: 100%;
	font-size: 18px;
	line-height: 44px;
	background: rgb(21,108,193);
	color: white;
	//border: 1px solid green;
}

footer ul {
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

footer ul li {
	display: inline-block;
}

@media screen and (max-width: 400px) {

	footer ul li {
		font-size: 16px;
	}
}
