/** REFERENCE:
  Breakpoints:
  .mode-xs  <786
  .mode-sm  786-992
  .mode-md  992-1200
  .mode-lg  >1200
  
  Add the following classes to HTML elements to hide/show on various modes:
  .hidden-xs
  .hidden-sm
  .hidden-md
  .hidden-lg
  
  .visible-xs
  .visible-sm
  .visible-md
  .visible-lg
  
*/

/* Headings */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.content h1 span {
  font-weight:800;
  font-family: garamond-premier-pro;
}
h1 { 
  text-align:center;
}
h1.title {
  text-align:center; 
}
h3 {
  font-size:22px;
}
hr {
	border-top: 1px solid #EFEAE3;
  width: 120% !important;
  margin-left: -10% !important;
}
.mode-xs hr {
  width:100% !important;
  margin-left:0 !important;
}
.mode-xs h1 { 
  font-size:36px;
}
.mode-xs .content a {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.content b, 
.content strong {
  font-weight:800;
}

/* Images */
img.img-thumbnail {
  border:none;
  padding:0;
}

/* !STRETCHY BOXES */
.stretchy-light {
  box-shadow:-250px 0 0 #EFEAE3, -500px 0 0 #EFEAE3, -1000px 0 0 #EFEAE3, 250px 0 0 #EFEAE3, 500px 0 0 #EFEAE3, 1000px 0 0 #EFEAE3;
  background:#EFEAE3;
  padding:30px 20px;
}
.stretchy-light a {
  box-shadow: -1px 0 0 #EFEAE3, 1px 0 0 #EFEAE3, 0 2px 0 #e4531c;
}
.stretchy-bright {
  box-shadow:-250px 0 0 #E4531C, -500px 0 0 #E4531C, -1000px 0 0 #E4531C, 250px 0 0 #E4531C, 500px 0 0 #E4531C, 1000px 0 0 #E4531C;
  background:#E4531C;
  padding:30px 10px;
  color:white;
}
.stretchy-heading {
  box-shadow: -250px 24px 0 #d7d7d0, -500px 24px 0 #d7d7d0, -1000px 24px 0 #d7d7d0, 250px 24px 0 #d7d7d0, 500px 24px 0 #d7d7d0, 1000px 24px 0 #d7d7d0;
  text-align: center;
  background: transparent;
  height: 1px;
  margin-bottom: 50px;
}
.stretchy-heading h2 {
  background: white;
  display: block;
  margin: 0 auto;
  margin-top: -25px;
  padding: 5px 30px;
  font-weight: 400;
  font-size: 40px;
  width: fit-content;
}
.mode-sm .stretchy-heading h2 {
  font-size:36px;
}
.mode-xs .stretchy-heading h2 {
  font-size:30px;
}
.stretchy-heading.social>div {
  background: white;
  margin-top: -21px;
  padding: 0 10px;
  display: inline-block;
  vertical-align: top;
}
.stretchy-heading.social img {
  max-width: 100px;
  display: inline-block;
  padding: 0 5px;
}
.mode-xs .stretchy-heading.social img {
  max-width:60px;
}
.mode-xs .stretchy-heading.social>div {
  margin-top:0;
}
.stretchy-heading.social a,
.stretchy-heading.social a:hover {
  box-shadow:none;
  background:none;
}
.stretchy-black {
  box-shadow:-250px 0 0 #000, -500px 0 0 #000, -1000px 0 0 #000, 250px 0 0 #000, 500px 0 0 #000, 1000px 0 0 #000;
  background:#000;
  padding:30px 10px;
  color:white;
}


/* !NAVBAR TABLE */
.navbar-table .navbar-brand {
  min-width:170px;  
}
.navbar-table.navbar-table-6 .navbar-brand {
  min-width:110px;  
}
.navbar-table.navbar-table-6 .nav>li {
  width:104px;  
}
.navbar-table.navbar-table-5 .nav>li {
  width:115px;
}
.mode-lg .navbar-table.navbar-table-5 .nav>li>a,
.mode-md .navbar-table.navbar-table-5 .nav>li>a,
.mode-sm .navbar-table.navbar-table-5 .nav>li>a,
.mode-lg .navbar-table.navbar-table-5 div.navbar-brand,
.mode-md .navbar-table.navbar-table-5 div.navbar-brand,
.mode-sm .navbar-table.navbar-table-5 div.navbar-brand {
  line-height:40px;
  height:40px;
  max-width: 170px;
  white-space: nowrap;
  color:black;
}

.navbar-table.navbar-table-5 .nav>li>a,
.navbar-table.navbar-table-5 .navbar-brand {
  font-size:13px;
}
.navbar-table .nav>li {
  border-left:1px solid #ccc;
  padding:0;
  text-align:center;
  margin-bottom:0;
}
.navbar-table .nav>li>a {
  padding:0 10px;
  line-height:50px;
  font-size:14px;
}
.navbar-table a.navbar-brand,
.navbar-table div.navbar-brand {
  font-size:14px;
  padding:0 0 0 10px;
  line-height:50px;
  font-weight:bold;
}
.navbar-table .navbar-collapse {
  float:right;
  padding:0;
}
.mode-lg .navbar-table .container-fluid,
.mode-md .navbar-table .container-fluid,
.mode-sm .navbar-table .container-fluid {
  padding-right:0;  
}
.mode-xs .navbar-table .nav>li {
  text-align:left;
}
.mode-xs .navbar-table .navbar-collapse {
  float:none;
  margin-right:0;
  margin-left:0;
}
.navbar-table {
  margin-bottom:0;
  border-radius:0;
  min-height:20px;
}
.navbar-table a {
  box-shadow:none;
}
.navbar-table a:hover {
  text-decoration:none;
  box-shadow:none;
}
.navbar-table a:before {
  content: '';
  background: #E4531C;
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.8s ease-in-out;
}
.navbar-table a:hover:before {
  width: 100%;
}
.mode-xs .navbar-table .container-fluid {
  padding-right:0;
  padding-left:0;
}
.mode-xs .navbar-nav,
.mode-xs .navbar-table .container-fluid>.navbar-header {
  margin-left:0;
  margin-right:0;
}
.mode-xs .navbar-table .nav>li {
  border-left:none;
  padding-left:15px;
}

/* !DIV TABLE */
div.table {
  border:1px solid #ddd;  
}
div.table .row {
  padding:4px 0;  
}
div.table .row.odd {
  background:#f9f9f9;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
  border-collapse:collapse;
}

/* !ARTICLES WIDGET */
.news {
  margin-left: 0;
  width: calc(100% + 20px);
  max-width: calc(100% + 20px);
}
.mode-xs .news {
  margin-left:-10px;
}
.news div.col-sm-3,
.news div.col-sm-4,
.newsletters div.col-sm-3 {
  padding:10px 10px 20px;
}
.mode-xs .content .news div.col-sm-3,
.mode-xs .content .news div.col-sm-4 {
  padding: 10px 0px 20px;
}
.mode-xs .newsletters div.col-sm-3 {
  padding-bottom:10px;
}
.news h3 {
  margin-bottom:0;
}
.navbar .slider, .navbar .slider:hover,
.content .slider, .content .slider:hover,
.news a, .news a:hover, .news a:focus,
.newsletters a, .newsletters a:hover, .newsletters a:focus {
  box-shadow:none;
  background:transparent;
  color:black;
  transition:none;
}
.navbar .slider
.content .slider,
.news .col-sm-3 h3,
.news .col-sm-4 h3,
.newsletters .col-sm-3 h3,
.newsletters h4 {
  box-shadow:none;
  color:black;
  display: inline-block;
  position: relative;
  -webkit-background-clip: text;
}
.navbar .slider:before,
.content .slider:before,
.news .col-sm-3 h3:before,
.news .col-sm-4 h3:before,
.newsletters .col-sm-3 h3:before,
.newsletters h4 a:before {
  content: '';
  background: #E4531C;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.5s ease-in-out;
}
.navbar .slider:hover:before,
.content .slider:hover:before,
.news .col-sm-3:hover h3:before,
.news .col-sm-4:hover h3:before,
.newsletters .col-sm-3:hover h3:before,
.newsletters h4:hover a:before {
  width: 100%;
}
.mode-xs .news h3 {
  margin-top:0;
}
.mode-xs .news .col-sm-3,
.mode-xs .news .col-sm-4 {
  clear:both;
}
.news .image {
  overflow:hidden;
}
.news .image img {
  transition: 0.5s ease-in-out;
}
.news>div:hover .image img {
  transform: scale(1.1);
}
.mode-xs .news .image {
  max-width: 130px;
  max-height:130px;
  float: left;
}
.mode-xs .news .text {
  float: right;
  width: calc(100% - 145px);
}
.news .col-sm-4 h3 {
  margin-top:10px;
}

/* !BUTTONS */
.content .btn {
  box-shadow:none;
  border-radius:0;
}
.content .btn:hover {
  box-shadow:none;
}
.content .btn-success {
  background:black;
  border-color:black;
  color:white;
}
.content .btn-info {
  background:#0E3947;
  border-color:#0E3947;
  color:white;
}

/* !CHANGE MANUALLY DEFINED STYLES */
.content *[style*="font-family: Arial"],
.content *[style*="font-family:Arial"],
.content *[style*="font-family: 'Arial"],
.content *[style*="font-family:'Arial"],
.content *[style*='font-family: "Arial'],
.content *[style*='font-family:"Arial'] {
  font-family:"Figtree" !important;
}
.content *[style*="font-size: 10pt"],
.content *[style*="font-size:10pt"] {
  font-size: 15px !important;
}
.content *[style*="font-size: 11pt"],
.content *[style*="font-size:11pt"] {
  font-size: 16px !important;
}
.content *[style*="font-size: 14pt"],
.content *[style*="font-size:14pt"] {
  font-family: garamond-premier-pro !important;
  font-size: 22px !important;
}
.content *[style*="font-size: 16pt"],
.content *[style*="font-size:16pt"] {
  font-family: garamond-premier-pro !important;
  font-size: 26px !important;
}
.content *[style*="font-size: 20pt"],
.content *[style*="font-size:20pt"],
.content *[style*="font-size: 24pt"],
.content *[style*="font-size:24pt"] {
  font-family: garamond-premier-pro !important;
  font-size: 30px !important;
}
.content *[style*="font-size: 32pt"],
.content *[style*="font-size:32pt"] {
  font-family: garamond-premier-pro !important;
  font-size: 38px !important;
}
.content *[style*="font-size: 36pt"],
.content *[style*="font-size:36pt"],
.content *[style*="font-size: 40pt"],
.content *[style*="font-size:40pt"] {
  font-family: garamond-premier-pro !important;
  font-size: 42px !important;
}
.content *[style*="border: 1px solid #ddd;border-radius: 4px;"] {
  border:none !important;
}
.content *[style*="box-shadow: inset 0 0 5px #ccc"] {
  border-radius:0 !important;
  box-shadow: inset 0 0 5px #EFEAE3 !important;
  border-color:#efeae3 !important;
}
.mode-xs .content p[style*="float: right"],
.mode-xs .content p[style*="float:right"] {
  float:none !important;
  text-align:center !important;
  width:100% !important;
  max-width:100% !important;
}
/* .content [style*="justify"] a {
  word-break: break-all;
  max-width: 100%;
  overflow: hidden;
} */
.content a[href*="addthis"] {
  display:none;
}

.content a.external:after {
  content: "\f08e";
  font-family: 'FontAwesome';
  margin-left: 3px;
  font-size: 12px;
  opacity: 0.5;
  display: inline-block;
  vertical-align: bottom;
}


/* !FOLD */
.fold {
  cursor:pointer;
}
.fold:after {
  content: "+";
  float: right;
  font-size: 40px;
  margin-top: -8px;
  font-family: 'avenir-custom';
  font-weight: normal;
}
.fold.open:after {
  content: "-";
  margin-right: 3px;
}
.mode-md .fold-content,
.mode-sm .fold-content,
.mode-xs .fold-content {
  display:none;
}
.mode-lg .fold:after {
  content: "";
}

/* !RELATED FLOAT (RIGHT) */
.content .related-float {
  max-width: 220px;
  position: relative;
  float: right;
  margin-top: 80px;
  background: white;
  margin-right: -245px;
  clear: none;
}
.related-float .col-sm-3 {
  width:100%;
}
.related-float .fold:after {
  content: "";
}
.related-float .news div.col-sm-3, 
.related-float .news div.col-sm-4 {
  padding-bottom:0;
}
.related-float .news h3 {
  margin-top:5px;
}

/* !RELATED (BELOW) */
.mode-xs .related .news .text {
  width: calc(100% - 10px);
}

/* !BLOCKQUOTE */
.blockquote-wrapper {
  display: flex;
  padding: 0 20px;
}
.mode-xs .blockquote-wrapper {
 padding:0;
}
.blockquote {
 position: relative;
 font-family: 'Barlow Condensed', sans-serif;
 max-width: 620px;
 margin: 20px auto;
 align-self: center;
}
.blockquote h1 {
 position: relative;
 color: #e74848;
 font-size: 21px;
 font-weight: normal;
 line-height: 1;
 margin: 0;
 border: 2px solid #fff;
 border: solid 2px;
 border-radius: 20px;
 padding: 25px;
 font-weight: 800;
 line-height: 26px;
 text-align: left;
}
.blockquote h1 span {
 color:black;
}
.blockquote h1:after {
 content: "";
 position: absolute;
 border: 2px solid #e74848;
 border-radius: 0 50px 0 0;
 width: 60px;
 height: 60px;
 bottom: -60px;
 left: 50px;
 border-bottom: none;
 border-left: none;
 z-index: 3;
}
.blockquote h1:before {
 content: "";
 position: absolute;
 width: 80px;
 border: 6px solid #fff;
 bottom: -4px;
 left: 50px;
 z-index: 2;
}
.blockquote h4 {
   position: relative;
   color: #444;
   font-size: 18px;
   font-weight: 400;
   line-height: 1.2;
   margin: 0;
   padding-top: 15px;
   z-index: 1;
   margin-left:150px;
   padding-left:12px;
}
.blockquote h4:first-letter {
 margin-left:-12px;
}