body {
    font-family: 'Verdana', sans-serif;
    font-size: 16px;
    padding: 0px;
    margin: 0px;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

a {
    text-decoration: none;
    color: #00aeef;
    transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
}

a:hover {
    color: #fff;
    transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
}

h1 {
    color: #00aeef;
}

h2 {
    margin-top: 0px;
    padding-top: 0px;
}

p {
    text-align: justify;
}

header {
    width: 100%;
    height: 500px;
    background: url(../images/header.jpg) no-repeat center center;
    background-size: cover;
    color: #fff;
    position: relative;
}

.container {
    width: 960px;
    margin: 0px auto;
}

nav {
    background: rgba(0,0,0,0.9);
    text-align: right;
    padding: 40px 20px 40px 0px;
}

nav a {
    padding-right: 50px;
    font-weight: bold;
}

.member, .member2 {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.member img {
    float: left;
    margin-right: 30px;
}

.member2 img {
    float: right;
    margin-left: 30px;
}

.clearfix {
    clear: both;
}

#logo {
    height: 80px;
    width: auto;
    padding: 10px 0px 7px 0px;
    position: absolute;
}

#logomobile {
    display: none;
}

.gall {
    width: 960px;
    height: 540px;
    margin: 0px 0px 10px 0px;
    overflow: hidden;
}

.gall1, .gall2 {
    width: 475px;
    height: 280px;
    float: left;
    overflow: hidden;
}

.gall1 {
    margin: 0px 5px 10px 0px;
}

.gall2 {
    margin: 0px 0px 10px 5px;
}

.gall img, .gall1 img, .gall2 img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.wrapper, .wrapper2 {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom:56.25%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.wrapper2 {
    padding-bottom:7.5%;
    min-height: 100px;
}

.wrapper iframe, .wrapper2 iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left:0px;
    overflow: hidden;
}

footer {
    text-align: center;
    font-weight: bold;
}

footer h1 {
    text-align: left;
}

footer img {
    width: 32px;
    height: 32px;
}

footer a img {
    width: 64px;
    height: 64px;   
    margin: 50px; 
    transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
}

footer a img:hover {
    transform:rotate(360deg);
    -moz-transform:rotate(360deg);
    -webkit-transform:rotate(360deg);
    transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
}

span {
    vertical-align: top;
    margin-top: 5px;
    display: inline-block;
}

#breakmob {
    display: none;
    visibility: hidden;
}

.holder {
    width: 640px;
    height: auto;
    margin: 0px auto;
}

.diy-slideshow{
  position: relative;
  display: block;
  overflow: hidden;
}
figure{
  position: absolute;
  opacity: 0;
  transition: 1s opacity;
}
figcaption{
  position: absolute;
  font-family: sans-serif;
  font-size: .8em;
  bottom: .75em;
  right: .35em;
  padding: .25em;
  color: #fff;
  background: rgba(0,0,0, .25);
  border-radius: 2px;
}
figcaption a{
  color: #fff;
}
figure.show{
  opacity: 1;
  position: static;
  transition: 1s opacity;
}
.next, .prev{
  color: #fff;
  position: absolute;
  background: rgba(0,0,0, .6);
  top: 50%;
  z-index: 1;
  font-size: 2em;
  margin-top: -.75em;
  opacity: .3;
  user-select: none;
}
.next:hover, .prev:hover{
  cursor: pointer;
  opacity: 1;
}
.next{
  right: 0;
  padding: 10px 5px 15px 10px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.prev{
  left: 0;
  padding: 10px 10px 15px 5px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

@media (max-width: 990px) {
    header {
    height: 420px;
}
.container {
    width: 750px;
}
.gall {
    width: 750px;
    height: 420px;
}

.gall1, .gall2 {
    width: 370px;
    height: 200px;
}

.holder {
    width: 100%;
}
    }

@media (max-width: 768px) {
    header {
    height: 360px;
}
nav a {
    padding-right: 10px;
    font-weight: bold;
}
.container {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}
.gall, .gall1, .gall2 {
    width: 100%;
    height: 100%;
    margin: 0px;
}
footer a img {
    width: 32px;
    height: 32px;
    margin: 15px;
}
#breakmob {
    display: block;
}
#logo {
    display: none;
}
#logomobile {
    display: block;
    width: 160px;
    height: auto;
    bottom: 50px;
    position: absolute;
    left: 50%;
    transform:translateX(-50%);
}

p {text-align: left;}
    }

@media (max-width: 480px) {
  nav a {
    display: block;
    padding-bottom: 30px;
  }
}