/*
 Theme Name:     Divi Child Theme 2020
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.1
*/
 
/*@import url("../Divi/style.css");*/
 
/* =Theme customization starts here
------------------------------------------------------- */

#bids-table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}
#bids-table thead {
	background-color: rgb(245, 245,245);
}
#bids-table th,
#bids-table td {
	border: 1px solid rgb(221,221,221);
	font-size: 14px;
	text-align: left;
	vertical-align: top;
	padding: 10px;
}
#bids-table tbody tr:nth-of-type(even) {
	background-color: rgb(249, 249, 249);
}

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table#bids-table, #bids-table thead, #bids-table tbody, #bids-table th, #bids-table td, #bids-table tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	#bids-table thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	#bids-table tr { border: 1px solid #ccc; }

	#bids-table {
		display: none;
	}

	#bids-table tbody tr {
		margin-bottom: 2rem;
	}
	
	#bids-table td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	#bids-table td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		font-weight: bold;
	}
	
	/*
	Label the data
	*/
	#bids-table td:nth-of-type(1):before { content: "Project Number"; }
	#bids-table td:nth-of-type(2):before { content: "Project Name"; }
	#bids-table td:nth-of-type(3):before { content: "Closing Date Time"; }
	#bids-table td:nth-of-type(4):before { content: "project Value"; }
	#bids-table td:nth-of-type(5):before { content: "Office Name"; }
	#bids-table td:nth-of-type(6):before { content: "Office Phone Number"; }
	#bids-table td:nth-of-type(7):before { content: "Estimator Name"; }
}

/* #projects-grid */
#projects-grid{
	display: grid;
	grid-gap: 1rem;
	margin-top: 1rem;
}
#projects-grid.office{
	grid-template-columns: repeat(1,minmax(0,1fr));
}
#projects-grid a{
	background-color: #f6f6f6;
	clip-path: polygon(100% 0, 100% 90%, 90% 100%, 0 100%, 0 0);
}
#projects-grid.featured a{
	background-color: white;
}
#projects-grid div.projects{}
#projects-grid a:hover div.projects-image img {
	/*transform: scale(1.05);*/
	filter: brightness(100%);
}
#projects-grid div.projects-image {
	height: 0;
	padding-top: 56.25%;
    border-top: 4px solid #B5121A;
	position: relative;
	overflow: hidden;
}
#projects-grid div.projects-image span {
	display: inline-block;
	color: white;
	background-color: #B5121A;
	padding: 6px 12px;
	font-size: 12px;
	text-transform: uppercase;
	position: absolute;
	z-index:99;
	bottom: 0;
	right: 0;
	line-height: 14px;
	opacity: .8;
}
#projects-grid a:hover div.projects-image span {
	opacity: 1;
}
#projects-grid div.projects-image img{
	filter: brightness(85%);
	position: absolute;
	object-fit: cover;
	transition: all .3s;
	width: 100%;
	height: 100%;
	top: 0;
  	left: 0;
}
#projects-grid div.projects-info {
	padding: 1rem;
}

#projects-grid div.projects-info h3 {
	font-family: 'Roboto', 'sans-serif';
	font-weight: 400;
	font-size: 1.375rem;
	color: #2B2B2B;
	margin: 0;
	padding: 0;
	line-height: 1.6rem;
	box-sizing: border-box;
	width: 100%;
}
#projects-grid div.projects-info p {
	font-family: 'Roboto', 'sans-serif';
	font-weight: 400;
	font-size: 0.75rem;
	color: #666;
	margin: 0;
	padding: 0;
}
@media(min-width:768px){
	#projects-grid{
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}
@media(min-width:1024px){
	#projects-grid{
		grid-template-columns: repeat(3,minmax(0,1fr));
	}
	#projects-grid.featured{
		grid-template-columns: repeat(4,minmax(0,1fr));
	}
}

#projects-selection {
	margin-top: 2rem;
	width: 100%;
	justify-content: space-between;
	display: grid;
	grid-gap: 1rem;
	margin-top: 1rem;
}
#projects-selection .sub-sections.opacity-0{
	opacity: 0;
}
#project-region{
	grid-row: 1 / span 1;
	grid-column: 1 /  span 1;
}
@media(min-width:768px){
	#projects-selection{
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	#project-region{
		grid-column: 1 /  span 2;
	}
}

@media(min-width:1024px){
	#projects-selection{
		grid-template-columns: repeat(3,minmax(0,1fr));
	}
	#project-region{
		grid-column: 3 /  span 1;
	}
}
#projects-selection > * { 
	flex: 1; 
}
#projects-selection select {
	border: 2px solid #2b2b2b!important;
	padding: 4px 8px;
	font-size: 1.125rem;
	font-weight: 700!important;
	width: 100%;
}
#projects-selection #current-location {
	font-size: 0.813rem;
	text-align: right;
}
#projects-selection #current-location a {
	color: #b5141c; 
	text-decoration: underline;
}

#projects-view-all{
	text-align: center;
	margin: 1rem auto;
}
#projects-view-all-button{
	background-color: white;
	color: #b5141c;
	display: inline-block;
	border: 2px solid #b5141c;
	padding: 10px 40px;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 16px;
	transition: all 500ms;
}
#projects-view-all-button:hover{
	cursor: pointer;
	color: white;
	background-color: #b5141c;
}

#office-maps{
	margin-top: 2rem;
}
#office-maps .country-selector{
	display: flex;
	flex-wrap: wrap;
	margin-bottom: .5rem;
	margin-top: .5rem;
}
#office-maps .country-selector a{
	width: 100%;
	margin-bottom: .25rem;
}
#office-maps .country-selector img{
	height: 24px;
	width: auto;
}
#office-maps .office-selector{
	font-family: "Roboto Condensed", "sans-serif";
	font-size: 32px;
	text-transform: uppercase;
	margin: .5rem 0;
	transition: all 200ms;
	color: #ccc;
}
#office-maps .office-selector img {
	filter: grayscale(100%);
}
#office-maps .office-selector-selected{
	color: #B5121A;
}
#office-maps .office-selector-selected img{
	filter: grayscale(0%);
}
#office-maps a.office-selector:hover{
	color: #B5121A;
}
#office-maps a.office-selector:hover img{
	filter: grayscale(0%);
}
#office-maps .google-map{
	width:100%; 
	min-height: 400px;
}
#office-maps .maps-container{
	background-color: #f6f6f6;
}
#office-maps .sub-name {
	margin: 0;
	padding: 18px 20px 0 20px;
	display: none;
}
#office-maps ul{
	list-style-type: none;
	margin: 0;
	padding: 18px 20px;
	display: none;
}
#office-maps ul.pt-1{
	padding-top: 4px;
}
#office-maps ul li {
	display:block;
	width: 100%;
}
#office-maps ul a{
	font-size: 18px;
	font-weight: 400;
	display: block;
	color: #222;
	transition: all 100ms;
	padding: 2px 0;
	position: relative;
}
#office-maps ul a:hover{
	color: #b5141c;
}
#office-maps ul a span {
	position: absolute;
	right: 0;
	font-size: 28px;
}

@media(min-width: 768px){
	#office-maps .country-selector a{
		width: auto;
		margin-right: 50px;
	}
}

@media(min-width:1024px){
	#office-maps .maps-container{
		display: grid;
		grid-template-columns: 250px auto;
	}
	#office-maps ul, #office-maps .sub-name{
		display: block;
	}
}
.gm-style-iw.gm-style-iw-c {
	border-top: 3px solid #B5121A;
}
.infowindow{}
.infowindow h1{
	font-size: 16px;
	color: #222;
	font-weight: 600;
}
.infowindow p{
	font-size: 12px;
	color: #666;
	line-height: 1rem;
}
.infowindow p strong{
	
	font-weight: 600;
	color: #222;
}
.infowindow p a{
	font-weight: 600;
	color: #B5121A;
}

#news-archive{
	display: grid;
	grid-gap: 2rem;
	grid-template-columns: 1fr;
}
#news-archive * {
	margin: 0;
	padding: 0;
}
#news-archive h3 {
	color: #333;
	font-size: 1.375rem;
	line-height: 1.6rem;
}
#news-archive h6 {
	font-family: "Roboto Condensed", "sans-serif";
	font-size: 0.875rem;
	line-height: 1rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #666;
	font-weight: 700;
	margin-top: 0.5rem;
}
#news-archive p {
	color: #2B2B2B;
	font-size: 1rem;
	line-height: 1.75rem;
	margin-top: 1rem;
}
#news-archive p a {
	color: #B5121A;
	font-size: 1rem;
	line-height: 1.75rem;
	font-weight: 700;
}
#news-archive div.r16-9{
	height: 0;
	padding-top: 56.25%;
    border-top: 4px solid #B5121A;
	position: relative;
	overflow: hidden;
	clip-path: polygon(100% 0, 100% 90%, 90% 100%, 0 100%, 0 0);
}
#news-archive img {
	position: absolute;
	object-fit: cover;
	width: 100%;
	height: 100%;
	top: 0;
  	left: 0;
}
@media(min-width: 768px){
	#news-archive{
		grid-template-columns: 1fr 1fr;
	}
}

.news-pager{
	margin: 1rem 0;
}
.news-pager a{
	padding: 2px 13px;
	background-color: #B5121A;
	color: white;
	display: inline-block;
	margin-right: 6px;
}
.news-pager a.selected{
	background-color: #ddd;
	color: #333;
}

/* #sustainability-grid */
#sustainability-grid{
	display: grid;
	grid-gap: 1rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #ddd;
}

#sustainability-grid .grid-item{
	border-top: 3px solid #B5121A;
	background-color: white;
	clip-path: polygon(100% 0, 100% 90%, 90% 100%, 0 100%, 0 0);
	display: flex;
	flex-direction: column;
}
#sustainability-grid .item-content{
	padding: 15px;
}
#sustainability-grid .grid-item h4{
	color: rgb(44, 42, 41);
	font-family: "Roboto Condensed", Helvetica, Arial, Lucida, sans-serif;
	font-size: 22px;
	font-weight: 300;
	line-height: 28.6px;
}
#sustainability-grid .grid-item p{
	font-family: "Roboto", Helvetica, Arial, Lucida, sans-serif;
	font-size: 16px;
}
#sustainability-grid .link {
	margin-top: auto;
	padding: 15px;
}
#sustainability-grid .grid-item a{
	text-transform: uppercase;
	display: inline-block;
	border: 2px solid rgb(181, 18, 26);
	padding: 10px 40px;
	color: rgb(181, 18, 26);
	font-family: "Roboto Condensed", Helvetica, Arial, Lucida, sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 30.6px;
	transition: all .2s;
}
#sustainability-grid .grid-item a:hover{
	color: white;
	background-color: rgb(181, 18, 26);
}

.dialog-open {
	background-color: #eee;
	border-radius: 100%;
	display: inline-block;
	padding: 1px 8px;
	margin-left: 5px;
}

.dialog-close {
	margin-top: 10px;
    background-color: #b5141c;
    color: #fff;
    display: inline-block;
    border: 2px solid #b5141c;
    padding: 5px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    transition: all 500ms;
}
.dialog-close:hover{
	background-color: #fff;
    color: #b5141c;
	cursor: pointer;
}
.program-dialog{
	opacity: 0;
    transition: opacity 0.5s ease-in-out;
	border: 1px solid #ccc;
	max-width: 800px;
}
.program-dialog.show {
	opacity: 1;
}

@media(min-width:768px){
	#sustainability-grid{
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}
@media(min-width:1024px){
	#sustainability-grid{
		grid-template-columns: repeat(3,minmax(0,1fr));
	}
}

.gform_wrapper.gravity-theme .gform_previous_button.button {
	border: none;
	text-decoration: underline !important;
}

.absolute {
	position: absolute;
  }
  .relative {
	position: relative;
  }
  .right-0 {
	right: 0px;
  }
  .col-span-2 {
	grid-column: span 2 / span 2;
  }
  .col-span-3 {
	grid-column: span 3 / span 3;
  }
  .-mb-2 {
	margin-bottom: -0.5rem;
  }
  .mb-4 {
	margin-bottom: 1rem;
  }
  .mt-1 {
	margin-top: 0.25rem;
  }
  .mt-2 {
	margin-top: 0.5rem;
  }
  .mt-4 {
	margin-top: 1rem;
  }
  .block {
	display: block;
  }
  .flex {
	display: flex;
  }
  .grid {
	display: grid;
  }
  .hidden {
	display: none;
  }
  .aspect-\[16\/9\] {
	aspect-ratio: 16/9;
  }
  .size-full {
	width: 100%;
	height: 100%;
  }
  .h-8 {
	height: 2rem;
  }
  .h-full {
	height: 100%;
  }
  .transform {
	transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }
  .list-none {
	list-style-type: none;
  }
  .flex-col {
	flex-direction: column;
  }
  .items-center {
	align-items: center;
  }
  .justify-between {
	justify-content: space-between;
  }
  .gap-16 {
	gap: 4rem;
  }
  .gap-2 {
	gap: 0.5rem;
  }
  .gap-4 {
	gap: 1rem;
  }
  .gap-8 {
	gap: 2rem;
  }
  .p-4 {
	padding: 1rem;
  }
  .px-4 {
	padding-left: 1rem;
	padding-right: 1rem;
  }
  .px-5 {
	padding-left: 1.25rem;
	padding-right: 1.25rem;
  }
  .py-1 {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
  }
  .py-4 {
	padding-top: 1rem;
	padding-bottom: 1rem;
  }
  .pt-4 {
	padding-top: 1rem;
  }
  .text-2xl {
	font-size: 1.5rem;
	line-height: 2rem;
  }
  .text-3xl {
	font-size: 1.875rem;
	line-height: 2.25rem;
  }
  .text-4xl {
	font-size: 2.25rem;
	line-height: 2.5rem;
  }
  .text-lg {
	font-size: 1.125rem;
	line-height: 1.75rem;
  }
  .text-sm {
	font-size: 0.875rem;
	line-height: 1.25rem;
  }
  .text-xl {
	font-size: 1.25rem;
	line-height: 1.75rem;
  }
  .font-semibold {
	font-weight: 600;
  }
  .uppercase {
	text-transform: uppercase;
  }
  .text-\[\#ccc\] {
	--tw-text-opacity: 1;
	color: rgb(204 204 204 / var(--tw-text-opacity, 1));
  }
  .text-gray-400 {
	--tw-text-opacity: 1;
	color: rgb(156 163 175 / var(--tw-text-opacity, 1));
  }
  .grayscale {
	--tw-grayscale: grayscale(100%);
	filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .filter {
	filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  }
  .transition-all {
	transition-property: all;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
  }
  .hover\:text-\[\#B5121A\]:hover {
	--tw-text-opacity: 1;
	color: rgb(181 18 26 / var(--tw-text-opacity, 1));
  }
  @media (min-width: 768px) {
	.md\:col-span-2 {
	  grid-column: span 2 / span 2;
	}
	.md\:mt-0 {
	  margin-top: 0px;
	}
	.md\:block {
	  display: block;
	}
	.md\:flex {
	  display: flex;
	}
	.md\:hidden {
	  display: none;
	}
	.md\:gap-8 {
	  gap: 2rem;
	}
	.md\:px-4 {
	  padding-left: 1rem;
	  padding-right: 1rem;
	}
  }
  @media (min-width: 1024px) {
	.lg\:col-span-2 {
	  grid-column: span 2 / span 2;
	}
	.lg\:col-span-3 {
	  grid-column: span 3 / span 3;
	}
	.lg\:flex {
	  display: flex;
	}
	.lg\:grid-cols-2 {
	  grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lg\:gap-16 {
	  gap: 4rem;
	}
	.lg\:text-xl {
	  font-size: 1.25rem;
	  line-height: 1.75rem;
	}
  }
  @media (min-width: 1280px) {
	.xl\:grid-cols-3 {
	  grid-template-columns: repeat(3, minmax(0, 1fr));
	}
  }
  
  
  
  .default-link { color: #b5121a; }
  .current-city { color: #b5121a; font-weight: bold;}
  .select-country, .select-city { font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif; }
  .select-city span { top: 50%; transform: translateY(-50%); }
  .select-country img { filter: grayscale(1); }
  .current-country { color: #b5121a; }
  .current-country img { filter: grayscale(0); }
  .country-select, .country-select option, .country-select option:checked, .country-select optgroup { color: #b5121a!important; }
  select.country-select { padding: 5px 10px!important; border-radius: 1rem!important; min-width: 200px; }
  
  
#main-header{
	background-color: rgba(255, 255, 255, 0);
	box-shadow: none;
}

.et_header_style_centered .mobile_nav .select_page, .et_header_style_split .mobile_nav .select_page, .et_nav_text_color_light #top-menu>li>a, .et_nav_text_color_dark #top-menu>li>a, #top-menu a, .et_mobile_menu li a, .et_nav_text_color_light .et_mobile_menu li a, .et_nav_text_color_dark .et_mobile_menu li a, #et_search_icon:before, .et_search_form_container input, span.et_close_search_field:after, #et-top-navigation .et-cart-info{
	color: #ffffff;
}

.et_pb_blog_grid .et_pb_post{
	    border: none !important;
}

#top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, .mobile_menu_bar:after, .mobile_menu_bar:before{
	color: #b5121a !important;
}

.nav li ul{
	border-top: 3px solid #b5121a;
}


#top-menu a, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, #top-menu li.current_page_item>a, #et_search_icon:before {
    color: #2c2a29;
}

.et_pb_row_0, .et_pb_row_1, body #page-container .et-db #et-boc .et-l .et_pb_row_0.et_pb_row, body #page-container .et-db #et-boc .et-l .et_pb_row_1.et_pb_row, body.et_pb_pagebuilder_layout.single #page-container #et-boc .et-l .et_pb_row_0.et_pb_row, body.et_pb_pagebuilder_layout.single #page-container #et-boc .et-l .et_pb_row_1.et_pb_row {
    width: 70%;
    max-width: 70%;
}

#et_search_icon:before{
	color: #FFF;
}

.home #top-menu.nav > li > a, .home #et_search_icon:before, .page-id-238507 #top-menu.nav > li > a, .page-id-238507 #top-menu.nav > li > a, .page-id-239303 #top-menu.nav > li > a, .page-id-240023 #top-menu.nav > li > a, .page-id-239312 #top-menu.nav > li > a, .page-id-239310 #top-menu.nav > li > a, .page-id-239305 #top-menu.nav > li > a, .page-id-239968 #top-menu.nav > li > a, .page-id-244139 #top-menu.nav > li > a, .page-id-242975 #top-menu.nav > li > a, .page-id-254894 #top-menu.nav > li > a, .page-id-241130 #top-menu.nav > li > a, .page-id-239301 #top-menu.nav > li > a{
	color: #FFF ;
}

.articles-template-default #top-menu.nav > li > a, news-template-default #top-menu.nav > li > a{
	color: #FFF ;
}

.et_pb_blog_grid .et_pb_post{
    padding: 0 !important;
    margin: 0 !important;
}

.et_pb_post .et_pb_image_container{
        margin: 0 !important;
}

  .n2-ss-slider-controls .nextend-arrow-previous{
      left: 45% !important;
  }
   .n2-ss-slider-controls .nextend-arrow-next{
  right: 45% !important;
  }
  
  .et_pb_blog_0_tb_body .et_pb_post .entry-title{
  padding-top:15px;
  }
  
    .et_clickable p a, #customarticlecategories li a{
    transition: all 0.3s;
  }
  
  .et_clickable p a:hover, #customarticlecategories li a:hover{
  color: #B5121A;
  }
  
  .dcgd_submit_button.et_pb_button{
      background-color: #b5121a !important;
  }
  
    .dcgd_submit_button.et_pb_button:hover{
      background-color: #fff !important;
      color: #b5121a !important;
  }
  
  .tax-article-categories #top-menu a{
      color: #2c2a29;
  }
  
  .news-header-image{
          min-height: 39vw;
  }


  @media (max-width: 1024px) {
  .n2-ss-slider-controls .nextend-arrow-previous{
      left: 30px !important;
  }
   .n2-ss-slider-controls .nextend-arrow-next{
  right: 30px !important;
  }
}