#contacttextcontainer{
    max-width: 100%;
    min-height: 900px;
    padding-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#contactform-sendcontact{
  display:flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

#contactform-sendcontact input[type=tel]{
  width: 350px;
  max-width: 100%;
  background-color: white;
}

#contacttextcontainer::before {    
  content: "";
  background-image: url('image/deluxesuite/IMG_0224.jpeg');
  opacity: 0.4;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 30%;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  min-height: 0;
  z-index: 0;
  pointer-events: none;
}

#contacttextcontainer > *{
  position: relative;
  z-index: 1;
}

#contactp{
    font-size:large;
    font-style:normal;
    font-weight: bold;
    max-width: 100%;
    text-align: center;
    margin-top: 20px;
}

#contactp a{
    position: relative;
    color: rgb(67, 67, 67);
    font-weight:bold;
    z-index: 9999;
    text-decoration: none;
}

#contactp a:hover{
    color:#777777;
    letter-spacing: 0.4px;
  }


  /* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    position: relative;
    text-align: left;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }

  input[type=number], select, textarea {
    position: relative;
    text-align: left;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }

  input[type=file]{
    position: relative;
  }
  
  /* Style the submit button with a specific background color etc */
  input[type=submit] {
    background-color: #666666;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: relative;
  }
  
  /* When moving the mouse over the submit button, add a darker green color */
  input[type=submit]:hover {
    background-color: #8c8c8c;
  }

  #phonenumbertxt{
    width: 350px;
    background-color: white;
  }
  #phonenumberform{
    text-align: center;
  }
  
  /* Add a background color and some padding around the form */
  .containerr {
    border-radius: 5px;
    padding-right: 100px;
  }

  @media only screen and (max-width: 1060px){
    .containerr {
      border-radius: 5px;
      text-align: center;
      justify-content: center;
      padding-right: 3px;
      max-width: 100%;
    }
    #contactp{
      margin-top: 0px;
  }
  #contacttextcontainer{
    padding-top: 0px;
}
}
/* Στοχευμένη διόρθωση: περιορισμός πλάτους φόρμας τηλεφωνικής κλήσης */
#contactform-sendcontact {
  width: calc(100% - 40px);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#contactform-sendcontact input[type="tel"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}

#contactform-sendcontact input[type="submit"] {
  flex: 0 1 240px;
  max-width: 240px;
  box-sizing: border-box;
  white-space: nowrap;
}

@media only screen and (max-width: 600px) {
  #contactform-sendcontact {
    width: calc(100% - 24px);
  }

  #contactform-sendcontact input[type="submit"] {
    flex-basis: 42%;
    max-width: 42%;
  }
}

/* Η σελίδα Επικοινωνία ενώνεται απευθείας με το footer,
   ώστε το background να συνεχίζει μέχρι το πραγματικό τέλος της ενότητας. */
.contact-page .footer {
  margin-top: 0;
}
