*{
  font-family:'Biryani';
}
/* header and navbar */
  
   ul.dropdown-content li {
       list-style-type:none;
   }
   
   h5:hover{
       text-decoration:none;
       color:#245993;
   }
   
   .dropdown:hover .dropdown-content {
     visibility: visible;
     opacity: 1;
     -webkit-transform: translateY(0px);
     -webkit-transform: translateY(0px);
     transform: translateY(0px);
   }
   
   .dropdown-content {
       visibility: hidden;
       filter: alpha(opacity=0);
       opacity: 0;
       width: 200px;
       margin-top: 15px;
       padding: 0px;
       border-radius: 0px;
       border-top: 3px solid #4869e8;
       background:white;
       box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.05), -2px 0px 5px 1px rgba(0, 0, 0, 0.05);
       -webkit-transform:translateY(20px);
       -webkit-transform: translateY(20px);
       transform: translateY(20px);
       transition: all 500ms ease;
       -moz-transition: all 500ms ease;
       -webkit-transition: all 500ms ease;
       -ms-transition: all 500ms ease;
       -o-transition: all 500ms ease;
       position: absolute !important;
       left: 0px;
       top: 100%;
       width: 150px;
       z-index: 100;
       display: block !important;
       margin: 0 auto;
   }
  
   
#dropdownevent.active{
  border-bottom: 3px solid#857a3a;
}
   
#newevent.active{
  border-bottom: 3px solid #857a3a;
}
a#dropdownevent.nav-link{
  color:#857a3a;
  margin-top:10px;
}
@media(min-width:768px)
{
a#dropdownevent.nav-link{
 
  margin-top:10px;
}
a#newevent.nav-link{
  color:#857a3a;
}

}
a#newevent.nav-link{
  color:#857a3a;
}
   
   /*header and navbar css ends */
 
/*event name card*/
#eventnav,#eventname{
  background:rgb(233, 226, 226);
}


 /*description*/
 @media (max-width: 600px)
 {
  
 .ribbon:before{
  width: 0.469em;
  height: 3.0em;
  padding: 0 0 0.438em;
  top: 0;
  left: -0.469em;
  background: inherit;
  border-radius: 0.313em 0 0 0.313em;
 }

}

 @media (max-width: 600px)
 {
 .ribbon {
     line-height: 1.143em;
     padding: 0.5em;
 }

 
}
 .ribbon {
     position: relative;
     padding: 0 0.5em;
     font-size: 2.000em;
     margin: 0 0 0 -0.625em;
     line-height: 1.875em;
     color: white;
     border-radius: 0 0.156em 0.156em 0;
     background:#245993;
     box-shadow: -1px 2px 3px rgba(0,0,0,0.5);
 }
 @media(min-width:600px)
 {
 .ribbon:before {
    width: 0.469em;
    height: 2.250em;
    padding: 0 0 0.438em;
    top: 0;
    left: -0.469em;
    background:  #245993;
    border-radius: 0.313em 0 0 0.313em;
}
 }
.ribbon:before, .ribbon:after {
    position: absolute;
    content: '';
    display: block;
}

 h1 {
     display: block;
     font-size: 2em;
     margin-block-start: 0.67em;
     margin-block-end: 0.67em;
     margin-inline-start: 0px;
     margin-inline-end: 0px;
     font-weight: bold;
 }
 
 .ribbon:after {
     width: 0.313em;
     height: 0.350em;
     background: rgba(0,0,0,0.35);
     bottom: -0.313em;
     left: -0.313em;
     border-radius: 0.313em 0 0 0.313em;
     box-shadow: inset -1px 2px 2px rgba(0,0,0,0.3);
 }
 
  .content {
    background: white;
     width: 90%;
     min-height: 3.750em;
    margin: 2em auto;
    padding: 1.250em;
    border-radius: 0.313em;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.5);
    line-height: 1.5em;
    color: #775f5f;
  }
.ribbon:before {
  width: 0.469em;
  height: 2.250em;
  padding: 0 0 0.438em;
  top: 0;
  left: -0.469em;
  background:  #245993;
  border-radius: 0.313em 0 0 0.313em;
}
p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  color: black;
}
@media (max-width:320px) 
  { 
   
   
 
 
  
 
}
/*description*/

/*Media*/
.our-team-main
{
	width:100%;
  border-bottom:1px #323233 solid;
  border-top:1px #323233 solid;
  border-right:1px #323233 solid;
  border-left:1px #323233 solid;
	background:#E8E8E8;
	text-align:center;
	border-radius:10px;
	overflow:hidden;
	position:relative;
	transition:0.5s;
  margin-bottom:28px;
  box-shadow: 3px 3px 3px 3px lightgrey;
}
.our-team-main h3
{
	font-size:20px;
	font-weight:700;
}

.our-team-main p
{
	margin-bottom:0;
}

.team-back
{
	width:100%;
	height:auto;
	position:absolute;
	top:60px;
	left:0;
	padding:5px 15px 0 15px;
	text-align:center;
	background:#E8E8E8;
	
}

.team-front
{
	width:100%;
	position:relative;
	z-index:10;
	background:#fff;
	padding:15px;
	bottom:0px;
	transition: all 0.5s ease;
}

.our-team-main:hover .team-front
{
	bottom:-240px;
	transition: all 0.5s ease;
}

.our-team-main:hover
{
	border-color:#777;
	transition:0.5s;
}

/*our-team-main*/
@media(min-width:1000px)
 {
  .our-team-main
  {
    width:100%;
    height:450px;
    border:none;
    background:#E8E8E8;
    text-align:center;
    border-radius:10px;
    overflow:hidden;
    position:relative;
    transition:0.5s;
    margin-bottom:28px;
    box-shadow: 3px 3px 3px 3px lightgrey;
  }
  .team-front
{
	width:100%;
	height:450px;
	position:relative;
	z-index:10;
	background:#fff;
	padding:15px;
	bottom:0px;
	transition: all 0.5s ease;
}

 }

@media (max-width: 425px) 
{ 
#newevent {
    margin-right:5px;
}
}

@media (max-width: 425px) 
  { 
    #ribbonsize
    {
      font-size:1.50em;
  }
}

#eventbutton{
  background-color: #245993;
  border-color:#245993;
}

@media(max-width:425px)
{
  #ribbonsizefb{
    font-size: 1.229em;
  }
 
  
}

@media(max-width:375px)
{
  #ribbonsizefb{
    font-size: 1.429em;
  }
  #ribbonsize{
    font-size: 1.429em;
  }
  
}
@media(max-width:320px)
{
  #ribbonsizefb{
    font-size: 1.140em;
  }
  #ribbonsize{
    font-size: 1.350em;
  }
  
}