/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

/****** OVERRIDES of LS *******************************************/
body {
  padding-top: 0px;
  padding-bottom: 0px;
}
.script-container {
  background-color: #e3e3e3;
  width: 100%;
}
.numeric {
    text-align: left;
}

/****** FROM Bootstrap 4 *******************************************/
.justify-content-around {
    -ms-flex-pack: distribute!important;
    justify-content: space-around!important;
}
.d-flex {
    display: -webkit-box!important;
    display: -ms-flexbox!important;
    display: flex!important;
}
.justify-content-end {
    -webkit-box-pack: end!important;
    -ms-flex-pack: end!important;
    justify-content: flex-end!important;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #545b62;
    border-color: #4e555b;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}
.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);
}
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
/****** FROM FOSF MAIN THEME *******************************************/
@font-face{ 
	font-family: 'SuperclarendonBold';
	src: url('/fonts/SuperclarendonBold.WOFF') format('woff'),
	     url('/fonts/SuperclarendonBold.ttf') format('truetype')
}

@font-face{ 
	font-family: 'HansHandItalic';
	src: url('/fonts/HansHandItalic.otf')
}

@font-face{
  font-family: 'ITCErasStd-Book';
  src: url('/fonts/ITCErasStd-Book.otf')
}

body {
  font-family: 'ITCErasStd-Book';
  color: #0B2240;
}

hr {
  border: 0;
  height: 0;
}

hr:before {
  height: 6px;
  border-left: 2px solid #9497BB;
  border-right: 2px solid #9497BB;
  border-bottom: 2px solid #9497BB;
  content: "";
  display: block;
  overflow-x: hidden;
}

hr:after {
  height: 4px;
  border-left: 2px solid #9497BB;
  border-right: 2px solid #9497BB;
  display: block;
  content: "";
  overflow-x: hidden;
}

a {
  color: #BC1D28;
}

a:visited {
  color: #BC1D28;
}

a:hover {
  color: #BC1D28;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited, 
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, 
.fosffooter a, .click-nav a, .hover-nav a, .card a,
.fosffooter a:visited, .click-nav a:visited, .hover-nav a:visited, .card a:visited,
.fosffooter a:hover, .click-nav a:hover, .hover-nav a:hover, .card a:hover,
a[rel=footnote], a[rel=footnote]:visited, a[rel=footnote]:hover,
a[rel=footnote-return], a[rel=footnote-return]:visited, a[rel=footnote-return]:hover,
a.bluelink, a.bluelink:hover, a.bluelink:visited {  
  color: #0B2240;  
}

a.btn-primary:visited {
  color: #fff;
}

a.btn-primary:hover {
  color: #fff;
  background-color: #2168C3;
}

.card-title {
  font-weight: bold;
}

.btn.btn-primary {
  color: #fff;
  background-color: #0B2240;
  border-color: #0B2240;
}

.fosffooter {
  margin-top: 5em;
  background-color: #e3e3e3;
  padding-top: 1em;
  padding-bottom: 10em;
}
.fosffooter a {
  font-weight: bold;
}

.header {
  display: none;
  background-color: #e3e3e3; 
  padding-top: 4px;
  padding-bottom: 4px;
}
.header img {
  height: 2em;
}
.header form {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .header {
    display: block;
  }
}

@media (max-width: 768px) {
  img.auto-size-sm {
    width: auto;
    height: auto;
  }
}

.mainheading {
  margin-top: 1em;
  margin-bottom: 5em;
}

.mainheading img {
  max-height: 100%;
}
  
.mainheading h1 {
  color: #0B2240;
  font-family: SuperclarendonBold;
  padding-right: 16px;
  border-right: 8px solid #0B2240;  
  margin-bottom: 0;
  margin-top: 0;
}

.mainheading h2 {
  color: #BC1D28;
  font-family: HansHandItalic;
  font-size: 18px;
  padding-right: 16px;
  border-right: 8px solid #BC1D28;
  margin-bottom: 0;
  margin-top: 0;
}

.mainheading {
  height: 80px;
}

.mainheading #jack {
  display: none;
}

.mainheading h1 {
  font-size: 23px;
  line-height: 40px;
}
.mainheading h2 {
  font-size: 9px;
  line-height: 40px;
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {
  .mainheading {
    height: 98px;
  }
  
  .mainheading #jack {
    display: block;
  }  
  
  .mainheading h1 {
    font-size: 45px;
    line-height: 49px;
  }
  .mainheading h2 {
    font-size: 18px;
    line-height: 49px;
  }
}

@media (min-width: 992px) {
  .mainheading {
    height: 132px;
  }

  .mainheading h1 {
    font-size: 60px;
    line-height: 66px;
  }
  
  .mainheading h2 {
    font-size: 23px;
    line-height: 66px;
  }
}

@media (min-width: 1200px) {
  .mainheading {
    height: 154px;
  }
  
  .mainheading h1 {
    font-size: 70px;
    line-height: 77px;
  }
  
  .mainheading h2 {
    font-size: 28px;
    line-height: 77px;
  }
}