@import url('../css/stylesheet.css');
@import url('../css/font-awesome.css');
@import url('../css/bootstrap-social.css');

body {
  padding-top: 75px; /*for fixed header, adjustment*/
  font-family: 'Open Sans', sans-serif;
}
body.home,
body.test-quoter {
  padding-top: 0;
}
body.test-quoter, div#main-navigation ul#menu.navbar-right {
  font-family: 'Nunito', sans-serif;
  font-weight: 200;
}
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3{
  font-family: Nunito, serif;
  margin-top: 0;
  font-weight: 600;
}
.lt-blue-txt {
  color: #3386db;
}
.semi-bold {
  font-weight: 400;
}
.small-txt {
    font-size: 12px;
}
.header {
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
 
    -webkit-transition-timing-function: cubic-bezier( 0.215, 0.610, 0.355, 1.000 );
    transition-timing-function: cubic-bezier( 0.215, 0.610, 0.355, 1.000 );
 
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
}
 
.header--hidden {
    -webkit-transform: translateY( -100% );
    -ms-transform: translateY( -100% );
    transform: translateY( -100% );
}
.navbar {
	padding: 0;
}
#main-navigation ul#menu > li {
    margin-left: 44.5px;
}


.navbar-right {
    float: right !important;
    margin-right: -22px !important;
}
.navbar-fixed-top {
    border-bottom: 1px solid #ccc;
    background-color: rgba(255, 255, 255, .8);
    min-height: 75px;
    z-index: 10;
}
.ccm-toolbar-visible .navbar-fixed-top{
  top: 49px;
  z-index: 10;
}
ul#menu.nav > li > a {
  padding: 10px 25px;
}
.navbar-header a,
#main-navigation ul#menu > li > a {
	color: #255271; /*#4d83b0*/
  border-top: 4px solid transparent;
  padding-top: 25px;
  padding-bottom: 25px;
}
#logo {
  padding-top: 8px;
}
#logo-gray {
	display: none;
}
#main-navigation {
    font-size: 16px;
}
#main-navigation .dropdown-menu>li>a:hover {
  color: #d1d1d1;
}
#main-navigation ul#menu > li > a:focus,
#main-navigation ul#menu > li > a:hover {
  background-color: transparent;
    border-top: 4px solid #255271;
}
#main-navigation .dropdown-menu>li>a:focus, 
#main-navigation .dropdown-menu>li>a:hover {
    background-color: #3487db !important;
    background-image: none;
}
a.btn-c {
  color: #fff;
}
a.btn-c:hover {
  text-decoration: none;
  color: #fff;
}
.ccm-toolbar-visible .navbar-fixed-top{
  top: 49px;
  z-index: 10;
}
#main-content {
  padding-bottom: 40px;
}
#page-content {
  margin-top: 50px;
  padding-bottom: 50px;
}
#copyright {
  margin-top: 20px;
  text-align: center;
}
#page-content .container .container,
.container .container {
  width: 100%;
}
#qf-form-wrap .qf-btn, #qf-form-wrap .qf-btn:hover {
    text-decoration: none;
    float: right;
    margin-right: 5px;
}
#qf-form-wrap [data-form="zipcode"] .qf-btn,
#qf-form-wrap [data-form="results"] .qf-btn {
    text-decoration: none;
    float: none;
    margin-right: 0;
}
blockquote {
  background: #cedeeb;
  margin: 1.5em 10px 20px;
  padding: 10px 20px;
  quotes: "\201C""\201D""\2018""\2019";
  display: block;
  border-left: 0;
  border-radius: 10px;
}
blockquote::before {
  color: #4d83b0;
    content: '\201c';
    font-size: 6em;
    line-height: 0;
    margin-right: 0.1em;
    vertical-align: -0.4em;
    font-family: 'Arial', sans-serif;
}

.zipcode h1 {
	padding-top: 20px;
}

.right-sidebar h2 {
	color:  #23516F;
	font-weight: 600;
	padding-top: 20px;
}

.leftContainer h1 {
	font-weight: 600;
}

cite {
  display: block;
  text-align: right;
  margin: 15px 0 0;
  font-size: 16px;
}
footer {
    padding: 40px 0 0;
    color: #ffffff;
}
#footer h2 {
	font-size: 16px;
	font-style: italic;
	font-family: 'Open Sans', sans-serif; 
	margin-bottom: 5px;
}
#footer .footer-cols ul {
    list-style-type: none;
    padding-left: 0;
}
.test-gray {
    font-family: 'Helvetica Neue Light Condensed', sans-serif !important;
}
.test-gray #main-navigation ul li ul.dropdown-menu li a:hover{background:#3f67d7;}

#footer a {
  color: #B5CDE0;
}
#footer a:hover {
    color: #fff;
    text-decoration: none;
}
.footer-cols {
  margin-bottom: 20px;
}
/* =========  VIVID ACCORDION OVERRIDES ========== */
.simple-accordion-group {
    margin-bottom: 5px;
}
.simple-accordion-title-shell {
  padding: 15px;
  background-color: #cedeeb;
  border-radius: 8px;
}
/* =========  VIDEO BANNER PAGE ========== */
.embed-containerBig {
    position: relative;
    padding-bottom: 20%;
    padding-top: 23%;
    height: 0;
    overflow: hidden;
    margin-bottom: 0px;
    opacity: 0;
}
.embed-containerBig iframe, .embed-containerBig video, .embed-containerBig object, .embed-containerBig embed {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 100%;
    height: 100%;*/
}

#videoFeature {
    position: relative;
    overflow: hidden;
}
#videoOverlay {
    position: absolute;
    z-index: 9;
    width: 100%;
    min-height: 615px;
}
#leftContainer {
    width: 75%;
    float: left;
    /*padding-left: 5%;*/
    padding-top: 4%;
    padding-bottom: 8%;
}
#videoFeature #leftContainer {
    width: 75%;
    /*padding-left: 5%;*/
    padding-top: 4%;
    padding-bottom: 8%;
    /*position: absolute;*/
    top: 0;
    left: 0;
}
#videoFeature #leftContainer {
    padding-top: 100px;
}
#videoOverlay h1 {
    font-size: 31px;
    line-height: 41px;
    font-weight: 600;
    padding-bottom: 55px;
    margin-bottom: 55px;
    text-shadow: 1px 1px 15px rgb(255, 255, 255);
}
video#example_video_1 {
    max-width: 100%;
}
#bigVideo {
    background-image: url(images/background-building.jpg);
    background-size: cover;
}

#banner {
    margin-top: 75px;
    height: 150px;
    overflow: hidden;
    position: relative;
}
#banner img {
  width: 100%;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%,-35%);
  -ms-transform: translate(-50%,-35%);
  transform: translate(-50%,-35%);
}
.term-life #banner img {
  -webkit-transform: translate(-50%,-30%);
  -ms-transform: translate(-50%,-30%);
  transform: translate(-50%,-30%);
}
.sections {
  margin-bottom: 60px;
}
#section1 {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    width: 100%;
    margin: 0 auto 40px;
}
#section1 h2 {
    margin-bottom: 30px;
}
#section3.sections {
  margin-bottom: 20px;
}
#section3 .col-sm-6 {
    margin-bottom: 30px;
}

#no-more-tables .table-striped>tbody>tr:nth-of-type(odd) {
  background-color: #eff8ff;
}
.section {
  padding: 2em 0;
}
/* ========== */
@media(max-width: 1309px){
   .fb-signin .btn-facebook {font-size: 15px;}
}


@media(max-width: 1199px){
    .navbar-right {
    margin-right: -20px !important;
}

#main-navigation ul#menu > li {margin-left:15px !important;}
}

@media (max-width: 991px) {
  video#example_video_1 {
    display: none;
  }
  .btn-social {text-align: center !important;}

  .navbar-right {
    margin-right: 0px !important;
}

#main-navigation ul#menu > li {margin-left:0px !important;}
}

@media (max-width: 767px) {
	body {
	    padding-top: 0px; /*110px*/
	}
	nav.header.navbar.navbar-fixed-top, nav.header.navbar.navbar-fixed-top.header--hidden {
	    position: relative;
	    transform: none;
	    margin-bottom: 0;
	}
	.navbar-header {
	    padding: 0 15px;
	}
	.slicknav_menu {
		background: #255271;
		margin-top: 10px;
	}
	#sidebar {
		margin-top: 20px;
	}

	#page-content {
		margin-top: 40px;
	}
  .page-template-full #page-content {
    margin-top: 60px;
  }
	.thanks-preferred-quote #page-content {
		margin-top: 60px;
	}
	.right-content,
	.left-content {
		margin-bottom: 20px;
	}
	#videoFeature #leftContainer {
		width: 100%;
	}
	.embed-containerBig {
		padding-bottom: 25%;
		padding-top: 40%;
	}
	#banner img {
		-webkit-transform: translate(-50%,-45%);
		-ms-transform: translate(-50%,-45%);
		transform: translate(-50%,-45%);
	}
	.about-us #videoOverlay h1 {
	    text-shadow: 1px 1px 15px rgb(0, 0, 0);
	    color: #fff;
	}
  /*======no more tables====*/
  /* Force table to not be like tables anymore */
  #no-more-tables table, 
  #no-more-tables thead, 
  #no-more-tables tbody, 
  #no-more-tables th, 
  #no-more-tables td, 
  #no-more-tables tr { 
    display: block; 
  }
 
  /* Hide table headers (but not display: none;, for accessibility) */
  #no-more-tables thead tr { 
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
 
  #no-more-tables tr { border: 1px solid #ccc; }
 
  #no-more-tables td { 
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee; 
    position: relative;
    padding-left: 50%; 
    white-space: normal;
    text-align:left;
    width: auto;
  }
 
  #no-more-tables td:before { 
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%; 
    padding-right: 10px; 
    white-space: nowrap;
    text-align:left;
    font-weight: bold;
  }
 
  /*
  Label the data
  */
  #no-more-tables td:before { content: attr(data-title); }

} 

@media(max-width: 569px){

   .fb-signin .btn-facebook {font-size: 12px;}
   .fb-signin .btn-social {padding-left:47px !important;}
       button.submit-form.qf-btn {
            font-size: 12px !important;
            padding: 15px 8px !important;
        }
}

@media(max-width: 402px){
   .fb-signin .btn-facebook {font-size: 11px;}
   .fb-signin .btn-social {padding-left:22px !important;}
   .btn-social.btn-lg > *:first-child {width: 20px !important; line-height:35px;}

}

@media(max-width: 350px){
  .fb-signin .btn-facebook {font-size: 10px;}
}

.insertion-form.page .checkbox input[type=checkbox] {
    position: relative;
    margin-left: -20px;
    top: -4px;
    width: auto !important;
    height: auto;
    margin-right: 5px;
}