*{margin:0; padding:0; font-family: nunito sans;}
*:focus {
	outline: none;
}
a{
    text-decoration: none;
    color: black;
}
#home{
    display: inline-block;
    min-height: calc(100vh - 100px);
    margin-top: 50px;
}

#menu{
    width: 100%;
    height: 50px;
    background-color: white;
    position: fixed;
    top:0;
    transition:.5s;
    overflow: hidden;
    z-index: 6;
}

#menu img{
    width: 50px;
    height: 50px;
    margin: 0 30px;
    float: left;
}

#menu-opt{
    display: inline-block;
    margin-top: 25px;
}

#menu a{
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 10px;
    color: black;
}

#menu a:hover{
    text-decoration: underline;
    text-decoration-color: #ffb245;
}

#phone-menu{
    width: 100%;
    height: 0vh;
    background-color: white;
    z-index:12;
    display: none;
    position: fixed;
    top:0;
    overflow: hidden;
    transition: .3s;
}


#phone-menu a{
    display: block;
    margin-top: 15px;
    text-transform: uppercase;
    color:black;
    margin-left:50px;
}

#admin #phone-menu a{
    margin-top:20px;
}
#phone-menubar,#admin #menubar{
    height: 40px;
    width: 100%;
    position: fixed;
    top:0;
    background-color: white;
    display: none;
    z-index:10;
}
#admin #menubar{
    display: inline-block;
}

#phone-menubar img,#admin #menubar img{
    height:40px;
    float:left;
    margin-left: 20px;
}

#admin #menubar a{
    font-size:30px;
    float:right;
    margin-right: 20px;
    color: #ffb245;
    cursor: pointer;
    margin-top: 5px;
}




#phone-menubar i,#phone-menu i{
    font-size:30px;
    float:right;
    margin-right: 20px;
    color: #ffb245;
    cursor: pointer;
    margin-top: 5px;
}



#header{
    display: inline-block;
    width: 100%;
    height: auto;
    background-image: linear-gradient(to bottom right, white,#ffb245 );
    padding-bottom: 10px;
}

#header img{
    width: 10%;
    margin-top: 10px;
}

#header h2{
    text-transform: uppercase;
    font-size: 30px;
}

#egi{
    width: 100%;
    display: inline-block;
}
#events{
    width:48%;
    margin: 10px 2%;
    float: left;
}

#events h3,#get-involved h3{
    margin: 20px 0px;
    text-transform: uppercase;
}

#event-cover{
    display: inline-block;
    width:96%;
}
hr{
    margin-bottom: 5px;
}
#event-date{
    width:25%;
    text-transform: uppercase;
    margin-bottom: 10px;
}
#event-details{
    width:100%;
    color: #171819;
    display: inline-block;
}
#event-details p{
    text-align: justify;
    margin-bottom: 5px;
}
#cat-loc{
    display: inline-block;
    width: 100%;
}
#event-details i{
    float: right;
    color:#ffb245;
}

#e-category{
    float: left;
    margin-bottom: 5px;
    color:#ffb245;
}

#event-details span{
    margin-left: 5px;
    color:black;
}


#e-time{
    color: #171819;
}


#event-menu button{ 
    padding: 5px;
    border: 1px solid #ffb245;
    border-radius: 3px;
    background-color: white;
    color: black;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    margin:3px;
}
#event-menu button:hover{ 
    background-color:#ffb245 ;
}

#admin #add{
    margin-top: 20px;
}



#all-events-cover #events{
    width: 96%;
}

#all-events-cover #event-date{
    width:100%;
}
#all-events-cover #event-details{
    width:100%;
}


#main-pages #events img{
    width: 15%;
    margin-top: 10px;
    background-image: linear-gradient(to bottom right, white,#ffb245 );
}
#event-imganddate{
    display: inline-block;
    width: 83%;
    margin-left: 1%;
}


#see-all{
    text-transform: uppercase;
    margin: 10px 0px;
}
#see-all i{
    border: 1px solid#ffb245;
    border-radius:100%;
    padding:2px 5px;
    color: #ffb245;
}

#about #see-all i{
    border: 1px solid black;
    color:black;
}

#about #see-all{
    text-transform: uppercase;
    margin: 20px 2%;
}
#see-all p{
    display: inline-block;
    margin-left: 5px;
}


#get-involved{
    width: 40%;
    float: left;
}

#get-involved span{
    color: #ffb245;
    text-decoration: underline;
}

#egi{
    margin-bottom: 30px;
}
#get-involved-options{
    margin-top: 20px;
}

.collapsible {
    background-color:  #ffb245;
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 13px;
    font-weight:bold;
    text-transform: uppercase;
    }

    .active, .collapsible:hover {
    background-color:  #ffa01c;
    }

    .collapsible:after {
    content: '\002B';
    color: black;
    font-weight: bold;
    float: right;
    margin-left: 5px;
    }

    .active:after {
    content: "\2212";
    }

    .content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
    margin-bottom:5px;
    }




#about{
    width: 100%;
    background-color:#ffb245 ;
    padding:10px 0px;
    display: inline-block;
}

#about h2,#photo-gallery h2,#footer h2,#products-services h2,#about-yoruba-culture h2{
    text-transform: uppercase;
    font-size: 45px;
    margin: 10px 2%;
}

#about-content,#past-pres,#current-exec{
    margin: 10px 2%; 

}
#past-pres,#current-exec{
    margin-bottom: 15px;
    display:inline-block;
    width:90%;
}

#past-pres{
    margin-top: 25px;       
}
#past-pres span{
    font-size: 10px;
}

#about-content #vision,#about-content #mission-statement{
    width: 48%;
    display: inline-block;
    float:left;
    margin-right: 1%;
}

#about-content #constitution{
    display: inline-block;
    width: 96%;
}
#about-content #constitution a{
    margin:10px 0px;
    color: black;
}

#about-content #constitution p{
    margin-bottom:10px;
}




#about h3,#media h3,#about-yoruba-culture h3{
    text-transform: uppercase;
    font-size: 18px;
    margin: 10px 0px;
    color: white;
}

#media h3,#about-yoruba-culture h3{
    color:black;
}

#about-content p{
    color: black;
    text-align: justify;
}


.exec-img {
    display: inline-block;
    float:left;
    width: 10%;
    margin-bottom: 5px;
    margin-right: 20px;
    min-height:200px;
}

.exec-img img{
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
    border-radius: 100%;
}

#exec-date{
    font-size: 14px;
    font-weight: lighter;
    color:black;
}
#exec-name{
    color: black;
}

#ayc-cover{
    margin: 10px 2%;
}



#media{
    background-color: rgb(228, 228, 228);
    display: inline-block;
    width:100%;
}



#history p{
    margin-bottom: 10px;
}

   
#gallery{
    margin: 10px 2%;
    width: 48%;
    float: left;
}

#gallery p{
    margin-top: 10px;
    margin-bottom: 5px;
}
#main-pages #gallery{
    width: 96%;
    display: inline-block;
}
#main-pages{
    width: 100%;
    display: inline-block;
    margin-top: 50px;
    min-height: calc(100vh - 250px);
}
#main-pages #header{
    height: auto;
}

#main-pages #header img{
    margin-top: 10px;
}

.row{
    width:100%;
}
.column{
    width:98%;
    margin-right:2%;
    float:left;
}
.column img{
    height:300px;
    margin-left:7px;
    margin-bottom:10px;
    cursor:pointer;
}





#news{
    margin: 10px 0%;
    width: 45%;
    float: left;
}

#main-pages #news{
    display:inline-block;
    margin: 10px 2%;
    width: 96%;
}

#just-in{
    width: 40%;
    float: left;
}

#mainnews #just-in{
    width: 100%;
}

#other-news{
    width: 56%;
    float: left;
    margin-left: 2%;
}

#main-pages #news{
    margin: 10px 2%;
    width: 96%;
}

#news h4{
    text-transform: uppercase;
    font-size: 14px;
    padding: 10px 0px;
    color: black;
    background-color: #ffb245;
    width: 100%;
    margin-bottom:10px;
}

#news-c{
    display: inline-block;
}

#contact-info a{
color: #ffb245;
}

#news-c a{
    font-size: 14px ;
    color: black;
    text-decoration: underline;
    text-decoration-color: #ffb245;
    float: right;
    margin-top:4px;
}

#news-date{
    float:left;
}

#news-c p{
    text-align: justify;
}
#news img{
    background-image: linear-gradient(to bottom right, white,#ffb245 );
}
#just-in img{
    width: 100%;
    height: auto;
}
#mainnews img{
    width:40%;
}

#news h5{
    font-size: 16px;
    margin:5px 0;
}

#news p{
    font-size: 14px;
    margin:5px 0;
}



#other-cover{
    width: 100%;
    display: inline-block;
}

#other-cover img{
    width: 25%;
    float: left;
    margin-top: 10px;
    margin-right: 1%;
}

#oth-details{
    width: 73%;
    float: left;
}

#images{
    padding-bottom: 5px;
}

#images img{
    width: auto;
    height: 130px;
    margin-right:1% ;
    border-radius: 3px;
    cursor: pointer;
}

#img-overlay{
    position:fixed;
    top:0;
    left:0;
    width: 100%;
    height:100vh;
    background-color: rgba(0,0,0,0.9);
    z-index: 40;
    display: none;
}
#img-overlay img{
    max-width: 100%;
    max-height: 80vh;
    min-height: 70vh;
    position:absolute;
    top:50%;
    right:50%;
    transform:translate(50%,-50%);
}

#img-overlay i{
    color: white;
    margin-left: 50px;
    font-size: 35px;
    margin: 10px;
    display: block;
    cursor: pointer;
    float: right;
}

#ps-cover{
    display: inline-block;
    width: 96%;
    margin: 10px 2%;
}

#ps{
    width: 31%;
    margin-right: 2%;
    margin-bottom: 10px;
    float:left;
}

#ps img{
    width: 60%;
    height: auto;
    border-radius: 3px;
}

#ps p{
    color: black;
    margin: 5px;
    font-size: 13px;
    font-weight: bold;
}

#ps h4{
    text-transform: uppercase;
}



#scroll-btn{
    display: none;
    transition: 1s;
    cursor: pointer;
}
#scroll-btn i{
    color: black;
    background-color: white;
    font-size: 25px;
    padding: 7px;
    border-radius: 3px;
    box-shadow: 0px 0px 10px gray;
    position: fixed;
    bottom:50px;
    right: 50px;
}
#scroll-btn i:hover{
    color: darkgray;
    transition: .3s;
}






#footer{
    display: inline-block;
    width: 100%;
    padding: 15px 0px;
    color: white;
    background-color: black;
}

#top{
    display: inline-block;
}

#contact-us,#contact-info{
    float: left;
    width: 45%;
    margin:10px 2%;
}

#contact-us input,#contact-us textarea{
    display: block;
    border: none;    
    padding: 5px;
    background:#171819;
    font-size: 15px;
    border-radius: 3px;
    margin: 5px 0px;
    width: 50%;
    height: 35px;
    color: white;
    font-weight: lighter;
}

#contact-us textarea{
    height: 60px;
}

#contact-us button,#mainlogin button,#add button,#about-content #constitution button,#memform button,#sch-btn{
    font-weight: bold;
    width: 120px;
    padding: 7px 0px;
    margin:5px 0px;
    cursor: pointer;
    border: none;
    border-radius:3px ;
    background:#ffb245;
    color: white;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#about-content #constitution button,#memform button,#sch-btn{
    width:auto;
    background:black;
    color: #ffb245;
    padding: 7px 5px;
}

#footer p{
    font-weight: lighter;
    margin: -15px 0px 10px 2%;
}
#footer i{
    color: #ffb245;
    font-size: 20px;
    margin-bottom: 10px;
}

#footer span{
    font-weight: lighter;
    color: darkgray;
    margin-left: 10px;
}

#sc{
    margin-top: 20px;
}
#sc i{
    margin-right: 10px;
    font-size: 30px;
    color: white;
    border-radius: 100%;
}

#login{
    margin-left:  20% ;
    margin-top: 100px;
    display: inline-block;
    width: 60%;
    height:400px;
    background-color: black;
}

#loginimg{
    width: 50%;
    height: auto;
    float:left;
}

#mainlogin{
    width: 50%;
    color: white;
    float:left;
}
#mainlogin h3{
    color:white;
    font-weight: lighter;
    margin-top: 100px;
    margin-bottom: 20px;
}



#mainlogin input,#admin #add input,#admin #add textarea,#add .select{
    display: block;
    border: none;    
    padding: 5px;
    background:#171819;
    font-size: 15px;
    border-radius: 3px;
    margin: 5px 0px;
    width: 50%;
    height: 35px;
    color: white;
    font-weight: lighter;
}

#admin #add textarea{
    height: 60px;
}

#admin #add input,#admin #add textarea,#add .select{
    background:#dadada;
    color: black;
    width: 30%;
}

#add .select2{
    border:none;
    border-bottom:1px solid black;
    background-color: #dadada;
    padding: 10px;
    width: 30%;
    margin: 10px 10px;
    text-transform: uppercase;
}

#logout{
    font-weight: bold;
    width: auto;
    padding: 5px 3px;
    margin:10px;
    margin-bottom: 0px;
    float:right;
    cursor: pointer;
    border: 1px solid #ffb245;
    border-radius:3px ;
    background:#ffb245;
    color: white;
}

#admin #add{
    margin-top: 18vh;
}

#add h3{
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 10px;
}

#m-contain{
    margin-left:2% ;
    width:96%;
}

#m-contain a{color:black}

#m-contain i{
    margin-right: 5px;
    color:#fddf4a;
}


.mySlides {display: none}
.mySlides img {
    width: 100%;
}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  display: inline-block;
}

/* Next & previous buttons */
.prev, .next {
    display: inline-block;
  cursor: pointer;
  width: auto;
  padding: 16px;
  margin-top: -60px;
  position: relative;
  top:-350px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px 0px 0px 3px;
  user-select: none;
  z-index: 7;
  background-color: rgba(0,0,0,0.6);
}
.prev{
    float:left;
}
.next{
    float: right;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .2} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .2} 
  to {opacity: 1}
}

#slideshow-whole{
    width: 100%;
    display: inline-block;
}


.dropbtn{
    cursor: pointer;
}


.dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: fixed;
    background-color: #f1f1f1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
    z-index: 6;
  }
  
  #gallery .dropdown-content {
    position: relative;
  }
  #gallery .dropdown{
      height:30px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
      padding:5px;
      margin-top:10px;
      margin-bottom:10px;
  }
  #gallery .dropdown i{
      margin-left:5px;
  }
  
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {background-color: #ddd;}
  
  .dropdown:hover .dropdown-content {display: block;}





  
table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
  }
  
  td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
  }
  th{
      text-transform: uppercase;
  }
  tr:nth-child(even) {
    background-color: #dddddd;
  }

  #user-acc{
      float:right;
      margin: 0;
  }
  

  #user-acc button{
    font-weight: bold;
    width: auto;
    padding: 3px 3px;
    margin:9px;
    margin-bottom: 0px;
    float:right;
    cursor: pointer;
    border-radius:3px ;
}

#user-acc button{
    margin-top:20px;
}

#phone-menubar #user-acc button{
    margin-top:8px;
}


  #signup{
    border: 1px solid #000;
    background:#000;
    color: #fff;
  }
  #signup:hover{
    color: #ffb245;
  }
  #mlogin{
    border: 1px solid #fff;
    background:#fff;
    color: black;      
  }
  #mlogin:hover{
      background-color: #ffb245;
  }

  #admin #menu-opt{
      font-size:13px;
      margin-right: 2px;
  }

.in-img{
    width:30%;
    margin-right: 2%;
    margin-top:10px;
}




#advert{
    display:inline-block;
    width:100%;
}
#advert img{
    padding-top:10px ;
    padding-bottom:10px ;
    max-width:70%;
    height:500px;
}

#schwin-section{
 display:inline-block;
 width:100%;
}

#schlr-img{
    width:30%;
}

#schlr-winner span{
    font-weight:bold;
    font-size:23px;
}
























@media only screen and (max-width: 1000px) {
   #menu{display:none}
   #phone-menu,#phone-menubar{
       display: inline-block;
   }
   #phone-menu a{
        font-size:12px;
    }
   #contact-us,#contact-info{
    width: 96%;
    margin:10px 2%;
    }
    #contact-us input,#contact-us textarea{
        width: 100%;
    }
    #scroll-btn i{
        bottom:30px;
        right: 30px;
    }

    #home #header{
        height: auto;
        padding-bottom: 10px;
    }
    #header img{
        width:30%;
    }
    #header h2{
        font-size:20px;
    }
    

    #about-content div{
        width: 98%;
        display: inline-block;
        margin-right: 1%;
    }

    #about-content #vision,#about-content #mission-statement,#about-content #constitution{
        width: 98%;
        display: inline-block;
        margin-right: 1%;
    }
    

    .exec-img {
        width: 47%;
        margin-right: 2%;
        float: left;
    }
    
    
    #current-exec,#past-pres{
        display: inline-block;
    }
    
   

    #events{
        width:96%;
    }
    #event-date,#all-events-cover #event-date{
        width:100%;
    }
    #event-details,#all-events-cover #event-details{
        width:100%;
    }
    #all-events-cover #event-section{
        margin-top: 20px;
    }

    #get-involved{
        width: 96%;
        float: left;
        margin: 10px 2%;
    }
    #get-involved p{
        text-align:justify;
    }

    #gallery{
        margin: 10px 2%;
        width: 96%;
        float: left;
    }

    #news{
        margin: 10px 2%;
        width: 96%;
        float: left;
    }

    #images img{
        max-width: 48%;
        height: 130px;
    }
    
    #img-overlay img{
        width: 100%;
        max-height: 85vh;
        min-height: 0vh;
    }
    #just-in{
        width: 100%;
        margin-bottom: 10px;
    }
    #other-news{
        width: 100%;
        margin-left: 0%;
    }
    
    #ps-cover{
        display: inline-block;
        width: 96%;
        margin: 10px 2%;
    }
    
    #ps{
        width: 96%;
        margin-right:0%;
        display: inline-block;
        margin-bottom: 20px;
    }
    
    #ps img{
        width: 40%;
        height: auto;
        border-radius: 3px;
    }
    
    
    #event-menu button{ 
        width: 100px;
        margin: 5px;
    }

    #mainnews #other-cover img{
        width:100%;
    }

    

    #contact-info span{
        font-size: 15px;
    }

    
    #admin #add input,#admin #add textarea,#add .select{
        width: 70%;
    }


    #login{
        margin-left:  0% ;
        margin-top: 0px;
        width: 100%;
        height: 100vh;
        background-color: black;
    }
    .login #s-button{
        width:auto;
    }
    #loginimg{
        width: 100%;
        height: 50vh;
        float:left;
    }
    
    #mainlogin{
        width: 100%;
        height: 50vh;
        color: white;
        float:left;
    }
    #mainlogin h3{
        color:white;
        margin-top: 10%;
        margin-bottom: 20px;
    }
    #all-events-cover #event-date{
        display:inline-block ;
    }
    #all-events-cover #event-details{
        width: 100%;
    }
    #all-events-cover #events img{
        width: 70%;
    }
    #event-imganddate{
        width: 100%;
        margin-left: 0%;
    }
    .prev, .next { display:none;}
    *{font-family: nunito sans;}
    
    
#sub,#sub2{
    height:0;
    width:auto;
    overflow:hidden;
    margin-left:50px;
    transition:.2s;
}
#sub a,#sub2 a{
    margin-left:0;
    font-size:9px;
    margin-top:5px;
}
#subb i,#subb2 i{
    margin:0;
    margin-left:5px;
    font-size:11px;
    float:none;
}
#upsign,#upsign2{
    display:none;
}
#advert{
    display:inline-block;
    width:100%;
}
#advert img{
    padding-top:10px ;
    padding-bottom:10px ;
    width:70%;
}
#schlr-img{
    width:70%;
}

}

