/* 
 *
 * Author  :  Vlad Muraviov
 * Website :  http://coded.pro
 * E-mail  :  vlad.muraviov@gmail.com
 * Skype   :  vlad.muraviov
 *
 *
 */

/* ==========================================================================
	@import
   ========================================================================== */

@import url(../css/bootstrap.css);

@import url(../css/jquery.range.css);
@import url(../css/jquery.datepicker.css);
@import url(../css/jquery.tooltipster.css);
@import url(../css/jquery.formstyler.css);
@import url(../css/jquery.fancybox.css);

/* ==========================================================================
   Snippets
   ========================================================================== */

.cover {
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.clearfix {
	&:after, &:before {
		content: " ";
  		display: table;
	}
	&:after {
	  clear: both;
	}
}

.trs (@transition) {
    -webkit-transition: @transition;  
    -moz-transition: @transition;
    -ms-transition: @transition; 
    -o-transition: @transition;
    transition: @transition;  
}

/* ==========================================================================
   Typography
   ========================================================================== */

@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic&subset=latin,cyrillic-ext);

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

.icon-rub {
    font-family: 'als_rublregular';
    &:after {
        position: relative;
        content: 'i';
        font-weight: 400;
        text-transform: none;
    }
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'PT Sans', sans-serif;
	font-weight: 700;
}

p {
	margin: 0 0 19px;
}

img {
	max-width: 100%;
}

hr {
	height: 0;
	border-top: 1px solid #CCCCCC;
	clear: both;
}

small {
	font-size: 14px;
}

label {
	// margin-bottom: 10px;
	small {
		// color: #808080;
	}
}

a {
	color: #1f77aa;
	text-decoration: underline;
	&:hover {
		color: #f66b0e;
		text-decoration: underline;
	}
}

// ::-moz-selection {
//     background: #161616;
//     color: #fff;
//     text-shadow: none;
// }

// ::selection {
//     background: #161616;
//     color: #fff;
//     text-shadow: none;
// }

:active, :hover, :focus  {
    outline: 0 !important;
}

/* ==========================================================================
   Elements
   ========================================================================== */




@media screen and (min-width: 992px){

	.text-nowrap-md {
		white-space: nowrap;
	}

}

.alert-green {
	border-radius: 0;
	border: none;
	background: #EBFAEB;
	margin-bottom: 25px;
	padding: 12px 20px;
}

.alert-scammers {
	border-radius: 0;
	border: none;
	background: #F7EFD2;
	margin-bottom: 25px;
	padding: 12px 12px 12px 60px;
	position: relative;
	strong {
		color: #c26d21;
	}
	p {
		margin: 0;
	}
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		left: 15px;
		background: url(../images/icons.png) -603px -82px no-repeat;
		width: 26px;
		height: 26px;
		margin: -13px 0 0;
	}
}

.alert-important {
	border-radius: 0;
	border: none;
	background: #FAEDED;
	margin-bottom: 25px;
	padding: 12px 12px 12px 60px;
	color: #424a51;
	position: relative;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		left: 15px;
		background: url(../images/icons.png) -563px -80px no-repeat;
		width: 30px;
		height: 30px;
		margin: -15px 0 0;
	}
}

.alert-min {
	border-radius: 0;
	border: none;
	font-size: 14px;
	line-height: 17px;
	color: #424a51;
	padding: 8px 10px;
	margin-bottom: 25px;
}

.alert-help {
	border-radius: 0;
	border: none;
	font-size: 14px;
	line-height: 17px;
	color: #424a51;
	padding: 8px 10px;
	margin-bottom: 25px;
	padding-left: 55px;
	position: relative;
	min-height: 50px;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 10px;
		left: 10px;
		background: url(../images/icons.png) -320px -170px no-repeat;
		width: 30px;
		height: 30px;
	}
	mark {
		background: none;
		color: #1f77aa;
		display: block;
		font-weight: 700;
		padding: 0;
	}
}


.heading {
	font-size: 28px;
	line-height: 32px;
	color: #2b2f33;
	margin: 0 0 10px;
}

.tooltip {
	white-space: normal;
}

.tooltip-close {
	position: absolute;
	top: 14px;
	right: 24px;
	display: block;
	width: 11px;
	height: 11px;
	background: url(../images/icons.png) -89px -115px no-repeat;
	cursor: pointer;
	z-index: 99;
}

.tooltip-close:hover {
	background-position: -89px -99px;
}

.tooltip-link {
	cursor: help;
	color: #1f77aa;
	text-decoration: underline;
	&:hover {
		color: #f66b0e;
	}
}

.text-label {
	display: inline-block;
	vertical-align: top;
	line-height: 19px;
	margin: 8px 0;
}

.text-label-lg {
	margin: 12px 0;
}

/* --- */

.form-forgot {
	margin: 10px 0;
}

.has-error .form-error { display: block; }

.form-error {
	font-size: 14px;
	line-height: 17px;
	// color: #a01616;
	color: #d50a0a;
	margin: 0;
	padding: 4px 0 0;
	display: none;
}

.form-text {
	font-size: 14px;
	line-height: 17px;
	margin: 0 0 10px;
	padding: 2px 0 0;
	display: block;
	sup {
		top: -3px;
		color: #a01616;
	}
	mark {
		background: none;
		border: none;
		padding: 0;
		color: #808080;
	}
}

/* --- */

.btn-location {
	display: inline-block;
	border: none;
	width: 20px;
	height: 20px;
	background: url(../images/icons.png) -23px -138px no-repeat;
	position: relative;
	&:after {
		.trs(opacity 0.3s ease);
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff url(../images/icons.png) -48px -138px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
	&:hover:after {
		opacity: 1;
		visibility: visible;
	}
}

.btn-search {
	display: inline-block;
	position: relative;
	border: none;
	width: 16px;
	height: 17px;
	background: url(../images/icons.png) -96px -162px no-repeat;
	text-indent: -9999px;
	&:after {
		.trs(opacity 0.3s ease);
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff url(../images/icons.png) -96px -183px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
	&:hover:after {
		opacity: 1;
		visibility: visible;
	}
}

.btn-scroll {
	display: block;
	border: none;
	background: #1D2024;
	width: 50px;
	height: 50px;
	position: fixed;
	top: 100%;
	right: 30px;
	margin: -85px 0 0;
	z-index: 1001;
	display: none;
	&:after {
		content: '';
		display: block;
		background: url(../images/icons.png) -85px 0 no-repeat;
		width: 13px;
		height: 8px;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -4px 0 0 -7px;
	}
	&:hover {
		background: #15171B;
	}
	&:active {
		background: #1D2024;
	}
}

.btn-yellow {
	background: rgb(253,237,101);
	background: -moz-linear-gradient(top,  rgba(253,237,101,1) 0%, rgba(223,169,2,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(253,237,101,1)), color-stop(100%,rgba(223,169,2,1)));
	background: -webkit-linear-gradient(top,  rgba(253,237,101,1) 0%,rgba(223,169,2,1) 100%);
	background: -o-linear-gradient(top,  rgba(253,237,101,1) 0%,rgba(223,169,2,1) 100%);
	background: -ms-linear-gradient(top,  rgba(253,237,101,1) 0%,rgba(223,169,2,1) 100%);
	background: linear-gradient(to bottom,  rgba(253,237,101,1) 0%,rgba(223,169,2,1) 100%);
	color: #454227;
	border-color: #916D01;
	&:hover {
		background: rgb(253,244,140);
		background: -moz-linear-gradient(top,  rgba(253,244,140,1) 0%, rgba(236,203,3,1) 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(253,244,140,1)), color-stop(100%,rgba(236,203,3,1)));
		background: -webkit-linear-gradient(top,  rgba(253,244,140,1) 0%,rgba(236,203,3,1) 100%);
		background: -o-linear-gradient(top,  rgba(253,244,140,1) 0%,rgba(236,203,3,1) 100%);
		background: -ms-linear-gradient(top,  rgba(253,244,140,1) 0%,rgba(236,203,3,1) 100%);
		background: linear-gradient(to bottom,  rgba(253,244,140,1) 0%,rgba(236,203,3,1) 100%);
		border-color: #998300;
	}
	&:active {
		background: rgb(230,193,26);
		background: -moz-linear-gradient(top,  rgba(230,193,26,1) 0%, rgba(245,228,77,1) 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(230,193,26,1)), color-stop(100%,rgba(245,228,77,1)));
		background: -webkit-linear-gradient(top,  rgba(230,193,26,1) 0%,rgba(245,228,77,1) 100%);
		background: -o-linear-gradient(top,  rgba(230,193,26,1) 0%,rgba(245,228,77,1) 100%);
		background: -ms-linear-gradient(top,  rgba(230,193,26,1) 0%,rgba(245,228,77,1) 100%);
		background: linear-gradient(to bottom,  rgba(230,193,26,1) 0%,rgba(245,228,77,1) 100%);
		border-color: #9F9434;
	}
}

.btn-green {
	background: rgb(75,175,80);
	background: -moz-linear-gradient(top,  rgba(75,175,80,1) 0%, rgba(41,110,45,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(75,175,80,1)), color-stop(100%,rgba(41,110,45,1)));
	background: -webkit-linear-gradient(top,  rgba(75,175,80,1) 0%,rgba(41,110,45,1) 100%);
	background: -o-linear-gradient(top,  rgba(75,175,80,1) 0%,rgba(41,110,45,1) 100%);
	background: -ms-linear-gradient(top,  rgba(75,175,80,1) 0%,rgba(41,110,45,1) 100%);
	background: linear-gradient(to bottom,  rgba(75,175,80,1) 0%,rgba(41,110,45,1) 100%);
	color: #fff;
	border-color: #18491B;
	&:hover {
		background: rgb(81,183,87);
		background: -moz-linear-gradient(top,  rgba(81,183,87,1) 0%, rgba(46,121,49,1) 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(81,183,87,1)), color-stop(100%,rgba(46,121,49,1)));
		background: -webkit-linear-gradient(top,  rgba(81,183,87,1) 0%,rgba(46,121,49,1) 100%);
		background: -o-linear-gradient(top,  rgba(81,183,87,1) 0%,rgba(46,121,49,1) 100%);
		background: -ms-linear-gradient(top,  rgba(81,183,87,1) 0%,rgba(46,121,49,1) 100%);
		background: linear-gradient(to bottom,  rgba(81,183,87,1) 0%,rgba(46,121,49,1) 100%);
		color: #fff;
		border-color: #1C501E;
	}
	&:active {
		background: rgb(39,98,41);
		background: -moz-linear-gradient(top,  rgba(39,98,41,1) 0%, rgba(57,147,61,1) 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(39,98,41,1)), color-stop(100%,rgba(57,147,61,1)));
		background: -webkit-linear-gradient(top,  rgba(39,98,41,1) 0%,rgba(57,147,61,1) 100%);
		background: -o-linear-gradient(top,  rgba(39,98,41,1) 0%,rgba(57,147,61,1) 100%);
		background: -ms-linear-gradient(top,  rgba(39,98,41,1) 0%,rgba(57,147,61,1) 100%);
		background: linear-gradient(to bottom,  rgba(39,98,41,1) 0%,rgba(57,147,61,1) 100%);
		border-color: #246027;
	}
}

.btn-dark {
	background: #6e7884;
	background: -moz-linear-gradient(top,  #6e7884 0%, #454a51 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6e7884), color-stop(100%,#454a51));
	background: -webkit-linear-gradient(top,  #6e7884 0%,#454a51 100%);
	background: -o-linear-gradient(top,  #6e7884 0%,#454a51 100%);
	background: -ms-linear-gradient(top,  #6e7884 0%,#454a51 100%);
	background: linear-gradient(to bottom,  #6e7884 0%,#454a51 100%);
	color: #fff;
	border-color: #272C30;
	&:hover {
		background: #7a8693;
		background: -moz-linear-gradient(top,  #7a8693 0%, #484e54 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7a8693), color-stop(100%,#484e54));
		background: -webkit-linear-gradient(top,  #7a8693 0%,#484e54 100%);
		background: -o-linear-gradient(top,  #7a8693 0%,#484e54 100%);
		background: -ms-linear-gradient(top,  #7a8693 0%,#484e54 100%);
		background: linear-gradient(to bottom,  #7a8693 0%,#484e54 100%);
		color: #fff;
	}
	&:active {
		background: #535B66;
		border-color: #535B66;
	}
}

.btn-red {
	background: #a84646;
	background: -moz-linear-gradient(top,  #a84646 0%, #872b2b 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a84646), color-stop(100%,#872b2b));
	background: -webkit-linear-gradient(top,  #a84646 0%,#872b2b 100%);
	background: -o-linear-gradient(top,  #a84646 0%,#872b2b 100%);
	background: -ms-linear-gradient(top,  #a84646 0%,#872b2b 100%);
	background: linear-gradient(to bottom,  #a84646 0%,#872b2b 100%);
	color: #fff;
	border-color: #571B1B;
	&:hover {
		background: #cb5f5f;
		background: -moz-linear-gradient(top,  #cb5f5f 0%, #ac3636 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cb5f5f), color-stop(100%,#ac3636));
		background: -webkit-linear-gradient(top,  #cb5f5f 0%,#ac3636 100%);
		background: -o-linear-gradient(top,  #cb5f5f 0%,#ac3636 100%);
		background: -ms-linear-gradient(top,  #cb5f5f 0%,#ac3636 100%);
		background: linear-gradient(to bottom,  #cb5f5f 0%,#ac3636 100%);
		color: #fff;
		border-color: #732424;
	}
	&:active {
		background: #a03232;
		background: -moz-linear-gradient(top,  #a03232 0%, #c15555 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a03232), color-stop(100%,#c15555));
		background: -webkit-linear-gradient(top,  #a03232 0%,#c15555 100%);
		background: -o-linear-gradient(top,  #a03232 0%,#c15555 100%);
		background: -ms-linear-gradient(top,  #a03232 0%,#c15555 100%);
		background: linear-gradient(to bottom,  #a03232 0%,#c15555 100%);
		border-color: #6C2121;
	}
}

.btn-grey {
	background: #f0f0f0;
	background: -moz-linear-gradient(top,  #f0f0f0 0%, #dbdbdb 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f0f0), color-stop(100%,#dbdbdb));
	background: -webkit-linear-gradient(top,  #f0f0f0 0%,#dbdbdb 100%);
	background: -o-linear-gradient(top,  #f0f0f0 0%,#dbdbdb 100%);
	background: -ms-linear-gradient(top,  #f0f0f0 0%,#dbdbdb 100%);
	background: linear-gradient(to bottom,  #f0f0f0 0%,#dbdbdb 100%);
	color: #424a51;
	border: 1px solid #E4E4E4;
	border-bottom: 2px solid #A2A2A2;;
	&:hover {
		background: #f6f6f6;
		background: -moz-linear-gradient(top,  #f6f6f6 0%, #e2e2e2 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#e2e2e2));
		background: -webkit-linear-gradient(top,  #f6f6f6 0%,#e2e2e2 100%);
		background: -o-linear-gradient(top,  #f6f6f6 0%,#e2e2e2 100%);
		background: -ms-linear-gradient(top,  #f6f6f6 0%,#e2e2e2 100%);
		background: linear-gradient(to bottom,  #f6f6f6 0%,#e2e2e2 100%);
		color: #424a51;
	}
	&:active {
		background: #dbdbdb;
		background: -moz-linear-gradient(top,  #dbdbdb 0%, #f0f0f0 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dbdbdb), color-stop(100%,#f0f0f0));
		background: -webkit-linear-gradient(top,  #dbdbdb 0%,#f0f0f0 100%);
		background: -o-linear-gradient(top,  #dbdbdb 0%,#f0f0f0 100%);
		background: -ms-linear-gradient(top,  #dbdbdb 0%,#f0f0f0 100%);
		background: linear-gradient(to bottom,  #dbdbdb 0%,#f0f0f0 100%);
	}
}

.btn-more {
	.trs(0.3s ease);
	border: 1px solid #1F77AA;
	border-radius: 0;
	font-weight: 400;
	color: #1f77aa;
	text-decoration: underline;
	font-size: 16px;
	&:hover {
		background: #1f77aa;
		color: #fff;
		text-decoration: underline;
	}
	&:active {
		.trs(0s ease);
		background: #116595;
	}
}

.btn-help {
	display: inline-block;
	vertical-align: middle;
	border: none;
	background: none;
	padding: 0;
	font-size: 14px;
	line-height: 20px;
	color: #737a80 !important;
	text-decoration: underline !important;
	padding: 0 0 0 30px;
	position: relative;
	text-align: left;
	font-weight: 400;
	.icon-help {
		position: absolute;
		top: 0;
		left: 0;
		margin-right: 10px;
	}
	&:hover {
		color: #f66b0e !important;
		.icon-help:after {
			opacity: 1;
			visibility: visible;
		}
	}
}

.btn-print {
	.trs(0.3s ease);
	display: inline-block;
	vertical-align: top;
	border: 1px solid #1F77AA;
	border-radius: 0;
	font-weight: 400;
	color: #1f77aa;
	text-decoration: none;
	font-size: 16px;
	line-height: 18px;
	padding: 10px 20px;
	position: relative;
	border-radius: 3px;
	&:hover {
		text-decoration: none;
		background: #1f77aa;
		color: #fff;
		.icon-print:after {
			opacity: 1;
			visibility: visible;
		}
	}
	&:active {
		.trs(0s ease);
		background: #116595;
	}
}

/* ----- modal ----- */

.popup {
    position: relative;
    padding: 15px;
}
.popup-animate {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -moz-transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
}

.popup-animate.open {
    -moz-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    opacity: 1;
}

.popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: block;
	border: none;
	padding: 0;
	width: 11px;
	height: 11px;
	background: url(../images/icons.png) -89px -115px no-repeat;
	cursor: pointer;
	z-index: 99;
}

.popup-close:hover {
	background-position: -89px -99px;
}

.popup-content {
    background: #FFFFFF;
    // padding: 20px;
    margin: 10px 0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.popup-login {
	max-width: 800px;
}

/* --- login --- */

.login {
	label {
		color: #2b2f33;
	}
	.row-sm-table {
		margin: 0;
		& > [class^="col-"] {
			padding: 15px 20px;
			&:last-child {
				margin: 10px 0 0;
				border-top: 1px solid #DEDEDE;
				background: #F7F7F7;
			}
		}
	}
	.form-group label {
		margin-right: -10px;
		max-width: none;
	}
	.btn-sm {
		padding-left: 34px;
		padding-right: 34px;
	}
}

.login-heading {
	font-size: 26px;
	line-height: 30px;
	font-weight: 700;
	display: block;
	margin: 0 0 10px;
	color: #388e3c;
}

.login-dl {
	margin: 0;
	padding: 0;
	dt {
		display: block;
		font-size: 18px;
		line-height: 19px;
		color: #2b2f33;
		margin: 0 0 7px;
	}
	dd {
		font-size: 16px;
		line-height: 19px;
		margin: 0 0 7px;
		padding: 0;
	}
	p {
		margin: 0 0 7px;
		&:last-child { margin: 0; }
	}
	ul {
		margin: 0;
		padding: 0 0 7px;
		list-style: none;
		& > li {
			margin: 0 0 7px;
		}
	}
}

.login-screen {
	background: #fff;
	display: block;
	margin: 0;
	height: 120px;
	line-height: 120px;
	text-align: center;
	border-radius: 3px;
	img {
		vertical-align: middle;
		max-height: 100%;
	}
}


@media screen and (min-width: 768px){

	.login {
		.row-sm-table {
			margin: 0;
			& > [class^="col-"]:last-child {
				margin: 0;
				border-top: none;
				border-left: 1px solid #DEDEDE;
			}
		}

	}

}

/* --- recovery --- */

.popup-recovery {
	max-width: 736px;
}

.recovery {
	label {
		color: #2b2f33;
	}
	.btn {
		margin: 20px 0 10px;
	}
	.row-sm-table {
		margin: 0;
		& > [class^="col-"] {
			padding: 10px 20px;
			&:last-child {
				margin: 10px 0 0;
				background: #F7EFD2;
			}
		}
	}
}

.recovery-heading {
	font-size: 26px;
	line-height: 30px;
	font-weight: 700;
	display: block;
	margin: 0 0 10px;
	color: #388e3c;
}

.recovery-text {
	font-size: 14px;
	line-height: 17px;
	color: #2b2f33;
	margin: 0 0 10px;
}

@media screen and (min-width: 768px){

	.recovery {
		.row-sm-table {
			margin: 0;
			& > [class^="col-"]:last-child {
				margin: 0;
			}
		}

	}

}

.warning {
	line-height: 19px;
	strong {
		display: block;
		font-size: 18px;
		line-height: 24px;
		margin: 0 0 7px;
		color: #c26d21;
	}
	p {
		margin: 0 0 7px;
	}
	figure {
		margin: 0;
		text-align: center;
	}
}

/* --- ask --- */

.popup-ask {
	width: 385px;
	max-width: 100%;
}

.ask {
	padding: 10px 20px;
	.btn {
		margin: 20px 0 10px;
	}
}

.ask-heading {
	font-size: 26px;
	line-height: 30px;
	font-weight: 700;
	display: block;
	margin: 0 0 10px;
	color: #388e3c;
}



/* ==========================================================================
   Icons
   ========================================================================== */

.icon-success, .icon-print, .icon-up, .icon-exit, .icon-help, .icon-arr_happen, .icon-close_happen, .icon-arr_right, .icon-loan_1, .icon-loan_2, .icon-comment, .icon-search, .icon-video, .icon-auth, .icon-how_1, .icon-how_2, .icon-how_3 {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	background: url(../images/icons.png) 0 0 no-repeat;
}

.icon-success {
	display: block;
	margin: 0 auto 20px;
	width: 87px;
	height: 88px;
	background-position: -564px -116px
}

.icon-print {
	width: 20px;
	height: 20px;
	background-position: -294px -180px;
	margin: 0 10px 0 -5px;
	&:after {
		.trs(0.3s ease);
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url(../images/icons.png) -376px -180px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
}

.icon-up {
	width: 10px;
	height: 16px;
	background-position: -279px -184px;
	vertical-align: baseline;
	top: 1px;
}

.icon-exit {
	width: 16px;
	height: 12px;
	background-position: -355px -188px;
	margin: 4px auto;
	display: block;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url(../images/icons.png) -355px -171px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
}

.icon-help {
	width: 20px;
	height: 20px;
	background-position: -228px -180px;
	top: -1px;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url(../images/icons.png) -253px -180px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
}


.icon-arr_happen {
	width: 13px;
	height: 9px;
	background-position: -193px -163px;
	margin-left: 10px;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url(../images/icons.png) -210px -163px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
}

.icon-close_happen {
	width: 10px;
	height: 10px;
	background-position: -196px -190px;
	margin-right: 5px;
	top: -1px;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url(../images/icons.png) -211px -190px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
}

.icon-arr_right {
	width: 11px;
	height: 17px;
	background-position: -143px -163px;
	margin-left: 15px;
}

.icon-loan_1 {
	width: 47px;
	height: 65px;
	background-position: -563px -5px;
	margin: 5px 12px 0 0;
	top: -18px;
}
.icon-loan_2 {
	width: 47px;
	height: 70px;
	background-position: -615px 0;
	margin: 0 12px 0 0;
	top: -18px;
}

.icon-comment {
	width: 18px;
	height: 15px;
	background-position: -73px -163px;
	margin-right: 5px;
}

.icon-search {
	width: 18px;
	height: 19px;
	background-position: 0 -138px;
}

.icon-video {
	width: 20px;
	height: 20px;
	background-position: -60px 0;
	margin-right: 12px;
	top: -1px;
}

.icon-how_1, .icon-how_2, .icon-how_3 {
	width: 142px;
	height: 156px;
}

.icon-how_1 {
	background-position: -120px 0;
}
.icon-how_2 {
	background-position: -268px 0;
}
.icon-how_3 {
	background-position: -416px 0;
}

.icon-auth {
	width: 10px;
	height: 21px;
	background-position: -45px 0;
	top: -2px;
	margin: 0 8px;
}

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

html, body {
    height: 100%;
}

body {
	background: #F7F7F7;
	font: 400 16px/20px 'PT Sans', sans-serif;
	// color: #252a2e;
	color: #424a51;
	overflow-y: scroll;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	&.is-photo {
		-webkit-animation-name: photo;
  		animation-name: photo;
	}
}

@-webkit-keyframes photo {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes photo {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

.layout {
    overflow: hidden;
    position: relative;
    min-height: 100%;
    // z-index: 10;
}

.container-fluid {
    max-width: 960px;
}

@media screen and (min-width: 992px){
	
	.container-fluid {
	    padding-left: 10px;
	    padding-right: 10px;
	}

}

@media screen and (max-width: 479px){
	
	.row-reset-480 {
		& > [class^="col-"], & > [class*=" col-"] {
	        width: 100% !important;
	        float: none;
	    }
	}

}

.row-offset-0 {
    margin: 0;
    & > [class^="col-"], & > [class*=" col-"] {
        padding: 0;
    }
}

.row-offset-20 {
    margin: 0 -10px;
    & > [class^="col-"], & > [class*=" col-"] {
        padding: 0 10px;
    }
}


.row-inline {
	& > [class^="col-"], & > [class*=" col-"] {
        display: inline-block;
        vertical-align: top;
        margin: 0 -4px 0 0;
    }
}

@media screen and (min-width: 768px){

	.row-sm-table {
		margin: 0;
		display: table;
		width: 100%;
		& > [class^="col-"], & > [class*=" col-"] {
	        float: none;
	        display: table-cell;
	        padding: 0;
	    }
	}

	

}

@media screen and (min-width: 992px){

	.row-md-4-border {
		position: relative;
		&:before {
	        content: '';
	        display: block;
	        position: absolute;
	        top: 0;
	        height: 100%;
	        left: 33.33333333%;
	        width: 1px;
	        background: #CCCCCC;
	        margin-left: -10px;
	    }
	}

}

.col-xs-50pct, .col-sm-20pct {
	float: left;
	min-height: 1px;
	padding: 0 10px;
}

.col-xs-50pct { width: 50%; }

@media screen and (min-width: 768px){
	.col-sm-20pct { width: 20%; }
}

/* ==========================================================================
   Header
   ========================================================================== */

.layout-index .header {
	// overflow: hidden;
	display: inline-block;
	vertical-align: top;
	width: 100%;
	// background: #FAFAFA url(../images/bg-index-mob.png) center bottom no-repeat;
	// min-height: 300px;
	// -moz-background-size: 100% auto;
	// -webkit-background-size: 100% auto;
	// -o-background-size: 100% auto;
	// background-size: 100% auto;
}

// .layout-photo {
// 	-webkit-animation-duration: 1s;
// 	animation-duration: 1s;
// 	-webkit-animation-fill-mode: both;
// 	animation-fill-mode: both;
// 	&.is-animate {
// 		-webkit-animation-name: photo;
//   		animation-name: photo;
// 	}
// }

@-webkit-keyframes photo {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes photo {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

.header {
	// background: #fff;
	position: relative;
	z-index: 30;
	// overflow: hidden;
}

.top-sidebar {
	height: 60px;
	background: #fff;
	position: relative;
}

/* --- */

.logo {
	padding: 14px 0 0;
	max-width: 187px;
	img {
		display: block;
	}
}

.logo-text {
	display: block;
	font-size: 16px;
	line-height: 18px;
	color: #797c80;
	margin: 0;
	white-space: nowrap;
}

/* --- */

.city {
	padding: 14px 0 0;
	margin: 0 0 0 -5px;
	text-align: center;
}

.city-current {
	margin: 0;
	white-space: nowrap;
}

.city-link {
	color: #2b2f33;
	&:hover {
		color: #f66b0e;
	}
} 


/* --- city-dropdown --- */

.city-dropdown-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 15;
	opacity: 0;
	visibility: hidden;
	&.is-active {
		visibility: visible;
	}
}

.city-dropdown {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 20;
	border-bottom: 1px solid #ccc;
	background: #fff;
	box-shadow: 0 1px 10px rgba(0,0,0,.3);
	text-align: left;
	padding: 25px 0;
	display: none;
}

.city-dropdown-close {
	display: block;
	border: none;
	display: block;
	position: absolute;
	top: 18px;
	right: 18px;
	width: 17px;
	height: 17px;
	background: url(../images/icons.png) -73px -139px no-repeat;
	&:after {
		.trs(opacity 0.3s ease);
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff url(../images/icons.png) -95px -139px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
	&:hover:after {
		opacity: 1;
		visibility: visible;
	}
}

.city-heading {
	font-size: 22px;
	line-height: 28px;
	font-weight: 400;
	text-align: center;
	margin: 0 0 20px;
	color: #424a51;
	display: block;
}

.city-search {
	position: relative;
	margin: 0 0 25px;
	.icon-search {
		display: block;
		position: absolute;
		left: 20px;
		top: 50%;
		margin-top: -10px;
	}
	.form-control {
		height: 50px;
		border-radius: 0;
		padding: 15px 50px;
	}
	.btn-location {
		position: absolute;
		top: 50%;
		right: 12px;
		margin-top: -10px;
	}
}

.city-content .city-heading {
	margin: 0 0 25px;
}

.city-content-row {
	display: table;
	width: 100%;
}

.city-content-col {
	display: table-cell;
}

.city-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 20px;
	&:last-child {
		margin: 0;
	}
	li {
		margin: 0 0 10px;
	}
	a {
		color: #424a51;
		text-decoration: none;
		&:hover {
			color: #1f77aa;
			text-decoration: underline;
		}
	}
}

/* --- */

/* --- */

.auth {
	padding: 14px 0 0;
	text-align: center;
}

.auth-link {
	color: #2b2f33;
	text-decoration: none;
	white-space: nowrap;
	u {
		text-decoration: underline;
	}
	&:hover {
		color: #f66b0e;
		text-decoration: none;
	}
}

.auth-user {
	float: right;
	display: inline-block;
	vertical-align: top;
	position: relative;
	padding: 0 15px 0 55px;
	margin: 0 55px 0 0;
	height: 40px;
	font-size: 14px;
	line-height: 20px;
	color: #2b2f33;
	border-right: 1px solid #CCCCCC;
}

.auth-user-image {
	margin: 0;
	background: url(../images/bg-auth-user-image.png) 0 0 no-repeat;
	width: 43px;
	height: 43px;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 0;
	margin: -21px 0 0;
	overflow: hidden;
	img {
		display: block;
		width: 100%;
		height: 100%;
	}
}

.auth-user-name {
	margin: 0;
	font-size: 16px;
}

.auth-user-balance {
	margin: 0;
	b {
		font-weight: 700;
		text-decoration: underline;
	}
	.icon-rub:after { font-weight: 700; }
}

.auth-user-exit {
	position: absolute;
	top: 50%;
	left: 100%;
	width: 55px;
	text-align: center;
	height: 40px;
	font-size: 14px;
	line-height: 20px;
	color: #737a80;
	text-decoration: none;
	display: block;
	margin: -20px 0 0;
	&:hover {
		color: #00434D;
		text-decoration: none;
		.icon-exit:after {
			opacity: 1;
			visibility: visible;
		}
	}
}

/* --- */

.phone {
	height: 60px;
	line-height: 60px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	display: block;
	margin: 0;
	background: #363C41;
	white-space: nowrap;
	small {
		display: block;
		font-size: 16px;
		line-height: 18px;
		font-weight: 400;
	}
	a {
		text-decoration: none;
		color: #fff;
	}
}


.phone-small {
	font-size: 22px;
	line-height: 24px;
	font-weight: 700;
	color: #2c2f34;
	margin: 0;
	padding: 0 55px 0 0;
	overflow: hidden;
	text-align: right;
	display: block;
	position: relative;
	top: -4px;
	small {
		display: block;
	}
}

/* --- */

.navigation {
	display: none;
}

/* --- */

.nav-steps {
	padding: 0;
	position: relative;
	font-size: 16px;
	line-height: 40px;
	display: none;
}

.nav-steps-list {
	margin: 0 -15px;
	padding: 0;
	list-style: none;
	border-radius: 5px;
	border: 1px solid #CCCCCC;
	color: #424a51;
	background: #fff;
	overflow: hidden;
	& > li {
		padding: 0 15px;
		border-bottom: 1px solid #ccc;
		&.is-active {
			background: #FFEA00;
		}
		&:last-child { border: none; }
	}
}

/* --- */

.nav-open {
	overflow: hidden;
	.nav-mob-open {
		opacity: 0;
		visibility: hidden;
	}
	.nav-mob-overlay {
		visibility: visible;
	}
}

.nav-mob {
	position: fixed;
	top: 0;
	right: -260px;
	height: 100%;
	width: 260px;
	z-index: 100;
	.icon-auth {
		margin-left: 0;
	}
	.auth-user {
		display: block;
		background: #D5DAE3;
		float: none;
		height: auto;

		padding: 10px 20px;
		margin: 0;
		border: none;
	}
	.auth-user-exit {
		position: static;
		white-space: nowrap;
		height: auto;
		margin: 0;
		.icon-exit {
			display: inline-block;
			vertical-align: middle;
			margin: 0 2px 0 0;
			top: -1px;
		}
	}
	.auth-user-image {
		display: none;
	}
}

.nav-mob-line {
	position: absolute;
	top: 0;
	right: 100%;
	width: 25px;
	height: 100%;
	z-index: 101;
}

.nav-mob-open {
	.trs(0.3s ease);
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 60px;
	background: none;
	border: none;
	z-index: 110;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 20px;
		height: 17px;
		background: url(../images/icons.png) 0 0 no-repeat;
		margin: -9px 0 0 -10px;
	}
	&.is-active {
		opacity: 0;
		visibility: hidden;
	}
}

.nav-mob-close {
	.trs(0.3s ease);
	position: absolute;
	top: 0;
	right: 100%;
	width: 60px;
	height: 60px;
	background: #454C52;
	z-index: 110;
	border: none;
	opacity: 0;
	visibility: hidden;

	-moz-backface-visibility: visible;
	-webkit-backface-visibility: visible;
	backface-visibility: visible;

	transform-origin: 60px 0;

	-webkit-transform: rotateY(-90deg);
	-moz-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
	
	
	
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 15px;
		height: 15px;
		background: url(../images/icons.png) -25px -1px no-repeat;
		margin: -8px 0 0 -8px;
	}

	&.is-active {
		-webkit-transform: rotateY(0deg);
		-moz-transform: rotateY(0deg);
		transform: rotateY(0deg);
		visibility: visible;
		opacity: 1;
	}
}

.nav-mob-overlay {
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background: #000;
	opacity: 0;
	visibility: hidden;
	&.is-active {
		visibility: visible;
	}
}

.nav-mob-content {
	height: 100%;
	background: #454C52;
	position: relative;
	z-index: 101;
}

.nav-mob-scroll {
	overflow-y: auto;
	position: absolute;
	top: 60px;
	bottom: 0;
	left: 0;
	width: 100%;
}

.nav-mob-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 40px;
	white-space: nowrap;
	li {
		border-bottom: 1px solid #32393E;
		&:last-child { border-bottom: none; }
		&.is-active a {
			background: #FCE700;
			color: #454227;
		}
	}
	a {
		.trs(0.3s ease);
		display: block;
		padding: 0 20px;
		color: #fff;
		text-decoration: none;
		&:hover {
			color: #FCE700;
		}
		&.is-active {
			background: #FCE700;
			color: #454227;
		}
	}
}

/* --- */

.home {
	background: #FAFAFA url(../images/bg-index-mob.png) center bottom no-repeat;
	min-height: 240px;
	-moz-background-size: 100% auto;
	-webkit-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
	padding: 15px 0 10px;
	position: relative;
	.btn {
		margin: 45px 0 0;
		display: block;
	}
}

.home-heading {
	font-size: 28px;
	line-height: 32px;
	color: #2b2f33;
	margin: 0 0 14px;
	br {
		display: none;
	}
}

.home-text {
	margin: 0;
}

@media screen and (min-width: 480px){

	.layout-index .header {
		// background-image: url(../images/bg-index.png);
		// -moz-background-size: 140% 100%;
		// -webkit-background-size: 140% 100%;
		// -o-background-size: 140% 100%;
		// background-size: 140% 100%;
	}
	
	/* --- */

	.home {
		background-image: url(../images/bg-index.png);
		-moz-background-size: cover;
		-webkit-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		padding: 25px 0;
		// min-height: 100%;
		.btn {
			margin: 60px 0 0;
			width: 230px;
		}
	}

	.home-text {
		margin: 0 0 14px;
	}

	/* --- */

	.layout-reg .top-sidebar {
		height: 75px;
		margin-bottom: -15px;
	}

	
	.nav-steps {
		text-align: center;
		display: block;
	}

	.nav-steps-list {
		display: table;
		width: 100%;
		margin: 0;
		overflow: visible;
		& > li {
			display: table-cell;
			width: 25%;
			border: none;
			border-right: 1px solid #ccc;
			// &:first-child { border: none; }
			&.is-active {
				position: relative;
				border-top: 2px solid #E5D200;
			}
		}
	}

	
}


@media screen and (min-width: 768px){

	.layout-index {
		.header {
			height: 132px;
			// min-height: 600px;
			// -moz-background-size: auto auto;
			// -webkit-background-size: auto auto;
			// -o-background-size: auto auto;
			// background-size: auto auto;
		}
		.top-sidebar { background: none; }
	}

	.top-sidebar {
		background: #fff;
		height: auto;
		padding: 25px 0 33px;
  		margin: 0 0 -20px;
	}

	/* --- */

	.layout-reg .top-sidebar {
		height: auto;
		margin-bottom: -25px;
		padding-bottom: 38px;
	}

	.nav-steps {
		line-height: 50px;
	}

	/* --- */

	.logo {
		margin: 0 0 0 -1px;
		padding: 0;
		max-width: 100%;
	}

	.logo-text {
		padding: 3px 0 0;
	}

	/* --- */

	.city, .auth {
		font-size: 14px;
	}

	/* --- */

	.phone {
		padding: 0;
		height: auto;
		line-height: 26px;
		font-size: 20px;
		color: #2b2f33;
		text-align: right;
		display: block;
		margin: 0;
		background: none;
		small {
			font-size: 14px;
		}
		a {
			color: #2b2f33;
		}
	}

	/* --- */

	.nav-mob, .nav-mob-open {
		opacity: 0 !important;
		visibility: hidden !important;
	}

	.navigation {
		display: block;
		font-size: 16px;
		line-height: 50px;
		text-align: center;
		white-space: nowrap;
		overflow: hidden;
		position: relative;
	}

	.navigation-list {
		margin: 0;
		padding: 0;
		list-style: none;
		display: table;
		width: 100%;
		& > li {
			display: table-cell;
			border-left: 1px solid #2E7031;

			&:first-child {
				border-left: none;
				& > a, & > a:after {
					border-radius: 5px 0 0 5px;
				}
			}

			&:last-child {
				& > a, & > a:after {
					border-radius: 0 5px 5px 0;
				}
			}

			&.is-active > a {
				background: #FCE700;
				color: #454227;
				&:after {
					border-width: 1px;
					border-color: #1F5423;
				}
			}
		}
		a {
			.trs(color 0.3s ease);
			display: block;
			color: #fff;
			text-decoration: none;
			background: rgb(70,164,74);
			background: -moz-linear-gradient(top,  rgba(70,164,74,1) 0%, rgba(47,120,52,1) 100%);
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(70,164,74,1)), color-stop(100%,rgba(47,120,52,1)));
			background: -webkit-linear-gradient(top,  rgba(70,164,74,1) 0%,rgba(47,120,52,1) 100%);
			background: -o-linear-gradient(top,  rgba(70,164,74,1) 0%,rgba(47,120,52,1) 100%);
			background: -ms-linear-gradient(top,  rgba(70,164,74,1) 0%,rgba(47,120,52,1) 100%);
			background: linear-gradient(to bottom,  rgba(70,164,74,1) 0%,rgba(47,120,52,1) 100%);
			position: relative;
			&:after {
				content: '';
				display: block;
				position: absolute;
				left: 0;
				bottom: 0;
				width: 100%;
				height: 100%;
				border-bottom: 2px solid #1F5423;
			}
			&:hover {
				// background: #FCE700;
				color: #FCE700;
				&:after {
					// border-width: 1px;
					// border-color: #1F5423;
				}
			}
			&:active {
				// background: #FFC505;
				// box-shadow: inset 0 1px 1px rgba(0,0,0,0.3);
				// background: #3B8E3F;
			}
		}
		.is-disabled {
			border-left-color: #B6B9BF;
			span, a {
				display: block;
				color: #8a9299;
				background-color: #E0E0E0;
				background-image: -moz-linear-gradient(bottom, #EDF0F6 0%, #D6DBE5 100%);
				background-image: -o-linear-gradient(bottom, #EDF0F6 0%, #D6DBE5 100%);
				background-image: -webkit-linear-gradient(bottom, #EDF0F6 0%, #D6DBE5 100%);
				background-image: linear-gradient(to top, #EDF0F6 0%, #D6DBE5 100%);
				-moz-box-shadow: inset 0 1px 3px rgba(94, 101, 114, 0.6), inset 0 0 0 rgba(94, 101, 114, 0.1);
				-webkit-box-shadow: inset 0 1px 3px rgba(94, 101, 114, 0.6), inset 0 0 0 rgba(94, 101, 114, 0.1);
				box-shadow: inset 0 1px 3px rgba(94, 101, 114, 0.6), inset 0 0 0 rgba(94, 101, 114, 0.1);
				&:after {
					border-color: #EAEDF4;
				}
			}
		}
		
	}

	/* --- */

	.home {
		// padding: 88px 0 44px;
		margin: -132px 0 0;
		padding: 220px 0 44px;
		-moz-background-size: auto auto;
			-webkit-background-size: auto auto;
			-o-background-size: auto auto;
			background-size: auto auto;
	}

	.home-heading {
		font-size: 50px;
		line-height: 60px;
		margin: 0 0 8px;
		br {
			display: block;
		}
	}

	.home-text {
		font-size: 22px;
		line-height: 27px;
		margin: 0 0 50px;
	}

}


@media screen and (min-width: 992px){
	
	.layout-index .header {
		// min-height: 600px;
		// -moz-background-size: auto auto;
		// -webkit-background-size: auto auto;
		// -o-background-size: auto auto;
		// background-size: auto auto;
	}

	/* --- */

	.logo-text {
		margin: 0 0 0 90px;
	}

	/* --- */

	.city {
		text-align: left;
	}

	.city, .auth {
		font-size: 16px;
	}

	/* --- */

	.phone {
		padding: 4px 0 0;
		height: auto;
		line-height: 26px;
		font-size: 24px;
		color: #2b2f33;
		text-align: right;
		display: block;
		margin: 0;
		background: none;
		small {
			font-size: 16px;
		}
		a {
			color: #2b2f33;
		}
	}

	/* --- */

	.navigation {
		font-size: 18px;
	}
	.navigation-list > li {
		min-width: 150px;
	}

	
	/* --- */

	.home {
		// padding: 88px 0 44px;
		min-height: 600px;
	}

}


/* ==========================================================================
   Main
   ========================================================================== */

.main {
	position: relative;
	z-index: 20;
}

.main-panel {
	background: #454C52;
	padding: 45px 0 70px;
	margin: -30px 0 0;
	color: #fff;
	min-height: 120px;
	&.main-panel_about {
		background: #ECEEEC url(../images/bg-about.png) center bottom no-repeat;
		color: #454C52;
		min-height: 330px;
		padding-top: 120px;
	}
	h1 {
		font-size: 28px;
		line-height: 33px;
		font-weight: 700;
		margin: 0;
		small {
			font-size: inherit;
			font-weight: inherit;
			color: inherit;
		}
		br {
			display: none;
		}
	}
}

.main-heading {
	font-size: 28px;
	line-height: 33px;
	font-weight: 700;
	margin: 0;
	small {
		font-size: inherit;
		font-weight: inherit;
		color: inherit;
	}
	br {
		display: none;
	}
}

.main-content {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 20px;
	background: #fff;
	min-height: 200px;
	// margin: -55px -15px -15px;
	margin: -55px -15px 20px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@media screen and (min-width: 768px){

	.main-panel {
		padding-top: 40px;
		h1 {
			font-size: 50px;
			line-height: 60px;
			margin: 0 0 5px;
			small {
				display: block;
				font-size: 30px;
				line-height: 36px;
			}
			br {
				display: block;
			}
		}
	}
	
	.main-heading {
		font-size: 50px;
		line-height: 60px;
		margin: 0 0 5px;
		small {
			display: block;
			font-size: 30px;
			line-height: 36px;
		}
		br {
			display: block;
		}
	}

	.main-content {
		margin: -55px -10px 35px;
	}
}

/* --- path --- */

.path {
	margin: 0 0 7px;
	padding: 0;
	list-style: none;
	overflow: hidden;
	font-size: 14px;
	line-height: 20px;
	color: #ffffff;
	& > li {
		display: inline;
		position: relative;
		&:after {
			content: '→';
			display: inline-block;
			vertical-align: middle;
			position: relative;
			width: 9px;
			height: 9px;
			background: url(../images/icons.png) -85px -12px no-repeat;
			text-indent: -9999px;
			margin: 0 5px;
			left: 2px;
		}
		&:last-child:after { display: none; }

		a {
			.trs(0.3s ease);
			color: #ffffff;
			text-decoration: underline;
			&:hover {
				opacity: 0.7;
			}
		}
	}
	&.path-dark {
		color: #424a51;
		& > li:after {
			background-position: -99px -12px;
		}
		a {
			color: #424a51;
		}
	}
}

/* --- calc --- */

.calc {
	padding: 20px 0 30px;
	.btn {
		font-size: 18px;
		width: 100%;
		max-width: 230px;
		display: block;
		margin: 10px auto 0;
	}
	[class^="col-"],  [class*=" col-"] {
        position: relative;
    }
}

.calc-heading {
	font-size: 28px;
	line-height: 32px;
	text-align: center;
	margin: 0 -10px 34px;
	color: #424a51;
	small {
		font-size: 18px;
		line-height: 20px;
		display: block;
		padding: 10px 0 0;
		color: #424a51;
	}
}

.calc-label {
	display: block;
	font-size: 18px;
	line-height: 22px;
	font-weight: 700;
	margin: 0 0 18px;
	color: #424a51;
	small {
		font-size: 18px;
		line-height: 22px;
		color: #424a51;
	}
}

.calc-range {
	margin: 0 0 34px;
	padding: 0 4px;
}

.calc-range-sum {

}

.calc-range-grid {
	position: relative;
	margin: 2px -4px 0;
	font-size: 14px;
    line-height: 20px;
    height: 20px;
    color: #828999;
    display: inline-block;
    width: 100%;
}

.calc-range-grid-text {
	display: none;
	&:first-child {
		display: block;
		float: left;
	}
	&:last-child {
		display: block;
		float: right;
		margin-right: -10px;
	}
}

.calc-sum-field {
	position: relative;
	margin: -10px 0 0 20px;
	font-size: 26px;
	line-height: 40px;
	display: inline-block;
	vertical-align: top;
	color: #828999;
	.icon-rub {
		position: relative;
		top: 2px;
		left: -2px;
	}
}

.calc-sum-text {
	.trs(0.3s ease);
	font-size: 26px;
	line-height: 30px;
	text-decoration: underline;
	border: none;
	padding: 3px 10px 5px 10px;
	height: 40px;
	background: none;
	border-radius: 3px;
	border: 1px solid transparent;
	color: #424a51;
	width: 95px;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	&:focus {
		border-color: #66afe9;
		-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
		box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
		text-decoration: none;
	}
}

.calc-day-field {
	position: relative;
	margin: -10px 0 0 20px;
	font-size: 26px;
	line-height: 40px;
	display: inline-block;
	vertical-align: top;
	color: #828999;
	white-space: nowrap;
}

.calc-day-text {
	.trs(0.3s ease);
	font-size: 26px;
	line-height: 30px;
	text-decoration: underline;
	border: none;
	padding: 3px 10px 5px 10px;
	height: 40px;
	background: none;
	border-radius: 3px;
	border: 1px solid transparent;
	color: #424a51;
	width: 50px;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	&:focus {
		text-decoration: none;
		border-color: #66afe9;
		-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
		box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
	}
}


.calc-val {
	display: block;
	margin: -5px 0 0 20px;
	font-size: 26px;
	line-height: 28px;
	color: #828999;
	u {
		color: #424a51;
	}
}


.calc-total { float: left; }
.calc-date { float: right; }

.calc-total, .calc-date {
	font-size: 14px;
	line-height: 16px;
	color: #424a51;
	white-space: nowrap;
	margin: 0 0 20px;
	position: relative;
	p {
		margin: 0 0 5px;
	}
	strong {
		display: block;
		font-size: 24px;
		line-height: 36px;
		margin: 0;
		color: #388e3c;
	}
	small {
		display: block;
		font-size: 14px;
		line-height: 16px;
		font-weight: 400;
		padding: 2px 0 0;
		color: #424a51;
	}
	u {
		cursor: pointer;
	}
	.icon-rub:after {
		content: 'o';
		font-weight: 600;
	}
}

.calc-total-text {
	background: none;
	padding: 0;
	& > u {
		color: #1f77aa;
		margin-right: 10px;
		cursor: default;
	}
	& > small {
		display: inline-block;
		font-size: 12px;
		color: #388e3c;
		position: relative;
		top: -2px;
		white-space: nowrap;
		&:before {
			content: '';
			display: inline-block;
			vertical-align: middle;
			border-left: 4px solid transparent;
			border-right: 4px solid transparent;
			border-top: 5px solid #388E3C;
			margin-right: 4px;
		}
	}
}

.calc-datepicker {
	.trs(color 0.3s ease);
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	font-size: 24px;
	line-height: 36px;
	height: 36px;
	color: #388e3c;
	text-decoration: underline;
	cursor: pointer;
	display: inline-block;
	width: 120px;
	&:hover {
		color: #f66b0e;
	}
}

.calc-datepicker-day {
	border: none;
	background: none;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	display: inline-block;
	width: 120px;
	padding: 0;
	color: #424a51;
	text-transform: capitalize;
	cursor: pointer;
}

@media screen and (min-width: 768px){
	
	.calc {
		margin: 0;
		padding: 38px 0 87px;
		.btn {
			margin: 0;
		}
	}

	.calc-heading {
		font-size: 50px;
		line-height: 60px;
		margin: 0 0 18px;
		small {
			font-size: 22px;
			line-height: 24px;
			padding: 4px 0 0;
		}
	}

	.calc-content {
		background: #fff;
		border: 1px solid #E6E6E6;
		border-radius: 8px;
		padding: 34px 50px;
	}

	.calc-label {
		font-size: 24px;
		line-height: 28px;
	}

	.calc-range-grid-text {
		&:first-child {
			width: 100px;
			text-align: center;
			margin-left: -50px;
		}
		&:last-child {
			width: 100px;
			text-align: center;
			margin-right: -50px;
		}
		&.calc-range-grid-text_middle:nth-child(2) {
			position: absolute;
			top: 0;
			left: 0;
			width: 66.666%;
			text-align: center;
			display: block;
		}
		&.calc-range-grid-text_middle:nth-child(3) {
			position: absolute;
			top: 0;
			right: 0;
			width: 66.666%;
			text-align: center;
			display: block;
		}
	}

	.calc-total, .calc-date {
		float: none;
		margin: 0;
	}

}

@media screen and (min-width: 992px){

	.calc {
		padding-bottom: 78px;
		.btn {
			margin-top: 14px;
		}
	}

	.calc-content {
		margin: 0 -10px;
	}

	.calc-label {
		margin: 0 0 22px;
	}

	.calc-range {
		position: relative;
		left: 10px;
	}

	.calc-val {
		white-space: nowrap;
		margin-left: 65px;
	}

	.calc-total, .calc-date {
		font-size: 16px;
		line-height: 20px;
		padding: 10px 0 0 20px;
		strong {
			font-size: 30px;
			line-height: 36px;
			margin: 0;
		}
		small {
			display: inline-block;
			vertical-align: middle;
			font-size: 16px;
			line-height: 18px;
		}
	}

	.calc-datepicker {
		font-size: 30px;
		width: 150px;
	}

	.calc-datepicker-day {
		font-size: 16px;
	}
}


/* --- how --- */


.how {
	background: #3B8E3F url(../images/bg-how.png) center center;
	color: #fff;
	padding: 32px 0 10px;
	background-attachment: fixed;
}

.how-heading {
	font-size: 28px;
	line-height: 32px;
	text-align: center;
	margin: 0 0 40px;
	color: #fff;
	small {
		font-size: 16px;
		line-height: 20px;
		display: block;
		padding: 8px 0 0;
		color: #fff;
	}
}

.how-item {
	.trs(color 0.3s ease);
	display: block;
	color: #fff;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
	line-height: 24px;
	margin: 0 0 25px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	strong {
		display: block;
		padding: 2px 0 0;
	}
	&:hover {
		text-decoration: none;
		color: #FBEF3E;
		& > [class^="icon-"] {
	        -webkit-animation-duration: 1s;
			animation-duration: 1s;
			-webkit-animation-fill-mode: both;
			animation-fill-mode: both;
			-webkit-backface-visibility: visible !important;
			-ms-backface-visibility: visible !important;
			backface-visibility: visible !important;
			-webkit-animation-name: bounce;
			animation-name: bounce;
	    }
		
	}
}

@-webkit-keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0.5;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -ms-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0.5;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -ms-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    -ms-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    -ms-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    -ms-transform: perspective(400px);
    transform: perspective(400px);
  }
}


@media screen and (min-width: 768px){

	.how {
		padding: 26px 0 15px;
	}
	
	.how-heading {
		font-size: 50px;
		line-height: 60px;
		margin: 0 0 36px;
		small {
			font-size: 22px;
			line-height: 24px;
			padding: 4px 0 0;
		}
	}

	.how-item {
		font-size: 24px;
		line-height: 24px;
		strong {
			padding: 6px 0 0;
		}
	}

}

/* --- why --- */

.why {
	background: #fff url(../images/bg-why-mob.png) center bottom no-repeat;
	padding: 50px 0 160px;
	-moz-background-size: 100% auto;
	-webkit-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
}

.why-heading {
	font-size: 28px;
	line-height: 32px;
	text-align: center;
	margin: 0 0 36px;
	color: #424a51;
	br {
		display: none;
	}
}

.why-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 17px;
    color: #252a2e;
    counter-reset: point;
    & > li {
        margin: 0 0 18px;
        padding: 0 0 22px 25px;
        position: relative;
        border-bottom: 1px dashed #B3B7B9;
        &:last-child {
        	border: none;
        }
        &:after {
            content: counter(point);
            counter-increment: point 1;
            position: absolute;
            left: 0;
            top: -2px;
            width: 25px;
            color: #fbef3e;
            font-size: 28px;
            line-height: 30px;
        }
    }
    p {
    	margin: 0;
    }
    mark {
    	background: none;
    	color: #388e3c;
    }
}


.payment {
	margin: 0 -15px -15px 0;
	padding: 20px 0;
	list-style: none;
	& > li {
		display: inline-block;
		vertical-align: middle;
		margin: 0 15px 15px 0;
		max-width: 85px;
	}
	a {
		.trs(0.3s ease);
		display: block;
		opacity: 0.6;
		&:hover {
			opacity: 1;
		}
	}
}

@media screen and (min-width: 768px){

	
	.why {
		background: #FCFBF8 url(../images/bg-why.png) center bottom no-repeat;
		padding: 57px 0 57px;
		-moz-background-size: auto auto;
		-webkit-background-size: auto auto;
		-o-background-size: auto auto;
		background-size: auto auto;
	}

	.why-heading {
		font-size: 50px;
		line-height: 60px;
		text-align: left;
		margin: 0 0 50px;
		br {
			display: block;
		}
	}

	.why-list {
		font-size: 16px;
		line-height: 19px;
		margin-left: 5px;
		& > li {
			margin: 0 0 25px;
        	padding: 0 0 25px 55px;
			&:after {
				width: 55px;
				font-size: 50px;
				line-height: 52px;
				top: -6px;
			}
		}
	}

	.payment {
		padding: 17px 0;
		& > li {
			max-width: 100%;
		}
	}

}

/* --- call --- */

.call {
	background: #454C52 url(../images/bg-call.png);
	color: #fff;
	padding: 20px 0 10px;
	text-align: center;
	hr {
		margin: 14px 0;
		height: 0;
		border-bottom: 1px solid #495158;
		border-top: 1px solid rgba(0,0,0,0.1);
	}
	.btn {
		display: block;
		margin: 0 15px 20px;
	}
}

.call-heading {
	font-size: 28px;
	line-height: 33px;
	margin: 0;
	color: #fff;
}

.call-text {
	font-size: 20px;
	line-height: 24px;
	margin: 0 0 10px;
	br {
		display: none;
	}
}

.call-phone {
	font-size: 28px;
	line-height: 32px;
	color: #fce500;
	display: block;
	a {
		text-decoration: none;
		color: #fce500;
	}
}

@media screen and (min-width: 768px){

	.call {
		padding: 48px 0;
		hr {
			margin: 12px 60px;
		}
		.btn {
			margin: 15px 10px 0;
			width: 100%;
			max-width: 260px;
		}
		.btn-yellow {
			float: right;
		}

		.btn-green {
			float: left;
		}
	}
	
	.call-heading {
		font-size: 50px;
		line-height: 60px;
		text-align: center;
		margin: 0 0 20px;
	}
	
	.call-text {
		text-align: right;
		margin: 0;
		br {
			display: block;
		}
	}

	.call-phone {
		text-align: left;
		font-size: 40px;
		line-height: 48px;
		margin: 0;
	}

}

/* --- reviews --- */

.reviews {
	margin: 0 -10px;
}

.reviews-ctrl {
	overflow: hidden;
	.btn {
		width: 230px;
		margin: 0 auto;
		display: block;
	}
}

.reviews-more {
	text-align: center;
}

.reviews-heading {
	font-size: 26px;
	line-height: 30px;
	margin: 0;
	padding: 5px 0;
	color: #388e3c;
	display: none;
}

.reviews-list {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #CCCCCC;
	// border-bottom: 1px solid #CCCCCC;
	& > li {
		border-top: 1px dashed #CCCCCC;
		&:first-child {
			border: none;
		}
		&:last-child {
			border-top-style: solid;
		}
	}
	.pages {
		margin: 20px 0 0;
	}
}

.reviews-item {
	padding: 15px 0;
}

.reviews-item-head {
	overflow: hidden;
	margin: 0 0 10px;
}

.reviews-info {
	font-size: 14px;
	overflow: hidden;
	clear: left;
}

.reviews-author {
	font-size: 16px;
	line-height: 18px;
	color: #424a51;
	overflow: hidden;
	small, time {
		display: block;
		font-size: 14px;
		color: #808080;
		font-weight: 400;
	}
}

.reviews-rating {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline-block;
	vertical-align: top;
	font-size: 14px;
	& > li {
		display: inline-block;
		vertical-align: top;
		margin: 0 10px 0 0;
	}
	mark {
		padding: 0;
		margin: 0 5px 0 0;
		border: none;
		background: none;
		color: #808080;
	}
}

.reviews-has {
	color: #388e3c;
	white-space: nowrap;
}

.rating {
	width: 80px;
	height: 16px;
	position: relative;
	display: inline-block;
	vertical-align: middle;
	background: url(../images/bg-rating.png) 0 0 repeat-x;
	span {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		background: url(../images/bg-rating.png) 0 -18px repeat-x;
	}
}

.reviews-item-body {
	font-size: 14px;
	line-height: 17px;
	display: block;
	p {
		clear: left;
		margin: 0 0 10px;
		&:last-child {
			margin: 0;
		}
	}
}

/* --- */

.reviews-text {
	display: block;
	line-height: 17px;
	max-height: 85px;
	overflow: hidden;
	margin: 0 0 10px;
}

.reviews-text-toggle {
	font-size: 14px;
	span:first-child { display: block; }
	span:last-child { display: none; }
	&.is-active {
		span:first-child { display: none; }
		span:last-child { display: block; }
	}
}

/* --- */

.reviews-reply {
	border: 1px solid #F2F2CE;
	background: #FCFCE3;
	margin: 10px 0;
	position: relative;
	// display: none;
	max-height: 180px;
	overflow: hidden;
	.reviews-author {
		padding: 10px 0;
		display: block;
	}
	&:after {
		content: '';
		display: block;
		position: absolute;
		left: 0;
		bottom: 0;
		height: 50px;
		width: 100%;
		background: -moz-linear-gradient(top,  rgba(255,255,255,0) 1%, rgba(255,255,255,0) 2%, rgba(252,252,227,1) 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(255,255,255,0)), color-stop(2%,rgba(255,255,255,0)), color-stop(100%,rgba(252,252,227,1)));
		background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 1%,rgba(255,255,255,0) 2%,rgba(252,252,227,1) 100%);
		background: -o-linear-gradient(top,  rgba(255,255,255,0) 1%,rgba(255,255,255,0) 2%,rgba(252,252,227,1) 100%);
		background: -ms-linear-gradient(top,  rgba(255,255,255,0) 1%,rgba(255,255,255,0) 2%,rgba(252,252,227,1) 100%);
		background: linear-gradient(to bottom,  rgba(255,255,255,0) 1%,rgba(255,255,255,0) 2%,rgba(252,252,227,1) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#fcfce3',GradientType=0 );

	}
	&.open:after {
		display: none;
	}
}

.reviews-reply-in {
	position: relative;
	padding: 13px 8px;
	overflow: hidden;
}


.reviews-reply-toggle {
	font-size: 14px;
	span:first-child { display: block; }
	span:last-child { display: none; }
	&.is-active {
		span:first-child { display: none; }
		span:last-child { display: block; }
	}
}

.reviews-reply-image {
	float: left;
	overflow: hidden;
	border: 1px solid #E2E2CC;
	width: 62px;
	height: 62px;
	background: #fff;
	padding: 3px;
	border-radius: 50%;
	margin: 0 8px 14px 0;
	img {
		display: block;
		width: 100%;
		height: 100%;
		border-radius: 50%;
	}
}

.reviews-reply-desc {
	// overflow: hidden;
}

.quote {
	background: #fff;
	border: 1px solid #E6E6CF;
	position: relative;
	padding: 10px 10px 10px 40px;
	margin: 10px 0;
	color: #424a51;
	font-size: 14px;
	line-height: 17px;
	&:after {
		content: '';
		display: block;
		width: 30px;
		height: 23px;
		background: url(../images/icons.png) 0 -163px no-repeat;
		position: absolute;
		left: 8px;
		top: 8px;
		-moz-transform: scale(0.7);
		-webkit-transform: scale(0.7);
		-o-transform: scale(0.7);
		-ms-transform: scale(0.7);
		transform: scale(0.7);
	}
	&.quote-law:after {
		width: 33px;
		height: 30px;
		background-position: -35px -163px;
		left: 6px;
		top: 9px;
	}
	p {
		position: relative;
		z-index: 2;
		margin: 0;
	}

}


.reviews-toggle {
	font-size: 14px;
}



@media screen and (min-width: 768px){

	.reviews {
		margin: 0;
	}

	.reviews-ctrl {
		.btn {
			float: right;
		}
	}

	.reviews-heading {
		display: block;
		overflow: hidden;
		padding: 10px 0;
	}
	
	.reviews-author {
		font-size: 18px;
		line-height: 20px;
	}

	.reviews-info {
		clear: none;
		margin: 0 0 0 10px;
		text-align: right;
	}

	.reviews-item-body {
		font-size: 16px;
		line-height: 19px;

	}
	
	.reviews-reply {
		margin: 15px 0;
	}

	.reviews-reply-in {
		padding: 15px 28px;
		&:after {
			content: '';
			display: block;
			position: absolute;
			top: 20px;
			right: 100%;
			border-top: 9px solid transparent;
			border-bottom: 9px solid transparent;
			border-right: 9px solid #F2F2CE;
			z-index: 1;
		}
		&:before {
			content: '';
			display: block;
			position: absolute;
			top: 20px;
			right: 100%;
			border-top: 9px solid transparent;
			border-bottom: 9px solid transparent;
			border-right: 9px solid #FCFCE3;
			z-index: 2;
			margin: 0 -1px 0 0;
		}
	}

	.reviews-reply-image {
		width: 82px;
		height: 82px;
		margin-right: 30px;
	}

	.reviews-reply-desc {
		overflow: hidden;
	}

	.quote {
		padding: 12px 12px 12px 70px;
		font-size: 16px;
		line-height: 19px;
		&:after {
			-moz-transform: scale(1);
			-webkit-transform: scale(1);
			-o-transform: scale(1);
			-ms-transform: scale(1);
			transform: scale(1);
			left: 18px;
			top: 18px;
		}
		&.quote-law:after {
			top: 10px;
			left: 16px;
		}
	}
}

/* --- pages --- */

.pages {
	text-align: center;
	white-space: nowrap;
}

.pages-list {
	margin: 0 -2px;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 38px;
	color: #808080;
	text-align: center;
	& > li {
		min-width: 40px;
		display: inline-block;
		vertical-align: top;
		margin: 0 1px;
		height: 40px;
		&:first-child {
			display: none;
			margin-right: 20px;
		}
		&:last-child {
			display: none;
			margin-left: 20px;
		}
		&.is-active {
			background: #3B8E3F;
			color: #fff;
		}
	}
	a {
		.trs(0.3s ease);
		display: block;
		// min-width: 40px;
		height: 40px;
		border: 1px solid #CCCCCC;
		color: #808080;
		text-decoration: none;
		padding: 0 10px;
		.glyphicon {
			font-size: 10px;
			position: relative;
			top: 0;
			&.glyphicon-chevron-left {
				margin-right: 5px;
			}
			&.glyphicon-chevron-right {
				margin-left: 5px;
			}
		}
		&:hover {
			border-color: #3B8E3F;
			color: #3B8E3F;
		}
		&.is-active {
			background: #3B8E3F;
			border-color: #3B8E3F;
			color: #fff;
		}
	}
}

@media screen and (min-width: 768px){
	
	.pages-list > li:first-child, .pages-list > li:last-child {
		display: inline-block;
	}

}

/* ----- about ----- */

.about {

}

/* --- */

.about-info {
	padding: 37px 0;
	font-size: 16px;
	line-height: 19px;
	color: #424a51;
	background: #F7F7F7;
	hr {
		border-top: 1px solid #CCCCCC;
		border-bottom: none;
		margin: 28px 0;
	}
}

.about-caption {
	display: block;
	text-align: center;
	font-size: 16px;
	color: #424a51;
	padding: 0 0 10px;
}

.about-caption-text {
	font-size: 22px;
	line-height: 27px;
	max-height: 135px;
	overflow: hidden;
	display: block;
	margin: 0 0 27px;
}

.about-caption-toggle {
	span {
		display: none;
		&:first-child {
			display: block;
		}
	}
	&.is-active {
		span {
			display: block;
			&:first-child {
				display: none;
			}
		}
	}
}

.about-sertificate-image {
	text-align: center;
	margin: 0;
}

.about-sertificate-text {
	margin: 40px 0;
}

/* --- */

.about-reviews {
	background: #F7F7F7;
	padding: 27px 0;
	color: #424a51;
	.reviews {
		padding: 0;
		margin: 0;
	}
	.reviews-list {
		border: none;
		& > li {
			border-bottom: 1px dashed #CCCCCC;
			&:last-child { border: none; }
		}
	}
}

/* --- */

.about-profit {
	background: #fff url(../images/bg-about-map.png) center bottom no-repeat;
	padding: 27px 0;
	color: #424a51;
	.about-heading {
		margin-bottom: 0;
		font-size: 34px;
		line-height: 44px;
		mark {
			font-size: 18px;
			line-height: 24px;
		}
	}
}

.about-profit-counter {
	text-align: center;
	margin: 45px auto;
	max-width: 300px;
	// white-space: nowrap;
	strong {
		display: block;
		font-size: 18px;
		line-height: 28px;
		margin: 0 0 10px;
	}
	p {
		margin: 0;
	}
}

.about-profit-sberbank {
	border: 2px solid #3B8E3F;
	margin: 0 0 40px;
	overflow: hidden;
}

.about-profit-sberbank-image {
	display: block;
	margin: 20px 10px 10px;
}

.about-profit-sberbank-desc {
	padding: 13px 10px;
	overflow: hidden;
	strong {
		display: block;
		font-size: 24px;
		line-height: 28px;
		color: #3B8E3F;
		margin: 0 0 15px;
	}
	p {
		margin: 0 0 10px;
		&:last-child { margin: 0; }
	}
}

/* --- */

.about-cooperate {
	background: #F7F7F7;
	padding: 60px 0 30px;
}

.about-cooperate-table {
	width: 100%;
	font-size: 16px;
	line-height: 19px;
	color: #388e3c;
	margin: 25px 0 45px;
	td {
		padding: 15px;
		border-bottom: 1px dashed #B3B7B9;
		vertical-align: middle;
		&:first-child {
			text-align: center;
		}
	}
	strong {
		color: #424a51;
	}
	a {
		color: #388e3c;
		// border-bottom: 1px dashed #388e3c;
		text-decoration: underline;
		&:hover {
			color: #f66b0e;
			// border-color: #f66b0e;
		}
	}
}

.about-cooperate-ctrl {
	text-align: center;
	.btn {
		margin: 0 20px 20px;
		border-radius: 3px;
		padding-left: 25px;
		padding-right: 25px;
	}
}

@media screen and (max-width: 479px){

	.about-cooperate-ctrl {
		.btn {
			display: block;
			width: 100%;
			margin: 0 0 20px;
			white-space: normal;
		}
	}

}

/* --- */

.about-partner {
	background: #fff;
	padding: 45px 0;
	text-align: center;
	.about-heading {
		margin: 10px 0;
		white-space: nowrap;
	}
}

.about-partner-image {
	margin: 20px 0;
	text-align: center;
}

/* --- */

.about-heading {
	font-size: 28px;
	line-height: 32px;
	text-align: center;
	margin: 0 -10px 34px;
	color: #424a51;
	small {
		font-size: 18px;
		line-height: 20px;
		display: block;
		padding: 10px 0 0;
		color: #424a51;
	}
	mark {
		background: none;
		display: inline-block;
		vertical-align: middle;
		color: inherit;
		font-size: 15px;
		line-height: 17px;
		text-align: left;
		margin: 0 0 0 10px;
	}
}

@media screen and (min-width: 768px){
	

	.about-heading {
		font-size: 50px;
		line-height: 60px;
		margin: 0 0 14px;
		small {
			font-size: 22px;
			line-height: 24px;
			padding: 4px 0 0;
		}
		mark {
			font-size: 30px;
			line-height: 30px;
		}
	}

	.about-profit .about-heading {
		font-size: 50px;
		line-height: 60px;
		margin-bottom: 14px;
		mark {
			font-size: 30px;
			line-height: 30px;
		}
	}

	.about-profit-counter {
		strong {
			font-size: 24px;
			line-height: 28px;
		}
	}

	.about-profit-sberbank-image {
		text-align: center;
		height: 166px;
		line-height: 166px;
		width: 200px;
		margin: 0 10px 0 0;
		float: left;
	}
	

}

@media screen and (min-width: 992px){

	.about-sertificate-image {
		text-align: left;
	}

	.about-sertificate-text {
		margin: 90px 0;
	}


	.about-partner {
		text-align: left;
		padding: 50px 0;
		.about-heading {
			margin: 0;
			line-height: 80px;
			white-space: nowrap;
		}
	}

	.about-partner-image {
		margin: 0;
	}

}

/* ----- faq ----- */

.faq {
	padding: 10px 0 0;
	hr {
		margin: 24px 0;
	}
}

/* --- */

.faq-how {
	.col-sm-6 {
		margin: 0 0 50px;
		&:last-child { margin: 0; }
	}
}

.faq-how-heading {
	font-size: 18px;
	line-height: 22px;
	display: block;
	margin: 0 0 -3px;
}

.faq-how-list {
	margin: 0 0 -15px;
	padding: 0;
	list-style: none;
	color: #424a51;
	& > li {
		position: relative;
		padding: 0 0 0 12px;
		margin: 0 0 15px;
		&:after {
			content: '-';
			display: block;
			position: absolute;
			top: 0;
			left: 0;
		}
	}
}

/* --- */

.faq-questions {
	margin: -15px 0 30px;
}

.faq-questions-list {
	margin: 0;
	padding: 0;
	dt {
		display: block;
		padding: 10px 0;
		overflow: hidden;
		position: relative;
		background: url(../images/bg-dashed.png) 0 bottom repeat-x;
		cursor: pointer;
		&:hover {
			.faq-questions-heading { color: #f66b0e; }
			.faq-questions-toggle {
				color: #1f77aa;
				&:after { border-color: #1f77aa; }
				&:before {
					border-top-color: #1f77aa !important;
					border-bottom-color: #1f77aa !important;
				}
			}
		}
		&.is-active {
			background: none;
			.faq-questions-heading { color: #424a51; }
			.faq-questions-toggle {
				span {
					display: none;
					&:last-child { display: block; }
				}
				&:before {
					top: 8px;
					border-top: none;
					border-bottom: 6px solid #B0B0B0;
				}
			}
		}
	}
	dd {
		display: none;
		margin: 0;
		padding: 0;
		p:last-child { margin: 0; }
	}
	.faq-questions-heading {
		margin: 0;
	}
}

.faq-questions-toggle {
	display: block;
	float: right;
	border: none;
	padding: 0 30px 0 0;
	background: none;
	margin: 4px 0 4px 10px;
	font-size: 14px;
	line-height: 22px;
	font-weight: 400;
	text-decoration: underline;
	color: #808080;
	position: relative;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 22px;
		height: 22px;
		border-radius: 50%;
		border: 1px solid #B0B0B0;
		z-index: 1;
	}
	&:before {
		content: '';
		display: block;
		position: absolute;
		top: 9px;
		right: 7px;
		border-left: 4px solid transparent;
		border-right: 4px solid transparent;
		border-top: 6px solid #B0B0B0;
		z-index: 2;
	}
	span {
		display: none;
		&:first-child { display: block; }
	}
}

.faq-questions-heading {
	display: block;
	font-size: 18px;
	line-height: 30px;
	color: #388e3c;
	margin: 0 0 5px;
}

/* --- */

.faq-questions-users {
	background: #F7F7F7;
	margin: 0 -15px -15px;
	padding: 10px 15px;
	hr {
		margin-bottom: 15px;
	}
	.btn-more {
		margin: 0 0 30px;
	}
}

/* --- */

.faq-questions-search {
	position: relative;
	label {
		font-size: 18px;
		line-height: 22px;
		color: #2b2f33;
	}
	.form-control {
		padding-left: 42px;
	}
	.btn-search {
		position: absolute;
		left: 15px;
		top: 50%;
		margin-top: -9px;
	}
}

.faq-questions-search-field {
	position: relative;
}

/* --- */

.faq-questions-users-list {
	margin: 0 15px 0 0;
	padding: 0 0 10px;
	list-style: none;
	font-size: 16px;
	line-height: 19px;
	color: #424a51;
	& > li {
		padding: 10px 0;
		background: url(../images/bg-dashed.png) 0 bottom repeat-x;
		&:last-child {
			background: none;
		}
	}
	strong {
		display: block;
		font-size: 18px;
		margin: 0 0 5px;
	}
	p {
		margin: 0 0 5px;
	}
	small {
		font-size: 14px;
		display: block;
		margin: 0 0 5px;
	}

}


/* --- */

@media screen and (min-width: 768px){

	.faq-how {
		.col-sm-6 { margin: 0; }
	}

	.faq-questions-heading {
		font-size: 26px;
		line-height: 30px;
	}

}

/* --- Help --- */

.help {
	font-size: 16px;
	line-height: 19px;
	label {
		font-weight: 400;
		margin: 0 0 5px;
	}
	.form-group {
		margin: 0 0 6px;
	}
	textarea {
		height: 100px;
	}
	.btn {
		margin: 15px 0;
	}
	.form-text { margin: 0; }
	&.help_grey {
		.help-content { background: #F7F7F7;}
	}
}

.help-heading {
	display: block;
	margin: 0;
	border-bottom: 2px solid #44474A;
	font-size: 18px;
	line-height: 28px;
	padding: 10px 21px;
	background: #899299;
	background: -moz-linear-gradient(top,  #899299 0%, #5d6368 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#899299), color-stop(100%,#5d6368));
	background: -webkit-linear-gradient(top,  #899299 0%,#5d6368 100%);
	background: -o-linear-gradient(top,  #899299 0%,#5d6368 100%);
	background: -ms-linear-gradient(top,  #899299 0%,#5d6368 100%);
	background: linear-gradient(to bottom,  #899299 0%,#5d6368 100%);
	border-radius: 3px 3px 0 0;
	color: #fff;
}

.help-text {
	display: block;
	margin: 0 -10px 15px 0;
}

.help-content {
	background: #fff;
	border: 1px solid #CCCCCC;
	border-bottom-width: 2px;
	padding: 15px 20px;
}


/* ----- reg ----- */

.reg {
	padding-top: 5px;
	color: #2b2f33;
	hr {
		margin: 17px 0;
	}
}

.reg-heading {
	display: block;
	font-size: 24px;
	line-height: 28px;
	color: #388e3c;
	margin: 0 0 15px;
}

.reg-content {
	margin-bottom: 30px;
	.form-group {
		margin-bottom: 22px;
	}
	.text-warning {
		padding: 7px 0 0;
		b { display: inline; }
	}
}

.reg-text {
	font-size: 14px;
	line-height: 17px;
	margin: 0 0 15px;
}

.reg-auth {
	background: #E6E6E6;
	padding: 40px 20px;
	margin: 0 -20px -20px;
	border-radius: 0 0 5px 5px;
}

.reg-auth-text {
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	margin: 0;
}

/* --- */

.reg-data {
	margin: -12px -10px 0;
	.reg-heading {
		margin: 0 0 7px;
	}
	.reg-text {
		margin: 0 0 7px;
	}
	.form-group {
		margin: 0 0 12px;
		& > label {
			margin-bottom: 7px;
		}
	}
	textarea.form-control {
		height: 60px;
	}
}

.reg-data-heading {	
	font-size: 18px;
	line-height: 22px;
	color: #2b2f33;
	display: block;
	margin: 0 0 10px;
	small {
		font-size: 14px;
	}
}

.reg-data-fieldset {
	border-bottom: 1px solid #ccc;
	padding: 0 0 10px;
	margin: 0 0 20px;
}

.reg-data-ctrl {
	padding: 18px 0;
	.btn {
		margin: 0 0 20px 0;
		max-width: 320px;
	}
}

.reg-data-secure {
	position: relative;
	padding: 0 0 0 32px;
	margin: 5px 0;
	font-size: 14px;
	line-height: 20px;
	&:after {
		content: '';
		display: block;
		width: 19px;
		height: 26px;
		position: absolute;
		top: 50%;
		left: 0;
		margin: -13px 0 0;
		background: url(../images/icons.png) -119px -163px no-repeat;
	}
}

// .reg-data-check-content,
.reg-radio-content {
	display: none;
}

@media screen and (min-width: 768px){

	.reg {
		padding: 5px 10px 0;
	}

	.reg-heading {
		font-size: 26px;
		line-height: 30px;
	}

	.reg-auth {
		margin: 0 -30px -20px;
	}

	.reg-data-ctrl {
		.btn {
			margin: 0;
		}
	}

}

.zodiac {
	position: relative;
	background: #6B60A0 url(../images/bg-zodiac.png) right 10px no-repeat;
	padding: 0 12px;
	font-size: 14px;
	line-height: 16px;
	height: 0;
	color: #fff;
	overflow: hidden;
	margin: 0;
	top: 2px;
	opacity: 0;
	visibility: hidden;
	&.is-active {
		opacity: 1;
		visibility: visible;
		height: auto;
		min-height: 115px;
		margin: 10px 0;
		// -webkit-animation-name: zoomInDown;
  		// animation-name: zoomInDown;
	}
	&.is-active_2 {
		// opacity: 1;
		// visibility: visible;

		// -webkit-animation-name: flipInX;
		// animation-name: flipInX;
	}
}

.zodiac-image {
	padding: 12px 0;
	margin: 10px 0 20px;
	text-align: center;
}

.zodiac-desc {
	overflow: hidden;
	padding: 12px 0;
	strong {
		display: block;
		margin: 0 0 10px;
	}
	p {
		margin: 0 0 10px;
	}
	mark {
		background: none;
		padding: 0;
		color: #ffea00;
	}
}

@media screen and (min-width: 768px){

	.zodiac {
		&.is-active {
			margin: -10px 0;
		}
	}

	.zodiac-image {
		float: left;
		width: 82px;
		height: 90px;
		line-height: 90px;
		margin: 0 10px 0 0;
	}

}

/* ----- form-payment ----- */

.form-payment {
	margin: -10px;
}

.form-payment-heading {
	display: block;
	font-size: 24px;
	line-height: 28px;
	color: #388e3c;
	margin: 0 0 20px;
}

.form-payment-list {
	margin: 0 0 -5px;
	padding: 10px 0 0;
	list-style: none;
	& > li {
		margin: 0 0 10px;
		overflow: hidden;
	}
}

.form-payment-label {
	display: inline-block;
	vertical-align: top;
	position: relative;
	padding: 0 0 0 30px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: #424a51;
	.custom-radio {
		position: absolute !important;
		top: 50%;
		left: 0;
		margin-top: -8px;
		&.checked {
			& ~ .form-payment-image {
				border-color: #388E3C;
				box-shadow: inset 0 0 0 1px #388E3C;
				&:after {
					opacity: 1;
					visibility: visible;
				}
			}
			& ~ .form-payment-text {
				color: #388e3c;
			}
		}
	}
	&:hover .form-payment-image {
		border-color: #FFEA00;
		box-shadow: inset 0 0 0 1px #FFEA00;
	}
}

.form-payment-image {
	.trs(0.3s ease);
	border: 1px solid #CCCCCC;
	width: 100px;
	height: 100px;
	line-height: 98px;
	text-align: center;
	overflow: hidden;
	float: left;
	margin: 0 18px 0 0;
	background: #fff;
	position: relative;
	box-shadow: inset 0 0 0 1px transparent;
	&:after {
		.trs(0.3s ease);
		content: '';
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 30px;
		height: 30px;
		background: url(../images/icons.png) -158px -164px no-repeat;
		opacity: 0;
		visibility: hidden;
	}
}

.form-payment-text {
	display: block;
	overflow: hidden;
	display: table;
	span {
		display: table-cell;
		height: 100px;
		vertical-align: middle;
	}
}


@media screen and (min-width: 768px){

	.form-payment-heading {
		font-style: 26px;
		line-height: 30px;
	}

	.form-payment-label {
		max-width: 60%;
	}


	.form-payment-help {
		margin: 0;
		float: right;
		width: 40%;
		line-height: 100px;
		.btn-help {
			vertical-align: middle;
		}
	}

}

/* --- how-work --- */

.how-work {
	padding: 25px 0 0;
}

.how-work-heading {
	font-size: 28px;
	line-height: 33px;
	font-weight: 700;
	margin: 15px 0 15px;
	text-align: center;
	color: #424a51;
}

.how-work-box {
	background: #fff;
	border: 1px solid #E6E6E6;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	padding: 20px 30px;
	padding-top: 0;
	margin: 122px 0 47px 0;
	position: relative;
	min-height: 190px;
	color: #424a51;
	font-size: 14px;
	line-height: 17px;
	p {
		margin: 0 0 8px;
	}
	&:after {
		content: '';
		display: none;
		position: absolute;
		z-index: 2;
	}
	&.how-work-box_1:after {
		width: 30px;
		height: 130px;
		background: url(../images/bg-how-work-box_1.png) 0 0 no-repeat;
		bottom: -85px;
		left: 52px;
		
	}
	&.how-work-box_2:after {
		background: url(../images/bg-how-work-box_2.png) 0 0 no-repeat;
		width: 643px;
		height: 140px;
		bottom: -100px;
		left: 63px;
	}
	&.how-work-box_3:after {
		background: url(../images/bg-how-work-box_3.png) 0 0 no-repeat;
		width: 30px;
		height: 90px;
		top: -42px;
		left: 52px;
	}
	&.how-work-box_4:after {
		background: url(../images/bg-how-work-box_4.png) 0 0 no-repeat;
		width: 30px;
		height: 200px;
		top: -155px;
		left: 52px;
	}
	&.how-work-box_3 { min-height: 260px;}
	&:hover .how-work-box-image {
  //       -webkit-animation-duration: 1s;
		// animation-duration: 1s;
		// -webkit-animation-fill-mode: both;
		// animation-fill-mode: both;
		// -webkit-backface-visibility: visible !important;
		// -ms-backface-visibility: visible !important;
		// backface-visibility: visible !important;
		// -webkit-animation-name: flipInY;
		// animation-name: flipInY;
	}
}

.how-work-box_2__sub {
	padding: 20px 30px;
	margin: 0 0 40px;
}

.how-work-box-number {
	display: block;
	text-align: center;
	font-size: 80px;
	line-height: 84px;
	font-weight: 700;
	color: #388e3c;
	small {
		display: block;
		font-size: 20px;
		line-height: 24px;
		font-weight: 400;
		position: relative;
		top: -10px;
	}
}

.how-work-box-title {
	display: block;
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 20px;
	small {
		display: block;
		font-size: 18px;
		line-height: 21px;
		font-weight: 700;
		color: #424a51;
	}
}

.how-work-box-image {
	width: 188px;
	height: 204px;
	line-height: 204px;
	text-align: center;
	margin: -102px auto 20px;
	background: url(../images/bg-how-work-box-image.png) 0 0 no-repeat;
}

.how-work-box-desc {
	display: table-cell;
	height: 160px;
	vertical-align: middle;
	p:last-child { margin: 0; }
}


.how-work-caption {
	margin: 0 0 -40px;
}

.how-work-caption-heading {
	display: block;
	font-size: 18px;
	line-height: 21px;
	margin: 0 0 40px;
	text-align: center;
	color: #424a51;
	mark {
		background: none;
		color: #388e3c;
	}
}

.how-work-payment {
	margin: 0;
	padding: 0;
	list-style: none;
	& > li {
		display: inline-block;
		vertical-align: top;
		margin: 0 -4px 10px 0;
	}
}

.how-work-payment-link {
	display: inline-block;
	vertical-align: top;
	padding: 4px;
	font-size: 12px;
	line-height: 14px;
	font-weight: 700;
	text-decoration: none;
	color: #fff;
	text-align: center;
	min-width: 60px;
	margin: 0 0 -18px;
	position: relative;
	z-index: 1;
	span {
		display: block;
		background: #fff;
		height: 48px;
		line-height: 40px;
		text-align: center;
		padding: 4px;
		margin: 0 0 4px;
	}
	small {
		display: block;
		border-top: 1px solid #585F65;
		margin: 0 -4px;
		padding: 2px 4px 0;
		font-size: 12px;
		line-height: 14px;
		height: 18px;
		opacity: 0;
		visibility: hidden;
	}
	img {
		max-height: 100%;
	}
	&:hover {
		z-index: 2;
		background: #424A51;
		color: #fff;
		text-decoration: none;
		small {
			opacity: 1;
			visibility: visible;
		}
	}
}


.how-work-payment_2 {
	margin: 0 -4px -4px;
	padding: 5px 0 16px;
	list-style: none;
	& > li {
		display: inline-block;
		vertical-align: middle;
		padding: 0 4px 4px;
		margin: 0 -4px 0 0;
	}
}

.how-work-payment_2-link {
	display: inline-block;
	vertical-align: top;
	padding: 4px;
	min-width: 60px;
	opacity: 0.6;
	text-align: center;
	&:hover {
		opacity: 1;
	}
}

.how-work-happen {
	margin: -68px 0 40px;
	padding: 0;
	text-align: center;
	position: relative;
	&:after {
		content: '';
		display: block;
		height: 125px;
		width: 8px;
		background: #388E3C;
		position: absolute;
		bottom: 100%;
		left: 64px;
		opacity: 0;
		visibility: hidden;
		margin: 0 0 -55px;
	}
}

.how-work-happen-open {
	display: inline-block;
	vertical-align: top;
	border: 1px solid #E6E6E6;
	background: #FFFFFF;
	font-size: 18px;
	line-height: 20px;
	font-weight: 700;
	color: #424a51;
	text-decoration: none;
	padding: 14px 20px;
	margin: 0 0 -1px;
	position: relative;
	z-index: 20;
	u {
		text-decoration: none;
		border-bottom: 1px dashed #71777C;
	}
	.icon-arr_happen { display: none; }
	&:hover {
		color: #1F77AA;
		u { border-color: #1F77AA; }
		.icon-arr_happen:after {
			opacity: 1;
			visibility: visible;
		}

	}
	&.active {
		// color: #2078AA;
		border-bottom-color: #fff;
		// u {
		// 	border-color: #2078AA;
		// }
		.icon-arr_happen {
			background-position: -194px -176px;
		}
		&:hover {
			.icon-arr_happen:after {
				background-position: -211px -176px;
			}
		}
	}
}

.how-work-happen-close {
	display: inline-block;
	vertical-align: top;
	margin-top: 20px;
	text-decoration: none;
	color: #1f77aa;
	u {
		text-decoration: none;
		border-bottom: 1px dashed #1f77aa;
	}
	&:hover {
		color: #f66b0e;
		text-decoration: none;
		u {
			border-color: #f66b0e;
		}
		.icon-close_happen:after {
			opacity: 1;
			visibility: visible;
		}
	}
}

.how-work-happen-image {
	text-align: center;
	margin: 0 -20px;
}

.how-work-happen-content {
	display: none;
	// box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
	background-color: #FFF;
	border: 1px solid #E6E6E6;
	padding: 20px;
	position: relative;
	margin: 0;
	text-align: left;
	z-index: 10;
	font-size: 14px;
	line-height: 17px;
	p {
		margin: 0 0 10px;
		&:last-child {
			margin: 0;
		}
	}
}



.how-work-ctrl {
	padding: 35px 0;
	text-align: center;
	margin-top: -43px;
	.btn {
		white-space: normal;
	}
}

@media screen and (min-width: 768px){

	.how-work-heading {
		font-size: 50px;
		line-height: 60px;
		margin-top: -5px;
		margin-bottom: 25px;
	}

	.how-work-box-title {
		font-size: 30px;
		line-height: 30px;
		small {
			line-height: 21px;
		}
	}

	.how-work-box {
		margin: 0 94px 43px 0;
		padding: 15px 135px;
	}

	.how-work-caption {
		margin: 0;
	}

	.how-work-box_2__sub {
		padding: 20px 30px;
		margin: 0 0 40px;
	}

	.how-work-box-image {
		position: absolute;
		top: -6px;
		right: -94px;
		margin: 0;
	}

	.how-work-box-number {
		position: absolute;
		top: 0;
		left: 0;
		width: 135px;
		padding: 40px 0 0;
	}

	.how-work-happen-open {
		height: 50px;
		.icon-arr_happen {
			display: inline-block;
		}
	}

	.how-work-happen-image {
		padding: 40px 0 0;
	}

	.how-work-payment_2 {
		margin-left: -10px;
		margin-right: -10px;
		padding-bottom: 20px;
		& > li {
			padding-left: 10px;
			padding-right: 10px;
		}
	}

	.how-work-happen-content {
		 box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
	}

}

@media screen and (min-width: 992px){

	.how-work-payment_2 {
		margin-left: -20px;
		margin-right: -20px;
		padding-bottom: 20px;
		& > li {
			padding-left: 20px;
			padding-right: 20px;
		}
	}
	
	.how-work-box:after{ display: block; }
	.how-work-happen:after {
		opacity: 1;
		visibility: visible;
	}
}


/* --- cabinet --- */

.cabinet {
	.input-group {
		margin-bottom: 5px;
	}
	.calc {
		padding: 0;
	}
	.calc-content {
		border: none;
		background: none;
		margin: 0;
		padding: 0;
	}
	.calc-label {
		margin-bottom: 17px;
	}
	.form-payment {
		margin: 0;
		margin-bottom: 30px;
		.cabinet-heading {
			margin-bottom: 15px;
		}
	}
	hr {
		margin: 20px -20px;
	}
}

.cabinet-heading {
	display: block;
	font-size: 24px;
	line-height: 28px;
	color: #388e3c;
	margin: 0 0 30px;
	mark {
		background: none;
		color: #424a51;
	}
	small {
		display: block;
		font-size: inherit;
		color: inherit;
		font-weight: inherit;
		margin-bottom: -10px;
	}
}

.cabinet-list {
	margin: 0;
	padding: 10px 0 0;
	list-style: none;
	font-size: 18px;
	line-height: 21px;
	font-weight: 700;
	color: #424a51;
	& > li {
		padding: 4px 0;
		margin: 0 0 5px;
		display: inline-block;
		vertical-align: top;
		width: 100%;
	}
	.alert-help {
		margin: 0 0 10px;
	}
	small {
		display: block;
		font-size: 14px;
		line-height: 17px;
		color: #737a80;
		font-weight: 400;
	}
	mark, sup {
		background: none;
		color: #388e3c;
	}

}

.cabinet-ctrl {
	font-size: 14px;
	line-height: 17px;
	padding-top: 10px;
	padding-bottom: 5px;
	.form-group {
		margin: 15px 0;
	}
	.input-lg {
		max-width: 160px;
	}
	label {
		font-size: 16px;
	}
}

.scale {
	margin: -20px 0 45px;
}

.scale-text {
	font-size: 14px;
	line-height: 17px;
	color: #424a51;
	text-align: center;
	margin: 0 0 10px;
	mark {
		background: none;
		padding: 0;
		color: #388e3c;
	}
	span {
		color: #1f77aa;
	}
}

.scale-range {
	.irs-line {
		height: 14px;
		border-radius: 7px;
		&:after {
			height: 6px;
			border-radius: 3px;
		}
	}
	.irs-bar {
		visibility: hidden;
		height: 6px;
	}
	.irs-grid-text {
		display: block !important;
	}
	.irs-max, .irs-min {
		display: none !important;
	}
	.irs-slider {
		&:after {
			width: 25px;
			height: 24px;
			background-position: -401px -171px;
			margin: -14px 0 0 -10px;
		}
		&:hover:after, &.from:after {
			background-position: -433px -171px;
		}
	}
	.irs-from, .irs-to {
		display: none;
	}
	.irs-disabled {
		opacity: 1;
	}
	.irs-grid {
		
		height: 17px;
	}
	.irs-grid-text {
		font-size: 14px;
		line-height: 17px;
		height: 17px;
		color: #828999;
		bottom: -17px;
		&.js-grid-text-0, &.js-grid-text-10, &.js-grid-text-22 {
			font-weight: 700;
		}
	}
}

@media screen and (min-width: 768px){

	.cabinet {
		.calc-content {
			padding: 0 40px;
		}
	}

	.cabinet-heading {
		font-size: 26px;
		line-height: 30px;
	}


}

@media screen and (min-width: 992px){


	.cabinet-list .alert-help {
		float: right;
		position: relative;
		top: -8px;
		margin: 0;
		margin-left: 10px;
	}

}

/* ----- error-page ----- */

.error-page {
	background: #424A51;
	padding: 110px 0 65px;
	margin: -30px 0 0;
	color: #fff;
	min-height: 120px;
}

.error-page-heading {
	display: block;
	margin: 0;
	font: 700 170px/1 Arial, sans-serif;
	white-space: nowrap;
	text-align: center;
	small {
		display: block;
		color: #fff;
		font: 700 30px/1 'PT Sans', sans-serif;
		margin: 0 0 -5px;
	}
}

.error-page-desc {
	font-size: 18px;
	line-height: 21px;
	padding: 12px;
}

.error-page-list {
	margin: 0;
	padding: 0 0 5px 20px;
	& > li {
		margin: 12px 0;
	}
}

.error-page-help {
	display: block;
	line-height: 24px;
	padding: 12px 22px;
	background: #30353B;
	a {
		color: #ffea00;
		&:hover {
			opacity: 0.7;
		}
	}
}

@media screen and (min-width: 992px){

	.error-page {
		
	}

	.error-page-heading {
		font-size: 270px;
		small {
			font-size: 50px;
			word-spacing: -3px;
		}
	}

}


/* ----- faq-details ----- */

.faq-details {
	color: #424a51;
	font-size: 16px;
	line-height: 19px;
	word-spacing: -1px;
	p { margin: 0 0 19px; }
	hr { border-style: dashed; border-color: #CCCCCC; margin: 35px 0; }
	.alert {
		margin: 0 0 24px;
	}
}

.faq-payment {
	background: #DFF7DF;
	padding: 20px 30px;
	overflow: hidden;
	margin: 0 0 35px;
}

.faq-payment-image {
	margin: 0 0 20px;
	text-align: center;
}

@media screen and (min-width: 768px){
	.faq-payment-image {
		float: left;
		width: 105px;
		margin: 5px 20px 0 0;
	}
}

.faq-payment-desc {
	overflow: hidden;
	p:last-child { margin: 0; }
}

/* --- */

.faq-details-heading {
	display: block;
	font-size: 26px;
	line-height: 30px;
	color: #388e3c;
	margin: 0 0 20px;
}

/* --- */

.faq-details-list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: point;
    & > li {
        margin: 0 0 25px;
        padding: 0 0 0 50px;
        position: relative;
        &:after {
            content: counter(point);
            counter-increment: point 1;
            position: absolute;
            left: 0;
            top: 0;
            border: 1px solid #9D9D9D;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            text-align: center;
            line-height: 28px;
            font-size: 16px;
            font-weight: 700;
            color: #878f96;
        }
    }
    .faq-image {
    	margin-left: -50px;
    }
}

.faq-image {
	margin: 20px 0;
	padding: 18px;
	padding-bottom: 0;
	border: 6px solid #F7F7F7;
	border-radius: 20px 20px 0 0;
	border-bottom: none;
}

.faq-image-zoom {
	border: 1px solid #F0F0F0;
	border-bottom-style: dashed;
	display: block;
	position: relative;
	img {
		display: block;
		width: 100%;
	}
	&:hover .faq-image-zoom-caption {
		-moz-transform: scale(1);
		-webkit-transform: scale(1);
		-o-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
		opacity: 1;
		visibility: visible;
	}
}

.faq-image-zoom-caption {
	.trs(0.2s ease);
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	text-align: center;
	color: #ffffff;
	font-size: 16px;
	line-height: 30px;
	margin: -15px 0 0;
	-moz-transform: scale(0);
	-webkit-transform: scale(0);
	-o-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
	opacity: 0;
	visibility: hidden;
	span {
		display: inline-block;
		vertical-align: top;
		padding: 0 15px;
		border-radius: 3px;
		background: rgba(0,0,0,0.5);
		text-decoration: none;
	}
}

/* --- */

.faq-attn {

}

.faq-attn-heading {
	display: block;
	font-size: 26px;
	line-height: 30px;
	color: #388e3c;
	margin: 0 0 20px;
	text-align: center;
}

.faq-attn-item {
	text-align: center;
	font-size: 14px;
	line-height: 17px;
	margin: 0 0 15px;
	figure {
		height: 80px;
		line-height: 80px;
		margin: 0 0 8px;
	}
	p { margin: 0; }
}

.faq-attn-ctrl {
	background: #F7F7F7;
	padding: 20px;
	text-align: center;
	.btn {
		padding-left: 25px;
		padding-right: 25px;
	}
}

.faq-attn-conacts {
	padding: 10px 20px;
	background: #EDEDED;
	font-size: 14px;
	line-height: 17px;
	p { margin: 10px 0; }
	strong {
		font-size: 18px;
	}
	u { color: #3b83b0;}
}

@media screen and (max-width: 480px){
	
	.faq-attn .col-xs-4 {
		width: 100%;
	}

}

/* --- */

.faq-views {
	display: block;
	border-top: 1px solid #CCCCCC;
	font-size: 14px;
	line-height: 17px;
	color: #808080;
	position: relative;
	padding: 5px 0 5px 26px;
	margin: 0 0 25px;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 50%;
		left: 0;
		background: url(../images/icons.png) -228px -163px no-repeat;
		width: 16px;
		height: 11px;
		margin: -6px 0 0;
	}
	span { margin-left: 5px; }
}

/* --- */

.faq-also {
	
}

.faq-also-heading {
	display: block;
	font-size: 26px;
	line-height: 30px;
	color: #388e3c;
	margin: 0 0 10px;
	font-weight: 700;
}

.faq-also-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	line-height: 19px;
	& > li {
		margin: 0 0 15px;
		padding: 0 0 0 15px;
		position: relative;
		&:after {
			content: '';
			display: block;
			position: absolute;
			top: 10px;
			left: 0;
			background: #424A51;
			height: 1px;
			width: 5px;
		}
	}
}

/* --- */

.faq-menu {
	font-size: 16px;
	line-height: 19px;
	margin: 0 0 30px;
}

.faq-menu-heading {
	display: block;
	margin: 0;
	border-bottom: 2px solid #44474A;
	font-size: 18px;
	line-height: 28px;
	padding: 10px 21px;
	background: #899299;
	background: -moz-linear-gradient(top,  #899299 0%, #5d6368 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#899299), color-stop(100%,#5d6368));
	background: -webkit-linear-gradient(top,  #899299 0%,#5d6368 100%);
	background: -o-linear-gradient(top,  #899299 0%,#5d6368 100%);
	background: -ms-linear-gradient(top,  #899299 0%,#5d6368 100%);
	background: linear-gradient(to bottom,  #899299 0%,#5d6368 100%);
	border-radius: 3px 3px 0 0;
	color: #fff;
}

.faq-menu-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid #CCCCCC;
	font-size: 16px;
	line-height: 48px;
	& > li {
		border-bottom: 2px solid #CCCCCC;
		&:last-child { border-width: 1px; }
	}
	a {
		display: block;
		position: relative;
		padding: 0 20px;
		color: #2b2f33;
		text-decoration: none;
		background: #fcfcfc;
		background: -moz-linear-gradient(top,  #fcfcfc 0%, #ebebeb 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#ebebeb));
		background: -webkit-linear-gradient(top,  #fcfcfc 0%,#ebebeb 100%);
		background: -o-linear-gradient(top,  #fcfcfc 0%,#ebebeb 100%);
		background: -ms-linear-gradient(top,  #fcfcfc 0%,#ebebeb 100%);
		background: linear-gradient(to bottom,  #fcfcfc 0%,#ebebeb 100%);
		&:after {
			content: '';
			display: block;
			position: absolute;
			top: 50%;
			right: 20px;
			border-top: 4px solid transparent;
			border-bottom: 4px solid transparent;
			border-left: 6px solid #767D83;
			margin: -4px 0 0;
		}
		&:hover {
			color: #1f77aa;
			background: #fff;
			text-decoration: underline;
			&:after {
				border-left-color: #1F77AA;
			}
		}
	}
}

/* ----- history ----- */

.history-empty {
	text-align: center;
	font-size: 18px;
	line-height: 20px;
	color: #737a80;
	padding: 140px 0;
	img {
		margin: 0 0 30px;
	}
}

/* ----- photo ----- */

.photo {
	position: relative;
	padding: 55px 0 45px;
	min-height: 200px;
	text-align: center;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 200px;
		background: #424A51;
		z-index: -1;
	}
}

.photo-content {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	padding: 40px 20px;
	background: #fff;
	min-height: 400px;
	margin: 0;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	position: relative;
}

.photo-action {
	position: relative;
}

.flash {
	position: absolute;
	top: 140px;
	right: 0;
	z-index: 9999;
	cursor: move;
}

.flash-ctrl {
	position: absolute;
	right: 10px;
	bottom: 10px;
	height: 15px;
	.flash-btn { margin: 0 0 0 5px; }
}

.flash-btn {
	display: inline-block;
	vertical-align: top;
	border: 1px solid transparent;
	background: none;
	padding: 0 5px 0 17px;
	font-size: 11px;
	line-height: 13px;
	height: 15px;
	border-radius: 2px;
	position: relative;
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 1px;
		left: 3px;
		width: 11px;
		height: 11px;
		background: url(../images/icons.png) 0 0 no-repeat;
	}
	&:disabled { cursor: default; }
	
}

.flash-btn_true {
	border-color: #4F4E4C;
	background: #fffffd;
	background: -moz-linear-gradient(top,  #fffffd 0%, #edece7 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fffffd), color-stop(100%,#edece7));
	background: -webkit-linear-gradient(top,  #fffffd 0%,#edece7 100%);
	background: -o-linear-gradient(top,  #fffffd 0%,#edece7 100%);
	background: -ms-linear-gradient(top,  #fffffd 0%,#edece7 100%);
	background: linear-gradient(to bottom,  #fffffd 0%,#edece7 100%);
	color: #000;
	&:after {
		background-position: -265px -163px;
	}
	&:hover {
		background: #fff;
	}
	&:active {
		box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
		top: 1px;
	}
}

.flash-btn_false {
	border-color: #B7B7B7;
	background: #e4e4e2;
	background: -moz-linear-gradient(top,  #e4e4e2 0%, #f0f0f0 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4e4e2), color-stop(100%,#f0f0f0));
	background: -webkit-linear-gradient(top,  #e4e4e2 0%,#f0f0f0 100%);
	background: -o-linear-gradient(top,  #e4e4e2 0%,#f0f0f0 100%);
	background: -ms-linear-gradient(top,  #e4e4e2 0%,#f0f0f0 100%);
	background: linear-gradient(to bottom,  #e4e4e2 0%,#f0f0f0 100%);
	color: #808080;
	&:after {
		background-position: -249px -163px;
	}
}


.photo-heading {
	font-size: 26px;
	line-height: 30px;
	color: #388e3c;
	margin: 0 0 10px;
}

.photo-text {
	margin: 0 auto 60px;
	font-size: 18px;
	line-height: 22px;
	color: #30363b;
	display: block;
	max-width: 680px;
}

.photo-numbers {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 45px;
	line-height: 80px;
	height: 80px;
	font-weight: 700;
	color: #cccccc;
	white-space: nowrap;
	overflow: hidden;
	display: none;
	& > li {
		display: inline-block;
		vertical-align: top;
		width: 40px;
		text-align: center;
		position: relative;
		&.is-active { color: #388e3c; font-size: 60px; top: -5px; }
	}
}

.photo-image {
	width: 240px;
	height: 240px;
	position: relative;
	margin: -15px auto;
	overflow: hidden;
	span {
		display: block;
		width: 800px;
		height: 600px;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -300px 0 0 -400px;
	}
}

.photo-ctrl {
	.btn {
		display: inline-block;
		white-space: nowrap;
		max-width: 300px;
		margin: 0 0 20px;
		padding-left: 10px;
		padding-right: 10px;
	}
}

.photo-ctrl-text {
	display: block;
	clear: both;
	max-width: 300px;
	font-size: 14px;
	line-height: 17px;
	color: #424a51;
	width: 100%;
	margin: -10px auto 20px;
}


.photo-caption {
	margin: 0;
	font-size: 18px;
	line-height: 22px;
	color: #388e3c;
	br { display: none; }
}

@media screen and (min-width: 768px){
	
	.photo-ctrl {
		.btn-red { float: right; }
		.btn-grey { float: left; }
	}
	
	.photo-ctrl-text {
		float: left;
	}

	.photo-caption {
		br { display: block; }
	}

}



.photo-load {
	text-align: center;
	padding: 85px 0 0;
	display: none;
}

.photo-load-heading {
	font-size: 26px;
	line-height: 30px;
	color: #388e3c;
	margin: 0 0 10px;
	display: block;
}

.photo-load-text {
	font-size: 16px;
	line-height: 20px;
	color: #424a51;
	display: block;
}

.photo-load-line {
    margin: 0 auto 20px;
    width: 100%;
    max-width: 640px;
    height: 25px;
    border-radius: 12px;
    background: rgb(231,235,241);
    background: -moz-linear-gradient(top,  rgba(231,235,241,1) 1%, rgba(237,240,244,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(231,235,241,1)), color-stop(100%,rgba(237,240,244,1)));
    background: -webkit-linear-gradient(top,  rgba(231,235,241,1) 1%,rgba(237,240,244,1) 100%);
    background: -o-linear-gradient(top,  rgba(231,235,241,1) 1%,rgba(237,240,244,1) 100%);
    background: -ms-linear-gradient(top,  rgba(231,235,241,1) 1%,rgba(237,240,244,1) 100%);
    background: linear-gradient(to bottom,  rgba(231,235,241,1) 1%,rgba(237,240,244,1) 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.7), 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(115,122,135,.18), inset 0 0 0 1px rgba(115,122,135,.05);
    position: relative;
    padding: 0 4px;
    overflow: hidden;
	&:after {
	    content: '';
	    display: block;
	    position: absolute;
	    top: 4px;
	    bottom: 4px;
	    left: 4px;
	    right: 4px;
	    height: 17px;
	    border-radius: 9px;
	    box-shadow: 0 1px 0 rgba(255,255,255,.7), inset 0 1px 3px rgba(94,101,114,.6), inset 0 0 0 1px rgba(94,101,114,.1);
	    background: rgb(200,205,215);
	    background: -moz-linear-gradient(top,  rgba(200,205,215,1) 1%, rgba(212,217,227,1) 100%);
	    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(200,205,215,1)), color-stop(100%,rgba(212,217,227,1)));
	    background: -webkit-linear-gradient(top,  rgba(200,205,215,1) 1%,rgba(212,217,227,1) 100%);
	    background: -o-linear-gradient(top,  rgba(200,205,215,1) 1%,rgba(212,217,227,1) 100%);
	    background: -ms-linear-gradient(top,  rgba(200,205,215,1) 1%,rgba(212,217,227,1) 100%);
	    background: linear-gradient(to bottom,  rgba(200,205,215,1) 1%,rgba(212,217,227,1) 100%);
	    z-index: 10;
	}
	span {
		z-index: 20;
		float: left;
	    position: relative;
	    top: 4px;
	    bottom: 4px;
	    margin: 0;
	    height: 16px;
	    border-radius: 9px;
	    background: rgb(254,247,88);
	    background: -moz-linear-gradient(top,  rgba(254,247,88,1) 1%, rgba(235,213,101,1) 100%);
	    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(254,247,88,1)), color-stop(100%,rgba(235,213,101,1)));
	    background: -webkit-linear-gradient(top,  rgba(254,247,88,1) 1%,rgba(235,213,101,1) 100%);
	    background: -o-linear-gradient(top,  rgba(254,247,88,1) 1%,rgba(235,213,101,1) 100%);
	    background: -ms-linear-gradient(top,  rgba(254,247,88,1) 1%,rgba(235,213,101,1) 100%);
	    background: linear-gradient(to bottom,  rgba(254,247,88,1) 1%,rgba(235,213,101,1) 100%);
	    border-bottom: 1px solid #777D89;
	    border-top: 1px solid #FDFAB5;
	    box-shadow: 0 3px 6px #9ba1ad, inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.25);
	}
}

.photo-success {
	display: none;
	padding: 75px 0 0;
	text-align: center;
}

.photo-success-heading {
	text-align: center;
	display: block;
	font-size: 26px;
	line-height: 30px;
	color: #388e3c;
	margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */


.footer {
	background: #32393E;
	color: #fff;
	padding: 35px 0;
	hr {
		border-bottom: none;
		border-top: 1px solid #272D31;
		margin: -10px 0 18px;
	}
}

.nav-info {
	font-size: 14px;
	line-height: 17px;
	margin: 0 0 30px;
	hr {
		border-bottom: none;
		border-top: 1px dashed #535B63;
		margin: 17px 0;
		width: 225px;
		display: block;
		text-align: left;
	}
	a {
		color: #fff;
		text-decoration: none;
		&:hover {
			text-decoration: underline;
		}
	}
}

.nav-info-list {
	margin: 0;
	padding: 0;
	list-style: none;
	& > li {
		margin: 0 0 10px;
	}
}

.nav-info-heading {
	display: block;
	font-size: 16px;
	line-height: 18px;
	margin: 0 0 10px;
}

.copyright {
	font-size: 14px;
	line-height: 17px;
	margin: 0 0 17px;
}

.age-18 {
	display: block;
	width: 50px;
	height: 50px;
	background: url(../images/icons.png) 0 -83px no-repeat;
	text-indent: -9999px;
	opacity: 0.1;
}

@media screen and (min-width: 768px){

	.footer {
		// padding-top: 40px;
		hr {
			margin: 18px 0;
		}
	}

	.nav-info {
		margin: 0;
	}

	.copyright {
		margin: 0;
	}

	.age-18 {
		float: right;
		// margin-top: -8px;
	}
}




/* --- animate --- */

@-webkit-keyframes shake {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-2px, 0, 0);
    transform: translate3d(-2px, 0, 0);
  }

  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(2px, 0, 0);
    transform: translate3d(2px, 0, 0);
  }
}

@keyframes shake {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-2px, 0, 0);
    transform: translate3d(-2px, 0, 0);
  }

  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(2px, 0, 0);
    transform: translate3d(2px, 0, 0);
  }
}


.calc-animate .irs-slider:after {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-name: shake;
	animation-name: shake;
}


@charset "UTF-8";

/*!
Animate.css - http://daneden.me/animate
Licensed under the MIT license - http://opensource.org/licenses/MIT

Copyright (c) 2015 Daniel Eden
*/

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.animated.hinge {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}

.animated.bounceIn,
.animated.bounceOut {
  -webkit-animation-duration: .75s;
  animation-duration: .75s;
}

.animated.flipOutX,
.animated.flipOutY {
  -webkit-animation-duration: .75s;
  animation-duration: .75s;
}

@-webkit-keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0,-4px,0);
    transform: translate3d(0,-4px,0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0,-4px,0);
    transform: translate3d(0,-4px,0);
  }
}

.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
}

@-webkit-keyframes flash {
  0%, 50%, 100% {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

@keyframes flash {
  0%, 50%, 100% {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

.flash {
  -webkit-animation-name: flash;
  animation-name: flash;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.pulse {
  -webkit-animation-name: pulse;
  animation-name: pulse;
}

@-webkit-keyframes rubberBand {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(.95, 1.05, 1);
    transform: scale3d(.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, .95, 1);
    transform: scale3d(1.05, .95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes rubberBand {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(.95, 1.05, 1);
    transform: scale3d(.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, .95, 1);
    transform: scale3d(1.05, .95, 1);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.rubberBand {
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand;
}

@-webkit-keyframes shake {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

@keyframes shake {
  0%, 100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  20%, 40%, 60%, 80% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }
}

.shake {
  -webkit-animation-name: shake;
  animation-name: shake;
}

@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }

  100% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }

  100% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.swing {
  -webkit-transform-origin: top center;
  transform-origin: top center;
  -webkit-animation-name: swing;
  animation-name: swing;
}

@-webkit-keyframes tada {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%, 20% {
    -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }

  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes tada {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  10%, 20% {
    -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
  }

  30%, 50%, 70%, 90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }

  40%, 60%, 80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }

  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.tada {
  -webkit-animation-name: tada;
  animation-name: tada;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes wobble {
  0% {
    -webkit-transform: none;
    transform: none;
  }

  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }

  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }

  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }

  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }

  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes wobble {
  0% {
    -webkit-transform: none;
    transform: none;
  }

  15% {
    -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }

  30% {
    -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }

  45% {
    -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }

  60% {
    -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }

  75% {
    -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.wobble {
  -webkit-animation-name: wobble;
  animation-name: wobble;
}

@-webkit-keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(.97, .97, .97);
    transform: scale3d(.97, .97, .97);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(.97, .97, .97);
    transform: scale3d(.97, .97, .97);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.bounceIn {
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}

@-webkit-keyframes bounceInDown {
  0%, 60%, 75%, 90%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInDown {
  0%, 60%, 75%, 90%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.bounceInDown {
  -webkit-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

@-webkit-keyframes bounceInLeft {
  0%, 60%, 75%, 90%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInLeft {
  0%, 60%, 75%, 90%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3000px, 0, 0);
    transform: translate3d(-3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(25px, 0, 0);
    transform: translate3d(25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(5px, 0, 0);
    transform: translate3d(5px, 0, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.bounceInLeft {
  -webkit-animation-name: bounceInLeft;
  animation-name: bounceInLeft;
}

@-webkit-keyframes bounceInRight {
  0%, 60%, 75%, 90%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes bounceInRight {
  0%, 60%, 75%, 90%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(3000px, 0, 0);
    transform: translate3d(3000px, 0, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(-25px, 0, 0);
    transform: translate3d(-25px, 0, 0);
  }

  75% {
    -webkit-transform: translate3d(10px, 0, 0);
    transform: translate3d(10px, 0, 0);
  }

  90% {
    -webkit-transform: translate3d(-5px, 0, 0);
    transform: translate3d(-5px, 0, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
  }
}

.bounceInRight {
  -webkit-animation-name: bounceInRight;
  animation-name: bounceInRight;
}

@-webkit-keyframes bounceInUp {
  0%, 60%, 75%, 90%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInUp {
  0%, 60%, 75%, 90%, 100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
}

@-webkit-keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }

  50%, 55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }
}

@keyframes bounceOut {
  20% {
    -webkit-transform: scale3d(.9, .9, .9);
    transform: scale3d(.9, .9, .9);
  }

  50%, 55% {
    opacity: 1;
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }
}

.bounceOut {
  -webkit-animation-name: bounceOut;
  animation-name: bounceOut;
}

@-webkit-keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

@keyframes bounceOutDown {
  20% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

.bounceOutDown {
  -webkit-animation-name: bounceOutDown;
  animation-name: bounceOutDown;
}

@-webkit-keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

@keyframes bounceOutLeft {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(20px, 0, 0);
    transform: translate3d(20px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

.bounceOutLeft {
  -webkit-animation-name: bounceOutLeft;
  animation-name: bounceOutLeft;
}

@-webkit-keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

@keyframes bounceOutRight {
  20% {
    opacity: 1;
    -webkit-transform: translate3d(-20px, 0, 0);
    transform: translate3d(-20px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

.bounceOutRight {
  -webkit-animation-name: bounceOutRight;
  animation-name: bounceOutRight;
}

@-webkit-keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  40%, 45% {
    opacity: 1;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

.bounceOutUp {
  -webkit-animation-name: bounceOutUp;
  animation-name: bounceOutUp;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

@-webkit-keyframes fadeInDownBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDownBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDownBig {
  -webkit-animation-name: fadeInDownBig;
  animation-name: fadeInDownBig;
}

@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

@-webkit-keyframes fadeInLeftBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeftBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInLeftBig {
  -webkit-animation-name: fadeInLeftBig;
  animation-name: fadeInLeftBig;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@-webkit-keyframes fadeInRightBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInRightBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInRightBig {
  -webkit-animation-name: fadeInRightBig;
  animation-name: fadeInRightBig;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes fadeInUpBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUpBig {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUpBig {
  -webkit-animation-name: fadeInUpBig;
  animation-name: fadeInUpBig;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@-webkit-keyframes fadeOutDown {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes fadeOutDown {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

.fadeOutDown {
  -webkit-animation-name: fadeOutDown;
  animation-name: fadeOutDown;
}

@-webkit-keyframes fadeOutDownBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

@keyframes fadeOutDownBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
}

.fadeOutDownBig {
  -webkit-animation-name: fadeOutDownBig;
  animation-name: fadeOutDownBig;
}

@-webkit-keyframes fadeOutLeft {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fadeOutLeft {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.fadeOutLeft {
  -webkit-animation-name: fadeOutLeft;
  animation-name: fadeOutLeft;
}

@-webkit-keyframes fadeOutLeftBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

@keyframes fadeOutLeftBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(-2000px, 0, 0);
    transform: translate3d(-2000px, 0, 0);
  }
}

.fadeOutLeftBig {
  -webkit-animation-name: fadeOutLeftBig;
  animation-name: fadeOutLeftBig;
}

@-webkit-keyframes fadeOutRight {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes fadeOutRight {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.fadeOutRight {
  -webkit-animation-name: fadeOutRight;
  animation-name: fadeOutRight;
}

@-webkit-keyframes fadeOutRightBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

@keyframes fadeOutRightBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(2000px, 0, 0);
    transform: translate3d(2000px, 0, 0);
  }
}

.fadeOutRightBig {
  -webkit-animation-name: fadeOutRightBig;
  animation-name: fadeOutRightBig;
}

@-webkit-keyframes fadeOutUp {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

.fadeOutUp {
  -webkit-animation-name: fadeOutUp;
  animation-name: fadeOutUp;
}

@-webkit-keyframes fadeOutUpBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes fadeOutUpBig {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

.fadeOutUpBig {
  -webkit-animation-name: fadeOutUpBig;
  animation-name: fadeOutUpBig;
}

@-webkit-keyframes flip {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  40% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  50% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  80% {
    -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
    transform: perspective(400px) scale3d(.95, .95, .95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

@keyframes flip {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  40% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  50% {
    -webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  80% {
    -webkit-transform: perspective(400px) scale3d(.95, .95, .95);
    transform: perspective(400px) scale3d(.95, .95, .95);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }
}

.animated.flip {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  -webkit-animation-name: flip;
  animation-name: flip;
}

@-webkit-keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
}

@-webkit-keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0.5;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInY {
  0% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0.5;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
  }

  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

.flipInY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInY;
  animation-name: flipInY;
}

@-webkit-keyframes flipOutX {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

@keyframes flipOutX {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.flipOutX {
  -webkit-animation-name: flipOutX;
  animation-name: flipOutX;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
}

@-webkit-keyframes flipOutY {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }
}

@keyframes flipOutY {
  0% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }

  30% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
    opacity: 0;
  }
}

.flipOutY {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipOutY;
  animation-name: flipOutY;
}

@-webkit-keyframes lightSpeedIn {
  0% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }

  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes lightSpeedIn {
  0% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }

  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1;
  }

  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.lightSpeedIn {
  -webkit-animation-name: lightSpeedIn;
  animation-name: lightSpeedIn;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
}

@-webkit-keyframes lightSpeedOut {
  0% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0;
  }
}

@keyframes lightSpeedOut {
  0% {
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
    transform: translate3d(100%, 0, 0) skewX(30deg);
    opacity: 0;
  }
}

.lightSpeedOut {
  -webkit-animation-name: lightSpeedOut;
  animation-name: lightSpeedOut;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
}

@-webkit-keyframes rotateIn {
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateIn {
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -200deg);
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateIn {
  -webkit-animation-name: rotateIn;
  animation-name: rotateIn;
}

@-webkit-keyframes rotateInDownLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateInDownLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateInDownLeft {
  -webkit-animation-name: rotateInDownLeft;
  animation-name: rotateInDownLeft;
}

@-webkit-keyframes rotateInDownRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateInDownRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateInDownRight {
  -webkit-animation-name: rotateInDownRight;
  animation-name: rotateInDownRight;
}

@-webkit-keyframes rotateInUpLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateInUpLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateInUpLeft {
  -webkit-animation-name: rotateInUpLeft;
  animation-name: rotateInUpLeft;
}

@-webkit-keyframes rotateInUpRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes rotateInUpRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -90deg);
    transform: rotate3d(0, 0, 1, -90deg);
    opacity: 0;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.rotateInUpRight {
  -webkit-animation-name: rotateInUpRight;
  animation-name: rotateInUpRight;
}

@-webkit-keyframes rotateOut {
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0;
  }
}

@keyframes rotateOut {
  0% {
    -webkit-transform-origin: center;
    transform-origin: center;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, 200deg);
    transform: rotate3d(0, 0, 1, 200deg);
    opacity: 0;
  }
}

.rotateOut {
  -webkit-animation-name: rotateOut;
  animation-name: rotateOut;
}

@-webkit-keyframes rotateOutDownLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }
}

@keyframes rotateOutDownLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
    opacity: 0;
  }
}

.rotateOutDownLeft {
  -webkit-animation-name: rotateOutDownLeft;
  animation-name: rotateOutDownLeft;
}

@-webkit-keyframes rotateOutDownRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

@keyframes rotateOutDownRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

.rotateOutDownRight {
  -webkit-animation-name: rotateOutDownRight;
  animation-name: rotateOutDownRight;
}

@-webkit-keyframes rotateOutUpLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

@keyframes rotateOutUpLeft {
  0% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
    opacity: 0;
  }
}

.rotateOutUpLeft {
  -webkit-animation-name: rotateOutUpLeft;
  animation-name: rotateOutUpLeft;
}

@-webkit-keyframes rotateOutUpRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0;
  }
}

@keyframes rotateOutUpRight {
  0% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    opacity: 1;
  }

  100% {
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
    opacity: 0;
  }
}

.rotateOutUpRight {
  -webkit-animation-name: rotateOutUpRight;
  animation-name: rotateOutUpRight;
}

@-webkit-keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  20%, 60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  40%, 80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0;
  }
}

@keyframes hinge {
  0% {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  20%, 60% {
    -webkit-transform: rotate3d(0, 0, 1, 80deg);
    transform: rotate3d(0, 0, 1, 80deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
  }

  40%, 80% {
    -webkit-transform: rotate3d(0, 0, 1, 60deg);
    transform: rotate3d(0, 0, 1, 60deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    opacity: 1;
  }

  100% {
    -webkit-transform: translate3d(0, 700px, 0);
    transform: translate3d(0, 700px, 0);
    opacity: 0;
  }
}

.hinge {
  -webkit-animation-name: hinge;
  animation-name: hinge;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes rollIn {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes rollIn {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
    transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.rollIn {
  -webkit-animation-name: rollIn;
  animation-name: rollIn;
}

/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */

@-webkit-keyframes rollOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
  }
}

@keyframes rollOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
  }
}

.rollOut {
  -webkit-animation-name: rollOut;
  animation-name: rollOut;
}

@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

@-webkit-keyframes zoomInDown {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

@keyframes zoomInDown {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

.zoomInDown {
  -webkit-animation-name: zoomInDown;
  animation-name: zoomInDown;
}

@-webkit-keyframes zoomInLeft {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
    transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
    transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

@keyframes zoomInLeft {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
    transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
    transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

.zoomInLeft {
  -webkit-animation-name: zoomInLeft;
  animation-name: zoomInLeft;
}

@-webkit-keyframes zoomInRight {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
    transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
    transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

@keyframes zoomInRight {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
    transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
    transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

.zoomInRight {
  -webkit-animation-name: zoomInRight;
  animation-name: zoomInRight;
}

@-webkit-keyframes zoomInUp {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

@keyframes zoomInUp {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

.zoomInUp {
  -webkit-animation-name: zoomInUp;
  animation-name: zoomInUp;
}

@-webkit-keyframes zoomOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  100% {
    opacity: 0;
  }
}

@keyframes zoomOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  100% {
    opacity: 0;
  }
}

.zoomOut {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut;
}

@-webkit-keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

@keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

.zoomOutDown {
  -webkit-animation-name: zoomOutDown;
  animation-name: zoomOutDown;
}

@-webkit-keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
    transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
    transform: scale(.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
}

@keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
    transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
    transform: scale(.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
}

.zoomOutLeft {
  -webkit-animation-name: zoomOutLeft;
  animation-name: zoomOutLeft;
}

@-webkit-keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
    transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
    transform: scale(.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
}

@keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
    transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(.1) translate3d(2000px, 0, 0);
    transform: scale(.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
}

.zoomOutRight {
  -webkit-animation-name: zoomOutRight;
  animation-name: zoomOutRight;
}

@-webkit-keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

@keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }

  100% {
    opacity: 0;
    -webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
    transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
  }
}

.zoomOutUp {
  -webkit-animation-name: zoomOutUp;
  animation-name: zoomOutUp;
}

@-webkit-keyframes slideInDown {
  0% {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  0% {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}

@-webkit-keyframes slideInLeft {
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  0% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
}

@-webkit-keyframes slideInRight {
  0% {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  0% {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInRight {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
}

@-webkit-keyframes slideInUp {
  0% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInUp {
  0% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

@-webkit-keyframes slideOutDown {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes slideOutDown {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

.slideOutDown {
  -webkit-animation-name: slideOutDown;
  animation-name: slideOutDown;
}

@-webkit-keyframes slideOutLeft {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes slideOutLeft {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.slideOutLeft {
  -webkit-animation-name: slideOutLeft;
  animation-name: slideOutLeft;
}

@-webkit-keyframes slideOutRight {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes slideOutRight {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.slideOutRight {
  -webkit-animation-name: slideOutRight;
  animation-name: slideOutRight;
}

@-webkit-keyframes slideOutUp {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes slideOutUp {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

.slideOutUp {
  -webkit-animation-name: slideOutUp;
  animation-name: slideOutUp;
}