body {
	position: relative;	
}

.row-align-center {
	text-align: center;	
}

.row-align-center p {
	font-size: 100px;	
}

.dropdown-menu>li>p {
	padding: 3px 20px;	
}

/*Animated Type cursor*/
		
        .typed-cursor{
            opacity: 1;
            font-weight: 100;
            -webkit-animation: blink 0.7s infinite;
            -moz-animation: blink 0.7s infinite;
            -ms-animation: blink 0.7s infinite;
            -o-animation: blink 0.7s infinite;
            animation: blink 0.7s infinite;
        }
        @-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }
        @-webkit-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }
        @-moz-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }
        @-ms-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }
        @-o-keyframes blink{
            0% { opacity:1; }
            50% { opacity:0; }
            100% { opacity:1; }
        }

/*Generic Menu Button Animation*/

.navbar-toggle .icon-bar:nth-of-type(2) {
	  top: 1px;
}

.navbar-toggle .icon-bar:nth-of-type(3) {
  	top: 2px;
}

.navbar-toggle .icon-bar {
	  position: relative;
	  transition: all 300ms ease-in-out;
	  -ms-transition: all 300ms ease-in-out;
	  -webkit-transition: all 300ms ease-in-out;
	  -moz-transition: all 300ms ease-in-out;
}

.navbar-toggle.active .icon-bar:nth-of-type(1) {
	  top: 6px;
	  transform: rotate(45deg);
	  -ms-transform: rotate(45deg);
	  -webkit-transform: rotate(45deg);
	  -moz-transform: rotate(45deg);
}

.navbar-toggle.active .icon-bar:nth-of-type(2) {
	  background-color: transparent;
}

.navbar-toggle.active .icon-bar:nth-of-type(3) {
	  top: -6px;
	  transform: rotate(-45deg);
	  -ms-transform: rotate(-45deg);
	  -webkit-transform: rotate(-45deg);
	  -moz-transform: rotate(-45deg);
}

/*Image Overlay*/


.effects .img {
  position: relative;
  float: left;
  width: 100%;
  overflow: hidden;
}
.effects .img:nth-child(n) {
  margin-right: 1%;
}
/*.effects .img:first-child {
  margin-left: -15px;
}*/
.effects .img:last-child {
  margin-right: 0;
}
.effects .img img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
  width: 100%;
}

.a2 {
  color: #FFF;
}

.a2:hover {
  color: rgba(252, 248, 227, 0.4)
}

.a3 {
  color: #FFF;
}

.a3:hover {
  color:#FFF;
}

.row-align-center img {
  width: 300px;
}

.overlay {
  display: block;
  position: absolute;
  z-index: 20;
  background: rgba(24, 86, 226, 0.4);
  overflow: hidden;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.caption-container {
  background-color: #e7e7e7;
  overflow: hidden;
  margin-bottom: 5px;
  float: left;
  width: 100%;
  padding: 10px;
}

a.close-overlay {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  width: 45px;
  height: 45px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 45px;
  text-align: center;
  background-color: #000;
  cursor: pointer;
}
a.close-overlay.hidden {
  display: none;
}

a.expand {
  display: block;
  z-index: 100;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

#effect-6 .overlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
}
#effect-6 .overlay a.expand {
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  opacity: 0;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
#effect-6 .img.hover .overlay {
  opacity: 1;
}
#effect-6 .img.hover .overlay a.expand {
  top: 50%;
  opacity: 1;
}
.overlay-img-title {
	text-align: center;
	color: #777;
}
.effects .img-2 {
  position: relative;
  float: left;
  width: 25%;
  overflow: hidden;
}
.effects .img-2:last-child {
  margin-right: 0;
}
.overlay .glyphicon {
font-size: 40px;
margin: 0 auto;
line-height: 500%;
}

/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media only screen and (max-width: 1200px) {
a.expand {
   line-height: 900%;
}
}

@media only screen and (max-width: 1100px) {
a.expand {
   line-height: 900%;
}
.effects .img {
    width: 100%;
  }
  
  .effects .img-2 {
	width: 50%;  
  }
  .effects .img:nth-child(n) {
    margin-right: 5px;
  }
  .effects .img:first-child {
    margin-left: 0;
  }
  /*.effects .img:nth-child(2n-1) {
    margin-left: -5px;
  }*/
  .effects .img:nth-child(2n) {
    margin-right: 0;
  }
  .effects .img:last-child {
    margin-right: 0;
  }
  .overlay {
  display: none;
}
}
@media only screen and (max-width: 520px) {
  .effects .img-2 {
    width: 100%;
  }
  .caption-container {
	width: 100%;
  }
  .effects .img:nth-child(n) {
    margin-right: 0;
  }
  .effects .img:first-child {
    margin-left: 0;
  }
  .effects .img:nth-child(2n-1) {
    margin-left: 0;
  }
  .effects .img:nth-child(2n) {
    margin-right: 0;
  }
  .effects .img:last-child {
    margin-right: 0;
  }
  .effects .img img {
    margin: 0 auto;
  }
}
@media (max-width: 400px) {
  .row-align-center img {
    width: 100%;
  }
}