@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script:400,700&subset=latin-ext');

body {
	color: #616161;
	font-size: 17px;
	padding: 0;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	line-height: 170%; 
}

/* one-way css class  */
.fl{float:left;}
.fr{float:right;}
.center{text-align: center;}
.left {text-align: left;}
.right {text-align: right;}
.upper {text-transform: uppercase;}
.strong {font-weight: bold; }
.italic {  font-style: italic; }
.upper_off {text-transform: none;}
.fullwidth { width: 100%; }
.bgwh { background-color: white; }
.wh { color: white; }
.small {font-size: 14px; }
.mt0 { margin-top: 0 !important; }
.mt10 { margin-top: 10px !important; }
.mt20 { margin-top: 20px !important; }
.mb0 { margin-bottom: 0 !important; }
.mb10 { margin-bottom: 10px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb25 { margin-bottom: 25px !important; }
.text-shadow { text-shadow: 1px 1px 2px rgba(0, 0, 0, 1); }

/* common elements */

a {color: #343434; text-decoration:underline; }
a:hover {
	color: #343434; 
	text-decoration:none;
}

.link_2, .pre-footer a {text-decoration: none;}
.link_2:hover, .pre-footer a:hover {text-decoration: underline;}

/* font awesome */
a.fa {text-decoration: none; }
a.fa:hover {text-decoration: none !important;}
.fa { margin: 0 0.3em 0 0; }
.fa.ml { margin: 0 0 0 0.3em; }

.hidden{
	display: none;
}
.cleaner{
	clear: both;
	font-size: 0;
	visibility: hidden;
	border: none;
	margin: 0; padding: 0;
}

.clearfix {
  position: relative;
}
.clearfix:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
  clear: both;
}

.bold { font-weight: bold; }
.upper { text-transform: uppercase; }

/* forms */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea,
select {
  background-color: #fff;
  border: 1px solid #D6D6D8;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  color: #414141;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 170%;
  max-width: 100%;
  padding: 10px 15px;
}

.forms input[type="text"],
.forms input[type="password"],
.forms input[type="email"],
.forms input[type="search"],
.forms textarea,
.forms select {
	width: 400px;
}

button, input[type=button], .button, .links-to-buttons a  {
	border: none;
	padding: 16px 42px;
	display: inline-block;
	text-decoration:none;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	transition:all 0.3s ease 0s;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: normal; 
	text-transform:uppercase;
	background-color: #ABABAB;
	color: #ffffff;
	border: 1px solid transparent;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;	
}

input:required, textarea:required {
 border: 1px solid #E97E70;
}

button.small, input[type=button].small, .button.small {
	padding: 10px 30px;
}

button:hover, input[type=button]:hover, .button:hover, .links-to-buttons a:hover  {
	color: #fff;
	background: #1F1F26;
	text-decoration:none;
}

.bg_dark button:hover, 
.bg_dark input[type=button]:hover, 
.bg_dark .button:hover,
.bg_dark .links-to-buttons a:hover,
.bg_dark.links-to-buttons a:hover
{
	border: 1px solid #ABABAB;
}

/* template */

/* Envelope (responsive) */

.envelope_bg {width: 100%; background-color:#fff; }
.envelope_bg.bg1, .bg1 { background-color:#fff;}
.envelope_bg.bg2, .bg2 { background-color: #EEEEEE; }
.envelope_bg.bg3, .bg3 {  background-color: #141414; color: #FFFFFF;  }
.envelope_bg.bg4, .bg4 {  background-color: #1B1B1B; color: #FFFFFF;  }
.envelope_bg.bgc1, .bgc1 {  background-color: #ABABAB; color: #FFFFFF;  }

h1, h2, h3, h4, h5, h6 {
	color: #333;
}

.bg3 a, .bg3 h1, .bg3 h2, .bg3 h3, .bg3 h4, .bg3 h5, .bg3 h6 {color: #fff; }
.bg3 .terminal {color: #fff; }

.bg_dark { color: #fff; }
.bg_dark a, .bg_dark h1, .bg_dark h2, .bg_dark h3, .bg_dark h4, .bg_dark h5, .bg_dark h6 {color: #fff; }

.c1, .c1 a { color: #ABABAB !important;}
.pre-footer .fa { color: #ABABAB; }

.envelope {
	width: 100%;  
	max-width: 1920px;
	margin: 0 auto 0 auto; 
}
.envelope-pad-top {
	padding:  50px 2% 0 2%;
}
.envelope-pad-bottom {
	padding:  0 2% 50px 2%;
}
.envelope-pad-top-bottom {
	padding:  50px 2% 50px 2%;
}
.envelope-pad-top-bottom-only {
	padding:  50px 0px 50px 0px;
}
.envelope-pad {
	padding:  0 2%;
}

.envelope-pad-pre-header {
	padding:  15px 3% 15px 3%;
	position: relative;
}

.envelope-pad-footer {
	padding:  50px 3% 50px 3%;
}

.envelope-pad-tiny {
	padding:  15px 3%;
}

.cont-maxwidth {
	max-width: 1170px;
	margin: 0 auto;
}

.maxwidth-none {
	max-width: none;
}

/* titles */

h1, .h1 {
  font: 300 48px 'Roboto', sans-serif;
  margin-bottom: 26px;
  margin-top: 26px;
}
h2, .h2 {
  font: 300 32px 'Roboto', sans-serif;
  margin-bottom: 26px;
  margin-top: 26px;
}
h3, .h3 {
  font: 400 28px 'Roboto', sans-serif;
  margin-bottom: 26px;
  margin-top: 26px;
}
h4, .h4 {
 	font: 400 26px 'Roboto', sans-serif;
  margin-bottom: 18px;
  margin-top: 18px;
}
h5, .h5 {
  font: 400 22px 'Roboto', sans-serif;
  margin-bottom: 18px;
  margin-top: 18px;
}
h6, .h6 {
  font: 400 18px 'Roboto', sans-serif;
  margin-bottom: 14px;
  margin-top: 14px;
}

.content > h1:first-of-type,
.content > h2:first-of-type,
.content > h3:first-of-type,
.content > h4:first-of-type,
.content > h5:first-of-type,
.content > h6:first-of-type 
{
	margin-top: 0;
}

.title-link a {
	color: #2D2D2D;
	text-decoration: none;
}
.title-link a:hover {
	color: #2D2D2D;
	text-decoration: underline;
}

/* layout */

/* grids */
.grid-row {
	clear: both;
	font-size: 0;
	visibility: hidden;
	border: none;
	margin: 0; padding: 0;
}

/* grid 2 = 2 columns, 50% width for each */
.grid-2 {
	width: 100%;
}

.grid-2-1 {
	float: left;
	width: 46%;
	margin: 5px 2%;
}

.grid-2 .grid-row {
	margin-bottom: 20px;
}

/* grid 3 = 3 columns */
.grid-3 {
	width: 100%;
}
.grid-3-1 {
	float: left;
	width: 31.2%;
	margin: 0 1% 20px 1%;
}

.grid-3-1.first {
	margin-left: 0;
}


/* grid 4 = 4 columns */
.grid-4 {
	width: 100%;
}

.grid-4-1 {
	float: left;
	width: 23%;
	margin: 5px 1%;
}

.grid-4-1 .pad {
}

.grid-4-1.last {
	margin-right: 0;
}

/* header */

.logo {
	max-width: 100%;
	max-height: 150px;
}

.link_logo { text-decoration: none; }
.link_logo span {
	font-family: 'Dancing Script', cursive; 
	font-size: 54px;
	line-height: 58px;
	margin: 0;
	padding: 0;
}

div.effect {
	width: 100%;
	position: relative; 
}

div.effect img {
	width: 100%;
	top:  0; left: 0;
}

div.effect .item { display: none; }
div.effect .item.first { display: block; }

/* pager */
.cycle-pager { 
  text-align: center; width: 100%; z-index: 500; position: absolute; bottom: 0px; overflow: hidden;
}
.cycle-pager span { 
   font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 45px;  
   opacity: 0.4;
   display: inline-block; color: #fff; cursor: pointer; 
   margin: 0 5px;
}
.cycle-pager span.cycle-pager-active { color: #fff; opacity: 0.8;}
.cycle-pager > * { cursor: pointer;}

#header_container { width: 100%; }

#header_wrap{width: 100%; position: relative; overflow: hidden; }
#header_picture { width: 100%; max-width: 1920px; margin: 0 auto; background-color: #fff; }
.header_picture_bg { }

#header_picture .item {
	width: 100%;
	position: relative;
}

#header_picture .item .content {
	position: absolute;
	width: 100%;
	bottom: 33%;
	left: 0;
	z-index: 5000;
}

#header_picture .item .content .overlay-link {
	position: absolute;
	left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

#header_picture .item .content .pad {
	max-width: 1170px;
	padding: 0 2%;
	margin: 0 auto;
}

.hpt_1 {
	font-family: 'Dancing Script', cursive;
	font-size: 60px; line-height: 66px; font-weight: bold;
	color: #fff;
	margin-bottom: 20px;
}
.hpt_2 {
	font-family: 'Montserrat', sans-serif; 
	font-size: 58px; line-height: 68px; font-weight: normal;
	margin-bottom: 20px;
	color: #fff;
}

#header_picture .item .more { margin-top: 50px; }

#header_picture .item .more .button {
	/* button should be on the top of .overlay-link to enable hover action */
	position: relative;
}

div.shadow {
	width: 100%;
	height: 5px;
	background: url('../img/template/bg/shadow.png') center bottom repeat-x; 
}

/* menu */

#main_menu {
	margin-top: 10px;
	width: 100%;
	max-width: 1920px;
	z-index: 10000;
	/* bugfix: margin-bottom after inline-block element */
	line-height: 0;
}

#superfish {
	/*
	center horizontally:
	http://stackoverflow.com/questions/14943907/css-center-ul-list-inside-a-100-width-div
	*/
	display: inline-block;
	margin: 0 auto;
	padding: 0 0;
}

/* homepage panels */

.parallax {
	width: 100%;
	min-height: 400px;
}

.parallax .envelope-pad-top-bottom {
	padding:  100px 3%;
}

/* map */
#map_wrap{width: 100%; position: relative;  }
#map-canvas {
	width: 100%;
	height: 450px;
	font-size: 15px;
	line-height: 19px;
}

/* cards - white floating box with image, title, short text */
.cards .item {
}

.cards .item:hover {
}

.cards .item .image {
	width: 100%;
	max-height: 350px;
	overflow: hidden;
}

.cards .item img {
	width: 100%;
	margin-bottom: 3px;
   transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

/*
.cards .item img:hover {
	opacity: 0.8;
}
*/

.cards .item .text a {
	color: #6A6D6F;
	font-size: 15px;
	line-height: 20px;
	text-decoration: none;
}
.cards .item .text a:hover {
	text-decoration: underline;
}

.cards .item h3 {
	font-weight: normal;
	margin-top: 0px;
	margin-bottom: 10px;
	font-weight: normal;
}

.cards .item h3 a {
	font-size: 21px;
	line-height: 24px;
	color: #616161;
}

.cards .item .buttons {
	margin-top: 10px;
}

.cards .item .buttons button {
}

.cards .item .cont {
	text-align: left;
}

/* Shine effect
Css image hover effects
https://codepen.io/nxworld/pen/ZYNOBZ
*/
.cards .item .image {
	position: relative;
}
.cards .item .image::before {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
.cards .item .image:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .75s;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}


/* services */

.services img {
	margin-bottom: 10px;
	max-height: 200px;
}

.services h3 {
}

.services h3 a {
	font-size: 21px;
	line-height: 24px;
	font-family: 'Montserrat', sans-serif;
	font-weight: normal;
	color: #616161;
	text-decoration: none;
}

.services h3 a:hover {
	text-decoration: underline;
}


/* tiles */
.tiles .item {
	float: left;
	width: 33.33%;
	overflow: hidden;
	position: relative;
}

.tiles .item img {
	width: 100%;
	height: auto;
  -moz-transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  transition: 0.5s all;
}

.tiles .item:hover img {
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.tiles .item .overlay {
  transition: all 0.5s ease 0s;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
} 

.tiles .item:hover .overlay {
   background: rgba(190, 141, 0, 0.4);
}

.tiles .item .content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30%;
  /*
  -moz-transform: translateY(-16%);
  -ms-transform: translateY(-16%);
  -o-transform: translateY(-16%);
  -webkit-transform: translateY(-16%);
  transform: translateY(-16%);
  */
  padding: 0 30px;
  text-align: center;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.tiles .item .content .text {
	/*
	opacity: 0;
	filter: alpha(opacity=0);
	*/
}

.tiles .item .content h3 {
	font-size: 46px;
	line-height: 60px;
	font-family: 'Montserrat', sans-serif;
	font-weight: normal;
	color: #fff;
}

.tiles .item .content .text,
.tiles .item .content .text a {
	color: #fff;
}

.tiles .item:hover .content .text {
}

.tiles .item:hover .content {
	/*
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  */
}

.tiles .item .blocklink {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.testimonials .item h3 {
	font-family: 'Montserrat', sans-serif;
	font-weight: normal;
	margin-top: 8px;
	margin-bottom: 12px;
	text-transform: none;
	font-size: 21px;
	line-height: 24px;
	color: #616161;
}

.testimonials .item h3 a {
	color: #616161;
	text-decoration: none;
}

.testimonials .item .text {
	margin-bottom: 20px;
}

.testimonials .quote {
	margin-bottom: 25px;
}

.testimonials .item .image img{
	 border-radius: 50%;
	 max-height: 100px;
}

/* newsletter_subscribe_quick */

#newsletter_subscribe_quick {
	text-align: center;
	display: inline-block;
	margin-top: 40px;
}

#nsq_input {
	float:left;
	border: none;
	background-color: rgba(255, 255, 255, 0.3);
	width:300px;
	height:46px;  
	line-height:42px;
	margin-right:0px;
	color: #fff;
	font-size: 16px;
	/*
	padding:0 8px;
	*/
}

#nsq_input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	 color: #fff;
}
#nsq_input::-moz-placeholder  { /* Firefox 19+ */
	color: #fff;
	opacity:  1;
}
#nsq_input:-ms-input-placeholder { /* IE 10+ */
	color: #fff;
}
#nsq_input:-moz-placeholder { /* Firefox 18- */
	color: #fff;
  opacity:  1;
}

#nsq_submit {
	float:left;
	border:0;
	margin:0; 
	padding:0 16px;
	height:46px;
	background-color: #fff;
	color: #DAA158;
	cursor:pointer;
	text-transform: none;
}

#nsq_submit:hover {
	background-color: #1B1B1B;
}

/* card - white floating box with image, title, short text */
.subcats-cards .item {
	background-color: white;
	/* outline: 1px solid #CFCFCF; */
	overflow: hidden;
	margin-bottom: 40px;
	text-align: left;
}

.subcats-cards .item .pad {
	padding: 15px 15px;
}

.subcats-cards .item .image {
	width: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  border: 0;
  display:block;
  height:220px;
	margin-bottom: 3px;
 transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
}

.subcats-cards .item .image:hover {
	opacity: 0.8;
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);	
}

.subcats-cards .item .cont a {
	color: #6A6D6F;
	text-decoration: none;
}
.subcats-cards .item .cont a:hover {
	text-decoration: underline;
}

.subcats-cards .item h3 {
	margin-bottom: 5px;
	text-transform: uppercase;
	font-weight: normal;
	height: 38px;
	overflow: hidden;
}

.subcats-cards .item h3 a {
	font-size: 24px;
	line-height: 26px;
	color: #272D33;
}

.subcats-cards .item .cont {
	text-align: left;
	height: 90px;
	overflow: hidden;
}

.subcats-cards .item .cont .text {
	font-size: 15px;
	line-height: 23px;
}

.subcats-cards .item .more {
	margin-top: 20px;
}