﻿/*These styles contain basic styles for fomatting along with our animation css*/
.main-container {
  background: #fff;
  max-width: 1000px;
  margin: 25px auto 25px auto;
  position: relative; }

.container {
  position: relative; }

/*animation element*/
.animation-element {
  opacity: 0;
  position: relative; }

/*animation element sliding left*/
.animation-element.slide-left {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(-100px, 0px, 0px);
  -webkit-transform: translate3d(-100px, 0px, 0px);
  -o-transform: translate(-100px, 0px);
  -ms-transform: translate(-100px, 0px);
  transform: translate3d(-100px, 0px, 0px); }

.animation-element.slide-left.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px); }

/*animation element sliding right*/
.animation-element.slide-right {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(100px, 0px, 0px);
  -webkit-transform: translate3d(100px, 0px, 0px);
  -o-transform: translate(100px, 0px);
  -ms-transform: translate(100px, 0px);
  transform: translate3d(100px, 0px, 0px); }

.animation-element.slide-right.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px); }

.animation-element.slide-right.in-view {
  opacity: 1;
  animation-delay: 2s;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px); }

/*animation slide left styled for testimonials*/
.animation-element.slide-left.testimonial {
  float: left;
  margin: 0% 1.5% 3% 1.5%;
  padding: 15px; }

/*.animation-element.slide-left.testimonial:nth-of-type(odd) {
    width: 48.5%;
    margin: 0% 1.5% 3.0% 0%;
}

.animation-element.slide-left.testimonial:nth-of-type(even) {
    width: 48.5%;
    margin: 0% 0% 3.0% 1.5%;
}*/
.animation-element.slide-left.testimonial .header {
  float: left;
  width: 100%;
  margin-bottom: 10px; }

.animation-element.slide-left.testimonial .left {
  float: left;
  margin-right: 15px; }

.animation-element.slide-left.testimonial .right {
  float: left; }

/*These styles contain basic styles for fomatting along with our animation css*/
/*animation element*/
.animation-element_2 {
  position: relative;
  float: left; }

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

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

/*bounce up animation for the subject*/
.bounce-up {
  opacity: 0;
  -moz-transition: all 700ms ease-out;
  -webkit-transition: all 700ms ease-out;
  -o-transition: all 700ms ease-out;
  transition: all 700ms ease-out;
  -moz-transform: translate3d(0px, 200px, 0px);
  -webkit-transform: translate3d(0px, 200px, 0px);
  -o-transform: translate(0px, 200px);
  -ms-transform: translate(0px, 200px);
  transform: translate3d(0px, 200, 0px);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden; }

.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px); }

.subject {
  float: left;
  width: 100%;
  margin: 0% 1.33% 2.66% 1.33%;
  background: #F5F5F5;
  padding: 15px;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
  border: solid 1px #EAEAEA; }

.subject:hover,
.subject:active {
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.25); }

.subject .header {
  margin: 8px 0px; }

.subject .header .date,
.subject .header .category {
  margin: 0px;
  clear: none;
  width: 50%; }

.subject .header .date i,
.subject .header .category i {
  margin-right: 5px;
  color: #333;
  -moz-transition: all 400ms linear;
  -webkit-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear; }

.subject .header .date {
  float: left;
  text-align: left; }

.subject .header .category {
  float: right;
  text-align: right; }

/*subject icon at top*/
.subject .icon {
  position: absolute;
  top: -20px;
  left: 50%;
  left: calc(50% - 20px); }

.subject .icon i {
  width: 40px;
  height: 40px;
  color: white;
  font-size: 150%;
  border-radius: 50%;
  text-align: center;
  padding: 7px; }

/*Category color / icon color*/
.subject .category-color {
  height: 7px;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%; }

.subject.design .category-color,
.subject.design .icon i {
  background: #c0392b; }

.subject.development .category-color,
.subject.development .icon i {
  background: #16a085; }

.subject.photography .category-color,
.subject.photography .icon i {
  background: #2980b9; }

/*hovering over subject*/
.subject.development:hover .header i {
  color: #16a085; }

.subject.design:hover .header i {
  color: #c0392b; }

.subject.photography:hover .header i {
  color: #2980b9; }

.subject .title {
  margin: 12px 0px;
  border-bottom: dashed 1px #ccc;
  padding-bottom: 10px; }

.subject .content {
  margin-bottom: 8px; }

.subject .enrole {
  position: relative;
  color: #333;
  padding: 5px 12px;
  cursor: pointer;
  float: right;
  display: inline-block;
  border: solid 1px #ccc;
  -moz-transition: all 400ms linear;
  -webkit-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear; }

.subject .enrole:hover,
.subject .enrole:active {
  background: #222;
  color: #fff; }

/*media queries for small devices*/
@media screen and (max-width: 678px) {
  .main-container {
    margin: 20px 15px; }
  .animation-element,
  .animation-element:nth-of-type(3n-1),
  .animation-element:nth-of-type(3n-2),
  .animation-element:nth-of-type(3n-0) {
    width: 100%;
    margin: 0px 0px 30px 0px; }
  .subject .header .date,
  .subject .header .category {
    width: 100%;
    margin-bottom: 10px;
    text-align: center; } }

/*media queries for small devices*/
@media screen and (max-width: 678px) {
  /*testimonials*/
  .animation-element.slide-left.testimonial,
  .animation-element.slide-left.testimonial:nth-of-type(odd),
  .animation-element.slide-left.testimonial:nth-of-type(even) {
    width: 100%;
    margin: 0px 0px 20px 0px; }
  .animation-element.slide-left.testimonial .right,
  .animation-element.slide-left.testimonial .left,
  .animation-element.slide-left.testimonial .content,
  .animation-element.slide-left.testimonial .rating {
    text-align: center;
    float: none; } }
