@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(/assets/fonts/roboto.ttf) format('truetype');
}

html {
    height:100%;
    min-height:100%;
}

body {
    background-color: #f5f5f5;
    font-family: 'Roboto', arial;
	font-size: 15px;
}

a {
    color: #FF772D;
    text-decoration: none;
}

h1 {
    font-size: 175%; 
}

h2 {
    font-size: 150%; 
}

h3 {
    font-size: 125%; 
}

h4 {
    font-size: 110%; 
}


.navbar-toggle {
    position: relative;
    float: right;
    padding: 10px 10px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-image: none;
    border: 2px solid transparent;
    margin-top: 13px;
}

.icon-bar {
    background-color: #000000;
    border: 1px solid #000000;
}

.navbar-scaleengine {
    background-color: #ffffff;
    color: #ff772d;
    /* font-weight: 700; */
    font-size: 110%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .5);
    border: none;
}

.navbar-scaleengine a {
    padding: 0;
}

.navbar-nav > li > a:hover {
	color: #FFFFFF;
}
.navbar-scaleengine .navbar-nav > .active > a,
.navbar-scaleengine .navbar-nav > .active > a:focus,
.navbar-scaleengine .navbar-nav > .active > a:hover {
    color: #fff;
    background-color: #ffffff;
}
.navbar-nav > li > a {
    color: #1E4B78;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, transparent 50%, #ff772d 50%);
    transition: background-position .25s;
}
.navbar-nav > a:hover {
	text-decoration: none;
	color: #FFFFFF;
}
.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover {
	color: #FF772D;
    text-decoration: none;
    background-position: 0 10%;

}

.navbar-nav > li > .active {
    text-decoration: none;
    color: #23527c;
    background-position: 0 10%;
}

.navbar-nav .open > a,
.navbar-nav .open > a:focus,
.navbar-nav .open > a:hover {
    background-color: #FFFFFF;
}

.navbar-phone-only,
.phone-only {
    display: none;
}

/*
.nav-landing-button,
.nav-landing-button:hover {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 5px 10px !important;
    font-family: 'Roboto', arial;
    font-weight: 900;
    border: 1px solid #000000;
    border-radius: 4px;
    background-color: #ff772d;
    box-shadow: 0 3px 0 #000;
    color: white;
    text-decoration: none;
}
*/

/* 
@media (min-width: 769px) {
	.dropdown:hover .dropdown-menu {
		display: block;
	}
} 
*/

.dropdown-menu {
	border: none;
    background-color: #fff;
}

.dropdown-menu > li > a {
    color: #337ab7;
    text-decoration: none;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
    color: #23527c;
    text-decoration: none;
    background-color: #f5f5f5;
}

.navbar-brand {
    padding: 5px 10px !important;
}
@media (max-width: 768px) {
    .navbar-brand {
        padding: 10px 10px 0 10px !important;
    }

	.phone-only {
		display: block !important;
	}

	.navbar-phone-only {
		display: block;
		margin: 10px 80px 5px 80px;
	}
}

/* CONTAINER */
@media (max-width: 768px) {
    .container{
        padding: 0;
    }
}

.alert {
	white-space: pre-wrap;
}

/* BUTTONS */

.btn{
    border: none;
    color: #FFFFFF;
    font-weight: 700;
}

.btn-white{
    border: none;
	transition-duration: .25s;
	color: #555;
	background-color: transparent;
    font-weight: 700;
	padding: 0 0.5rem;
	white-space: normal;
}

.btn-white:hover{
    border: none;
	transition-duration: .25s;
	color: #333;
	background-color: #d1d4d6;
    font-weight: 700;
}

.btn-pathnav{
    border: none;
	transition-duration: .25s;
	color: #555;
	background-color: transparent;
	padding: 0.2rem 0.7rem;
	border-radius: 1rem;
}

.btn-pathnav:hover{
    border: none;
	transition-duration: .25s;
	color: #333;
	background-color: #e2e2e2;
}

.btn-default, .btn-default:hover {
    color: #FFFFFF;
    background-color: #172A5E;
}

.btn-default:focus, .btn-default:active {
    color: #FFFFFF !important;
    background-color: #022545 !important;
}

.btn-primary, .btn-primary:hover {
    background-color:#ff772d;
}

.btn-primary:focus, .btn-primary:active {
    background-color: #f58132 !important;
}

.btn-right {
	float: right;
	margin-left: 5px;
	margin-bottom: 5px;
}
@media (max-width: 768px) {
	.btn-right {
		width: 100%;
		margin-right: 5px;
	}
}

.btn-3d {
	padding:15px;
	box-shadow: 2px 2px 9px 2px black;
	margin-bottom: 7px;
}

.btn-3d:hover .btn-3d:focus {
	margin-left: -1px;
	margin-top: -1px;
	box-shadow: 3px 3px 9px 2px black;
}

.btn-fat {
	padding: 10px !important;
}

.btn-wide {
	padding-left: 20px;
	padding-right: 20px;
}

/* PANNEL */
.scale-panel{
    box-shadow: 0 2px 2px 0 #c2c2c2;
    border: none;
}
.scale-panel-heading{
    background-color: rgba(23, 42, 94, 1) !important;
    color: #ffffff !important;
    /* color: #ff772d !important; */
    font-weight: 700;
}

/* ANCHORS */
a{
    cursor: pointer;
}
a.anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}

/* MODAL */
.modal-header{
    background-color: rgba(23, 42, 94, 1);
    border-radius: 6px 6px 0 0;
    color: #FFFFFF;
    font-weight: 700;
    text-align: center;
    border-bottom: 4px solid #ff772d;
}

.loginModal input{
    width: 100% !important;
}
.loginModal .modal-body button{
    margin-top: 10px;
}
#pass-reset{
    height: 0;
    overflow: hidden;
}
.pass-reset-open{
    height: auto !important;
}

.demoModal input,
.demoModal textarea,
.demoModal select{
    width: 100% !important;
}

.input-container-left{
    width: 50%;
    padding: 0 5px 0 0 !important;
}
.input-container-right{
    width: 50%;
    padding: 0 0 0 5px !important;
}

@media (max-width: 768px) {
    .input-container-left,
    .input-container-right{
        width: 100%;
        padding:0 !important;
    }
}
/* PAGE OPENER */
.page-opener {
    color: #ffffff;
    z-index: 2;
    box-sizing: border-box;
    padding-top: 50px;
    background-color: rgba(23, 42, 94, 1);
    margin-bottom: 50px;
}

@media (max-width: 768px) {
	.page-opener {
    	margin-bottom: 20px;
	}
}

.page-opener > h1 {
    text-align: center;
    padding: 15px;
    margin: 0;
}

.page-opener > .container > p {
    color: rgba(255,255,255, 1.0);
    background-color: #1E4B78;
    padding: 10px;
    border-radius: 4px;
}

.page-opener > .container {
    padding: 20px;
}

.page-opener ~ .container {
	min-height: 50vh;
}

.page-opener > .container > .a:hover {
	color: #1E4B78;
}

/* SECTION */
/* SECTION OPENER */
.section-opener {
    padding: 10px 20px;
    background-color: rgba(23, 42, 94, 1);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 2px 2px 0 #c2c2c2;
    border-bottom: 4px solid #ff772d;
}
.orange {
    background-color: #ff772d;
    border-bottom: none;
}

.section-opener > h1,
.section-opener > h2,
.section-opener > h3,
.section-opener > h4 {
    text-align: left;
    margin:0;
    color: #ffffff;
}

@media (max-width: 768px) {
    .decrease-font{
        font-size: 3rem !important;
    }
}

.section-opener > p {
    color: rgba(255,255,255, .4);
    background-color: #1E4B78;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 16px;
    color: #ffffff;
}
.section-opener > p a:hover {
    color: #ffffff;
    text-decoration: none;
}

section {
    background-color: rgba(255,255,255, 1);
    box-shadow: 0 2px 2px 0 #c2c2c2;
    border: 1px solid #f7f7f7;
    border-radius: 0 0 4px 4px;
    margin: 0 0 50px 0;
    padding: 10px 20px 10px 20px;
}

section a:hover {
	color: #1E4B78;
	text-decoration: none;
}

p {
    color: #555555;
}
p .text {
	color: #ffffff;
}

/* FOOTER */
footer{
    background-color: #FFFFFF;
    border-top: 1px solid rgb(204, 204, 204);
    padding: 20px;
}

footer > .container > img{
    float: right;
    width: 200px;
}

@media (max-width: 768px) {
    .social{
        margin-bottom: 15px;
    }
}

.footer-brand {
    width: 100%;
    max-width: 400px;
}

footer ul {
	padding: 0;
}

footer li {
	text-decoration: none;
	list-style: none;
}

/* META INFO */
.meta-row{
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 10px;
}
.meta-row > div{
    padding: 0;
}
.meta-date{
    float: right;
}


/* TABS */
.tab-content{
    border:1px solid #ddd;
    padding: 10px;
    border-radius: 0 0 4px 4px;
    margin-bottom: 10px;
    margin-top: -1px;
}

/* TABLES */
.table{
    margin: 0;
}

.pricing-table-head{
    background: #ff772d;
    font-weight: 700;
    color: #ffffff;
}

.table-bordered > thead > tr > th {
    border: 0 solid transparent;
    text-align: left;
    vertical-align: middle;
}

.feature-cell{
    color: #337ab7;
    font-weight: 700;
}

.feature-cell:hover{
    color: #23527c;
    cursor: pointer;
}

tr {
    background-size: 50% 200%; 
    background-image: linear-gradient(to bottom, transparent 50%, #ff772d 50%);
    transition: background-position .25s;
}

tr:hover {
    background-position: 0 -5px;
    cursor: pointer;
}

.setable {
	text-align: center;
	vertical-align: middle;
	float: left;
	margin: 0px 20px 20px 0px;
}

.setable tr {
	min-height: 3em;
}

.setable th {
	background-color: #172A5E;
	color: white;
	font-weight: bold;
	border: 1px solid #eee;
	padding: 3px;
	text-align: center;
}

.setable td {
	border: 1px solid #eee;
	padding: 5px;
}

/* Make tables collapse on mobile */
@media screen and (max-width: 768px) {
	.table {
		border: none;
	}

	.table > thead {
		display: none;
	}

	.table > tbody > tr {
		border: none;
		display: block;
	}

	.table > tbody > tr > th {
		display: none;
	}

	.table > tbody > tr > td {
		border: none;
		display: block;
		text-align: right;
		clear: both;
	}

	.table > tbody > tr > td:nth-child(1) {
		text-align: left;
		float: left;
		clear: left;
		width: 50%;
		font-size: 110%;
	}

	.table > tbody > tr > td:nth-child(2) {
		float: left;
		clear: none;
		width: 50%;
	}

	.table > tbody > tr > td:before {
		content: attr(data-label);
		float: left;
		font-size: 90%;
		margin-left: 5em;
	}
}

/* SIDEBARS */

.sideNav {
	font-weight: 500;
	padding: 5px 0 5px 0;
}

.sideNav ul {
	padding: 0px;
}

.sideNav li {
	list-style: none;
	padding: 5px 10px 5px 10px;
	margin: 2px 12px 2px 12px;
}

.sideNav li:hover {
	background-color: #FF772D;
	color: white;
}

.sideNav a {
	color: #1E4B78;
	text-decoration: none;
}

.sideNav a:hover {
	text-decoration: none;
}

.sideNav_control {
	display: none;
}

.sideNav_title  {
	width: 100%;
	margin: 0px;
}

.arrow {
	position: absolute;
	left: 95%;
	top: 50%;
	width: 0;
	height: 0;
	border-right: 10px solid transparent;
	border-bottom: 10px solid transparent;
}

@media only screen and (max-width: 993px) {
	.sideNav, .flextable_item {
		display: none;
	}
	.sideNav_control:checked ~ .sideNav,
	.flextable_control:checked ~ .flextable_item {
		display: block;
	}
	.sideNav_title .section-opener,
	.flextable_title .section-opener {
		padding-right: 10%;
		position: relative;
		margin-bottom: 10px;
		border-bottom: none;
	}
	.sideNav_control:checked ~ .sideNav_title .section-opener,
	.flextable_control:checked ~ .flextable_title .section-opener {
		margin-bottom: 0px;
		border-bottom: 4px solid #ff772d;
	}
	.sideNav_control ~ .sideNav_title .arrow,
	.flextable_control ~ .flextable_title .arrow {
		border-top: 10px solid transparent;
		border-left: 10px solid white;
		margin-top: -10px;
		margin-left: -5px;
	}
	.sideNav_control:checked ~ .sideNav_title .arrow,
	.flextable_control:checked ~ .flextable_title .arrow {
		border-top: 10px solid white;
		border-left: 10px solid transparent;
		margin-left: -10px;
		margin-top: -5px;
	}	
}

/* accordion for nav menus */

.accordion_control {
	display: none;
}

.accordion_item {
	display: none;
}

.accordion_control:checked ~ .accordion_item {
	display: block;
}

.accordion_control:checked ~ .accordion_title {
	background-color: #FF772D;
}

.accordion_control:checked ~ .accordion_title h4 {
	color: white;
}

.accordion_title {
	display: block;
	margin: 5px 0 0 0;
	padding: 10px 10% 10px 10px;
	position: relative;
}

.accordion_title h4 {
	margin: 0;
	padding: 0;
	color: #1E4B78;
}

.accordion_title:hover h4 {
	color: white;
}

.accordion_title:hover {
	background-color: #FF772D;
}

.accordion_control ~ .accordion_title .arrow {
	border-top: 10px solid transparent;
	border-left: 10px solid #1E4B78;
	margin-top: -10px;
	margin-left: -10px;
}
.accordion_control:checked ~ .accordion_title .arrow {
	border-top: 10px solid #1E4B78;
	border-left: 10px solid transparent;
	margin-left: -15px;
	margin-top: -5px;
}

/* Flextable - use sidenavs inside for collapsing */

.flextable {
}

.flextable > div {
	float: left;
	padding: 0px 2px 0px 2px;
}

/* one item */
.flextable > div:first-child:nth-last-child(1) {
	width: 100%;
}

/* two items */
.flextable > div:first-child:nth-last-child(2),
.flextable > div:first-child:nth-last-child(2) ~ div {
	width: 50%;
}

/* three items */
.flextable > div:first-child:nth-last-child(3),
.flextable > div:first-child:nth-last-child(3) ~ div {
	width: 33.3333%;
}

/* four items */
.flextable > div:first-child:nth-last-child(4),
.flextable > div:first-child:nth-last-child(4) ~ div {
	width: 25%;
}

/* five items */
.flextable > div:first-child:nth-last-child(5),
.flextable > div:first-child:nth-last-child(5) ~ div {
	width: 20%;
}

.flextable_control {
	display: none;
}

.flextable_title {
	width: 100%;
}

.flextable section {
	box-shadow: none;
	border: none;
	background-color: #EEEEEE;
	padding: 5px;
}

.flextable_cell {
	clear: both;
	/* border: 1px solid #f7f7f7; */
	background-color: rgba(255,255,255, 1);
	margin: 8px 0px 0px 0px;
	position: relative;
}

.flextable_cellcontents {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
	text-align: center;
}

.price_table {
	height: 50px;
}

.price_table p {
	margin: 2px;
	padding: 0px;
}

.flextable_cellcontents > span {
	display: none;
}

@media only screen and (max-width: 993px) {
	.flextable > div {
		clear: both;
		width: 100% !important;
		float: none;
		margin: 0px;
	}

	.flextable_cell {
		margin-left: 75px;
	}

	.flextable_cellcontents > span {
		display: block;
		position: relative;
		float: left;
		padding: 5px;
		width: 75px;
		margin-left: -75px;
	}

	.flextable section {
		background-color: rgba(255,255,255, 1);
		box-shadow: 0 2px 2px 0 #c2c2c2;
		border: 1px solid #f7f7f7;
		padding: 10px 20px 10px 20px;
	}

}
	
/* FORMS */
.form {
}

.form .formsingle {
	clear: both;
}

.form .formpair {
	clear: both;
  	padding-left: 150px;   /* span width */
}

.form input, 
.form textarea,
.form select,
.form .g-recaptcha,
.form .formentry {
	margin-top: 5px;
	margin-bottom: 5px;
	position: relative;
	float: left;
}

.form span {
	position: relative;
	float: left;
	padding: 4px;
	width: 150px;
	margin-left: -150px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.form input,
.form .formentry {
	height: 30px;
	padding: 2px;
	width: 100%;
}

.flexform {
	display: flex;
	width: 100%;
}

.flexform > input,
.flexform > .halfflex { 
	margin-left: 5px; 
	margin-right: 5px; 
}

.flexform > :first-child { 
	margin-left: 0; 
}

.flexform > :last-child { 
	margin-right: 0; 
}

.flexform input {
	align-self: center;
	flex-shrink: 10;
}

.form select {
	margin-top: 7px;
}

.form input[type="checkbox"], .form input[type="radio"] {
	height: auto;
	width: auto;
	margin-top: 13px;
}

.form textarea {
	height: 100px;
	width: 100%;
}

.form p {
	padding: 8px 10px 3px 5px;
	margin: 0;
	float: left;
}

.formtwobuttons {
	padding-left: 5px;
	clear: both;
}

.formtwobuttons input:first-child {
	margin-left: -5px;
	margin-right: 0px;
}

.formtwobuttons input:last-child {
	margin-right: -5px;
	margin-left: 0px;
}

.formtwobuttons input {
	width: 50%;
}

.formthreebuttons {
	padding-left: 10px;
	clear: both;
}

.formthreebuttons input:first-child {
	margin-left: -10px;
	margin-right: 10px;
}

.formthreebuttons input:last-child {
	margin-right: -10px;
	margin-left: 10px;
}

.formthreebuttons input {
	width: 33%;
	margin-left: 0;
	margin-right: 0;
}

@media only screen and (max-width: 768px) {
	.form .formpair {
  		padding-left: 0px;
	}
		
	.form span {
		margin-left: 0px;
	}

	.form input, .form textarea,
	.form select, .form .g-recaptcha,
	.form .formentry {
		clear: both;
	}
}

/* Switch to mobile mode if the form is in a col-md-4 */
.col-md-4 .form .formpair {
	padding-left: 0px;
}
		
.col-md-4 .form span {
	margin-left: 0px;
}

.col-md-4 .form input, 
.col-md-4 .form textarea,
.col-md-4 .form select, 
.col-md-4 .form .g-recaptcha {
	clear: both;
}

/* MISCELLANEOUS */

.progress {
	border: 1px solid #cdc7c2;
	background-color: #cdc7c2;
	border-radius: 5px;
}

.progressbar {
	height: 100%;
	width: 0px;
	background-color: rgba(23, 42, 94, 1);
	border-radius: 5px;
}

.nophone {
}
@media only screen and (max-width: 768px) {
	.nophone {
		display: none;
	}
}

#se_video {
	margin-bottom: 20px;
}

.full-width{
    width: 100%;
}

.clear {
	clear: both;
}

.center_wrapper {
	text-align: center;
}

.blogdate {
	display: block;
	text-align: right;
	font-size: 12px;
	color: white;
	margin-top: -2.5ex;
	margin-left: 80%;
	width: 20%;
}

.bloglink {
	display: block;
	text-align: right;
	font-size: 12px;
    color: #ff772d;
	margin-left: 50%;
	width: 50%;
	padding: 5px;
}

/* 26% padding gives aproximately 16:9 */
noscript > p {
	width: 100%; 
	height:100%;
       	text-align: center;
       	color: white;
       	background-color: black;
       	padding-top: 26%;
       	padding-bottom:26%;
}

@media only screen and (max-width: 768px) {
	.phone-last-container {
		display: flex;
		flex-direction: column;
	}

	.phone-last {
		order: 10;
	}

	.blogdate {
		margin-top: 0px;
		margin-left: 50%;
		width: 50%;
	}

	.container {
		margin-left: auto;
		margin-right: auto;
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* Image handling */
/* Adjust width, top, and left to crop the image */
.seimg {
    position: absolute;
	width: 100%;
	top: 0%;  
	left: 0%;
}

.secrop {
	overflow: hidden;
	position: relative;
}

.seimg-fullwrap {
	width: 100%;
	padding-top: 35%;
}

.seimg-leftwrap {
	width: 50%;
	padding-top: 20%;
	float: left;
	margin-right: 10px;
}

.seimg-rightwrap {
	width: 50%;
	padding-top: 20%;
	float: right;
	margin-left: 10px;
}

@media only screen and (max-width: 768px) {
	.seimg-leftwrap,
	.seimg-rightwrap {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-top: 40%;
	}
}


/* Tabbed section code */

.tab_head {
	margin-top: 10px;
}

.tab_control {
	display: none;
}

.tab_item {
	display: none;
}

.tab_heading {
	width: 100%;
	text-align: center;
	padding: 5px;
	border-bottom: 2px solid #ff772d;
}

.tab_1:checked ~ .tab_body > .tab_item:nth-child(1),
.tab_2:checked ~ .tab_body > .tab_item:nth-child(2),
.tab_3:checked ~ .tab_body > .tab_item:nth-child(3),
.tab_4:checked ~ .tab_body > .tab_item:nth-child(4),
.tab_5:checked ~ .tab_body > .tab_item:nth-child(5),
.tab_6:checked ~ .tab_body > .tab_item:nth-child(6),
.tab_7:checked ~ .tab_body > .tab_item:nth-child(7),
.tab_8:checked ~ .tab_body > .tab_item:nth-child(8),
.tab_9:checked ~ .tab_body > .tab_item:nth-child(9)
{
	display: block;
}

.tab_1:checked ~ .tab_head > .tab_heading:nth-child(1),
.tab_2:checked ~ .tab_head > .tab_heading:nth-child(2),
.tab_3:checked ~ .tab_head > .tab_heading:nth-child(3),
.tab_4:checked ~ .tab_head > .tab_heading:nth-child(4),
.tab_5:checked ~ .tab_head > .tab_heading:nth-child(5),
.tab_6:checked ~ .tab_head > .tab_heading:nth-child(6),
.tab_7:checked ~ .tab_head > .tab_heading:nth-child(7),
.tab_8:checked ~ .tab_head > .tab_heading:nth-child(8),
.tab_9:checked ~ .tab_head > .tab_heading:nth-child(9)
{
	border-top: 2px solid #ff772d;
	border-left: 2px solid #ff772d;
	border-right: 2px solid #ff772d;
	box-shadow: -1px -2px 2px 0px #cccccc;
	border-bottom: 2px solid #ffffff;
	border-radius: 3px 3px 0px 0px;
}



/* ben loading spinner */
.loader{
	border: 3px solid #555;
	border-top: 3px solid transparent;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	-webkit-animation: spinloader 1s linear infinite;
	animation: spinloader 1s linear infinite;
}

@-webkit-keyframes spinloader {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes spinloader {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}