/*!
 * Coronado Bay Capital  
 */

/*!
 * Start Bootstrap - Full Slider HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Media Sizes
 *
 * sm: 768,
 * md: 992,
 * lg: 1200
 */


html,
body {
    height: 100%;
}

body
{
	color:white;
	font-family:'Open Sans', sans-serif;
	font-size:16px;
	line-height:1.5;
}

h1, h2, h3, .h1, .h2, .h3 {
	font-family:'Oxygen', sans-serif;
	padding-bottom: 10px;
}
h2, .h2 {
	font-size: 25px;
}
h2+*, h3+*, h4+* {
	clear:both
}
h3,h4,h5,h6, .h3,.h4, .h5, .h6 {
	font-family: inherit;
	padding: 0;
    margin-bottom: 0;
}
h3, .h3 {
    font-size: 20px;
    line-height: 2;
    color: #043F71;
    font-weight: bolder;
    font-stretch: expanded;
}
h4, .h4 {
	font-size: 18px;
    line-height: 1.5;
    color: #043F71;
    font-weight: bolder;
    font-stretch: expanded;
    margin: 0;
}

.jumbotron {
	background-color: inherit;
}

.flip-it {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: "FlipH";
    filter: FlipH;
}

.full-width 
{
	display:block;
	width:100%;
}

.foo-title
{
	display:block;
	text-align: left;
	float:left;
	border-bottom:1px solid rgba(0,0,0,0.3);
	padding-bottom:5px;
}
.foo-title:first-child
{
	margin-top:0
}

h1 small, h2 small, 
.h2 small, .h2 .small,
.small {
	font-size: 80%;
	color: #043F71;
	font-weight: lighter;
	font-stretch: expanded;
	padding: 0 10px;
	display: inline-block;
}
.small-75 {
	font-size: 75%;
}

a
{
	outline:none !important;
	text-decoration:none;
	color:#043F71;
}

a:hover, a:focus {
	color:#043F71;
    text-decoration: underline;
}

button a,
button a:hover,
button a:focus {
	color: inherit;
	text-decoration: none;
}

img
{
	vertical-align:top
}

::-moz-selection
{
	background:#e7e7e7;
	color:inherit;
	text-shadow:none
}

::selection
{
	background:#e7e7e7;
	color:inherit;
	text-shadow:none
}

dt {
	font-size: 120%;
	line-height: 2;
	color: #043F71;
	font-weight: bolder;
	font-stretch: expanded;
}
dl {
	text-align:left;
	width:100%;
}

.layout
{
	position:fixed;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background:transparent;
	overflow: hidden;
}


/* NAVBAR */
.container-logo {
	display: block;
	height: 75px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0px;
	padding:0px;
	cursor: pointer; 
	cursor: hand;
}
.container-logo img {
	height:100%;
}
.navbar-default .navbar-toggle:focus {
	background-color: transparent;
}
.navbar-default .navbar-nav > li > div {
	font-family:'Oxygen', sans-serif;
	line-height: 10px;
	color: #000;
	cursor: pointer; 
	cursor: hand;
	position: relative;
	display: block;
	padding: 10px 10px;
    white-space: nowrap;
    text-align: center;
}
.navbar-default .navbar-nav > li > div:hover,
.navbar-default .navbar-nav > li > div:focus {
	color: #333;
	background-color: #e7e7e7;
}
.navbar-default .navbar-nav > li.active > div {
	background: #B1D0E5;
}
nav div[data-target]:focus,
nav div[data-target]:hover, 
nav .active>div[data-target]:focus,
nav .active>div[data-target]:hover, 
nav .active>div[data-target]  {
    text-decoration: none;
    cursor: pointer;
}

/* RIDICULOUS styling rules so that the navbar doesn't conflict with logo */
@media (min-width: 768px) {
	.navbar {
		min-height: 120px;
	}
	/* override navbar-right so that navbar sticks to bottom*/
	.navbar-default .navbar-right {
		position: absolute;
		float: none !important;
		right: 0;
		bottom: 0;
	    margin: 0;
	    padding: 0;
/*		-ms-box-orient: horizontal;
		display: -webkit-box;
		display: -moz-box;
		display: -moz-flex;*/
	    font-size: 14px;
	    width: 100%;
	    display: -ms-flexbox;
	    display: -webkit-flex;
	    display: flex;
	    -webkit-flex-direction: row;
	    -ms-flex-direction: row;
	    flex-direction: row;
	    -webkit-flex-wrap: nowrap;
	    -ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	    -webkit-justify-content: space-around;
	    -ms-flex-pack: distribute;
	    justify-content: space-around;
	    -webkit-align-content: space-between;
	    -ms-flex-line-pack: justify;
	    align-content: space-between;
	    -webkit-align-items: flex-start;
	    -ms-flex-align: start;
	    align-items: flex-start;
	}
	.navbar-default .navbar-right > li {
		flex-grow: 1;
	}
	.navbar-default .navbar-nav > li.active > div {
		border-top: 1px solid #B1D0E5;  
		background-color: inherit;
	}
}
@media (min-width: 860px) {
	.navbar-default .navbar-right {
	    font-size: 16px;
	}
}
@media (min-width: 1120px) {
	.container-logo  {
		height:auto;
	}
	.navbar-default .navbar-right {
	    -webkit-justify-content: flex-end;
	    -ms-flex-pack: end;
	    justify-content: flex-end;
	}
	.navbar-default .navbar-right > li {
		flex-grow: 0;
	}
}
@media (min-width: 1160px) {
	.navbar-default .navbar-nav > li > div {
		font-size: 17px;
	}
}
@media (min-width: 1260px) {
	.navbar-default .navbar-nav > li > div {
		padding: 10px 15px;
		font-size: 18px;
	}
}


/* CAROUSEL */
.carousel-inner {
    height: 100%;
}
.carousel, .item, .active {
    height: 100%;
}
.carousel-control {
	opacity: .4;
	width: 10%;
}
.carousel-control.left, .carousel-control.right {
  background-image: none;
  background-repeat: none;
  filter: none;
}
.carousel-control.left:hover, .carousel-control.right:hover {
  background-image: none;
  background-repeat: none;
  filter: none;
}
@media (min-width: 768px) {
	.carousel-control {
	  width: 5%;
	}
	.carousel-control.left:hover {
	  opacity: 1;
	}
	.carousel-control.right:hover {
	  opacity: 1;
	}

	.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
	    margin-right: -5px;
	}
	.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev {
	    margin-left: -5px;
	}
}
.carousel-control .glyphicon-chevron-left {
  left: 20%;
}
.carousel-control .glyphicon-chevron-right {
  right: 20%;
}


#flex-item {
  margin: auto;
  
}

/* CONTENT PANE */
.carousel-caption {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;      /* NEW, Spec - Opera 12.1, Firefox 20+ */
	-webkit-box-flex-direction: row;
	-moz-box-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;
	top: 105px;
	bottom: 10px;
	left: 0;
	right: 0;
	max-width: 100%;
	margin: 1% 5%;
	padding: 0;
	overflow: hidden;
}

.content-pane {
	-webkit-border-radius:10px !important;
	-moz-border-radius:10px !important;
	-ms-border-radius:10px !important;
	-o-border-radius:10px !important;
	border-radius:10px !important; 
	behavior: url("htc/PIE.htc");
	background-color: #f8f8f8;
    border: 1px solid #e7e7e7;
	position: relative;
	height: auto;
	max-height: 100%;
	padding: 20px 15px 15px;
    margin: auto;
	overflow-y: auto;
	text-align:left;
	color: black;
	text-shadow: none;
}

.fill {
    width: 101%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    margin-left: -2px;
}

.attribution {
	position: absolute;
	font-size: 8px;
}

.content-pane .h2
{
	white-space:normal
}


.panel {
    background-color: transparent; 
}
.panel-default {
    border-color: transparent; 
}
.panel-default>.panel-heading {
    color: inherit;
    background-color: transparent;
    border-color: transparent;
}
.panel-default>.panel-heading+.panel-collapse>.panel-body,
.panel-group .panel-heading+.panel-collapse>.panel-body, .panel-group .panel-heading+.panel-collapse>.list-group {
    border-top: 1px solid rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(0,0,0,0.3);

}


.left-border {
	border-left: 1px solid rgba(0,0,0,0.3);
}
.top-border {
	border-top: 1px solid rgba(0,0,0,0.3);
}

.padding-left-15 {
	padding-left: 15px;
}

.margin-top-10 {
	margin-top: 10px;
}
.margin-top-25 {
	margin-top: 25px;
}

dl.dl-highlights {
	padding-left: 30px;
}
dl.dl-highlights dt {
	margin-left: -20px;
}
dl.dl-highlights-disc dd {
	display: list-item;
	list-style-type: disc;
	/*list-style-image: url('../images/disc_opacity30.png');*/
}

.white-space-nowrap {
	white-space: nowrap;
}

.bar.bar-horizontal {
	padding-left: 30px;
	width: 50%;
	border-bottom: 1px solid rgba(0,0,0,0.3);  
	line-height: .5px;
	margin-bottom: 10px;
}

.blue {
    color: #043F71;
}
.blue-list {
    font-size: 16px;
    font-weight: bolder;
    color: #043F71;
}
div[data-show],
div[data-target]  {
    cursor: pointer;
}
div[data-jump]:focus, div[data-jump]:hover, 
.active>div[data-jump]:focus, .active>div[data-jump]:hover, .active>div[data-jump],
div[data-target]:focus, div[data-target]:hover, 
.active>div[data-target]:focus, .active>div[data-target]:hover, .active>div[data-target]  {
    text-decoration: underline;
    cursor: pointer;
}

#home .background {
	background-position: bottom;
}

#home .carousel-caption {
	margin-left: 0;
}
#home .content-pane {
	-webkit-border-radius:0 150px 150px 0 !important;
	-moz-border-radius:0 150px 150px 0 !important;
	-ms-border-radius:0 150px 150px 0 !important;
	-o-border-radius:0 150px 150px 0 !important;
	border-radius:0 150px 150px 0 !important;
	border: none;
	behavior: url("htc/PIE.htc");
	left: 0;
	margin: auto 0;
	padding: 10px 100px 20px 15px;
	overflow: hidden !important;
}
#home .jumbotron {
	padding: 0;
	margin: auto 0;
	color: #1e335b;
}
#home .jumbotron h1 {
	font-size: 34px;
}


/* jumbotron button styling */
@media (min-width: 481px) {
	#home .jumbotron .learn-more-button-wrap {
		text-align: center;
	}
}

/* tablet */
@media (min-width: 481px) and (min-height: 481px) {	
	.carousel-caption {
		top: 125px;
	}

	#home .jumbotron h1 {
		font-size: 36px;
	}
}

/* sm */
@media (min-width: 768px) {	
	.white-space-nowrap-sm {
		white-space: nowrap;
	}

	.margin-top-10-sm {
		margin-top: 10px;
	}
	.margin-top-25-sm {
		margin-top: 25px;
	}

	.left-border-sm {
		border-left: 1px solid rgba(0,0,0,0.3);
	}

	.carousel-caption {
		top: 130px;
		bottom: 10px;
	}

	.content-pane {
		padding-right:20px;
		padding-left:20px;
	}

	#home .content-pane {
		max-height: 300px;
	}

	#home .jumbotron h1 {
		font-size: 53px;
	}
	
	#home .jumbotron p {
		font-size: 23px;
		margin-bottom: 0px;
	}
}

/* md */
@media (min-width: 992px) {
	.content-pane {
		overflow-y: none;
	}

	.margin-top-10-md {
		margin-top: 10px;
	}
	.margin-top-25-md {
		margin-top: 25px;
	}

	.left-border-md {
		border-left: 1px solid rgba(0,0,0,0.3);
	}

	.blue-list-md {
		font-size: 16px;
		font-weight: bolder;
		color: #043F71;
	}

	dl.stretch-md dd {
		font-size: 120%;
		line-height: 2.2;
		font-weight: bolder;
		font-stretch: expanded;
	}
}

/* lg */
@media (min-width: 1200px) {
	.margin-top-10-lg {
		margin-top: 10px;
	}
	.margin-top-25-lg {
		margin-top: 25px;
	}
	
	.margin-bottom-0-lg {
		margin-bottom: 0;
	}

	.left-border-lg {
		border-left: 1px solid rgba(0,0,0,0.3);
	}
}

/* lg++ */
@media (min-width: 1300px) {
	#home .jumbotron h1 {
		font-size: 63px;
	}
}


/* SCROLLBAR */
.content-pane {
	scrollbar-face-color: #f8f8f8;
	scrollbar-shadow-color: #043F71;
	scrollbar-highlight-color:#f8f8f8;
	scrollbar-3dlight-color: #f8f8f8;
	scrollbar-darkshadow-color: #f8f8f8;
	scrollbar-track-color: #f8f8f8;
	scrollbar-arrow-color: #B1D0E5;
	-ms-scrollbar-face-color: #f8f8f8;
	-ms-scrollbar-shadow-color: #043F71;
	-ms-scrollbar-highlight-color:#f8f8f8;
	-ms-scrollbar-3dlight-color: #f8f8f8;
	-ms-scrollbar-darkshadow-color: #f8f8f8;
	-ms-scrollbar-track-color: #f8f8f8;
	-ms-scrollbar-arrow-color: #B1D0E5;
}

::-webkit-scrollbar {
	width:5px;
	height:5px;
}
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
	display:block;
	height:0;
	background-color:transparent;
}
::-webkit-scrollbar-track {
	background-color: #f8f8f8;
	background-color: transparent;
}
::-webkit-scrollbar-track-piece { 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	-ms-border-radius:5px;
	-o-border-radius:5px;
	border-radius: 5px;
}
::-webkit-scrollbar-thumb {
	background-color: #B1D0E5; 
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
	-ms-border-radius:5px;
	-o-border-radius:5px;
	border-radius: 5px;
}


/* Video handling */
.video {
	margin-top: 75px;
}


@media screen and (max-aspect-ratio: 1105/747) {
	.video {
		height: 100% !important;
	}
}

@media screen and (min-aspect-ratio: 1105/747) {
	.video {
		width: 100% !important;
	}
}

img.background-fallback {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
	
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
	
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

/* BOOTSTRAP GLYPHICONS LAZY */
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.glyphicon-chevron-left:before {
  content: "\e079";
}
.glyphicon-chevron-right:before {
  content: "\e080";
}
.glyphicon-menu-left:before {
  content: "\e257";
}
.glyphicon-menu-right:before {
  content: "\e258";
}

/* mobile targeted styles - hide video on mobile */
/* Thanks! https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ */
/* ----------- iPhone 4 and 4S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
  	video.video {
  		display: none;
  	}
  }

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
  	video.video {
  		display: none;
  	}
}

/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
  	video.video {
  		display: none;
  	}
}

/* ----------- iPhone 6+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
  	video.video {
  		display: none;
  	}
}

/* ----------- iPad mini ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
  	video.video {
  		display: none;
  	}
}

/* ----------- iPad 1 and 2 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
  	video.video {
  		display: none;
  	}
}

/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  	video.video {
  		display: none;
  	}
}


/* BROWSER TARGETED STYLES */
/* IE10+ */
/* THANKS!! 
	https://philipnewcomer.net/2014/04/target-internet-explorer-10-11-css/ 
	https://gist.github.com/ricardozea/5549389 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.content-pane {
		max-height: 100%;
		height: auto;
		display: table;
	}

	.scrollable-xs.content-pane {
		display: block;
	}

	#home .content-pane {
		position: relative;
		top: 50%;
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		-o-transform: translateY(-50%);
		transform: translateY(-50%);
	}
}

/* IE10+ sm */
@media all and (min-width: 768px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {	
	.scrollable-xs.content-pane,
	.content-pane {
		max-height: 100%;
		height: auto;
		display: table;
	}

	.scrollable-sm.content-pane {
		display: block;
	}
}

/* IE10+ md */
@media all and (min-width: 992px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {	
	.scrollable-sm.content-pane,
	.content-pane {
		max-height: 100%;
		height: auto;
		display: table;
	}
	.scrollable-md.content-pane {
		display: block;
	}
}

/* IE10+ lg */
@media all and (min-width: 1200px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {	
	.scrollable-md.content-pane,
	.content-pane {
		max-height: 100%;
		height: auto;
		display: table;
	}
	.scrollable-lg.content-pane {
		display: block;
	}
}