/*
========================================================================
========================================================================
************************TEXT ROTATING************************
========================================================================
========================================================================
*/
.rotating {
  display: inline-block;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: rotateX(0) rotateY(0) rotateZ(0);
  -moz-transform: rotateX(0) rotateY(0) rotateZ(0);
  -ms-transform: rotateX(0) rotateY(0) rotateZ(0);
  -o-transform: rotateX(0) rotateY(0) rotateZ(0);
  transform: rotateX(0) rotateY(0) rotateZ(0);
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform-origin-x: 50%;
}
.rotating.flip {
  position: relative;
}
.rotating .front, .rotating .back {
  left: 0;
  top: 0;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}
.rotating .front {
  position: absolute;
  display: inline-block;
  -webkit-transform: translate3d(0,0,1px);
  -moz-transform: translate3d(0,0,1px);
  -ms-transform: translate3d(0,0,1px);
  -o-transform: translate3d(0,0,1px);
  transform: translate3d(0,0,1px);
}

.rotating.flip .front {
  z-index: 1;
}

.rotating .back {
  display: block;
  opacity: 0;
}
.rotating.spin {
  -webkit-transform: rotate(360deg) scale(0);
  -moz-transform: rotate(360deg) scale(0);
  -ms-transform: rotate(360deg) scale(0);
  -o-transform: rotate(360deg) scale(0);
  transform: rotate(360deg) scale(0);
}
.rotating.flip .back {
  z-index: 2;
  display: block;
  opacity: 1;
  
  -webkit-transform: rotateY(180deg) translate3d(0,0,0);
  -moz-transform: rotateY(180deg) translate3d(0,0,0);
  -ms-transform: rotateY(180deg) translate3d(0,0,0);
  -o-transform: rotateY(180deg) translate3d(0,0,0);
  transform: rotateY(180deg) translate3d(0,0,0);
}

.rotating.flip.up .back {
  -webkit-transform: rotateX(180deg) translate3d(0,0,0);
  -moz-transform: rotateX(180deg) translate3d(0,0,0);
  -ms-transform: rotateX(180deg) translate3d(0,0,0);
  -o-transform: rotateX(180deg) translate3d(0,0,0);
  transform: rotateX(180deg) translate3d(0,0,0);
}

.rotating.flip.cube .front {
  -webkit-transform: translate3d(0,0,100px) scale(0.9,0.9);
  -moz-transform: translate3d(0,0,100px) scale(0.85,0.85);
  -ms-transform: translate3d(0,0,100px) scale(0.85,0.85);
  -o-transform: translate3d(0,0,100px) scale(0.85,0.85);
  transform: translate3d(0,0,100px) scale(0.85,0.85);
}

.rotating.flip.cube .back {
  -webkit-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.9,0.9);
  -moz-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
  -ms-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
  -o-transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
  transform: rotateY(180deg) translate3d(0,0,100px) scale(0.85,0.85);
}

.rotating.flip.cube.up .back {
  -webkit-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.9,0.9);
  -moz-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
  -ms-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
  -o-transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
  transform: rotateX(180deg) translate3d(0,0,100px) scale(0.85,0.85);
}

/*
========================================================================
========================================================================
************************TOOLTIP************************
========================================================================
========================================================================
*/
#tooltip
{
    text-align: justify;
    background: #fff;
    position: absolute;
    z-index: 1000000;
    padding: 2em;
	border:solid 0.1em #cecece;
}
 
#tooltip:after /* triangle decoration */
    {
        width: 0;
        height: 0;
        border-left: 0.5em solid transparent;
        border-right: 0.5em solid transparent;
        border-top: 0.8em solid #818181;
        content: '';
        position: absolute;
        left: 50%;
        bottom: -0.8em;
        margin-left: -0.5em;
    }
 
        #tooltip.top:after
        {
            border-top-color: transparent;
            border-bottom: 10px solid #818181;
            top: -0.5em;
            bottom: auto;
        }
 
        #tooltip.left:after
        {
            left: 10px;
            margin: 0;
        }
 
        #tooltip.right:after
        {
            right: 10px;
            left: auto;
            margin: 0;
        }
		
/*
========================================================================
========================================================================
************************IMG CAPTION************************
========================================================================
========================================================================
*/

.grid-block {
	position: relative;
	float: left;
	width: 100%;
	height: auto;
	margin: 0;
}
.grid-block h4 {
	font-size: .9em;
	color: #333;
	background: #171717;
	margin: 0;
	padding: 0;
	border:none;
}
.caption {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(23,23,23, .5);
	width: 100%;
	height: 100%;
	padding:5%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.caption h3, .caption p {
	color: #fff;
	

}
.caption h3 {
	color: #fff;
	margin-bottom: 0.5em;
	font-size:1.5em;
	font-weight: 500;
	text-align: left;
}
.caption p {
	font-weight: 300;
	text-align: left;
	font-size:1em;
}
.buttond {
	float:right;
	margin-top:5%;
	padding: 2% 15%;
	background: none;
	color: #818181;
	border:0.1em solid #818181;
	font-weight: 300;
	font-size:0.8em;
	text-decoration: none;
}
.buttond:hover {
	background: #d40060;
	border:0.1em solid #d40060;
	color: #E2E2E2;
	transition-property: all;
	 transition-duration: 0.9s;
	 -webkit-transition-property: all; /*safari*/
	 -webkit-transition-duration: 0.9s;
	 -o-transition-property: all;      /*opera*/
	 -o-transition-duration: 0.9s;  
	 -moz-transition-property: all;    /*firefox*/
	 -moz-transition-duration:0.9s;
}

.caption1 {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0, .7);
	width: 100%;
	height: 100%;
	padding-top:15%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
.caption1 h3, .caption1 p {
	color: #21f493;
}
.caption1 h3 {
	margin-bottom: 0.5em;
	font-size:1.5em;
	font-weight: 300;
	text-align: center;
}
.caption1 p {
	font-weight: 300;
	text-align: center;
	font-size:1em;
}
.buttonm {
	float:right;
	margin-top:5%;
	padding: 2% 15%;
	background: none;
	color: #818181;
	border:0.1em solid #818181;
	font-weight: 300;
	font-size:0.8em;
	text-decoration: none;
}
.buttonm:hover {
	background: #21f493;
	border:0.1em solid #21f493;
	color: #E2E2E2;
	transition-property: all;
	 transition-duration: 0.9s;
	 -webkit-transition-property: all; /*safari*/
	 -webkit-transition-duration: 0.9s;
	 -o-transition-property: all;      /*opera*/
	 -o-transition-duration: 0.9s;  
	 -moz-transition-property: all;    /*firefox*/
	 -moz-transition-duration:0.9s;
}
.caption2 {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0, .7);
	width: 100%;
	height: 100%;
	padding-top:15%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}
.caption2 h3, .caption2 p {
	color: #2190ed;
}
.caption2 h3 {
	margin-bottom: 0.5em;
	font-size:1.5em;
	font-weight: 300;
	text-align: center;
}
.caption2 p {
	font-weight: 300;
	text-align: center;
	font-size:1em;
}
.buttonw {
	float:right;
	margin-top:5%;
	padding: 2% 15%;
	background: none;
	color: #818181;
	border:0.1em solid #818181;
	font-weight: 300;
	font-size:0.8em;
	text-decoration: none;
}
.buttonw:hover {
	background: #2190ed;
	border:0.1em solid #2190ed;
	color: #E2E2E2;
	transition-property: all;
	 transition-duration: 0.9s;
	 -webkit-transition-property: all; /*safari*/
	 -webkit-transition-duration: 0.9s;
	 -o-transition-property: all;      /*opera*/
	 -o-transition-duration: 0.9s;  
	 -moz-transition-property: all;    /*firefox*/
	 -moz-transition-duration:0.9s;
}

@-webkit-keyframes 'pulse' {
0% {
  background-color: #3CF;
  opacity: 1.0;
}
 
33% {
  background-color: #099;
  opacity: 0.75;
}
 
67% {
  background-color: #C03;
  opacity: 0.5;
}
 
100% {
  background-color: #99C;
  opacity: 1.0;
}
}