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: 100%;
	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 {
   outline: 0;
}


/*----------RESET--------*/

* {
  margin: 0;
}
html, body {
  font-family: 'Josefin Sans', sans-serif;
  height: 100%;
  background-image: url(../img/bg_pattern.png);
  background-repeat: repeat;
  background-attachment: fixed;
}
#content {
  position: relative;
  min-height: 100%;
  width: 100%;
  min-width: 320px;
  height: auto !important; /*min-height hack*/
  height: 100%;            /*min-height hack*/
  /*margin-bottom: -4em;     Negates #push on longer pages*/
  text-align: center;
  background-color: rgba(0,0,0,.3);
}



#info_box{
    display: inline-block;
    width: 65%;
    margin: 100px auto 20px auto;
    min-width: 290px;
    max-width: 750px; 
    padding: 10px 10px; 
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {   
#info_box{
    margin: 20px auto 20px auto;
}
}
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
#info_box{
    margin: 20px auto 20px auto;
}
}
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
 #info_box{
    margin: 20px auto 20px auto;
}   
}
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {
#info_box{
    margin: 20px auto 20px auto;
}
}

@media screen and (max-width: 400px) {
    #info_box{
    margin: 20px auto 20px auto;
}
}



.eero{
    display: inline-block;
    margin: 20px 10px;
}

.eero img:hover, img:focus {
    opacity:0.5;
    transform:scale(0.9);
}

    
.maria{
    position: relative;
    display: inline-block;
    margin: 20px 10px;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;    
    transition: all 1s ease-in-out;
}

.maria a{
	display:block;
	z-index:10;
}

.kuva{
    position: absolute;
    top: 0;
    left:0;
}

.eero img{
    width:80%;
    height: auto;
    opacity: 1;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;    
    transition: all 1s ease-in-out;
}
.maria img{
    width:80%;
    height: auto;
    opacity: 1;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;    
    transition: all 1s ease-in-out;
}

.maria:hover{
    transform:scale(1.1);
}


.maria .top {
    width:80%;
    height: auto;
    opacity: 0;
    z-index: 100;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;    
    transition: opacity 1s ease-in-out;
}

.maria .bottom {
    position: absolute;
    top: 0;
    left:10%;
    z-index: 0;
    
}

.maria .top:hover, .top:active {
    opacity:1;
}

#footer{
  border-top: 1px solid #000;
  min-height: 4.5em;
  height: auto;
  width: 100%;
  background-color: #0F0F0F;
  padding-bottom: 1px;
}


#footer .footer_cont ul
{
margin: 10px;
padding: 10px;
list-style-type: none;
text-align: center;
}

#footer .footer_cont ul li:nth-child(2){
border-left: 1px solid white;
border-right: 1px solid white;
}

#footer .footer_cont ul li { display: inline; }

#footer .footer_cont ul li
{
    display: inline-block;
    text-decoration: none;
    padding: .5em 1.5em;
    color: #FFF;
    white-space: nowrap;
}

#footer .footer_cont ul li a:hover
{
color: #fff;
background-color: #369;
}