@import "./text.css";

* {
    box-sizing: border-box;
}

.x-container.width {
    width: 1560px!important;
}

body.single-project .x-container.width, body.single-sector .x-container.width, body.single-post .x-container.width {
    width: 100%!important;
}

footer .x-bar-footer .x-bar-content {
    display:block;
}

/* Contact Form */
#contact-form form input[type="text"], 
#contact-form form input[type="tel"], 
#contact-form form input[type="email"], 
#contact-form form textarea {
    background: transparent;
    border-image-width: 0px;
    border-left:none;
    border-right:none;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom: 1px solid #1648CA;
    padding: 1rem 0;
    color: #000000;
    font-size: 1.125rem;
}

#contact-form form input[type="text"]:focus, 
#contact-form form input[type="tel"]:focus, 
#contact-form form input[type="email"]:focus, 
#contact-form form textarea:focus {
    background: transparent;
    border-image-width: 0px;
    border-left:none;
    border-right:none;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom: 1px solid #1648CA;
    padding: 1rem 0;
    color: #000000;
    font-size: 1.125rem;
    outline: none;
}

#contact-form form input[type="text"]::placeholder, 
#contact-form form input[type="tel"]::placeholder, 
#contact-form form input[type="email"]::placeholder, 
#contact-form form textarea::placeholder {
    color: #717171;
}

#contact-form form input[type="text"]:focus::placeholder, 
#contact-form form input[type="tel"]:focus::placeholder, 
#contact-form form input[type="email"]:focus::placeholder, 
#contact-form form textarea:focus::placeholder {
    color: transparent;
}

#contact-form form select {
    background: transparent;
    border-image-width: 0px;
    border-left:none;
    border-right:none;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-bottom: 1px solid #1648CA;
    padding: 1rem 0;
    color: #717171;
    font-size: 1.125rem;
    outline: none;
}

#contact-form form select option[value="Company Role"] {
    color: #717171;
}

#contact-form form [data-id="consultant-subcontractor-supplier"] {
    background: #4A6DFF;
    font-size: 1rem;
    color: white;
    line-height: 1.55rem;
    padding: 1rem;
    margin-top: 2rem;
}

#contact-form form [data-id="consultant-subcontractor-supplier"] p{
    margin:0;
}

#contact-form form input[type="checkbox"] {
    border: none;
    outline: none;
    box-shadow: none;
    margin: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius:none;
    border-color:#C3DAE2;
}

#contact-form form .wpcf7-list-item{
    margin-left:0;
    display: flex;
    align-items: center;
}

#contact-form form [name="newsletter[]"]{
    margin-right: 1rem!important;
    margin-top: 2rem!important;
    margin-bottom: 2rem!important;
}

#contact-form form [data-id="consultant-subcontractor-supplier"] .wpcf7-list-item {
        display: flex;
    align-items: center;
    gap: 0.625rem;
}

#contact-form form input[type="submit"] {
    font-size: 0.875rem;
    color: white;
    font-weight: 550;
    background: #4A6DFF;
    padding: 20px;
}

.wpcf7-not-valid-tip {
    color: red;
    margin-top: 0.5rem!important;
}

/* Newsletter Form (Footer) */

#newsletter-form form input[type="email"] {
    background: transparent;
    border-left:none;
    border-right:none;
    border-top: none;
    border-bottom: 1px solid #F4F0DE;
    padding: 0 0 0.688rem 0;
    color: #F4F0DE;
    font-size: 1rem;
    width: 100%;
}

#newsletter-form form .newsletter-submit {
    background: transparent;
    margin-left: -100%;
}

#newsletter-form form .form-row {
    display: flex;
    width: 100%;
}

#newsletter-form form .form-row p:first-child {
    width: 100%;
    max-width:25.375rem;
}

#newsletter-form form input[type="email"]:focus::placeholder {
    color: transparent!important;
}

/* insights list */

.category-date {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.category-date .post-category {
    color: #1648CA;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
}

.category-date .post-date {
    color: black;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.25rem;
}

.post-title {
    color: black;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 670;
    line-height: 1.625rem;
    max-width:66%;
}

.post-image-wrapper img {
    width: 100%!important;
}

.post-excerpt {
    color: black;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.375rem;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000000000000000000;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.loading-logo {
  width: 150px;
  height: auto;
  opacity: 0;
  animation: fadeInLogo 1.5s forwards ease-in-out;
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-out {
  opacity: 0 !important;
  pointer-events: none;
}
