.a1{
	      margin-left: auto;
    margin-right: auto;
    display: block;
    padding: 10px;
    font-size: 30px;
    font-weight: 500;
    color: #a94442;
}
figure.effect-dexter figcaption {
    padding: 2em ! important;
    text-align: left ! important; 
}
.grid {
    position: relative ! important; 
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 100% ! important;
    list-style: none;
    text-align: center;
}
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    min-width: 320px;
    max-width: 480px;
    max-height: 360px;
    width: 30% ! important; 
   
    text-align: center;
    cursor: pointer;
}
.grid figure h2, .grid figure p {
    margin: 0;
                font-size: 15px;
}
figure.effect-dexter p {
    position: absolute;
    font-size: 13px ! important;
    color: #fff;
    right: 60px;
    bottom: 35px ! important;
    left: 60px;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,-100px,0);
    transform: translate3d(0,-100px,0);
}


/*popup*/
.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
/*  border-radius: 20px/50px;*/
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
      visibility: visible;
    opacity: 1;
    z-index: 9999;
}

.popup {
      margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 70%;
    position: relative;
    height: 80%;
    transition: all 5s ease-in-out;

}

.popup h2 {
  margin-top: 0;
      color: #bd0000;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
    color: #bd0000;
}
.popup .content {
    max-height: 89%;
    overflow: auto;
     z-index: 99999999999999;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}
/*popup*/

.img12{
	height: 233px;
    width: 342px;
}
.pcontent{
	color: #000;
    text-align: justify;
}
body{
	background-color: #fff ! important;
}
.secp1{
  color: #fff;
  text-align: justify;
}

/*Navigation*/

/* Important styles */
#toggle {
      display: block;
    width: 28px;
    height: 30px;
    /* float: right; */
    top: 4%;
    z-index: 215;
    right: 3%;
    position: fixed;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 5px;
  background-color: #888;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}
#toggle.on + #menu {
  opacity: 1;
  visibility: visible;
}

/* menu appearance*/
#menu {
     position: fixed;
    color: #999;
    right: 2%;
    top: 6%;
    width: 200px;
        /*background-color: #22222259;*/
    padding: 10px;
    font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
    text-align: right;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s;
        z-index: 215;


}
#menu:after {
  position: absolute;
  top: -15px;
  left: 95px;
  content: "";
  display: block; 
}
ul, li, li a {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}
li a {
  padding: 5px;
  color: #000;
  text-decoration: none;
  transition: all .2s;
}
li a:hover,
li a:focus {

  color: #a94442;
    text-decoration: none;
}


/* demo styles */
body { margin-top: 3em; background: #eee; color: #555; font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif; }
p, p a { font-size: 12px;text-align: center; color: #888; }


/*Navigation*/


.lk{
          margin-top: 1%;
}
body{
  background-color: #000;
}


:root {
  --primary-color: #425b84;
  --secondary-color: #5b7bb4;
  --max-width: 1100px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}




.container {
  max-width: var(--max-width);
  /*margin: 0 auto;*/
  text-align: center;
}

h1 { font-size: 2.3rem; }


/* Create Line */
#timeline ul {
  padding: 50x 0;
  
}

#timeline ul li {
  position: relative;
  width: 6px;
  padding-top: 50px;
  margin: 0 auto;
  background: #fff;
  list-style: none;
}

/* Boxes */
#timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 1rem;
  background: var(--secondary-color);
  transition: all 0.5s ease-in-out;
  /* visibility: hidden;
  opacity: 0; */
}

/* Right Side */
#timeline ul li:nth-child(odd) div {
  left: 40px;
  transform: translate(200px, 0);
}

/* Left Side */
#timeline ul li:nth-child(even) div {
  left: -434px;
  transform: translate(-200px, 0);
}

/* Dots */
#timeline ul li:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 25px;
  height: 25px;
  background: inherit;
  border-radius: 50%;
  transform: translateX(-50%);
  transition: background 0.5s ease-in-out;
}

/* Arrows Base */
#timeline div:before {
  content: '';
  position: absolute;
  bottom: 5px;
  width: 0;
  height: 0;
  border-style: solid;
}

/* Right Side Arrows */
#timeline ul li:nth-child(odd) div:before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent var(--secondary-color) transparent transparent;
}

/* Left Side Arrows */
#timeline ul li:nth-child(even) div:before {
  right: -15px;
  border-width: 8px 0px 8px 16px;
  border-color: transparent transparent transparent var(--secondary-color);
}

/* Show Boxes */
#timeline ul li.show div {
  transform: none;
  visibility: visible;
  opacity: 1;
}

#timeline ul li.show:after { background: var(--secondary-color); }


@media(max-width: 900px) {
  #timeline ul li div { width: 250px; }

  #timeline ul li:nth-child(even) div { left: -284px; }
}

@media(max-width: 600px) {
  #timeline ul li { margin-left: 20px; }

  #timeline ul li div {
    width: calc(100vw - 90px);
  }

  #timeline ul li:nth-child(even) div { left: 40px; }

  #timeline ul li:nth-child(even) div:before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent var(--secondary-color) transparent transparent;
  }
}


