/*  
Theme Name: Safety National Responsive Theme Light - Carrier Chronicles 
Theme URI: 
Description: Theme for Safety National.
Version: 1.0
Author: Casey Govero
Author URI: http://safetynational.com
*/

html {
  height:100%;
}
body {
  overflow-x: hidden;
  position: absolute;
  top: 0px;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
  height: 100%;
  width: 100%;
}
.snnav-desktop-menu > ul > li > a {
  font-family: "Open Sans", sans-serif;
  display: inline-block;
  padding: 4px 6px 4px 6px;
  font-size: 13.5px;
  font-weight: 400;
  margin: 9px 5px;
  text-decoration: none;
  color: #fff;
}

#maincontentwrapper {
  position: relative;
  background: #fff;
  z-index: 0;
}

.footerrow {
  padding: 20px 0px 0px 0px;
  background: #fff;
  height: auto;
  font-size: 12px;
}
.footerrow p {
  color: #fff !important;
}
.footer-black-bottom {
  background-color: #0d0d0d;
}

.backgroundWhite {
  background-color: #fff;
}
.post-grid {
  display:none;
}

a.btnlink {
  color: white;
}

a.btnlink:hover {
  color: white;
  text-decoration: none;
}

a,
a img,
a img:hover {
  border: none;
  border-style: none;
  background: inherit;
  text-decoration: none;
}
.wp-video-shortcode {
  max-width:100%;
  height: auto;
}
a:hover {
  color: #3276b0;
  background: inherit;
  text-decoration: underline;
}

p {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #414042;
  line-height: 140%;
  padding: 0px;
}

ul,
ol,
li {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #414042;
  line-height: 150%;
}

hr {
  color: #ccc;
}
#main-content {
  max-width: 1067px !important;
  margin: 0px auto;
}
.floatright {
  margin-left: 20px;
  float: right;
  margin-bottom: 20px;
  padding-top: 10px;
}

.floatleft {
  margin-right: 20px;
  float: left;
  margin-bottom: 5px;
}

.floatrightpadding {
  margin-left: 20px;
  float: right;
  margin-bottom: 20px;
  padding: 20px;
}

.floatright300px {
  float: right;
  padding: 5px;
  width: 300px;
  text-align: center;
  font-size: 5px;
  font-size: 10px;
  margin-left: 10px;
}

.break-word {
  word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", "Open Sans", sans-serif;
  padding: 0px;
  line-height: 130%;
  color: #026635;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  text-decoration: none;
}

h1 {
  font-size: 3rem;
  color: #111;
  font-weight: 400;
  padding-bottom: 5px;
  margin-bottom: 10px;
  margin-top: 0px;
}

h1.our-products a {
  color: #026635;
}

h1.comm-involvement-title {
  font-size: 16px;
}

h2 {
  font-size: 2.2rem;
  font-weight: normal;
  color: #222;
}

h2 a {
  color: #222;
}
h3 {
  font-size: 2.1rem;
}
h4 {
  font-size: 2.1rem;
}

h2.featured a {
  font-size: 17px;
  color: #026635;
  font-weight: 600;
  line-height: 100%;
}

h2.featured-item,
h2.featured-item a {
  font-size: 13px;
  color: #026635;
  font-weight: 600;
  line-height: 100%;
}

h3 {
  font-size: 100%;
  font-weight: bold;
  color: #414042;
}

.title {
  font-size: 14px;
  color: #414042;
  font-family: "Open Sans", sans-serif;
}

.spacer10pix {
  margin-top: 10px;
}

.spacer20pix {
  margin-top: 20px;
}

.spacer30pix {
  margin-top: 30px;
}

.spacer40pix {
  margin-top: 40px;
}

.spacer50pix {
  margin-top: 50px;
}

.spacer60pix {
  margin-top: 60px;
}

.spacer70pix {
  margin-top: 70px;
}

.spacerpad10pix {
  padding-top: 10px;
}

.spacerpad20pix {
  padding-top: 20px;
}

.spacerpad30pix {
  padding-top: 30px;
}

.spacerpad40pix {
  padding-top: 40px;
}

.spacerpad50pix {
  padding-top: 50px;
}

.spacerpad60pix {
  padding-top: 60px;
}

.spacerpad70pix {
  padding-top: 70px;
}

.margin-10 {
  margin: 0px 10px;
}

.clearfix {
  clear: both;
}
.center {
  text-align:center;
} 
.grey {
  color:#aaaaaa;
}
.page-count {
  float:right;
  padding-top:15px;

}
.gohome {
  background-color: #222222;
  border: medium none;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 16px;
  padding: 8px 15px;
  margin-left: 6px;
}
#scroll-top {
  position:fixed;
  right:3%;
  bottom:3%;
  cursor:pointer;
  width:50px;
  height:50px;
  background-color:#3498db;
  text-indent:-9999px;
  display:none;
  -webkit-border-radius:60px;
  -moz-border-radius:60px;
  border-radius:60px;
  z-index: 10001;
}
.post-blurb-small {
  display:inline-block
  }
h2.sub-title {
  font: 19px "Open Sans";
}
h2.sub-title:hover {
  color:#000 !important;
}
.footer-container {
  background: #0d0d0d;
}
#menu-main-menu-2 {
  list-style:none;
  position:relative;
  bottom:12px;
  }
  #menu-main-menu-2 li {
  float:left;
  margin-right:15px; 
  }
#scroll-top span {
  position:absolute;
  top:50%;
  left:50%;
  margin-left:-8px;
  margin-top:-12px;
  height:0;
  width:0;
  border:8px solid transparent;
  border-bottom-color:#ffffff;
}
#scroll-top:hover {
  background-color:#335a39 !important;
  opacity:1;filter:"alpha(opacity=100)";
  -ms-filter:"alpha(opacity=100)";
} 
.shadow {
  -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.34);
  -moz-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.34);
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.34);
  text-shadow: 2px 2px 5px #666;
}

hr {
  border-bottom-style: dotted;
}

textarea.Comment {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
}

.video-margin-correction {
  margin-left: -50px;
}

.video-margin-correction-subtle {
  margin-left: -20px;
}

/* Begin rebuild here */

header.row {
  background: #fff;
  height: 250px;
}

.header-logo img {
  margin: 20px auto !important;
  display: block !important;
  max-width: 100%;
}

#skipnav,
a.screenreader-text {
  display: none;
}
/* I am guessing there is a media query to have this unhidden for screen readers, but still hidden on normal desktop */

/* Header / Top Nav Menu */
#menu-main-menu {
  font-weight: bold;
}

/* Header / Social Icon Menu */
.subscribe-btn {
  position: relative;
  top: 0px;
  padding: 0 14px;
  line-height: 48px;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
.social-menu {
  line-height: 48px;
  color: #fff;
  text-align: right;
}
.social-menu a div {
  height: 24px;
  width: 32px;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  vertical-align: middle;
}
.social-menu a {
  width: 24px;
  height: 24px;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.75;
  transition: 0.3s all;
}
.social-menu a:hover {
  opacity: 1;
}
.social-share-pill {
  color:#fff !important;
}
.social-menu .socialicons {
  display: inline-block;
}
.socialicons ul li {
  display: inline-block;
}
.social-menu i {
  font-style: normal;
}
.social-menu .socialicons span.td-social-name {
  display: none;
}

/* Header search button and toggle fullscreen button */
.search-toggle {
  float: right;
}
.post-grid .top-right {
  margin-left: 1px !important;
}
.post-grid .bottom-right {
  margin-left: 1px;
}

/* Body / post content */
#main-content {
  text-align: left !important;
}
#main-content .col-md-6 img {
  max-width: 100% !important;
  height: auto;
  transition: 0.3s all !important;
}

#main-content .col-md-6 img:hover {
  transform: scale(1.1);
}
.post-date {
 margin-bottom: 10px;
}
.fixed-height {
  min-height:420px;
}
p.excerpt {
  margin-top: 10px;
}
.post-thumbnail {

  overflow: hidden !important;
  position: relative !important;
}
.archive-main .post-thumbnail {
  margin: 10px auto;
}
.archive-main h2 {
  margin: 5px auto;
}

.archive-main .row {
  margin-bottom: 25px;
}

.post-blurb-main h2,
.post-blurb-main p,
.post-blurb-main span {

}

.thumb-cat {
  position: absolute;
  bottom: 0;
  z-index: 1000;
  background: #000;
  color: #fff;
  padding: 3px 6px;
}
.thumb-cat:hover {
  background: #026635;
  color: #fff;
}
.entry-thumb {
  width: 150px;
  height: 100px;
  background-position: center 50%;
  transition: all 0.3s;
  overflow: hidden;
  display: inline-block;
}
.post-thumbnail a {
  display: inline-block;
  overflow: hidden;
}

.post-thumb {
  display: block;
  background-position: center 50%;
  transition: all 0.3s !important;
}
.entry-thumb:hover,
.post-thumb:hover {
  transform: scale(1.1);
}
#main-content {
  max-width: 1067px;
  margin: 0px auto;
  min-height: 600px;
}
#main-content h4,
#main-content h2,
#main-content h3,
#main-content h4 {
  color: #000;
  transition: all 0.3s;
}
h4 > a, h2 > a {color:#222 !important;}
h4 > a:hover, h2 > a:hover {  text-decoration: none !important; color:#026635 !important;}


#main-content a {
  text-decoration: none !important;
}
#main-content a:hover {
  text-decoration: underline !important;
  color:#3276b0;
}
a.single-cat {
  color:#fff !important;
}
a.single-cat:hover {
  color:#222 !important; 
}
#main-content h4:hover,
#main-content h2:hover {
  color: #3276b0;
}
.post-grid {
  margin-bottom: 20px;
}
.post-grid span {
  opacity: 0.7;
}

.post-grid span:hover {
  opacity: 0.6;
}

h4.related-posts-title,
h4.latest-posts-title {
  background: #335a39 !important;
  color: white !important;
  display: inline;
  padding: 5px 10px;
  font-size: 1.6rem;
  position: relative;
  top: 17px;
}
.related-posts-divider,
.latest-posts-divider {
  height: 0px;
  border: 1px solid#335a39;
  position: relative;
  bottom: 2px;
}

/* News ticker custom UI styles */

@keyframes ticker {
  0% {
    margin-top: 0;
  }
  10% {
    margin-top: -30px;
  }
  20% {
    margin-top: -60px;
  }
  30% {
    margin-top: -90px;
  }
  40% {
    margin-top: -120px;
  }
  50% {
    margin-top: -150px;
  }
  60% {
    margin-top: -180px;
  }
  70% {
    margin-top: -210px;
  }
  80% {
    margin-top: -240px;
  }
  90% {
    margin-top: -270px;
  }
  100% {
    margin-top: 0px;
  }
}

.news {
  margin: 10px;
  width: 350px;
  height: 30px;
  overflow: hidden;
  border-radius: 4px;
  background: #699b67;
  -webkit-user-select: none;
}
.green {
  background: #335a39;
}
.news span {
  float: left;
  color: #fff;
  padding: 6px;
  position: relative;
  top: 1%;
  border-radius: 4px;
  box-shadow: inset 0 -15px 30px rgba(0, 0, 0, 0.4),
    0 5px 10px rgba(0, 0, 0, 0.5);
  font: 16px Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  cursor: pointer;
}
.news ul {
  padding-top: 3px;
}
.news label {
  margin: 3px;
  border-radius: 3px;
  padding: 5px;
  float: left;
}
.ticker > div {
  margin-top: 10px;
}

.ticker label {
  text-transform: uppercase;
  color: #fff;
  background: #335a39 !important;
  width: auto;
  margin: 1px;
  padding: 5px 10px;
}
.ticker a {
  vertical-align: bottom;
  line-height: 1.2rem;
  font-size: 1.5rem;
}

.news ul {
  float: left;
  padding-left: 20px;
  animation: ticker 45s cubic-bezier(1, 0, 0.5, 0) infinite;
  -webkit-user-select: none;
}

.news ul li {
  line-height: 30px;
  list-style: none;
}

.news ul li a {
  font-weight: 700 !important;
  text-decoration: none;
  font: 14px "Raleway", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
}
.news ul li a:hover {
  color: #4d95d2 !important;
}

.news ul:hover {
  animation-play-state: paused;
}
.news span:hover + ul {
  animation-play-state: paused;
}
/* Secondary social buttons pill style */

.news label {
  margin: 2px;
  border-radius: 3px;
  padding: 5px;
}

.news {
  height: 36px;
  padding: 3px;
  width: 70%;
  background: transparent;
}
p.ticker-title {
  color: #4d95d2 !important;
  font-weight: 700;
}
h2.widget-title {
  background: #3276b0;
  color: #fff !important;
  line-height: 17px;
  display: inline-block;
  padding: 7px 12px;
  margin-bottom: 0px;
  font-size: 1.5rem;
  position: relative;
  top: 22px;
}
hr.widget-divider {
  border: 1px solid #335a39 !important;
}
.widget_recent_entries ul {
  list-style-type: none;
  padding-left: 5px;
}
ul.wp-block-latest-posts__list li {
  margin: 10px auto;
  border-bottom: 1px solid #eee;
  font-weight: 700;
} 
.widget a {
  color: #111;
}
.widget a:hover {
  color: #3276b0;
}

.latest-articles .row {
  padding: 10px;
}

.post-grid h2 a,
.post-grid h3 a {
  color: #fff;
}
.social-share-pill {
  margin-right: 20px;
  padding: 1.3rem;
  border-radius: 25px;
  border: 0px none;
}

.social-share-pill i {
  font-size: 1.7rem;
  vertical-align: text-bottom;
}
.social-share-pill {
  line-height: 1.8rem;
  font-size: 1.4rem;
}
.social-share-pill a {
  color: #fff !important;
  padding: 5px;
}

.social-share-pill.linkedin {
  background: #0266a0;
}
.social-share-pill.twitter {
  background: #000000;
}
.social-share-pill.facebook {
  background-color: #516eab;
}

.social-share-pill.email {
  background: #777;
}
.social-share-pill .divider {
  color: rgba(255, 255, 255, 0.5);
  padding: 3px;
  margin-right: 3px;
}
.social-share-pill:hover {
  opacity: 0.8;
}
.overlay {
  position: absolute;
  top: auto;
  bottom: 0px;
  padding: 10px;
  text-shadow: 0px 0px 5px #333;
  pointer-events:none;
}
.overlay h2,
.overlay h3,
.overlay p {
  color: #fff !important;
  font-family: verdana;
}
.overlay h2 {
  font-size: 27px;
  font-weight: bold;
}
.overlay h3 {
  font-size: 14px;
}

select#sort-posts {
  background: #000;
  color: #fff;
  text-transform: uppercase;
  padding: 10px;
  display: block;
  float: right;
  margin-right: 17px;
  margin-bottom: 15px;
} 
/* Individual page differences */
/* Post grid for archives */

.top-right .col-sm-6:last-child {
  padding-right: 0px;
}
.bottom-right .col-sm-6:last-child {
  padding-right: 0px;
}
.latest-articles {

}
.archive-main {
  max-width: 1067px !important;
}
.archive-main .post-thumbnail img {
  margin: 10px auto;
  width: 330px !important;
  height: auto;
}
.archive-main .post-thumbnail {
  max-height: 200px;
}
.post-grid h2:hover,
.post-grid h3:hover,
.post-grid h4:hover {
  text-shadow: 0px 0px 7px #000;
  color: #fff;
}
.overlay {
  position: absolute;
  top: auto;
  bottom: 0px;
  padding: 10px;
}
.overlay h2,
.overlay h3,
.overlay p {
  color: #fff !important;
}
.overlay h2 {
  font-size: 1.5rem;

}
.overlay h3 {
  font-size: 1.5rem;
}
.post-grid .post-thumbnail {
  background: #000;
  margin: 0px;
}

.large-thumbnail,
.large-thumbnail .post-thumb {
}


.archive-main span.post-thumb {
  width: 330px;
  height: 165px;
  background-position: center;
  background-size: cover;
}
body.category .delimiter:last-child {
  display: none !important;
}
.post-grid .col-md-6,
.post-grid .col-sm-6,
.post-grid .col-xs-6 {
  padding-left: 2px;
  padding-right: 2px;
  margin-bottom: 2px;
} 
.post-grid .row {
  margin-bottom: 3px;
  margin-left: 1px;
  margin-right: 0px;
} 
.post-grid .row:first-child,
.col-grid-first {
  margin-left: 0px;
}

.col-grid-first {
  padding-right: 0px !important;
}
.post-thumbnail-large {
  max-height: 340px;
}

.post-grid .col-sm-6 {
  max-width: 260px;
}
.post-grid img {
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.post-grid img:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.post-thumbnail {
  max-width: 100%;
}
.related-posts .col-md-2 {
  width: 19.7%;
}
select#sorting {
  padding: 5px;
  margin: 10px;
  float: right;
  margin-right: 0px;
}

.post-blurb.row .col-md-4 {
}

.post-blurb {
}
.post-blurb-main .post-meta {
  width: 100%;
}

.latest-articles h2 {
  margin-top: 10px;
}
.social-share-block a i {
  width: 40px;
  height: 40px;
  font-size: 2rem;
  border: 1px solid #ccc;
  padding: 10px;
  margin-right: 10px;
  color: rgb(77, 149, 210);
}

a[role="button"]:hover {
  text-decoration: none;
}

span.post-date,
p.date {
  font-size: 11px;
  color: #555;
}


.post-blurb-main .post-thumbnail {
  max-height: 300px;
}

.small-posts-row { position: relative; right:15px;} 
.industry-trends .post-blurb:nth-child(odd) .post-thumbnail {
  margin-left: 0px;
}
.latest-articles .col-md-5 {
  padding: 0px;
}
#SearchModal {
  z-index: 20002;
}
span.search-term {
  color: #3276b0;
}
.searchsubmit {
  float: right;
  position: relative;
  bottom: 35px;
  height: 35px;
  border-radius: 0px !important;
  color: #fff;
  background: #000;
}
#searchform-body {
  margin: 40px auto;
}
label[for="searchsubmit"] {
  padding-top: 10px;
  font-size: 1.25rem;
}
.result {
  margin-top: 40px;
}

ul.page-numbers {
  margin-top: 20px;
}

ul.page-numbers li {
  margin-right: 5px;
  display: inline-block;
  border: 1px solid #aaa;
  padding: 10px 15px;
}
li.arrows {
  padding: 10px 10px !important;
}
.search-results .col-md-4 {
  margin-bottom: 40px;
}
.search-results .col-md-8 h2 {
  margin-top: 0px;
}
ul.page-numbers li:last-child {
  margin-right: 0px !important;
}
ul.page-numbers li.active {
  color: #fff;
  border: 1px solid #ccc;
}

ul.page-numbers li span {
}
ul.page-numbers li.active {
  background: #3276b0;
}
.post-blurb-small {
  margin-bottom:10px; 
}
.post-blurb-small h4 {
  margin-top:0px !important;
  margin-bottom: 5px;
} 
.post-blurb-small h2 {
  margin-bottom:5px;
}
.latest-articles h2 {
  margin-top:0px;
  margin-bottom:5px;
}
.post-blurb-main h2{
  
}

.post-meta {
  display:inline-block;
}  
h4.modal-title {
  color: #fff;
}
.modal .modal-header {
  background: #335a39 !important;
}
#loading {
  background: url("/wp-content/themes/SNL-CarrierChronicles/images/preload.gif")
    no-repeat;
  width: 64px;
  height: 64px;
  margin: 0px auto;
  display: none;
  margin-bottom: 30px;
}
#loading span {
  color: #335a39;
  font-weight: 700;
  font-size: 1.5rem;
  position: relative;
  top: 64px;
}
/* Body homepage slider */
#custom_carousel .item {
  color: #000;
  background-color: #ffffff;
  padding: 20px 0;
}
#custom_carousel .controls {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  text-align: center;
  position: relative;
  background: #ddd;
}
#custom_carousel .controls li {
  display: table-cell;
  width: 25%;
  float: left;
}

#custom_carousel .controls li {
  border-top:3px solid transparent;
}
#custom_carousel .controls li.active {
  background-color: #ffffff;
  border-top: 3px solid #007bb6;

  border-bottom: 1px solid #eee;
}
#custom_carousel {
  border: 1px solid #f0f0f0;
  margin-bottom: 20px;
  box-shadow: 0px 3px 5px -2px #eee;
}
#custom_carousel .controls li a:focus {
  background-color: #ffffff;
}
#custom_carousel nav {overflow:hidden;}
/* Single post template */
.single-post #main-content {
  margin-top: -15px;
}
.single-post .breadcrumb {
  margin-bottom: 20px;
}
h1.entry-title {
  line-height: 48px;
  font-weight: 600;
  padding: 10px;
  letter-spacing: 0.02em;
  color: #111;
  text-align: center;
}
span.single-category {
  width: 100%;
  text-align: center !important;
  display: inline-block;
}
p.the-date {
  text-align: center;
  color: #333;
  font-size: 11px;
  padding-bottom: 10px;
}
.content-wrapper p {
  font-size: 15px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.content-wrapper h3 {
  font-size: 22px;
  font-family: "Roboto", "Helvetica Neue", "Helvetica", "Arial";
}

.single-cat {
  background: #000;
  color: #fff;
  padding: 3px 8px;
}
.taggy {
  border: 1px solid #aaa;
  padding: 5px 10px;
  overflow: hidden;
}
.badge-sn {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
  vertical-align: baseline;
  white-space: nowrap;
  text-align: center;
  background-color: #eee;
  border: 3px solid #eee;
  margin-right: 10px;
  min-width: 100px;
  clip-path: polygon(
    0% 20%,
    10% 0%,
    100% 0%,
    100% 90%,
    100% 90%,
    100% 100%,
    10% 100%,
    0% 80%
  );
  transform: rotateY(0deg) rotate(0deg);
}
.tagWrapper {
  padding: 10px;
}
.badge-sn a {
  color: #026635;
}
.TagsStarter {
  float: left;
  margin-right: 10px;
}
.taggy:hover {
  transform: rotateY(0deg) rotate(10deg);
  background: #026635;
  border-color: #026635;
}
.taggy {
  transition: 0.3s all;
}
.taggy:hover a {
  color: #fff;
}
a.single-cat {
  cursor: pointer;
}
a.single-cat:hover {
  border: 1px solid #000;
}
/*Footer */
.for-social {
  width: 100%;
  background: #222222;
}

footer .socialicons {
  padding: 24px;
}
footer .socialicons a {
  display: inline-block;
  opacity: 1 !important;
  margin-right: 20px;
}

footer .socialicons a i {
  border: 1px solid #333333;
  width: 42px;
  height: 42px;
  display: inline-block;
  border-radius: 100%;
  line-height: 41px;
  font-size: 18px;
  color: #fff;
  font-style: normal;
  transition: 0.3s all;
  background: #2a2a2a;
}
footer .socialicons a:hover i {
  transform: rotateY(360deg);
}
i.fa-linkedin:hover {
  color: #3b5999 !important;
}

i.fa-x-twitter:hover {
  color: #000000 !important;
}

i.fa-youtube:hover {
  color: #f70000 !important;
}
i.fa-facebook:hover {
  color: #4267b2;
}
i.fa-envelope:hover {
  color: #777;
}

.related-divider {
  padding-left: 15px;
  padding-right: 30px;
}
.latest-divider {
  padding-left: 10px;
  padding-right: 10px;
}
footer .td-social-name {
  color: #fff;
  font-size: 13px;
  margin-left: 10px;
  text-transform: uppercase;
}
[class*="fa-x-twitter"]:before,
[class^="fa-x-twitter"]:before {
  font-family: "Font Awesome 6 Brands" !important;
  content: "\e61b" !important;
}
[class*="fa-linkedin"]:before,
[class^="fa-linkedin"]:before {
  font-family: "Font Awesome 6 Brands" !important;
  content: "\f0e1" !important;
}
[class*="fa-youtube"]:before,
[class^="fa-youtube"]:before {
  font-family: "Font Awesome 6 Brands" !important;
  content: "\f167" !important;
}

.socialicons a:hover {
  text-decoration: none;
}
.socialicons ul li {
  display: inline-block;
}
/*Header social icon adjustments*/

.social-menu .socialicons a {
  margin-right: 15px;
  transition: all 0.5s;
}
.social-menu .socialicons a i {
  transition: all 0.5s;
}
footer .social-menu .socialicons a:hover i {
  transform: rotateY(360deg);
}

.featured-single-image img {
  max-width: 100% !important;
  margin: 0px auto 20px auto !important;
  width: 100%;
}
.featured-single-image {
  margin: 0px !important;
}
.social-share-block {
  text-align: center;
  margin: 0px auto 10px auto;
}
.fa-x-twitter {
  content: "e61b";
}
/* Start off hidden then expand to cover for FOUC */
.post-blurb h2 {
  margin-top:0px;
}
.owl-nav-container {
  margin-left:15px; 
}
.owl-nav-container div {
  display: inline-block;
  padding: 10px;
  margin-right: 10px;
}
.owl-carousel {
  overflow: hidden;
  margin:0px auto;
}
.owl-item .post-thumbnail {
  width: 100%;
  height: auto;
  max-height: 120px;
}
.owl-nav {
  margin-left: 20px;
}
.owl-nav button {
  font-size: 2rem !important;
  width: 30px;
  margin-right: 20px;
}
.owl-prev,
.owl-next {
  border: 1px solid #aaa !important;
  color: #aaa !important;
  transition: .3s all;
}

.owl-prev:hover, .owl-next:hover {
  background-color: #3276b0 !important;
  color: #fff !important;
  cursor:pointer;
} 
.owl-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  padding: 10px;
}
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: auto;
}
.related-posts .col-md-2 {
  width: 20%;
  min-width: 200px;
}

/* Fancy hover button from News-child-theme */
.btn-readmore {
  background: linear-gradient(-60deg, #424242, #0a0202) !important;
  box-shadow: 0px 2px 16px 0px rgba(77, 178, 236, 0.8);
  border-radius: 4px;
  line-height: 40px;
  height: 40px;
  padding: 0 23px;
  transition: all 0.4s ease;
  z-index: 0;
  vertical-align: middle;
  overflow: hidden;
  display: inline-block;
  font-family: "Roboto", sans-serif;
  text-align: center;
  position: relative;
  color: #fff !important;
  float: right;
}
.latest-articles > .col-md-4 {

}
.btn-readmore span.readmore-btn-text {
  pointer-events: none !important;
  vertical-align: middle;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
.btn-readmore:before {
  content: "";
  padding-top: 100%;
  width: 100%;
  left: 50%;
  top: 50%;
  position: absolute;
  z-index: -1;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) scale(0);
  -webkit-transform: translate(-50%, -50%) scale(0);
  -webkit-transition: all 0.4s cubic-bezier(0.8, 0.13, 0.21, 0.9);
  -moz-transition: all 0.4s cubic-bezier(0.8, 0.13, 0.21, 0.9);
  -o-transition: all 0.4s cubic-bezier(0.8, 0.13, 0.21, 0.9);
  transition: all 0.4s cubic-bezier(0.8, 0.13, 0.21, 0.9);
  background-color: #335a39;
}

.btn-readmore:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  box-shadow: 0px 4px 26px 0px rgba(0, 0, 0, 0.3);
}
.btn-readmore:hover:before {
  transform: translate(-50%, -50%) scale(1.1);
  -webkit-transform: translate(-50%, -50%) scale(1.1);
}
.footerrow a {
  color: #428bca !important;
}

/* Begin mobile optimizations */
.snnav-menu-icon {
  margin-top: 0.45rem !important;
}

.latest-articles h2 {
  font-size:1.7em;
  }
sup {
  font-size: 11px !important;
}
.header-logo-row {
  max-width: 1067px;
  margin: 0px auto;
}
.breadcrumb a {
  color: #ccc;
}

.new-row {
  opacity: 0;
}

ul.nav li a {
  text-transform: uppercase;
  font-weight: bold;
}

.snnav-menu-icon {
  background: transparent !important;
}
/* Desktop / Laptop */
@media (min-width: 976px) {
  .container {
    max-width: 1067px;
  }
  body.archive .header-logo img {
    margin: 20px auto !important;
    display: block !important;
  }
}


/* Essentially adding the img-fluid class attributes to all images. */
.size-thumbnail,
.size-medium,
.size-large,
.size-full {
  max-width: 100%;
  height: auto;
}
/* Mobile / Tablet */
@media (max-width: 976px) {
    .footer-inner-container p, .footer-inner-container li {
   font-size:80%;
  }
  .col-grid-first {
    max-width: 99%;
    position: relative;
    left: 3px;
    margin-bottom: 4px !important;
}
  .owl-carousel-mobile {
    display: block;
  }
  .owl-carousel-desktop {
    display: none;
  }
  footer .td-social-name {
    display: none;
  }
  a.sn-search-iconc {
    color: #fff !important;
    font-size: 28px;
    padding-right: 10px;
  } 
  .snnav-wrapper {  
    margin-top: 3px;  
  } 

  ul.nav li a { 
    white-space: normal;  
    font-weight: bold;  
    line-height: 1.5rem;  
    font-size: 1.2rem;
  }
  li.ticker-item {
    margin-left: 100px;
  }
  .news {
    display: none;
  }
  .news ul li a {
    font-size: 12px !important;
  }
  .post-meta h2 {
  }
  .taggy {
    margin: 5px;
  }
  .owl-carousel {
    margin: 0px auto;
  }
  .owl-nav-container {
    margin-left: 20px;
  }
  .fixed-height {
    min-height:300px;
  }
}

/* Typical android size */

@media only screen and (min-width: 360px) and (max-width: 767px) {
    .container-fluid {
      padding-left:10px !important;
      padding-right:10px !important;
    }
  
  #custom_carousel .controls li {
    display: inline;
    float:none;
}
.social-share-block-pills a {
  display: inline-block;
}
#custom_carousel .controls li a {
  border-left:3px solid transparent;
}
#custom_carousel .controls li.active a {
  border-left: 3px solid #007bb6;
}
  .social-share-pill {
    margin: 20px;
  }
  .social-share-block-pills {
    width: 350px;
    margin: 0px auto;
  }
  .content-wrapper {
    padding: 15px;
  }
  .news {
    display: none;
  }
  .post-meta h2 {

  }
}

/* Ipad pro media query */
 /* Landscape*/

 @media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2)  and (orientation: landscape)  {
  .footer-inner-container p, .footer-inner-container li {
    font-size:65%;
   }
} 
 }


@media only screen and (max-width: 600px) {
  .footer-inner-container p, .footer-inner-container li {
    font-size:65%;
   }
}


@media only screen and (max-width:460px) {
  .container-fluid {
    padding-left:5px !important;
    padding-right:5px !important;
  }


#custom_carousel .controls li.active a {
  border-top: 3px solid #007bb6;

}
}
