body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td, html,body { 
	margin:0;
	padding:0;
}
fieldset,img { 
	border:0;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
body{
	font-family: 'Open Sans', sans-serif;
}

.slideshow,
.slideshow:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; 
}

.slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 1;
    z-index: 0;
	  -webkit-backface-visibility: hidden;

    /*animation: imageAnimation 40s linear infinite 0s; */
}
.slideshow li:nth-child(1) span { 
    background-image: url(../img/1.jpg);
}
.slideshow li:nth-child(2) span { 
    background-image: url(../img/2.jpg);
    animation-delay: 10s; 
}
.slideshow li:nth-child(3) span { 
    background-image: url(../img/3.jpg);
    animation-delay: 20s; 
}
.slideshow li:nth-child(4) span { 
    background-image: url(../img/4.jpg);
    animation-delay: 30s; 
}

@media screen and (orientation:portrait)
{

  .slideshow li:nth-child(1) span { 
      background-image: url(../img/1_p.jpg);
  }
  .slideshow li:nth-child(2) span { 
      background-image: url(../img/2_p.jpg);
  }
  .slideshow li:nth-child(3) span { 
      background-image: url(../img/3_p.jpg);
  }
  .slideshow li:nth-child(4) span { 
      background-image: url(../img/4_p.jpg);
  }
}
/*
@-webkit-keyframes imageAnimation { 
    0% { opacity: 0;
    -webkit-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -webkit-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-moz-keyframes imageAnimation { 
    0% { opacity: 0;
    -moz-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -moz-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-o-keyframes imageAnimation { 
    0% { opacity: 0;
    -o-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -o-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@-ms-keyframes imageAnimation { 
    0% { opacity: 0;
    -ms-animation-timing-function: ease-in; }
    8% { opacity: 1;
         -ms-animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes imageAnimation { 
    0% { opacity: 0;
    animation-timing-function: ease-in; }
    8% { opacity: 1;
         animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
*/
.no-cssanimations .slideshow li span{
	opacity: 1;
}


div.main {
  width: 560px;
  margin: 0 auto;
  z-index:99999;
  position: relative;
}

div.main * {
  color: #ffffff;
}

div.main img.logo {
  margin: 20px 0;
}

div.main h3, div.main h4 {
  font-weight: bold;
  font-size: 24px;
  font-style: italic;
  margin-bottom: 20px;
}

div.main p {
  font-size: 16px;
  line-height: 20px;
}

div.main p.contact {
  font-size: 12px;
  line-height: 16px;
}


div.main h4 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 16px;

}

div.main a {
  text-decoration-style: dotted;
  text-decoration: underline;
}

div.main a:hover {
  text-decoration: none;
}

section {
  background-color: rgba(0, 0, 0, 0.5) !important;
  border-radius: 3px;
  padding: 20px;
}


@media only screen and (max-width: 600px) {
  div.main img.logo {
    margin: 20px;
  }

  div.main {
    width: 100%;
    margin: 10px auto;
  }

  section {
    margin: 20px;
  }

}