/*!
 * Start Bootstrap - Modern Business (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

html,
body {
    height: 100%;
}


/* custom ================================================ */

	body {
		padding-top: 85px; /* 50+30+5 */ 
		/* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
	}
	.navbar { height:85px; }	
	.navbar .container,
		.navbar-header { height:50px; }	

	.topbar { height:5px; }

	.topbar { 
		background: -webkit-gradient(linear, left right, from(#019a43), to(#ad2829) to(#0161a5)) !important;
		background: -webkit-linear-gradient(left, #019a43, #ad2829, #0161a5) !important;
		background: -moz-linear-gradient(left, #019a43, #ad2829, #0161a5) !important;
		background: -o-linear-gradient(left, #019a43, #ad2829, #0161a5) !important;
		background: -ms-linear-gradient(left, #019a43, #ad2829, #0161a5) !important;
		background: linear-gradient(left, #019a43, #ad2829, #0161a5) !important;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff019a43', endColorstr='#ff0161a5') !important;
		-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff019a43', endColorstr='#ff0161a5')" !important;
		height:5px;
	}
	/*.navbar-default {
		background: -webkit-gradient(linear, top bottom, from(#d9e4e9), to(#ffffff)) !important;
		background: -webkit-linear-gradient(top, #d9e4e9, #ffffff) !important;
		background: -moz-linear-gradient(bottom, #d9e4e9, #ffffff 50%) !important;
		background: -o-linear-gradient(top, #d9e4e9, #ffffff) !important;
		background: -ms-linear-gradient(top, #d9e4e9, #ffffff) !important;
		background: linear-gradient(top, #d9e4e9, #ffffff) !important;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9e4e9', endColorstr='#ffffffff') !important;
		-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9e4e9', endColorstr='#ffffffff')" !important;
		color:#ffffff;
		border-radius:0;
	}*/
	#navbar-collapse, .navbar-default { background-color:#f8f8f8; }

	.navbar-brand, 
		.navbar-nav > li > a { line-height:50px }	/* 20+30 */

	.navbar-header .navbar-brand img { height:70px; margin-top:-10px; }
	
	.navbar-header .navbar-toggle,
		.navbar-header .navbar-toggle:hover,
		.navbar-header .navbar-toggle:focus  {
		background-color: transparent;
		border:none;
	}
	.navbar-header .navbar-toggle .icon-bar {
		background-color: #0061a5;
	}
	.navbar-header .navbar-toggle:hover .icon-bar,
		.navbar-header .navbar-toggle:focus .icon-bar {
		background-color: #ad2829;
	}
	
	.navbar-default .navbar-nav > li > a {
	   color: #0061a5; /*Change active text color here*/
	   font-weight:bold;
	}
	.navbar-default .navbar-nav > li > a:hover,
		.navbar-default .navbar-nav > li > a:focus,
		.navbar-default .navbar-nav > li > a:clicked {
	   color: #ad2829; /*Change active text color here*/
	   font-weight:bold;
	   background-color:transparent;
	}
	
	.navbar-default .navbar-nav > li.dropdown:hover > a, 
	.navbar-default .navbar-nav > li.dropdown:hover > a:hover,
	.navbar-default .navbar-nav > li.dropdown:hover > a:focus {
		background-color: transparent; /*rgb(231, 231, 231);*/
	   	color: #ad2829; /*Change active text color here*/
	}
	li.dropdown:hover > .dropdown-menu {
		display: block;
	}






	/* animated drop down ############################################### */
	.open > .dropdown-menu {
	  -webkit-transform: scale(1, 1);
	  transform: scale(1, 1);  
	  opacity:1;
	}
	  
	.dropdown-menu {
	  opacity:.3;
	  -webkit-transform-origin: top;
	  transform-origin: top;
	  -webkit-animation-fill-mode: forwards;  
	  animation-fill-mode: forwards; 
	  -webkit-transform: scale(1, 0);
	  transition: all 0.3s linear;
	  -webkit-transition: all 0.3s linear;
	  
	  background-color:#0161a5;
	}
	.dropdown-menu li a { color:#FFF; font-weight:bold; }
	.dropdown-menu li a:hover { background-color:transparent; color:#ad2829; }
	
	.caret-up {
		width: 0; 
		height: 0; 
		border-left: 4px solid rgba(0, 0, 0, 0);
		border-right: 4px solid rgba(0, 0, 0, 0);
		border-bottom: 4px solid;
		
		display: inline-block;
		margin-left: 2px;
		vertical-align: middle;
	}
	/* ###################################################################### */
	

/* ======================================================= */

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

	/* CUSTOM ================================================= */
	@media (max-width: 767px) {
		body {
			padding-top: 53px; 
		}
		.navbar { height:53px; }	
		.navbar .container,
			.navbar-header { height:50px; }	

		.topbar { height:3px; }

		.navbar-brand, 
			.navbar-nav > li > a { line-height:20px }	

		/*.navbar-header .navbar-brand img { height:70px; margin-top:-10px; }*/
	}

	@media(max-width:1279px) {
		.navbar-header .navbar-brand img { height:70px; margin-top:-10px; }
	}
	
	@media(max-width:1023px) {
		.navbar-header .navbar-brand img { height:70px; margin-top:-10px; }
	}
	
	@media(max-width:991px) {
		.navbar-header .navbar-brand img { height:64px; margin-top:-6px; }
	}

	@media(max-width:767px) {
		.navbar-header .navbar-brand img { height:40px; margin-top:-8px; }
	}

	


	/* ======================================================== */


/* Home Page Carousel */

header.carousel {
    height: 520px;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}


/* custom ================================================ */

	.carousel-caption {
		bottom:25%;
		left: 5% !important;
		text-align: left !important;
		background-color:rgba(0,0,0,0.4) !important;
		max-width: 90% !important;
		right: auto !important;
		padding:25px !important;
	}
	.carousel-caption h2 { font-style:italic; }
	.carousel-caption span { line-height:30px; font-size:1.2em; }

	.carousel-indicators {
		bottom:15%;
		/*left: 10% !important;*/
	}
	.carousel-indicators li {
		display: inline-block;
		width: 12px;
		height: 12px;
		margin: 3px;
		text-indent: 0;
		cursor: pointer;
		border: none;
		/*border-radius: 50%;*/ /* circle */
		border-radius: 0;
		background-color: #ffffcc;
		/*box-shadow: inset 1px 1px 1px 1px rgba(0,0,0,0.5); */   
	}
	.carousel-indicators .active {
		width: 12px;
		height: 12px;
		margin: 3px;
		background-color: #ad2829;
	}	
	
	.carousel-control { display:none; }

	@media(min-width:768px) {
		.carousel-caption {
			max-width: 70% !important;
		}
		.carousel-indicators {
			left: 10% !important;
		}
	}
	
/* ===================================================================================== */


/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

/* FOOTER ############################################################################### */
footer {
	color:#c6d4e1; height:40px; line-height:40px;
	background: -webkit-gradient(linear, top bottom, from(#0161a5), to(#1c3044)) !important;
	background: -webkit-linear-gradient(top, #0161a5, #1c3044) !important;
	background: -moz-linear-gradient(top, #0161a5, #1c3044) !important;
	background: -o-linear-gradient(top, #0161a5, #1c3044) !important;
	background: -ms-linear-gradient(top, #0161a5, #1c3044) !important;
	background: linear-gradient(top, #0161a5, #1c3044) !important;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0161a5', endColorstr='#ff1c3044') !important;
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0161a5', endColorstr='#ff1c3044')" !important;
}
footer li a { color:#FFF; line-height:30px; padding:0; margin:0 }
footer li a:hover { color:#fc0; }
footer li .disabled { color:#999; }
/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}