/*******************************
 * Global Styles
 ******************************/

/*
 * Switch out burnt orange color
 * with red from new logo on site
 *
 * Orange: 	#942c02
 * Red:		#c01e2d
 * DarkRed:	#8f1823
 */

 html {
	/*
		This really only needs to be used for desktop size/larger sites with more bandwidth.
		Be sure to move this before going to production.
	*/
	background: #fff;
	background-size: cover;
}

body {
	font-family: Arial, Verdana, sans-serif;
	margin: 0;
	padding: 0;
	color: #555;
	font-weight: 100;
}

* {
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}

img {
        max-width: 100% !important;
    }

h1 {

	font-family: Cambria, Georgia, serif;
	font-weight: 100;
	color: #000;
	font-size: 3.5em;
}

h2, h3 {
	font-family: Cambria, Georgia, serif;
	font-weight: 100;
	color: #666;
}

h2 {
	font-size: 3em;
	margin: 20px 0;;
	padding: 0;
}

h3 {
	font-size: 28px;
}

p, a, li {
	color: #555;
	font-weight: 100;
}

p {
	font-family: Helvetica, Arial, sans-serif;
}

a {
	color: #555;
}

section.content {
	padding: 1em 4%;
}

.content h2 {
	font-size: 36px;
	color: #213b40
}

.col-3 {
	width: 33.33333333333333%;
	float: left;
	padding: 10px;
}

.button {
	background: #2892ac;
	padding: 8px 8px;
	margin-top: 5px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
	display: inline-block;
	border: none;
}

.button-large {
	font-size: 18px;
}

a:hover.button {
	background: #30b3d3;
}

.button-alert {
	background: #8f1823;
}

.button-clear {
	background: rgba(255,255,255,0.5);
	color: #333;
	border: 1px solid #ccc;
}

a:hover.button-alert {
	background: #5c131a;
}

.intro {
	font-size: 1.5em;
}

#quick-contact-short {
	float: right;
	width: 28%;
	margin-left: 2%;
	background: #fff;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 3px;
}

#quick-contact-short h3 {
	color: #213b40;
	font-size: 24px;
	margin: 0 0 10px 0;
	padding: 0;
}

#quick-contact-short h4 {
	margin: 0;
	padding: 0;
	font-size: 16px;
	margin-bottom: 5px;
	border-bottom: 1px solid #ddd;
	color: #333;
}

#quick-contact-short p {
	font-size: 14px;
	margin: 0;
	padding: 0;
	line-height: 21px;
	margin-bottom: 20px;
}

.col-2-wide {
	float: left;
	width: 70%;
	margin: 0;
	padding: 0;
}

.col-2-wide .intro {
	margin: 0;
}

.right {
	float: right;
	margin: 1em 0 1em 1em;
}

img.dynamic {
	background: #fff;
	padding: 6px;
	border: 1px solid #ccc;
}


/***************************************
 * FORM
 **************************************/

input[type=text], input[type=email], input[type=tel] {
	padding: 6px;
	width: 90%;
}

input[type=password], input.username, input#NewPassword[type=text] {
	padding: 6px;
	width: 200px;
}

button {
	padding: 6px;
}

textarea {
	width: 90%;
	height: 200px
}

input[type=text].month, input[type=text].day {
	width: 50px;
}

input[type=text].year {
	width: 100px;
}

.ex {
	display: block;
	color: #666;
	font-size: 14px;
	margin-top: 10px;
}

.required {
	font-weight: bold;
}

fieldset {
	margin-bottom: 2em;
	border: 1px solid #ccc;
	padding: 20px;
	background: rgba(255,255,255,0.75);
}

.error-box {
	background: #e89898;
	color: #4d1010;
	padding: 10px;
	margin-bottom: 1em;
	border: 1px solid #8d1e1e;
}

.alert-success {
	background: #a6eca8;
	color: #0e360e !important;
	padding: 10px;
	margin-bottom: 1em;
	border: 1px solid #16c62a;
}

.alert-success h3, .alert-success p {
	color: #0e360e !important;
}

/***************************************
 * BRANDING
 **************************************/
.logomark {
	float: left;
}

.logomark img {
	vertical-align: middle;
	margin: 11px 20px 10px;
/* 	width: 150px; */
}

.logomark .extra-nav {
	display: none;
}

.logomark .extra-nav a {
	text-decoration: none;
	color: #fff;
	font-weight: 100;
	text-transform: uppercase;
	font-size: 12px;
	line-height: 75px;
	padding: 0 15px;
}


/***************************************
 * NAVIGATION
 **************************************/
section#navigation {
	background: #222;
	color: #fff;
	/* height: 75px; */
}

nav {
	border-top: none;
}

nav ul, ul.member-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
	display: block;
}

ul.member-nav {
	float: right;
	margin-right: 20px;
}

nav ul li, ul.member-nav li {
	float: left;
}

ul.member-nav li.social-nav a {
	padding: 0 6px;
}

nav ul li a, ul.member-nav li a {
	display: block;
	text-decoration: none;
	color: #fff;
	font-weight: 100;
	text-transform: uppercase;
	font-size: 12px;
	line-height: 75px;
	padding: 0 15px;
}

nav ul li a i {
	color: #999;
}

nav a:hover {
	background: rgba(255,255,255,0.075);
}


nav li.member-nav-item {
	display: none;
}

#login-block {
	float: right;
	overflow: hidden;
	position: relative;
	margin-right: 20px;
}

a.login-action {
	background: #c01e2d;
	color: #fff;
	display: block;
	border-right: 1px solid rgba(255,255,255,0.25);
	border-left: 1px solid rgba(255,255,255,0.25);
}

a.login-button i {
	color: #fff;
}

a:hover.login-action {
	background: #8f1823;
}

a#menuButton {
	display: none;
}

#menuButton i.fa-chevron-up {
	-webkit-transform: scale(1) rotate(-180deg);
	-webkit-transition: -webkit-transform 0.1s ease-in-out;
}

#menuButton i.fa-chevron-down {
	-webkit-transform: scale(1) rotate(180deg);
	-webkit-transition: -webkit-transform 0.1s ease-in-out;
}

.intro-video iframe {
	max-width: 100%;
}

.intro-video {
	margin: 0 auto;
	max-width: 640px;
}

/***************************************
 * SECTION TEASER
 **************************************/
.teaser {
	background: #106579;
	height: 300px;
	overflow: hidden;
}

.teaser-image {
	float: left;
	width: 50%;
}

.teaser-content {
	float: left;
	width: 50%;
	padding: 1em 1em 2em;
}

.teaser-content h3, .teaser-content p, .teaser-content li {
	color: #fff;
}

#cdl-driver-image {
	display: inline-block;
    width: 100%;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
    background-size: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
	background-image: url('../img/cdl-drivers.jpg');
}

.image-inner {
	display: block;
	height: 0;
	padding-top: 72.625%; /* image height / image width * 100 */
}

/***************************************
 * FOOTER
 **************************************/
footer {
	background: #222;
	color: #fff;
	padding: 20px;
}

footer * {
	color: #fff;
}

#footer-logo {
	float: left;
	width: 33%;
	margin-top: 3em;
}

#footer-nav {
	float: left;
	width: 33%;
	padding: 1em;
	border-left: 1px solid #555;
}

#footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer-nav ul li {
	margin-bottom: 14px;
}

#footer-nav ul li a {
	font-size: 14px;
	color: #aaa;
}

#footer-contact {
	float: left;
	width: 33%;
}

#footer-contact a, #footer-contact h3 {
	color: #fff;
	font-size: 22px;
	font-family: Helvetica, Arial, sans-serif;
}

#footer-contact h3 {
	color: #aaa;
	margin: 1em 0 5px 0;
}

#footer-contact ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer-contact ul li {
	display: inline-block;
	margin-right: 10px;
}

/***************************************
 * MEMBER SIGNUP
 **************************************/
.plan_type {
	background: #fff;
	padding: 10px;
	float: left;
	width: 48%;
	margin: 1%;
	border: 1px solid #ccc;
}

.plan_type ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.plan_type ul li {
	margin: 1em 0;
	border-bottom: 2px solid #ccc;
	padding: 1em 0 2em;
}

.plan_type a {
	font-size: 12px;
}

.plan_type ul li:last-child {
	border: none;
}

/***************************************
 * HELPER STYLES
 **************************************/
.wrapper {
	margin: 0 auto;
	max-width: 1000px;
}

/***************************************
 * LANDING PAGE STYLES
 **************************************/
#about-info p {
	font-size: 20px;
	line-height: 38px;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-weight: 100;
	color: #666;
}

#about-info .wrapper{
	max-width: 900px;
	margin: 0;
}

#membership-info {
	background: #141b20;
	padding: 1em 4%;
}

#membership-info h2, #membership-info p {
	color: #fff;
}

.infoblock {
	padding: 15px 15px 30px;
	background: rgba(255,255,255,0.1);
	margin-bottom: 2em;
	min-height: 300px;
	border-bottom: 5px solid #555;
}

.infoblock h3 {
	font-family: Helvetica, Arial, sans-serif;
	color: #bbb;
	margin-top: 0;
}

.infoblock li {
	color: #fff;
}

.col-2 {
	float: left;
	width: 40%;
}

.col-2 {
	margin-right: 5%;
	margin-left: 5%;
}

/***************************************
 * LEGACY STYLES
 **************************************/
section.content {
	background: url(../img/content-background.jpg) repeat-x #fff; /* original color: #dfdfdf */
	/* Gradient Background */
	border-top: 1px solid #a5a5a5;
}

ul.detailed-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

span.price {
	font-size: 1.5em;
	vertical-align: middle;
}

label.plan_price {
	display: block;
	margin-bottom: 10px;
}

.commercial label.plan_price {
	width: 150px;
}

/***************************************
 * FAQ Accordion
 **************************************/
dl.accordion dt {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px;
	position: relative;
	margin-top: 1em;
}

dl.accordion dd {
	display: none;
}

dl.accordion dt.active {
	border: 1px solid #555;
	border-bottom: none;
	background: #fbffba;
}

dl.accordion dt a {
	text-decoration: none;
	font-weight: bold;
	display: block;
}

dl.accordion dd.active {
	background: #fbffba;
	border: 1px solid #555;
	border-top: none;
	padding: 10px 20px 10px 40px;
	margin: 0 0 2em 0;
	position: relative;
	font-size: 14px;
	line-height: 22px;
}

/***************************************
 * Signup Process
 **************************************/
.ask-additional {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	margin: 2em auto;
	width: 80%;
	box-shadow: 0 0 10px #333;
}

.ask-additional .button {
	margin:0 10px 0 0 ;
}

.instructions {
	font-style: italic;
	color: #666;
	font-size: .9em;
	margin-top: 20px;
	padding: 10px;
	border-top: 1px solid #ddd;
}

.client-details ul {
    list-style: none;
    margin:13px 0;
    padding: 0;
}


.client-details em {
    padding-right: 10px;
    width: 150px;
    display: block;
    float: left;
    color: #666;
}

.client-details h4 {
	border: none;
}

.client-details {
    background: #fff;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.client-details h4 {
	color: #942c02;
}

.member-details {
    width: 45%;
    float: left;
}

.claim-details {
    width: 45%;
    float: right;
}

.member-details li, .claim-details {
	font-size: 14px;
	margin-bottom: 1em;
}

form.promocode_form {
	background: #eee;
	padding: 20px;
	margin: 1em 0;
}

form.promocode_form input {
	width: 200px;
}

/*******************************
 * Basic Table
*******************************/
table.basic-table {
    width:70%;
    margin-bottom: 2em;
}

table.basic-table th {
    padding:10px;
    font-size:14px;
    border: 1px solid #666;
    color:#eee;
    background: #333;
}

table.basic-table td {
    padding:10px;
    font-size:12px;
    border: 1px solid #666;
    background: #fff;
}

table.basic-table td.override {
	text-align: right;
	background-color: #999;
}

td.price {
	text-align: right;
}

div.current-term-dates {
     font-size: 12px;
     background: #942c02;
     padding: 7px;
     color: #fff;
     border-radius: 3px;
 }

.redfont, table td.redfont {
	color: red;
}

table.basic-table td.highlight, table td.highlight {
	background-color: #faf2ae;
}

#credit_card_billing label {
	font-size: 14px;
}

.price_holder {
	background: #fff;
	border: 1px solid rgba(0,0,0,0.2);
	padding: 20px 10px;
	text-align: center;
}

/***************************************
 * Basic Breakpoints
 **************************************/
@media only screen and (max-width: 1050px) {
	#about-info {
		width: 100%;
	}

	.col-3 {
		width: 50%;
	}

	ul.member-nav {
		display: none;
	}

	nav.primary-nav ul li.item-login {
		display: block;
	}

	.logomark {
		width: 100%;
		border-bottom: 1px solid #333;
	}

	.logomark .extra-nav {
		float: right;
		display: block;
		margin-right: 20px;
	}

	.logomark .extra-nav a {
		font-size: 18px;
	}

	nav {
		margin: 0 0 0 20px;
		background: #202020;
		display: block;
		width: 100%;
	}

	a.login-action {
		border: none;
	}

	nav ul li a {
		line-height: 45px;
	}
}

@media only screen and (max-width: 900px) {
	.col-3 {
		width: 100%;
	}

	.teaser-image, .teaser-content {
		float: none;
		width: 100%;
	}

	.teaser {
		height: 80%;
	}

	.plan_type {
		background: #fff;
		padding: 10px;
		float: none;
		width: 100%;
		border: 1px solid #ccc;
		margin: 0;
		margin-bottom: 2em;
	}

	.plan_type ul li {
		display: inline-block;
		width: 46%;
		text-align: center;
		border-bottom: none;
		margin: 1%;
	}

	.plan_type ul li a.button {
		display: block;
		max-width: 100px;
		margin: 1em auto;
	}

	label.plan_price {
		width: 100%;
	}

	.col-2-wide, #quick-contact-short {
		float: none;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	#quick-contact-short {
		border: none;
		margin-top: 2em;
		border-top: 5px solid #ddd;
		border-radius: none;
		padding-top: 1em;
	}

	#quick-contact-short h4 {
		border: none;
	}

	input[type=text], textarea {
		width: 100%;
	}
}

@media only screen and (max-width: 850px) {
	#footer-contact {
		width: 45%;
	}

	#footer-logo {
		display: none;
	}

	#footer-nav {
		width: 45%;
		border: none;
	}

	table.basic-table {
		width: 100%;
	}

	table.basic-table {
	    width:100%;
	    margin-bottom: 2em;
	}

	.member-details, .claim-details {
	    width: 100%;
	    float: none;
	}

	.claim-details {
		border-top: 3px solid #ddd;
	}
}

@media only screen and (max-width: 700px) {

	nav {
		float: none;
		width: 100%;
		position: relative;
		margin: 0;
		border-top: none;
	}

	.primary-nav>ul {
		z-index: 10;
		position: absolute;
		top: 64px;
		background: #222;
		width: 100%;
		display: none;
	}

	.primary-nav>ul.active {
		display: block;
	}

	nav ul li {
		float: none;
		width: 100%;
		border-top: 1px solid #666;
	}

	nav li.member-nav-item {
		display: block;
	}

	nav ul li a {
		line-height: 0;
		padding: 20px;
	}

	nav a:hover {
		background: #111;
	}

	a#menuButton {
		float: right;
		display: block;
		color: #fff;
		padding: 20px;
		text-align: right;
		text-decoration: none;
		text-transform: uppercase;
		font-size: 14px;
	}

	i.fa {
		font-size: 16px;
		width: 16px;
	}

	.logomark .extra-nav {
		display: none;
	}

	.logomark {
		width: 150px;
	}

	a.login-action, nav ul li:last-child {
		border: none;
	}

	h1 {
		font-size: 36px;
	}

	h2, .content h2 {
		font-size: 28px;
	}

	h3 {
		font-size: 24px;
	}


	#about-info p {
		font-size: 18px;
		line-height: 22px;
	}
}

@media only screen and (max-width: 670px) {

	.col-2 {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	#footer-nav, #footer-contact {
		float: none;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	#footer-contact {
		border-top: 5px solid #333;
		padding-top: 10px;
		margin-top: 2em;
	}
}


@media only screen and (max-width: 500px) {


	img.right {
		float: none;
		margin: 0;
	}

	img.dynamic {
		float: none;
		width: 100%;
		margin: 1em auto;
		padding: 0;
		background: transparent;
		border: none;
		display: none;
	}

}

/*** Styles to overide quick contact on signup page **/
.signup-contact {
	border: none;
	background: #333;
}

.signup-contact h3, .signup-contact h4 {
	color: #fff;
}

.signup-contact p {
	color: #ddd;
}

.language {
  text-align: right;
  color: #ccc;
  background-color: #000;
  padding: 8px 1rem;
}

.language > a {
  color: #ccc;
  font-size: 14px;
  text-decoration: none;
}

/***************************************
 * HERO SLIDE
 **************************************/
 .hero-slider {
	height: 600px;
	width: 100%;
}

.hero {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 600px;
}

.hero-photo {
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	height: 400px;
	position: relative;
	background-position: center center;
}

.hero-content {
	height: 200px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	background-color: #111;
}

.hero-text {
	color: #fff;
	font-size: 18px;
	line-height: 28px;
	font-weight: 100;
	margin-bottom: 1rem;
}

a.hero-action {
	display: inline-block;
	background: #8ede54;
	padding: 0.75em 1em;
	font-size: 1rem;
	font-weight: bold;
	color: #000;
	text-transform: uppercase;
	text-decoration: none;
}

a.hero-action i {
	font-size: 14px;
	vertical-align: middle;
}

a:hover.hero-action {
	background: #67b330;
}

@media (min-width: 800px) {
	.hero-slider {
		height: 700px;
		width: 100%;
	}
	
	.hero {
		position: relative;
		overflow: hidden;
		width: 100%;
		height: 700px;
	}
	
	.hero-photo {
		width: 100%;
		background-repeat: no-repeat;
		background-size: cover;
		height: 700px;
		position: relative;
		background-position: center center;
	}
	
	.hero-content {
		position: absolute;
		bottom: 2rem;
		left: 2rem;
		right: 2rem;
		padding: 2rem;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-end;
		background-color: rgba(0,0,0,0.6);
	}
	
	.hero-text {
		color: #fff;
		font-size: 18px;
		line-height: 28px;
		font-weight: 100;
		margin-bottom: 1rem;
	}
	
	a.hero-action {
		display: inline-block;
		background: #8ede54;
		padding: 0.75em 1em;
		font-size: 1rem;
		font-weight: bold;
		color: #000;
		text-transform: uppercase;
		text-decoration: none;
	}
	
	a.hero-action i {
		font-size: 14px;
		vertical-align: middle;
	}
	
	a:hover.hero-action {
		background: #67b330;
	}	
}

.hero-video {
	line-height: 0;
	background: #141b20;
	padding: 1em;
}