/*=== HEADER ===*/
#header{
    height: 80px;
}
.header-wrapper{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 120;
}
.top-bar{
    font-family: 'Montserrat-Medium';
    color: #fff;
    background-color: #1d1d1d;
    border-top: 6px solid #ed1c24;
    position: relative;
    height: 80px;
}
.top-bar .flexbox{
    justify-content: space-between;
    align-items: center;
}
.logo-wrapper{
    position: relative;
    width: 347px;
    height: 100%;
}
.logo-wrapper .logo{
    position: absolute;
    top: 36px;
}
.logo{
    display: flex;
    align-items: center;
}
.logo-img{
    width: 85px;
    flex-shrink: 0;
}
.logo img{
    display: block;
}
.logo div:last-child{
    padding: 8px 0 0 12px;
}
.logo p{
    font-size: 25.5px;
    line-height: 28px;
    font-family: 'PlayFairDisplay' !important;
    margin-bottom: 5px;
}
.logo span{
    font: 11px 'Montserrat-Regular';
    white-space: nowrap;
}
.top-bar ul{
    display: flex;
    align-items: center;
}
.top-bar li:first-child{
    margin-right: 40px;
}
.top-bar li:only-child {
	margin-right: 0px; 
}
.top-bar li:nth-child(2){
    margin-right: 25px;
}
.top-bar ul a:hover{
    color: #ed1c24;
}
.top-bar i[class*="fa"]{
    margin-right: 10px;
}
.search-btn{
    font-size: 22px;
}
.search-box {
  background: #1d1d1d;
  height: 0;
  overflow: hidden;
}
.search-box.show {
    height: 75px;
    padding: 13px 0 20px 0;
}
.search-box .search-form {
  padding: 0 40px;
  text-align: center;
}
.search-box ::-webkit-input-placeholder{
  color: rgba(255, 255, 255, 0.25) !important;
  opacity: 1;
}
.search-box ::-moz-placeholder{
  color: rgba(255, 255, 255, 0.25) !important;
  opacity: 1;
}
.search-box input[type=text] {
  width: 80%;
  background: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  padding: 13px 20px 12px 27px;
  color: #fff;
}
.search-box input[type=submit] {
  
}
.nav-btn{
    display: block;
    width: 36px;
    font: 12px/12px 'Montserrat-Medium';
    color: #fff;
    transition: none;
    position: relative;
    top: 4px;
}
.nav-btn:hover{
    color: #fff !important;
}
.nav-btn span{
    display: block;
    width: 23px;
    height: 2px;
    margin: 0 auto 7px;
    background-color: #ed1c24;
    position: relative;
    transition: all 0.3s ease 0s;
    left: 0;
}
.open-menu .nav-btn{
    font-size: 0;
}
.open-menu .nav-btn span:nth-child(1){
    -webkit-transform: rotate(50deg);
    -moz-transform: rotate(50deg);
    transform: rotate(50deg);
    top: 14px;
}
.open-menu .nav-btn span:nth-child(3){
    -webkit-transform: rotate(-50deg);
    -moz-transform: rotate(-50deg);
    transform: rotate(-50deg);
    top: -4px;
}
.nav-btn span:nth-child(2){
    left: auto;
    right: 0;
    margin: 0 0 7px auto;
}
.open-menu .nav-btn span:nth-child(2){
    width: 0;
    left: 0; 
    right: 0;
    margin: 0 auto 7px;
}
.nav-btn:hover span{
    width: 100%;
}
.search-box.show + .top-bar .logo-img,
.fixed .top-bar .logo-img,
#inner .top-bar .logo-img{
    width: 51px;
}
.search-box.show + .top-bar .logo,
.fixed .top-bar .logo,
#inner .top-bar .logo{
    top: 10px;
}
.search-box.show + .top-bar .logo p,
.fixed .top-bar .logo p,
#inner .top-bar .logo p{
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 0;
}
.search-box.show  + .top-bar .logo div:last-child,
.fixed .top-bar .logo div:last-child,
 #inner .top-bar .logo div:last-child{
    padding: 3px 0 0 12px;
}
.search-box.show + .top-bar .logo span,
.fixed .top-bar .logo span,
#inner .top-bar .logo span{
    display: none;
}

.open-menu .nav-btn span {
	width: 100%;
}
/*=== MAIN NAVIGATION ===*/
#menu{
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    min-height: 525px;
    z-index: 120;
    color: #fff;
    background: #1d1d1d;
    opacity: 0;
    visibility: hidden;
}
.open-menu #menu{
    opacity: 1;
    visibility: visible;
}
#menu .container{
    padding-top: 170px;
}
.main-nav{
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-direction: column;
}
.main-nav a:hover{
    color: #fff;
}
.main-nav .ico-youtube:after{
    background-image: url(../images/icons/soc-youtube-white.png);
}
.nav-menu{
    width: 30%;
    padding-right: 25px;
}
.nav-menu li{
   margin-bottom: 20px;
}
.nav-menu a{
    font-size: 16px;
    color: #fff;
}
.nav-menu li.active > a,
.nav-menu a:hover{
    color: #ed1c24;
}
.nav-menu ul{
    margin-top: 15px;
}
.nav-menu ul li{
    margin-bottom: 13px;
}
.nav-menu ul a{
    color: #8b8a8a;
}
.nav-menu ul a:before{
    content: "";
    display: inline-block;
    vertical-align: super;
    height: 2px;
    width: 16px;
    background: #8b8a8a;
    margin-right: 14px;
}
/*=== LOGIN ===*/
.bg-logo {
	position: fixed;
	display: inline-block;
	top:50%;
	left:50%;
	z-index: 129;
	transform: translate(-50%, -50%);
}

.bg-logo .logo-img {
	background: url(/images/layout/logo.png) no-repeat scroll top left transparent;
	background-size: contain;
}

.bg-logo .logo-img img { 
	visibility: hidden;
	opacity: 0;
}

.popup {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 130;
    visibility: hidden;
    border-top: 6px solid #ed1c24;
}
.close-section {
    font-size: 28px;
    position: fixed;
    top: 50px;
    left: 50px;
    z-index: 1;
}
.popup.show {
    visibility: visible;
}
.popup .side-left {
    position: relative;
    left: -100%;
    background: #fff;
    border-right: 1px solid #c2c2c2;
}
.popup .side-right {
    position: relative;
    right: -100%;
    background: #fff;
}
.left-side-content, .right-side-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.left-side-content{
     padding: 60px 70px 30px 55px;
}
.popup .inner-box{
    justify-content: flex-end;
    align-content: space-between;
    max-width: 545px;
    width: 100%;
    float: right;
}
.popup-content{
    padding-bottom: 20px;
}
.popup-content, .popup-footer{
    width: 100%;
}
.popup.show .img-box:after {
    background: rgba(29, 29, 29, 0.25);
    opacity: 1;
    visibility: visible;
}
.logo.logo-lg .logo-img{
    width: 107px;
    min-width: 107px;
}
.left-side-content h2{
    margin-bottom: 20px;
}
.logo.logo-lg p{
    font-size: 32px;
    line-height: 36px;
}
.logo.logo-lg span{
    font: 14px 'Montserrat-Medium';
    white-space: nowrap;
}
.popup-content .logo{
    margin-bottom: 60px;
}
.popup-content h3{
    line-height: 22px;
    margin-bottom: 20px;
}
.popup-content h3:after{
    margin-left: 25px;
}
.popup-content p{
    font: 14px/18px 'Montserrat-Medium';
}
.popup-footer p{
    font: 12px/18px 'Montserrat-Medium';
    margin-bottom: 5px;
}
.login-form{
    display: block;
    margin: 20px 0px;
}
.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"]{
    display: block;
    width: 245px;
    margin-top: 10px;
    padding: 15px 0;
    background: none;
    border-bottom: 1px solid #1d1d1d;
    font: 14px 'Montserrat-Medium';
    color: #0a0a0a;
}
.login-form  input[type="submit"]{
    color: #fff;
    margin-top: 27px;
}
/*=== TOP BANNER ===*/
.main-info{
    position: relative;
    height: 575px;
    background: #1d1d1d;
    color: #fff;
}
.main-info .container.flexbox{
    height: 100%;
    padding-top: 6px;
}
.main-info h1{
    font: 60px/68px 'playfairdisplay-regular';
    white-space: nowrap;
    position: relative;
    z-index: 2;
}
.main-info .left-box h3{
    color: #ed1c24;
    font-size: 18px;
    margin-bottom: 15px;
}
.main-info .left-box h3:before{
    top: 11px;
    margin-right: 15px;
    margin-left: 0;
}
.main-info .left-box h3:after{
    content: none;
    top: 11px;
}
.main-info .left-box{
    width: calc(100% - 590px);
    padding-top: 110px;
}
.main-info .left-box p{
    max-width: 365px;
}
.main-info .right-box{
    width: 590px;
}
.top-img-banner{
    height: 430px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.top-img-banner:after{
    visibility: visible;
    opacity: 1;
}
.move-down{
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    text-align: center;
    position: absolute;
    bottom: 40px;
    left: 0;
    z-index: 2;
}
.move-down:after{
    content: "\f107";
    display: block;
    font: 20px/18px Font Awesome\ 5 Pro;
    font-weight: 300;
    color: #fff;
    margin-top: 7px;
}
.move-down:hover:after{
    color: #ed1c24;
}
/*=== RECENT UPDATES ===*/
.news-wrapper{
    display: flex;
    margin-left: 26px;
    position: relative;
    top: 185px;
    z-index: 1;
}
.news-line{
    height: 2px;
    position: absolute;
    width: calc(100% + 55px);
    background: rgba(255, 255, 255, 0.25);
    top: 150px;
}
.news-line:before{
    content: "";
    position: absolute;
    width: 42px;
    height: 3px;
    left: 3px;
    bottom: 0;
    background: #ed1c24;
}
.news-line.move:before{
    left: 280px;
}
.news-box{
    background: #161616;
    width: 290px;
    padding: 90px 15px 70px 27px;
    -webkit-transition: background 0.3s ease 0s;
    -moz-transition: background 0.3s ease 0s;
    transition: background 0.3s ease 0s;
}
.news-box-top{
    min-height: 87px;
    padding-bottom: 65px;
}
.news-box-top a{
    font: 22px 'Montserrat-Medium';
    text-transform: none;
    white-space: nowrap;
}
.news-box-top a:after{
    content: "\f061";
    font: 18px/18px Font Awesome\ 5 Pro;
    font-weight: 800;
    display: inline-block;
    color: #ed1c24;
    margin-left: 15px;
}
.news-box h4{
    margin-bottom: 25px;
    min-height: 48px;
}
.news-box p{
    font-family: 'Montserrat-Light';
    min-height: 110px;
}
.news-box .more{
    font-family: 'Montserrat-Bold';
    text-transform: uppercase;
}
.news-box.hidden{
    width: calc(100% - 290px);
    background: none;
    opacity: 0.5;
    padding: 90px 0px 30px 20px;
}
.news-box.hidden .news-box-top a{
    display: none;
}
.news-box.hidden .more{
    display: none;
}
.news-box.hidden h4{
    max-width: 220px;
}
/*=== QUICK LINKS ===*/
.quick-links-wrapper{
    padding: 125px 0 115px;
}
.quick-links-wrapper .ql-box{
    width: 25%;
    text-align: center;
    padding: 25px 20px 35px;
    position: relative;
}
.quick-links-wrapper .ql-box:before,
.quick-links-wrapper .ql-box:last-child:after{
    content: "";
    display: block;
    height: 150px;
    width: 1px;
    top: 10%;
    left: 0;
    background: #c6c6c6;
    position: absolute;
}
.quick-links-wrapper .ql-box:last-child:after{
    left: auto;
    right: 0;
}
.quick-links-wrapper .ql-box:hover{
    background: #eeeeee;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}
.quick-links-wrapper .ql-box:hover:before,
.quick-links-wrapper .ql-box:hover + .ql-box:before,
.quick-links-wrapper .ql-box:hover:after{
    opacity: 0;
}
.ql-box .icon{
    display: inline-block;
    vertical-align: top;
    width: auto;
    width: 70px;
    height: 64px;
    margin-bottom: 10px;
    background-repeat: no-repeat;
    background-position: center center;
}
.ql-box .icon img{
    max-height: 100%;
}
/*=== RESOURCES LINKS ===*/
.resources-wrapper {
    padding-bottom: 100px;
}
.resources-wrapper .container > p{
    margin-bottom: 45px;
}
.resources-wrapper ul{
    width: 25%;
    padding: 25px 15px 20px 35px;
    border-left: 1px solid #c6c6c6;
}
.resources-wrapper ul:last-child{
    border-right: 1px solid #c6c6c6;
}
.resources-wrapper li{
    line-height: 20px;
    padding-left: 15px;
    position: relative;
    margin-bottom: 15px;
}
.resources-wrapper li:last-child{
    margin-bottom: 0;
}
.resources-wrapper li:before{
    content: "\f105";
    display: block;
    font: 16px/18px Font Awesome\ 5 Pro;
    font-weight: 800;
    position: absolute;
    left: 0;
}
.resources-wrapper a:hover{
    font-family: 'Montserrat-Bold';
}
/*=== FOOTER ===*/
.footer-wrapper {
    height: 83px;
}
.footer-main{
    border-top: 1px solid #c6c6c6;
    border-bottom: 1px solid #c6c6c6;
    padding: 35px 0;
}
.footer-main p{
    line-height: 24px;
    margin-bottom: 0;
}
.footer-main p a,
#main p a:not([class]){
    font-family: 'Montserrat-Bold';
    color: #ed1c24;
}
.footer-bottom{
    padding: 20px 0 35px;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom .fa-envelope{
    font-size: 22px;
}
.footer-bottom a:hover{
    color: #ed1c24;
}
.footer-bottom .copyright{
    font: 14px 'Montserrat-Medium';
}
.jbsystems{
    display: inline-block;
    vertical-align: middle;
    background: url(../images/layout/logo-JB-Systems.png) no-repeat;
    width: 77px;
    height: 28px;
    margin-left: 5px;
}
/*=== INNER PAGES ===*/

/* BREADCRUMBS */
.breadcrumbs{
    margin-bottom: 70px;
}
.breadcrumbs:after{
    margin-top: 15px;
}
.breadcrumbs li{
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
}
.breadcrumbs li:after{
    content: "";
    display: inline-block;
    vertical-align: top;
    height: 7px;
    width: 7px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: #ed1c24;
    margin: 0 4px 0 4px;
    position: relative;
    top: 4px;
}
.breadcrumbs li:last-child:after{
    content: none;
}
.breadcrumbs li:last-child span{
    font-family: "Montserrat-SemiBold";
}
.main-content{
    padding: 45px 0 210px;
}

.main-content h1:after{
    position: static;
    margin: 35px 0 35px 7px;
}
.main-content .col-left .inner-box{
    max-width: 580px;
}
.main-content .sidebar{
    width: 340px;
    padding-left: 95px;
}
.main-content .sidebar > *:not(:last-child){
    margin-bottom: 30px;
}
.quick-links-menu li{
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding: 20px 50px 15px 0 ;
}
.quick-links-menu li:first-child{
    padding-top: 0;
}
.quick-links-menu li.active:after{
    position: absolute;
    bottom: -2px;
    left: 0;
}
.quick-links-menu li.active h3{
    color: #ed1c24;
}
.quick-links-menu  h3{
    font-size: 20px;
    line-height: 24px;
}
.quick-links-menu .icon{
    width: 60px;
    height: 48px;
    background-size: contain;
}
/* Toggle Styles */
.toggle-list{
    margin-top: 55px;
}
.toggle-box{
    border-top: 1px solid #c6c6c6;
    background: #FFF;
    transition: all 0.5s ease 0s;
}
.toggle-box:first-child{
    border-top: none;
}
.toggle-box:last-child{
    border-bottom: 1px solid #c6c6c6;
}
.toggle-head{
    font: 24px/26px 'Montserrat-Bold';
    text-transform: uppercase;
    position: relative;
    padding: 40px 120px 34px 0;
    cursor: pointer;
}
.toggle-head:before,
.toggle-head:after{
    content: '';
    position: absolute;
    right: 30px;
    top: 50px;
    height: 4px;
    width: 21px;
    background: #1d1d1d;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}
.toggle-head:after{
    color: #e71939;
    -webkit-transform: rotate(90deg);
       -moz-transform: rotate(90deg);
            transform: rotate(90deg);
}
.toggle-open .toggle-head:before,
.toggle-open .toggle-head:after{
    background: #ed1c24;
}
.toggle-open .toggle-head:after{
    -webkit-transform: rotate(180deg);
       -moz-transform: rotate(180deg);
            transform: rotate(180deg);
}
.toggle-box.toggle-open {
    background: #f4f4f4;
    margin-bottom: 8px;
}
.toggle-box.toggle-open .toggle-head span{
    max-width: 500px;
}
.toggle-box.toggle-open .toggle-head{
    -webkit-box-shadow: inset 0 8px rgba(255, 255, 255, 1);
    -moz-box-shadow: inset 0 8px rgba(255, 255, 255, 1);
    box-shadow: inset 0 8px rgba(255, 255, 255, 1);
    padding-left: 37px;
}
.toggle-box.toggle-open:first-child .toggle-head{
    box-shadow: none;
}
.toggle-content{
    display: none;
    padding-bottom: 150px;
    position: relative;
}
.toggle-content li{
    padding: 10px 80px 10px 60px;
}
.toggle-content li a{
    font-size: 16px;
    line-height: 22px;
    display: block;
    position: relative;
    padding-left: 33px;
}
.toggle-content li a [class*="fa-"]{
    font-size: 24px;
    vertical-align: sub;
    position: absolute;
    left: 0;
    top: -2px;
}
.toggle-content li:nth-child(even){
    background: #e0e0e0;
}
#fb-editor {
	max-width: 1100px;
	margin: 40px auto 0;
}

.message {
	padding: 30px;
	background: #FFF;
}
.section-content {
	padding: 0px 80px 20px 60px;
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 20px;
}
.section-content .btn {
	margin-top: 12px;
}
#dash-btn,
#dash-btn + li {
	margin-right: 20px;
	padding-right: 20px;
	position: relative
}

#dash-btn:after,
#dash-btn + li:after {
	content: "";
	position: absolute;
	top: -2px;
	right: 0;
	height: 20px;
	width: 2px;
	background: #FFF;
}

#menu-btn {
	padding-left: 30px;
}

#search-results header {
	display: block;
	padding: 20px 0; 
}

#search-results ul {
  list-style: none;
  padding: 0;
  margin:0;
}

#search-results ul li {
  display: block;
  position: relative;
  padding: 0px 0px 24px 40px;
  margin-bottom: 24px;
  border-bottom: 1px solid #000;
}
#search-results ul li::before {
  content: attr(data-count);
  color: #000;
  font-family: 'Montserrat-Bold';
  display: inline-block;
  vertical-align: top;
  position: absolute;
  left: 0;
  top: 6px;
}

#search-results ul li p {
  padding: 0;
  margin: 0;
}

#search-results .icon-cell {
  width: 50px;
}

#search-results .icon-cell + .cell {
  padding-top: 11px;
}

#search-results h4 {
  display: inline-block
}

#search-results .icon {
	font-size: 18px;
}

#light-pagination {
  display: block;
  padding: 0 0 0 30px;
}

#light-pagination li {
  padding: 30px 0 0 10px !important;
}

#light-pagination li:before {
  display: none !important;
}

.filters #contact-form p {
  margin: 0 0 1em 0;
  padding: 10px 20px !important;
  background: rgba(106, 106, 106, 0.20);
}

.filters #contact-form p label {
  margin: 0px 20px 0 0;
  width: auto;
}

.filters #contact-form label[for="filter"] {
	display: inline-block;
	vertical-align: middle;
}

.filters .nowrap * {
  display: inline-block;
  vertical-align: middle !important;
}

.filters .nowrap label {
  padding: 0 0 0 8px;
}