:root{
  --primary-color-1: #0063a8 !important; /*Blue*/
  --primary-color-1-lighter: #8b9cb7 !important; /*Blue*/
  --primary-color-2: #f18c20 !important; /*Oj*/
  --primary-color-3: #565757 !important; /*Grey*/ /*#83888c lighter alternat?*/
  --primary-font-family-1: 'Oswald Medium', 'Oswald',Helvetica,Arial,Lucida,sans-serif;
  --primary-font-family-2: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
  --primary-font-family-3: 'Oswald Light',Helvetica,Arial,Lucida,sans-serif;
  --text-color-on-primary-bg: #fff;
  --text-color-on-secondary-bg: #000;

  --navbar-bg-color: var(--primary-color-3);

  --navbar-text-color: white;
  --navbar-text-font-size: 19px;
  --navbar-text-font-weight: 500;
  --navbar-text-color-hover: var(--primary-color-2);
  --navbar-text-opacity-hover: .7;

  --navbar-lineitem-text-color: #33383e;
  --navbar-lineitem-text-font-size: 12px;
  --navbar-lineitem-text-color-hover: var(--navbar-lineitem-text-color);
  --navbar-lineitem-text-opacity-hover: var(--navbar-text-opacity-hover);
  --navbar-lineitem-text-background-color-hover: rgba(0,0,0,0);

  --navbar-lineitem-text-color-selected: var(--primary-color-2) !important;

  --hamburger-color: var(--primary-color-2);
  --hamburger-color-hover: var(--primary-color-2);

  --default-link-color: var(--primary-color-1-lighter);
  --default-link-color-hover: var(--primary-color-2);
  /* --default-linear-gradient: var(--primary-color-1); */
  --default-linear-gradient: linear-gradient(90deg,var(--primary-color-2),var(--primary-color-1));
  --color-footer-text: white;
  --footer-link: rgb(161, 187, 212);
  --footer-link-hover: #3D527E;

  --button-primary-text-color: ;
  --button-primary-bg-color: ;  
  --button-primary-bg-color-hover: ;

  --button-secondary-text-color: ;
  --button-secondary-bg-color: ;
  --button-secondary-bg-color-hover: ;

}

/*Set sub-header tab group selected color*/
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    z-index: 2;
    color: white;
    background-color: var(--primary-color-1);
    border-color: var(--primary-color-2);
}

/*Textbox focus change color to second primary*/
.form-control:focus {
    border-color: var(--primary-color-2);
    outline: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px var(--primary-color-2);
}

a,a:hover{
  text-decoration: none;
}

/*Fix search on navbar.*/
@media (min-width: 1200px){
#navbar ul.dropdown-menu.dropdown-search{
  width: 600px;
  left:-450px;
}
}

/*Fix height of search box with search glass*/
.entitylist-search,.entitylist-search>.query.form-control{
  height: 100%;
}

.background-overlay{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  background-color: rgba(42,66,91,0.46);
}

body{
  font-family: var(--primary-font-family-1);
  line-height: 1.9em;
}
/*For invalid login attempts, fixes color*/
#loginValidationSummary ul li a{
    color: var(--default-link-color);
}
a{
  color: var(--default-link-color);
}
a:hover, a:focus{
  color: var(--default-link-color-hover);
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus{
  background-color: transparent;
}
/*Match top bar & navbar items*/
.navbar-brand{
  padding: 0;
}

@media (max-width: 991px) and (min-width: 461px){
  .PoweredByCarma-screenadjust{
    margin-top: 16px;
  }
}
@media (max-width: 460px){
  .PoweredByCarma-screenadjust{
    margin-top: 32px;
  }
}
.customlink {
  color: #333333;
  background-color: transparent;
  text-decoration: none;
}
.customlink:visited {
  color: #033333;
  background-color: transparent;
  text-decoration: none;
}
.customlink:hover {
  color: 333333;
  opacity: .7;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
.customlink:active {
  color: 333333;
  background-color: transparent;
  text-decoration: none;
}
.customTheme{
  font-size: 12px; 
  font-weight: 600; 
  letter-spacing: .5px; 
  /* font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif; */
  color: #333333;
}
.custom-vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
#gethelp{
  -webkit-transform: rotateX(180deg); 
  -ms-transform: rotateX(180deg);
  transform: rotateX(180deg);
  margin-top: 100px;
  /* height: 125px; */
  background-color: var(--primary-color-1);
  /* border-top-width: 0px !important;
  border-color: var(--default-link-color-hover) !important;
  border-top-style: none !important; */
}

/* @media(min-width: 767px){
  .navbar-header{
    padding-top: 0px !important;
  }
} */
.navbar-fixed-top .navbar-header{
    padding-top: 3px;
}

#nbar{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    background-color: var(--navbar-bg-color);
}

#TopPushDown{
    margin-top: 97px;
}
@media(max-width:981px){
    #nbar-container{
        min-height: 97px;
    }
}
@media(min-width: 981px){
    #nbar-container{
        min-height: 97px;
    }
}
#nbar-container .navbar-header{
  height:77px;
}

#hamburger{
  position: absolute;
  top: 25px;
  right: 0px;
  color: var(--hamburger-color);
  border-color: var(--hamburger-color);
  border-style: none;
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -webkit-font-smoothing:antialiased;
  background-color: var(--navbar-bg-color);
}
#hamburger:hover{
  color: var(--hamburger-color-hover);
  border-color: var(--hamburger-color-hover);
  border-style: none;
}

/**HAMBURGER REWRITE BEGIN **/

.w-nav-icon {
    display: inline-block;
    vertical-align: top;
    font-size: 20px;
    position: relative;
    height: inherit;
    width: 1em;
}
.w-nav-control>* + * {
    margin-left: 0.5rem;
}
.w-nav-control {
    margin-right: -0.8rem;
}
.w-nav-icon>div {
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.15s cubic-bezier(0,1,.8,1);
}
.w-nav-control.active .w-nav-icon>div {
    transform: translateY(-50%) rotate(45deg);
    transition-delay: 0.15s;
}
.w-nav-icon>div {
    border-bottom: 0.15em solid;
}
.w-nav-icon>div, .w-nav-icon>div:before, .w-nav-icon>div:after {
    content: '';
    display: block;
    position: absolute;
    height: 0;
    width: inherit;
}
.w-nav-icon>div:before {
    top: -0.3333em;
    transition: top 0.15s cubic-bezier(0,1,.8,1) 0.15s,opacity 0.15s cubic-bezier(0,1,.8,1);
}
.w-nav-icon>div:after {
    top: 0.3333em;
    transition: top 0.15s cubic-bezier(0,1,.8,1) 0.15s,transform 0.15s cubic-bezier(0,1,.8,1);
}
.w-nav-icon>div:before, .w-nav-icon>div:after {
    border-bottom: inherit;
}
.w-nav-icon>div, .w-nav-icon>div:before, .w-nav-icon>div:after {
    content: '';
    display: block;
    position: absolute;
    height: 0;
    width: inherit;
}
.w-nav-control.active .w-nav-icon>div:before {
    top: 0;
    opacity: 0;
    transition: top 0.15s cubic-bezier(0,1,.8,1),opacity 0.15s cubic-bezier(0,1,.8,1) 0.15s;
}
.w-nav-control.active .w-nav-icon>div:after {
    top: 0;
    transform: rotate(
90deg);
    transition: top 0.15s cubic-bezier(0,1,.8,1),transform 0.15s cubic-bezier(0,1,.8,1) 0.15s;
}

/**HAMBURGER REWRITE END**/




/*hamburger lines color & background/outline*/
/* .icon-bar{
  background-color: rgb(51,51,51) !important;
} */

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus{
  background-color: transparent;
}
.navbar-inverse .navbar-toggle{
  border-color: transparent;
}
.navbar-toggle .icon-bar{
  border-style: solid;
  border-width: 1px;
  border-color: inherit;
}
#smallImage{
  padding-top: 22px;
}

/*"blue border" color change (home page bar color)*/
.blue_border {
  border-bottom: none;
  position: relative;
  margin-top: -85px;
  padding-bottom: 20px;
  color: var(--primary-color-3) !important;
}
/* .blue_border>span::after{
  left:46%;
  margin-left: 4em;
}
.blue_border>span::before{
  right:46%;
  margin-right: 4em;
}
.blue_border>span::before, .blue_border>span::after{
  content: '';
  position: absolute;
  top: 40%;
  height: 0;
  width: 10vw;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: rgb(229, 229, 229);
} */
.blue_border>span>span>div{
  text-align: center;
}
.page_section h2 {
    color: rgb(51,51,51);
    font-size: 32px;
    text-size-adjust: 100%;
    font-weight: 400;
}

.page-heading>.page-header>h1{
  color: rgb(51,51,51);
  text-align: center;
  font-size: 28px;
}
.page-heading>.page-header::before, .page-heading>.page-header::after {
  content: '';
  position: absolute;
  top: 30%;
  height: 0;
  width: 30%;
  border-top-width: 1px;
  border-top-style: solid;
  border-color: rgb(229, 229, 229);
}
.page-heading>.page-header::before{
  right: 30px;
  left: auto;
}
.page-heading>.page-header::after{
  right: auto;
  left: 30px;
}
.page-heading>.page-header{
  position: relative;
  border-bottom: 0px solid #eee;
}
.section-landing .row > div .section-landing-sub-heading {
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 15px;
  font-family: var(--primary-font-family-2);
  text-align: center;
  margin-bottom: 0;
}

.section-landing .row > div .section-landing-sub-heading-2 {
  color: #FFFFFF;
  font-size: 12px;
  font-family: var(--primary-font-family-2);
  text-align: center;
  margin: .8vw auto;
  width: 380px;
}

.layer_down {
  height: 50px;
  background: url("layer_down.png") no-repeat bottom center;
  position: absolute;
  bottom: 0;
  z-index: 900;
  width: 100%; }

.layer_up {
  height: 40px;
  background: url("layer_up.png") no-repeat bottom center;
  position: relative;
  z-index: 20; }

/*Replace home screen background.*/
.section-landing {
    /*background: linear-gradient(var(--primary-color-1), var(--primary-color-1-lighter)), url(background1.jpg) no-repeat center;*/
    background: url(background1.png) no-repeat center, linear-gradient(var(--primary-color-1), var(--primary-color-1-lighter));
    background-size: cover;
    padding-bottom: 50px;
    
    /* border-top-width: 10px !important;
    border-color: var(--default-link-color-hover) !important;
    border-top-style: solid !important; */
}
/*background img height, essentially*/
#homeTopTextContainer{
  height:300px; 
  z-index: 2;
  padding-top: 60px;
}

#homeHeroLogo {
  padding-top: 4vw;
}
/* .page_section{
  border-top-width: 10px !important;
  border-color: var(--default-link-color-hover) !important;
  border-top-style: solid !important;
} */

.section-landing .row > div .section-landing-heading {
  font-size: 45px;
  font-weight: 400;
  font-family: var(--primary-font-family-1);;
  color: #FFFFFF;
  text-align: center;
  text-transform: uppercase;
}

/*Reduce section landing (background) size when on mobile as well as header text*/
@media(max-width:576px){
   .section-landing .row > div .section-landing-heading {
    font-size: 30px;
   }

   .section-landing .row > div .section-landing-sub-heading {
     font-size: 13px;
   }

   .section-landing .row > div .section-landing-sub-heading-2 {
     font-size: 11px;
     width: 60%;
   }
}


/*Force iphone to keep formatting of phone numbers*/
a[href^=tel] {
   text-decoration:inherit;
   color: inherit;
}

/*Fix top breadcrumb font sizing*/
.breadcrumb > .active {
    font-weight: 300 !important;
}
.breadcrumb > li a, .breadcrumb > li a:hover{
  text-decoration: none !important;
  color: #333333 !important;
}


/*Remove navbar dividing pipes "|"*/
.navbar-fixed-top.navbar .menu-bar > .navbar-nav > .divider-vertical{
  border-left: 0px;
  border-right: 0px;
}

/*navbar dropdown match*/
#navbar .dropdown-menu {
    padding: 20px;
    border-top: 6px solid var(--primary-color-3);
    border-bottom: 0px;
    border-right: 0px;
    border-left: 0px;
    margin-top: 3px;
    background-color: white;
    /*Below for navbar on-hover changes*/
    opacity: 0;
    transform: scaleY(0) translateZ(0);
    transform-origin: 50% 0;
    transition: transform 0.3s, opacity 0.3s;
    transition-property: transform, opacity;
    transition-duration: 0.3s, 0.3s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
}
#navbar .dropdown-menu::before{
  content: "▲";
  color: var(--primary-color-3);
  position: absolute;
  top: -27px;
  left: 12px;
}

/*BEGIN navbar on-hover changes*/
#navbar ul>li.dropdown:hover>.dropdown-menu {
  transform: scaleY(1) translateZ(0);
  opacity: 1;
}
#navbar ul>li.dropdown>.dropdown-menu{
  display: block;
}
/*END navbar on-hover changes*/

#navbar .dropdown-menu>li{
  color: var(--navbar-lineitem-text-color);
}
#navbar .dropdown-menu>li:hover{
  color: var(--navbar-lineitem-text-color-hover);
  opacity: var(--navbar-lineitem-text-opacity-hover);
  background-color: var(--navbar-lineitem-text-background-color-hover);
}

/* Exclude opacity from the search */
#navbar .dropdown-menu.dropdown-search>li:hover{
  opacity: 1;
}

#navbar .dropdown-menu>li>a{
  color: inherit;
}

/*Move down when larger media size site*/
@media(max-width: 1200px){
  #navbar .dropdown-menu {
    margin-top: 0px;
  }
}
@media(min-width: 1200px){
  #navbar .dropdown-menu {
    margin-top: 0px;
  }
  #navbar ul.nav>li.dropdown{
    padding-bottom: 26px;
  }
}

@media (min-width: 1200px){
  .navbar-right .dropdown-menu {
    right: auto;
    left: -10px;
  }
}

/*Match the down carrot in the navbar to existing site*/
/* span[class="caret"]{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' aria-hidden='true' focusable='false' width='.5em' height='1em' style='-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);' preserveAspectRatio='xMidYMid meet' viewBox='0 0 1200 1200'><path d='M600.006 989.352l178.709-178.709L1200 389.357l-178.732-178.709L600.006 631.91L178.721 210.648L0 389.369l421.262 421.262l178.721 178.721h.023z' fill='%23FFFFFF'/></svg>");
  margin: 0px;
  border: none;
  vertical-align: inherit;
  width: 10px;
  height: 15px;
  background-position: center;
  background-repeat: no-repeat;
} */
span[class="caret"]{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' aria-hidden='true' focusable='false' width='.5em' height='1em' style='-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);' preserveAspectRatio='xMidYMid meet' viewBox='0 0 1200 1200'><path d='M600.006 989.352l178.709-178.709L1200 389.357l-178.732-178.709L600.006 631.91L178.721 210.648L0 389.369l421.262 421.262l178.721 178.721h.023z' fill='%23606060'/></svg>");
  width: 0px;/*width: 12px;*/
  height: 0px;/*height: 10px;*/
  background-position: center;
  background-repeat: no-repeat;
  background-color: white;
  border: none;
}


/*Match clickable links within navbar to existing site*/
div ul li a:not([role=tab]), div ul li ul li a, .navbar-fixed-top.navbar .menu-bar > .navbar-nav > li > a
{	
  color: var(--navbar-text-color);
  /* font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif; */
  font-family: var(--primary-font-family-1) !important;
  font-style: normal;
  text-decoration: none;
  /* text-transform: uppercase; */
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -webkit-font-smoothing:antialiased;
  text-size-adjust:100%;
  font-size: 16px;
  /* letter-spacing: 1px; */
  font-weight: 400 !important;
  padding-left: 10px;
  padding-right: 10px;
}

div ul li a:not([role=tab])
{
  color: black;
}

.navbar-nav > li > a{
  font-size: var(--navbar-text-font-size) !important;
  font-weight: var(--navbar-text-font-weight) !important;
  text-transform: uppercase;
}

div ul li a:hover, div ul li ul li a:hover, .navbar-fixed-top.navbar .menu-bar > .navbar-nav > li > a:hover,
div ul li a:focus, div ul li ul li a:focus, .navbar-fixed-top.navbar .menu-bar > .navbar-nav > li > a:focus
{
	color: var(--navbar-text-color-hover);
  background-color: transparent;
  opacity: .7; 
}
.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus
{
    border: none;
    padding: 3px 10px !important;
	color: var(--navbar-text-color-hover);
	opacity: var(--navbar-text-opacity-hover);
    background-color: transparent;
}


@media (max-width: 1208px) and (min-width: 981px){
#top-menu li a {
    font-size: 12px!important;
}
}

.dropdown-toggle:focus {
    border: 0px dashed!important;
    border-color: #fff!important;
}
/*Match fonts to existing website*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--primary-font-family-1) !important;
  font-weight: 300;
}

.section-title{
  /* font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif; */
  /* font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif; */
  
  letter-spacing: 1px;
  
}
.page-heading{
  color: #333333;
  /* font-family: 'Oswald',Helvetica,Arial,Lucida,sans-serif; */
  /* font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif; */
  
  font-style: normal;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -webkit-font-smoothing:antialiased;
  text-size-adjust:100%;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 300 !important;
}


/*Make all primary & info buttons match - use primary colors*/
.btn-info{
  /* background-color: #0b356d;
  border-color: #0b356d; */
  background-color: #3d527e;
  border-color: #3d527e;
}
.btn-info:hover{
  /* background-color: #3d527e;
  border-color: #3d527e; */
  background-color: #2c3c5c;
  border-color: #2c3c5c;
}

/*Change Primary and Default Button colors*/
.btn-primary {
    color: #fff;
    background-color: #3d527e;
    border-color: #3d527e;
}
.btn-primary:hover,.btn-primary:active,.btn-primary:focus {
    background-color: #2c3c5c;
    border-color: #2c3c5c;
}
.btn-primary:active:hover, .btn-primary:active:focus, .btn-primary:active.focus, .btn-primary.active:hover, .btn-primary.active:focus, .btn-primary.active.focus, .open>.btn-primary.dropdown-toggle:hover, .open>.btn-primary.dropdown-toggle:focus, .open>.btn-primary.dropdown-toggle.focus {
    background-color: #2c3c5c;
    border-color: #2c3c5c;
}
.btn-default {
    color: #3d527e;
    background-color: #fff;
    border-color: #3d527e;
}
.btn-default:hover,.btn-default:active,.btn-default:focus {
    color: #3d527e;
    border-color: #3d527e;
}
.btn-default:active:hover, .btn-default:active:focus, .btn-default:active.focus, .btn-default.active:hover, .btn-default.active:focus, .btn-default.active.focus, .open>.btn-default.dropdown-toggle:hover, .open>.btn-default.dropdown-toggle:focus, .open>.btn-default.dropdown-toggle.focus {
    color: #3d527e;
    background-color: #d4d4d4;
    border-color: #2c3c5c;
}

/*Match footer #1*/
.xrm-attribute-value > h5{
  /* font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif; */
  /* font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif; */
  
  letter-spacing: .5px;
  font-weight: 500;
  line-height: 30px;
  font-size: 18px;
}
/*Match footer #2*/
.footer-copyright{
  font-weight: 500;
  color: var(--color-footer-text);
  font-size: 13px;
}
/*Match footer #3*/
.footer-location-title{
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .5px;
}
/*Decrease chunkyness on login headers*/
.login-heading-section{
  font-weight: 400;
}
/*Remove grey from boxes (service order)*/
.form-control, .form-control[readonly] {
    background-color: white;
    opacity: 1;
}
/*Decrease all spacing*/
.crmEntityFormView .cell {
    padding: 0 28px 10px;
}
/*Footer top color*/
footer .footer-top {
    background:var(--primary-color-3) !important;
    padding-top: 30px;
    min-height: 0px !important;
}

.footer-top {
  position: relative;
  z-index: -99;
}

.footer-mid {
  background-color: var(--primary-color-3);
}

/* footer {
  border-top-width: 10px !important;
  border-color: var(--default-link-color-hover) !important;
  border-top-style: solid !important;
} */

.footerContent{
  margin-top: 0px;
  margin-bottom: 0px;
}

footer .footer-bottom{
  background: var(--default-linear-gradient) !important;
  padding: 0px;
}

footer .footer-bottom .container .row{
  padding-bottom: 0px;
}