/* Drupal only */
.feed-icon {
  display: none;
}

#comments .user-picture {
  width:64px;
  height:64px;
}
#comments .media-body {
  border: 2px solid #95a495;
  padding: 1em;
}
.comment-wrapper {
  border-top: 1px solid #40695a;
  margin-top: 2em;
}
#comments .indented {
  padding-left:64px;
}
/* Only indent 1 time */
#comments .indented .indented{
  padding-left:0;
}
#comments, #comment-form-wrapper {
  margin-top: 3em;
}

div.tags {
  margin-bottom: 1em;
  color: #95a495;
}
div.tags a {
  color: #95a495;
}

.square-date, .square-state {
  background-color: #95a495;
  color: white;
  margin-top: 26px;
  padding:2px;
}
.square-date span, .square-state span {
  display: block;
  font-style: normal;
  font-weight: bold;
  text-align: center;
}
.square-date a, .square-state a {
  color: white;
}
.square-date-day, .square-state-state {
  font-size:2em;
  line-height: 1em;
}
.square-date-year {
  font-size:.8em;
}

#front-row-1 {
  height: 410px;
  margin-bottom: 6em;
  background-repeat: no-repeat;
  background-position: center;
}
#front-blurb-featured {
  background-color: rgba(255,255,255,.80);
  margin-top: 100px;
  padding: 0 2em 2em 2em;
  font-size: 1.2em;
}
#front-row-1 h2 {
  color: black;
}

.front-row-1-dark #front-blurb-featured {
  background-color: rgba(0,0,0,.80);
  margin-top: 100px;
  padding: 0 2em 2em 2em;
  font-size: 1.2em;
  color:white;
}
.front-row-1-dark#front-row-1 h1,
.front-row-1-dark#front-row-1 h2,
.front-row-1-dark#front-row-1 h2 small{
  color: white;
}


#front-login-form {
  background-color: #95a495;
  color: white;
  padding: 30px 50px;
}
#front-login-form h1 {
  color: white;
  text-align: center;
}
#front-login-form p {
  text-align: center;
}
#front-login-form a {
  color: white;
}
#front-login-form button {
  margin-bottom: 1em;
}
#front-blurb-experience {
  padding-right: 50px;
}
#front-row-2 {
  margin-bottom: 6em;
}
#front-login-form .btn-logged-in {
  width:225px;
  margin-bottom:.5em;
}

#front-row-3 .front-call-block .front-call-block-img-and-text {
  background-size: 100%;
  background-repeat: no-repeat;
  margin-bottom: 0;
}
#front-row-3 .front-call-block a {
  color:white;
}
#front-row-3 .front-call-block .reveal {
  display: none;
}
#front-row-3 .front-call-block:hover .reveal {
  display: block;
}
#front-row-3 .front-call-block .front-call-block-button>a {
  display: block;
  color:white;
  height: 4em;
  font-size: 1.4em;
  text-align: center;
  padding-top: 1.2em;
  margin-top:0;
}
#front-row-3 .front-call-block>div { /* Wrapper fixes white line cause by rounding error */
  background-color: #604536;
}
#front-row-3 .front-call-block>div:hover {
  background-color: #95a495;
}
#front-row-3 .front-call-block-img-and-text>a {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 1.2em;
  position: relative;
  background-color: rgba(0,0,0,.5);
}
#front-row-3 .front-call-block-img-and-text>a>span {
  display: block;
  position: absolute;
  top: 15%;
  padding-left: 2em;
  padding-right: 2em;
  text-shadow: 1px 1px 2px rgba(150, 150, 150, 1);
}
.front-call-block-button strong {
  text-transform: uppercase;
}

#front-row-3 {
  margin-bottom: 6em;
}

#front-row-4 {
  height: 410px;
  margin-bottom: 6em;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/themes/custom/jeb/images/front-fire.jpg);
  color: white;
  text-align: center;
}
#front-row-4 h2 {
  color: white;
}
#front-blurb-brush {
  margin-top: 100px;
  padding: 0 2em 2em 2em;
  font-size: 1.4em;
}
#front-blurb-brush p {
  padding-top: 1em;
}
#front-row-4 {
  margin-bottom: 2em;
}

#front-row-5 {
  height: 500px;
  background-repeat: no-repeat;
  background-position: left;
  background-image: url(/themes/custom/jeb/images/front-brokers-r.jpg);
}
#front-blurb-become {
  color: white;
  background-color: #40695a;
  margin-top: 50px;
  padding: 2em 2em 2em 2em;
  font-size: 1.2em;
}
#front-blurb-become h2 {
  color: white;
  margin-top: 0;
}
#front-blurb-become p {
  padding-top: 1em;
}
@media (max-width: 991px) {
  #front-row-5 {
    background-image: none;
    height: auto;
    margin-bottom: 4em;
  }
  #front-blurb-become {
    margin-top: 0;
  }
}

#front-row-6 {
  min-height: 345px;
  margin-bottom: 6em;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/themes/custom/jeb/images/phone_girl_fade_1920x620.jpg);
  color: white;
}
#front-row-6 h2, #front-row-6 h3  {
  margin-top: 0;
}
#front-row-6 h3 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.4em;
  line-height: 1.6em;
  min-height: 120px;
}
#front-blurb-recent-news {
  padding: 0 15px 1em 15px;
  font-size: 1.4em;
}
.front-blurb-news-item {
  margin-bottom:15px;
}
#front-blurb-recent-news p {
  padding-top: 1em;
}
#front-row-6 {
  margin-bottom: 4em;
}
@media (max-width: 991px) {
  #front-row-6 {
    background-size: cover;
  }
  #front-row-6 .col-xs-6 {
    margin-bottom: 2em;
  }
  #front-row-6 h2 {
    min-height: 0;
  }

}

#front-row-8 {
  min-height: 345px;
  margin-bottom: 4em;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/themes/custom/jeb/images/hiscox_tools_1920x620.jpg);
  color: black;
}
#front-row-8 h2, #front-row-8 h3  {
  margin-top: 0;
  color:black;
  font-weight: bold;
}
#front-row-8 h3 {
  text-transform: uppercase;

  font-size: 1.4em;
  line-height: 1.6em;

}
#front-row-8 img {
  margin-left:3em;
  margin-top:1em;
}
#front-row-8 #front-blurb-recent-news {
  color: #fff;
  font-size: 1.4em;
  width: 400px;
}
#front-row-8 #front-blurb-recent-news p {
  padding-top: 1em;
}

#front-row-8 .btn {
  background-color: #337ab7;
}

@media (max-width: 991px) {
  #front-row-8 {
    background-size: cover;
  }
  #front-row-8 .col-xs-6 {
    margin-bottom: 2em;
  }
  #front-row-8 h2 {
    min-height: 0;
  }
  #front-row-8 #front-blurb-recent-news {
    background-color:rgb(200,200,200)
  }



}


#front-row-7 {
  margin-top: 2em;
  margin-bottom: 2em;
}
#front-row-7 img {
  margin-top: 1em;
}

.field--name-body {
  margin-top: 2em;
}

.page-node-type-page .product-features {
  background-color: #95a495;
  color: white;
}
.page-node-type-page .product-actions {
  color: white;
  background-color: #40695a;
}
.page-node-type-page .product-actions a:not(.btn){
  color: white;
  background-color: #40695a;
}
.page-node-type-page .product-actions a:not(.btn):hover{
  color: aliceblue;
  background-color: #40695a;
}
.page-node-type-page .product-actions a.btn{
  box-shadow:1px 1px #333;
}

body.page-taxonomy-term .field-type-image {
  text-align:center;
}

.view-news-by-carrier .field-type-image {
  float:left;
  margin-right: 2em;
}

.view-id-archive.view-display-id-block_1 .active {
  color: #604536;
}
.view-id-archive.view-display-id-block_1 ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.min-size-square-date {
  width: 100px;
}

#node-323 section h1 {
  background-color: #40695a;
  margin-left: -100%;
  margin-right: -100%;
  padding: .4em 100% .5em;
  color: white;
  overflow: hidden;
}
body.page-node-323{
  overflow-x: hidden;
}

#block-views-block-carrierimages-block-1 {
  margin: 2rem 0 2rem
}

.teaser .links .comment-add {
  display: none;
}
