@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,latin-ext);

body {
	color: #313131;
	font-size: 14px;
	padding: 0;
	margin: 0;
	/* font-family: 'Arial', "Helvetica Neue", Helvetica, Arial, sans-serif; */
	font-family: 'Open Sans', 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; }
.upper_off {text-transform: none;}
.fullwidth { width: 100%; }
.bgwh { background-color: white; }
.text-shadow { text-shadow: 1px 1px 2px rgba(0, 0, 0, 1); }

/* common elements */

a {color: #2E2E2E; text-decoration:underline; }
a:hover {color: #3A8BC7; text-decoration:underline;}

.link_2 {text-decoration: none;}
.link_2:hover {text-decoration: underline;}

.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; }

/* 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: 47%;
	margin-right: 4%;
}

.grid-2-1.last {
	margin-right: 0;
}
.grid-2-row {
	clear: both;
	font-size: 0;
	visibility: hidden;
	border: none;
	margin: 0; padding: 0;
	margin-bottom: 30px;	
}

/* grid 4 = 4 columns */
/* deprecated, use .grid-row */
.grid-4-row {
	clear: both;
	font-size: 0;
	visibility: hidden;
	border: none;
	margin: 0; padding: 0;
	margin-bottom: 10px;
}


/* 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;
}

/* template */

/* Envelope (responsive) */

.envelope_bg {width: 100%; background-color:#fff;}
.envelope_bg.bg1,.bg1 { background-color:#fff;}
.envelope_bg.bg2, .bg2 { background-color: #F5F5F5;  }
.envelope_bg.bg3,.bg3 { background-color: #E9E9E9; }
.envelope_bg.bg4,.bg4 { background-color: #2A2A2A; color: #999999;}
.envelope_bg.bg5,.bg5 { background-color: #3A8ECB; color: #fff;}
.bg4 a {color: #999999; }
.bg4_pattern { background: url(../img/template/bg/bg4_pattern.png) 0px 6px repeat-x; }
.bg5 a {color: #fff; }
.bg_header {
	/* border-top: 8px solid #3A8ECB; */
}

.envelope {
	width: 100%;  
	max-width: 1920px;
	margin: 0 auto 0 auto; 
}
.envelope-pad-top {
	padding:  30px 3% 0 3%;
}
.envelope-pad-top-bottom {
	padding:  30px 3% 30px 3%;
}
.envelope-pad {
	padding:  0 3%;
}
.envelope-pad-header {
	padding:  20px 3% 18px 3%;
}
.envelope-pad-footer {
	padding:  30px 3%;
}
.envelope-pad-tiny {
	padding:  15px 3%;
}

.cont-maxwidth {
	max-width: 1220px;
	margin: 0 auto;
}

.maxwidth-none {
	max-width: none;
}

.envelope-pad-header img.logo {
	max-height: 90px;
}

/* layout */

/* pre-header */
.pre-header {
	padding-top: 7px;
	padding-bottom: 4px;
}

.pre-header, .pre-header a {
	color: #fff;
	font: 300 16px 'Roboto Condensed', sans-serif;
	text-decoration: none;
}
.pre-header, .pre-header a:hover {
	text-decoration: underline;
}

/* header */
div#header_links {
	float: left;
	margin-top: 7px; 
	font-size: 14px;
	line-height: 16px;
	color: #797979;
}

div#header_links a {
	color: #5B5B5B;
	font-weight: bold;
	text-decoration: none;
	padding: 2px 5px;
	display: inline-block;
	transition:all 0.3s ease 0s; 
	font-size: 16px;
	line-height: 18px;
	font-family: 'Roboto Condensed', sans-serif;
}

div#header_links a:hover {
	background-color: #DC4637;
	color: #fff;
}

table.hl_table {
	margin-right: 25px;
}

table.hl_table td {
	vertical-align: middle;
}

table.hl_table img.ico28 {
	margin-right: 10px;
}

#header_top_right {
	margin-top: 5px;
}

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; }

.effect .cycle-prev, .effect .cycle-next {
	width: 22px; height: 37px;
	position: absolute;
	cursor: pointer;
	bottom: 25%;
	z-index: 800;
	background-repeat: no-repeat;
	transition: all 0.5s ease 0s;
}

.effect .cycle-prev:hover, .effect .cycle-next:hover {
	opacity: 0.7;
}

.effect .cycle-prev {
	left: 60px;
	background-image: url('../img/template/cycle/prev.png');
}

.effect .cycle-next {
	left: 90px; 
	background-image: url('../img/template/cycle/next.png');
}

/* header */
/*
#header_wrap{width: 100%; position: relative;  }
#header_picture { width: 100%; max-width: 1920px; margin: 0 auto; background-color: #fff; }
#header_picture img {width: 100%; }
.header_picture_bg { background-position: center top; background-repeat: repeat-x;}

#header_picture_container {width: 100%; position: relative; color: #fff; }
*/

#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 img {
	width: 100%; 
	filter: brightness(0.85) grayscale(0.0);
}
.header_picture_bg { }

#header_picture .item {
	width: 100%;
	position: relative;
}

#header_picture .item .content {
	position: absolute;
	width: 100%;
	bottom: 22%;
	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 {
    width: 640px;
	max-width: 100%;
    padding: 25px;
    box-sizing: border-box;
	margin: 0 auto;
    background-color: rgba(0,0,0,0.68);
}

.hpt_1 {
	font: 400 40px/44px 'Roboto Condensed', sans-serif;
	font-weight: 400;
	color: #fff;
	margin-bottom: 10px;
}
.hpt_2 {
	font: 400 24px/34px 'Roboto Condensed', sans-serif;
	color: #fff; 
	font-weight: 400;
}

#header_picture .item .more { margin-top: 30px; }
#header_picture .item .more .button {
	/* button should be on the top of .overlay-link to enable hover action */
	position: relative;
}

/* titles */


h1, h2, h3, h4, h5, h6 {
	color: #404040;
}

.bg4 h1, .bg4 h2, .bg4 h3, .bg4 h4, .bg4 h5, .bg4 h6 {
	color: #ffffff;
}

h1, .h1 {
  font: 300 41px 'Roboto Condensed', sans-serif;
  margin-bottom: 20px;
  margin-top: 20px;
}
h2, .h2 {
  font: 300 38px 'Roboto Condensed', sans-serif;
  margin-bottom: 20px;
  margin-top: 20px;
}
h3, .h3 {
  font: 300 25px 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 10px;
}
h4, .h4 {
 	font: 400 20px 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
 	margin-bottom: 5px;
 	margin-top: 5px;
}
h5, .h5 {
  font: 400 20px 'Roboto Condensed', sans-serif;
  margin-bottom: 5px;
  margin-top: 5px;
}
h6, .h6 {
  font: 400 20px 'Roboto Condensed', sans-serif;
  color: #3A8BC7;
  margin-bottom: 5px;
  margin-top: 5px;
}

.c1, .c1 a {
	color: #3A8BC7;
}

a[href^="mailto:"] { 
  color: #3A8BC7;
  font-weight: bold;
}

/* map */
#map_wrap{width: 100%; position: relative;  }
#map-canvas {
	width: 100%;
	height: 450px;
}

button, .button {
	border: none;
	background-color: #3A8ECB;
	color: #fff;
	font:700 14px/1.2em 'Roboto', sans-serif;
	text-transform:uppercase;
	padding:11px 24px;
	display: inline-block;
	height:auto;
	text-decoration:none;
	cursor: pointer;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	transition:all 0.3s ease 0s;
}

button:hover, button:focus, .button:hover, .button:focus {
	color: #fff;
	background: #40A293;
	text-decoration:none;
}

/* owl2 gallery */
.envelope-gallery {
	max-width: 1220px;
	margin: 0 auto;
}
.owl-carousel .item {
	/* border: 1px solid lime; */
}
.owl-carousel .item .image {
	margin-bottom: 20px;
	width: 100%;
}

.owl-carousel .item .image a {
  background-repeat: no-repeat;
  background-position: center center;
  display:block;
  height:225px;
  width:290px;
  margin:0 auto;
} 

.owl-carousel .item .title {
	text-align: left;
	margin-bottom: 5px;
	
	font: bold 17px/20px 'Roboto Condensed';
	margin: 0 0 5px 0;
	text-transform: uppercase;
} 

.owl-carousel .item .text {
	font-size: 13px;
	text-align: justify;
}

.owl-carousel .item .more {
	text-align: left;
	margin-top: 7px;
}

.owl-carousel .owl-controls .owl-nav .owl-prev {
	position: absolute;
	left: -5%;
	top: 70px;
	display: block;
	width: 31px;
	height: 31px;
	background: url('../img/template/gallery/prev.png') 0 0 no-repeat;
	transition:all 0.3s ease 0s;
	background-color: transparent;
}

.owl-carousel .owl-controls .owl-nav .owl-prev:hover {
	background-color: #E0EDF5;
}

.owl-carousel .owl-controls .owl-nav .owl-next {
	position: absolute;
	right: -5%;
	top: 70px;
	display: block;
	width: 31px;
	height: 31px;
	background: url('../img/template/gallery/next.png') 0 0 no-repeat;
	transition:all 0.3s ease 0s;
	background-color: transparent;
}

.owl-carousel .owl-controls .owl-nav .owl-next:hover {
	background-color: #E0EDF5;
}


/* quick search */
.search-form {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	padding: 18px 0 0 0;
}
.search-form #search-header {
	position:relative;
	width:100%;
	text-align:right;
}
.search-form #search-header .search-form_it {
	width:200px;
	background: transparent;
	padding-right:40px;
	padding-left: 10px;
	border:none;
	height:50px;
	color:#000;
	border: 1px solid #C5C5C5;
}
.search-form #search-header .search-form_it:focus { box-shadow:inset -1px -1px 0 #e3e3e3; outline: none; }
.search-form #search-header .search-form_is {
	position:absolute;
	right:5px;
	top:0px;
	margin:0;
	padding:0;
	border: none;
	background-color: transparent;
	color: #B5B5B5;
	font-size: 32px;
	line-height: 50px;
	/*
	text-indent:100%;
	white-space:nowrap;
	*/
	overflow:hidden;
	background:url(../img/template/search.png) no-repeat;
	width:39px;
	height:50px;
	box-shadow:none;
	transition:none;
}
.search-form #search-header .search-form_is:hover { 
background-position:0 -50px;
color: #3A8ECB;
}

/* services_box */
.services_box .box {
	float: left;
	width: 24%;
	border-left: 1px solid #e0e0e0;
	background: #ffffff;
	text-align: center;
	overflow: hidden; 
	-webkit-box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.1);
	box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.1);
}

.services_box .box:first-child {
	border-left: none;
}

.services_box .box strong {
	/* font: bold 24px/83px 'Roboto Condensed'; */
	font-family: 'Roboto Condensed';
	font-weight: bold;
	font-size: 24px;
	/* big line-height causes problems with equal heights 
	line-height: 83px; 
	*/
	line-height: 26px;
	padding: 20px 0;
	text-transform: uppercase;
	color: #ffffff;
	display: block;
	margin-bottom: 20px;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.32);
	cursor: pointer; /* the title is javascript link */
}
.services_box .box.box1 {
	border-radius: 6px 0 0 6px;
}
.services_box .box.box1 strong {
	background: url(../img/template/bg/pattern1.png) repeat-x;
}
.services_box .box.box2 strong {
	background: url(../img/template/bg/pattern2.png) repeat-x;
}
.services_box .box.box3 strong {
	background: url(../img/template/bg/pattern3.png) repeat-x;
}
.services_box .box.box4 {
	border-radius: 0 6px 6px 0;
2}
.services_box .box.box4 strong {
	background: url(../img/template/bg/pattern4.png) repeat-x;
}
.services_box figure {
	height: 71px;
	vertical-align: middle;
	margin-bottom: 14px;
}
.services_box figure img {
	max-height: 71px;
}
.services_box .caption {
	padding: 0 40px 25px 40px;
	color: #999;
	font-size: 14px;
	line-height: 22px;
}

.services_box .more {
	margin-top: 21px;
} 

/* btn
========================================================*/
.btn-default.btn1 {
	text-decoration: none;
	display: inline-block;
	padding: 0;
	font: 13px 'Roboto Condensed';
	margin: 0;
	border-radius: 0;
	color: #dc4637;
	letter-spacing: 4px;
	background: none;
	text-transform: uppercase;
	float: none;
	-webkit-transition: all 0.25s;
	-o-transition: all 0.25s;
	transition: all 0.25s;
}
.btn-default.btn1:after {
	font-family: 'FontAwesome';
	font-size: 17px;
	content: '\f0a9';
	float: right;
	margin-left: 4px;
} 
.btn-default.btn1:hover {
	color: #424242;
	background: none;
	text-decoration: none;
}
.btn-default.btn2 {
	text-decoration: none;
	display: inline-block;
	padding: 0;
	font: 13px 'Roboto Condensed';
	margin: 0;
	border-radius: 0;
	color: #3A8BC7;
	letter-spacing: 4px;
	background: none;
	text-transform: uppercase;
	float: none;
	-webkit-transition: all 0.25s;
	-o-transition: all 0.25s;
	transition: all 0.25s;
}
.btn-default.btn2:after {
	font-family: 'FontAwesome';
	font-size: 17px;
	content: '\f0a9';
	float: right;
	margin-left: 4px;
}
.btn-default.btn2:hover {
	color: #424242;
	background: none;
	text-decoration: none;
} 

.footer, .footer a {
	color: #F7AC39;
	font-size: 13px;
}

#toTop {
	display: none;
	text-decoration: none;
	position: fixed;
	bottom: 80px;
	right: 30px;
	overflow: hidden;
	border: none;
	z-index: 20;
	color: #333;
	font-size: 37px;
}
#toTop:hover {
	outline: none;
	color: #3A8BC7;
}

.follow_icon {
	display: inline;
	vertical-align: middle;
	/* padding: 26px 0 10px 0; */
	margin: 0;
	margin-left: 20px;
	list-style: none;
}
.follow_icon li {
	display: inline-block;
	margin-left: 4px;
}
.follow_icon li:first-child {
	margin: 0;
}
.follow_icon li a {
	border-radius: 100%;
	/* background-color: #4862A3; */
	width: 24px;
	height: 24px;
	text-align: center;
	line-height: 24px;
	font-size: 19px;
	color: #fff;
	font-family: 'FontAwesome';
	text-decoration: none;
	-webkit-transition: all 0.25s;
	-o-transition: all 0.25s;
	transition: all 0.25s;
}
.follow_icon li a:hover {
	background-color: #4862A3;
	color: #fff;
	text-decoration: none;
} 

div.yt_video {
	margin: 0 auto; text-align: center;
}

/* template "articles_preview" */

.articles_preview .text {
	font-size: 13px;
	line-height: 19px;
	margin: 10px 0;
}



/* cards - white floating box with image, title, short text */
/* cards - white floating box with image, title, short text */
.cards .item {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    /* shadow */
	margin: 15px 5px;
    max-width: calc(100% - 10px) !important;
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.12);
}

.cards .item:hover {
}

.cards .item .image {
	width: 100%;
    height: 200px;
    overflow: hidden;
    text-align: center;
}

.cards .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0; 
   transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.cards .item .icon {
    display: inline-block;
    margin-top: 50px;
	text-align: center;
}

/*
.cards .item img:hover {
	opacity: 0.8;
}
*/

.cards .item .text {
    font: 300 14px 'Roboto Condensed', sans-serif;
	line-height: 22px;
    font-weight: 400;
}

.cards .item h3 {
	margin-top: 0px;
	font-size: 18px;
    line-height: 24px;
	margin-bottom: 6px;
	font-weight: normal;
    text-transform: none;
}

.cards .item h3 a {
	font-size: 18px;
    line-height: 24px;
    text-decoration: none;
}
.cards .item h3 a:hover {
	text-decoration: underline;
}

.cards .item .buttons {
	margin-top: 10px;
}

.cards .item .buttons button {
}

.cards .item .pad {
    padding: 15px 6px 20px 6px;
}


.articles_grid4 .text a {
    margin-top: 15px;
	border: none;
	background-color: #3A8ECB;
	color: #fff;
	font:700 14px/1.2em 'Roboto', sans-serif;
	padding:11px 24px;
	display: inline-block;
	height:auto;
	text-decoration:none;
	cursor: pointer;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	transition:all 0.3s ease 0s;
    border-radius: 30px;
}

.articles_grid4 .text a:hover {
	color: #fff;
	background: #92699D;
	text-decoration:none;
}

.message_important {
    /* background-color: hsl(5, 70%, 54%); */
    background-color: 	hsl(286, 20%, 50%);
    color: #fff;
	font-size: 16px;
    font-family: 'Roboto Condensed', sans-serif;
	line-height: 22px;
	/* text-align: center; */
 /* https://stackoverflow.com/questions/20505008/css-property-to-pad-text-inside-of-div
    */
    padding: 10px 15px;
    -moz-box-sizing: border-box; 
    box-sizing: border-box;
}

.message_important a,.message_important a:hover {
    color: #fff;
}
