:root {
    --bggray: #acb0bb;
    --bgbluegray: #506478;
    --bgtan: #e1e2d4;
    --orange: #f15f22;

    --bgskyblue: #d6e1e5;
    --bglightgray: #dbdce0;
    --bgoffwhite: #fafaf7;
    --bgstealblue: #506478;
}
body { font-family: "Roboto", "Helvetica Neue", Helvetica Neue, Helvetica, Arial, sans-serif; }
/* branding */
a { color: var(--orange) }
.logo { max-height: 25px; }
.navbar-brand { color: #fff; letter-spacing: .1rem; font-size: 14px; }
.navbar-brand a:hover { color: #fff !important; text-decoration: none; }

.btn-primary { font-size: .9rem !important; }
.pl-3 { padding-left: 20px; }
/* icons */

/* overrides */
.btn-primary { background: #f15f22; color: #fff; border: 0; border-radius: 7px; font-size: 19px; }
.btn-primary:hover { background: #000; color: #fff; }
.bgphoto { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; min-height: 570px; }
.mba {   -webkit-animation: motionblur .5s ease-in-out; animation: motionblur .5s ease; }
.mbao {   -webkit-animation: motionbluro .5s ease-in-out; animation: motionbluro 1s ease; }
.caps { text-transform: uppercase; }

/* side menu 
#sidemenu ul { position: fixed; top: 57%; left: 25px; z-index: 100; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center center; white-space: nowrap; }
#sidemenu li { display: inline-block; margin-right: 10px; }
#sidemenu a { text-decoration: none; color: #000; mix-blend-mode: difference; font-size: .8rem; }
#sidemenu a:hover { font-weight: bold; text-decoration: underline; }

#sidemenu .active { font-weight: bold; text-decoration: underline; }
*/
/* headers */
header { height: 100vh; background: url(../images/headerHome.jpg) bottom center; background-size: cover; position: relative; }
header h1 { color: #fff !important; }
header hr { border : none; height: 9px; background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1), rgba(255, 255, 255, 1)); opacity: 1; width: 50%; margin: auto; -webkit-transform: skewX(-14deg); }
header .scrolldown { position: absolute; bottom: 57px; width: 100%; text-align: center; color: #fff; left: 0; }
.hrwhite { border: none; height: 2px; background: #fff; width: 77%; margin: auto; }
header .carrying { height: 150px; }
header .carryingin { height: 70px; }
.innerh1 { letter-spacing: .2rem }

/* animations */
@keyframes motionblur {
    0% { transform: translateX(-50%) skewX(-14deg); opacity: 0; }
    100% { transform: translateX(0%) skewX(0); opacity: 1; }
}
@keyframes motionbluro {
    0% { transform: translateX(-100%) skewX(-7deg); opacity: 0; }
    100% { transform: translateX(0%) skewX(-7deg); opacity: 1; }
}
/* colors */
.bggray { background: var(--bggray) }
.bgtan { background: var(--bgtan); }
.bgskyblue { background: var(--bgskyblue); }
.bglightgray { background: var(--bglightgray); }
.bgoffwhite { background: var(--bgoffwhite); }
.bgbluepic { background: url(../images/bgbluepic.jpg) no-repeat top right; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }




/* typography */
.text-orange { color: var(--orange) !important; }
#home p { font-size: 1.4rem; line-height: 2rem; }
header p { font-size: 1.4rem; line-height: 2rem; }
p { font-size: 1rem; line-height: 1.8rem; margin-bottom: 20px; }
h2 { color: var(--orange); font-size: 30px; font-style: italic; font-weight: bold; text-align: center; margin-bottom: 20px; }
.caps { text-transform: uppercase !important; }
.italic { font-style: italic !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right!important; }
.text-center { text-align: center!important; }
.strongli li { font-weight: bold; }
/* nav & footer */
.navbar { background: rgba(255,255,255,.3); border-bottom: 1px solid #fff; transition: all .47s }
/*.navbar { background: transparent; border-bottom: 1px solid #fff; }*/

.nav-link { color: #fff !important; }
.nav-link:hover { font-weight: bold; color: var(--orange) !important /* transform: skewX(-14deg); */} 
footer { background: var(--bggray) }
footer ul { margin: auto; }
footer li { display: inline-block; } 
footer a { color: #000; text-decoration: none; }
footer a:hover { color: #000; text-decoration: underline; }

/* backgrounds */
/* home */
.bgsafety { background: url(../images/home-safety.jpg) center center; background-size: cover; }
.bgenvironment { background: url(../images/home-environment.jpg) center center; background-size: cover; }
.bgservice { background: url(../images/home-service.jpg) center center; background-size: cover; }
.bgpeople { background: url(../images/home-people.jpg) top center; background-size: cover; }


/* comonents */
blockquote { background: url(../images/orangeTriangle.png) no-repeat -80px center var(--bgstealblue); margin: 0; padding: 20px; width: auto; display: block; margin: auto; color: #fff; font-weight: bold; font-size: 1rem; text-align: center; border-radius: 30px; }
.bigblock { font-size: 1.5rem; }
.bignum { font-size: 2.7rem; font-weight: bold; line-height: 2.7rem; }
/* pages */
#safety h2, #service h2, #env h2, #people h2, { font-size: 2.2rem; }
.safetypicbg { background: url(../images/safetypicbg.jpg) top center; background-size: cover; }
.servicepicbg { background: url(../images/servicebgpic.jpg) top center; background-size: cover; }
#safety header { height: 100vh; background: url(../images/header-safety.jpg) bottom center; background-size: cover; position: relative; }
#service header { height: 100vh; background: url(../images/header-service.jpg) bottom center; background-size: cover; position: relative; }
#env header { height: 100vh; background: url(../images/header-environment.jpg) bottom center; background-size: cover; position: relative; }
#people header { height: 100vh; background: url(../images/header-people2.jpg) bottom center; background-size: cover; position: relative; }
.bgspecialtrains { background: url(../images/bgSpecialTrains.jpg) bottom center; background-size: cover; }
.bgcarbon { background: url(../images/bgCarbon.jpg) bottom center; background-size: cover; }
#safety p, #service p, #env p, #people p, { font-size: 1rem; line-height: 2rem; }
.navbar-scrolled { background: #000 !important; border: none; }
.navbar-scrolled .nav-link { color: #fff !important; }
.navbar-scrolled .nav-link:hover { color: var(--orange) !important; }
/* spacing */
.w-20 { width: 20%; }
.w-30 { width: 30%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.d-block { display: block !important; }
.br-r { border-right: 1px solid #000; }
.nav-link.active { color: var(--orange) !important; font-weight: bold; }
.br-2 { border-radius: 20px; }
.vh100 { min-height: 100vh; height: 100vh; }
.caps { text-transform: uppercase; }
.imgrounded { border-radius: 15px; }
.boxemmis { width: 250px; text-align: left; margin: auto; display: block }
.boxemmis img { width: 70%; }
.btn-primary { background: var(--orange) !important; box-shadow: none; text-transform: none; }
.btn-primary:hover { background: #000 !important; box-shadow: none; text-transform: none; }
.navbar { font-weight: bold; }
@media(max-width: 977px) {
    .carrying { height: 107px !important; }
    .navbar-brand { font-size: .8rem; }
    .navbar-toggler { background: #fff; margin-right: 10px; padding: 4px; }
/*    #sidemenu { display: none }*/
    .br-r { border-right: none; }
}