/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/


html { height: 100%; }

*, 
*:after, 
*:before {
	-webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box; 
	 box-sizing: border-box; 
	 padding: 0px;
	margin: 0;
	 }
body { font-size: 93%; }
}

   
@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon/fonts/icomoon.eot');
	src:url('../fonts/icomoon/fonts/icomoon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/icomoon/fonts/icomoon.woff') format('woff'),
		url('../fonts/icomoon/fonts/icomoon.ttf') format('truetype'),
		url('../fonts/icomoon/fonts/icomoon.svg#icomoon') format('svg');
	
	font-weight: normal;
	font-style: normal;
}
  
     @font-face {
	font-family: 'mail';
	src:url('../fonts/mail/fonts/mail.eot');
	src:url('../fonts/mail/fonts/mail.eot?#iefix') format('embedded-opentype'),
		url('../fonts/mail/fonts/mail.woff') format('woff'),
		url('../fonts/mail/fonts/mail.ttf') format('truetype'),
		url('../fonts/mail/fonts/mail.svg#icomoon') format('svg');
	
	font-weight: normal;
	font-style: normal;
} 
@font-face {
	font-family: 'entypo';
	src:url('../fonts/entypo/fonts/entypo.eot');
	src:url('../fonts/entypo/fonts/entypo.eot?#iefix') format('embedded-opentype'),
		url('../fonts/entypo/fonts/entypo.woff') format('woff'),
		url('../fonts/entypo/fonts/entypo.ttf') format('truetype'),
		url('../fonts/entypo/fonts/entypo.svg#entypo') format('svg');
	
	font-weight: normal;
	font-style: normal;
}
     
@font-face {
	font-family: 'dekar';
	src:url('../fonts/dekar/dekar-webfont.eot');
	src:url('../fonts/dekar/dekar-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/dekar/dekar-webfont.woff') format('woff'),
		url('../fonts/dekar/dekar-webfont.ttf') format('truetype'),
		url('../fonts/dekar/dekar-webfont.svg#dekarregular') format('svg');
	
	font-weight: normal;
	font-style: normal;
    
}

@font-face {
	font-family: 'dekar';
	src:url('../fonts/dekar/dekar-webfont.eot');
	src:url('../fonts/dekar/dekar-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/dekar/dekar-webfont.woff') format('woff'),
		url('../fonts/dekar/dekar-webfont.ttf') format('truetype'),
		url('../fonts/dekar/dekar-webfont.svg#dekarregular') format('svg');
	
	font-weight:bold;
	font-style:normal;
}




font-face {
	font-family: 'diavlo';
	src:url('../fonts/diavlo/book/diavlo_book_24-webfont.eot');
	src:url('../fonts/diavlo/book/diavlo_book_24-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/diavlo/book/diavlo_book_24-webfont.woff') format('woff'),
		url('../fonts/diavlo/book/diavlo_book_24-webfont.ttf') format('truetype'),
		url('../fonts/diavlo/book/diavlo_book_24-webfont.svg#diavlobook') format('svg');
	
	font-weight: normal;
	font-style: normal;
}


@font-face {
	font-family: 'diavlo';
	src:url('../fonts/diavlo/book/diavlo_book_24-webfont.eot');
	src:url('../fonts/diavlo/book/diavlo_book_24-webfont.eot?#iefix') format('embedded-opentype'),
		url('../fonts/diavlo/book/diavlo_book_24-webfont.woff') format('woff'),
		url('../fonts/diavlo/book/diavlo_book_24-webfont.ttf') format('truetype'),
		url('../fonts/diavlo/book/diavlo_book_24-webfont.svg#diavlobook') format('svg');
	
	font-weight:bold;
	font-style:normal;
}

.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #e3e3e3;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.container {
	background: #e3e3e3;
	min-height: 100%;
}

.md-modal {
	position: fixed;
    
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 430px;
	min-width: 320px;
	height: auto;
	z-index: 2000;
    visibility: hidden;
	/* Content styles BOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXXEEEEEEEEEEEEEEE
    
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
	-moz-backface-visibility: hidden;
   */

	
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.md-show {
	visibility: visible;
}




.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(155,155,155,0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
    -webkit-transition: opacity 0.5s;
}






/* Content styles BOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXXEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSs*/
.md-content {
	color: #555;
	background: #e3e3e3;
	position: relative;
	border-radius: 3px;
	margin:  auto;
    border-bottom: 0px solid rgba(0,0,0,0.1);
     
    
}

.md-content1 {
	color: #555;
	background: #e3e3e3;
	position: relative;
	border-radius: 3px;
	margin:  auto;
    border-bottom: 0px solid rgba(0,0,0,0.1);
     
    
}

.md-content h3 {
	margin: 0;
	padding: 1em;
	text-align: center;
	font-size: 1.7em;
	font-weight: 300;
	opacity: 1;
	background: #e3e3e3;
	border-radius: 3px 3px 0 0;
    border-bottom: 0px solid rgba(0,0,0,0.2);
   
}
/* Content styles BOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXXEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSs*/
.md-content > div {
	padding: 15px 40px 30px 40px;
	 margin: 10px 25px 0px 50px; /* top, right, bottom, left */

	font-weight: 100;
	font-size: 1em;
    
}
/* Content styles BOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXXEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSs*/
.md-content > div p {
	margin: 0;
	padding: 10px 0;
     text-align:center;
   
}
/* Content styles BOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXXEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSs*/
.md-content > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content > div ul li {
	padding: 5px 0;
}

.md-content button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
}


/* GRIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIID */

/* General grid styles */
.cv-ig-grid1 {	
	list-style: none;
	padding: 1px 0 60px 0;
	margin: 0;
}
/* anchor style */
.cv-ig-grid1 li > a {
	display: block;
	height: 100%;
	color: #fff;
	-webkit-transition: background 0.2s;
	-moz-transition: background 0.2s;
	transition: background 0.2s;
}


/* title element */
.cv-ig-grid1 .cv-ig-title {
font-family: 'dekar', Calibri, Arial, sans-serif;
	margin: -10px 0 0px 0;
	padding: 20px 0 0 0;
	font-size: 16px;
    letter-spacing: 1.5px;
	position: relative;
	-webkit-transition: -webkit-transform 0.2s;
	-moz-transition: -moz-transform 0.2s;
	transition: transform 0.2s;
    color:#888;
}

.cv-ig-grid1 .cv-ig-title:before {
    content: '';
	position: absolute;
	background: #c9c9c9;
	width: 160px;
	height: 1px;
	top: 54px;
	left: 50%;
	margin: -10px 0 0 -80px;
	-webkit-transition: margin-top 0.2s; /* top or translate does not seem to work in Firefox */
	-moz-transition: margin-top 0.2s;
	transition: margin-top 0.2s;
}

.cv-ig-grid1 .cv-ig-category {
    font-family: 'diavlo', Calibri, Arial, sans-serif;
    
	text-transform: uppercase;
	display: inline-block;
	font-size: 12px;
	letter-spacing: 1px;
	color: #c0c0c0;
	-webkit-transform: translateY(8px);
	-moz-transform: -moz-translateY(8px);
	-ms-transform: -ms-translateY(8px);
	transform: translateY(8px);
	opacity: 1;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	-webkit-transition: transform 0.3s, opacity 0.2s;
}


/* To Navigation Style */

/* Content styles BOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXXEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSs*/
.md-content1 > div {
	padding: 15px 40px 30px 40px;
	 margin: 10px 25px 0px 50px; /* top, right, bottom, left */

	font-weight: 100;
	font-size: 1em;
    
}
/* Content styles BOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXXEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSs*/
.md-content1 > div p {
	margin: 0;
	padding: 10px 0;
     text-align:center;
   
}
/* Content styles BOOOOOOOOOOOOOOOOOOOOXXXXXXXXXXXXXEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSs*/
.md-content1 > div ul {
	margin: 0;
	padding: 0 0 30px 20px;
}

.md-content1 > div ul li {
	padding: 5px 0;
}

.md-content1 button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
}

/* To Navigation Style */


button {
	border: none;
	padding: 0.6em 1.2em;
	background: #bbb;
	color: #fff;
	font-family: 'dekar', Calibri, Arial, sans-serif;
	font-size: 1em;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-block;
	margin: 3px 2px ;/* top, right, bottom, left */
	border-radius: 2px;
    
}

button:hover {
	background: #999;
}

.link-icon {
	font-family: 'icomoon';
	speak: none;
	color: #c0c0c0;
    font-weight:100;
	text-transform: none;
	text-align: center;
	font-size: 14px;
     letter-spacing: 0px;
	-webkit-font-smoothing: antialiased;
    
}

span .link-icon {	
	color: #fff;	
}

.link-icon-link:after {
	content: "\e773";
}
.link-icon-link00:after {
	content: "\e72a";
}
.link-icon-link0:after {
	content: "\e70a";
}
.link-icon-link1:after {
	content: "\e729";
}

.link-icon-link2:after {
	content: "\e75a";
}

.link-icon-link3:after {
	content: "\e731";
}
.link-icon-link4:after {
	content: "\e732";
}

.link-icon-chat:after {
	content: "\e66c";
}


.add-icon {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-variant: normal;
    font-weight:100;
	text-transform: none;
	text-align: center;
	font-size: 25px;
     letter-spacing: 0px;
	-webkit-font-smoothing: antialiased;
    
}

span .add-icon {	
	color: #e3e3e3;	
}

.add-icon-add:after {
	content: "\e623";
}
 
.add-icon-per:after {
	content: "\e674";
}

.add-icon-add2:after {
	content: "\e63e";
}
.add-icon-add3:after {
	content: "\e63f";
}

.add-icon-add4:after {
	content: "\e642";
}



.con-icon {
	font-family: 'icomoon', 'entypo';
	speak: none;
	font-style: normal;
	font-variant: normal;
    font-weight:100;
	text-transform: none;
	text-align: center;
	font-size: 20px;
     letter-spacing: 0px;
	-webkit-font-smoothing: antialiased;
    
}

span .con-icon {	
	color: #e3e3e3;	
}

.con-icon-up:after {
	content: "\e8de";
    font-size: 30px;
}

.con-icon-about:after {
	content: "\e821";
    font-size: 20px
}

.con-icon-about2:after {
	content: "\e6c5";
    font-size: 21px;
     color:#c0c0c0;
}

.con-icon-about3:after {
	content: "\e63e";
    font-size: 21px;
     color:#c0c0c0;
}

.con-icon-about4:after {
	content: "\e63f";
    font-size: 21px;
     color:#c0c0c0;
}

.con-icon-about5:after {
	content: "\e897";
    font-size: 22px;
     color:#bbb;
}

.con-icon-web:after {
	content: "\e6c3";
    font-size: 18px;
    
}

.con-icon-web1:after {
	content: "\e6c2";
   font-size: 18px;
    
}

.con-icon-web2:after {
	content: "\e867";
    font-size: 18px;

}

.con-icon-ad:after {
	content: "\e623";
}

.con-icon-ad2:after {
	content: "\e63e";
}
.con-icon-phone:after {
	content: "\e63c";
}

.con-icon-mail:after {
	content: "\e640";
}

.con-icon-mail1:after {
	content: "\e75f";
}

.con-icon-mail2:after {
	content: "\e760";
}

.con-icon-mail3:after {
	content: "\e761";
}
.con-icon-mail4:after {
	content: "\e762";
    font-size: 22px
}

.con-icon-mail55:after {
	content: "\e817";
    font-size: 19px;
 }
 .con-icon-mail56:after {
font-family: 'mail';
	content: "\e615";
    font-size: 17px;
 }
 .con-icon-linkedin:after {
	content: "\e79f";
     font-size: 18px;
}
.con-icon-linkedin2:after {
	content: "\e913";
     font-size: 22px;
}
.con-icon-facebook2:after {
	content: "\e76b";
     font-size: 24px;
}

.con-icon-facebook3:after {
	content: "\e909";
     font-size: 24px;
}
 .con-icon-up1:after {
	content: "\e8ea";
    font-size: 30px;
    
}
 
 
 
 
 
 
 
.con-icon-facebook1:after {
	content: "\e90b";
     font-size: 18px;
}
.con-icon-twitter:after {
	content: "\e907";
     font-size: 18px;
}
.con-icon-gplus:after {
	content: "\e90c";
     font-size: 18px;
}
.con-icon-ln:after {
	content: "\e912";
     font-size: 18px;
}
.con-icon-ln1:after {
	content: "\e912";
     font-size: 17px;
}
 
 
 
.con-icon-mail5:after {
font-family: 'mail';
	content: "\e615";
    font-size: 21px;
 }
 
.con-icon-facebook:after {
	content: "\e90b";
     font-size: 20px;
}
 
.con-icon-linkedin3:after {
	content: "\e912";
     font-size: 21px;
}
.con-icon-linkedin3:after {
	content: "\e912";
     font-size: 20px;
}





.con {
	text-decoration: none; 
	color: #bbb;
}

	
}
.con:hover {
	text-decoration: none; 
	color: #6c6c6c; 	
}

.con1 {
	text-decoration: none; 
	color: #606060;
    font-size: 100%;
}


.con2 {
display:inherit;
 
}

.con3 {
   display:none;
   } 

.con1:hover {
	text-decoration: none; 
	
}




/* Individual        modal styles w   ith animations        /transitions */

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/* Effect 2: Slide from the right */
.md-effect-2 .md-content {
	-webkit-transform: translateX(20%);
	-moz-transform: translateX(20%);
	-ms-transform: translateX(20%);
	transform: translateX(20%);
	opacity: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	-moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
	transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.md-show.md-effect-2 .md-content {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
}

/* Effect 3: Slide from the bottom */
.md-effect-3 .md-content {
	-webkit-transform: translateY(20%);
	-moz-transform: translateY(20%);
	-ms-transform: translateY(20%);
	transform: translateY(20%);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-3 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}


/* Effect 5: fall */
.md-effect-5.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-5 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(600px) rotateX(20deg); 
	-moz-transform: translateZ(600px) rotateX(20deg); 
	-ms-transform: translateZ(600px) rotateX(20deg); 
	transform: translateZ(600px) rotateX(20deg); 
	opacity: 0;
}

.md-show.md-effect-5 .md-content {
	-webkit-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	transition: all 0.3s ease-in;
	-webkit-transform: translateZ(0px) rotateX(0deg);
	-moz-transform: translateZ(0px) rotateX(0deg);
	-ms-transform: translateZ(0px) rotateX(0deg);
	transform: translateZ(0px) rotateX(0deg); 
	opacity: 1;
}

/* Effect 6: side fall */
.md-effect-6.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-6 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translate(30%) translateZ(600px) rotate(10deg); 
	-moz-transform: translate(30%) translateZ(600px) rotate(10deg);
	-ms-transform: translate(30%) translateZ(600px) rotate(10deg);
	transform: translate(30%) translateZ(600px) rotate(10deg); 
	opacity: 0;
}

.md-show.md-effect-6 .md-content {
	-webkit-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	transition: all 0.3s ease-in;
	-webkit-transform: translate(0%) translateZ(0) rotate(0deg);
	-moz-transform: translate(0%) translateZ(0) rotate(0deg);
	-ms-transform: translate(0%) translateZ(0) rotate(0deg);
	transform: translate(0%) translateZ(0) rotate(0deg);
	opacity: 1;
}

/* Effect 7:  slide and stick to top */
.md-effect-7{
	top: 0;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.md-effect-7 .md-content {
	-webkit-transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-ms-transform: translateY(-200%);
	transform: translateY(-200%);
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	opacity: 0;
}

.md-show.md-effect-7 .md-content {
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
	border-radius: 0 0 3px 3px;
	opacity: 1;
}

/* Effect 8: 3D flip horizontal */
.md-effect-8.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-8 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateY(-70deg);
	-moz-transform: rotateY(-70deg);
	-ms-transform: rotateY(-70deg);
	transform: rotateY(-70deg);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 0;
}

.md-show.md-effect-8 .md-content {
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	transform: rotateY(0deg);
	opacity: 1;
}

/* Effect 9: 3D flip vertical */
.md-effect-9.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-9 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-70deg);
	-moz-transform: rotateX(-70deg);
	-ms-transform: rotateX(-70deg);
	transform: rotateX(-70deg);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	opacity: 0;
}

.md-show.md-effect-9 .md-content {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}

/* Effect 10: 3D sign */
.md-effect-10.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-10 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: rotateX(-60deg);
	-moz-transform: rotateX(-60deg);
	-ms-transform: rotateX(-60deg);
	transform: rotateX(-60deg);
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	transform-origin: 50% 0;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-10 .md-content {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}

/* Effect 11: Super scaled */
.md-effect-11 .md-content {
	-webkit-transform: scale(2);
	-moz-transform: scale(2);
	-ms-transform: scale(2);
	transform: scale(2);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-11 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/* Effect 12:  Just me */
.md-effect-12 .md-content {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-12 ~ .md-overlay {
	background: #e74c3c;
} 

.md-effect-12 .md-content h3,
.md-effect-12 .md-content {
	background: transparent;
}

.md-show.md-effect-12 .md-content {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

/* Effect 13: 3D slit */
.md-effect-13.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-13 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(-3000px) rotateY(90deg);
	-moz-transform: translateZ(-3000px) rotateY(90deg);
	-ms-transform: translateZ(-3000px) rotateY(90deg);
	transform: translateZ(-3000px) rotateY(90deg);
	opacity: 0;
}

.md-show.md-effect-13 .md-content {
	-webkit-animation: slit .7s forwards ease-out;
	-moz-animation: slit .7s forwards ease-out;
	animation: slit .7s forwards ease-out;
}

@-webkit-keyframes slit {
	50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
	100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@-moz-keyframes slit {
	50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
	100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@keyframes slit {
	50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;}
	100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

/* Effect 14:  3D Rotate from bottom */
.md-effect-14.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-14 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateY(100%) rotateX(90deg);
	-moz-transform: translateY(100%) rotateX(90deg);
	-ms-transform: translateY(100%) rotateX(90deg);
	transform: translateY(100%) rotateX(90deg);
	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	transform-origin: 0 100%;
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.md-show.md-effect-14 .md-content {
	-webkit-transform: translateY(0%) rotateX(0deg);
	-moz-transform: translateY(0%) rotateX(0deg);
	-ms-transform: translateY(0%) rotateX(0deg);
	transform: translateY(0%) rotateX(0deg);
	opacity: 1;
}

/* Effect 15:  3D Rotate in from left */
.md-effect-15.md-modal {
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	perspective: 1300px;
}

.md-effect-15 .md-content {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	-moz-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	-ms-transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	transform: translateZ(100px) translateX(-30%) rotateY(90deg);
	-webkit-transform-origin: 0 100%;
	-moz-transform-origin: 0 100%;
	transform-origin: 0 100%;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-15 .md-content {
	-webkit-transform: translateZ(0px) translateX(0%) rotateY(0deg);
	-moz-transform: translateZ(0px) translateX(0%) rotateY(0deg);
	-ms-transform: translateZ(0px) translateX(0%) rotateY(0deg);
	transform: translateZ(0px) translateX(0%) rotateY(0deg);
	opacity: 1;
}

/* Effect 16:  Blur */
.md-show.md-effect-16 ~ .md-overlay {
	background: rgba(25,25,25,0.8);
}

.md-show.md-effect-16 ~ .container {

}

.md-effect-16 .md-content {
	-webkit-transform: translateY(-5%);
	-moz-transform: translateY(-5%);
	-ms-transform: translateY(-5%);
	transform: translateY(-5%);
	opacity: 0;
}

.md-show.md-effect-16 ~ .container,
.md-effect-16 .md-content {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-16 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}

/* Effect 17:  Slide in from bottom with perspective on container */
.md-show.md-effect-17 ~ .container {
	height: 100%;
	overflow: hidden;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
}	

.md-show.md-effect-17 ~ .container,
.md-show.md-effect-17 ~ .md-overlay  {
	-webkit-transform: rotateX(-2deg);
	-moz-transform: rotateX(-2deg);
	-ms-transform: rotateX(-2deg);
	transform: rotateX(-2deg);
	-webkit-transform-origin: 50% 0%;
	-moz-transform-origin: 50% 0%;
	transform-origin: 50% 0%;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.md-effect-17 .md-content {
	opacity: 0;
	-webkit-transform: translateY(200%);
	-moz-transform: translateY(200%);
	-ms-transform: translateY(200%);
	transform: translateY(200%);
}

.md-show.md-effect-17 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
	-webkit-transition: all 0.3s 0.2s;
	-moz-transition: all 0.3s 0.2s;
	transition: all 0.3s 0.2s;
}

/* Effect 18:  Slide from right with perspective on container */
.md-show.md-effect-18 ~ .container {
	height: 100%;
	overflow: hidden;
}

.md-show.md-effect-18 ~ .md-overlay {
	background: rgba(143,27,15,0.8);
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.md-show.md-effect-18 ~ .container,
.md-show.md-effect-18 ~ .md-overlay {
	-webkit-transform-style: preserve-3d;
	-webkit-transform-origin: 0% 50%;
	-webkit-animation: rotateRightSideFirst 0.5s forwards ease-in;
	-moz-transform-style: preserve-3d;
	-moz-transform-origin: 0% 50%;
	-moz-animation: rotateRightSideFirst 0.5s forwards ease-in;
	transform-style: preserve-3d;
	transform-origin: 0% 50%;
	animation: rotateRightSideFirst 0.5s forwards ease-in;
}

@-webkit-keyframes rotateRightSideFirst {
	50% { -webkit-transform: translateZ(-50px) rotateY(5deg); -webkit-animation-timing-function: ease-out; }
	100% { -webkit-transform: translateZ(-200px); }
}

@-moz-keyframes rotateRightSideFirst {
	50% { -moz-transform: translateZ(-50px) rotateY(5deg); -moz-animation-timing-function: ease-out; }
	100% { -moz-transform: translateZ(-200px); }
}

@keyframes rotateRightSideFirst {
	50% { transform: translateZ(-50px) rotateY(5deg); animation-timing-function: ease-out; }
	100% { transform: translateZ(-200px); }
}

.md-effect-18 .md-content {
	-webkit-transform: translateX(200%);
	-moz-transform: translateX(200%);
	-ms-transform: translateX(200%);
	transform: translateX(200%);
	opacity: 0;
}

.md-show.md-effect-18 .md-content {
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
	opacity: 1;
	-webkit-transition: all 0.5s 0.1s;
	-moz-transition: all 0.5s 0.1s;
	transition: all 0.5s 0.1s;
}

/* Effect 19:  Slip in from the top with perspective on container */
.md-show.md-effect-19 ~ .container {
	height: 100%;
	overflow: hidden;
}

.md-show.md-effect-19 ~ .md-overlay {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.md-show.md-effect-19 ~ .container,
.md-show.md-effect-19 ~ .md-overlay {
	-webkit-transform-style: preserve-3d;
	-webkit-transform-origin: 50% 100%;
	-webkit-animation: OpenTop 0.5s forwards ease-in;
	-moz-transform-style: preserve-3d;
	-moz-transform-origin: 50% 100%;
	-moz-animation: OpenTop 0.5s forwards ease-in;
	transform-style: preserve-3d;
	transform-origin: 50% 100%;
	animation: OpenTop 0.5s forwards ease-in;
}

@-webkit-keyframes OpenTop {
	50% { 
		-webkit-transform: rotateX(10deg); 
		-webkit-animation-timing-function: ease-out; 
	}
}

@-moz-keyframes OpenTop {
	50% { 
		-moz-transform: rotateX(10deg); 
		-moz-animation-timing-function: ease-out; 
	}
}

@keyframes OpenTop {
	50% { 
		transform: rotateX(10deg); 
		animation-timing-function: ease-out; 
	}
}

.md-effect-19 .md-content {
	-webkit-transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-ms-transform: translateY(-200%);
	transform: translateY(-200%);
	opacity: 0;
}

.md-show.md-effect-19 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
	-webkit-transition: all 0.5s 0.1s;
	-moz-transition: all 0.5s 0.1s;
	transition: all 0.5s 0.1s;
}





@media screen and (max-width: 80em) {
body { font-size: 90%; }

 .md-content > div {
	padding: 0px 0px 25px 0px; /* top, right, bottom, left */
}




}

@media screen and (max-width: 75.2em) {
body { font-size: 90%; }



img.modal {
    
    max-width: 50%;
    height: auto;
    width: auto\9; /* ie8 */

}

}

@media screen and (max-width: 65.2em) {


.cv-ig-grid1 .cv-ig-title:before {
	height: 0px;
}
.cv-ig-grid1 .cv-ig-category {
	display: none;
}
}

@media screen and (max-width: 55em) {
body {font-size: 60%;  }




 .md-content > div {

	padding: -20px 20px 25px 10px; /* top, right, bottom, left */
	 margin: -20px 0px 0px 0px; /* top, right, bottom, left */

	font-weight: 100;
letter-spacing:0em;
 line-height:1.9em;	
    }

   .con1 { 
   font-size: 70%;
   } 
   
    .con2 {
   font-size: 140%;
   } 
   
   .con3 {
   display:none;
   } 
    
}

@media screen and (max-width: 46.0625em) {
body { font-size: 75%; }
	.column {
		width: 100%;
		min-width: auto;
		min-height: auto;
		padding: 1em; 
	}
    
    .cv-ig-grid1 .cv-ig-title {
	font-size: 14px;
}

	.column p {
		text-align: left;
		font-size: 1.5em;
	}

	.column:nth-child(2) {
		box-shadow: 0 -1px 0 rgba(0,0,0,0.1);
	}
    
    .md-content > div {
	padding: 0px 0px 10px 0px; /* top, right, bottom, left */
	 margin: 0px 0px 0px 0px; /* top, right, bottom, left */

	font-weight: 100;
	font-size: 1.1em;
}

.cv-ig-grid1 .cv-ig-title {
font-size: 12px;
}
    
    
}

@media screen and (max-width: 32em) {
	body { font-size: 75%; }
}


@media screen and (max-width: 25em) {
body { font-size: 75%; }
	.codrops-icon span {
		display: none;
	}

}


