﻿/* HTML Elements */
@font-face {
	font-family: 'Roboto Slab';
	src: url("../font/RobotoSlab-Regular.ttf");
	font-display: swap;
}
@font-face {
	font-family: 'Roboto Slab';
	font-weight: bold;
	src: url("../font/RobotoSlab-Bold.ttf");
	font-display: swap;
}
body {
	font-family: 'Roboto Slab', serif;
	font-size: 17px;
}
h1, h2 {
	color: #AC9220;
	margin: 18px 0;
}
h1 {
	font-size: 32px;
}
h2 {
	font-size: 26px;
}
h3 {
	font-size: 22px;
	margin: 18px 0;
}
h4 {
	font-size: 14px;
	margin: 18px 0;
}
ul, ol {
	margin: 0;
}
a {
	color: #AC9220;
	text-decoration: underline;
}
a:hover {
	color: #AC9220;
	text-decoration: none;
}
/* End HTML Elements */

/* General */
#page_home #content {
	font-size: 18px;
}
#content img {
	border-radius: 12px;
	margin: 4px 8px;
}
#printlogo {
	display: none;
}
.imgright img {
	max-width: 100%;
	height: auto;
	margin: 5px auto 0 !important;
}
.imgleft {
	float: left;
}
.redButtonContainer {
	text-align: center;
}
.redButtonContainer a {
	background: #B20000;
	color: #ffffff;
	font-size: 19px;
	text-decoration: none;
	padding-left: 40px;
	padding-right: 40px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}
.redButtonContainer a:hover {
	background: #760000;
	color: #ffffff;
}
.redButtonContainer a:active,
.redButtonContainer a:active:focus {
	background: #D25C5C;
	color: #ffffff;
}
.gallery .parentlink a {
	background: none !important;
	text-indent: 0 !important;
}
/* End General */

/* Header */
#header {
	position: relative;
	z-index: 60;
}
#logo img {
	margin: 0 auto;
}
#upperNavContainer {
	text-align: center;
	height: 61px;
	background: #ffffff url("../image/upper_nav_bg.png") repeat-x top;
}
#uppernavBox {
	text-align: right;
}
#phoneAndSearchContainer {
	text-align: center;
	margin-top: -55px;
}
#phoneandsearch {
	display: inline-block;
}
#phone, #search {
	/*display: inline-block;*/
	/*vertical-align: middle;*/
}
#phone a {
	text-decoration: none;
	font-size: 28px;
	font-weight: 700;
	color: #AD9322;
}
#phone img {
	margin-left: 20px;
}
#phone .gmb-icon-container img {
	margin-left: 0;
}
#search, #mobile_search {
	background: #FFFFFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 1px solid #AD9322;
	margin-top: 10px;
	padding: 3px;
}
#mobile_search{
	margin-bottom: 10px;
}

#search input,#mobile_search input {
	vertical-align: middle;
	border: none;
}
#cntnt01searchinput {
	background: transparent;
	padding-left: 5px;
}
#topNavContainer {
	background: #85C01A;
	margin-top: 5px;
}
#responsiveMenuButtonContainer {
	margin: 5px 0;
}
#logo {
	position: relative;
	top: -61px;
	margin: 0 auto;
}
#home_header,
#sub_header {
	display: none;
}
#home_header img,
#sub_header img {
	margin: 0 auto;
}
/* End Header */

/* Slideshow */
.slideshow {
	display: none;
	max-width: 1272px;
	margin: 0 auto;
}
/* End Slideshow */

/* Body */
#content {
	padding-bottom: 15px;
}
.homepageSmallContainer {
	text-align: center;
}
.homepageSmallImageContainer:hover img {
	background-color: #ad9322;
}
.homepageSmallImageContainer img {
	margin: 0 auto;
}
#home_below_subheader a  {
	color: #000;
	font-size: 17px;
	text-decoration: none;
}
#home_below_subheader a:hover {
	text-decoration: underline;
}
#homepageMiddleContent {
	background: #444444;
	min-height: 173px;
	color: #ffffff;
	text-align: center;
	font-weight: 700;
	margin-top: 40px;
}
#homepageMiddleContent p {
	margin: 40px 0;
}
.submitProjectButton {
	margin: 18px auto 0;
}
.contactUsButton {
	margin-bottom: 20px;
}
.submitProjectButton > a {
	padding-left: 20px;
	padding-right: 20px;
}
.gallery .img {
	width: 120px;
}
.castings_table {
	border-collapse: collapse;
}
.castings_table th, .castings_table td {
	text-align: center;
	border: 1px solid #000;
	padding: 3px;
}
.castings_table tr td:first-child {
	text-align: left;
}
.table > tbody > tr > th {
	border-top: 1px solid #000;
}
.table > tbody > tr > td {
	border: 1px solid #000;
}
.pcaption p {
	margin: 4px 0 0;
	text-align: center;
	font-style: italic;
}
/* End Body */

/* Footer */
#footer {
	text-align: center;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
}
#footer a {
	color: #ffffff;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#superFooter {
	background: #AD9322;
	border-top: 4px solid #FEE15D;
}
#subFooter {
	background: #444444 url("../image/subfooter_bg.webp") no-repeat center;
}
/* End Footer */
.castings_categories_div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	width: calc(100% - 274px);
}
.castings_categories_div a {
	width: 180px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #545454;
	color: #ffffff;
	text-decoration: none;
	text-align: center;
	margin-top: 20px;
	margin-right: 10px;
	border: 1px solid #545454;
	border-radius: 5px;
}
.castings_categories_div a:hover {
	background-color: #ffffff;
	color: #545454;
}
.castings_categories_p {
	margin-bottom: 0;
}
#under_nav {
	position: absolute;
	top: auto;
	margin-left: 2px;
	width: 295px;
	margin-top: 20px;
}
#under_nav.sticky {
	position: fixed;
	top: 0;
}
#under_nav a, #mobile_pre_footer .btn {
	background: #B20000;
	color: #ffffff;
	font-size: 19px;
	text-decoration: none;
	border-radius: 8px;
	width: 212px;
}
#under_nav a:hover, #mobile_pre_footer .btn:hover {
	background: #760000;
	color: #ffffff;
	text-decoration: none;
}
#mobile_pre_footer .btn{
	margin-bottom: 8px;
	font-size: 13px;
	width: 48%;
	max-width: 150px;
	padding: 6px 0;
}
#mobile_pre_footer {
	margin-bottom: 10px;
}
#under_nav a:first-of-type {
	margin-bottom: 20px;
}
#backToTopButton {
	position: fixed;
	bottom: 20px;
	right: 15px;
	border: none;
	color: #FFF;
	background: #807f83;
	padding: 5px;
	z-index: 100;
}
#backToTopButton i {
	font-size: 30px;
}
.mobile {
	max-width: 100%;
	height: auto;
	display: block;
}
.desktop {
	display: none;
}
.mobile.desktop {
	display:block;
}
#mobile_logo_container {
	padding-top: 5px;
	padding-bottom: 5px;
	display: flex;
	justify-content: center;
}
#mobile_header_container {
	display: flex;
	flex-direction: row;
	clear: both;
	justify-content: space-between;
	color: #000;
	align-items: center;
	background: #AC9220;
	padding-top: 8px;
	padding-bottom: 8px;
	margin-bottom: 5px;
}
#mobile_header_container > *{
	flex-shrink: 0;
	font-size: 28px;
}
#mobile_header_container a {
	text-decoration: none;
	color: #000;
}
#mobile_header_container button{
	border: none;
	background: transparent;
}
#mobile_header_container #mobile_rfq_link{
	color: #FFF;
	background: #0a211a;
	padding: 3px 15px;
	border:2px solid #0a211a;
	font-size: 16px;
}
#mobile_header_container #mobile_rfq_link:hover {
	color: #0a211a;
	background: #FFF;

}
#mobile_search_container {
	width: 100%;
	clear: both;
	display: none;
	height: 61px;
	justify-content: center;
	transition: height .5s, visibility 0s linear .4s;
	background: #fff;
	margin-bottom: 5px;
}
#mobile_search_container.showSearch {
	display: flex;
}
#footer_social_media {
	padding: 5px 0;
}
#footer_social_media > *{
	margin: 0 5px;
}
#xs_sm_nav_container #responsiveMenuButtonContainer {
	padding: 0;
}
a.mobile_quick_quote_button {
	background: #B20000;
	color: #ffffff;
	font-size: 19px;
	text-decoration: none;
	border-radius: 5px;
	width: 120px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 42px;
}
a.mobile_quick_quote_button:hover {
	background: #760000;
	color: #ffffff;
	text-decoration: none;
}
.desktop_under_upper_nav {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	align-items: center;
}
.desktop_header_cta_buttons {
	display: none;
}
#page_home .desktop_header_cta_buttons {
	display: flex;
	align-items: center;
}
a.desktop_header_contact_button, a.desktop_header_rfq_button {
	background: #B20000;
	color: #ffffff;
	font-size: 19px;
	text-decoration: none;
	border-radius: 8px;
	width: 212px;
	height: 42px;
	display: flex;
	justify-content: center;
	align-items: center;
}
a.desktop_header_contact_button {
	margin-right: 10px;
}
a.desktop_header_contact_button:hover, a.desktop_header_rfq_button:hover {
	background: #760000;
	color: #ffffff;
	text-decoration: none;
}