body {
    /*background:url(../img/team/edward.jpg) !important ;*/
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-weight:bold;
    margin-top:0;
    font-size:inherit;
}

p{
    font-size: 16px;
    color: #9498ab;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.6em;
}

a{
    color:#1abc71;
}

.content h3{
    color: #1abc71;
    font-weight: 800;
    font-size: 13px;
    margin-left: 2px;
    border-bottom: 3px solid #1abc71;
    padding-bottom: 10px;
    margin-bottom: 30px;
    display:inline-block;
    text-transform: uppercase;
}

h4{
    color: #274E76;
    font-size: 16px;
    margin: 20px 0 10px 0;
}  
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9{
    padding-right:10px;
    padding-left:10px;
}

section.slogan h2{
    color:#274e76;
}


section.double-content ol li {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6em;
    color: #9498ab;
}

ol.nested{

    list-style-type:lower-latin;
    margin-left:20px;
}

.terms{
    margin-top:50px;
}

.section{
    margin:30px 0;
}

.top-margin{
    margin-top:20px;
    
}

#btnactive{
    display:none;
}

.unseen{
    visibility:hidden;
}

.none{
    display:none;
}

.contact-right p{
    margin-bottom:0 !important;
}

.contact-right h2{
    margin-bottom:10px !important;
}



@media (min-width: 1350px){
    #quote-popup #quote-popup-content .quote-form .quote-form-content {
        width: 620px;
        float: right;
        padding: 80px 40px 40px 40px;
    }
}

@media (max-width: 499px){
    #quote-popup #quote-popup-content {
        height:1000px !important;
    }
}

/*
@media (min-width: 1350px){
    #quote-popup #quote-popup-content .quote-form .quote-form-background {
        width: 300px;
        height: 450px;
    }
}

#quote-popup-content{
    height:450px !important;
}
*/

/********Header & Nav**********/

#logo img{
    padding:0.6em;
}

#header-wrap{
    background-color:#274e76;
}

div#primary-menu-trigger{
    color:#fff;
    font-size:18px;
}

.header-extras li .he-text{
    color:#274e76;
}

.header-extras li .he-text span{
    /*color:#7DBA2F;*/
}

.i-plain{
    color: #ccc;
}

/*
#primary-menu .container{
    width:1270px;
}
*/

#primary-menu.style-2{
    border-bottom: 2px solid #274e76;
    background-color:#274e76;
}

#primary-menu ul li > a{
    color:#fff;
}

#primary-menu ul ul li > a{
    font-family: 'Signika', sans-serif;
}

#primary-menu ul li:hover > a, #primary-menu ul li.current > a{
    text-decoration:underline;
    color:#fff;
}


#primary-menu ul ul:not(.mega-menu-column), #primary-menu ul li .mega-menu-content{
    width:150px;
}




.add-driver, .other-claim-free, .terms, .other-sums{
    display:none;
}


#header .form{
    float:right;
    margin: 25px 0 20px 16px;    
}


@media (max-width: 992px) {

    #header .form{
        display:none;
    }
}





/****************Xmas Hours*******************/

.xmas-hours{
    display:inline-block;
    width:220px;
}


/*************Icons******************/


[class^="icon-"], [class*=" icon-"], [class^="icon-line-"], [class*=" icon-line-"], [class^="icon-line2-"], [class*=" icon-line2-"], .side-header #primary-menu ul > li.sub-menu > a:after {
    display: inline-block;
    font-family: 'FontAwesome';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-twitter:before {
    content: "\f099";
}

.icon-email3:before{
    content: "\f0e0";
}

.icon-call:before{
    content: "\f095";
}

.icon-reorder:before{
    content: "\f0c9";   
    
}


/********Page titles**********/

#page-title h1{
    color: #274E76;
    font-size: 32px;
}

#page-title h1 span{
    color: #1abc71;
}

h3.section-heading{
    color: #1abc71;
    font-weight: 800;
    font-size: 13px;
    margin-left: 2px;
    border-bottom: 3px solid #1abc71;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 60px;
    text-transform: uppercase;
}


section.call-to-action .left h2{
    color:#274e76;
}

/********Top image**********/

.header-section {
    padding: 110px 0 80px 0;
    background-size:cover;
    background-position:50% 80%;
    text-align:center;
}

.header-section h1{
    font-size:35pt;
    margin-bottom:0.5em;
    color:#fff;
}

#home-header{
    background-image: url(../img/walk.jpg);
}

.header-page{
    background-color:#f5f5f5;
}

.header-page .center{
    padding:0 !important;
}



@media (min-width: 1500px) {

    #services .container {
        width: 1450px;
    }
}


/********Emergency numbers**********/

.em-numbers{
    width:100% !important;
    float:none;
}


/*section styles*/

.list-section .insurance-params{
    max-width:800px;
    margin:0 auto;
}

section .center {
    padding: 75px 0;
}

/*
@media (max-width: 1349px) and (min-width: 950px){
    .center {
        width: 800px;

    }
}
*/


@media (min-width: 1350px) {
    .insurance-params .params {
        width: inherit;
    }
}

/*hover effects*/

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**********Home page***************/

section#services{
    padding: 20px 0;
    background-color:#cee5ee;
}

/* Common style */
.grid figure {
	position: relative;
	overflow: hidden;
	margin: 10px 0;
	max-height: 360px;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;
	width: 100%;
/*    min-height:250px;*/
	opacity: 0.8;
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    -webkit-transition: all 400ms ease-out;
    -moz-transition: all 400ms ease-out;
    -o-transition: all 400ms ease-out;
    -ms-transition: all 400ms ease-out;
    transition: all 400ms ease-out;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 100;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}


@media (max-width: 991px) {
    .grid figure img {
        min-height:250px;

    }
}

@media (max-width: 480px) {
    .grid figure img {
        min-height:inherit;

    }
}

/*---------------*/
/***** Sadie *****/
/*---------------*/

figure.effect-sadie figcaption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: -webkit-linear-gradient(top, rgba(39,78,118,0) 0%, rgba(39,78,118,0.8) 65%);
	background: linear-gradient(to bottom, rgba(39,78,118,0) 0%, rgba(39,78,118,0.8) 65%);
	content: '';
	opacity: 0;
	-webkit-transform: translate3d(0,50%,0);
	transform: translate3d(0,50%,0);
}

figure.effect-sadie h2 {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	color: #fff;
    font-size:26px;
	-webkit-transition: -webkit-transform 0.35s, color 0.35s;
	transition: transform 0.35s, color 0.35s;
	-webkit-transform: translate3d(0,-50%,0);
	transform: translate3d(0,-50%,0);
}

figure.effect-sadie figcaption::before,
figure.effect-sadie p {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-sadie p {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 2em;
	width: 100%;
	opacity: 0;
    color:#fff;
	-webkit-transform: translate3d(0,10px,0);
	transform: translate3d(0,10px,0);
}

figure.effect-sadie:hover h2 {
	color: #fff;
	-webkit-transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
	transform: translate3d(0,-50%,0) translate3d(0,-40px,0);
}

figure.effect-sadie:hover figcaption::before ,
figure.effect-sadie:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}



figure.effect-sadie:hover img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}




/*********Forms**************/

label{
    font-family:inherit;
    text-transform:none;
    letter-spacing:0.2px;
    font-size:16px;
}


label.radio1 {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-left: 25px;
  margin-right: 15px;
}



input[type=radio] {
  content: "";
  display: inline-block;
 
  width: 16px;
 
  margin: 0 10px;
/*
  position: absolute;
  left: 0;
  bottom: 1px;
*/
  color: #1abc71;
  background-color: #1abc71;
}

input[type='radio']:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
/*
    top: -2px;
    left: -1px;
*/
    position: relative;
    background-color: #d1d3d1;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 3px solid white;
}

input[type='radio']:checked:after {
    width: 15px;
    height: 15px;
    border-radius: 15px;
/*
    top: -2px;
    left: -1px;
*/
    position: relative;
    background-color: #1abc71;
    content: '';
    display: inline-block;
    visibility: visible;
    border: 3px solid white;
}




:placeholder {
   color: #4e4e4e !important;
}

::placeholder {
   color: #4e4e4e  !important;
}

::-webkit-input-placeholder {
   color: #4e4e4e  !important;
}

:-moz-placeholder { /* Firefox 18- */
   color: #4e4e4e  !important;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #4e4e4e  !important;
}

:-ms-input-placeholder {  
   color: #4e4e4e  !important;
}


section.quote-forms .quote-form-content .form input[type="date"] {
    margin-bottom: 10px;
    background: #fdfdfd;
}


.custom-dropdown.last {
    margin-right: 10px;
}


section.quote-forms .quote-form-content textarea {
    margin: 0 0 25px 0;
    background: #fdfdfd;
}

@media (min-width: 1350px){
    section.quote-forms .quote-form-content .form input[type="text"], section.quote-forms .quote-form-content .form input[type="tel"], section.quote-forms .quote-form-content .form input[type="email"] {
        width: 220px;
    }
      
    
    section.quote-forms .quote-form-content .form select {
        width: 220px;
    } 
    
    section.quote-forms .quote-form-content textarea {
        width: 500px;
    }
    
}

@media (max-width: 599px){
    section.quote-forms .quote-form-content{
        padding-top:0;
    }
    
}


/*********Insurance promo page**************/

@media (min-width: 1350px){
    .insurance-list .insurance-params .params{
        float:none;
    }
}


/*********Emergency contact page**************/

.insurance-params table{
    width:100%;
}


/*********About us page**************/


img.ed{
    padding:0.3em;
}

.team-title span{
    font-family:inherit;
    font-weight:300;
}



.clients-grid li a{
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);    
}

.clients-grid li a:hover{
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);    
    
}


/*********Button**************/

.box-with-image-left .quote-page-button{
    padding: 0px 35px;
    height: 60px;
    font-size: 18px;   
}

.send-quote{
    padding: 0px 35px;
    height: 60px;
    font-size: 18px;   
}



/***contact us***/

.contact-right{
    position:absolute;
    top:40px;
    right:40px;
}




/**********Footer contact section***************/

section.contact .contact-details h3{
    color: #1abc71;
}

footer .green-line{
    background: #1abc71;
}



/*****Popup







/*
@media (max-width: 1349px) and (min-width: 950px){
    section.box-with-image-left .right {
        width: 400px;
        float: right;
        padding: 10px 30px;
    }
}*/


#contact-popup2 #contact-popup2-background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba( 15, 19, 36, 0.73 );
    z-index: 99998;       
    display: none;
}

#contact-popup2 #contact-popup2-content {
    background: #fdfdfd;
    position: fixed;
    top: -10000px;
    left: 50%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    box-shadow: 0 0 7px rgba( 15, 19, 36, 0.73 );
    z-index: 99999;
}

#contact-popup2 #contact-popup2-content #google-map {
    position: absolute;
    left: 0;
    top: 0;
    -webkit-border-top-left-radius: 2px;
    -moz-border-top-left-radius: 2px;
    border-top-left-radius: 2px;
    -webkit-border-top-right-radius: 2px;
    -moz-border-top-right-radius: 2px;
    border-top-right-radius: 2px;
}

#contact-popup2 #contact-popup2-content .padding {
    font-size: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#contact-popup2 #contact-popup2-content h2 {
    color: #274E76;
    font-size: 32px;
    margin-bottom: 30px;
}

#contact-popup2 #contact-popup2-content h2 span {
    color: #1abc71;
}

#contact-popup2 #contact-popup2-content h3 {
    color: #1abc71;
    font-weight: 800;
    font-size: 13px;
    margin-left: 2px;
    border-bottom: 3px solid #1abc71;
    padding-bottom: 10px;
    display: inline-block;
    margin-bottom: 41px;
    text-transform: uppercase;
}

#contact-popup2 #contact-popup2-content h3.right {
    position: absolute;
    color: #274E76;
    font-weight: 800;
    font-size: 32px;
    text-transform: uppercase;
    border: none;
}

#contact-popup2 #contact-popup2-content h4 {
    color: #274E76;
    font-size: 16px;
    margin: 20px 0 10px 0;
}

#contact-popup2 #contact-popup2-content p {
    font-size: 16px;
    color: #9498ab;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.6em;
}

#contact-popup2 #contact-popup2-content .form {
    position: relative;
}

#contact-popup2 #contact-popup2-content input[type="text"], #contact-popup2 #contact-popup2-content input[type="tel"], #contact-popup2 #contact-popup2-content input[type="email"] {
    margin: 0 10px 10px 0;
    background: #fdfdfd;
}

#contact-popup2 #contact-popup2-content input[type="text"].last, #contact-popup2 #contact-popup2-content input[type="tel"].last, #contact-popup2 #contact-popup2-content input[type="email"].last {
    margin-right: 0;
}

#contact-popup2 #contact-popup2-content textarea {
    height: 79px;
    margin: 0 0 25px 0;
    background: #fdfdfd;
}

#contact-popup2 #contact-popup2-content button {
    display: block;
    line-height: 1;
    background: #fdfdfd;
    margin-top:10px;
}

#contact-popup2 #contact-popup2-content button:hover {
    background: #274E76;
}

#contact-popup2 #contact-popup2-content #contact-popup2-close {
    position: absolute;
    right: -53px;
    top: 20px;
    background: #1abc71;
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    font-size: 16px;
    -webkit-border-top-right-radius: 2px;
    -moz-border-top-right-radius: 2px;
    border-top-right-radius: 2px;
    -webkit-border-bottom-right-radius: 2px;
    -moz-border-bottom-right-radius: 2px;
    border-bottom-right-radius: 2px;
    cursor: pointer;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

#contact-popup2 #contact-popup2-content #contact-popup2-close:hover {
    background: #1ab36c;
}

#contact-popup2 #contact-popup2-content .background-icon {
    position: absolute;
    font-size: 300px;
    z-index: -1;
    opacity: 0.05;
    -webkit-transform: rotate( 25deg );
    -moz-transform: rotate( 25deg );
    transform: rotate( 25deg );
    bottom: -50px;
    right: -50px;
}

#contact-popup2 #contact-popup2-content .contact-form-thanks {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba( 253, 253, 253, 0.85 );
    top: 0;
    left: 0;
    font-size: 16px;
    color: #274E76;
    font-weight: 300;
    display: none;
}

#contact-popup2 #contact-popup2-content .contact-form-thanks .contact-form-thanks-content {
    width: 300px;
    margin: 150px auto 0 auto;
    text-align: center;
    line-height: 1.6em;
}

#contact-popup2 #contact-popup2-content .contact-form-thanks .contact-form-thanks-content .contact-form-thanks-close {
    text-decoration: underline; 
    cursor: pointer;
}

#contact-popup2 #contact-popup2-content .contact-form-thanks .contact-form-thanks-content .contact-form-thanks-close:hover {
    text-decoration: none; 
}

@media (min-width: 1350px) {

    #contact-popup2 #contact-popup2-content {
        width: 1000px;
        margin-left: -500px;
        height: 650px;
        margin-top: -300px;
    }
    
    #contact-popup2 #contact-popup2-content input[type="text"], #contact-popup2 #contact-popup2-content input[type="email"], #contact-popup2 #contact-popup2-content input[type="tel"] {
        width: 253px;   
    }
    
    #contact-popup2 #contact-popup2-content textarea {
        width: 568px;
    }
    
    #contact-popup2 #contact-popup2-content #google-map {
        width: 300px;
        height: 650px;
    }
    
    #contact-popup2 #contact-popup2-content .padding {
        padding: 40px;
        margin-left: 300px;
    }
    
    #contact-popup2 #contact-popup2-content h3.right {
        right: 40px;
        top: 40px;
    }
}         

@media (min-width: 950px) and (max-width: 1349px) {

    #contact-popup2 #contact-popup2-content {
        width: 850px;
        margin-left: -425px;
        height: 600px;
        margin-top: -300px;
    }
    
    #contact-popup2 #contact-popup2-content input[type="text"] {
        width: 178px;   
    }
    
    #contact-popup2 #contact-popup2-content textarea {
        width: 418px;
    }
    
    #contact-popup2 #contact-popup2-content #google-map {
        width: 300px;
        height: 600px;
    }
    
    #contact-popup2 #contact-popup2-content .padding {
        padding: 40px;
        margin-left: 300px;
    }
    
    #contact-popup2 #contact-popup2-content h3.right {
        right: 40px;
        top: 40px;
    }
}

@media (min-width: 600px) and (max-width: 949px) {

    #contact-popup2 #contact-popup2-content {
        width: 540px;
        margin-left: -270px;
        position: absolute;
        height: auto;
        margin-top: -300px;
    }
    
    #contact-popup2 #contact-popup2-content input[type="text"] {
        width: 188px;   
    }
    
    #contact-popup2 #contact-popup2-content textarea {
        width: 438px;
    }
    
    #contact-popup2 #contact-popup2-content #google-map {
        width: 100%;
        height: 250px;
    }
    
    #contact-popup2 #contact-popup2-content .padding {
        padding: 25px;
        margin-top: 250px;
    }
    
    #contact-popup2 #contact-popup2-content h3.right {
        right: 25px;
        top: 25px;
    }
}

@media (max-width: 599px) { 

    #contact-popup2 #contact-popup2-content {
        width: -webkit-calc( 100% - 60px );
        width: -moz-calc( 100% - 60px );
        width: calc( 100% - 60px );
        margin-left: 30px;
        left: 0;
        position: absolute;
        height: auto;
        margin-top: -300px;
    }
    
    #contact-popup2 #contact-popup2-content input[type="text"],
    #contact-popup2 #contact-popup2-content textarea {
        width: -webkit-calc( 100% - 52px );
        width: -moz-calc( 100% - 52px );
        width: calc( 100% - 52px );
    }
    
    #contact-popup2 #contact-popup2-content #google-map {
        width: 100%;
        height: 250px;
    }
    
    #contact-popup2 #contact-popup2-content .padding {
        padding: 25px;
        margin-top: 250px;
    }
    
    #contact-popup2 #contact-popup2-content h3 {
        margin-bottom: 30px;
    }   
    
    #contact-popup2 #contact-popup2-content h3.right {
        display: none;
    }
    
    #contact-popup2 #contact-popup2-content #contact-popup2-close {
        width: -webkit-calc( 100% - 40px );
        width: -moz-calc( 100% - 40px );
        width: calc( 100% - 40px );
        left: 0;
        right: auto;
        top: -40px;
        text-align: center;
        -webkit-border-radius: 2px 2px 0 0;
        -moz-border-radius: 2px 2px 0 0;
        border-radius: 2px 2px 0 0;
    }
}
