

body {
  font-family: tahoma, verdana, arial,"lucida grande";
}


 /*--------Header--------*/
header {
  display: flex;
  flex-direction: column;
  z-index: 9998;
  width: 100vw;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
}

.logo {
  height: 54px;
  width:156px;
}

.topline {
  height: 5px;
  background-color: #8DC53E;
}

.topline2 {
  height: 1px;
  background-color: #d5d9d4;
}

/*--------menu start---------*/
nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  background-color: white;
  z-index: 9999;
  width: 100vw;
  height: 75px;
  margin: 10px;
}

nav div {
  margin-right: 30px;
}

.navbar {
  display: grid;
  position: fixed;
  grid-template-columns: auto;
  grid-template-rows: 5px 100px 1px;
  background-color: white;
  width: 100vw;
}


.leftnav {
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  min-width: 160px;
  width: 160px;
  flex-grow:  1;
  margin-bottom: 10px;
  margin-left: 10px;
}

.rightnav {
  display:flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 600px;
  justify-content: space-between;
  margin-bottom: 20px;
  margin-right: 20px;
  font-size:1.1em;
  color:black;
}

.rightnav a {
  text-decoration: none;
  color: black;
  text-align: center;
}

.rightnav a:hover {
  color: #8DC53E;
}
/*--------menu end---------*/

/*--------banner start--------*/
.banner {
  height: 240px;
  width: 100vw;
  margin-bottom: 30px;
  padding: 30px;
  display: flex;
  align-items: flex-end;
  color: white;
  background: url('../img/banner.jpg') center #333 no-repeat;
  background-size: cover;
  text-shadow: 0px 0px 5px #000;
}

.banner-text {
  /*margin-right: 60px;*/
  font-family: Helvetica, Arial,sans-serif;
  font-weight: bold;
  font-size: 7vw;
}
/*--------banner end--------*/

/*--------Footer start---------*/
footer {
  display: flex;
  flex-direction: column;
  width: 100vw;
}

.social_media {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  height: 50px;
  background-color: grey;
}

.flex_space {
  flex-grow: 1;
}

.social_media a {
  text-decoration: none;
}

.social_media_bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  height: 50px;
  width:200px;
  justify-content: space-between;
}

.facebook {
  width:24px;
  height:24px;
  background: url('../img/001-facebook.png') center grey no-repeat;
  background-size: cover;
}

.facebook:hover {
  width:24px;
  height:24px;
  background: url('../img/002-facebook-1.png') center grey no-repeat;
  background-size: cover;
}

.twitter {
  width:24px;
  height:24px;
  background: url('../img/003-twitter.png') center grey no-repeat;
  background-size: cover;
}

.twitter:hover {
    width:24px;
  height:24px;
  background: url('../img/004-twitter-1.png') center grey no-repeat;
  background-size: cover;
}

.flickr {
  width:24px;
  height:24px;
  background: url('../img/006-flickr.png') center grey no-repeat;
  background-size: cover;
}

.flickr:hover {
    width:24px;
  height:24px;
  background: url('../img/007-flickr-1.png') center grey no-repeat;
  background-size: cover;
}

.footer_bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  height: 50px;
  background-color: black;
  color:white;
  font-size: 0.8em;
}

.footer_nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  width:250px;
  justify-content: space-between;
}

.footer_nav a {
  text-decoration: none;
  color: white;
}

.footer_nav a:hover {
  color: #8DC53E;
}

/* -----Footer end--------- */
/*nav {
  height: 75px;
  width:80%;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-end;
  margin-bottom: 30px;
}
*/



/*-------------Main start---------------*/

main {
  width:90vw;
  max-width: 1220px;
  margin:auto;
  z-index: 10;
}

main h3 {
  color: #8DC53E;
  font-size: 2.5vw;
  font-weight: bold;
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 20px;
  padding-top:5px;
}

main div p {
  padding-left: 60px;
  padding-right: 60px;
  line-height: 20px;
}

.flex-container-asc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content:flex-start;
  text-align: left;
  margin-left: 10px;
  margin-right: 10px;
}

.flex-container-dsc {
  display: flex;
  flex-flow: row-reverse;
  flex-wrap: wrap;
  align-items: center;
  justify-content:flex-end;
  text-align: right;
  margin-left: 10px;
  margin-right: 10px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content:center;
  text-align: center;
  background: white;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 10px;
  width: calc(100% - 20px);
  justify-content: space-between;
}

.flex-container h3 {
  color: white;
  padding-top:5px;
  padding-left: 30px;
  padding-right: 30px;
}

.flex-container p {
  color: white;
  padding-left: 30px;
  padding-right: 30px;
}

.events {
  width:32%;
  height:200px;
  background: #69bfd2; /* Old browsers */
  background: -moz-linear-gradient(left, #69bfd2 0%, #4096ee 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #69bfd2 0%,#4096ee 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #69bfd2 0%,#4096ee 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.course {
  width:32%;
  height:200px;
  background: #ea8f49; /* Old browsers */
  background: -moz-linear-gradient(-45deg, #ea8f49 0%, #d84a27 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, #ea8f49 0%,#d84a27 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, #ea8f49 0%,#d84a27 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}


.membership {
  width:32%;
  height:200px;
  background: #e54c45; /* Old browsers */
  background: -moz-radial-gradient(center, ellipse cover, #e54c45 0%, #c23333 74%, #cc2e21 87%, #de5c63 100%); /* FF3.6-15 */
  background: -webkit-radial-gradient(center, ellipse cover, #e54c45 0%,#c23333 74%,#cc2e21 87%,#de5c63 100%); /* Chrome10-25,Safari5.1-6 */
  background: radial-gradient(ellipse at center, #e54c45 0%,#c23333 74%,#cc2e21 87%,#de5c63 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}


.flex-child1 {
  width:50%;
}

.flex-child-text1 {
  width:50%;
}

.flex-img {
  width: 100%;
}

.flex-child2 {
  width:30%;
}

.flex-child-text2 {
  width:30%;
}

.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  border-radius: 5px;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  background-color: white; 
  color: black; 
  border: 2px solid #4CAF50;
}

.button1:hover {
  background-color: #4CAF50;
  color: white;
}
/*-------------Main end---------------*/

@media (min-width: 700px) {
  .banner-text {
    font-size: 60px;
  }
}

@media (min-width: 700px) and (max-width: 915px) {
    .rightnav {
      display:flex;
      justify-content: center;
      align-items: flex-end;
      flex-direction: row;
      flex-wrap: nowrap;
      width: 400px;
      justify-content: space-between;
      margin-bottom: 20px;
      margin-right: 20px;
      font-size:1em;
      color:black;
  }
}

@media (max-width: 699px) {
  .flex-child1 {
    width:100%;
  }

  .flex-child-text1 {
    width:100%;
  }

  nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    background-color: white;
    z-index: 9999;
    width: 100vw;
    height: 90px;
    margin: 5px;
  }

  .rightnav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    font-size:1em;
    margin-top: 5px;
    margin-bottom: 0px;
    height:90px;
    width:120px;
    max-width: 120px;
  }

  .rightnav a {
    padding: 0px 0px;
    text-align: left;
  }

/*  nav div {
  margin-right: 5px;
}*/

.flex-container-dsc {
  text-align: left;
}

.flex-container {
  padding: 0px;
}

  .events{
    width:100%;
    height: 150px;
  }

  .course {
    width:100%;
    height: 150px;
  }

  .membership {
    width:100%;
    height: 150px;
  }

  main h3 {
  font-size: 1.2em;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
}

main div p {
  padding-left: 20px;
  padding-right: 20px;
  line-height: 20px;
}

}



.back { 
  margin-right: 20px;
  margin-bottom: 20px;
  text-align: left;
  align-items: flex-start;
}

.back a {
  text-decoration: none;
  color: red;
  font-size: 2em;
}

.back a:hover {
  color: black;
}



