/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
	background: #fff;
	color: #444;
	font-family: "Open Sans", sans-serif;
}

a {
	color: #be2525;
	transition: 0.5s;
}

a:hover,
a:active,
a:focus {
	color: #8b0b0b;
	outline: none;
	text-decoration: none;
}

p {
	padding: 0;
	margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	margin: 0 0 20px 0;
	padding: 0;
}

.section-header {
	font-size: 40px;
	color: #232323;
	/* text-transform: uppercase; */
	text-align: center;
	font-weight: 400;
	position: relative;
	padding-bottom: 15px;
}

.section-header::before {
	content: '';
	position: absolute;
	display: block;
	width: 300px;
	height: 1px;
	background: #aaa;
	bottom: 1px;
	left: calc(50% - 150px);
}

.section-header::after {
	content: '';
	position: absolute;
	display: block;
	width: 80px;
	height: 3px;
	background: #be2525;
	bottom: 0;
	left: calc(50% - 40px);
}

.page-title {
	font-size: 36px;
	color: #232323;
	text-transform: uppercase;
	text-align: center;
	font-weight: 400;
	position: relative;
	padding-bottom: 5px;
}

.page-title::after {
	content: '';
	position: absolute;
	display: block;
	width: 80px;
	height: 3px;
	background: #be2525;
	bottom: -2px;
	left: calc(50% - 40px);
}

/* Back to top button */

.back-to-top {
	position: fixed;
	display: none;
	background: #1bb1dc;
	color: #fff;
	width: 44px;
	height: 44px;
	text-align: center;
	line-height: 1;
	font-size: 16px;
	border-radius: 50%;
	right: 15px;
	bottom: 15px;
	transition: background 0.5s;
	z-index: 11;
}

.breadcrumb {
	font-size: 14px;
}

.breadcrumb-item+.breadcrumb-item::before {
	content: "›";
	vertical-align: top;
	font-size: 35px;
	line-height: 15px;
}

.back-to-top i {
	padding-top: 12px;
	color: #fff;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/

#topbar {
	padding: 0 0 10px 0;
	font-size: 14px;
	transition: all 0.5s;
}

#topbar .social-links {
	text-align: right;
}

#topbar .social-links a {
	color: #535074;
	padding: 4px 12px;
	display: inline-block;
	line-height: 1px;
}

#topbar .social-links a:hover {
	color: #1bb1dc;
}

#topbar .social-links a:first-child {
	border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
	height: 110px;
	transition: all 0.5s;
	z-index: 997;
	transition: all 0.5s;
	padding: 20px 0;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	transition: all 0.5s;
	z-index: 997;
}

#header.header-scrolled,
#header.header-pages {
	height: 70px;
	padding: 15px 0;
	background-color: #fff;
	box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
}

#header.header-scrolled #topbar,
#header.header-pages #topbar {
	display: none;
}

#header .logo h1 {
	font-size: 36px;
	margin: 0;
	padding: 0;
	line-height: 1;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
	color: #413e66;
	text-decoration: none;
}

#header .logo img {
	padding: 0;
	/* margin: 7px 0;
	max-height: 26px; */
}

.main-pages {
	margin-top: 60px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */

/* #header.header-scrolled .main-nav {
	background-color: transparent;
} */

.main-nav {
	background-color: rgba(255, 255, 255, 0.45);
}

.main-nav,
.main-nav * {
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav>ul>li {
	position: relative;
	white-space: nowrap;
	float: left;
}

.main-nav a {
	display: block;
	position: relative;
	color: #333;
	padding: 10px 15px;
	transition: 0.3s;
	font-size: 14px;
	font-family: "Open Sans", sans-serif;
	text-transform: uppercase;
	font-weight: 600;
}

.main-nav a:hover,
.main-nav .active>a,
.main-nav li:hover>a {
	color: #be2525;
	text-decoration: none;
}

.main-nav .drop-down ul {
	display: block;
	position: absolute;
	left: 0;
	top: calc(100% - 30px);
	z-index: 99;
	opacity: 0;
	visibility: hidden;
	padding: 10px 0;
	background: #fff;
	box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
	transition: ease all 0.3s;
}

.main-nav .drop-down:hover>ul {
	opacity: 1;
	top: 100%;
	visibility: visible;
}

.main-nav .drop-down li {
	min-width: 180px;
	position: relative;
}

.main-nav .drop-down ul a {
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	color: #065e77;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active>a,
.main-nav .drop-down ul li:hover>a {
	color: #1bb1dc;
}

.main-nav .drop-down>a:after {
	content: "\f107";
	font-family: FontAwesome;
	padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
	top: 0;
	left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover>ul {
	opacity: 1;
	top: 0;
	left: 100%;
}

.main-nav .drop-down .drop-down>a {
	padding-right: 35px;
}

.main-nav .drop-down .drop-down>a:after {
	content: "\f105";
	position: absolute;
	right: 15px;
}

/* Mobile Navigation */

.mobile-nav {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 9999;
	overflow-y: auto;
	left: -260px;
	width: 260px;
	padding-top: 18px;
	background: rgba(58, 58, 58, 0.8);
	transition: 0.4s;
}

.mobile-nav * {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav a {
	display: block;
	position: relative;
	color: #fff;
	padding: 10px 20px;
	font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
	color: #be2525;
	text-decoration: none;
}

.mobile-nav .drop-down>a:after {
	content: "\f078";
	font-family: FontAwesome;
	padding-left: 10px;
	position: absolute;
	right: 15px;
}

.mobile-nav .active.drop-down>a:after {
	content: "\f077";
}

.mobile-nav .drop-down>a {
	padding-right: 35px;
}

.mobile-nav .drop-down ul {
	display: none;
	overflow: hidden;
}

.mobile-nav .drop-down li {
	padding-left: 20px;
}

.mobile-nav-toggle {
	position: fixed;
	right: 0;
	top: 0;
	z-index: 9998;
	border: 0;
	background: none;
	font-size: 24px;
	transition: all 0.4s;
	outline: none !important;
	line-height: 1;
	cursor: pointer;
	text-align: right;
}

.mobile-nav-toggle i {
	margin: 18px 18px 0 0;
	color: #be2525;
}

.mobile-nav-overly {
	width: 100%;
	height: 100%;
	z-index: 9997;
	top: 0;
	left: 0;
	position: fixed;
	background: rgba(58, 58, 58, 0.8);
	overflow: hidden;
	display: none;
}

.mobile-nav-active {
	overflow: hidden;
}

.mobile-nav-active .mobile-nav {
	left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
	color: #fff;
}

/*--------------------------------------------------------------
# SLIDE SHOW
--------------------------------------------------------------*/

.slideshow h1,
.page-header h1 {
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.3),
	1px 1px 1px rgba(0, 0, 0, 0.3),
	0 0 10px #000;
	font-size: 3.8em;
	letter-spacing: -5px;
	font-weight: bolder;
	line-height: 50px;
	color:#be2525;
}
.slideshow h5,
.page-header h5 {
	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.3),
	1px 1px 1px rgba(0, 0, 0, 0.3),
	0 0 10px #000;
	/* letter-spacing: 10px; */
	font-size: 2.5em;
	line-height: 40px;
	color:#efefef;
	font-weight: 600;
}

/*--------------------------------------------------------------
# HOVER SERVICES
--------------------------------------------------------------*/

.hover-services figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 0;
	/* margin: 10px 1%; */
	/* min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 48%; */
	background: #3085a3;
	text-align: center;
	cursor: pointer;
	/* border: #efefef 1px solid; */
}

.hover-services figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.hover-services figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.hover-services figure figcaption::before,
.hover-services figure figcaption::after {
	pointer-events: none;
}

.hover-services figure figcaption,
.hover-services figure figcaption>a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.hover-services figure figcaption>a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.hover-services figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.hover-services figure h2 span {
	font-weight: 500;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 8px 25px;
}

.hover-services figure h2,
.hover-services figure p {
	margin: 0;
}

.hover-services figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/*---------------*/
/***** Milo *****/
/*---------------*/

figure.effect-milo {
	background: #2e5d5a;
}

figure.effect-milo img {
	max-width: none;
	width: -webkit-calc(50% + 60px);
	width: calc(100% + 60px);
	opacity: 1;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-30px, 0, 0) scale(1.12);
	transform: translate3d(-30px, 0, 0) scale(1.12);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-milo:hover img {
	opacity: 0.5;
	-webkit-transform: translate3d(0, 0, 0) scale(1);
	transform: translate3d(0, 0, 0) scale(1);
}

figure.effect-milo h2 {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 1em 1.2em;
}

figure.effect-milo p {
	padding: 0 10px 0 0;
	width: 50%;
	border-right: 1px solid #fff;
	text-align: right;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px, 0, 0);
	transform: translate3d(-40px, 0, 0);
}

figure.effect-milo:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

/*--------------------------------------------------------------
# ONLINE SERVICE
--------------------------------------------------------------*/

.online-service {
	/* background-color: #ecf5ff; */
	position: absolute;
	bottom: 0;
	width: 100%;
}

.online-service .card {
	background-color: rgba(127, 137, 161, 0.5);
	color: #fff;
}

.online-service .card:hover {
	background-color: rgba(207, 207, 207, 0.5);
}

.online-service .card:hover h3{
	color:#be2525;
}

.online-service.mobile .card:hover h3,
aside .card:hover h3 {
	color: #be2525;
}

.online-service.mobile .card:hover,
aside .card:hover {
	background-color: rgba(127, 137, 161, 0.1);
}

.online-service.mobile {
	background-color: #ecf5ff;
	position: inherit;
}

.online-service.mobile .card {
	background-color: #fff;

}

.online-service .card .icon,
aside .card .icon,
.emergency .icon{
	margin: 0 auto 25px auto;
	padding-top: 12px;
	display: inline-block;
	text-align: center;
	border-radius: 50%;
	width: 60px;
	height: 60px;
}

.online-service .card .icon i,
aside .card .icon i,
.emergency .icon i {
	font-size: 36px;
	line-height: 1;
}

.online-service h3,
aside .card h3,
aside h4 {
	font-size: 22px;
	font-weight: 400;
	color: #fff;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 12px;
}

.online-service.mobile h3 {
	color:#232323
}

.online-service h3::after,
aside h3::after,
aside h4::after {
	content: '';
	position: absolute;
	display: block;
	width: 80px;
	height: 2px;
	background: #be2525;
	bottom: 0;
	left: calc(50% - 40px);
}

/*--------------------------------------------------------------
# ASIDE
--------------------------------------------------------------*/

aside h4 {

	color: #032741;
	/* font-weight: 400; */
	/* border-top-left-radius: 5px;
	border-bottom-left-radius: 5px; */
	/* margin-top: 0; */
	/* font-size: 18px; */
}

aside ul {
	list-style: none;
	padding: 0;
	margin-top: 15px;
}

aside ul li {
	border-bottom: dashed 1px #ddd;
}

aside ul li:last-child {
	border-bottom: none;
}

aside ul li a {
	display: block;
	padding: 8px;
	/* margin: 5px 0; */
}

aside ul li small {
	font-size: 12px;
	color: #777;
	padding: 0 3px;
	text-align: right;
}

aside .navbar-stacked li a:hover,
aside>ul>li>a:hover {
	background: #efefef;
	/* margin-left: 10px; */
	opacity: 1;
	border-left: 2px solid #be2525;
}

aside .card h3 {
	color: #232323
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
	background: #242424;
	padding: 0 0 30px 0;
	color: #eee;
	font-size: 14px;
}

#footer .footer-top {
	background: #2f2f2f;
	padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
	margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
	font-size: 34px;
	margin: 0 0 20px 0;
	padding: 2px 0 2px 10px;
	line-height: 1;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	letter-spacing: 3px;
	border-left: 4px solid #be2525;
}

#footer .footer-top .footer-info p {
	font-size: 14px;
	line-height: 24px;
	margin-bottom: 0;
	font-family: "Montserrat", sans-serif;
	color: #eee;
}

#footer .footer-top .social-links a {
	font-size: 18px;
	display: inline-block;
	background: #333;
	color: #eee;
	line-height: 1;
	padding: 8px 0;
	margin-right: 4px;
	border-radius: 50%;
	text-align: center;
	width: 36px;
	height: 36px;
	transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
	background: #be2525;
	color: #fff;
}

#footer .footer-top h4 {
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 12px;
}

#footer .footer-top h4::before,
#footer .footer-top h4::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
}

#footer .footer-top h4::before {
	right: 0;
	background: #555;
}

#footer .footer-top h4::after {
	background: #be2525;
	width: 60px;
}

#footer .footer-top .footer-links {
	margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#footer .footer-top .footer-links ul i {
	padding-right: 8px;
	color: #ddd;
}

#footer .footer-top .footer-links ul li {
	border-bottom: 1px solid #333;
	padding: 10px 0;
}

#footer .footer-top .footer-links ul li:first-child {
	padding-top: 0;
}

#footer .footer-top .footer-links ul a {
	color: #eee;
}

#footer .footer-top .footer-links ul a:hover {
	color: #be2525;
}

#footer .footer-top .footer-contact {
	margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
	line-height: 26px;
}

#footer .footer-top .footer-newsletter {
	margin-bottom: 30px;
}

#footer .footer-top .footer-newsletter input[type="email"] {
	border: 0;
	padding: 6px 8px;
	width: 65%;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
	background: #be2525;
	border: 0;
	width: 35%;
	padding: 6px 0;
	text-align: center;
	color: #fff;
	transition: 0.3s;
	cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
	background: #13a456;
}

#footer .copyright {
	text-align: center;
	padding-top: 30px;
}

#footer .credits {
	text-align: center;
	font-size: 13px;
	color: #ddd;
}
