/* Global CSS Document for all website */


html{max-width: 100%; overflow-x: hidden}
body, html{width:100%; height:100%; margin: 0px; font-size:1rem}

body{
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
	font-size:16px;
	padding: 135px 0 0;
}


/* HTML */
div{box-sizing: border-box; background-repeat: no-repeat; background-position: center}
a{}
input{padding:10px; border:1px solid #ccc}
textarea{padding: 15px; border:1px solid #ccc; box-sizing: border-box}
select{padding:10px; border:1px solid #ccc}

strong{font-weight:700}
div{box-sizing: border-box; background-repeat: no-repeat; background-position: center}
a{text-decoration: none; transition: all 300ms ease; color: var(--links)}
a:hover{color:var(--primary)}
input{padding:10px; border:1px solid var(--grey)}
textarea{padding: 15px; border:1px solid var(--grey); box-sizing: border-box}
select{padding:10px; border:1px solid var(--grey)}
p{line-height: 1.8rem}

h1, h2, h3, h4, h5, h6{font-weight: 700;font-style: normal; padding: 0; margin: 0 0 15px}
h1{font-size: 3.625rem; color: var(--primary); font-weight: 500}
h2{font-size: 2rem; color: var(--primary)}
h3{font-size: 1.125rem; color: var(--primary)}
h4{font-size: 1.2rem; color: var(--primary)}

/*
h1{font-size: 2.5rem; color: var(--primary); font-weight: 500}
h2{font-size: 2rem; color: var(--primary)}
h3{font-size: 1.4rem; color: var(--primary)}
h4{font-size: 1.2rem; color: var(--primary)}

h1{font-size:58px; font-weight:700}
h2{font-size:2rem; font-weight:700; color: var(--primary)}
h3{font-size:18px; font-weight:700; color: var(--primary)}
h4{font-size:16px; font-weight:700; color: var(--primary)}
h5{font-size:14px; font-weight:700; color: var(--primary)}
*/

table{border-top:1px solid #ccc; border-right:1px solid #ccc; margin: 15px 0}
tbody{padding: 0; margin: 0}
table td{margin: 0; padding: 0}
table td, table th{border-bottom:1px solid #ccc; border-left:1px solid #ccc; padding: 4px; margin: 0}

.flex{display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap}
.flex > div{width:100%}

.pagination{text-align: center; margin: 0 0 60px; display: flex; justify-content: center; align-items: center}
.pagination a{display: inline-block; background: #ccc; padding: 6px 6px; margin: 0; color:var(--primary) !important}
.pagination a:hover{background-color: var(--links); color: #fff}
.pagination .current{background: var(--primary); color: #fff; padding: 6px 8px}




/* Network */
.network-sites{list-style: none; padding: 0; margin: 30px 15px}
.network-sites > li{padding: 0; margin: 0 10px 0 0; display: inline-block}
.network-sites a{display: block; padding: 5px 10px; font-size:11px; background: #666; color: #fff; border-radius:100px}



.center{text-align: center}
.bold{font-weight:700}

.videowrapper{aspect-ratio:16/9; background: #ededed; position: relative; width:100%}
.videowrapper iframe{width:100%; height: 100%; position: absolute; top:0; left:0}


/* Mobile nav button */
#mobnavbutton{width:30px; height:30px; min-width:30px; cursor: pointer; display: none; z-index: 10; box-sizing: border-box; transform:translate(0, -5px)}
#mobnavbutton:hover{opacity: 0.6}
#mobnavbutton > div{border:2px solid  var(--primary); margin: 4px; border-radius: 100px; box-sizing: border-box}

.mob-login-wrap{text-align:center; padding: 0 30px 30px;}
.mob-login-wrap .button-plum{max-width: 120px; margin: 0 auto; box-shadow:inherit; color: #fff !important}

#mobnavbutton.active{transform:scale(1.1) translate(7px, 2px)}
#mobnavbutton.active > div:nth-of-type(1){transform: rotate(45deg) translate(0, 11px)}
#mobnavbutton.active > div:nth-of-type(2){opacity:0}
#mobnavbutton.active > div:nth-of-type(3){transform: rotate(-45deg) translate(0, -11px)}








/* Mobile nav */
#mobnav{position: fixed; background-color: var(--primary); height: calc(100vh - 110px); overflow: auto; bottom:0px; right:calc(100vw * -1); width:100vw; z-index: 10; transition:all 400ms ease; font-size:18px; color: #fff}
#mobnav ul{list-style: none; padding: 0px; margin: 30px}
#mobnav li{padding: 0px; margin: 0px; position: relative}
#mobnav a{display:block; color: #fff !important; padding: 10px 0 10px 0; transition:all 300ms ease; position: relative; border-bottom:1px solid var(--grey)}
#mobnav i{position: absolute; top:14px; right:14px; color:#fff; font-size:30px; cursor:pointer}
#mobnav.active{right:0px}
#mobnav .sub-menu{display: none; margin: 0; padding: 0}
#mobnav .sub-menu a{border:0; padding: 10px 0 10px 20px; background-image: none; border-bottom:1px solid var(--grey)}
#mobnav .sub-menu.active{display: block; padding: 0; margin: 0}

#mobnav .current-menu-item > a{font-weight:700}

#mobnav li.active .sub-menu{display:block}

#mobnav .menu-item-has-children > a::after {
  display: inline-block;
  content: "\f107"; /* Unicode for fa-angle-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1rem;
}


#mobnav .sub-menu a::after {
  display: inline-block;
  content: "\f105"; /* Unicode for fa-angle-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1rem;
}







/* Contact detail bar (top of page) */
.contact-bar{background-color: var(--primary); color: #FFFFFF; padding: 10px 30px}
.contact-bar a{color: #fff}
.contact-bar-flex{display:flex; justify-content: flex-end; align-content: center; grid-gap: 30px; margin: 0 auto; max-width: var(--content-width)}
.contact-bar-flex > div{}
.contact-bar-flex > div:last-of-type{text-align: right}
.contact-bar-flex .fa-phone-flip{transform: rotate(90deg)}

/* Masthead */
header{position:fixed; top:0; left:0; width:100%; background: #fff; box-shadow: var(--box-shadow); z-index: 5}
.masthead{padding: 20px 30px 10px; background: #fff}
.masthead-inner{display: flex; justify-content: space-between; align-items: center; grid-gap: 30px; margin: 0 auto; max-width:var(--content-width)}
.masthead-inner > div{position: relative}
.masthead-inner > div:last-of-type{text-align: right}

.login-button{margin: 0 0 15px; display: block; color: var(--primary)}
.login-button i{color: var(--primary) !important}



/* Main menu */
.menu-header
{list-style: none; padding: 0; margin: 0; display: flex; justify-content: flex-end; align-items: center; flex-wrap:wrap; column-gap: 38px; font-size:1rem}
.menu-header > li{padding: 0; margin: 0; position: relative}

.menu-header a{color: var(--primary); font-weight: 700; display: block; cursor: pointer}




/* Main sub menus */
.menu-header > li > .sub-menu{position: absolute; top:40px; left:0; list-style: none; padding: 0; margin: 0; box-shadow:0 0 10px rgb(0,0,0,0.5); border-radius:4px; display: none}
.menu-header > li > .sub-menu > li{padding: 0; margin: 0}
.menu-header > li > .sub-menu > li a{display: block; background: #fff; min-width:200px; text-align: left; padding: 10px; transition:all 300ms ease}
.menu-header > li > .sub-menu > li a:hover{color:#666}



/* Footer */
footer{background-color: var(--primary); color: #fff; width:100%; padding: 30px 0}
footer a{color: #fff}
footer a:hover{color: var(--links)}
footer > h2{max-width: 70rem; margin: 0 auto; font-size:1.4rem; padding-bottom: 30px}

.footer-flex{display:flex; justify-content: space-between; align-content: stretch; grid-gap: 30px; margin: 0 auto; max-width: var(--content-width)}
.menu-footer{list-style: none; padding: 0; margin:0}
.menu-footer >li{margin: 0 0 30px}
.menu-footer a{font-size:1.1rem; font-weight:bold}



.footer-socials{list-style: none; padding: 0; margin: 0}
.footer-socials > li{padding: 0; margin: 0 0 20px}
.footer-socials > li a{padding: 5px}

.footer-socials-bcarm{list-style: none; padding: 0; margin: 0; display: flex; grid-gap: 14px}
.footer-socials-bcarm > li{font-size:1.4rem; background: var(--secondary); color: var(--primary); display: flex; justify-content: center; align-items: center; width:40px; height: 40px; border-radius:100px}
.footer-socials-bcarm a{color: var(--primary)}

/* Sub Footer */
.sub-footer{background-color: var(--grey-dark); width:100%; padding: 10px 30px; font-size:0.8rem}
.sub-footer-flex{display: flex; justify-content: center; align-items: center; max-width: 70rem; margin: 0 auto}
.sub-footer-flex > div{width:100%; color: #fff}
.sub-footer-flex > div:last-of-type{text-align: right}
.sub-footer-flex a{color: #fff}
.sub-footer-flex a:hover{color: var(--links)}
.sub-footer-nav{display: flex; justify-content:flex-end; align-items: center; grid-gap: 50px; flex-wrap: wrap}
.footer-strip-link{margin-bottom: 0; padding-bottom: 0}

/* Content */
.content{margin: 0 auto; min-height: calc(100vh - 330px)}
.content li{ margin: 10px 0 15px}

/* News filters */
.filter-bar{display: flex; justify-content: center; align-items: center; grid-gap: 12px; margin: 0 auto 40px}
.filter-bar > div:first-of-type{font-weight:700; font-size:1.8rem; padding: 0 20px 0 0}
.filter-button{border:1px solid #ccc; background-color: #f8f8f8; color:#333; padding: 8px 16px; border-radius:100px; cursor: pointer; display: block}
.filter-button:hover{background-color: #ddd}


.case-studies-hero{padding: 70px 30px; color:#fff; background-color: var(--primary); background-size: cover; position: relative; margin: 0 auto 30px}
.case-studies-hero h1{color: #fff !important; z-index: 3; text-align: center; position: relative; max-width: var(--content-width); margin: 0 auto}
.case-studies-hero img{object-fit: cover; object-position: center; width:100%; height: 100%; position: absolute; top:0; left:0; z-index: 1; opacity: 0.4}


.case-study{max-width: var(--content-width); margin: 0 auto 30px; display: flex; justify-content: space-between; align-items: stretch; grid-gap: 60px}
.case-study > div{width:100%; position: relative}
.case-study > div:first-of-type{padding:0 0 90px 0}
.case-study > div:last-of-type{min-width: 190px; max-width: 190px; padding-top: 100px}
.case-study blockquote{color: var(--links); text-align: center; padding: 0; margin: 0 15px; font-weight:700}
.case-study .general-content-block{padding:0}

.casestudy-details-panel{border-left: 4px solid var(--secondary); padding-left: 15px}
.casestudy-details-name{font-weight:700;padding: 0; margin: 0}
.casestudy-details-name span{font-weight:400}
.casestudy-details-company{padding: 0; margin: 0; font-weight:400; font-size:1rem}

.hsManagementSystemApplet {
    background-color: #e9ecef;
    color: var(--primary);
    box-shadow: var(--box-shadow);
    padding: 0;
    text-align: center;
    display: block;
    border-radius: 12px;
    position: sticky;
    top: 200px;
}
.hsManagementSystemApplet .hs-icon{position: relative}
.hsManagementSystemApplet .hs-icon i{font-size:2.4rem; color: var(--primary); position: absolute; top:-23px; left:77px}
.hsManagementSystemApplet h3{font-weight:500; font-size: 1rem; padding: 35px 0 0}
.hsManagementSystemApplet p{line-height: 1.2; font-size:0.8rem}
.hsManagementSystemApplet .hs-button{background: var(--primary); color: #fff; padding: 15px; border-bottom-left-radius:12px; border-bottom-right-radius:12px; cursor: pointer}

.hsManagementSystemApplet:hover{box-shadow: var(--box-shadow-hover)}
.hsManagementSystemApplet:hover .hs-button div{transition: all 300ms ease; letter-spacing: 0}
.hsManagementSystemApplet:hover .hs-button div{letter-spacing: 4px}


.hsManagementSystemApplet .hs-content{padding: 0 15px}

.read-more-case-studies h2{text-align: center}
.read-more-case-studies .recent-insights-flex{justify-content: center}

.h1-insights-news{text-align: center; padding: 60px 30px 15px}



.insight-cat-desc{max-width: var(--content-width); margin: 0 auto 60px; padding: 30px 0; line-height: 1.6}
.insight-cat-desc h2, .insight-cat-desc h1{color:var(--primary); font-size:2.4rem; line-height: 1.2}

.academy-single{max-width:600px; margin: 60px auto}
.academy-single .general-content-block{padding: 0}
.academy-single h1{font-size: 2.2rem; margin: 15px 0 5px}
.academy-single h2{font-size: 1.6rem; color: var(--primary); margin: 0 0 30px}
.academy-image img{width:100%; max-width:100%}
.academy-date{margin: 30px 0 0; font-size:1.1rem; font-weight:500}

.modal{background-color: rgb(0,0,0, 0.8); position: fixed; top:0; left:0; width:100%; height: 100vh;  z-index: 10; display: none; justify-content: center; align-items: center; box-sizing: border-box; cursor: pointer}
.modal > div{background-color: var(--primary); padding: 30px; color: #ffff; text-align: center; box-shadow:3px 3px 15px rgb(0,0,0,0.6); width:100%; max-width: 600px; max-height: 90vh; box-sizing: border-box; overflow: auto; cursor:default; position: relative}
.modal h1, #modal h2, #modal h3, #modal h4{color: #fff}
.modal h1, #modal h2{font-size:2rem; margin: 0 0 15px}
.modal h3{font-size:1.4rem}
.modal .fa-xmark{position: absolute; top:10px; right:10px; color: #fff; font-size:1.5rem; cursor: pointer; transform: all 300ms ease}
.modal .fa-xmark:hover{color: var(--secondary)}

.modal > div::before, .modal > div::after {
    z-index: -1;
}
.modal > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 170px;
    background-image: url("../../themes/bcarm/img/dialog-wave-top.svg");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
}
.modal > div::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 180px;
    background-image: url("../../themes/bcarm/img/dialog-wave-bottom.svg");
    background-size: contain;
    opacity: 0.1;
}

#academy-booking-iframe{border:0; width:100%; padding: 0; margin: 0; height: 1200px}

.videos-index{padding-top: 30px}
.single-video{width:100%; max-width: var(--inner-width); margin: 30px auto 90px}
.single-video h1{font-size:2rem; margin: 30px 0 0}

.videos-list{display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; max-width:var(--content-width); margin:30px auto 90px; grid-gap: 30px}
.videos-list > div{width:100%; max-width:375px}
.videos-list > div h2{font-size:1.2rem}
.videos-list-thumb{aspect-ratio:16/9; background-color: #ededed; margin-bottom: 15px}
.videos-list-thumb img{object-fit: cover; width:100%; height: 100%; object-position: center}

.testimonials-index-wrap{padding: 0 30px}
.testimonials-index{max-width:var(--content-width); margin: 0 auto;}
.testimonial-list{padding: 30px 0}
.testimonial-list h2{color:var(--primary); margin: 0}
.testimonial-list h3{color:var(--dark-grey); margin: 0}
.testimonial-list > div{background: var(--grey); border-radius:30px; margin: 10px 0; padding: 30px}


#free-trial-modal > div{background-color: var(--primary); color: #fff; padding: 20px 30px 15px; box-shadow:3px 3px 10px rgb(0,0,0,0.7)}
#free-trial-modal > div h2{color: #fff !important}
#free-trial-modal > div label{color: #fff !important}

#academy-register-modal > div{background-color: var(--primary); color: #fff; padding: 20px 30px 15px; box-shadow:3px 3px 10px rgb(0,0,0,0.7)}
#academy-register-modal > div h2{color: #fff !important}
#academy-register-modal > div label{color: #fff !important}
#academy-register-modal .inputs-list{margin: 0; padding: 0}

#download-insight-modal > div{background-color: var(--primary); color: #fff; padding: 20px 30px 15px; box-shadow:3px 3px 10px rgb(0,0,0,0.7); height:100vh; max-height: 650px}
#download-insight-modal > div h2{color: #fff !important}
#download-insight-modal > div label{color: #fff !important}
#download-insight-modal .inputs-list{margin: 0; padding: 0}

.modal .hbspt-form{padding-top: 0 !important}


@media only screen and (max-width: 1600px) {

}
@media only screen and (max-width: 1200px) {
	footer > h2{padding: 0 30px}
	.footer-flex{margin: 0 30px}
	.footer-flex{margin: 0 30px !important} 
}
@media only screen and (max-width: 1000px) {
	.sub-footer{padding: 30px}
	.sub-footer-flex{flex-direction: column; grid-gap: 15px}
	.sub-footer-flex > div{max-width: 100%; text-align: center}
	.sub-footer-nav{justify-content: center}
}
@media only screen and (max-width: 900px) {
	.case-study > div:first-of-type{padding:0 30px 90px}
	.case-study > div:last-of-type{display:none}
}

@media only screen and (max-width: 700px) {
	.menu-header, .login-button{display: none}
	#mobnavbutton{display: block}
	body{padding: 100px 0 0}
	
	.filter-bar{flex-direction: column}
	.filter-button{width:240px; text-align: center}
	.breadcrumbs{display: none}
}
@media only screen and (max-width: 600px) {
	body{padding: 140px 0 0;}
	.footer-flex{flex-direction: column}
	.footer-flex > div{max-width: 100%}
	.contact-bar-flex{justify-content: center}
	.contact-bar-flex{column-gap: 20px}
	.buttonbar-list a{margin: 0 auto 15px; min-width:100%; box-sizing: border-box}
	.footer-contact{margin-bottom: 50px}
	.masthead-inner{grid-gap: 0px}
	.logo img{max-width: 260px}
	#modal > div{max-width:86vw}
	.case-studies-hero h1{font-size:2.6rem}
	.h1-insights-news{font-size:2.6rem}
}
