/*
Created on : Sep 12, 2022, 10:59:34 AM
Author     : Mahabub
*/

.entry-title.contact-title {
  margin-bottom: 15px;
}

.contactForm {
  margin-top: 18px;
}

.input-wrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.input-wrap label {
  margin-bottom: 0;
}

#contactForm .contactFormField {
  padding: 2px 10px;
  line-height: 1.8;
  margin: 0;
  border: 1px solid #999;
}

.question label {
  margin: 0;
  padding: 4px 15px;
  line-height: 1.8;
  flex-basis: 120px;
  background: #ddd;
}

#contactForm .question .contactFormField {
  width: 100%;
  flex-grow: 1;
  border: none;
}

.question {
  display: flex;
  align-items: center;
  border: 1px solid #999;
}

textarea.contactFormField {
  min-height: 200px;
}

#contactForm #submitBtn {
  margin-top: 15px;
  padding: 4px 25px;
  line-height: 1.8;
  text-transform: uppercase;
  background: #0e4f7f;
  color: #fff;
}

.address-area h3,
.address-area strong {
  background: #f6f6f6;
  padding: 5px 12px;
  font-size: 20px;
}

.spinLoader {
  position: relative;
  width: 20px;
  height: 21px;
  display: inline-block;
  margin: 0 10px;
  animation-name: spin;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

.spinLoader i {
  width: 20px;
  height: 1px;
  background: #999;
  display: block;
  position: absolute;
  left: 0;
  top: 10px;
}

.contactMsg {
  margin-left: 15px;
}

.spinLoader i:nth-child(1) {
  transform: rotate(20deg);
}

.spinLoader i:nth-child(2) {
  transform: rotate(40deg);
}

.spinLoader i:nth-child(3) {
  transform: rotate(60deg);
}

.spinLoader i:nth-child(4) {
  transform: rotate(80deg);
}

.spinLoader i:nth-child(5) {
  transform: rotate(100deg);
}

.spinLoader i:nth-child(6) {
  transform: rotate(120deg);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  
  to {
    transform: rotate(360deg);
  }
}


/*Floated Contact*/
.floated-contact-triger {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  padding: 15px;
  line-height: 1;
  background: rgb(11, 76, 128);
  border-radius: 50px;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
}

.floated-contact-triger svg {
  color: #fff;
}

.floated-contact-form-wrap {
  position: fixed;
  right: 30px;
  bottom: 104px;
  padding: 20px;
  background: #fff;
  z-index: 999999;
  border: 1px solid var(--primary-color);
  width: 360px;
  display: none;
  padding-top: 101px;
  border-radius: 4px;
}

.contact-wrap-header {
  position: absolute;
  left: 0;
  top: 0;
  padding: 20px;
  height: 50px;
  background: var(--primary-color);
}

.contact-wrap-header .shortly-msg {
  line-height: 1.3;
  padding: 10px;
  margin-bottom: 15px;
  background: rgb(250, 249, 249);
  border-radius: 4px;
  display: block;
}

.floated-contact-form-wrap.open {
  display: block;
}

.floated-contact-form-wrap .input-wrap label {
  color: #828282;
  font-size: 16px;
}

.floated-contact-form-wrap #contactForm .contactFormField {
  border: 1px solid #ccc;
  border-radius: 0;
}

.floated-contact-form-wrap .input-wrap.gac-subject-in {
  display: none;
}

.floated-contact-form-wrap .contactForm {
  margin-top: 0;
}

.question label {
  font-size: 15px;
  padding: 4px 8px;
}

.floated-contact-form-wrap #contactForm .question .contactFormField {
  border: none;
}

.floated-contact-form-wrap .question {
  border: 1px solid #ccc;
}

.floated-contact-form-wrap textarea.contactFormField {
  height: 100px;
  min-height: initial;
  max-width: 100%;
}

.floated-contact-form-wrap .input-wrap {
  margin-bottom: 4px;
}

.close-floated {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.close-floated::before {
  width: 28px;
  height: 2px;
  background: #fff;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-floated::after {
  width: 28px;
  height: 2px;
  background: #fff;
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/*Write Us*/

.write-us-btn {
  background: var(--primary-color);
  border-radius: 4px;
  padding: 0px 20px;
  cursor: pointer;
  color: #fff;
  border: 1px solid #0e4771;
  line-height: 1.6;
  margin-top: 15px;
  width: auto;
  height: 40px;
}

.write-us {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .2);
  backdrop-filter: blur(8px);
  width: 100%;
  height: 100%;
}

.write-us-form {
  width: 630px;
  padding: 50px;
  background: #fff;
  border: 1px solid #ddd;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
}

.write-us.floated-contact-form-wrap {
  display: block;
  padding: 0;
  border: 0;
}

.floated-contact-form-wrap.write-us .input-wrap.gac-subject-in {
  display: flex;
}

.closeButton {
  position: absolute;
  right: 18px;
  top: 20px;
  font-size: 50px;
  line-height: 0;
  height: 25px;
  padding: 7px;
  cursor: pointer;
}

.hide {
  display: none;
}

/*Small Divice*/
@media only screen and (max-width:580px) {
  .write-us-form {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .contact-wrap-header .shortly-msg {
    margin-top: 20px;
  }
  
  .floated-contact-form-wrap {
    width: 100%;
    height: 100%;
    left: 0;
    right: initial;
    top: 0;
    padding: 140px 25px;
    border-radius: 0;
    border: 0;
  }
  
  .floated-contact-triger {
    z-index: 9999999;
  }
  
  #enquiry-form .flex {
    flex-direction: column;
    gap: 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}


/*Join US*/
#joinwhatsapp {
  text-align: left;
}

.join-us-whatsapp {
  display: flex;
  flex-direction: column;
}

.join-us-whatsapp label {
  font-weight: 400;
  font-size: 16px;
}

.join-us-input-group {
  display: flex;
}

.join-us-input-group select {
  background: transparent;
  border: 1px solid #ddd;
  border-right: 0;
  max-width: 140px !important;
  padding: 7px 10px;
  font-size: 16px;
}

.join-us-input-group input {
  border: 1px solid #ddd !important;
  max-width: 240px;
  width: 100%;
  padding: 2px 10px !important;
  border-radius: 0 !important;
}

.join-btn {
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 2px;
  margin-top: 10px;
  padding: 4px 20px;
  background: var(--primary-color);
  color: #fff;
}

.response-message {
  font-size: 14px;
  margin-left: 10px;
}

.response-message.success {
  color: green;
}

.response-message.alert {
  color: #bb9112;
}

.response-message.error {
  color: #f00;
}

/* EnqueryForm */


#enquiry-form  .info-heading h3 {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 0;
  margin: 0;
}

#enquiry-form .info-heading p {
  font-size: 16px;
  margin: 0;
  color: #737373;
  font-style: italic;
}

#enquiry-form  .info-heading {
  margin: 25px 0;
}

#enquiry-form .input-wrap {
  display: flex;
  flex-direction: row;
}

#enquiry-form .input-wrap > * {
  flex: 1;
}

#enquiry-form .flex {
  flex-direction: column;
  gap: 0;
}

#enquiry-form .input-radio-wrap {
  margin: 22px 0;
}

.radio-options {
  display: flex;
  gap: 1rem;
}

.file-options {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.radio-options label {
  margin: 0;
}

#enquiry-form button:hover {
  background-color: #0056b3;
}

#enquiry-form button {
  background-color: #0e4f7f;
  color: white;
  border: none;
  cursor: pointer;
  padding: 8px 25px;
  margin-top: 25px;
  border-radius: 3px;
}

#enquiry-form  #ans {
  border: none;
  padding: 0 10px;
}


/* File uploader  */

/* File Uploader */
.fileUploader {
  display: flex;
  margin-bottom: 15px;
  gap: 10px;
}

.preview-area {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#enquiry-form .preview-item img {
  max-width: 80px !important;
  height: 80px;
  object-fit: contain;
}

.upload-lbl {
  font-size: 15px;
  margin-bottom: 12px;
}

.fileUploader .browse {
  border: 1px dashed #ddd;
  display: flex;
  height: 80px;
  line-height: 0;
  padding: 10px;
  width: 80px;
}

#previewArea {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: 5px;
}

#previewArea .image-container {
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  display: flex;
  height: 80px;
  justify-content: center;
  margin: 5px;
  padding: 2px;
  position: relative;
  width: 80px;
}

#previewArea .image-container img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.progress-bar.upload-success {
  display: none;
}

.remove-attachment {
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 23px;
  color: red;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 18px;
  justify-content: center;
  line-height: 5;
  padding: 0 0 4px;
  position: absolute;
  right: 2px;
  top: 2px;
  width: 18px;
}

.gac-upload-in > label {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.gac-upload-in > label .hint, .gac-upload-in .hint {
  font-size: 12px;
  display: inline-block;
}

#enquiry-form .input-wrap.gac-upload-in {
  flex-direction: column;
}

#enquiry-form .preview-item {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 80px;
}

#enquiry-form .preview-item img {
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
}

#enquiry-form .progress-bar {
  background-color: rgba(0, 202, 22, 0.2);
  position: absolute;
  bottom: 0;
  height: 24px;
}

.file-icon {
  width: 80px;
  height: 80px;
  display: inline-block;
  border-radius: 5px;
  border: 1px solid #eee;
  background-size: 75%;
  background-position: center;
  background-repeat: no-repeat;
}

.file-name {
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.remove-file {
  position: absolute;
  right: 0;
  top: 0;
  line-height: 1;
  background: rgba(255,255,255,.5);
  padding: 0 5px;
  border-radius: 0 0 0 2px;
  cursor: pointer;
}

.file-ai {
  background-image: url('./icons/ai.png');
}

.file-dwg,.file-dxf {
  background-image: url('./icons/dwg.png');
}

.file-doc,.file-docx {
  background-image: url('./icons/doc.png');
}

.file-pdf {
  background-image: url('./icons/pdf.png');
}

.file-ppt,.file-pptx {
  background-image: url('./icons/ppt.png');
}

.file-psd {
  background-image: url('./icons/psd.png');
}

.file-txt {
  background-image: url('./icons/txt.png');
}

.file-xls,.file-xlsx {
  background-image: url('./icons/xls.png');
}

.rfq-link.top-middle {
  top: 0;
  left: 50%;
  transform: translate(-50%);
  height: 32px;
  background: rgba(0,0,0,.2);
  font-size: 15px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: #fff;
}

.rfq-link.right-bottom, .rfq-link.right-middle {
  right: 30px;
  width: 65px;
  height: 65px;
  background: #0e4f7f;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 4px solid #13619b;
  color: #fff;
  font-weight: bold;
  line-height: 1;
}

.rfq-link.right-bottom {
  bottom: 30px;
}

.rfq-link.right-bottom.has-floated-contact {
  bottom: 110px;
}

.rfq-link.right-bottom:hover, .rfq-link.right-middle:hover {
  background-color: #11619b;
  border-width: 2px;
}

.rfq-link.right-middle {
  top: 50%;
  transform: translateY(-50%);
}

.rfq-link {
  position: fixed;
  z-index: 999999;
  text-decoration: none;
}

.rfq-link:hover {
  text-decoration: none;
}

#enquiry-form .input-wrap > label {
  max-width: 350px;
}

.in-page-rfq-link.rfq-btn {
  padding: 8px 15px;
  background: var(--primary-color);
  border-radius: 4px;
  color: #fff !important;
  line-height: 1;
  text-decoration: none;
}

.required {
  color: #f00;
}

@media only screen and (max-width:580px) {
  .rfq-link.top-middle {
    left: 106px;
  }
  
  .input-wrap label {
    font-size: 16px;
  }
  
  .floated-contact-triger {
    right: 10px;
    width: 55px;
    height: 55px;
    bottom: 10px;
  }
  
  .rfq-link.right-middle {
    right: 0;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    border: 0;
    width: auto;
    padding: 10px 10px;
    height: auto;
  }
  
  .rfq-link.right-bottom {
    width: 58px;
    height: 34px;
    bottom: 10px;
    font-size: 16px;
    font-weight: normal;
    border: 0;
    right: 10px;
    border-radius: 10px;
  }
  
  .gac-upload-in > label {
    align-items: flex-start;
    flex-direction: column;
  }
  
  #enquiry-form .input-wrap {
    flex-direction: column;
  }
  
  .rfq-link.right-bottom.has-floated-contact {
    bottom: 80px;
  }
}