a {
    -moz-transition-property: all;
    -o-transition-property: all;
    -webkit-transition-property: all;
    transition-property: all;
    -moz-transition-duration: 300ms;
    -o-transition-duration: 300ms;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
}

body {
    font-family: 'Cabin', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body h1, body h2, body h3, body h4, body h5 {
   font-family: "adelle", serif;
   font-weight: 300;
}

h2 {
  color: #C0392B;
}

.credits {
   background: #000;
   color: #fff;
   padding: 1em 0;
   position: relative;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
/* .header,
.marketing,
.footer {
    padding-left: 15px;
    padding-right: 15px;
} */

/* Custom page header */
.header {
    /*border-bottom: 1px solid #e5e5e5;*/
    margin-bottom: 0px;
    max-height: 8em;
}

/* Make the masthead heading the same height as the navigation */
.header h3 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 40px;
    padding-bottom: 19px;
}

h3 img {
    margin-top: -5px;
    margin-right: 10px;
}

/* Custom page footer */
.footer {
    color: #fff;
    line-height: 1.8em;
    padding: 40px 0px;
}

.footer a {
   color: #fff;
   text-decoration: underline;
}

.footer h3 {
   color: #CBCBCB;
}

.footer ul {
    list-style-type: none;
    margin-left: 9px;
}


.container-narrow > hr {
    margin: 30px 0;
}

.thumbnail .btn {
    color: #fff;
    font-size: 16px;
}

.thumbnail a:hover {
    text-decoration: underline;
}

.sidebar .row {
    margin-bottom: 80px;
}

/* Main marketing message and sign up button */
.jumbotron {
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
    margin:0px;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

/* Supporting marketing content */
.marketing {
    margin: 40px 0;
}

.marketing p + h4 {
    margin-top: 28px;
}

@media(min-width:768px) {
  .container.primary-content {
    padding-bottom: 80px;
    padding-top: 80px;
  }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .container {
        width: 96%;
    }

    /* Remove the padding we set earlier */
    .header,
    .marketing,
    .footer {
        padding-left: 0;
        padding-right: 0;
    }
    /* Space out the masthead */
    .header {
        margin-bottom: 0px;
    }
    /* Remove the bottom border on the jumbotron for visual effect */
    .jumbotron {
        border-bottom: 0;
    }
}


@media screen and (min-width: 768px) {
    .container {
        width: 96%;
    }
}


@media screen and (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/* Custom */

.container-full {
  margin: 0 auto;
  width: 100%;
}

.container-full.credits .row { /* Prevent extra width causing horizontal scroll */
    margin-right: 0;
}

.main-logo{
    position: relative;
    top: 1em;
}

.primary-content a {
text-decoration: underline;
}

#primary-menu{
    text-transform: uppercase;
    font-weight: 800;
}

#primary-menu a {
    color: #2D221F;
}

.main-nav-menu-2{ 
    padding-top: 3.0em;
    padding-left:2em !important;
    text-transform: uppercase;
    font-weight: 800;
}


.diag-repeat{
    background-image:url('../images/background-texture.html');
    z-index: 1;
}

.jumbotron h1{
    color:#ffffff !important;
    font-family: "adelle",serif;
    font-style: normal;
    font-weight: 300;
}

@media screen and (min-width: 768px){
   .jumbotron h1, .jumbotron .h1 {
      font-size: 40px;
   }
}

.uppercase{
    text-transform: uppercase;
}

.secondary-menu {
    padding-top:0;
}

@media screen and (min-width: 768px) {
   .secondary-menu { 
      position: absolute;
      right: 5%;
   }
}

ul.secondary-menu a {
    color: #000;
    text-decoration: underline;
}

ul.secondary-menu > li:first-child {
   text-decoration: none;
}

.marketing a.article-link{
    color:#2d91d4 !important;
    text-decoration: underline;
}

.marketing a.article-link:visited
{ 
    color:#b85543 !important;
}

.phone {
    padding-top: 15px;
    padding-right: 15px;
}

.row-article{
    padding-bottom:3em;
}

.row-article h4{
    font-size:20px;
    font-weight: 700;
}

.row-singlecontent h3{
    font-size:24px;
    color:#c0392b;
    margin-top:0px !important;
}

.borderLeft  {
     border-left: 2px solid #f51c40;
     position: absolute;
     top: 50%;
     bottom: 0;
}

.article-border-blue{
    border-bottom:2px solid #2e91d4;
    width:5em;
    height:1px;
    margin-top:1em;
    margin-bottom:2em;
}

.article-border-red{
    border-bottom: 2px solid #c0392b;
    width: 5.5em;
    z-index: -10;
    position: relative;
    left: 5em;
}

.search-container {
    background: black;
    color: #fff;
    padding:25px;
    text-align: left;
}


.search-container h3 {
    margin-bottom: 1em;
    margin-top: 0;
}

.search-container img {
    display: inline-block;
    margin-right: 5px;
    margin-top: -5px;
}


.search-container p {
    
}

.search-container input {
    width:45%;
    height: 2.5em;
    display: inline;
    float:left;
    background-color: #ffffff;
    border: 2px solid #cccccc;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

.search-container .btn-custom {
    display: inline !important;
    float:right;
    width: 45%;
    height: 3.2em;
    padding-right: 0;
    padding-left: 0;
    margin-left:1em;
    margin-top:0px;
    border: none;
    color: #ffffff;
    font-size: 18px;
}

.left-inner-addon-2 {
    position: relative;
}
.left-inner-addon-2 input {
    padding-left: 30px; 
    height: 2.8em;   
}

.left-inner-addon-2 i {
    position: absolute;
    left:1em;
    padding: 20px 10px;
    pointer-events: none;
    z-index: 2;
}


.margin-left-small{
    margin-left:2em;
}

.black-sidebar{
    width:19em;
    background: black;
    padding:35px;
}

.black-sidebar img {
    float:left;
    display:block;
    margin-right:5px;
    margin-top:.5em;
}

.black-sidebar p {
    font-size: 30px;
    font-family: "adelle",serif;
    font-style: normal;
    font-weight: 300;
    color:#ffffff;
    display: table-cell;
    vertical-align: middle;
}

.black-sidebar input {
    width:100%;
    height: 2.5em;
    background-color: #ffffff;
    border: 2px solid #cccccc;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

.left-inner-addon {
    position: relative;
}
.left-inner-addon input {
    padding-left: 30px; 
    height: 3.5em;   
}

.left-inner-addon i {
    position: absolute;
    padding: 17px 12px;
    pointer-events: none;
    z-index: 2;
}

.btn-custom{
    display: block;
    width: 100%;
    height:2.8em;
    padding-right: 0;
    padding-left: 0;
    margin-top:1.7em;
    border: none;
    color: #ffffff;
    font-size: 18px;
}

.accent{
    background:#c0392b;
}

.btn.accent.searchAgents {
    width: 100%;
    color: #fff;
    margin: 1em 0;
    padding: 1em;
    font-size: 16px;
}

.padding-bottom-custom{
    margin-bottom:2.3em;
}

.padding-bottom-custom-2{
    margin-bottom:1.3em;
}

.rightbar-pad-custom {
    margin-top: 4em;
    float: right;
    position: relative;
    right: -20px;
}

.rightbar-pad-custom p{
    width: 250px;
    position: relative;
    left: -15px;
}

/*
.footer-large{
    margin-bottom:0px !important;
}

.footer-large ul{
    list-style-type: none;
    float:left;
    -webkit-padding-start: 0px;
}

*/

.white{
    color:#ffffff !important;
}

/*
.footer-large ul li{
    color:#cbcbcb;
    font-size: 16px;
     font-family: 'Cabin', sans-serif;
    font-style: normal;
    font-weight: 400;
    display: -webkit-box;
    vertical-align: middle;
    margin: 5px 0 -16px 0px;
    position: relative;
    left: 5px;
}


.footer-large img.star{
    float:left;
    margin-right: .5em;
    margin-top: .5em;
}

*/

.underline{
    text-decoration: underline;
}

.contain-fireman{
    overflow:hidden;
}

.fireman{
    position: absolute;
    bottom: 0%;
    left: 5%;
}

.black-footer{
    position: relative;
    background:black;
    height: 3.5em;
}

.top-footer-contain{
    color:black;
    padding-bottom: 10px;
    position:relative;
    height:49px;
}

.top-footer-contain p {
    position: absolute;
    padding-top: 13px;
    margin-left: 20%;
}

.bottom-footer-custom{
    color:#ffffff;
    padding-top:15px;
}

.small-bottompad{
    padding-bottom:1.3em;
}



@media (max-width: 992px) {
    
   /* .footer-item{
        min-width:200px;
        padding-bottom:1em;
    } */

    #primary-menu{ 

    }

    .secondary-menu{

    }

}

@media(min-width:992px){
    .hero-tagline{
        margin-top: 35%
    }
}


.navbar.navbar-static-top {
    background: none;
    margin-bottom: -50px;
}

.navbar-brand.logo-nav:hover {
    opacity: .8;
}


navbar-brand img {
    max-width: 100px;
} 


@media (min-width: 768px){
navbar-brand img {
    margin-bottom: 24px;
    width: 120px;
} 

}

@media (min-width: 1100px){
navbar-brand img {
    width: 145px;
} 
}

@media (min-width: 768px){

   .navbar .navbar-text {
      color: #66666C;
      font-family: adelle, serif;
      font-size: 16px;
      font-weight: 300;
       margin-bottom: 0;
       margin-top: 50px;
   }
}


/* Homepage Specific*/
.header-tagline{
    position: absolute;
    top: 3em;
    padding-left: 15px;
    color: #b2b2b5;
    text-transform: none;
}

.hero{
        background-size: cover;
        border-top: 2px solid #B7B7B7;
	text-align: center;
	width:100%;
}

.hero-tagline{
    padding:25px;
    position: relative;
}

.ribbon {
    color:#fff;
    font-size: 16px;
    font-family: "adelle",serif;
    font-weight: 300;
    background: #2d91d4;
    padding: 14px 20px 6px 40px;
    position: relative;
    z-index: 1;
}

.ribbon a {
    color: #fff;
    display: block;
}

.ribbon a:hover {
    color: #fff;
    text-decoration: underline;
}

.shield{
    z-index: 2;
    position: absolute;
    left: -15px;
    top: 20px;
}

.ribbon-tail {
    position: absolute;
    right: 0;
    bottom:17px;
}


.thumbnail {
background: url('../images/background-texture.html');
border: 1px solid #fff;
border-radius: 0;
margin-bottom: 20px;
padding: 16px 4px 4px 4px;
}

.image-col-contain{
     padding:15px 25px 55px 25px;
     background-color:#2e2e2e;
     margin-left:40px;
     margin-bottom:3em;
     text-align: center;
     display: table;
    display: inline-block;
}

.image-col-contain:first-child{
    margin-left:0px !important;
}

.image-col-contain p{
    text-align:center;
    display: inline;
    line-height: 55px;
    padding-right: 1em;
    padding-left: 1em;
    /*
    padding-top: 1em;
    padding-right: 1em;
    padding-left: 1em;
    */
}

.image-col-1{
    width:auto;
    height:350px;
}

.image-col-2{
    width:auto;
    height:350px;
}

.container-custom{
    width:1170px;
}

.custom-top-pad{
    padding-top: 3em;
    margin-left:30px;
    margin-bottom:3em;
}

/* Autocomplete Css */
ul.jq-ui-autocomplete {
    position: absolute;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #aaa;
    margin: 0px;
    padding: 0;
    max-height: 164px;
    list-style: none;
    line-height: 0.75em;
    color: #333;
}
ul.jq-ui-autocomplete li { 
  display: block; 
  padding: .3em .5em .3em .3em; 
  overflow: hidden;
  width: 100%;
}

ul.jq-ui-autocomplete li.active { 
  background-color: #3875d7; 
  color: #fff;
}

.jsonreturn{
    margin-right: auto;
    margin-left: auto;
    background-color: #ffffff;
    width: 80%;
}

.evenTr{
    background:#E0E0E0;
}

.thumbnail a.btn {
    white-space: normal;
}


@media (max-width: 952px){

    .navbar-brand.logo-nav img {
        width: 140px;
        height: 140px;
    }

    #primary-menu.nav>li>a {
        padding:10px 6px;
    }

}


@media (max-width: 820px){
    #primary-menu {
        width: 534px;
        height: 130px;
    }

}

/* Wordpress Feed 

.feedEkList{width:450px; list-style:none outside none;background-color:#FFFFFF; border:1px solid #D3CAD7; padding:4px 6px; color:#3E3E3E;}
.feedEkList li{border-bottom:1px solid #D3CAD7; padding:5px;}
.feedEkList li:last-child{border-bottom:none;}
.itemTitle a{font-weight:bold; color:#4EBAFF !important; text-decoration:none }
.itemTitle a:hover{ text-decoration:underline }
.itemDate{font-size:11px;color:#AAAAAA;} 
*/
.feedEkList{
  list-style: none outside none;
  margin: 0;
  padding: 0 20px 0 0;
  text-align: left;
  text-transform: capitalize;
}

.feedEkList li {
  border-bottom: 2px solid;
  margin-bottom: 2em;
  padding-bottom: 2em;
}

.feedEkList .itemTitle {
  font-family: "adelle", serif;
  font-weight: 300;
  font-size: 18px;
}

.organization-name {
  width: 700px;
}