/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/***********************JAMES RIVER GROUP***********************/
/****Global****/
html {margin-right: 0 !important; overflow-y: scroll !important;}

/*Header*/
.header{padding-top: 20px;}
.header--overlap {z-index: 2000 !important;}


/*Nav*/
.header--overlap:not(.header--sticky-active) .header__nav .nav__list--level1>li>.nav__link, .header--overlap:not(.header--sticky-active) .lang-select__button {
  font-weight: 900;
}

.module--header_nav {
  font-size: 15px;
}

.nav__list--flyout .nav__item--active-branch>a:before, .nav__list--flyout .nav__item--active>a:before {background:none !important; }

.nav__list--level1 {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: bold;
}

/*Hamburger*/
 .module--header_mobile_nav {margin: 10px -6px 0 0 !important;}
.header--overlap:not(.header--sticky-active) .header__mobile-nav .mnav__open{margin-top: -5px;}

/*JRG Claims Advantages cards*/
.JRGadvantages {
  min-height:175px;
}

/*Buttons*/
.btn{
  font-weight:bold;
  text-transform: uppercase;
}

.btn--medium {
  padding: 5px 25px 0px 25px;
  border-radius: 3px;
  font-size: .89rem;
  height: 40px;
  line-height: 2em;
}

.btn--medium.btn--outline:not(:hover) {
    padding: 5px 25px 0;
}

.btn--large {
  padding: 12px 25px 10px 25px;
  border-radius: 3px;
  font-size: .89rem;
  height: 45px;
  line-height: 1.6em;
}


.btn__icon svg{margin-bottom: 5px;}
.btn-yellow  {background-color:#FED55B!important; color:#526391!important;}
.hr-z{
  position:relative;
  z-index:104;
}

/*List Styles*/
#arrow {
  margin: 0;
  padding: 0;
}

#arrow ul{
  list-style-type: none;
  padding-left: 15px;
}

#arrow li {
  display: grid;
  grid-template-columns: 20px auto;
}

#arrow li a {
  display: block;
  text-align: left;
  text-decoration: none;
}

#arrow li::before {
  content: "\25BA \0020";
  font-size: 15px;
  color: #F9D55D;
  padding-top: 4px;
}
#arrow li a:hover {}

#arrow .active {}


#contact-icons{margin-left:-18px;}
.fa-ul{}
.fa-li{/*font-size: 23px;*/ color: red;}

/*Directors*/
/*p*/
.team {font-size: 16px; line-height: 24px;}

/*Footer*/
/*Footer list - icons*/
.gg-pin {
  box-sizing: border-box;
  position: relative;
  display: inline;
  transform: rotate(45deg) scale(var(--ggs,1));
  width: 18px;
  height: 18px;
  border-radius: 100% 100% 0 100%;
  border: 2px solid;
  margin: 0px 5px 0 0;
  float:left;
  color: #F9D55D;
}
.gg-pin::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid;
  top: 3px;
  left: 3px;
  border-radius: 40px;
}

.gg-phone {
  box-sizing: border-box;
  position: relative;
  display: inline;
  width: 22px;
  height: 22px;
  transform: scale(var(--ggs,1));
  margin-right: 4px;
  float: left;
  color: #f9d55d;
}
.gg-phone::after,
.gg-phone::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute
}
.gg-phone::after {
  width: 18px;
  height: 18px;
  border-top-left-radius: 1px;
  border-bottom-right-radius: 1px;
  border-bottom-left-radius: 12px;
  border-left: 4px solid;
  border-bottom: 4px solid;
  left: 2px;
  bottom: 2px;
  background:
    linear-gradient(
      to left,
      currentColor 10px,
      transparent 0
    ) no-repeat right 11px/6px 4px,
    linear-gradient(
      to left,
      currentColor 10px,
      transparent 0
    ) no-repeat -1px 0/4px 6px
}
.gg-phone::before {
  width: 20px;
  height: 20px;
  border: 6px double;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
  bottom: 2px;
  left: 2px
}

.gg-mail,
.gg-mail::after {
  display: block;
  box-sizing: border-box;
  height: 14px;
  border: 2px solid
}
.gg-mail {
  overflow: hidden;
  transform: scale(var(--ggs,1));
  position: relative;
  width: 18px;
  border-radius: 2px;
  float: left;
  display: inline;
  margin: 4px 7px 0 0;
  color: #f9d55d;
}
.gg-mail::after {
  content: "";
  position: absolute;
  border-radius: 3px;
  width: 14px;
  transform: rotate(-45deg);
  bottom: 3px;
  left: 0
}

.gg-share {
  box-sizing: border-box;
  position: relative;
  display: inline;
  transform: scale(var(--ggs,1));
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 100px;
  float:left;
  margin: 10px 18px 0 0;
  color: #f9d55d;
  box-shadow:
    10px -6px 0,
    10px 6px 0;
}
.gg-share::after,
.gg-share::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  border-radius: 3px;
  width: 10px;
  height: 2px;
  background: currentColor;
  left: 2px
}
.gg-share::before {
  top: 0;
  transform: rotate(-35deg)
}
.gg-share::after {
  bottom: 0;
  transform: rotate(35deg)
}

.gg-chevron-right {
  box-sizing: border-box;
  position: relative;
  display:inline;
  transform: scale(var(--ggs,1));
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 100px;
  margin-right: 4px;
  float: left;
  color: #f9d55d;
}
.gg-chevron-right::after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid;
  border-right: 2px solid;
  transform: rotate(-45deg);
  right: 6px;
  top: 4px
}

/*Footer*/
.footer__section--main {padding: 50px 0 0 0 !important;border-top: 8px solid #F9D55B;}
.footer__section--bottom {padding: 0px !important;}
.footer__section--main {padding-bottom:0 !important;}
.footer__icons{display:none;}
.footer__nav ul {
  line-height: 1.3em !important;
}

/****Global end****/


/*What We Do/Our Companies (Home)*/
.featshow {padding: 0px 24px 96px 0 !important;}
.featshow__controls {display:none !important;}
.featshow__content {width: 90% !important;}
.featshow--dark .featshow__content {background: #26396863 !important;}
.featshow__content__wrapper {
  width: 850px !important;
  padding: 55px 25px !important;
}
.featshow__nav {padding: 24px 24px 24px 0!important;}

.properties__item:not(:last-child) {
  margin-inline-end: 10px !important;
  padding-inline-end: 10px !important;
  border-inline-end: 0px solid !important;
}

.featshow__btn { 
  transform:none !important;
  border: solid 4px #fff !important;
  border-radius: 5px !important;
}
.featshow__btn--active { 
  transform: none !important;
  border: solid 4px #f9d55b !important;
  border-radius: 5px;
}

/*Buttons-sidebar-tabbed*/
.btn--accent.btn--fill  {/*color: #516392;*/}
.btn1 {
  box-sizing: initial;
  background-image: url(https://21465387.fs1.hubspotusercontent-na1.net/hubfs/21465387/2.%20JRG/img/btn_jrg-insurance.jpg);
  width: 297px;
  height: 100px;
  background-size: contain;

}

.btn2 {
  box-sizing: initial;
  background-image: url(https://21465387.fs1.hubspotusercontent-na1.net/hubfs/21465387/1.GLOBAL/btn_falls-lake.jpg);
  width: 297px;
  height: 100px;
  background-size: contain;

}

.btn3 {
  box-sizing: initial;
  background-image: url(https://21465387.fs1.hubspotusercontent-na1.net/hubfs/21465387/2.%20JRG/img/btn_jrg-reinsurance.jpg);
  width: 297px;
  height: 100px;
  background-size: contain;

}

/*Buttons-top-tabbed*/
.tabs__btn--active { 
  transform: none !important;
  /*border: solid 4px #f9d55b !important;*/
  opacity: 10 !IMPORTANT;
}

.tabs__nav .tabs__btn {
  margin: 0 0.28rem 0.56rem;
  height: 60px;
  background-color: #fff;
  border: 4px solid#fff;
  transform: none !important;
  opacity: 0.5;
}


.tabbed-box{
  margin: -15px 60px 20px 60px; 
  padding: 45px 90px; 
  /*border: 1px solid #ffffff54;*/
  background-color: #435581bf;
  border-radius: 3px;
  text-align:center;
}


.btn-top1 {
  box-sizing: initial;
  background-image: url(https://21465387.fs1.hubspotusercontent-na1.net/hubfs/21465387/2.%20JRG/img/btn_jrg-insurance.jpg);
  width: 297px;
  height: 100px;
  background-size: contain;

}

.btn-top2 {
  box-sizing: initial;
  background-image: url(https://21465387.fs1.hubspotusercontent-na1.net/hubfs/21465387/1.GLOBAL/btn_falls-lake.jpg);
  width: 297px;
  height: 100px;
  background-size: contain;

}

.btn-top3 {
  box-sizing: initial;
  background-image: url(https://21465387.fs1.hubspotusercontent-na1.net/hubfs/21465387/2.%20JRG/img/btn_jrg-reinsurance.jpg);
  width: 297px;
  height: 100px;
  background-size: contain;

}
/*Career Openings*/
#career-openings{ overflow: hidden;}
@media (max-width:600px){ #career-openings{ overflow: scroll; width:650px;} }

/*Blog*/
.blog-menu{ 
  padding: 15px 0px 10px 25px;
  background-color: #F5F5F5;
  margin: 0px 0 25px 0;
  border-radius: 10px;

}

/*Product (Home) */
.quickfeat__title {margin-top:8px;}
#product-title {
  margin-bottom:-60px;
  padding-top:20px;
}

#product-title .hr{
  z-index:100;
  position:relative;
}


.hs-input {
  padding: 0.8rem;
  background-color: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 3px;
  line-height: 1;
  box-shadow: 0px 0px 0px !important;
}
.hs-form-field{
  margin-bottom:10px;
}

textarea.hs-input{
  border-radius:3px;
}

.form--btn-large .hs-button {
  width: 100% !important;
  border-radius:3px !important;
}


/* Backgrounds*/
.parallax{background-attachment: fixed;}
.parallax{background-attachment: fixed;}




/* Backgrounds*/
.parallax{background-attachment: fixed;}
.content_bucket-row-1-background-image{background-attachment: fixed;}


/***********Mobile***********/

/*Careers Table*/

.listing__items {
width: 100% !important;
max-width:100% !important;
overflow-x: scroll !important; }
}

.container{width:100% !important;}
  

/*Menu*/
@media only screen
  and (min-device-width : 768px)
  and (max-device-width : 1024px) {
    .module--overlapping_header_buttons {
      display: none;}
}

@media (max-width:600px){
.header__section--main .header__center {
  padding-top:0 !important;}
}

@media (max-width:600px){
.header__logo__overlap {
  padding-top: 0px!important;
  width: 300px !important;
  margin-top: -2px;}
}

@media (max-width:600px){
.header__logo__static {
    margin-top:0px!important;
    padding-top:0px!important;
    width: 300px!important;
}
  

@media (max-width:600px){
.header__logo__sticky {
  padding-top: 10px!important;
  margin-top:0px;
  width: 300px !important;}
}

/*Products*/
@media (max-width:600px){
  .quickfeat__text{ margin-bottom:10px !important;}
}

/*Our Companies*/
@media (max-width:600px){
  .featshow__content {
    width: 97%!important;}
}

@media (max-width:600px){
  .featshow__content__wrapper {
    padding: 35px 15px!important;
    margin-right: -10px;}
}

@media (max-width:600px){
  .featshow__content{
    padding: 0 12px!important;}
}

@media (max-width:600px){
  .featshow__nav {
    padding: 24px 24px 0px 0!important;}
}

@media (max-width:600px){
  .tabbed-box {
    margin: 20px auto;
    padding: 20px 10px;
    border: 1px solid #fff;
    border-radius: 3px;}
}
  
@media (max-width:600px){
    .tabbed-box h1 { font-size:22px;}}
  
@media (max-width:600px){
    .tabbed-box p { font-size:16px; line-height:1.3em; margin-bottom:8px;}}
  
@media (max-width:600px){
.tabs--indent .tabs__tab{
  padding-left:0px!important;
  padding-right:0px!important;}
}

@media (max-width:600px){
.tabs__content .tabs__btn{
  background-color:#fff;
  height:55px;}
}

@media (max-width:600px){
  .tabs__tab {padding: 0px!important;}
}

@media (max-width:600px){
.tabs--indent.tabs--buttons-large .tabs__tab {
  padding-left: 0!important;
  padding-right: 0!important;}
}

@media (max-width:600px){
.tabs__btn--active {
  padding-top: 7px;}
}

@media (max-width:600px){
.btn-top1 {
margin-top: -33px;}
}

@media (max-width:600px){
.btn-top2 {
margin-top: -33px;}
}

@media (max-width:600px){
.btn-top3 {
margin-top: -33px;}
}