@import url("http://fonts.googleapis.com/css?family=Dosis");
@import url("http://fonts.googleapis.com/css?family=Libre+Baskerville:400italic");
@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700");
@import url("http://fonts.googleapis.com/css?family=Roboto:100,300,300i,400,500,700");

/* ------------------------------------------------------------------
General Styles
------------------------------------------------------------------ */
html {
	-webkit-font-smoothing:antialiased;
}
body {
	background: #fff;
	font: 400 14px/1.8 "Open Sans", sans-serif;
	color: #777;
	overflow-x: hidden;
	-ms-overflow-style: scrollbar;

}

img {
	max-width: 100%;
	height: auto;
}

iframe {
	border: 0;
}

/* ------------------------------------------------------------------
Selection
------------------------------------------------------------------ */

::-moz-selection {
	background: #000;
	color: #fff;
}

::-webkit-selection {
	background: #000;
	color: #fff;
}

::selection {
	background: #000;
	color: #fff;
}

/* ------------------------------------------------------------------
Transition elsements
------------------------------------------------------------------- */

a,
.btn,
.navbar a {
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}


.overlay-menu {
	-webkit-transition: all 0.4s ease-in-out 0s;
	   -moz-transition: all 0.4s ease-in-out 0s;
	    -ms-transition: all 0.4s ease-in-out 0s;
	     -o-transition: all 0.4s ease-in-out 0s;
	        transition: all 0.4s ease-in-out 0s;
}

/* ------------------------------------------------------------------
Reset box-shadow
------------------------------------------------------------------- */

.btn,
.well,
.panel,
.progress,
.form-control, .form-control:hover, .form-control:focus {
	-webkit-box-shadow: none;
	   -moz-box-shadow: none;
	    -ms-box-shadow: none;
	     -o-box-shadow: none;
	        box-shadow: none;
}

/* ------------------------------------------------------------------
Reset border-radius
------------------------------------------------------------------- */

.well, .label, .alert,
.modal-content {
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	    -ms-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;
}

/* ------------------------------------------------------------------
Typography
------------------------------------------------------------------- */

a {
	color: rgba(17, 17, 17, 0.55);
}

a:hover, a:focus {
	text-decoration: none;
	color: #111;
	outline: 0;
}

.bg-dark a {
	color: #aaa;
}

.bg-dark a:hover,
.bg-dark a:focus {
	color: #fff;
}

.text-light {
	color: rgba(255, 255, 255, 0.7);
}

.text-light h1, .text-light h2, .text-light h3, .text-light h4, .text-light h5, .text-light h6,
.text-light .h1, .text-light .h2, .text-light .h3, .text-light .h4, .text-light .h5, .text-light .h6 {
	color: #fff;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	line-height: 1.4;
	font-weight: 400;
	color: #111;
}

h1, .h1 {
	font-size: 28px;
	font-family:Roboto, Arial, sans-serif;
}

h2, .h2 {
	font-size: 24px;
}

h3, .h3 {
	font-size: 18px;
}

h4, .h4 {
	font-size: 16px;
	font-family:Roboto, Arial, sans-serif;
}

h5, .h5 {
	font-size: 14px;
	font-family:Roboto, Arial, sans-serif;
}

h6, .h6 {
	font-size: 12px;
}

p, ol, ul, blockquote {
	margin: 0 0 20px;
}

blockquote {
	border-color: #f7f7f7;
}

blockquote.serif-quote {
	border: 0;
	padding-left: 0;
	padding-right: 0;
}

.font-alt {
	font-family: "Roboto", sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
}

.font-serif {
	font-family: "Libre Baskerville", "Times New Roman", sans-serif;
	letter-spacing: 1px;
	font-style: italic;
}

.rotate {
	text-shadow: none !important;
}


/* ------------------------------------------------------------------
Forms
------------------------------------------------------------------- */

.form-control {
	border: 2px solid #eee;
	height: 33px;
	font-family: "Dosis", sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 11px;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	    -ms-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.form-control:focus {
	border-color: #111;
}

/* Form sizes */

.input-lg,
.form-horizontal .form-group-lg .form-control {
	height: 43px;
	font-size: 13px;
}

.input-sm, .form-horizontal .form-group-sm .form-control {
	height: 29px;
	font-size: 10px;
}

/* ------------------------------------------------------------------
Buttons
------------------------------------------------------------------- */

.btn {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 11px;
	padding: 8px 37px;
	-webkit-border-radius: 0;
	   -moz-border-radius: 0;
	     -o-border-radius: 0;
	        border-radius: 0;
}

.btn.focus, .btn:focus,
.btn.active.focus, .btn.active:focus,
.btn:active.focus, .btn:active:focus {
	background: none;
	outline: 0;
}

/* Button types */

.btn.btn-round {
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;
}

.btn.btn-circle {
	-webkit-border-radius: 30px;
	   -moz-border-radius: 30px;
	     -o-border-radius: 30px;
	        border-radius: 30px;
}

/* Button colors */

.btn.btn-w {
	background: rgba(255, 255, 255, 0.8);
	color: #111;
}

.btn.btn-w:hover, .btn.btn-w:focus {
	background: white;
	color: #111;
}

.btn.btn-border-w {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.75);
	color: #fff;
}

.btn.btn-border-w:hover, .btn.btn-border-w:focus {
	background: #fff;
	border-color: transparent;
	color: #111;
}

.btn.btn-g {
	background: #eee;
	color: #111;
}

.btn.btn-g:hover, .btn.btn-g:focus {
	background: rgba(238, 238, 238, 0.7);
	color: #111;
}

.btn.btn-d {
	background: rgba(17, 17, 17, 0.8);
	color: #fff;
}

.btn.btn-d:hover, .btn.btn-d:focus {
	background: #111111;
}

.btn.btn-border-d {
	background: transparent;
	border: 2px solid #111;
	color: #111;
}

.btn.btn-border-d:hover {
	background: #111;
	color: #fff;
}

.btn.btn-b {
	background: #111111;
	color: #fff;
}

.btn.btn-b:hover, .btn.btn-b:focus {
	background: rgba(17, 17, 17, 0.8);
}

/* Button sizes */

.btn.btn-lg {
	font-size: 13px;
	padding: 12px 45px;
}

.btn.btn-sm {
	letter-spacing: 1px;
	font-size: 10px;
	padding: 6px 25px;
}

.btn.btn-xs {
	letter-spacing: 0;
	font-size: 10px;
	padding: 4px 19px;
}

/* ------------------------------------------------------------------
Progress bars
------------------------------------------------------------------- */

.progress {
	overflow: visible;
	height: 4px;
}

.progress-title {
	margin-top: 0;
}

.progress-bar {
	position: relative;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	    -ms-border-radius: 4px;
	     -o-border-radius: 4px;
	        border-radius: 4px;
}

.progress-bar.pb-dark {
	background: #111;
}
.progress-bar.pb-bl {
	background: #4A90E2;
}
.progress-bar.pb-bl2 {
	background: #033B7C;
}
.progress-bar.pb-bldrk {
	background: #051931;
}


.progress-bar span {
	position: absolute;
	padding: 4px 0px;
	display: block;
	top: -28px;
	right: 0;
	opacity: 0;
	line-height: 12px;
	font-size: 12px;
	color: #777;
}

/* ------------------------------------------------------------------
Tabs and Accordion
------------------------------------------------------------------- */

.nav-tabs {
	border-color: #eee;
}

.nav-tabs > li > a {
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	    -ms-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;
}

.nav-tabs >li.active > a,
.nav-tabs >li.active > a:hover,
.nav-tabs >li.active > a:focus {
	border: 1px solid #eee;
	border-bottom-color: transparent;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
	background: #eee;
}

.tab-content {
	padding: 15px 0;
}

/* Accordion */

.panel-group {
	border: 1px solid #eee;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	    -ms-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;
}

.panel-group .panel {
	border-radius: 0;
}

.panel {
	border: 0;
	border-bottom: 1px solid #eee;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
	border-color: #eee;
}

.panel-heading {
	padding: 15px 20px;
}

.panel-default > .panel-heading {
	background: transparent;
	border-color: #eee;
}

.panel-heading a {
	position: relative;
	display: block;
}

.panel-heading a:after {
	position: absolute;
	content: "\f106";
	top: 50%;
	right: 0px;
	margin-top: -7px;
	font-family: "FontAwesome";
	font-size: 14px;
	line-height: 1;
}

.panel-heading a.collapsed:after {
	content: "\f107";
}

.panel-title {
	font-size: 12px;
}

.panel-group .panel + .panel {
	border-top: 0;
	margin-top: 0;
}

/* -------------------------------------------------------------------
Price-tables
------------------------------------------------------------------- */

.price-table {
	background: #fff;
	border: 1px solid #eee;
	padding: 25px 20px;
	margin: 15px 0 30px;
	text-align: center;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;
}

.price-table:hover {
	border-color: #eee;
}

.price-table.best {
	margin: 0 0 30px;
}

.price-table .small {
	margin: 0;
}

.borderline {
	position: relative;
	background: #eee;
	display: block;
	height: 1px;
	width: 100%;
	margin: 20px 0 15px;
}

.borderline:before {
	position: absolute;
	background: #eee;
	content: "";
	bottom: -7px;
	left: 50%;
	height: 14px;
	width: 14px;
	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	margin-left: -7px;
}

.borderline:after {
	position: absolute;
	background: #fff;
	content: "";
	bottom: -5px;
	left: 50%;
	height: 16px;
	width: 16px;
	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	margin-left: -8px;
}

.price-table h4 {
	color: #111;
	margin: 0;
}

.price-table p.price {
	font-size: 60px;
	color: #111;
	padding: 0;
	margin: 0 0 0 -10px;
}

.price-table p.price span {
	display: inline-block;
	vertical-align: top;
	font-size: 16px;
	padding-top: 25px;
}

.price-details {
	list-style: none;
	padding: 0;
	margin: 0 0 23px;
}

.price-details li {
	padding: 7px 0;
}

.price-details li > span {
	text-decoration: line-through;
	color: #aaa;
}

/* ------------------------------------------------------------------
Pagination
------------------------------------------------------------------- */

.pagination > li {
	display: inline-block;
}

.pagination > li > a,
.pagination > li > span {
	background: #f7f7f7;
	border: 0;
	width: 38px;
	height: 38px;
	padding: 0;
	margin: 0;
	text-align: center;
	line-height: 38px;
	color: #111;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	background: #111;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
	background: #f0f0f0;
	color: #111;
}

/* ------------------------------------------------------------------
Social links
------------------------------------------------------------------- */

.social-text-links,
.social-icon-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.socicon-round > li > a {
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	     -o-border-radius: 2px;
	        border-radius: 2px;
}

.socicon-circle > li > a {
	-webkit-border-radius: 100%;
	   -moz-border-radius: 100%;
	     -o-border-radius: 100%;
	        border-radius: 100%;
}

.social-text-links > li {
	display: inline-block;
	margin: 0 10px 20px;
}

.social-icon-links > li {
	display: inline-block;
	margin: 0 5px 10px 0;
}

.social-icon-links > li > a {
	display: inline-block;
	background: #f7f7f7;
	height: 36px;
	width: 36px;
	text-align: center;
	line-height: 36px;
	font-size: 14px;
	color: #111;
}

.social-icon-links > li > a:hover {
	background: #f0f0f0;
}

/* ------------------------------------------------------------------
Content box
------------------------------------------------------------------- */

.content-box {
	margin: 25px 0;
}

.content-box-icon {
	text-align: center;
	font-size: 42px;
	color: #111;
}

.content-box-title {
	letter-spacing: 6px;
	text-align: center;
	margin: 5px 0 18px;
}

/* Alt content box */

.alt-content-box {
	position: relative;
	padding-left: 55px;
	margin: 25px 0;
}

.alt-content-box-icon {
	position: absolute;
	height: 38px;
	width: 38px;
	left: 0;
	top: 0;
	text-align: center;
	line-height: 38px;
	font-size: 28px;
	color: #111;
}

.alt-content-box-title {
	margin-bottom: 18px;
}

/* ------------------------------------------------------------------
Gallery box
------------------------------------------------------------------- */

.gallery-box {
	text-align: center;
	margin: 35px 0;
}

.gallery-box-text {
	font-size: 12px;
}

.gallery-box .gallery {
	display: block;
	margin: 20px 0 0;
}

.gallery-box .gallery:after {
	background: rgba(255, 255, 255, 0.3);
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.gallery-box:hover .gallery:after {
	opacity: 1;
}

/* ------------------------------------------------------------------
Modal
------------------------------------------------------------------- */

.modal-dialog {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.modal-content {
    height: 100%;
    min-height: 100%;
    height: auto;
    border-radius: 0;
}
#close:before {
  content: "✖";
  border: 1px solid gray;
  background-color:#eee;
  padding:0.5em;
  cursor: pointer;
}
#close:after {
  content: "✖";
  border: 1px solid gray;
  background-color:#337ab7;
  padding:0.5em;
  cursor: pointer;
}

/* ------------------------------------------------------------------
Counters
------------------------------------------------------------------- */

.counter-item {
	text-align: center;
}

.counter-number {
	font-size: 20px;
}

/* ------------------------------------------------------------------
Team
------------------------------------------------------------------- */

.team-image {
	border-bottom: 1px solid #eee;
	position: relative;
	overflow: hidden;
}

.team-image > img {
	width: 100%;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.team-detail {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	-webkit-transform: translateY(50%);
	   -moz-transform: translateY(50%);
	        transform: translateY(50%);
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.team-item:hover .team-detail {
	opacity: 1;
	-webkit-transform: translateY(0%);
	   -moz-transform: translateY(0%);
	        transform: translateY(0%);
}

.team-item:hover .team-image > img {
	opacity: 0.5;
}

.team-descr {
	text-align: center;
	padding-top: 15px;
}

.team-name {
	letter-spacing: 6px;
	margin: 0 0 10px;
}

.team-role {
	font-size: 12px;
}

/* ------------------------------------------------------------------
Client logos
------------------------------------------------------------------- */

.client-item {
	position: relative;
	border-top: 1px solid #eee;
	border-right: 1px solid #eee;
	padding: 0;
	text-align: center;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.client-item a {
	display: block;
	width: 100%;
	padding: 50px 15px;
	opacity: 0.9;
}

.client-item a:hover {
	background-color: rgba(0, 0, 0, 0.05);
	opacity: 1;
}

.client-item:before {
	position: absolute;
	border-left: 1px solid #eee;
	height: 100%;
	content: "";
	top: 0;
	left: -1px;
}

.client-item:after {
	position: absolute;
	border-bottom: 1px solid #eee;
	width: 100%;
	content: "";
	bottom: -1px;
	left: 0;
}

.quote-author {
	font-size: 12px;
	opacity: 0.75;
}

/* ------------------------------------------------------------------
Owl sliders
------------------------------------------------------------------- */

.owl-carousel .owl-controls .owl-buttons .owl-prev,
.owl-carousel .owl-controls .owl-buttons .owl-next {
	position: absolute;
	background: #fff;
	display: block;
	height: 40px;
	width: 40px;
	top: 50%;
	margin: -20px 10px 0;
	padding: 0;
	opacity: 0;
	text-align: center;
	line-height: 40px;
	font-size: 17px;
	color: #111;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
	        border-radius: 2px;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.owl-carousel .owl-controls .owl-buttons .owl-prev {
	left: -20px;
}

.owl-carousel .owl-controls .owl-buttons .owl-next{
	right: -20px;
}


.owl-carousel:hover .owl-controls .owl-buttons .owl-prev {
	opacity: 0.5;
	left: 0px;
}

.owl-carousel:hover .owl-controls .owl-buttons .owl-next {
	opacity: 0.5;
	right: 0px;
}

/* Pagination */

.owl-pagination {
	position: absolute;
	z-index: 3;
	margin-top: 15px;
	text-align: center;
	width: 100%;
}

.slider-testimonials .owl-pagination {
	bottom: -50px;
	margin: 0;
}

/* Slider images */

.slider-images .owl-pagination {
	bottom: 10px;
	margin: 0;
}

.owl-page {
	position: relative;
	background: rgba(255, 255, 255, 0.7);
	display: inline-block;
	overflow: hidden;
	height: 6px;
	width: 6px;
	margin: 6px 4px;
	text-indent: -200%;
	z-index: 1000;
	-webkit-border-radius: 6px;
	   -moz-border-radius: 6px;
	        border-radius: 6px;
	-webkit-box-shadow: 0 0 1px rgba(17, 17, 17, 0.4);
	   -moz-box-shadow: 0 0 1px rgba(17, 17, 17, 0.4);
	     -o-box-shadow: 0 0 1px rgba(17, 17, 17, 0.4);
	        box-shadow: 0 0 1px rgba(17, 17, 17, 0.4);
	-webkit-transition: all 0.3s cubic-bezier(0.000, 0.000, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.000, 0.000, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.000, 0.000, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.owl-page.active {
	-webkit-transform: scale(1.3);
	   -moz-transform: scale(1.3);
	     -o-transform: scale(1.3);
	        transform: scale(1.3);
}

/* ------------------------------------------------------------------
Overlays
------------------------------------------------------------------- */

.bg-light {
	background-color: #f7f7f7;
	height: 100%;
	width: 100%;
}

.bg-dark {
	background-color: #111;
	height: 100%;
	width: 100%;
}

.bg-dark,
.bg-dark-30,
.bg-dark-60,
.bg-dark-90,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-dark-30 h1, .bg-dark-30 h2, .bg-dark-30 h3, .bg-dark-30 h4, .bg-dark-30 h5, .bg-dark-30 h6,
.bg-dark-60 h1, .bg-dark-60 h2, .bg-dark-60 h3, .bg-dark-60 h4, .bg-dark-60 h5, .bg-dark-60 h6,
.bg-dark-90 h1, .bg-dark-90 h2, .bg-dark-90 h3, .bg-dark-90 h4, .bg-dark-90 h5, .bg-dark-90 h6 {
	color: #fff;
}

.bg-film:before,
.bg-dark-30:before,
.bg-dark-60:before,
.bg-dark-90:before,
.bg-light-30:before,
.bg-light-60:before,
.bg-light-90:before {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 0;
}

.bg-dark-30:before {
	background: rgba(34, 34, 34, 0.3);
	content: "";
	left: 0;
	top: 0;
}

.bg-dark-60:before {
	background: rgba(34, 34, 34, 0.6);
	content: "";
	left: 0;
	top: 0;
}

.bg-dark-90:before {
	background: rgba(34, 34, 34, 0.9);
	content: "";
	left: 0;
	top: 0;
}

.bg-light-30:before {
	background: rgba(255, 255, 255, 0.3);
	content: "";
	left: 0;
	top: 0;
}

.bg-light-60:before {
	background: rgba(255, 255, 255, 0.6);
	content: "";
	left: 0;
	top: 0;
}

.bg-light-90:before {
	background: rgba(255, 255, 255, 0.9);
	content: "";
	left: 0;
	top: 0;
}

.bg-film:before {
	background: url(../images/dot.gif);
	opacity: 0.06;
	content: "";
	left: 0;
	top: 0;
}

/* ------------------------------------------------------------------
Navigation
------------------------------------------------------------------- */

.navbar-custom {
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.navbar-custom {
	background: rgba(10, 10, 10, 0.9);
	border: 0;
	padding-top: 5px;
	padding-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 10px;
}

.navbar-custom .navbar-brand {
	padding: 10px 15px;
	letter-spacing: 4px;
	font-weight: 400;
	font-size: 20px;
	color: #fff;
}

.navbar-custom a {
	color: #fff;
}

.navbar-custom .nav > li > a:focus,
.navbar-custom .nav > li > a:hover,
.navbar-custom .nav .open > a,
.navbar-custom .nav .open > a:focus,
.navbar-custom .nav .open > a:hover,
.navbar-custom .dropdown-menu > li > a:focus,
.navbar-custom .dropdown-menu > li > a:hover {
	background: none;
	color: rgba(255, 255, 255, 0.7);
}

.show-overlay .icon-bar {
	margin-top: 2px;
}

.show-overlay .icon-bar + .icon-bar {
	margin-top: 4px;
}

.show-overlay .icon-bar {
	background: #fff;
	display: block;
	height: 2px;
	width: 16px;
}

.navbar-custom.show-overlay .icon-bar {
	background: #fff;
}

.navbar-custom .show-overlay:hover .icon-bar {
	background: rgba(255, 255, 255, 0.7);
}

/* Navbar transparent */

.navbar-transparent {
	background: transparent;
	padding-top: 15px;
	padding-bottom: 15px;
}

.navbar-transparent a,
.navbar-transparent .navbar-brand {
	color: #FFF;
}

.navbar-transparent.nav > li > a:focus,
.navbar-transparent .nav > li > a:hover,
.navbar-transparent .nav .open > a,
.navbar-transparent .nav .open > a:focus,
.navbar-transparent .nav .open > a:hover,
.navbar-transparent.dropdown-menu > li > a:focus,
.navbar-transparent .dropdown-menu > li > a:hover {
	background: none;
	color: rgba(255, 255, 255, 0.7);
}

.navbar-transparent .show-overlay .icon-bar {
	background: #fff;
}

/* Navbar light */

.navbar-transparent.navbar-light {
	background: transparent;
	webkit-box-shadow: none;
	  -moz-box-shadow: none;
	       box-shadow: none;
}

.navbar-light {
	background: rgba(255, 255, 255, 0.95);
	webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
	  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
	       box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar-light a,
.navbar-light .navbar-brand {
	color: #111;

}

.navbar-light a.active-link{
	color: #337ab7;
	font-weight: 700; 
}

.navbar-light .nav > li > a:focus,
.navbar-light .nav > li > a:hover,
.navbar-light .nav .open > a,
.navbar-light .nav .open > a:focus,
.navbar-light .nav .open > a:hover,
.navbar-light .dropdown-menu > li > a:focus,
.navbar-light .dropdown-menu > li > a:hover {
	background: none;
	color: #aaa;
}

.navbar-light .show-overlay .icon-bar {
	background: #111;
}

.navbar-light .show-overlay:hover .icon-bar {
	background: rgba(17, 17, 17, 0.7);
}

/* Trigger */

.trigger {
    width: 100%;
    height: 40px;
    position: fixed;
    bottom: 20px;
    cursor: pointer;
    z-index: 3;
    transition: $transition;
    -webkit-transition-delay: 0.6s;
    transition-delay: 0.6s;
    &::before {
        content: '';
        display: block;
        width: 40px;
        height: 40px;
        margin: 0 auto;
        margin-top: -20px;
        transition: $transition;
        border-bottom: solid 1px #111;
        border-right: solid 1px #111;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    &:hover::before {
        border-bottom: solid 1px #f11111;
        border-right: solid 1px #f11111;
    }
}

/* Overlay menu */

.overlay-menu {
	position: fixed;
	background: rgba(0, 0, 0, 0.9);
	display: table;
	min-height: 100%;
	height: 100%;
	width: 100%;
	visibility: hidden;
	z-index: 9999;
	opacity: 0;
}

.overlay-menu.active {
	visibility: visible;
	opacity: 1;
	top: 0;
}


/* Hide menu link */

.navigation-hide {
	position: absolute;
	right: 20px;
	top: 20px;
	height: 40px;
	width: 40px;
	text-align: center;
	line-height: 40px;
	color: #fff;
}

.navigation-hide:hover {
	color: rgba(255, 255, 255, 0.7);
}

.overlay-menu-inner {
	vertical-align: middle;
	display: table-cell;
	height: 100%;
	width: 100%;
	text-align: center;
}

.overlay-menu-nav {
	max-width: 300px;
	margin: 0 auto 60px;
}

.overlay-navigation-footer {
	font-size: 1.2rem;
	position: absolute;
	left: 0;
	bottom: 18px;
	width: 100%;
	color: #666;
}

/* Overlay navbar */

#nav,
#nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#nav > li > a {
	font-family: "Dosis", sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 24px;
	color: #FDFDFD;
}

#nav li a:hover, #nav li a.active {
	color: #fff;
}

#nav li ul {
	display: none;
	padding: 5px 0;
	margin: 5px 0 10px;
}

#nav li ul li a {
	display: inline-block;
	padding: 6px 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 11px;
	color: #666;
}






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

#header { position:relative; }

/* Navigation Menu */
#header .navbar {
	position:absolute;
	top:0px;
	right:0px;
	left:0px;
	color:#FFF;
	min-height:0px;
	padding:30px 0px;
	margin:0px;
	border:0px;
	z-index:100;
	border-radius:0px;
}
	#header .navbar-brand, #navigation_affix .navbar-brand {
		height:auto;
		color:#FFF;
		padding:0px;
	}
	#header .navbar > .container .navbar-brand, #navigation_affix .navbar > .container .navbar-brand { margin:0px; }
		#header .navbar-brand img, #navigation_affix .navbar-brand img { height:40px; }
#header .nav, #navigation_affix .nav {
	overflow:hidden;
	float:right;
	height:40px;
}
	#header .nav > li, #navigation_affix .nav > li { padding:9px 25px; }
	#header .nav > li:last-child, #navigation_affix .nav > li:last-child { padding-right:0px; }
		#header .nav > li > a, #navigation_affix .nav > li > a {
			position:relative;
			float:left;
			color:#FFF;
			line-height:22px;
			letter-spacing:.25px;
			font-weight:400;
			background:none !important;
			padding:0px;
			opacity:.6;
		}
		#header .nav > li > a:hover, #header .nav > li.active > a { opacity:1; }
#header .navbar-nav {
	margin-top:0px;
	margin-bottom:0px;
}

/* Navigation Affix */
#navigation_affix {
	overflow:hidden;
	position:fixed;
	top:-71px;
	right:0px;
	left:0px;
	height:70px;
	color:#a9a9a9;
	background-color:rgba(255,255,255,.95);
	padding:15px 0px;
	border-bottom:1px solid #f4f4f4;
	z-index:1000;
	box-shadow:2px 2px 3px rgba(0,0,0,.05);
	-webkit-transition:top .3s ease;
	transition:top .3s ease;
}
.ie #navigation_affix { background:url(../images/ie-bg-navigation-affix.png) repeat top left; }
#navigation_affix.show { top:0px; }
	#navigation_affix .navbar-brand, #navigation_affix .nav > li > a {
		color:#a9a9a9;
		opacity:1;
	}
	#navigation_affix .nav > li > a:hover, #navigation_affix .nav > li.active > a { color:#685d9f; }
	
/* Header Content */
#header .header-content {
	overflow:hidden;
	position:relative;
	background:center no-repeat;
	background-size:cover;
}
.ie #header .header-content { background-repeat:repeat; }
	#header .header-content .header-overlay {
		/*background-color:rgba(104,93,159,.9);*/
		padding:30% 0px 110%px;
	}
	.ie #header .header-content .header-overlay { background:url(../images/ie-bg-header-overlay.png) repeat top left; }
	#header.header-page .header-content .header-overlay { padding-bottom:80px; }
	#header .header-content .header-txt {
		color:#222;
		padding-top:70px;
	}
	#header.header-page .header-content .header-txt {
		font-size:24px;
		line-height:36px;
		text-align:center;
		padding-top:0px;
	}
		#header.header-page .header-content .header-txt h1 {
			color:#222;
			font-size:72px;
			line-height:82px;
			font-weight:100;
			text-transform:uppercase;
			letter-spacing:5px;
			margin:0px;
		}
		#header.header-page .header-content .header-txt p { margin:15px 0px 0px; }
		#header .header-content .header-txt .header-heading img {
			max-height:60px;
			margin-bottom:30px;
		}
		#header .header-content .header-txt .header-heading h1 {
			color:#222;
			font-size:68px;
			line-height:78px;
			font-weight:100;
			text-transform:uppercase;
			letter-spacing:5px;
		}
		#header .header-content .header-txt .header-heading h4 {
			color:#222;
			font-size:26px;
			line-height:36px;
			font-weight:300;
			margin:0px;
		}
		#header .header-content .header-txt .header-video {
			overflow:hidden;
			padding:0px;
			margin:30px -10px 0px;
		}
			#header .header-content .header-txt .header-video li {
				list-style-type:none;
				float:left;
				width:50%;
				text-align:center;
				padding:0px 10px;
			}
				#header .header-content .header-txt .header-video li figure {
					overflow:hidden;
					position:relative;
					border-radius:8px;
				}
					#header .header-content .header-txt .header-video li figure .ion {
						position:absolute;
						top:50%;
						left:50%;
						width:42px;
						height:42px;
						font-size:26px;
						line-height:42px;
						background-color:rgba(255,255,255,.8);
						margin:-21px 0px 0px -21px;
						border-radius:50%;
						-webkit-transition:color .2s ease, background .2s ease;
						transition:color .2s ease, background .2s easet;
					}
					.ie #header .header-content .header-txt .header-video li figure .ion { background:url(../images/ie-bg-header-video.png) repeat top left; }
					#header .header-content .header-txt .header-video li figure .ion:before { margin-right:-3px; }
					#header .header-content .header-txt .header-video li a:hover figure .ion {
						color:#685d9f;
						background:#FFF;
					}
				#header .header-content .header-txt .header-video li p {
					font-size:13px;
					line-height:18px;
					margin:7px 0px 0px;
					opacity:.6;
				}
		#header .header-content .header-txt .header-btn { margin-top:40px; }
			#header .header-content .header-txt .header-btn p {
				font-size:16px;
				line-height:24px;
				font-weight:400;
				text-transform:uppercase;
			}
			#header .header-content .header-txt .header-btn ul {
				overflow:hidden;
				padding:0px;
				margin:0px;
			}
				#header .header-content .header-txt .header-btn ul li {
					list-style-type:none;
					float:left;
					margin-right:40px;
				}
				#header .header-content .header-txt .header-btn ul li:last-child {
					padding-right:0px;
					margin-right:0px;
				}
					#header .header-content .header-txt .header-btn ul li a {
						float:left;
						color:#222;
						font-size:48px;
					}
					#header .header-content .header-txt .header-btn ul li a:hover { opacity:.6; }




.img-layers { position:relative; }
	.img-layers .img-layer-left {
		position:relative;
		z-index:110;
		-webkit-animation-delay:.5s;
		-webkit-animation-duration:1.25s;
		} 
	.img-layers .img-layer-right {
		position:relative;
		z-index:110;
		-webkit-animation-delay:1.1s;
		-webkit-animation-duration:2s;
	}
	.img-layers.img-layer-left-front .img-layer-left { padding-right:32%; }
	.img-layers.img-layer-right-front .img-layer-right { padding-left:32%; }
	.img-layers.img-layer-left-front .img-layer-right, .img-layers.img-layer-right-front .img-layer-left {
		position:absolute;
		right:0px;
		bottom:4%;
		left:40%;
		z-index:100;
	}
	.img-layers.img-layer-right-front .img-layer-left {
		right:40%;
		left:0px;
	}
	
.img-layers2 { position:relative; }
	.img-layers2 .img-layer-left, .img-layers2 .img-layer-right {
		position:relative;
		z-index:110;
	}
	.img-layers2.img-layer-left-front .img-layer-left { padding-right:36%; }
	.img-layers2.img-layer-right-front .img-layer-right { padding-left:36%; }
	.img-layers2.img-layer-left-front .img-layer-right, .img-layers2.img-layer-right-front .img-layer-left {
		position:absolute;
		right:0px;
		bottom:0px;
		left:40%;
		z-index:100;
	}
	.img-layers2.img-layer-right-front .img-layer-left {
		right:40%;
		left:0px;
	}


.animation { visibility:hidden; }
.animated, .ie .animation, .ie9 .animation { visibility:visible; }







/* ------------------------------------------------------------------
Hero
------------------------------------------------------------------- */

.module-hero {
	position: relative;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}

.hero-caption {
	display: table;
	height: 100%;
	width: 100%;
	text-align: center;
}

.hero-text {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
}

/* Hero caption sizes*/

.mh-line-size-1,
.mh-line-size-2,
.mh-line-size-3,
.mh-line-size-4,
.mh-line-size-5,
.mh-line-size-6 {
	font-weight: 400;
	margin: 0;
}

.mh-line-size-1 {
	letter-spacing: 50px;
	font-size: 30px;
	opacity: 0.9;
}

.mh-line-size-2 {
	letter-spacing: 40px;
	font-size: 26px;
	opacity: 0.9;
}

.mh-line-size-3 {
	letter-spacing: 24px;
	font-size: 26px;
	opacity: 0.8;
}

.mh-line-size-4 {
	letter-spacing: 10px;
	font-size: 16px;
	opacity: 0.6;
}

.mh-line-size-5 {
	letter-spacing: 3px;
	font-size: 14px;
	opacity: 0.6;
}

.mh-line-size-6 {
	font-size: 15px;
	opacity: 0.6;
}

/* ------------------------------------------------------------------
Modules
------------------------------------------------------------------- */

.wrapper {
	background: #fff;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
}

.module,
.module-small {
	padding: 140px 0;
	position: relative;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	        background-size: cover;
}

.module-small {
	padding: 70px 0;
}

.navbar-custom + .module {
	padding: 200px 0;
}

.navbar-custom + .module-small {
	padding: 110px 0;
}

.module-parallax {
	background-attachment: fixed;
}

/* Module titles */

.module-title {
	text-transform: uppercase;
	letter-spacing: 10px;
	text-align: center;
	font-size: 18px;
	margin-bottom: 70px;
}

.module-subtitle {
	text-align: center;
	margin-bottom: 70px;
}

.module-icon {
	font-size: 48px;
	margin-bottom: 70px;
}

.module-title + .module-subtitle {
	margin-top: -35px;
}

.divider {
	margin: 0;
}

.copyright {
	padding: 0 5px;
}

/* ------------------------------------------------------------------
Works grid
------------------------------------------------------------------- */

.works-grid {
	position: relative;
	width: 100%;
}
 

.work-item,
.grid-sizer {
	width: 33.333333333%;
}

.work-item.wide,
.work-item.wide-tall {
	width: 50%;
}

.show-more {
	font-size: 11px !important;
}

/* ------------------------------------------------------------------
Works item
------------------------------------------------------------------- */

.work-item a {
	position: absolute;
	border-radius: 10px;
	top: 0;
	bottom: 30px;
	right: 15px;
	left: 15px;
	overflow: hidden;
}

.work-item a:after {
	position: absolute;
	display: block;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.work-item img {
	height: auto;
	width: 100%;
}

.work-caption {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	opacity: 0;
	overflow: hidden;
	padding: 20px;
	z-index: 3;
	text-align: center;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.work-title {
	font-size: 14px;
	color: #fff;
	margin: 6px 0 6px;
}

.work-descr {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.75);
}

/* White hover */

.works-hover-w .work-title {
	color: #111;
}

.works-hover-w .work-descr {
	color: rgba(17, 17, 17, 0.75);
}

/* ------------------------------------------------------------------
Works item hover
------------------------------------------------------------------- */

.work-item:hover a:after {
	background: rgba(34, 34, 34, 0.05);

	border-radius: 10px;
	cursor:pointer;
}

.works-hover-w .work-item:hover a:after {

	border-radius: 10px;
	/*background: rgba(0, 0, 0, 0.2);*/
	cursor:pointer;
}

.work-item:hover .work-caption {
	opacity: 1;
	top: 50%;
	-webkit-transform: translateY(-50%);
	   -moz-transform: translateY(-50%);
	        transform: translateY(-50%);
}

/* ------------------------------------------------------------------
Portfolio Filter
------------------------------------------------------------------- */

#portfolio .container {
	width: 90%;
}


.filters {
	text-align: center;
	list-style: none;
	padding: 0;
	margin: 0 0 50px;
}

.filters > li {
	display: inline-block;
	margin: 5px 30px;
}

.filters > li sup {
	top: -.7em;
	font-size: 80%;
	color: #999;
}

.filters > li > a {
	text-transform: uppercase;
	color: #111;
}

.filters > li > a:hover, .filters > li > a.current,
.filters > li > a:hover sup, .filters > li > a.current sup {
	color: #999;
}

/* ------------------------------------------------------------------
Portfolio Single
------------------------------------------------------------------- */

.image-caption {
	position: relative;
	margin: 0 0 20px;
}

.image-caption .caption-text {
	position: absolute;
	display: table;
	bottom: 0;
	height: 100%;
	width: 100%;
	z-index: 2;
	padding: 20px;
	font-size: 12px;
}

.project-details {
	list-style: none;
	padding: 0;
	margin: 0;
}

.project-details li {
	padding: 0 0 10px;
}

/* ------------------------------------------------------------------
Blog
------------------------------------------------------------------- */

/* Fix Firefox 3 column width bug */

@-moz-document url-prefix() {

	@media (min-width: 1310px) {
		.posts-masonry .col-lg-4 {
			width: 33.3333%;
		}
	}

	@media (min-width: 992px) {
		.posts-masonry .col-md-4 {
			width: 33.3333%;
		}
	}

}

.post {
	width: 100%;
}

.post-media {
	position: relative;
	margin: 0 0 20px;
}

.post-media img {
	width: 100%;
}

.post-media a:after {
	background: rgba(255, 255, 255, 0.3);
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.post-media:hover a:after {
	opacity: 1;
}

.post-title {
	margin: 0;
}

.post-title a {
	color: #111;
}

.post-title a:hover {
	color: rgba(34, 34, 34, 0.55);
}

.post-meta {
	font-size: 12px;
	margin: 0 0 10px;
}

.post-header {
	margin: 0 0 20px;
}

/* Single post */

.post-single .post-media,
.post-single .post-header,
.post-single .post-entry {
	margin: 0 0 40px;
}

.post-single .post-meta {
	margin: 0 0 20px;
}

/* ------------------------------------------------------------------
Tags
------------------------------------------------------------------- */

.tags a {
	background: #f7f7f7;
	position: relative;
	display: inline-block;
	padding: 1px 15px 1px 10px;
	margin: 0px 15px 10px 0;
	height: 26px;
	letter-spacing: 1px;
	line-height: 24px;
	font-size: 11px;
	-webkit-border-radius: 2px 0 0 2px;
	   -moz-border-radius: 2px 0 0 2px;
	        border-radius: 2px 0 0 2px;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.tags a:before {
	border-left: 8px solid #f7f7f7;
	border-top: 13px solid rgba(0, 0, 0, 0);
	border-bottom: 13px solid rgba(0, 0, 0, 0);
	position: absolute;
	content: "";
	right: -8px;
	top: 0;
	height: 0;
	width: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	   -moz-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	     -o-transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
	        transition: all 0.3s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.tags a:after {
	background: #fff;
	position: absolute;
	display: block;
	content: "";
	right: 4px;
	top: 11px;
	height: 4px;
	width: 4px;
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	        border-radius: 50%;
}

.tags a:hover {
	background: #f0f0f0;
}
.tags a:hover:before {
	border-left-color: #f0f0f0;
}

/* ------------------------------------------------------------------
Post author
------------------------------------------------------------------- */

.post-author .author-avatar {
	max-width: 70px;
	float: left;
}

.post-author .author-avatar img {
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	        border-radius: 50%;
}

.post-author .author-content {
	margin-left: 100px;
}

.post-author .author-name {
	margin-top: 0;
}

/* ------------------------------------------------------------------
Comments and Comment form
------------------------------------------------------------------- */

.comment-avatar {
	float: left;
	max-width: 70px;
}

.comment-avatar img {
	-webkit-border-radius: 50%;
	   -moz-border-radius: 50%;
	        border-radius: 50%;
}

.comment-content {
	margin-left: 100px;
	margin-bottom: 30px;
}

.comment-author {
	margin: 0 0 20px;
}

.comment-author a {
	color: #111;
}

.comments,
.comment-form,
.post-author {
	margin: 80px 0 0;
}

.comment-title,
.comment-form-title,
.post-author-title {
	margin: 0 0 15px;
}

/* ------------------------------------------------------------------
Widgets
------------------------------------------------------------------- */

.widget {
	margin: 0 0 60px;
}

.widget-title {
	border-bottom: 1px solid #eee;
	padding: 0 0 10px;
	margin: 0 0 20px;
}

.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.widget li {
	padding-bottom: 10px;
}

/* Search */

.search-box {
	position: relative;
}

.search-btn {
	background: transparent;
	border: none;
	position: absolute;
	overflow: hidden;
	right: 1px;
	top: 50%;
	height: 40px;
	width: 42px;
	outline: none;
	margin-top: -20px;
	line-height: 38px;
	font-size: 14px;
	color: #eee;
}

/* Recent posts */

.widget-posts li {
	padding-bottom: 20px;
}

.widget-posts-image {
	float: left;
	width: 64px;
}

.widget-posts-body {
	margin-left: 74px;
}

.widget-posts-title {
	margin: 0 0 5px;
}

.widget-posts-meta {
	letter-spacing: 1px;
	font-size: 11px;
}

/* -------------------------------------------------------------------
Google map
------------------------------------------------------------------- */

#module-maps {
	position: relative;
	height: 450px;
	width: 100%;
}

#map {
	height: 100%;
	width: 100%;
}

#map img {
	max-width: none;
}

/* ------------------------------------------------------------------
Preloader
------------------------------------------------------------------- */

.page-loader {
	background: #fff;
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 9998;
}

.loader {
	background: #ddd;
	position: absolute;
	display: inline-block;
	height: 40px;
	width: 40px;
	left: 50%;
	top: 50%;
	margin: -20px 0 0 -20px;
	text-indent: -9999em;
	-webkit-border-radius: 100%;
	   -moz-border-radius: 100%;
	        border-radius: 100%;
	-webkit-animation-fill-mode: both;
	        animation-fill-mode: both;
	-webkit-animation: ball-scale 1s 0s ease-in-out infinite;
	        animation: ball-scale 1s 0s ease-in-out infinite;
}


@-webkit-keyframes ball-scale {

	0% {
		-webkit-transform: scale(0);
		   -moz-transform: scale(0);
		    -ms-transform: scale(0);
		     -o-transform: scale(0);
		        transform: scale(0);
	}

	100% {
		opacity: 0;
		-webkit-transform: scale(1);
		   -moz-transform: scale(1);
		    -ms-transform: scale(1);
		     -o-transform: scale(1);
		        transform: scale(1);
	}

}

@keyframes ball-scale {

	0% {
		-webkit-transform: scale(0);
		   -moz-transform: scale(0);
		    -ms-transform: scale(0);
		     -o-transform: scale(0);
		        transform: scale(0);
	}

	100% {
		opacity: 0;
		-webkit-transform: scale(1);
		   -moz-transform: scale(1);
		    -ms-transform: scale(1);
		     -o-transform: scale(1);
		        transform: scale(1);
	}

}

/* -------------------------------------------------------------------
Scroll to top
------------------------------------------------------------------- */

.scroll-up {
	position: fixed;
	display: none;
	bottom: 7px;
	right: 7px;
	z-index: 999;
}

.scroll-up a {
	background: #fff;
	display: block;
	height: 28px;
	width: 28px;
	text-align: center;
	line-height: 28px;
	font-size: 14px;
	color: #000;
	opacity: 0.6;
	-webkit-border-radius: 2px;
	   -moz-border-radius: 2px;
		 -o-border-radius: 2px;
			border-radius: 2px;
}

.scroll-up a:hover,
.scroll-up a:active {
	opacity: 1;
	color: #000;
}



/* ------------------------------------------------------------------
Reset bootstrap navigation styles for small screens
------------------------------------------------------------------- */

.navbar-custom .navbar-header {
	float: left;
}

.navbar-custom .navbar-right {
	float: right !important;
	margin-right: -15px;
}

.navbar-custom .navbar-nav {
	margin: 0 -15px;
}

.navbar-right + .extra-navbar {
	margin: 0 15px;
}

.navbar-custom .navbar-nav > li {
	float: left;
}

.navbar-custom .navbar-nav > li > a {
	padding-top: 15px;
	padding-bottom: 15px;
}











/* -------------------------------------------------------------------
Responsive Media Querries
------------------------------------------------------------------- */

@media (min-width: 768px) {

	/* Comments */

	.comment .comment {
		margin-left: 100px;
	}

}

@media (max-width: 1199px) {


	/* Navbar */

	.extra-navbar {
		display: none;
	}

}


@media (max-width: 992px) {

	/* Hero captions */

	.mh-line-size-1 {
		letter-spacing: 40px;
		font-size: 26px;
	}

	.mh-line-size-2 {
		letter-spacing: 28px;
		font-size: 20px;
	}

	.mh-line-size-3 {
		letter-spacing: 20px;
		font-size: 22px;
	}

	.mh-line-size-4 {
		letter-spacing: 8px;
		font-size: 16px;
	}


	/* Portfolio grid */

	.work-item,
	.grid-sizer {
		width: 33.3333%;
	}

	.work-item.wide,
	.work-item.wide-tall {
		width: 66.6666%;
	}


	/* Navbar */

	.extra-navbar {
		display: none;
	}


}

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

	/* Side and overlay nav */
	.overlay-menu.active {
		position: absolute;
	}
	.aux-navigation-active .wrapper{
		position: fixed;
	}
	.aux-navigation-active .side-navigation-wrapper,
	.aux-navigation-active .overlay-menu {
		position: absolute;
	}

	/*----------------------------*/
	.navbar-custom {
		position: absolute;
		top: 0;
		width: 100%;
	}


	/* Navbar */

	.extra-navbar {
		display: none;
	}


	

}

@media (max-width: 767px) {

	/* Hero captions */

	.mh-line-size-1 {
		letter-spacing: 24px;
		font-size: 26px;
	}

	.mh-line-size-2 {
		letter-spacing: 16px;
		font-size: 15px;
	}

	.mh-line-size-3 {
		letter-spacing: 14px;
		font-size: 14px;
	}

	.mh-line-size-4 {
		letter-spacing: 4px;
		font-size: 14px;
	}

	.mh-line-size-5 {
		letter-spacing: 2px;
		font-size: 13px;
	}

	.mh-line-size-6 {
		font-size: 13px;
	}

	/* Navbar */

	.extra-navbar {
		display: none;
	}

	/* Portfolio filters */

	.filters li {
		display: block;
		margin: 0 10px 10px;
	}

	.filters li:last-child {
		margin: 0 10px 140px;
	}

	/* Portfolio grid */

	.work-item,
	.grid-sizer {
		width: 50%;
	}

	.work-item.wide,
	.work-item.wide-tall {
		width: 100%;
	}

}

@media (max-width: 500px) {

	/* Hero captions */

	.mh-line-size-1 {
		letter-spacing: 12px;
		font-size: 26px;
	}

	.mh-line-size-2 {
		letter-spacing: 6px;
		font-size: 14px;
	}

	.mh-line-size-3 {
		letter-spacing: 4px;
		font-size: 13px;
	}

	.mh-line-size-4 {
		letter-spacing: 4px;
		font-size: 12px;
	}

	.mh-line-size-5 {
		letter-spacing: 2px;
		font-size: 11px;
	}

	.mh-line-size-6 {
		font-size: 12px;
	}

	/* Portfolio grid */

	.work-item,
	.grid-sizer {
		width: 100%;
	}

	.work-item.wide,
	.work-item.wide-tall {
		width: 100%;
	}

}

/* -------------------------------------------------------------------
Multi-columns-row
------------------------------------------------------------------- */

.multi-columns-row .first-in-row {
	clear: left;
}

.multi-columns-row .col-xs-6:nth-child(2n + 3) { clear: left; }
.multi-columns-row .col-xs-4:nth-child(3n + 4) { clear: left; }
.multi-columns-row .col-xs-3:nth-child(4n + 5) { clear: left; }
.multi-columns-row .col-xs-2:nth-child(6n + 7) { clear: left; }
.multi-columns-row .col-xs-1:nth-child(12n + 13) { clear: left; }

@media (min-width: 768px) {

	.multi-columns-row .col-xs-6:nth-child(2n + 3) { clear: none; }
	.multi-columns-row .col-xs-4:nth-child(3n + 4) { clear: none; }
	.multi-columns-row .col-xs-3:nth-child(4n + 5) { clear: none; }
	.multi-columns-row .col-xs-2:nth-child(6n + 7) { clear: none; }
	.multi-columns-row .col-xs-1:nth-child(12n + 13) { clear: none; }

	.multi-columns-row .col-sm-6:nth-child(2n + 3) { clear: left; }
	.multi-columns-row .col-sm-4:nth-child(3n + 4) { clear: left; }
	.multi-columns-row .col-sm-3:nth-child(4n + 5) { clear: left; }
	.multi-columns-row .col-sm-2:nth-child(6n + 7) { clear: left; }
	.multi-columns-row .col-sm-1:nth-child(12n + 13) { clear: left; }
}

@media (min-width: 992px) {

	.multi-columns-row .col-sm-6:nth-child(2n + 3) { clear: none; }
	.multi-columns-row .col-sm-4:nth-child(3n + 4) { clear: none; }
	.multi-columns-row .col-sm-3:nth-child(4n + 5) { clear: none; }
	.multi-columns-row .col-sm-2:nth-child(6n + 7) { clear: none; }
	.multi-columns-row .col-sm-1:nth-child(12n + 13) { clear: none; }

	.multi-columns-row .col-md-6:nth-child(2n + 3) { clear: left; }
	.multi-columns-row .col-md-4:nth-child(3n + 4) { clear: left; }
	.multi-columns-row .col-md-3:nth-child(4n + 5) { clear: left; }
	.multi-columns-row .col-md-2:nth-child(6n + 7) { clear: left; }
	.multi-columns-row .col-md-1:nth-child(12n + 13) { clear: left; }
	


}

@media (min-width: 1200px) {

	.multi-columns-row .col-md-6:nth-child(2n + 3) { clear: none; }
	.multi-columns-row .col-md-4:nth-child(3n + 4) { clear: none; }
	.multi-columns-row .col-md-3:nth-child(4n + 5) { clear: none; }
	.multi-columns-row .col-md-2:nth-child(6n + 7) { clear: none; }
	.multi-columns-row .col-md-1:nth-child(12n + 13) { clear: none; }

	.multi-columns-row .col-lg-6:nth-child(2n + 3) { clear: left; }
	.multi-columns-row .col-lg-4:nth-child(3n + 4) { clear: left; }
	.multi-columns-row .col-lg-3:nth-child(4n + 5) { clear: left; }
	.multi-columns-row .col-lg-2:nth-child(6n + 7) { clear: left; }
	.multi-columns-row .col-lg-1:nth-child(12n + 13) { clear: left; }

	#toggle-menu {
		display:none;
	}

}

.css-mapping {
	list-style: none;
}

.css-mapping > li {
	margin: 0 30px 20px 0;
	padding: 0;
	display: inline-block;
	overflow: hidden;
}

.css-mapping .icon {
	margin: 0;
	margin-right: 10px;
	padding: 13px;
	height: 50px;
	width: 50px;
	color: #162a36 !important;
	overflow: hidden;
	float: left;
	font-size: 24px;
}

.css-mapping input {
	margin: 0;
	margin-top: 12px;
	padding: 8px;
	line-height: 16px;
	font-size: 16px;
	display: block;
	width: 150px;
	height: 40px;
	border: 1px solid #d8e0e5;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background: #fff;
	outline: 0;
	float: right;
}
















/* ========================= Media Queries ========================= */


@media (min-width: 2560px) and (max-width: 5120px) {

#portfolio .container {
	width:70%;
}

#portfolio .container h5{
	font-size: 18px
}

}



@media (max-width: 1640px) {

	.col-sm-3 {
		position: relative;
		margin-left:4%;
	}
	figure {
		margin:1em 40px;
	}
	#header .header-content .header-txt .header-heading h1{
		font-size: 36px;
	}

	#header .header-content .header-txt .header-heading h4{
		font-size: 24px;
	}

	
	.sep-border { width:1200px; }
	
	
}


@media (min-width: 1200px) {
	
	.padding-top0-lg { padding-top:0px !important; }
	.padding-top10-lg { padding-top:10px !important; }
	.padding-top20-lg { padding-top:20px !important; }
	.padding-top30-lg { padding-top:30px !important; }
	.padding-top40-lg { padding-top:40px !important; }
	.padding-top50-lg { padding-top:50px !important; }
	.padding-top60-lg { padding-top:60px !important; }
	.padding-top70-lg { padding-top:70px !important; }
	.padding-top80-lg { padding-top:80px !important; }
	.padding-top90-lg { padding-top:90px !important; }
	.padding-top100-lg { padding-top:100px !important; }
	.padding-top110-lg { padding-top:110px !important; }
	.padding-top120-lg { padding-top:120px !important; }
	.padding-top130-lg { padding-top:130px !important; }
	.padding-top140-lg { padding-top:140px !important; }
	
	.padding-bottom0-lg  { padding-bottom:0px !important; }
	.padding-bottom10-lg { padding-bottom:10px !important; }
	.padding-bottom20-lg { padding-bottom:20px !important; }
	.padding-bottom30-lg { padding-bottom:30px !important; }
	.padding-bottom40-lg { padding-bottom:40px !important; }
	.padding-bottom50-lg { padding-bottom:50px !important; }
	.padding-bottom60-lg { padding-bottom:60px !important; }
	.padding-bottom70-lg { padding-bottom:70px !important; }
	.padding-bottom80-lg { padding-bottom:80px !important; }
	.padding-bottom90-lg { padding-bottom:90px !important; }
	.padding-bottom100-lg { padding-bottom:100px !important; }
	.padding-bottom110-lg { padding-bottom:110px !important; }
	.padding-bottom120-lg { padding-bottom:120px !important; }
	.padding-bottom130-lg { padding-bottom:130px !important; }
	.padding-bottom140-lg { padding-bottom:140px !important; }
	
	.padding-right0-lg { padding-right:0px !important; }
	.padding-left0-lg { padding-left:0px !important; }
	
	.margin-top0-lg { margin-top:0px !important; }
	.margin-top10-lg { margin-top:10px !important; }
	.margin-top20-lg { margin-top:20px !important; }
	.margin-top30-lg { margin-top:30px !important; }
	.margin-top40-lg { margin-top:40px !important; }
	.margin-top50-lg { margin-top:50px !important; }
	.margin-top60-lg { margin-top:60px !important; }
	.margin-top70-lg { margin-top:70px !important; }
	.margin-top80-lg { margin-top:80px !important; }
	.margin-top90-lg { margin-top:90px !important; }
	.margin-top100-lg { margin-top:100px !important; }
	.margin-top110-lg { margin-top:110px !important; }
	.margin-top120-lg { margin-top:120px !important; }
	.margin-top130-lg { margin-top:130px !important; }
	.margin-top140-lg { margin-top:140px !important; }
	
	.margin-bottom0-lg  { margin-bottom:0px !important; }
	.margin-bottom10-lg { margin-bottom:10px !important; }
	.margin-bottom20-lg { margin-bottom:20px !important; }
	.margin-bottom30-lg { margin-bottom:30px !important; }
	.margin-bottom40-lg { margin-bottom:40px !important; }
	.margin-bottom50-lg { margin-bottom:50px !important; }
	.margin-bottom60-lg { margin-bottom:60px !important; }
	.margin-bottom70-lg { margin-bottom:70px !important; }
	.margin-bottom80-lg { margin-bottom:80px !important; }
	.margin-bottom90-lg { margin-bottom:90px !important; }
	.margin-bottom100-lg { margin-bottom:100px !important; }
	.margin-bottom110-lg { margin-bottom:110px !important; }
	.margin-bottom120-lg { margin-bottom:120px !important; }
	.margin-bottom130-lg { margin-bottom:130px !important; }
	.margin-bottom140-lg { margin-bottom:140px !important; }
	
	.margin-right0-lg { margin-right:0px !important; }
	.margin-left0-lg { margin-left:0px !important; }
	
	.margin-top5-min-lg { margin-top:-5% !important; }
	.margin-top10-min-lg { margin-top:-10% !important; }
	.margin-top15-min-lg { margin-top:-15% !important; }
	.margin-top20-min-lg { margin-top:-20% !important; }
	.margin-top25-min-lg { margin-top:-25% !important; }
	.margin-top30-min-lg { margin-top:-30% !important; }
	.margin-top35-min-lg { margin-top:-35% !important; }
	.margin-top40-min-lg { margin-top:-40% !important; }
	.margin-top45-min-lg { margin-top:-45% !important; }
	.margin-top50-min-lg { margin-top:-50% !important; }
	
	.margin-bottom5-min-lg { margin-bottom:-5% !important; }
	.margin-bottom10-min-lg { margin-bottom:-10% !important; }
	.margin-bottom15-min-lg { margin-bottom:-15% !important; }
	.margin-bottom20-min-lg { margin-bottom:-20% !important; }
	.margin-bottom25-min-lg { margin-bottom:-25% !important; }
	.margin-bottom30-min-lg { margin-bottom:-30% !important; }
	.margin-bottom35-min-lg { margin-bottom:-35% !important; }
	.margin-bottom40-min-lg { margin-bottom:-40% !important; }
	.margin-bottom45-min-lg { margin-bottom:-45% !important; }
	.margin-bottom50-min-lg { margin-bottom:-50% !important; }
	
	.text-center-lg { text-align:center; }
	
	.text-center-lg .affa-feature-icon .feature-icon-heading {
		min-height:0px;
		padding-left:0px;
	}
	.text-center-lg .affa-feature-icon .feature-icon-heading .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		line-height:1;
		margin-bottom:10px;
	}
	
	.text-center-lg .affa-feature-icon2 {
		min-height:0px;
		padding-left:0px;
	}
	.text-center-lg .affa-feature-icon2 .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		font-size:36px;
		margin-bottom:5px;
	}
	.text-center-lg .affa-feature-icon2 strong {
		display:block;
		font-size:16px;
		line-height:26px;
		margin-bottom:2px;
	}
	
	.text-center-lg .affa-counter p {
		line-height:26px;
		min-height:0px;
		padding-left:0px;
		margin-top:10px;
	}
	.text-center-lg .affa-counter p .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		font-size:48px;
		margin-bottom:5px;
	}


	
}

@media (min-width: 992px) and (max-width: 1199px) {
	
	.padding-top0-md { padding-top:0px !important; }
	.padding-top10-md { padding-top:10px !important; }
	.padding-top20-md { padding-top:20px !important; }
	.padding-top30-md { padding-top:30px !important; }
	.padding-top40-md { padding-top:40px !important; }
	.padding-top50-md { padding-top:50px !important; }
	.padding-top60-md { padding-top:60px !important; }
	.padding-top70-md { padding-top:70px !important; }
	.padding-top80-md { padding-top:80px !important; }
	.padding-top90-md { padding-top:90px !important; }
	.padding-top100-md { padding-top:100px !important; }
	.padding-top110-md { padding-top:110px !important; }
	.padding-top120-md { padding-top:120px !important; }
	.padding-top130-md { padding-top:130px !important; }
	.padding-top140-md { padding-top:140px !important; }
	
	.padding-bottom0-md  { padding-bottom:0px !important; }
	.padding-bottom10-md { padding-bottom:10px !important; }
	.padding-bottom20-md { padding-bottom:20px !important; }
	.padding-bottom30-md { padding-bottom:30px !important; }
	.padding-bottom40-md { padding-bottom:40px !important; }
	.padding-bottom50-md { padding-bottom:50px !important; }
	.padding-bottom60-md { padding-bottom:60px !important; }
	.padding-bottom70-md { padding-bottom:70px !important; }
	.padding-bottom80-md { padding-bottom:80px !important; }
	.padding-bottom90-md { padding-bottom:90px !important; }
	.padding-bottom100-md { padding-bottom:100px !important; }
	.padding-bottom110-md { padding-bottom:110px !important; }
	.padding-bottom120-md { padding-bottom:120px !important; }
	.padding-bottom130-md { padding-bottom:130px !important; }
	.padding-bottom140-md { padding-bottom:140px !important; }
	
	.padding-right0-md { padding-right:0px !important; }
	.padding-left0-md { padding-left:0px !important; }
	
	.margin-top0-md { margin-top:0px !important; }
	.margin-top10-md { margin-top:10px !important; }
	.margin-top20-md { margin-top:20px !important; }
	.margin-top30-md { margin-top:30px !important; }
	.margin-top40-md { margin-top:40px !important; }
	.margin-top50-md { margin-top:50px !important; }
	.margin-top60-md { margin-top:60px !important; }
	.margin-top70-md { margin-top:70px !important; }
	.margin-top80-md { margin-top:80px !important; }
	.margin-top90-md { margin-top:90px !important; }
	.margin-top100-md { margin-top:100px !important; }
	.margin-top110-md { margin-top:110px !important; }
	.margin-top120-md { margin-top:120px !important; }
	.margin-top130-md { margin-top:130px !important; }
	.margin-top140-md { margin-top:140px !important; }
	
	.margin-bottom0-md  { margin-bottom:0px !important; }
	.margin-bottom10-md { margin-bottom:10px !important; }
	.margin-bottom20-md { margin-bottom:20px !important; }
	.margin-bottom30-md { margin-bottom:30px !important; }
	.margin-bottom40-md { margin-bottom:40px !important; }
	.margin-bottom50-md { margin-bottom:50px !important; }
	.margin-bottom60-md { margin-bottom:60px !important; }
	.margin-bottom70-md { margin-bottom:70px !important; }
	.margin-bottom80-md { margin-bottom:80px !important; }
	.margin-bottom90-md { margin-bottom:90px !important; }
	.margin-bottom100-md { margin-bottom:100px !important; }
	.margin-bottom110-md { margin-bottom:110px !important; }
	.margin-bottom120-md { margin-bottom:120px !important; }
	.margin-bottom130-md { margin-bottom:130px !important; }
	.margin-bottom140-md { margin-bottom:140px !important; }
	
	.margin-right0-md { margin-right:0px !important; }
	.margin-left0-md { margin-left:0px !important; }
	
	.margin-top5-min-md { margin-top:-5% !important; }
	.margin-top10-min-md { margin-top:-10% !important; }
	.margin-top15-min-md { margin-top:-15% !important; }
	.margin-top20-min-md { margin-top:-20% !important; }
	.margin-top25-min-md { margin-top:-25% !important; }
	.margin-top30-min-md { margin-top:-30% !important; }
	.margin-top35-min-md { margin-top:-35% !important; }
	.margin-top40-min-md { margin-top:-40% !important; }
	.margin-top45-min-md { margin-top:-45% !important; }
	.margin-top50-min-md { margin-top:-50% !important; }
	
	.margin-bottom5-min-md { margin-bottom:-5% !important; }
	.margin-bottom10-min-md { margin-bottom:-10% !important; }
	.margin-bottom15-min-md { margin-bottom:-15% !important; }
	.margin-bottom20-min-md { margin-bottom:-20% !important; }
	.margin-bottom25-min-md { margin-bottom:-25% !important; }
	.margin-bottom30-min-md { margin-bottom:-30% !important; }
	.margin-bottom35-min-md { margin-bottom:-35% !important; }
	.margin-bottom40-min-md { margin-bottom:-40% !important; }
	.margin-bottom45-min-md { margin-bottom:-45% !important; }
	.margin-bottom50-min-md { margin-bottom:-50% !important; }
	
	.text-center-md { text-align:center; }
	.text-padding { padding:0px 100px; }
	
	.sep-border { width:992px; }
	
	.post-heading-center { padding:0px 160px; }
	

	
	.text-center-md .affa-feature-icon .feature-icon-heading {
		min-height:0px;
		padding-left:0px;
	}
	.text-center-md .affa-feature-icon .feature-icon-heading .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		line-height:1;
		margin-bottom:10px;
	}
	
	.text-center-md .affa-feature-icon2 {
		min-height:0px;
		padding-left:0px;
	}
	.text-center-md .affa-feature-icon2 .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		font-size:36px;
		margin-bottom:5px;
	}
	.text-center-md .affa-feature-icon2 strong {
		display:block;
		font-size:16px;
		line-height:26px;
		margin-bottom:2px;
	}
	
	.affa-testimonial { padding:0px 80px; }
	
	.text-center-md .affa-counter p {
		line-height:26px;
		min-height:0px;
		padding-left:0px;
		margin-top:10px;
	}
	.text-center-md .affa-counter p .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		font-size:48px;
		margin-bottom:5px;
	}
	
	.affa-form-subscribe { width:400px; }


	
}
@media (min-width: 768px) and (max-width: 1300px) {
.col-sm-3 {
		position: relative;
		margin:10px 10px 0 40px;
	}
	figure {
		margin:1em 10px;
	}
	#header .header-content .header-txt .header-heading h1{
		font-size: 24px;
	}

	#header .header-content .header-txt .header-heading h4{
		font-size: 16px;
	}

}

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

	
	.padding-top0-sm { padding-top:0px !important; }
	.padding-top10-sm { padding-top:10px !important; }
	.padding-top20-sm { padding-top:20px !important; }
	.padding-top30-sm { padding-top:30px !important; }
	.padding-top40-sm { padding-top:40px !important; }
	.padding-top50-sm { padding-top:50px !important; }
	.padding-top60-sm { padding-top:60px !important; }
	.padding-top70-sm { padding-top:70px !important; }
	.padding-top80-sm { padding-top:80px !important; }
	.padding-top90-sm { padding-top:90px !important; }
	.padding-top100-sm { padding-top:100px !important; }
	.padding-top110-sm { padding-top:110px !important; }
	.padding-top120-sm { padding-top:120px !important; }
	.padding-top130-sm { padding-top:130px !important; }
	.padding-top140-sm { padding-top:140px !important; }
	
	.padding-bottom0-sm  { padding-bottom:0px !important; }
	.padding-bottom10-sm { padding-bottom:10px !important; }
	.padding-bottom20-sm { padding-bottom:20px !important; }
	.padding-bottom30-sm { padding-bottom:30px !important; }
	.padding-bottom40-sm { padding-bottom:40px !important; }
	.padding-bottom50-sm { padding-bottom:50px !important; }
	.padding-bottom60-sm { padding-bottom:60px !important; }
	.padding-bottom70-sm { padding-bottom:70px !important; }
	.padding-bottom80-sm { padding-bottom:80px !important; }
	.padding-bottom90-sm { padding-bottom:90px !important; }
	.padding-bottom100-sm { padding-bottom:100px !important; }
	.padding-bottom110-sm { padding-bottom:110px !important; }
	.padding-bottom120-sm { padding-bottom:120px !important; }
	.padding-bottom130-sm { padding-bottom:130px !important; }
	.padding-bottom140-sm { padding-bottom:140px !important; }
	
	.padding-right0-sm { padding-right:0px !important; }
	.padding-left0-sm { padding-left:0px !important; }
	
	.margin-top0-sm { margin-top:0px !important; }
	.margin-top10-sm { margin-top:10px !important; }
	.margin-top20-sm { margin-top:20px !important; }
	.margin-top30-sm { margin-top:30px !important; }
	.margin-top40-sm { margin-top:40px !important; }
	.margin-top50-sm { margin-top:50px !important; }
	.margin-top60-sm { margin-top:60px !important; }
	.margin-top70-sm { margin-top:70px !important; }
	.margin-top80-sm { margin-top:80px !important; }
	.margin-top90-sm { margin-top:90px !important; }
	.margin-top100-sm { margin-top:100px !important; }
	.margin-top110-sm { margin-top:110px !important; }
	.margin-top120-sm { margin-top:120px !important; }
	.margin-top130-sm { margin-top:130px !important; }
	.margin-top140-sm { margin-top:140px !important; }
	
	.margin-bottom0-sm  { margin-bottom:0px !important; }
	.margin-bottom10-sm { margin-bottom:10px !important; }
	.margin-bottom20-sm { margin-bottom:20px !important; }
	.margin-bottom30-sm { margin-bottom:30px !important; }
	.margin-bottom40-sm { margin-bottom:40px !important; }
	.margin-bottom50-sm { margin-bottom:50px !important; }
	.margin-bottom60-sm { margin-bottom:60px !important; }
	.margin-bottom70-sm { margin-bottom:70px !important; }
	.margin-bottom80-sm { margin-bottom:80px !important; }
	.margin-bottom90-sm { margin-bottom:90px !important; }
	.margin-bottom100-sm { margin-bottom:100px !important; }
	.margin-bottom110-sm { margin-bottom:110px !important; }
	.margin-bottom120-sm { margin-bottom:120px !important; }
	.margin-bottom130-sm { margin-bottom:130px !important; }
	.margin-bottom140-sm { margin-bottom:140px !important; }
	
	.margin-right0-sm { margin-right:0px !important; }
	.margin-left0-sm { margin-left:0px !important; }
	
	.margin-top5-min-sm { margin-top:-5% !important; }
	.margin-top10-min-sm { margin-top:-10% !important; }
	.margin-top15-min-sm { margin-top:-15% !important; }
	.margin-top20-min-sm { margin-top:-20% !important; }
	.margin-top25-min-sm { margin-top:-25% !important; }
	.margin-top30-min-sm { margin-top:-30% !important; }
	.margin-top35-min-sm { margin-top:-35% !important; }
	.margin-top40-min-sm { margin-top:-40% !important; }
	.margin-top45-min-sm { margin-top:-45% !important; }
	.margin-top50-min-sm { margin-top:-50% !important; }
	
	.margin-bottom5-min-sm { margin-bottom:-5% !important; }
	.margin-bottom10-min-sm { margin-bottom:-10% !important; }
	.margin-bottom15-min-sm { margin-bottom:-15% !important; }
	.margin-bottom20-min-sm { margin-bottom:-20% !important; }
	.margin-bottom25-min-sm { margin-bottom:-25% !important; }
	.margin-bottom30-min-sm { margin-bottom:-30% !important; }
	.margin-bottom35-min-sm { margin-bottom:-35% !important; }
	.margin-bottom40-min-sm { margin-bottom:-40% !important; }
	.margin-bottom45-min-sm { margin-bottom:-45% !important; }
	.margin-bottom50-min-sm { margin-bottom:-50% !important; }
	
	.text-center-sm { text-align:center; }
	.text-padding { padding:0px; }
	
	.sep-border { width:768px; }
	
	.post-heading-center { padding:0px 50px; }
	

	.text-center-sm .affa-feature-icon .feature-icon-heading {
		min-height:0px;
		padding-left:0px;
	}
	.text-center-sm .affa-feature-icon .feature-icon-heading .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		line-height:1;
		margin-bottom:10px;
	}
	
	.affa-feature-icon2 { padding-left:40px; }
	.text-center-sm .affa-feature-icon2 {
		min-height:0px;
		padding-left:0px;
	}
	.text-center-sm .affa-feature-icon2 .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		font-size:36px;
		margin-bottom:5px;
	}
	.text-center-sm .affa-feature-icon2 strong {
		display:block;
		font-size:16px;
		line-height:26px;
		margin-bottom:2px;
	}
	
	.affa-testimonial { padding:0px; }
	
	.text-center-sm .affa-counter p {
		line-height:26px;
		min-height:0px;
		padding-left:0px;
		margin-top:10px;
	}
	.text-center-sm .affa-counter p .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		font-size:48px;
		margin-bottom:5px;
	}
	
	.affa-form-wrap { text-align:center; }
	.affa-form-wrap .pull-left, .affa-form-wrap .pull-right { float:none !important; }
	.affa-form-wrap .pull-right { margin-top:40px; }
	
	.affa-form-subscribe { width:400px; }
	.affa-form-wrap .affa-form-subscribe { margin:0px auto; }



	.col-sm-3 {
		position: relative;
		margin:0px 0px 0 0px;
	}
	figure {
		margin:1em 10px;
	}
	#header .header-content .header-txt .header-heading h1{
		font-size: 24px;
	}

	#header .header-content .header-txt .header-heading h4{
		font-size: 16px;
	}

	.container {
    width: 90%;
}
	
}

@media (max-width: 767px) {
	
	.padding-top0-xs { padding-top:0px !important; }
	.padding-top10-xs { padding-top:10px !important; }
	.padding-top20-xs { padding-top:20px !important; }
	.padding-top30-xs { padding-top:30px !important; }
	.padding-top40-xs { padding-top:40px !important; }
	.padding-top50-xs { padding-top:50px !important; }
	.padding-top60-xs { padding-top:60px !important; }
	.padding-top70-xs { padding-top:70px !important; }
	.padding-top80-xs { padding-top:80px !important; }
	.padding-top90-xs { padding-top:90px !important; }
	.padding-top100-xs { padding-top:100px !important; }
	.padding-top110-xs { padding-top:110px !important; }
	.padding-top120-xs { padding-top:120px !important; }
	.padding-top130-xs { padding-top:130px !important; }
	.padding-top140-xs { padding-top:140px !important; }
	
	.padding-bottom0-xs  { padding-bottom:0px !important; }
	.padding-bottom10-xs { padding-bottom:10px !important; }
	.padding-bottom20-xs { padding-bottom:20px !important; }
	.padding-bottom30-xs { padding-bottom:30px !important; }
	.padding-bottom40-xs { padding-bottom:40px !important; }
	.padding-bottom50-xs { padding-bottom:50px !important; }
	.padding-bottom60-xs { padding-bottom:60px !important; }
	.padding-bottom70-xs { padding-bottom:70px !important; }
	.padding-bottom80-xs { padding-bottom:80px !important; }
	.padding-bottom90-xs { padding-bottom:90px !important; }
	.padding-bottom100-xs { padding-bottom:100px !important; }
	.padding-bottom110-xs { padding-bottom:110px !important; }
	.padding-bottom120-xs { padding-bottom:120px !important; }
	.padding-bottom130-xs { padding-bottom:130px !important; }
	.padding-bottom140-xs { padding-bottom:140px !important; }
	
	.padding-right0-xs { padding-right:0px !important; }
	.padding-left0-xs { padding-left:0px !important; }
	
	.margin-top0-xs { margin-top:0px !important; }
	.margin-top10-xs { margin-top:10px !important; }
	.margin-top20-xs { margin-top:20px !important; }
	.margin-top30-xs { margin-top:30px !important; }
	.margin-top40-xs { margin-top:40px !important; }
	.margin-top50-xs { margin-top:50px !important; }
	.margin-top60-xs { margin-top:60px !important; }
	.margin-top70-xs { margin-top:70px !important; }
	.margin-top80-xs { margin-top:80px !important; }
	.margin-top90-xs { margin-top:90px !important; }
	.margin-top100-xs { margin-top:100px !important; }
	.margin-top110-xs { margin-top:110px !important; }
	.margin-top120-xs { margin-top:120px !important; }
	.margin-top130-xs { margin-top:130px !important; }
	.margin-top140-xs { margin-top:140px !important; }
	
	.margin-bottom0-xs  { margin-bottom:0px !important; }
	.margin-bottom10-xs { margin-bottom:10px !important; }
	.margin-bottom20-xs { margin-bottom:20px !important; }
	.margin-bottom30-xs { margin-bottom:30px !important; }
	.margin-bottom40-xs { margin-bottom:40px !important; }
	.margin-bottom50-xs { margin-bottom:50px !important; }
	.margin-bottom60-xs { margin-bottom:60px !important; }
	.margin-bottom70-xs { margin-bottom:70px !important; }
	.margin-bottom80-xs { margin-bottom:80px !important; }
	.margin-bottom90-xs { margin-bottom:90px !important; }
	.margin-bottom100-xs { margin-bottom:100px !important; }
	.margin-bottom110-xs { margin-bottom:110px !important; }
	.margin-bottom120-xs { margin-bottom:120px !important; }
	.margin-bottom130-xs { margin-bottom:130px !important; }
	.margin-bottom140-xs { margin-bottom:140px !important; }
	
	.margin-right0-xs { margin-right:0px !important; }
	.margin-left0-xs { margin-left:0px !important; }
	
	.margin-top5-min-xs { margin-top:-5% !important; }
	.margin-top10-min-xs { margin-top:-10% !important; }
	.margin-top15-min-xs { margin-top:-15% !important; }
	.margin-top20-min-xs { margin-top:-20% !important; }
	.margin-top25-min-xs { margin-top:-25% !important; }
	.margin-top30-min-xs { margin-top:-30% !important; }
	.margin-top35-min-xs { margin-top:-35% !important; }
	.margin-top40-min-xs { margin-top:-40% !important; }
	.margin-top45-min-xs { margin-top:-45% !important; }
	.margin-top50-min-xs { margin-top:-50% !important; }
	
	.margin-bottom5-min-xs { margin-bottom:-5% !important; }
	.margin-bottom10-min-xs { margin-bottom:-10% !important; }
	.margin-bottom15-min-xs { margin-bottom:-15% !important; }
	.margin-bottom20-min-xs { margin-bottom:-20% !important; }
	.margin-bottom25-min-xs { margin-bottom:-25% !important; }
	.margin-bottom30-min-xs { margin-bottom:-30% !important; }
	.margin-bottom35-min-xs { margin-bottom:-35% !important; }
	.margin-bottom40-min-xs { margin-bottom:-40% !important; }
	.margin-bottom45-min-xs { margin-bottom:-45% !important; }
	.margin-bottom50-min-xs { margin-bottom:-50% !important; }
	
	.text-center-xs { text-align:center; }
	.text-padding { padding:0px; }
	
	.img-padding-xs { padding:0px 25%; }
	
	.sep-border { width:auto; }
	
	.post-heading-center { padding:0px; }
	.post-heading-left h2, .post-heading-center h2 {
		font-size:32px;
		line-height:40px;
	}
	.post-heading-left h5, .post-heading-center h5 {
		font-size:18px;
		line-height:28px;
	}
	
	#header .navbar {
		padding:0px;
		border-bottom:0px;
		box-shadow:none;
	}
	#header .navbar.affix {
		background-color:#FFF;
		padding:0px;
	}
	#header .navbar .container { padding:0px; }
	#header .container > .navbar-header {
		padding:15px;
		margin:0px;
	}
	#header .container > .navbar-collapse {
		padding:0px;
		margin:0px;	
	}
	#header .nav {
		float:none;
		height:auto;
		text-align:right;
	}
	#header .nav > li, #header .nav > li:last-child { padding:8px 15px; }
	#header .nav > li > a {
		display:inline;
		float:none;
	}
	#header .navbar-nav {
		background-color:#685d9f;
		padding:7px 0px;
		margin:0px;
	}
	#header .navbar-toggle {
		background-color:#685d9f;
		margin:3px 0px;
		border-color:#685d9f;
	}
	#header .navbar-toggle.collapsed {
		background-color:#685d9f;
		border-color:#685d9f;
	}
	#header .navbar-toggle.collapsed:hover {
		background-color:#685d9f;
		border-color:#685d9f;
	}
	#header .navbar-toggle .icon-bar {
		background-color:#FFF;
		opacity:1;
		-webkit-transition:opacity .2s ease-in-out;
		transition:opacity .2s ease-in-out;
	}
	#header .navbar-toggle.collapsed .icon-bar {
		background-color:#FFF;
		opacity:.6;
	}
	#header .navbar-toggle.collapsed:hover .icon-bar {
		background-color:#FFF;
		opacity:1;
	}
	
	#navigation_affix { display:none !important; }
	
	#header .header-content { text-align:center; }
	#header .header-content .header-overlay { padding:100px 8% 60px; }
	#header.header-page .header-content .header-overlay {
		padding-right:0px;
		padding-bottom:50px;
		padding-left:0px;
	}
	#header .header-content .header-txt { padding-top:0px; }
	#header.header-page .header-content .header-txt {
		font-size:22px;
		line-height:34px;
	}
	#header.header-page .header-content .header-txt h1, #header .header-content .header-txt .header-heading h1 {
		font-size:64px;
		line-height:74px;
		letter-spacing:4px;
	}
	#header .header-content .header-txt .header-heading h4 {
		font-size:24px;
		line-height:34px;
	}
	#header .header-content .header-txt .header-video li figure .ion {
		width:52px;
		height:52px;
		font-size:32px;
		line-height:52px;
		margin:-26px 0px 0px -26px;
	}
	#header .header-content .header-txt .header-video li figure .ion:before { margin-right:-4px; }
	#header .header-content .header-txt .header-btn p {
		font-size:18px;
		line-height:26px;
	}
	#header .header-content .header-txt .header-btn ul li {
		display:inline-block;
		float:none;
		padding:0px;
		margin:0px 15px 20px;
	}
	#header .header-content .header-txt .header-btn ul li a {
		display:inline;
		float:none;
	}
	#header .header-content .header-img {
		padding:0px 15%;
		margin-top:30px;
	}
	
	.affa-feature-icon { text-align:center; }
	.affa-feature-icon .feature-icon-heading {
		min-height:0px;
		padding-left:0px;
	}
	.affa-feature-icon .feature-icon-heading .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		line-height:1;
		margin-bottom:10px;
	}
	
	.affa-feature-icon2 {
		text-align:center;
		min-height:0px;
		padding-left:0px;
	}
	.affa-feature-icon2 .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		font-size:36px;
		margin-bottom:5px;
	}
	.affa-feature-icon2 strong {
		display:block;
		font-size:16px;
		line-height:26px;
		margin-bottom:2px;
	}
	
	.affa-counter { text-align:center; }
	.affa-counter p {
		line-height:26px;
		min-height:0px;
		padding-left:0px;
		margin-top:10px;
	}
	.affa-counter p .ion {
		display:block;
		position:static;
		top:auto;
		left:auto;
		width:auto;
		font-size:48px;
		margin-bottom:5px;
	}
	
	.affa-testimonial { padding:0px; }
	
	.affa-form-wrap { text-align:center; }
	.affa-form-wrap .pull-left, .affa-form-wrap .pull-right { float:none !important; }
	.affa-form-wrap .pull-right { margin-top:40px; }
	
	.affa-form-subscribe { width:400px; }
	.affa-form-wrap .affa-form-subscribe { margin:0px auto; }
	
	#footer .footer-links .link-icon {
		font-size:36px;
		margin:0px 10px;
	}
	#footer .footer-links .scrollup { margin:15px 0px 0px; }
	#footer .footer-links .scrollup:before {
		display:block;
		height:15px;
		content:'';
	}
	
}

@media (max-width: 640px) {
	
	.img-padding-xs { padding:0px 18%; }
	
	#header .header-content .header-img { padding:0px 12%; }
	
}

@media (max-width: 540px) {
	
	.img-padding-xs { padding:0px 12%; }
	
	.post-btn .btn-custom, #header .header-content .header-btn .btn-custom {
		margin-right:5px;
		margin-left:5px;
	}
	
	#header .header-content .header-img { padding:0px 8%; }
	
}

@media (max-width: 480px) {
	
	.img-padding-xs { padding:0px 15px; }
	
	#header .header-content .header-overlay {
		padding-right:0px;
		padding-left:0px;
	}
	#header.header-page .header-content .header-txt {
		font-size:20px;
		line-height:30px;
	}
	#header.header-page .header-content .header-txt h1 {
		font-size:56px;
		line-height:66px;
		letter-spacing:3px;
	}
	#header .header-content .header-txt .header-heading h1 {
		font-size:60px;
		line-height:70px;
		letter-spacing:3px;
	}
	#header .header-content .header-txt .header-heading h4 {
		font-size:22px;
		line-height:32px;
	}
	
	.affa-form-subscribe { width:auto; }
	
}

@media (max-width: 420px) {
	
	#header .header-content .header-txt .header-video {
		margin-right:0px;
		margin-left:0px;
	}
	#header .header-content .header-txt .header-video li {
		float:none;
		width:auto;
		padding:0px;
		margin-bottom:20px;
	}
	#header .header-content .header-txt .header-video li:last-child { margin-bottom:0px; }
	#header .header-content .header-img { padding:0px 15px; }
	
}


