/*
Theme Name: Enegist
Theme URI: http://enegist.com
Author: Siraphob Rhompo
Author URI: http://enegist.com
Description: Theme especially for Enegist company
Version: 1.0
Text Domain: enegist
Domain Path: /languages/
Tags:

*/

@import url(normalize.css);

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

html,
button,
input,
select,
textarea {
    color: #333;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

a {
	text-decoration:none;
	color: #333;
}
a:focus{
	outline: 0;
}
body{
	font-family: 'Source Sans Pro', sans-serif;
}
h1, h2, h3, h4, h5, h6{
	font-family: Montserrat, Hevatica, Arial;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #F7941D;
    text-shadow: none;
}

::selection {
    background: #F7941D;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio, canvas, img, video { vertical-align: middle; }

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

img { width:100%; height:auto; }
/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.container {
	width: 100%;
	margin:0 auto;
}
body{
    /* Temporary Set grayscale for whole site */
    /* filter: grayscale();
	-webkit-filter: grayscale(); */

	background: url('../images/triangulated_grid_bg.png') repeat;
	font-family: Varela, Hevatica, Arial;
	font-size: 14px;
	color: #464646;
}

.section{
	position:relative;
	padding: 100px 0 50px 0;
}
.section h2{
	font-size:30px;
}

#site_nav{
    height: 80px;
    position: fixed;
    width: 100%;
    z-index: 2;
	
}
.top-bar{}
.top-bar .fg{}
.top-bar .bg{
	top:-100%;
	background-color: #f7941d;
    height: 100%;
    position: absolute;
    width: 100%;
    
	opacity:0;
	-webkit-transition: top 280ms ease, opacity 280ms linear;
	   -moz-transition: top 280ms ease, opacity 280ms linear;
			transition: top 280ms ease, opacity 280ms linear;
}
.top-bar .bg .tl-logo{
	background-color:#252525;
	width: 73%;
}
.top-bar ul{
    list-style: none;
}
.top-bar ul > li{
    
}
.top-bar ul > li > a{
    color: #f7941d;
}
.top-bar .tl-logo{
    float: left;
    width: 27%;
	display: block;
}
.top-bar .tl-logo .logo-text{
	width: 130px;
	margin: 0 auto; 
	line-height: 80px;
	height: 80px;
	display:block;
}
.top-bar .tl-logo .logo-img{
	-webkit-transition: opacity 200ms linear;
	   -moz-transition: opacity 200ms linear;
			transition: opacity 200ms linear;
    line-height: 80px;
    display: block;
	margin-left: 18%;
    width: 32px;
	opacity: 1;
}
.top-bar .group-menu{
	width: 73%;
	opacity:0;
	-webkit-transform: translate3d(0, -100%, 0);
	   -moz-transform: translate3d(0, -100%, 0);
		    transform: translate3d(0, -100%, 0);
	-webkit-transition: all 260ms linear;
	   -moz-transition: all 260ms linear;
			transition: all 260ms linear;
	margin-top: 80px;
	position: absolute;
}
.top-bar .trigger-menu{
	float:right;
	width: 27%;
	height: 80px;
	cursor: pointer;
	background-image:url('../images/showMenuOrange.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50%;
	position: absolute;
	right: 0;
	z-index: 1;
}
.top-bar .main-menu{
    text-align: center;
}
.top-bar .main-menu ul{
    margin: 0;
    padding: 0;
}
.top-bar .main-menu li{
    padding: 0 5%;
}
.top-bar .main-menu a{
    text-transform: capitalize;
    font-family: montserrat;
    line-height: 50px;
}
.top-bar .main-menu a.active, .top-bar .main-menu a:hover{ 
	color:#555; 
}
.top-bar .lang-menu{  }
.top-bar .lang-menu ul{
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.top-bar .lang-menu li{
    padding: 0 5px;
}
.top-bar .lang-menu li a{
    font-size: 12px;
    font-family: varela;
    border: 1px solid;
    padding: 7px;
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
    opacity: 1;
	behavior: url(/assets/PIE/PIE.htc);
}
.top-bar .lang-menu li a.active,
.top-bar .lang-menu li a:hover{
    background-color: #f7941d;
    color: #fff;
    border-color: #f7941d;
}
.top-bar .lang-menu li a:hover{
	opacity: .85;
}
/* Class when top bar was sticked on scrolling */
.top-bar.sticked{}
.top-bar.sticked .bg{
	opacity:1;
    top: 0;
}
.top-bar.sticked .trigger-menu{
	background-image:url('../images/showMenu.png');
}
.top-bar.sticked .tl-logo .logo-img{ opacity:0; }
.top-bar.sticked .tl-logo .logo-text{ }
.top-bar.sticked ul > li > a { color:#fff; }
.top-bar.sticked .lang-menu li a.active{
    background-color: #fff;
    color: #f7941d;
    border-color: #fff;
}

/* Class when top bar is activated on clicked */
.top-bar.active{}
.top-bar.active .group-menu{
	opacity:1;
	-webkit-transform: translate3d(0,0,0);
	   -moz-transform: translate3d(0,0,0);
		    transform: translate3d(0,0,0);
	background-color: #363636;
}
.top-bar.active .trigger-menu{
	background-image:url('../images/closeMenu.png');
}
.top-bar.active .main-menu{
	padding-top: 20px;
	padding-bottom: 10px;
}
.top-bar.active .main-menu a{ 
	color:#fff;
	line-height: 60px;
}
.top-bar.active .main-menu a.active,
.top-bar.active .main-menu a:hover{ 
	color:#f7941d;
}
.top-bar.active .lang-menu{
	padding-bottom: 25px;
}
.top-bar.active .lang-menu a{
	color:#fff;
	line-height: 45px;
}
.top-bar.sticked .lang-menu li a.active,
.top-bar.sticked .lang-menu li a:hover{
    background-color: #fff;
    color: #363636;
    border-color: #fff;
}

/* HOME SECTION */
#home{
    padding: 0;
}
#home .home-logo,
#home .home-logo-shadow{
	position:absolute;
	top:50%;
	margin: -101px 0 0 -136px;
	width: 272px;
	left: 50%;
	height: 203px;
}

#home .home-logo-shadow{
    opacity: 0.5;
}

#home_btn_down{
	position:absolute;
	top: 88%;
	left: 50%;
	margin-left: -12px;
	

}
#home_btn_down a{
	position:absolute;
	width: 36px;
	height: 36px;
	border: 1px solid #898989;
	-webkit-border-radius: 50%;
       -moz-border-radius: 50%;
	        border-radius: 50%;
	padding: 6px;
	behavior: url(/assets/PIE/PIE.htc);
}
#home_btn_down a:hover{
	-webkit-animation: bounce-down ease-in 0.3s;
	   -moz-animation: bounce-down ease-in 0.18s;
	    -ms-animation: bounce-down ease-in 0.18s;
	     -o-animation: bounce-down ease-in 0.18s;
	        animation: bounce-down ease-in 0.18s;	

	-webkit-animation-iteration-count: 1;
	   -moz-animation-iteration-count: 1;
	    -ms-animation-iteration-count: 1;
	     -o-animation-iteration-count: 1;
	        animation-iteration-count: 1;

	/* -webkit-transform-origin: ;
	   -moz-transform-origin: ;
	    -ms-transform-origin: ;
	     -o-transform-origin: ;
	        transform-origin: ; */
}

/* ABOUT SECTION */
#about > div{
	position:relative;
	background-image: url('../images/triangulated_grid_bg.png');
	background-repeat: repeat;
}
#about .container{
	width:75%;
}
#our_detail{
	/* z-index: 1; */
	padding: 4px 0 240px;
	margin: 35px 0 0;
}
#our_workplace{
	height: 154px;
	overflow: hidden;
	z-index: 0;
	background-attachment: scroll;
	-webkit-background-size: cover;           /* Safari 3.0 */
      -moz-background-size: cover;           /* Gecko 1.9.2 (Firefox 3.6) */
        -o-background-size: cover;           /* Opera 9.5 */
           background-size: cover;
	background-position: center center;
			 
}

#our_team{
    padding: 60px 0 0;
}
#our_team .container{
	width:75%;
	position: relative;
}
#our_team h2{
	text-align:center;
}
#our_team .everyone-btn{
	margin: 20px auto 30px;
}
#our_team .members{}
	#our_team.everyone{
		padding-top: 150px;
		margin-bottom: 100px;
	}
	.members .member-wrapper{
		height: 620px;
		overflow: hidden;
		
		-webkit-backface-visibility: hidden;
		   -moz-backface-visibility: hidden;
		    -ms-backface-visibility: hidden;
		     -o-backface-visibility: hidden;
		        backface-visibility: hidden;
		/* Fix of Webkit flickering */
		z-index:1;
	}
	.members .member-container{
		position:relative;
		width:100%;
		-webkit-transition-property:-webkit-transform, left, top;
		-webkit-transition-duration:0s;
		-webkit-transform:translate3d(0px,0,0);
		-webkit-transition-timing-function:ease;

		-moz-transition-property:-moz-transform, left, top;
		-moz-transition-duration:0s;
		-moz-transform:translate3d(0px,0,0);
		-moz-transition-timing-function:ease;

		-o-transition-property:-o-transform, left, top;
		-o-transition-duration:0s;
		-o-transform:translate3d(0px,0,0);
		-o-transition-timing-function:ease;
		-o-transform:translate(0px,0px);

		-ms-transition-property:-ms-transform, left, top;
		-ms-transition-duration:0s;
		-ms-transform:translate3d(0px,0,0);
		-ms-transition-timing-function:ease;

		transition-property:transform, left, top;
		transition-duration:0s;
		transform:translate3d(0px,0,0);
		transition-timing-function:ease;

		-webkit-box-sizing: content-box;
		-moz-box-sizing: content-box;
		box-sizing: content-box;
	}
	.members .member-slide{
		float:left;
	}
	.members .member{
		padding: 25px 0;
		min-height: 310px;
	}
	.everyone .member{
		min-height: 335px;
	}
	.members .member .picture{
		width: 164px;
		margin: 0 auto;
		position: relative;
		height: 182px;
	}
	.members .member .picture .img{}
	.members .member .detail{
		text-align: center;
		margin: 12px auto 0;
		/* // width: 164px; */
	}
	.members .member .detail h3{
		font-weight:400;
		font-size: 16px;
		margin: 4px 0;
		color: #464646;
	}
	.members .member .detail .nick-name{
		background-color: #A3A3A3;
		text-transform: uppercase;
		vertical-align: middle;
		margin-left: 4px;
		font-size: 11px;
		display: inline-block;
		padding: 1px 4px;
		color: #fff;
		
		-webkit-border-radius: 2px;
		   -moz-border-radius: 2px;
		        border-radius: 2px;
		behavior: url(/assets/PIE/PIE.htc);
	}
	.members .member .detail h5{
		font-weight:400;
		font-size: 14px;
		color: #959595;
		margin: 0;
	}
	
.member-slide-btn{
	position:absolute;
	top:50%;
	width: 22px;
	height:40px;
	background-size: auto 100%;
	background-repeat: no-repeat;
}
.member-slide-btn:hover{
	cursor:pointer;
	background-position-x: -22px;
}
#member_prev{
	background-image: url('../images/prev.png');
	left: 4%;
}
#member_next{
	background-image: url('../images/next.png');
	right: 4%;
}

#product{
	background-color:#fed539;
	color:#fff;
	text-align: center;
	padding-top: 75px; /* hot fix */
}
#product .container{
	width:270px;
}
#product h2{}
#product .quote{
	color: #464646;
}
#product .quote .title{
	font-weight: 400;
	font-style: italic;
	font-size: 22px;
	opacity: 1;
	margin: 0;
}
#product .quote p.name{
	font-size: 15px;
	opacity: 0.8;
}
#product .products{
	margin: 50px 0;
}
#product .products > div{
    padding: 12px 0;
 }
#product .products .item{ }
#product .products .item img{ width: 130px; }
#product .products .mini-item {
}
#product .products .mini-item > div{ width: 60px; margin: 0 auto;}
#product .products .item h3{ font-size:20px; margin-top: 40px;}
#product .products .item p{ opacity:0.8;}

#career .container{
	width:85%;
	text-align:center;
}
#contact {
	padding-bottom:100px;
	padding-top: 30px;
}
#contact .container{
	text-align:center;
	width:70%;
}

#contact .contact-items{
    margin-bottom: 40px;
}
#contact .contact-items .item{
	opacity:1;
	padding: 12px 4px;
	-webkit-transition:  -webkit-transform 450ms ease-out, opacity 120ms linear;
	   -moz-transition:     -moz-transform 450ms ease-out, opacity 120ms linear;
	        transition:          transform 450ms ease-out, opacity 120ms linear;
}
#contact .contact-items .item .icon{
	width: 50px;
	margin: 0 auto;
}
#contact .contact-items .item p{
    margin-top: 30px;
 }
#contact .contact-items .item.hide{
	opacity:0;
	-webkit-transform: translate3d(0, 30px, 0);
	   -moz-transform: translate3d(0, 30px, 0);
	        transform: translate3d(0, 30px, 0);
}

#contact .contact-items .item:nth-child(1){
	-webkit-transition-delay: 300ms;
			transition-delay: 300ms;
}

#contact .contact-items .item:nth-child(2){
	-webkit-transition-delay: 660ms;
			transition-delay: 660ms;
}

#contact .contact-items .item:nth-child(3){
	-webkit-transition-delay: 900ms;
			transition-delay: 900ms;
}

.contact-btn{}

#map_panel{
	width: 100%;
	height: 155px;
	cursor: pointer;
	margin: 20px 0 80px;
	background: url(../images/enegistMap.jpg);
	background-position: center;
	-webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
}
#map_panel:hover{
	opacity:0.9;
}

#footer{
	background-color: #464646;
	color: #fff;
	padding: 55px 15px;
	font-size: 13px;
}

#footer .container {

}

#footer a{ color: #fff; }
#footer ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
#footer ul li{
    margin: 12px 0;
}

.footer-row{}
.footer-col{}

#footer .footer-menu{
    text-transform: capitalize;
}
#footer .copyright{
    text-align: center;
	font-size: 11px;
    position: absolute;
    bottom: 0;
}
#footer .social{
    text-align: center;
    margin-top: 6px;
    margin-bottom: 72px;
}
#footer .social li{
	width:24px;
	display: inline-block;
	margin: 0 4px;
}
#footer .social a{
    width: 16px;
}
#footer .social a img{}
#footer .sub-menu{
    text-align: right;
}
#footer .sub-menu a{}

.btn{
    background-color: #ffae00;
    color: #fff;
    text-transform: uppercase;
    width: 240px;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding: 14px 0;
	
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
	behavior: url(/assets/PIE/PIE.htc);
}
.btn:hover, .btn.active{
    background-color: #f7bc1d;
	cursor: pointer;
}
.btn a{
    color: #fff;
}

.mail-form{
	background-color: #f7bc1d;
	padding: 50px 0 250px;
	position: relative;
	display: none;
}
.mail-form.active{
	display:block;
	z-index: 1;
}
.mail-form .container{
    width: 420px;
}
.mail-form .form-arrow{
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -16px;
    border-bottom: 25px solid #f7bc1d;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
}
.display-form{
	margin-top:10px;
	display: table;
	width: 100%;
	margin-bottom: 20px;
}
.display-form span.required{
	color:#e23846;
}
.display-form .help{
	opacity:0.7;
	font-size:12px;
	left: 102%;
	width: 230px;
	top: 0px;
	padding: 10px;
}
.display-form .form-input{
    position: relative;
    margin: 30px 0;
}
.display-form .form-input label{
    position: absolute;
    right: 100%;
    width: 100px;
    padding: 8px;
    line-height: 1.4;
}
.display-form .form-input .input-right{
	display: table-cell;
    
	padding: 6px;
}
.display-form .form-input input[type="text"], 
.display-form .form-input textarea,
.display-form .form-input .span-input{
    padding: 8px;
    width: 100%;
    border: none;
    display: inline-block;
    line-height: 1.4;
	
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
	behavior: url(/assets/PIE/PIE.htc);
}
.display-form .form-input input[type="text"]:focus, 
.display-form .form-input textarea:focus{
	outline-color: #f7941d;
}
.display-form .form-input input[type="text"]{}
.display-form .form-bottom{
	text-align:center;
	margin-top: 55px;
}
.display-form .form-bottom input[type="submit"],
.display-form .form-bottom input[type="reset"],
.display-form .form-bottom input[type="button"]{
	display: inline-block;
	width: 110px;
	margin: 0 25px;
}
.display-form .form-bottom input[type="submit"]:active,
.display-form .form-bottom input[type="reset"]:active,
.display-form .form-bottom input[type="button"]:active{
	outline-color:#fff;
}
.display-form .btn-send{
    background-color: #363636;
}
.display-form .btn-clear{
    background-color: #111;
}

/* Job list page */
#jobs{
    padding-top: 80px;
}
#jobs h1{
    text-align: center;
    font-size: 30px;
}
#jobs .summary{
    text-align: center;
}
#jobs .container{
	width: 75%;
}
.job-list{
    padding: 52px 0 10px;
}
.job-list .job{
    position: relative;
    margin-bottom: 68px;
    padding-top: 4px;
}
.job-list .job h2{
    font-size: 18px;
    margin-bottom: 25px;
    margin-top: 4px;
}
.job-list .job p{
    font-size: 12px;
}
.job-list .job .btn-apply{
    position: absolute;
    top: 0;
    right: 0;
    width: 112px;
    font-size: 12px;
}
.job-list .job .readmore{
	color: #f7941d;
}
.job-list .job .readmore:hover{
	color: #f7bc1d;
}
/* Job Desc Page */
#job_desc{
	padding-top: 80px;
	/* padding-bottom: 1px; */
	position: relative;
	z-index: 1;
	background: url('../images/triangulated_grid_bg.png') repeat;
}
#job_desc .container{
	width: 75%;
}
#job_desc h1{
	font-size: 30px;
}
#job_desc h2{
	color:#ffae00;
	font-size: 14px;
}
#job_desc ul{
	padding-left:30px;
}
#job_desc a{
	color: #f7941d;
}
#job_desc .status{
	color:#e23846;
}
#job_desc .summary{
    margin-bottom: 35px;
}
#job_desc .salary p{
	padding-left: 20px;
}

#job_desc .btn-apply.top,
#job_desc .btn-apply.bottom{
	width: 112px;
	font-size: 12px;
	color: #fff;
}
#job_desc .btn-apply.top{
    float: right;
}
#job_desc .btn-back{
    float: right;
	width:80px;
	color: #A7A7A7;
	font-size: 12px;
	background-color: transparent;
	text-decoration: underline;
}
#job_desc .btn-apply.bottom{}

#job_desc .content-bottom{
	margin: 80px 0 85px;
}
#job_desc .content-bottom.active{
	margin-bottom: 35px;
}

input[type="submit"], input[type="reset"] {
	border:none;
}
input[type="submit"]:hover, input[type="reset"]:hover {
}
input[type="submit"]:active, input[type="reset"]:active {
	position:relative;
	top:1px;
}

.browsefile {}
.browsefile .input-file{
    display: none;
}
.browsefile .input-file-btn{
    background: url(../images/upload.png) no-repeat;
    display: inline-block;
    height: 44px;
    padding-left: 44px;
    background-size: contain;
    font-size: 12px;
    line-height: 44px;
}
.browsefile .input-file-btn span{}


#px480{ display:none; }
#px768{ display:none; }
#px1024{ display:none; }

/* ==========================================================================
   Helper classes
   ========================================================================== */
.main-color{ color: #f7941d !important; }
.sub-color{ color: #555555 !important; }
.full-width{ width:100%; }
.floatLeft{ float:left !important; }
.floatRight{ float:right !important; }

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}


/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden, .mobile-hide, .small-mobile-hide {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   CSS Animation.
   
   ========================================================================== */

@keyframes bounce-down{
  0% {
    left:0px;
    top:0px;
    opacity:1;
    transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
  19% {
    top:-3px;
  }
  45% {
    top:2px;
  }
  75% {
    top:-1px;
  }
  100% {
    left:0px;
    top:0px;
    opacity:1;
    transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
}

@-moz-keyframes bounce-down{
  0% {
    left:0px;
    top:0px;
    opacity:1;
    -moz-transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
  19% {
    top:-3px;
  }
  45% {
    top:2px;
  }
  75% {
    top:-1px;
  }
  100% {
    left:0px;
    top:0px;
    opacity:1;
    -moz-transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
}

@-webkit-keyframes bounce-down {
  0% {
    left:0px;
    top:0px;
    opacity:1;
    -webkit-transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
  19% {
    top:-3px;
  }
  45% {
    top:2px;
  }
  75% {
    top:-1px;
  }
  100% {
    left:0px;
    top:0px;
    opacity:1;
    -webkit-transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
}

@-o-keyframes bounce-down {
  0% {
    left:0px;
    top:0px;
    opacity:1;
    -o-transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
  19% {
    top:-3px;
  }
  45% {
    top:2px;
  }
  75% {
    top:-1px;
  }
  100% {
    left:0px;
    top:0px;
    opacity:1;
    -o-transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
}

@-ms-keyframes bounce-down {
  0% {
    left:0px;
    top:0px;
    opacity:1;
    -ms-transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
  19% {
    top:-3px;
  }
  45% {
    top:2px;
  }
  75% {
    top:-1px;
  }
  100% {
    left:0px;
    top:0px;
    opacity:1;
    -ms-transform:  rotate(0deg) scaleX(1) scaleY(1) ;
  }
}

.processing{
  animation: process-blink linear 1.6s 0 infinite;
  -webkit-animation: process-blink linear 1.6s 0 infinite;
  -moz-animation: process-blink linear 1.6s 0 infinite;
  -o-animation: process-blink linear 1.6s 0 infinite;
  -ms-animation: process-blink linear 1.6s 0 infinite;
}

@keyframes process-blink{
  0% {
    opacity:1;
  }
  50%{
    opacity:0.65;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes process-blink{
  0% {
    opacity:1;
  }
  50%{
    opacity:0.65;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes process-blink {
  0% {
    opacity:1;
  }
  50%{
    opacity:0.65;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes process-blink {
  0% {
    opacity:1;
  }
  50%{
    opacity:0.65;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes process-blink {
  0% {
    opacity:1;
  }
  50%{
    opacity:0.65;
  }
  100% {
    opacity:1;
  }
}
