@import url('//fonts.googleapis.com/css?family=Lato:400,400i,700,700i|Russo+One');

/************ 

TEMPLATE NOTES

Red: #7F1416; rgba(127,20,22,1)
Red - Links: #d62a2d
Black: #000000; rgba(0,0,0,1) -- OR -- #222222
Light Gray: #E6E7E7; rgba(230,231,231,1); only applies to site background, header is white

************/

body {color: #333; font-size: 1.1rem; }

h1, h2, h3, h4, h5, h6 { margin: .75rem 0; line-height: 1.3; font-weight: normal;}
p { line-height: 1.3; font-size: 1.1rem; }

h1 {color: #7F1416; font-size: 2.5rem;}
h2, .page-header h2 { color: #222222; font-size: 2rem; border-bottom: 1px solid #333;  line-height: 1.3; margin: 0; padding: 0;}
h3 {color: #7F1416; font-size: 2rem;}
h4 {font-family: 'Lato', sans-serif; background: #222222; font-size: 1.75rem;color: white; border-radius: .2rem; padding: .1rem .55rem;}
h5 {font-family: 'Lato', sans-serif; color: #7F1416; font-size: 1.5rem; text-transform: uppercase;}
h6 {font-family: 'Lato', sans-serif; color: #222222; font-size: 1.6rem; font-style: italic;}
a { color: #d62a2d; }
a:hover { color: #777; }

blockquote {
	color: #333;     
	padding: 0 0 0 15px;
	margin: 0 0 20px;
	border-left: 5px solid #d5d5d5;
	font: italic 16px/22px Georgia, Serif;
	line-height: 1.2;
	font-size: 1.3rem;
}

address {
	font-style: italic;
	font-weight: bold;
	font-size: 1.2rem;
	line-height: 1.2;
}

/************ BUTTONS  ************/
.readon, .button, .btn, p.readmore .btn   { 
  color: white; 
  font-size: 1rem;
  text-transform: none;
  font-weight: normal;
  background: #222222; 
  padding: .7rem 1.3rem; 
  border-radius: .5rem; 
  margin: 0;
  display: inline-block;
  font-weight: 500;
  line-height: 1.125rem;
  border: none;
  transition: all .2s ease-in;
}

.readon:hover, .button:hover, .btn:hover,  p.readmore .btn:hover {background: #777; color: white;}

.btn .icon-chevron-right { display: none;}

/************ TABLES  ************/
.fancytable th {color: white; background: #7F1416; border: 1px solid #7F1416;}
.fancytable td { border: 1px solid #7F1416;}

/************ ALERT ************/
.alert .g-content {padding: 0; margin: 0;}
.alert {border: none; padding: 0; margin: 0; background-color: #FFCFCF; color: #FF0000;}
.alert h1, .alert h2, .alert h3, .alert h4, .alert h5, .alert h6, .alert p { margin-left: 20px; color: #FF0000; background: transparent;}


/************ LANDING PAGE  ************/
.landing #g-top { padding: 0; }
.landing #g-footer a { color: #d62a2d; }

/************ HOMELAYOUT  ************/
.homelayout .hiddenhome { display: none; }

@media only screen and (min-width: 768px) { .hiddendesktop {display: none; } }
@media only screen and (max-width: 767px) {
	.hiddenmobile { display: none; }
	.hiddenmobile.bottomcontact { display: none; }
}

/************ BACKGROUND IMAGES  ************/
.homelayout #g-page-surround { 
	background: #e6e7e7 url(../images/homepage/background.jpg) 0% 57% no-repeat !important;
	background-size: contain !important;
}

#g-page-surround { 
	background: #e6e7e7 url(../images/homepage/background.jpg) 0% 0% no-repeat !important;
	background-size: contain !important;
}
#g-aside { background: none; }

@media only screen and (max-width: 767px) {
	.homelayout #g-page-surround, #g-page-surround { 
	background: #e6e7e7 url(../images/homepage/background-mobile.jpg) 0% 40% repeat !important; background-size: contain !important; }
}

/************ HEADER  ************/
#g-top { padding: 1% 10%; }
#g-top p { margin: 0; }
#g-top .g-block.size-55 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/************ MENU  ************/
#g-navigation { padding: 5px 10%;}
#g-navigation .g-content { margin: 0; padding: 0;}
.g-main-nav .g-toplevel > li > .g-menu-item-container, .g-main-nav .g-toplevel > li:hover > .g-menu-item-container, .g-main-nav .g-toplevel > li.active > .g-menu-item-container { color: white; }
.g-main-nav .g-standard > .g-dropdown, .g-main-nav .g-fullwidth > .g-dropdown { margin-top: 0px;}
.g-main-nav .g-toplevel > li:hover, .g-main-nav .g-toplevel > li.active { background: rgba(0,0,0,0.1); }
.g-main-nav .g-sublevel > li:hover, .g-main-nav .g-sublevel > li.active { background: rgba(255,255,255,0.1); }
.g-main-nav .g-toplevel > li > .g-menu-item-container { text-align: center; }
.g-main-nav .g-toplevel > li.g-parent .g-menu-parent-indicator {display: none; }
.g-main-nav .g-toplevel > li > .g-menu-item-container, .g-main-nav .g-sublevel > li > .g-menu-item-container {font-size: 1.1rem; }

.g-main-nav ul.g-toplevel {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
}
.g-main-nav .g-standard .g-fade.g-dropdown { z-index: 10;}
.g-main-nav .g-dropdown { border-radius: 0 0 6px 6px;}

.g-main-nav .g-standard > .g-dropdown.g-dropdown-right, .g-main-nav .g-fullwidth > .g-dropdown.g-dropdown-right { left: 0; }

@media only screen and (max-width: 767px) { 
	#g-navigation { padding: 2px 0;}
	.g-logo img { width: 70%;} 
	.g-offcanvas-toggle { top: 20px; left: 20px; }
}

/************ OFFCANVAS MENU  ************/
.g-offcanvas-toggle {color: #7F1416; }
#g-offcanvas #g-mobilemenu-container .g-toplevel > li > .g-menu-item-container > .g-menu-item-content, #g-offcanvas #g-mobilemenu-container .g-sublevel > li > .g-menu-item-container > .g-menu-item-content {font-weight: normal; }
.g-menu-item-title {color: white; }
#g-offcanvas #g-mobilemenu-container ul > li > a.g-menu-item-container:hover {background: #999; }
#g-offcanvas #g-mobilemenu-container ul > li.g-menu-item-link-parent > .g-menu-item-container > .g-menu-parent-indicator {border: none; background: none; }
#g-offcanvas #g-mobilemenu-container ul > li.g-menu-item-link-parent > .g-menu-item-container > .g-menu-parent-indicator:hover {border: none; background: none; }

/************ SIDE MENU  ************/
#g-aside .moduletable[class*="box"] { padding: 0; }
#g-aside .g-content { padding-left: 0; padding-right: 0px;}
.moduletable .nav.menu li a { width: 100%; border-radius: 0; padding: 10px 20px; color: white; font-weight: normal;}
.moduletable .nav.menu li { transition: all .2s ease-in; border-radius: 0px; width: 100%; padding: 0; margin: 0; border-bottom: 1px rgba(0,0,0,0.5) solid;}
.moduletable .nav.menu, .moduletable .unstyled { border: none; padding: 0; margin: 0; display: block; background: #a0a0a0; border-radius: 0; }
.moduletable .nav.menu li:last-child {  padding-bottom: 0;  margin-bottom: 30px;}
.moduletable .nav.menu .nav-child li:last-child {  margin-bottom: 0px;}
.moduletable .nav .nav-child { margin-top: 0px;}
.moduletable .nav.menu .nav-child li { border: none; margin-left: 20px; padding-right: 20px;}

.moduletable .nav.menu li.current.active a, .moduletable .nav.menu li a:hover { 
	color: white;
	background: #222;
	font-weight: normal;
}

/************ HERO FULL WIDTH  ************/
#g-showcase .g-content { padding: 0; margin: 0; }
.layout-slideshow .sprocket-features-img-container img { float: none; width: 100%;  height: 42vw !important; object-fit: cover; object-position: center; }


/************ HERO LOGO & TEXT ************/
.hero-logo { width: 85%; margin: 0 auto;}
.layout-slideshow .sprocket-features-title, .layout-slideshow .sprocket-features-desc { display: block; }
.layout-slideshow .sprocket-features-desc { color: #7F1416; }
.layout-slideshow .sprocket-features-desc p { font-size: 2.45vw; line-height: 1.15; }
.layout-slideshow .sprocket-features-content { 
	background: none;
	top: 32%;
    right: 5%;
    bottom: 0%;
	left: 45%;
}
.layout-slideshow .sprocket-features-title, .layout-slideshow .sprocket-features-desc { background: none; }


/************ KEEP TEXT OVERLYAING HERO IMAGE  ************/
@media only screen and (max-width: 767px) {
	.layout-slideshow .sprocket-features-content { 
	background: none; top: 6%; right: 0%; bottom: 0%; Left: 45%; }
	.layout-slideshow .sprocket-features-desc p { font-size: 5vw; text-shadow: 0px 0px 10px white, 0px 0px 15px white, 1px 1px 1px white; margin-bottom: 0 !important;}
	.layout-slideshow .sprocket-features-desc p img { display: none !important; }
}

/************ DISPLAY LOGO & TEXT AS BLOCK BELOW HERO IMAGE ************/
/*
@media only screen and (max-width: 767px) {
	#g-showcase { background: none; }
	.hero-logo { width: 65%; margin: 0 auto;}
	.layout-slideshow .sprocket-features-desc p { font-size: 4.75vw; }
	.layout-slideshow .sprocket-features-content { 
		width: 100%; position: relative; min-height: 42vw; padding-left: 0; 
		background: rgba(255,255,255,0.55); top: 2%; right: 0; bottom: 0; left: 0; 
		padding-top: 2%; margin-right: 0px;}
}*/

/************ BIGGER ARROWS ON SLIDESHOW ************/
.layout-slideshow .sprocket-features-arrows .arrow span { font-size: 6rem; line-height: 0px; width: 25px;}

.sprocket-features.layout-slideshow.arrows-onhover .sprocket-features-arrows .arrow { background: none; box-shadow: none; color: white; text-shadow: 2px 2px 5px rgba(0,0,0,0.75);}
.sprocket-features.layout-slideshow.arrows-onhover .sprocket-features-arrows .arrow { font-size: 5rem; }
.arrows-active .sprocket-features-img-list {margin: 0px; }
.arrows-onhover .sprocket-features-arrows .arrow.prev span { margin-left: 0;}
.arrows-onhover .sprocket-features-arrows .arrow.next span { margin-right: 0;}

@media only screen and (max-width: 767px) {
	.sprocket-features-pagination, .sprocket-features-arrows { display: none;}
}

/************ HOME MODULE TITLES  ************/
#g-expanded h3.g-title { padding: 0; }
h3.g-title { text-align: center; margin-bottom: 6px; padding: 12px 0 0 0; font-size: 3.75vw;}
.customers-title h3, .awards h3 { border-top: 1px #7F1416 solid; }

@media only screen and (max-width: 767px) {
	h3.g-title { font-size: 9vw; margin-bottom: 15px; padding-top: 15px !important;}
	.capabilities h3 { border-top: 1px #7F1416 solid; }
}

/************ HOME MODULES  ************/
#g-expanded .g-content, #g-extension .g-content { margin: 0.3125rem 0; padding: 0.75rem 0; }
#g-extension .award-box .g-content { margin: 0.625rem; padding: 0.75rem 1.5rem; }

@media only screen and (max-width: 767px) { 
	#g-expanded .g-content, #g-extension .g-content { margin: 1.5rem 0; }
}

/************ OUR CAPABILITIES  ************/
.sprocket-grids-b-container li { padding: 0; }
.sprocket-grids-b-effect { background: rgba(127,20,22,0.85); }
h2.sprocket-grids-b-title a { color: white; font-weight: normal; }
h2.sprocket-grids-b-title { border-bottom: none; line-height: 1.15; top: 50%; left: 50%; margin: 0; text-align: center;}
.sprocket-grids-b-readon {display: none; }
.sprocket-grids-b-content {display: flex; justify-content: center; align-items: center;}

@media only screen and (max-width: 767px) { 
	h2.sprocket-grids-b-title { font-size: 1.5rem; }
}

/************ OUR CUSTOMERS ************/
.customers { display: flex;}

.customers > div {
	display: flex; 
	flex: 1; 
	position: relative; 
	margin: 0 5px;
}

.customers > div > div:hover { background: rgba(255,255,255,0.6);}

#g-extension .g-grid:first-child .platform-content { margin-bottom: 0px; padding-bottom: 0px; }
#g-extension .g-grid:first-child .platform-content:nth-child(2), #g-extension .g-grid:first-child .platform-content:nth-child(3) { padding-top: 0px; }

@media only screen and (max-width: 767px) {
	#g-extension { padding: 4% 10%; }
	.customers { display: block; }
	.customers > div > div { margin: 0 auto 10px auto; }
	#g-extension .g-grid:first-child .platform-content:nth-child(2), #g-extension .g-grid:first-child .platform-content:nth-child(3) { margin-top: 0px; }
}

/************ OUR AWARDS  ************/
#g-extension { padding-bottom: 40px; }
.award h3 { color: #222222; font-size: 1.65vw; }
.award-box .g-content { box-shadow: 5px 5px 10px rgba(0,0,0,0.15); }
/*#g-extension .g-grid:nth-child(3) { background: white; }*/
.kdoc img { width:  88%; }

/*#g-extension .g-grid:nth-child(3) .g-block { 
	display: flex;
    justify-content: space-around;
}*/

@media only screen and (max-width: 767px) {
	.award h3 { font-size: 4vw; }
	.award img { width: 70%; }
	.award body p img { margin-bottom: 0px; }
}

/************ BOTTOM CONTACT & PHOTO  ************/
/*
.buildingpic { background-size: cover; min-height:  36vw; background: url(../images/homepage/building.jpg) 50% 50% no-repeat; }
*/
.bottomcontact {display: flex; justify-content: center; align-items: center;}
.bottomcontact p { font-size: 1.5rem; }
.bottomcontact a.button { font-size: 1.25rem; }

@media only screen and (min-width: 1200px) { .buildingpic { min-height: 28vw; } }
@media only screen and (min-width: 1060px) and (max-width: 1199px)  { .buildingpic { min-height: 32vw; } }
@media only screen and (min-width: 768px) and (max-width: 959px) { .buildingpic { min-height: 38vw; } }
@media only screen and (max-width: 767px) { .buildingpic { min-height: 58vw; } }

/************ FOOTER  ************/
#g-footer {border-top: none; }
#g-footer a{ color: white;  }
#g-footer a:hover{ color: #777;  }
.footercontact {display: flex; justify-content: center; align-items: center;}
.footerlogo .g-content, .footercontact .g-content { margin: 0; padding: 1.5rem 0;}
#g-footer p { margin-bottom: 0; font-size: 1.25rem;}
#g-footer img { width: 80%;}

@media only screen and (max-width: 767px) { 
	#g-footer { padding: 4%; }
	#g-footer img { width: 100%;}
	.footerlogo .g-content { padding: 1.5rem 4.5rem 0 4.5rem; }
}
