/*
Theme Name: MLN
Theme URI: http://blu27.com/
Author: blu27
Author URI: http://blu27.com/
Description: Theme for MLN
Version: 1.0.0
Text Domain: mln
*/

/* ========================================================================= */

/*                                MAIN STRUCTURE                             */

/* ========================================================================= */

@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-Regular.woff2") format("woff2"),
    url("fonts/OpenSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@-ms-viewport {
  width: device-width;
}

@viewport {
  width: device-width;
}

html {
  min-width: 320px;
}

body {
  font-size: 100%;
}

/* Accessibility
   ========================================================================== */

.skipped a,
.skipped a:hover,
.skipped a:visited {
  position: absolute;
  left: 0px;
  top: -500px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skipped a:focus,
.skipped a:active {
  position: static;
  width: auto;
  font-size: 1.5em;
  height: auto;
  padding-left: 5%;
}

/* Fonts
   ========================================================================== */

.center-text {
  text-align: center;
}

.right-text {
  text-align: right;
}

.left-text {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1em;
  margin-top: 0px;
}

h1 {
  font-family: "Open Sans", sans-serif;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
}

h1 {
  font-size: 2.13em;
  font-weight: normal;
  line-height: 1.05em;
  margin-bottom: 0.65em;
}

h2 {
  font-size: 1.25em;
  margin-bottom: 0.4em;
  padding-top: 0.8em;
}

h3 {
  font-size: 1.06em;
  margin-bottom: 0.35em;
  padding-top: 0.95em;
}

h4 {
  font-size: 0.94em;
  margin-bottom: 0.2em;
  padding-top: 1.05em;
}

h5 {
  font-size: 0.94em;
  margin-bottom: 0;
  padding-top: 1.05em;
}

h6 {
  font-size: 0.81em;
  margin-bottom: 0;
  padding-top: 1.85em;
}

/* Structure
   ========================================================================== */

.table {
  display: table;
  table-layout: fixed;
}

.container,
.nav-container,
.two-colums-container,
.two-colums-container-project-page {
  margin: 0 auto;
  min-width: 980px;
  position: relative;
  width: 70%;
}

.row {
  width: 100%;
  float: left;
}

.col-3 {
  width: 33.333333333333333%;
  float: left;
}

/* Buttons */

.gray-button {
  border: 1px solid #dddddd;
  text-decoration: none;
  color: #ffffff;
  margin-top: 35px;
  padding: 10px 30px;
  background-color: #828282;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif;
  background: url(img/icon-thumb-arrow.svg);
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: right 10px center;
}

.home .gray-button {
  display: inline-block;
}

.red-button-small {
  border: 1px solid #dddddd;
  text-decoration: none;
  color: #ffffff;
  padding: 8px 35px 8px 20px;
  text-transform: uppercase;
  font-size: 0.7em;
  font-family: "Open Sans", sans-serif;
  background: url(img/icon-thumb-arrow.svg);
  background-color: #ee3124;
  background-repeat: no-repeat;
  background-size: 13px;
  background-position: 80px 9px;
}

.red-button-small:hover {
  background-color: #e1463b;
}

.category-toggle-button:hover,
.gray-button:hover {
  background-color: #5a5a5a;
}

.side .button {
  width: 100%;
  display: block;
  position: relative;
  cursor: pointer;
}

.side a:hover .button .button-hover {
  display: block;
}

.side .button .button-hover {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  display: none;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.side img.project:hover .hover-img {
  display: block;
}

.side a {
  color: #333;
}

.default-template .button {
  background-color: #ee3124;
}

.side .button-inner {
  padding: 7px 35px 7px 0;
  color: #ffffff;
  text-align: right;
  text-transform: uppercase;
  display: block;
  text-decoration: none;
  background: url("img/icon-thumb-arrow.svg");
  background-repeat: no-repeat;
  background-position: 96% 6px;
  background-size: 16px;
  font-size: 0.7em;
  font-family: "Open Sans", sans-serif;
}

.side .aside-img-container {
  position: relative;
  border: 4px solid #ffffff;
}

.side a:hover .aside-img-container .hover-img {
  display: block;
}

.side .aside-img-container .hover-img {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  display: none;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.category-toggle-button {
  outline: none;
  text-decoration: none;
  color: #ffffff;
  padding: 13px 40px 13px 58px;
  margin-bottom: 20px;
  background: url("img/icon-toggle-expand-white.svg") #828282;
  background-repeat: no-repeat;
  background-position: 35px 15px;
  background-size: 15px;
  text-transform: uppercase;
  border: 1px solid #dddddd;
  font-family: "Open Sans", sans-serif;
  font-size: 0.9em;
}

.category-expanded-button {
  background: url("img/icon-toggle-collapse-white.svg") #828282;
  background-repeat: no-repeat;
  background-position: 35px 15px;
  background-size: 15px;
}

ul.list-opened {
  width: 40%;
  float: left;
}

ul.list-opened b {
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
}

ul.list-opened p {
  padding: 0px;
  margin: 5px 0 0;
  font-family: "Open Sans", sans-serif !important;
  font-size: 1em !important;
  margin-bottom: 0px;
}

a {
  text-decoration: underline;
  color: inherit;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

/*********************************************************/

#primary-section {
  width: 100%;
  float: left;
  background-color: #dddddd;
  position: relative;
}

.page-template-template-service #primary-section p {
  font-family: "AdobeGaramondW01-Regula", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.4375em;
  line-height: 1.4em;
  margin-bottom: 0.6em;
  color: #333333;
}

.page-template-default #primary-section .content-default-template p,
.page-template-default #primary-section .content-default-template p ul,
.page-template-default #primary-section .content-default-template ul,
.single-project .content-project-page p,
.page-template-default #primary-section .sidebar-content p,
.page-template-default #primary-section .sidebar-content p ul,
.page-template-default #primary-section .sidebar-content ul {
  font-family: "AdobeGaramondW01-Regula", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.25em;
  line-height: 1.25em;
  margin-bottom: 0.6em;
  color: #333333;
}

.section-padding,
.section-padding-two-columns {
  padding-top: 50px;
  padding-bottom: 40px;
}

.section-padding-two-columns-project-page {
  padding-bottom: 40px;
}

.section-padding-top {
  padding-top: 50px;
}

.section-padding-top-projects {
  padding-top: 25px;
}

#secondary-section {
  width: 100%;
  float: left;
  background-color: #666666;
  padding: 40px 0;
  color: #ffffff;
}

img.responsive {
  height: auto;
  width: 100%;
  vertical-align: middle;
}

/* Header */

header {
  width: 100%;
  max-height: 90px;
  background-color: #ffffff;
  font-family: "Open Sans", sans-serif;
}

header #logo {
  width: 40%;
  float: left;
  display: table;
  padding: 10px 0 15px;
  position: relative;
}

header #logo img {
  float: left;
}

header #logo div {
  float: left;
  padding: 25px 0 0 5px;
  font-size: 0.8em;
  line-height: 1em;
  letter-spacing: 0.03em;
  color: #666666;
}

/* Navigation */

#main-navigation {
  float: left;
  display: table-cell;
  width: 60%;
}

header .mobileButton {
  background: url("img/icon-nav-butt-expand.svg");
  background-size: 24px;
  width: 24px;
  height: 24px;
  display: block;
  right: 0px;
  position: absolute;
  top: 30px;
}

header .mobileButtonCollapse {
  background: url("img/icon-nav-butt-collapse.svg");
  background-size: 24px;
  width: 24px;
  height: 24px;
  display: block;
  right: 0px;
  position: absolute;
  top: 30px;
}

header #mobil-navigation-button {
  display: none;
}

#main-navigation ul {
  margin: 0px;
  padding: 0px;
  float: right;
  z-index: 9;
}

.menu-item-has-children>a span:after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  position: relative;
  right: -3px;
  top: 1px;
}

.desktop-navigation .menu-item-has-children>a span:after {
  background: url("img/icon-nav-arrow-expand.svg");
  background-size: 9px;
  background-repeat: no-repeat;
}

.mobil-navigation .menu-item-has-children>a span:after {
  background: url("img/icon-nav-arrow-expand.svg");
  background-size: 9px;
  background-repeat: no-repeat;
}

.mobil-navigation .opened>a span:after {
  background: url("img/icon-nav-arrow-contract.svg");
  background-size: 9px;
  background-repeat: no-repeat;
}

#main-navigation ul li {
  list-style-type: none;
  position: relative;
  float: left;
  margin: 0;
  padding: 0;
}

#main-navigation ul li.current-page-ancestor>a {
  color: #002d6a;
}

#main-navigation ul li.current-page-ancestor .sub-menu .current-page-ancestor a{
  color: #fff !important;
}

#main-navigation>ul>li.current-menu-item>a {
  color: #002d6a;
}

#main-navigation ul.sub-menu li.current-menu-item a {
  color: #fff;
}

/* Desktop Navigation */

.desktop-navigation>ul>li a {
  display: block;
  padding: 30px 0px 19px 15px;
  color: #666666;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica,
    sans-serif;
  font-size: 0.75em;
  line-height: 24px;
}

.desktop-navigation>ul>li.current_page_item a {
  color: #002d6a;
}

.desktop-navigation>ul>li:hover a,
#secondary-navigation #submenu li a:hover,
#secondary-navigation #breadcrumbs li a:hover {
  color: #002d6a;
}

.desktop-navigation ul li:hover ul a {
  color: #b5b5b5;
}

.desktop-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #002d6a;
  padding: 0;
}

.desktop-navigation ul ul:after,
.desktop-navigation ul ul:before {
  bottom: 100%;
  left: 28%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.desktop-navigation ul ul:after {
  border-bottom-color: #002d6a;
  border-width: 5px;
  margin-left: -5px;
}

.desktop-navigation ul ul:before {
  border-bottom-color: #002d6a;
  border-width: 11px;
  margin-left: -11px;
}

.desktop-navigation ul ul li {
  width: 190px;
  border-bottom: 1px solid #4d6c97;
}

.desktop-navigation ul ul li:hover,
.mobil-navigation li a:hover {
  background-color: #1a4279;
}

.desktop-navigation ul ul a {
  line-height: 15px;
  padding: 10px 15px;
}

.desktop-navigation ul ul ul {
  top: 0;
  left: 100%;
}

.desktop-navigation ul li:hover>ul {
  display: block;
}

/* Mobil Navigation */

.open {
  display: block !important;
}

.mobil-navigation #main-menu {
  text-align: right;
}

.mobil-navigation li {
  list-style-type: none;
}

.mobil-navigation li a {
  line-height: 120%;
  padding: 10px 0px 10px;
  color: #b5b5b5;
  display: block;
  width: 100%;
  border-bottom: 1px solid #4d6c97;
  font-size: 0.7em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobil-navigation li a span {
  padding-right: 10px;
}

.mobil-navigation li.current_page_item a {
  color: #ffffff;
}

.mobil-navigation li ul {
  width: 100%;
  display: none;
}

.mobil-navigation li ul li a span {
  padding-right: 30px;
}

/* Secondary Navigation */

#secondary-navigation {
  width: 100%;
  float: left;
  border-top: 1px solid #cccccc;
  padding-top : 10px;
  display: table;
    height: 31px;
}

#secondary-navigation #submenu ul,
#secondary-navigation #breadcrumbs ul {
  float: right;
  padding: 0;
  margin: 0;
}

#secondary-navigation .page_item .children{
  display: none;
}

#secondary-navigation .page_item:hover .children,
#secondary-navigation .page_item:hover .children::before {
  display: block;
  position: absolute;
  top: 30px;
  left: 0;
  background: #002d6a;
  z-index: 9;
}

#secondary-navigation .page_item:hover .children a {
  display: block;
  padding: 10px;
  color: #b5b5b5 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica, sans-serif !important;
  font-size: 0.75em !important;
  line-height: 16px;
  margin-left: 0px !important;
  min-width: 190px;
}

#secondary-navigation .page_item:hover .children::before {
    bottom: 100%;
    left: 28%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #002d6a;
    border-width: 11px;
    margin-left: -11px;
    top: -22px;
    background-color: transparent;
}

#secondary-navigation .page_item:hover .children a:hover {
  background-color: #1a4279;
  color: #FFFF !important;
}

#secondary-navigation .page_item_has_children > a::after {
    background: url(img/icon-nav-arrow-expand.svg);
    background-size: 9px;
    background-repeat: no-repeat;
        content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    position: relative;
    right: -3px;
    top: 1px;
}


#secondary-navigation #submenu li,
#secondary-navigation #breadcrumbs li {
  list-style-type: none;
  position: relative;
  margin: 0;
  padding: 0;
  float: left;
}

#secondary-navigation .children li{
  border-bottom: 1px solid #4d6c97;
}

#secondary-navigation #submenu li a,
#secondary-navigation #breadcrumbs li a {
  color: #666666;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
  font-size: 0.75em;
  text-transform: uppercase;
  margin-left: 20px;
  padding-bottom: 10px;
}

#secondary-navigation #breadcrumbs {
  display: none;
}

#secondary-navigation #submenu li.current_page_item a {
  color: #002d6a;
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica,
    sans-serif;
}

#secondary-navigation #breadcrumbs li:after {
  content: "\00bb";
  color: #666666;
  position: relative;
  right: -10px;
}

#secondary-navigation #breadcrumbs ul>li:last-child:after {
  content: "";
}

/* two columns */

.content-default-template,
.content {
  width: 63%;
  float: left;
  padding-right: 2%;
}

.side.default-template,
.side.services-page {
  width: 33%;
  float: left;
  padding-left: 2%;
  padding-bottom: 40px;
}

.mx-side-content {
  max-width: 400px;
  margin: 0px auto;
}

.mx-side-content a {
  text-decoration: none;
}

.mx-side-content h4 {
  font-size: 1em;
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica,
    sans-serif;
  text-transform: uppercase;
}

.side.services-page,
.project-page-template {
  padding-top: 40px;
}

.content-project-page {
  width: 48%;
  float: left;
  padding-right: 2%;
  display: table;
}

.project-page-template {
  width: 48%;
  float: left;
  padding-left: 2%;
  padding-bottom: 40px;
}

.project-page-template ul.slider {
  margin: 40px 0 0;
  padding: 0px;
  border: 4px solid #ffffff;
}

.side h4 {
  color: #333333;
}

.side p {
  font-size: 1em;
  font-family: "Open Sans", sans-serif;
  margin-top: 5px;
}

.project-featured-video {
  margin: 20px 0;
}

/* full width */

.full-width .content-default-template,
.full-width .content-project-page {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  float: none;
}

/* Toggle Group */

.toggle-group {
  width: 40%;
  padding: 15px 5% 30px;
  margin: 0;
  float: left;
}

.toggle-group li {
  list-style-type: none;
  font-family: "Open Sans", sans-serif;
}

.toggle-group button {
  font-size: 1.2em;
  border: 0px;
  color: #ee3124;
  padding: 5px 20px;
  outline: none;
  text-align: left;
  background: url("img/icon-toggle-expand-red.svg") transparent;
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 0 9px;
}

.toggle-group button:hover {
  background: url("img/icon-toggle-expand-black.svg") transparent;
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 0 9px;
}

.toggle-group button.expand {
  background: url("img/icon-toggle-collapse-red.svg") transparent;
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 0 9px;
}

.toggle-group button.expand:hover {
  background: url("img/icon-toggle-collapse-black.svg") transparent;
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 0 9px;
}

.toggle-group button:hover,
.toggle-group button.expand:hover {
  color: #000000;
  cursor: pointer;
}

.toggle-group li .panel {
  padding: 0 20px 5px;
  display: none;
}

/******************************************************************************/

/* footer */

footer {
  width: 100%;
  background-color: #dc291e;
  display: table;
  padding: 20px 0px;
  color: #ffffff;
  font-size: 0.8em;
  line-height: 1.7em;
  font-family: "Open Sans", sans-serif;
}

footer #footer-social {
  width: 33.33%;
  float: left;
}

footer #footer-social>div:first-of-type {
  width: 100%;
  float: left;
  padding-bottom: 10px;
}

footer #copyright {
  width: 33.33%;
  float: right;
  text-align: right;
  /* 	padding-top: 10px; */
}

footer #copyright a {
  color: #ffffff;
}

footer #copyright .copyright-text {
  display: block;
  width: 100%;
}

footer #middle_message {
  float: left;
  width: 33.33%;
}

footer #middle_message p {
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  margin: 0;
}

/******************************************************************************/

/* Home page */

#primary-section .home-content {
  float: left;
  padding: 0 5%;
}

#primary-section .home-boxes {
  width: 60%;
  padding: 0 2.5%;
  float: left;
}

#primary-section .home-who-we-are {
  width: 35%;
  float: left;
  font-family: "AdobeGaramondW01-Regula", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.9em;
  color: #333333;
}

#primary-section .item {
  margin: 0 10px;
  text-align: center;
  position: relative;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#primary-section .item span {
  color: #666666;
  padding: 5px 0 10px;
  display: block;
  text-transform: uppercase;
  font-size: 0.8em;
  height: 40px;
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica,
    sans-serif;
}

#primary-section .item:hover span {
  color: #000000;
}

.home-boxes-img-contaner {
  position: relative;
}

.img-hover {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  position: absolute;
  left: 1px;
  display: none;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

#primary-section .item:hover .img-hover {
  display: block;
}

.hover-arrow {
  background: url("img/icon-thumb-arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  height: 24px;
  width: 100%;
  bottom: 15px;
  left: 1px;
  position: absolute;
}

#primary-section .item img {
  border: 1px solid #ffffff;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

#secondary-section .button-container {
  padding-top: 60px;
}

#secondary-section .hidden-title {
  width: 100%;
  text-align: center;
  display: none;
}

#secondary-section .s-text {
  width: 48%;
  float: left;
  padding-right: 2%;
}

#secondary-section .s-text h1 {
  font-family: "Open Sans", sans-serif;
}

#secondary-section .s-text p {
  color: #ffffff;
  font-size: 1em;
  font-family: "Open Sans", sans-serif;
}

#secondary-section .video {
  width: 48%;
  float: left;
  padding-left: 2%;
  text-align: center;
}

.home.page #secondary-section .center-text {
  clear: both;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/******************************************************************************/

/* Services Page */

#hero-image {
  height: 440px;
  width: 100%;
  padding: 38px 0;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
}

#hero-image h2 {
  font-size: 32px;
  font-family: "Open Sans";
  line-height: 1;
  text-align: left;
  text-shadow: 0px 2px 10px #000000;
  color: #fff;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

#hero-image p {
  font-size: 26px;
  font-family: "AGaramondItalic";
  color: #ffffff;
  line-height: 1;
  text-align: left;
  text-shadow: 0px 2px 5px #000000;
  margin-top: 0;
}

.page-template-single-contact h1.title,
.two-colums-container .content h1.title {
  display: inline-block;
  color: #ffffff;
  padding: 5px 10px;
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica,
    sans-serif;
}

.page-template-single-contact .section-padding-two-columns {
  padding-top: 0px !important;
}

.page-template-single-contact .content-default-template :nth-child(1 of p) {
  margin-top: 0px !important;
}

.page-template-template-flexible #hero-image .container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-template-template-flexible #hero-image .hero-content {
  width: 100%;
  text-align: center;
}

.page-template-template-flexible .button {
  width: fit-content;
}

.page-template-template-flexible .button.top {
  margin-top: 0px;
}

.page-template-template-flexible .button.middle {
  position: absolute;
  top: 50%;
}

.page-template-template-flexible .button.bottom {
  position: absolute;
  bottom: 0;
}

.page-template-template-flexible .button.construction,
.page-template-single-contact h1.title,
.construction h1.title,
.construction .side .button {
  background: #1a4279 !important;
}

.page-template-template-flexible .button.service,
.service h1.title,
.service .side .button {
  background: #faa61a !important;
}

.page-template-template-flexible .button.fire-protection,
.fire-protection h1.title,
.fire-protection .side .button {
  background: #ed1c24 !important;
}

.page-template-template-flexible .button.special-projects,
.special-projects h1.title,
.special-projects .side .button {
  background: #852c91 !important;
}

.page-template-template-flexible .button.energy,
.energy h1.title,
.energy .side .button {
  background: #00ab4e !important;
}

.page-template-template-flexible .button.building-management,
.building-management h1.title,
.building-management .side .button {
  background: #8dc63f !important;
}

.page-template-template-flexible .button.plan-room,
.plan-room h1.title,
.plan-room .side .button {
  background: #ffe01d !important;
}

.page-template-template-flexible .button.plumbing,
.plumbing h1.title,
.plumbing .side .button {
  background: #1b99d6 !important;
}

.category-panel {
  display: none;
}

.category-boxes {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  justify-content: space-around;
}

.flex-item {
  padding: 5px;
  margin-top: 20px;
  width: 15%;
  text-align: center;
}

.flex-item a {
  text-decoration: none;
}

.services-img-contaner {
  display: inline-block;
  position: relative;
  width: 120px;
  height: 120px;
  overflow: hidden;
  margin: 0 12.5%;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.flex-item img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  border: 1px solid #333333;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}

.flex-item span {
  color: #cccccc;
  margin-top: 10px;
  display: block;
  text-transform: uppercase;
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica,
    sans-serif;
  font-size: 0.813em;
}

.flex-item:hover .img-hover {
  display: block;
}

.flex-item:hover span {
  color: #ffffff;
}

/******************************************************************************/

/* Porfolio Pages */

#grid-container {
  width: 100%;
  background: #ffffff;
}

.smart-grid {
  width: 90%;
  min-width: 238px;
  padding: 40px 0px;
  margin: 0 auto;
}

#grid-container.current .smart-grid {
  width: 100%;
  padding: 2px 0px;
}

.item-grid {
  width: 50%;
  position: relative;
}

.item-grid-completed {
  width: 25%;
  position: relative;
}

.item-grid img,
.item-grid-completed img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.inner-grid-item {
  margin: 2px;
  position: relative;
}

.item-grid,
.item-grid-completed {
  padding: 0 !important;
}

.inner-grid-item:hover .description {
  display: block;
}

.inner-grid-item .description {
  width: 55%;
  padding: 15px 35px 20px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #000000;
  z-index: 9;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  display: none;
  text-align: center;
}

.item-grid-completed .inner-grid-item .description {
  width: 90%;
  padding: 15px 5px 20px;
}

.inner-grid-item .description h5 {
  font-family: "AGaramondItalic";
  font-size: 1.5em;
  font-weight: normal;
  font-variant: small-caps;
  padding: 0;
}

.item-grid-completed .inner-grid-item .description h5 {
  font-size: 1.25em;
  line-height: 1;
}

.inner-grid-item .description div {
  font-size: 0.9em;
  font-family: "AdobeGaramondW01-Regula", Verdana, Arial, Helvetica, sans-serif;
  padding-top: 5px;
  margin-bottom: 10px;
  float: left;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gutter-sizer {
  width: 4px;
}

.porfolio-slider {
  width: 100%;
  padding: 80px 200px 10px;
  background-image: url("img/icon-open-quote.svg");
  background-repeat: no-repeat;
  background-position: center 20px;
  text-align: center;
  font-size: 1.25em;
  line-height: 1.25em;
  font-family: "AdobeGaramondW01-Regula", Verdana, Arial, Helvetica, sans-serif;
}

.quote-position {
  margin-top: 0px;
}

.quote-company {
  margin-top: 5px;
}

.quote-title {
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica,
    sans-serif;
  font-size: 0.8em;
  line-height: 1em;
  margin-bottom: 10px;
}

.quote-company,
.quote-position {
  font-family: "Univers LT W01_47 Light Cn Obl", Verdana, Arial, Helvetica,
    sans-serif;
  font-size: 0.8em;
  line-height: 1.125;
  margin-bottom: 0;
  margin-top: 0;
}

.filter-container {
  width: 100%;
  text-align: center;
  padding-bottom: 40px;
}

.filter-container .filter-item {
  display: inline-block;
  padding: 10px 15px;
  background-color: #818181;
  color: #ffffff;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 10px;
  font-size: 0.8em;
  font-family: "Open Sans", sans-serif;
}

.filter-container .filter-item:hover,
.filter-container .filter-item.active {
  background-color: #000000;
}

.slick-dots {
  margin-top: 10px;
  text-align: center;
  padding: 0px;
  position: absolute;
  width: 100%;
  padding-bottom: 20px;
}

.slick-dots li {
  list-style-type: none;
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 8px;
  padding: 0;
  cursor: pointer;
}

.slick-dots li button {
  border: 1px solid #ffffff;
  font-size: 0px;
  background-color: #999999;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  outline: none;
}

.slick-dots li.slick-active button {
  background-color: #ee3124;
}

.slick-dots li button:hover {
  background-color: rgba(213, 213, 213, 1);
}

.slick-prev {
  font-size: 0px;
  background-color: transparent;
  background-image: url("img/icon-slider-arrow-left-black.svg");
  background-size: 25px;
  background-repeat: no-repeat;
  position: absolute;
  left: 0px;
  top: 40%;
  height: 45px;
  border: 0px;
  width: 38px;
  outline: none;
  z-index: 9;
}

.slick-next {
  font-size: 0px;
  background-color: transparent;
  background-image: url("img/icon-slider-arrow-right-black.svg");
  background-size: 25px;
  background-repeat: no-repeat;
  position: absolute;
  right: 0px;
  top: 40%;
  height: 45px;
  border: 0px;
  width: 38px;
  outline: none;
  z-index: 9;
}

/* Project Page */

.project-page-slider .slick-prev {
  background-color: transparent;
  background-image: url("img/icon-slider-arrow-left.svg");
  background-size: 25px;
  background-repeat: no-repeat;
  left: 20px;
  opacity: 0.6;
}

.project-page-slider .slick-prev:hover,
.project-page-slider .slick-next:hover {
  opacity: 1;
}

.project-page-slider .slick-next {
  background-color: transparent;
  background-image: url("img/icon-slider-arrow-right.svg");
  background-size: 25px;
  background-repeat: no-repeat;
  right: 20px;
  opacity: 0.6;
}

h1.project-title {
  font-family: "Univers LT W01_67 Bold_1476016", Verdana, Arial, Helvetica,
    sans-serif;
  font-weight: normal;
  display: inline-block;
  background: #ee3124;
  color: #ffffff;
  padding: 5px 10px;
}

.content-project-page h2 {
  margin-top: 0px;
}

/********************************************************************************************/

/* Site Map */

.sitemap_title {
  display: inline-block;
  color: #000000;
  font-family: "Open Sans", sans-serif;
}

#sitemap_container {
  width: 100%;
  float: left;
  margin-bottom: 50px;
}

#sitemap_container ul a {
  color: #000000;
  width: 100%;
  font-family: "AdobeGaramondW01-Regula", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.2em;
}

#sitemap_container ul,
#sitemap_container li {
  list-style-type: disc;
}

#sitemap_container h3 {
  margin-bottom: 5px;
  width: 100%;
}

#sitemap_container h3 a {
  font-family: "Open Sans", sans-serif;
  color: #000000;
}

/* homepage slider */

@font-face {
  font-family: "AGaramondItalic";
  src: url("fonts/Adobe-Garamond-Pro-Italic_2009.eot");
  /* IE9 Compat Modes */
  src: url("fonts/Adobe-Garamond-Pro-Italic_2009.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */
    url("fonts/Adobe-Garamond-Pro-Italic_2009.woff") format("woff"),
    /* Pretty Modern Browsers */
    url("fonts/Adobe-Garamond-Pro-Italic_2009.ttf") format("truetype"),
    /* Safari, Android, iOS */
    url("fonts/Adobe-Garamond-Pro-Italic_2009.svg#AGaramondItalic") format("svg");
  /* Legacy iOS */
}

.slider-caption {
  text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.392);
}

.hephaistos .tp-bullet {
  width: 14px !important;
  height: 14px !important;
  background-color: rgba(153, 153, 153, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.hephaistos .tp-bullet.selected {
  background: rgba(238, 49, 36, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.hephaistos .tp-bullet:hover {
  background: rgba(213, 213, 213, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

/* WordPress core */

img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  float: right;
  margin-left: 12px;
}

img.alignleft {
  float: left;
  margin-right: 12px;
}

/* contact form */

.ginput_container_textarea {
  width: calc(50% - 8px);
}

.ginput_container_textarea textarea {
  border: none;
}

.gform_button {
  border: 1px solid #dddddd;
  text-decoration: none;
  color: #ffffff;
  padding: 10px 20px;
  text-transform: uppercase;
  font-size: 0.7em;
  font-family: "Open Sans", sans-serif;
  background-color: #ee3124;
}

.gform_button:hover {
  background-color: #e1463b;
}

.gform_wrapper label.gfield_label {
  font-family: "AdobeGaramondW01-Regula", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em !important;
  line-height: 1em !important;
  font-weight: 400 !important;
  margin-bottom: 0;
  color: #333333;
}

body .gform_wrapper .top_label div.ginput_container {
  margin-top: 0 !important;
}

/* new portfolio current projects styles */

.current .item-grid .project-image {
  height: 50vw;
  min-height: 549px;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.current .item-grid~.item-grid .project-image {
  height: 17vw;
  min-height: 180px;
}

/* 404 Page */

.not-found-navigation li {
  margin-top: 10px;
}

.not-found-navigation li a {
  text-decoration: none;
}

.affiliations-logos {
  width: auto;
  height: 80px;
  background-color: #ffffff;
  margin: 5px;
  border: 2px #cccccc solid;
  padding: 5px;
}

.page-id-56 .two-colums-container .content-default-template {
  width: 46% !important;
}

.page-id-56 .two-colums-container .side.default-template {
  width: 50% !important;
}

.page-id-56 .two-colums-container>div .mx-side-content {
  margin: 0;
  max-width: 100%;
}

.locations-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  /* Espacio entre columnas */
  font-family: sans-serif;
  /* O la fuente de tu tema, ej: 'Inter', sans-serif */
  color: #333;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto;
  background-color: #e0e0e0;
}

.locations-column {
  flex: 1;
}

.location-item {
  margin-bottom: 20px !important;
  min-height: 170px;
}

.locations-container h3 {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0 !important;
  color: #000 !important;
  font-family: sans-serif !important;
  padding-top: 0;
}

/* Para los títulos de la columna derecha (subsecciones) */
.locations-container h4 {
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  /* Peso normal */
  margin-bottom: 0.25rem !important;
  margin-top: 0 !important;
  color: #000 !important;
  font-family: sans-serif !important;
  padding-top: 0;
}

.locations-container h4 strong {
  font-weight: 800 !important;
}

.locations-container p {
  margin: 0 !important;
  font-size: 1rem !important;
  color: #1a1a1a !important;
}

.locations-container a {
  text-decoration: none !important;
  color: inherit !important;
}

.locations-container .service-contact {
  margin-top: 0.5rem !important;
}

.locations-container .red-text {
  color: #d32f2f !important;
  /* Rojo */
  font-weight: 800 !important;
}

.ginput_container_textarea,
.gform_wrapper textarea,
.gform_wrapper input {
  width: 100% !important;
}

form .gform_button {
  width: auto !important
}

#texas_map_container {
  overflow: hidden;
  height: 500px;
  width: 100%;
}

#contactUsHeder,
#texas_Map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.5);
  left: -19%;
  position: relative;
  object-position: 100% 70%;
}

.page-id-56 #secondary-navigation {
  display: none;
}

#readMoreContainer {
  float: left;
  width: 97%;
  justify-content: center;
  padding: 20px;
}

#readMoreContainer {
  display: flex;
}

#readMoreContainer #loadMorePost {
  color: #dc291e;
  border-color: #dc291e;
}

#readMoreContainer #loadMorePost:hover {
  color: #fff;
  border-color: #fff;
  background-color: #dc291e;
}

.page-id-56 #hero-image {
  background-size: auto 260%;
  background-position: 87% 59%;
}

/* Flexible template Start */
.page-template-template-flexible .content {
  width: 100%;
  padding-right: 0;
}

.page-template-template-flexible .side {
  display: none;
}

/* Flexible table cell widths - applied via JS */
/* .page-template-template-flexible #flexibleTable td.flex-img-cell {
  width: 40% !important;
  min-width: 40% !important;
  max-width: 40% !important;
}

.page-template-template-flexible #flexibleTable td.flex-text-cell {
  width: 60% !important;
  min-width: 60% !important;
  max-width: 60% !important;
} */

/* Constrain images to their cell width */
.page-template-template-flexible #flexibleTable td img {
  max-width: 100%;
  width: 75%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-template-template-flexible .content p,
.page-template-template-flexible tr td li {
  font-family: "AdobeGaramondW01-Regula", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.4375em;
  line-height: 1.4em;
  color: #333333;
}

.page-template-template-flexible .content h2 {
  font-weight: bold;
}

/* Flexible template End */

@media screen and (min-width: 1021px){
  #menu-item-177 .sub-menu,
  #menu-item-177 a span:after{
    display: none;
  }
}

@media screen and (max-width: 768px) {


  /* Scope following rules to the Flexible Template only */
  .page-template-template-flexible #hero-image {
    height: 100%;
  }

  .page-template-template-flexible .container,
  .page-template-template-flexible .two-colums-container,
  .page-template-template-flexible .two-colums-container-project-page {
    width: 85% !important;
    min-width: 0 !important;
  }

  .page-template-template-flexible #primary-section tr:has(td:nth-child(2):nth-last-child(1)) td:has(img),
  .page-template-template-flexible #primary-section tr:has(td:nth-child(2):nth-last-child(1)) td:not(:has(img)) {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .page-template-template-flexible .content,
  .page-template-template-flexible .content-default-template,
  .page-template-template-flexible .content-project-page {
    width: 100% !important;
    float: none !important;
    padding: 0px !important;
    min-width: 0 !important;
  }

  .page-template-template-flexible #primary-section table tr td:has(table) table td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .page-template-template-flexible tr td:has(table) table td ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Table-based layout responsiveness - Only for Flexible Template */
  .page-template-template-flexible .content table,
  .page-template-template-flexible .content tbody {
    display: block !important;
    width: 100% !important;
  }

  .page-template-template-flexible .content tr {
    display: flex !important;
    flex-direction: column;
  }

  .page-template-template-flexible tr td:has(img) {
    order: 1;
  }

  .page-template-template-flexible tr td:has(:not(img)) {
    order: 2;
  }

  .page-template-template-flexible .content td {
    display: block !important;
    width: 100% !important;
    padding: 10px 0 !important;
    box-sizing: border-box;
  }

  .page-template-template-flexible .content td img {
    display: block;
    margin: 0 auto;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .page-template-template-flexible .content tr[height],
  .page-template-template-flexible .content td[height] {
    height: 1px !important;
    padding: 1px !important;
  }

  .page-template-template-flexible tr :nth-child(2 of td)[valign*="middle"]:has(p) {
    padding-left: 0px;
  }

  /* Specific styles for Page 56 (Keep as is since it has its own body class) */
  .page-id-56 .two-colums-container .content-default-template {
    padding-bottom: 0px !important;
  }

  .page-id-56 h1 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-id-56 .location-item :nth-child(1 of h3) {
    text-decoration: underline;
  }

  .page-id-56 #hero-image {
    background-size: auto 227%;
    background-position: 84% 60%;
  }

  .location-item {
    min-height: auto;
    margin-bottom: 10px !important;
  }

  .locations-column {
    padding-top: 0px !important;
  }

  #texas_map_container {
    height: 172px;
  }

  #texas_map_container #texas_Map {
    left: -26%;
    object-position: 100% 72%;
  }

  .locations-container {
    gap: 0;
  }

  .page-id-56 .two-colums-container .content-default-template {
    padding: 20px !important;
    width: 92% !important;
  }

  .page-id-56 .two-colums-container .side.default-template {
    width: 100% !important;
    padding: 0px;
  }

  .locations-column {
    flex: auto;
    padding: 20px;
  }
}