/***********RBC CAS Marketplace*********/
/*** Screen Styles ****/
/*** Brandspeak | Aaron Hintgen ***/
/* blue: #00254b */
/* gray: #888888 */
/* very faint blue: ecf9fd */
/* very light gray (borders): #c0c5c8 */
/* rbc gold: #a7986f */
/*rbc blue: #31467D ? this is not confirmed */

@font-face {
	font-family: RBCDisplay;
	font-weight: bold;
	src: url("fonts/RBCDisplay-Bold.otf") format("opentype");
}

@font-face {
	font-family: RBCDisplay;
	font-weight: regular;
	src: url("fonts/RBCDisplay-Regular.otf") format("opentype");
}

@font-face {
	font-family: Roboto;
	font-weight: regular;
	src: url("fonts/Roboto-Regular-webfont.woff") format("opentype");
}

body {
	font-family: Roboto, Helvetica, Arial, sans-serif; 
	padding: 0px;
	margin: 0px;

	background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0) 50%), url('/inc/img/bg-original-smaller.jpg');
	 padding: constant(safe-area-inset-top) 
           constant(safe-area-inset-right) 
           constant(safe-area-inset-bottom) 
           constant(safe-area-inset-left);
	}
	
a { 
	text-decoration: none;
	}

a:hover {
	text-decoration: underline;
	}

h1 {
	color: #1e4a88;
	font-size:30px;
	font-family: RBCDisplay;
}

h2 {
	text-transform: uppercase;
	color:#b7b7b7;
	width: 100%;
	text-align: center;
	padding: 10px 0px 10px 0px;
	font-size: 14px;
	margin: 0px;
	letter-spacing: 2px;
	box-sizing: border-box;
	font-family: RBCDisplay;
	}

h1 a {
	color: #00254b;
	}

h4 {
	font-size: 12px;
	font-weight: bold;
	color: #ad8150;
	text-transform: uppercase;
	padding: 0px 5px 0px 5px;
	margin-bottom:6px;
	}
	
img {
	border:0;
	}
	
#bgvid {
	position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    z-index: -1; 
	}

.dotted1 {
	width: 32%;
	border-bottom: 2px dotted white;
	float:left;
	}
.dotted_text {
	text-transform: uppercase;
	color:white;
	width: 34%;
	text-align: center;
	padding: 10px 0px 10px 0px;
	font-size: 14px;
	margin: 0px;
	letter-spacing: 2px;
	top: -20px;	
	text-shadow: 0px 0px 2px black;
	font-weight: bold;
	float:left;
	}

.dotted_wrap {
	color:white;
    width: 920px;
    margin-left:auto;
    padding:10px;    
    height: 20px;
}	
	
/* !LAYOUT **/	
.constrain {
	width: 991px;
	margin-left:auto !important;
	margin-right:auto !important;
	padding: 0px;
	margin: 0px;
	overflow-x: hidden;
	overflow-y: visible;
	position: relative;
	}

	
.top_link {
	font-size: 12px;
	display: inline-block;
	float:right;
	color: #252525;
	margin-top:40px;	
	padding: 5px;
	margin-right:5px;
	
	}
.last {
	border-right:none;	
}
	
#header {
	width: 100%;
	height: 125px;
	border-top: 20px solid #1e4a88;
	}	
	
#header_black {
	width: 100%;
	height: 125px;
	margin:0px;
	}
#header_wrapper {
	
	}

#header_left {
	width: 500px;
	float:left;
	margin-top: 30px;
	background-image: url('/inc/img/rbc_logo.png');
	background-repeat: no-repeat;
	background-position: top left;
	background-size: contain;
	text-decoration: none;
	}
	
#header_link {
	font-size: 30px;	
	padding-left:45px;
	color:#2457ab;
	line-height: 44px;
	font-family: RBCDisplay;
}

.contenthome {
	background:url('/inc/img/bg-original-smaller.jpg');
	}
	
/* !MAIN SECTION ***/
.larger {
font-size: 16px;
font-weight:bold;
}

#blackback {
	width:100%;
	min-height: 100vh;
	overflow:auto;
	}
#black_left {
	width: 62%;
	margin:40px 0px 0px 30px;
	float:left;
	margin-left: 25px;
	}
#black_right {
	color:white;
	width: 32%;
	float: left;	
	}
.lightbox {
	max-width: 95%;
	display:none;		
	}
.lightbox img {
	width:100%;
	}
.vid {
	padding:10px;
	width:90%;
	}
.still {
	max-width:65%;
	}
#content_holder {
	margin-top:5px;
	}

#filter_holder {
	position: relative;
	transition: all .25s linear;
	z-index: 15;
	}

#filter_box {
	width: 240px;
	height: 940px;	
	float: left;
	position: relative;
	margin-top:115px;
	transition: all .25s linear;
	}
	
#filter_box li {
	list-style: none;
	color: #1e4a88;
	padding: 20px 0px 0px 0px;
	}

#filter_box ul {
	width: 225px;
	margin: 0px auto 0px auto;
	padding: 3px;
	font-size:13px;
	padding-bottom: 8px;
	}
	
#filter_box h4 {
	color:#1e4a88;
	margin:10px 5px 0px 5px;;
	padding: 0px;
	font-size:14px;
	}
	
#filter_box input {
/* 	margin-left:5px; */
	}
#filter_box_toggle {
	cursor: pointer;	
	display: none;
	width:50px;
	height: 45px;
	position: absolute;
	right:-50px;
	top:0px;
	background-color:#1e4a88;
	font-size:14px;
	color:white;
	text-align: center;
	padding-top: 8px;
	z-index: 99;
	}
	
#filter_box_toggle:active {
	color:#A2BDCE;
	}
	
.hamburger {
    position: relative;
    display: inline-block;
    width: 1.25em;
    height: 0.8em;
    margin-right: 0.3em;
    border-top: 0.2em solid #fff;
    border-bottom: 0.2em solid #fff;
}

.hamburger:before {
    content: "";
    position: absolute;
    top: 0.3em;
    left: 0px;
    width: 100%;
    border-top: 0.2em solid #fff;
}
	

.subh {
	color: #888888;
	font-size: 12px;
	margin:5px 0px 4px 10px;
	padding: 0px;
	}
	
#filter1 {
	position: absolute;
	top:0px;
	left:0px;	
	}
#search1 {
 	font-size: smaller;
	 position: absolute;
	 right: 0px;
	 top: -4px;
	 font-size: smaller;
	}
	
#content {
	width: 735px;
	min-height: 1150px;
/* 	border: 1px solid #c0c5c8;	 */
	float: right;
/* 	border-radius: 6px;	 */
/* 	overflow-y: auto; */
	position: relative;
	}

#home {
	width: 960px;	
	overflow-y: auto;
	overflow-x:hidden;
	margin-left: auto;
	margin-right:auto;
	}

#element_holder {
	width: 920px;
	margin-left:auto;
	margin-right:auto;
	}

#content p {
	padding:10px;
	}
	
.element {
	border: 1px solid #c0c5c8;
	border-radius: 15px;
	width: 179px;
	height: 64px;
	float:left;
	background-color: rgba(35, 72, 133, 0.98);
	padding: 30px 0px 0px 0px;
	margin:8px 30px 8px 10px;
	text-align: center;
	color:white;
	cursor: pointer;
	font-size:18px;
	transition: all .15s linear;
	overflow: hidden;
	position: relative;	
	}
.element img {
	width: 179px;
	height: 129px;
	padding-top: 5px;
	position: absolute;
	left: 0;
	bottom:0;
	}
.element:hover {
	box-shadow: 0px 0px 15px 6px #f9d96c;
	}	

.elname {
	display: inline-block;
	margin-top: -10px;
	}
.elname:hover {
	text-decoration: underline;
	}

.el {
	font-size: 50px;
	font-weight: bold;
	color: #c2e5f8;
	text-decoration: none !important;
	}

.col2 {
	background-color: #4eb3be !important;
	}
.col2 .el {
	color:#b9e6cc;
	}
	
.col3 {
	background-color: #ad8150 !important;
	}
.col3 .el {
	color:#dbbc97;	
	}
	
.col4 {
	background-color: #c1b082 !important;
	}
.col4 .el {
	color: #eee9b1;
	}
.col5 {
	background-color: #877B5B !important;
	}
.col5 .el {
	color: #FEF4D5;
	}	

#contentheader {
	height: 38px;
	line-height: 35px;
	vertical-align: middle;
	font-weight: bold;
	color:#1e4a88;
	}
.tag {
	text-transform: none;
	color: #c2e5f8;
	font-size: 30px;
	line-height: 30px;
	}
#titlebar {
	font-family: RBCDisplay;
}
	
#titlebar.col2 .tag {
	color:#b9e6cc !important;
	}
#titlebar.col3 .tag {
	color:#dbbc97 !important;
	}
#titlebar.col4 .tag {
	color:#eee9b1 !important;
	}		
#titlebar a {
	display: block;
/* 	float: right; */
/* 	text-align: right; */
	font-size:13px;
	padding-top: 2px;
	color:#1e4a88;
	}

/* !DETAIL PAGE */
#detail_left {
	width: 400px;
	float:left;
	margin-left: 25px;
	}
#detail_left p {
		font-size:16px;
	}
#detail_left li {
		font-size:13px;
	}
#detail_left ul {
	margin-top: 5px;
	}
#detail_right {
	width: 260px;
	padding:10px;
	float:right;
	}
#detail_right ul {
	margin-top: 5px;
	}	
#detail_right li {
		font-size:13px;
		}

/* !VENDORS ***/
#vendor_list {
	padding: 0px 0px 20px 0px;	
}
#vendor_list li {
	display: inline-block;
	padding:2px;
	font-size:larger;
}
#vendor_list a {
	color: #31467D;	
}
.current_vendor {
	border-bottom: 3px solid #f9d96c;
}
/* !FOOTER ***/
#footer {
	position: relative;
	background-color:white;
	z-index:10;
	width: 100%;
	padding: 0px;
	margin: 60px 0px 0px 0px;
	}
.homefooter {
	height:560px;
	}
#footer_logo {
	max-width:60px;
	float:right;
	margin:-35px 35px 5px 15px;
	}
#disclaimer {
	border-bottom: 1px solid black;
	padding: 5px 0px 15px 0px;
	font-size:14px;
	margin-top: 20px;
	color: #31467D;
	font-weight: bold;
	
	width: 991px;
	margin-left:auto !important;
	margin-right:auto !important;
	}
	
#disclaimer a {
	color: #31467D;
	font-weight: bold;
	}
		
.disclaim {
	color: #888888;
	font-size:12px;
	font-weight: normal;
	padding-top:15px;	
	}
#copyright {
	font-size:smaller;
	text-align:right;
	padding-top: 5px;
	}
	
.footer-contact {
	font-size: 14px;
	letter-spacing: 2px;
	}
	
#content_results {
	width: 725px;
	min-height: 950px;
	border-radius: 10px;	
	}
.one_provider {
	box-shadow: 2px 2px 4px 1px #a0a0a0;	
	background-color:white;
}
.loading {
	position: absolute;
	top:180px;
	left:260px;
	}
	
.banner {
	position: absolute;
	right:0px;
	z-index: 10;
	pointer-events: none;
	max-width: 155px;
	max-height: 158px;
	}
.logobar {
	width: 100%;
	height: 120px;
	position: relative;
	}
.logo {
	max-width: 500px;
	max-height: 120px !important;
	margin-left: auto;
	margin-right:auto;
	padding-left: 10px;
	padding-top: 10px;
	}
.logo.bigger {
	max-height: 200px !important;

	}	

.provider_container {
	overflow:hidden;
	margin-top: 6px;
	background-color: #1e4a88;
	border-radius: 10px;
	}

.partner_providers {
	background-color: #9ea2a2;	
}

.other_vendors {
	background-color: #0091DA;	
}

.partner {
	background-color: #5b97d0 !important;	
}

.provider_container h3 {
   width: 685px; 
   line-height: 0.1em;
   line-height: 1.5em\9; /* IE 7-8 */
   margin: 15px auto 15px auto; 
/*    letter-spacing: 2px; */
/* 	color:#00254b; */
	font-size: 14px;
	text-transform: uppercase;

} 

.provider_container h3 span{ 
    color:white; 
    padding:0 10px; 
}

.dotfiller {
   border-bottom: 2px dotted #000; 
   margin: 13px auto 15px auto; 
   margin-left:140px;
   width:100%;
   height: 3px;
} 

.provheader { 
	font-size: 14px;
	text-transform: uppercase;
   	margin: 15px 0px 0px 15px;
   	color:white;
   	font-weight: bold;
	width:100%;
}
	
	
.provider {
	border: 1px solid black;
	border-radius: 15px;
	width: 220px;
	height: 230px;
	float:left;
	margin:8px 3px 8px 11px;
	text-align: center;
	position: relative;
	background-color:white;
	transition: all .2s linear;
	}
	
.provider:hover {
	box-shadow: 0px 0px 10px 2px #f7cf46;
	}	
.provider_wide_container {
	background-color: transparent;	
	width: 60%;
	margin: auto;
}
.extra {
	position: absolute;
	bottom: 4px;
	right:3px;
	}
.provider_small {
	border: 1px solid black;
	border-radius: 5px;
	width: 220px;
	height: 58px;
	float:left;
	margin:8px 3px 8px 11px;
	text-align: center;
	position: relative;
	background-color:white;	
	font-size:13px;

	}
	
.provider_small_title {
	position: absolute;
	bottom:3px;
	display: block;
	text-align: center;
	width: 218px;
	}	

.provtitle {
	font-weight:bold;
	margin: 8px 2px 5px 2px;
  padding: 0px;
  display: block;
	}

.provider a {
	color: #00254b;
	}
.provider_wide {
	width: 500px;
	margin: 20px auto 20px auto;	
	border-bottom: 3px #f7cf46 50%;
	height: 200px;
	position: relative;
	transition: all .2s linear;
	text-align: left;	
}
.provider_wide.shorter {
	height: 75px !important;
}
.provider_wide:hover {
/* box-shadow: 0px 0px 10px 2px #f7cf46; */
}	
.provider_wide_date {
	font-style:italic;
	color: #252525;
	font-size:12px;
	padding-bottom: 4px;
}
.provider_wide_a {
	color: 	#1e4a88;
	font-size: 18px;
	display: inline-block;
	margin-top: 10px;
}
.provider_wide_img {
	width: 180px;
	float: left;	
}
.pdf_img {
	float: left;	
}
.provider_wide_info {
	float: left;
	width: 300px;
	margin-left: 15px;
	margin-top: 5px;
}
.provider_wide_learnmore {
	display: block;
	text-align: center;
	/* position: absolute; */
	bottom: 5px;
	left: 12px;
	width: 195px;
	padding-top: 5px;
	border-bottom: 1px solid #f7cf46;
	font-size: 14px;
	background-image: url('img/arrow2.png');
	background-repeat: no-repeat;
	background-position: center right;
	color: #1e4a88;
}
.provider_wide_descrip {
	width: 325px;
	height: 60px;
	font-size: 13px;
	padding: 12px 12px 12px 0px;
}
.pdf_wide_descrip {
	width: 425px;
	height: 60px;
	font-size: 13px;
	padding: 12px 12px 12px 0px;
}

.logoimg {
	padding-top:4px;
	max-height: 50px;
	max-width: 150px;
	}
	
.logoimg_small {
	padding-top:4px;
	max-height: 30px;
	max-width: 145px;
	}
	

#short_desc {
	width: 175px;
	margin-left: auto;
	margin-right: auto;
	height: 60px;
	font-size: 12px;
	line-height: 14px;
	}
	
#login {
	width:400px;
	margin-left:auto;
	margin-right:auto;
	margin-top:200px;
	border: 1px solid #c0c5c8;	
/* 	border-radius: 8px; */
	padding:10px;
	z-index: 100;
	background-color: white;		
	font-size:13px;
	text-align: center;
	}	

#overlay {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;

	background: white; /*ie8 fall back to solid color */
    background:rgba(220, 220, 220, 0.8); /* for real browsers */
    
   	z-index:99;	
	}	

#overlay2 {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;

	background: white; /*ie8 fall back to solid color */
    background:rgba(220, 220, 220, 0.8); /* for real browsers */
    
   	z-index:99;	
   	display:none;
   	
	}	

.featured_container {
	background-color:white;
	width:420px;
	height: 149px;
	}
.feature {
	width: 420px;
	height: 148px;
	color: black;
	}

.feature_top {
	position: relative;
	width: 420px;
	height: 66px;

	}
.feature_logo {
	max-height: 50px;
	padding-left:4px;
	padding-top:4px;
	}
	
.feature_bottom {
	width: 420px;
	height: 66px;
	padding-left:4px;
	padding-top:3px;
	}	
.feature_bottom p {
	margin:0px;
	padding:0px;
	font-size:12px;
	}
.feature_bottom a {
	color:#00254b;
	}
.lilbanner {
	position: absolute;
	top:0px;
	right:0px;
	}

.nav {
	position: absolute;
	width:200px;
	z-index: 10;
	bottom: 2px;
	right:110px;
	text-align: center;
	}
.nav a {
  display: inline-block;
  margin: 0;
  padding: .2em .5em;
  color: #00254b;
  text-decoration: none;

}
.nav a:hover {
  color: #888888;
}

.nav a:active {
	color:black;
	}
.nav a.active,
.nav a.active:hover {
  background-color: #00254b;
  color: white;
}

#about {
	width: 700px;
	margin-left:auto;
	margin-right:auto;
	font-size: 13px;
	color: #00254b;
	}
	
#about p {
	padding: 10px;
	}
	
.aboutbg {
	background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0) 90%), url('/inc/img/bg-original-smaller.jpg') !important;	
}
	
.publicpagebox {
	width: 700px;
	margin-left:auto;
	margin-right:auto;
	font-size: 14px;
	margin-top: 7px;
	margin-bottom:7px;
	padding: 0px 15px 0px 15px;
	}
.publicpagebox p {
	padding: 10px;
	}
.publicpageborder {
	border: 1px dotted #c0c5c8;
	}
.learnmore {
	display: block;
	text-align: center;
	position: absolute;
	bottom:5px;
	left: 12px;
	width: 195px;
	padding-top:5px;
	border-top: 1px dotted #c0c5c8;
	font-size:14px;
	}
.learnmore img {
	padding-right: 4px;
	}
.learnmore span {
	vertical-align: top;
	}

#search1 a {
/* 	color: #888888; */
	color: #00254b;
	}

#filter1 a {
	/* color: #888888; */
	color: #00254b;
	}
	
	
.clearer {
	clear: both;
	width: 100%;
	}
	
#searchhome {
	width: 90%;
	margin:0px 20px 15px 30px;
	font-size: 13px;
	font-weight: bold;
	padding-top: 10px;
	color: #252525;
	}
	
.homesubmit {
	border:1px solid #00254b;
	width:70px;
	height:28px;
	background-color:#1e4a88;
	border-radius:3px;
	cursor: pointer;
	text-transform: uppercase;
	color: white;
	font-family: 'RBCDISPLAY';
	}

.other_info {
	color: #d9d9da;
	font-size:14px;
	width: 600px;
	text-align: center;
	margin-left:auto;
	margin-right:auto;
	padding:6px;
	}	

#contact {
	width: 855px;
	margin-left:auto;
	margin-right:auto;
		border: 1px solid #c0c5c8;
		font-size: 13px;
	}

.contact_box {
	width: 220px;
	padding: 10px;
	height: 300px;
	border: 1px solid gray;
/* 	border-radius: 3px; */
	margin:20px;
	float:left;
	text-align: center;
	}	

#contact_center {
	width: 875px;
	height: 100px;
	text-align: center;
	}
.button {
	display: inline-block;
		border:1px solid #00254b;
/* 	color:#00254b; */
	color:white;
	font-weight:bold;
	font-size: larger;
	background-color: #a7986f;
/* 	border-radius: 6px; */
	width: 80px;
	height: 30px;
	line-height: 30px;
	margin:10px;
	}

/*RADIO BUTTON STYLING*/

input.filtercheck[type="radio"] {
	     /* border-radius: 50px; */
		display:none;
	}

input.filtercheck[type="radio"]:checked+label {
	font-weight: bold;
	border-left: 3px solid #f9d96c;
	display: inline-block;
	padding-left: 5px;
	margin-left: 0px;
}

.g:hover {
     background-color: #afbbc3;
}

.filtercheck:active {
/*      background-color: black; */
}

label {
	color: #1e4a88;
    cursor: pointer;
	font-size:larger;		
	/* padding-left: 10px; */
} 

label:hover {
	color: #2e74d5;
	}
label:active {
	color:black;
	}
.shadaloo {
		box-shadow: 0px 0px 10px 1px black;
		background-color:white;
		}	

 @media only screen and (max-width: 1023px), only screen and (max-width: 720px) and (-webkit-min-device-pixel-ratio: 2)  {
 	.constrain {
	 	width: 100%;
	 	}
	 .dotted_wrap {
	 	width:100%;
		 }
	 #disclaimer {
	 	width:100%;
		 }		 
  	#home {
	  width: 100%;
	  }
  	#element_holder {
	  	width:93%;
	  	padding-left:7%;
	  	}
	#header_left {
		width:350px;
		
		}
	#header_left img {
		margin-top:20px;
		margin-left:40px;
		width:350px;
		}
	#disclaimer {
		max-width:85%;
		padding:15px;
		}
	#filter_holder {
		position: absolute;
		left:-240px;
		}

	#filter_box_toggle {
		display: block;
		}
	#copyright {
		text-align: center;
		}
	#about {
		max-width: 90%;
		margin-top:20px;
		}
	#footer {
		margin: 0px;
		}
}

 @media only screen and (max-width: 720px), only screen and (max-width: 720px) and (-webkit-min-device-pixel-ratio: 2) {
	h1 {
		font-size: 15px;	
	}
	#footer {
		margin: 0px;
		}
	 #header_left img {
		margin-top:20px;
		margin-left:10px;
		width:220px;
		}
		
	.element {
		width: 120px;
		height: 52px;
		}
	.element img {
		width: 120px;
		height: 92px;
		}
	#header_wrapper {
		text-align: center;
		}
	#header_left {
		width: 100%;
		}
	.top_link {
		float:none;
		text-align: center;
		}
	#hometext {
		margin: 3px;
		padding:2px;
		width:140px;
		}
	#searchhome {
		margin-left:auto;
		margin-right:auto;
		text-align: center;
		}
	#login {
		width:100%;
		margin-left:auto;
		margin-right:auto;
		margin-top:100px;
		border: 1px solid #c0c5c8;	
	/* 	border-radius: 8px; */
		padding:5px;
	}
	#titlebar {
		font-size:18px;
		
		}
	#content {
		width: 89%;
		margin-top:15px;
		}
	#content_results {	
		width: 90%;
		margin-top:20px;
		margin-left:10%;

		}
	.loading {
		left: 20px;
	}
	#detail_left, #detail_right {
		width: 90%;
		}
	.logo {
		max-width: 80%;
	}
	#black_left, #black_right {
		width:90%;
		float:none;
		}	
	.pdf_wide_descrip {
		width: 300px;	
	}
	.provider_wide_descrip {
		width:300px;	
	}
	.provider_wide_container {
		width:100%;	
	}
	.provider_wide_img {
		width: 150px;
	}
 }
