/*These styles contain basic styles for fomatting along with our animation css*/


#row1a{
  margin-top:30px; 	
  height:690px;
  width:980px;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  background-color: #ffffff;
  line-height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}
#stateheading{
	color: #00264d;
	font-size: 20px;
	font-weight: 500;
	line-height:15px;
	margin-bottom:10px;
	}
h1{
	font-size:12px;
	font-weight:bold;
	font-family:"Trebuchet MS",Arial, Helvetica, sans-serif;
	color:#777777;
	}
strong,
b {
  font-weight: 600
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  line-height: 100%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
/*clearfixes*/

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.main-container {
  background: #fff;
  width: 980px;
  height:0px;
  margin: 5px auto 5px auto;
  position: relative;
}

.container {
  position: relative;
  padding: 2px;
}

.container:last-of-type {
  padding-top: 0px;
}
/*animation element*/

.animation-element {
  position: relative;
  width: 10.5%;
  margin: 0% 1% 2% 1%;
  float: left;
}

/*4 grid layout*/
/*
.animation-element:nth-of-type(8n-3) {
  clear: left;
}

.animation-element:nth-of-type(8n-2) {}

.animation-element:nth-of-type(8n-1) {}

.animation-element:nth-of-type(8n-0) {
  clear: right;
}
*/
/*...........................................................................
.animation-element:nth-of-type(16n-15) {
  clear: left;
}
.animation-element:nth-of-type(16n-14) {}
.animation-element:nth-of-type(16n-13) {}
.animation-element:nth-of-type(16n-12) {}
.animation-element:nth-of-type(16n-11) {}
.animation-element:nth-of-type(16n-10) {}
.animation-element:nth-of-type(16n-9) {}
.animation-element:nth-of-type(16n-8) {}
.animation-element:nth-of-type(16n-7) {}
.animation-element:nth-of-type(16n-6) {}
.animation-element:nth-of-type(16n-5) {}
.animation-element:nth-of-type(16n-4) {}
.animation-element:nth-of-type(16n-3) {}
.animation-element:nth-of-type(16n-2) {}
.animation-element:nth-of-type(16n-1) {}

.animation-element:nth-of-type(16n-0) {
  clear: right;
}
.............................................................................*/
.animation-element:nth-of-type(24n-23) {
  clear: left;
}
.animation-element:nth-of-type(24n-22) {}
.animation-element:nth-of-type(24n-21) {}
.animation-element:nth-of-type(24n-20) {}
.animation-element:nth-of-type(24n-19) {}
.animation-element:nth-of-type(24n-18) {}
.animation-element:nth-of-type(24n-17) {}
.animation-element:nth-of-type(24n-16) {}
.animation-element:nth-of-type(24n-15) {}
.animation-element:nth-of-type(24n-14) {}
.animation-element:nth-of-type(24n-13) {}
.animation-element:nth-of-type(24n-12) {}
.animation-element:nth-of-type(24n-11) {}
.animation-element:nth-of-type(24n-10) {}
.animation-element:nth-of-type(24n-9) {}
.animation-element:nth-of-type(24n-8) {}
.animation-element:nth-of-type(24n-7) {}
.animation-element:nth-of-type(24n-6) {}
.animation-element:nth-of-type(24n-5) {}
.animation-element:nth-of-type(24n-4) {}
.animation-element:nth-of-type(24n-3) {}
.animation-element:nth-of-type(24n-2) {}
.animation-element:nth-of-type(24n-1) {}

.animation-element:nth-of-type(24n-0) {
  clear: right;
}



/*left fancy animastion*/

@-moz-keyframes left_animation {
  0% {
    opacity: 0;
    -moz-transform: rotate(180deg) translate3d(100%, 100%, 0);
  }
  75% {
    opacity: 0.8;
    -moz-transform: rotate(-40deg);
  }
  100% {
    opacity: 1;
    -moz-transform: rotate(0deg) translate3d(0%, 0%, 0);
  }
}

@-webkit-keyframes left_animation {
  0% {
    opacity: 0;
    -webkit-transform: rotate(180deg) translate3d(100%, 100%, 0);
  }
  75% {
    opacity: 0.8;
    -webkit-transform: rotate(-40deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: rotate(0deg) translate3d(0%, 0%, 0);
  }
}

@keyframes left_animation {
  0% {
    opacity: 0;
    transform: rotate(180deg) translate3d(100%, 100%, 0);
  }
  75% {
    opacity: 0.8;
    transform: rotate(-40deg);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) translate3d(0%, 0%, 0);
  }
}
/*right fancy animation*/

@-moz-keyframes right_animation {
  0% {
    opacity: 0;
    -moz-transform: rotate(180deg) translate3d(-100%, -100%, 0);
  }
  75% {
    opacity: 0.8;
    -moz-transform: rotate(40deg);
  }
  100% {
    opacity: 1;
    -moz-transform: rotate(0deg) translate3d(0%, 0%, 0);
  }
}

@-webkit-keyframes right_animation {
  0% {
    opacity: 0;
    -webkit-transform: rotate(180deg) translate3d(-100%, 100%, 0);
  }
  75% {
    opacity: 0.8;
    -webkit-transform: rotate(40deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: rotate(0deg) translate3d(0%, 0%, 0);
  }
}

@keyframes right_animation {
  0% {
    opacity: 0;
    transform: rotate(180deg) translate3d(-100%, -100%, 0);
  }
  75% {
    opacity: 0.8;
    transform: rotate(40deg);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) translate3d(0%, 0%, 0);
  }
}
/*Multi-step animation*/

.multi-step-left .gallery,
.multi-step-right .gallery {
  position: relative;
  opacity: 0;
  /*prevents flicker as animation occurs*/
}

.multi-step-left.in-view .gallery {
  -moz-animation: left_animation 1300ms ease-in both;
  -webkit-animation: left_animation 1300ms ease-in both;
  animation: left_animation 1300ms ease-in both;
}

.multi-step-right.in-view .gallery {
  -moz-animation: right_animation 1300ms linear both;
  -webkit-animation: right_animation 1300ms linear both;
  animation: right_animation 1300ms linear both;
}

.gallery {
  
  float: left;
  width: 100%;
  height: auto;
  margin: 0% 1.33% 2.66% 1.33%;
}

.gallery .image {
  background: #F5F5F5;
  border: solid 1px #EAEAEA;
  height: 0px;
  width: 80%;
  width: calc(100% - 10px);
  padding-bottom: 100%;
  padding-bottom: calc(100% - 10px);
  background-size: cover;
  background-position: bottom center;
  position: relative;
  border-radius: 80%;
  margin-bottom: 10px;
}

.gallery:hover .image,
.gallery:active .image {}

.gallery .image-caption {
  position: relative;
  background: #fff;
  background: #e5e5e5;
  color: #333;
  font-size: 104%;
  padding: 10px;
  margin: 0px 0px 10px 0px;
}

.gallery .image-caption i {
  color: #aaa;
  margin: 0px 7px 0px 0px;
  display: inline-block;
}

.gallery .image-caption i:last-child {
  margin: 0px 0px 0px 7px;
}

.gallery .readmore {
  padding: 2px 2px;
  cursor: pointer;
  text-align: center;
  background: #2c3e50;
  color: #fff;
  font-size: 14px;
  -moz-transition: all 350ms ease;
  -o-transition: all 350ms ease;
  -webkit-transition: all 350ms ease;
  transition: all 350ms ease;
}

/*.gallery .readmore:hover,
.gallery .readmore:active {
  background: #34495e;
}*/

.gallery .title {
  margin: 0px 0px 5px 0px;
  text-align: center;
  color: #2c3e50;
  
  font-weight: 400;
}

.gallery .subtitle {
  margin: 0px 0px 10px 0px;
  text-align: center;
}

.gallery .social {
  position: absolute;
  top: 0px;
  right: -40px;
  width: calc(35px);
}

.gallery .social i {
  width: 100%;
  display: block;
  text-align: center;
  height: 35px;
  font-size: 125%;
  background: #2c3e50;
  line-height: 35px;
  border-radius: 50%;
  color: rgb(255, 255, 255);
  margin-bottom: 5px;
  cursor: pointer;
  -moz-transition: all 350ms ease;
  -o-transition: all 350ms ease;
  -webkit-transition: all 350ms ease;
  transition: all 350ms ease;
}

.gallery .social i:hover,
.gallery .social i:active {
  background: #34495e;
}
/*media queries for small devices*/

@media screen and (max-width: 678px) {
  .main-container {
    margin: 25px;
  }
  .animation-element,
  .animation-element:nth-of-type(4n-3),
  .animation-element:nth-of-type(4n-2),
  .animation-element:nth-of-type(4n-1),
  .animation-element:nth-of-type(4n-0) {
    width: 100%;
    margin: 0% 0% 25px 0%;
  }
}