body  { margin:0; font-family:serif; overflow-x:hidden; }
body, header, nav { width:100%; }
header { min-height:200px; }
header section {position:relative; margin:40px 0 0; min-height:200px; overflow:hidden;}
header img { width:100%; }
header > div:first-child { position:fixed; top:0; display:block;	height:40px; background-color:black; z-index:1; }
header button { position:fixed; top:5px; left:5px; display:block; outline:none; border:0; width:100%; height:30px; font-size:17px; cursor:pointer; background:url('data:image/svg+xml;utf8,<svg width="50" height="10" xmlns="http://www.w3.org/2000/svg"><path d="M1,5 H30" stroke="white" stroke-width="3" /></svg>') black repeat-y center}
header div:first-child, nav a, nav a:last-child { width:100%; }
nav { position:fixed; top:0px; z-index:1; margin-top:40px; padding:0; height:0; background-color:rgba(0,0,0,0.6); overflow:hidden; opacity:0; }
nav.active-nav { height:auto; opacity:1; }
nav a { margin:0; border-bottom:1px solid lightgray; padding:10px 0; width:100%; color:#fff; text-decoration:none; }
nav a, article { display:block; text-align:center; }
nav a:hover { background-color:lightgray; color:black; }
nav a, main { margin:auto; }
.slideshow > div {  position:absolute; left:0; width:100%; height:auto; transition:left 4s, opacity 4s;  }
.prev  {left:-100%; opacity:0;}
.active {left:0;}
.next  {left:100%; opacity:0;}
.text { position:absolute; height:83px; bottom:-84px; display:block;width:100%; text-align:center;}
.text h2, .text p { margin:13px 0 13px 0; padding:0; }
.text h2 { font-size:15px; }
.text p { font-size:12px;  }
article.dots { position:absolute; right:20px; bottom:0px; z-index:0; }
.dot { display:inline-block; margin:0 5px 0 0;  border-radius:50%; border:1px solid black; width:10px; height:10px;margin:10px; background-color:#808080; }
.dot.active { background-color:#fff; }
.dot:first-child { width:10px; }
/*.space-section { display:block; }*/
main { width:100%; }
main p {font-size:20px; margin:15px 0;}
main h1 {font-size:25px; padding:0 20px; margin:50px 0; text-align: center; font-family: serif;}
main h3:first-child {margin-top:0px;}
.us-pic {position: fixed; bottom: 0; right: 20px;}
.us-pic:hover {opacity: 1;}
h1, h2 { margin:15px 0px;}
section, em { display:block; }
section { margin:50px 0; width:100%; text-align:center; }
section section {margin:0;}
em { margin:15px 0; font-size:18px; }
article > h3:first-child, article > p:first-child { margin:15px 0; padding:0px; }
.about-us h1 { font-size:25px; }
section.members article,  section.events article   {
margin:0px auto 50px; border: 1px solid silver;border-radius:5%; max-width:255px; box-shadow: 0 0 10px gray;}
section.members article { min-height:260px; }
section.members article img  {width:150px; border: 1px solid gray;}
section.rule div { height:0; overflow:hidden; opacity:0; transition:opacity 1s ease; }
.rule article { text-align:left; }
.rule div.active { height:100%; opacity:1; }
.rule button { border:0; width:200px; height:50px; font-size:17px; background-color:lightblue; cursor:pointer; }
.events p	{ text-align:center; margin-bottom:0px; }
section.events article { margin:0 auto 50px; padding:10px 0px;  float:none; max-width:255px;  min-height:307px; }
section.events::after	{content:""; display:block; clear:both; }
.events p { padding:0px 5px; width:95%; }
.events h3:first-child { margin:0; font-size:18px; }
.events em { margin-top:15px; }
.events img { width:90%; }
section.contact { margin:50px auto; }
section.contact h2,.contact em, footer { text-align:center; }
.contact article { display:block; width:100%; min-height:90px; }
.contact input { display:block; margin:15px auto; }
.contact input:last-child { border:1px solid black; padding:5px; font-size:15px; color:white; background-color:black; }
.contact input:last-child:hover, .contact input:last-child:active { color:black; background-color:white; cursor:pointer; }
.contact i { display:block; margin:15px 0; font-style:normal; font-size:20px; text-align:center; }
textarea { max-width:180px; width:50%; height:200px; resize:none; }
.google-map { display:block; width:100%; height:400px;}
footer {background-color:black; color:white;}
footer p {margin:0;font-size:20px;}
/*Image slider*/
.modal {display:none;width: 100%; height: 100%; position: fixed; top: 0; background: rgba(0,0,0,.7);text-align:center;z-index: 1;}
.modal::before {content:""; display: inline-block;vertical-align: middle;height: 100%;}
.modal.open {display:block; left: 0;}
.showImg {display: block;}
.img1cl {vertical-align: middle;border-radius:5px;max-height:90%;max-width:70%; min-width: 300px;}
.hide {display: none;}
.closer {position: absolute; top: 6%; right: 2%; cursor: pointer; width: 30px;}
.l-arrow {margin-right: 0; cursor: pointer;}
.r-arrow {margin-right: 0; cursor: pointer;}
.small-img {cursor: pointer;}
.main-central-div {width: 570px;  display: inline-block; position: relative;}
.left-div {cursor: pointer; width: 200px; height: 400px; display: inline-block; position: absolute;}
.right-div {cursor: pointer; width: 200px; height: 400px; display: inline-block; position: absolute; left: 50%;}
@media screen and (min-width:640px) {
   section.events article { display:block; width:50%; margin:50px auto;}
   main {width:65%;}
   main h1 {font-size:30px;}
  .text h2 { font-size:20px; }
  .text p { font-size:15px; }
}
@media screen and (min-width:960px) {
  .text h2 { font-size:25px; }
  .text p { font-size:20px; }
  main h1 {font-size:35px;}
  main {width:100%;}
  .slideshow  { margin-top:50px; }
  header section { margin:0; }
  header button { display:none; }
  nav	{ margin:0; padding:5px; background-color:black; height:40px; z-index:1; opacity:1; }
  nav.active-nav { height:40px; }
  nav a { margin:0; width:15%; border:0; color:#fff; text-decoration:none; }
  nav a:last-child { width:15%; }
  nav a, article { display:inline-block; text-align:center; }
  section.members article  { display:inline-block; margin:0 25px; width:50%; }
  section.contact article {display:inline-block; margin:0 25px; width:25%;}
  section.members section, section.contact section, section.events section 
  { display:inline-flex; justify-content:center; align-items:flex-start; margin:0; }
  section.members article, section.events article { margin:0 15px; }
  section.events article { display:inline-block; width:30%; }
  section.contact article {  order:1; }
  section.contact { display:flex; flex-direction:column; }
  .contact article {text-align:left; }
  .contact h2 { margin:0; }
  .contact input { margin:8px 0; }
  textarea {width:100%; max-width:260px;}
  .google-map {width:100%;}
}

@media screen and (min-width:998px) {
  /*section.members article, section.events article {margin: 0 50 0 50;}*/
  section.events article { min-height:325px; }
}

@media screen and (min-width:1280px) {
  .mid-resp-pic {margin: 0 0 0 0;}
  p, em, i { font-size:20px; }
  section.members article { min-height:262px; }
  main {width:65%;}
  /*section.members article img { margin-top:23px;}*/
  section.events article { min-height:320px; }
  header section { min-height:700px;}
  section.members section, section.contact section, section.events section {margin:0 0 50px;}
}
@media screen and (min-width:1600px) {
  textarea { float:left; }
  textarea::after {content:""; display:block; clear:both; }
}
