@import url('https://fonts.googleapis.com/css?family=Yantramanav:100,300');

/* ------------- */
/* GLOBAL STYLES */
/* ------------- */

.container2 {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
  margin-top: 40px;
  margin-bottom: 20px;
}

.ul {
  list-style: none;
  padding: 0;
}

.brand {
  text-align: center;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.brand span {
  color: #ffffff;
}

.wrapper {
  box-shadow: 0 0 20px 0 rgba(57, 82, 163, 0.7);
}

.wrapper > * {
  padding: 1em;
}

/* ------------------- */
/* COMPANY INFORMATION */
/* ------------------- */

.form_title{
    margin: 10px 0px 20px 0px;
    font-size: 32px;
    font-family: 'Roboto Slab', serif;
    text-align: center;
}

.info_details{
    margin: 0 0 0 0;
}

.company-info {
  background: #C3C9DD;
  background-image: url(../images/contact.jpg);
  background-position: top;
  background-size: cover;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.company-info h2,
.company-info ul {
  text-align: center;
  margin: 0 0 .5rem 0;
}

/* ------- */
/* CONTACT */
/* ------- */

.contact {
  background: #dcdfea;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* ---- */
/* FORM */
/* ---- */

.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.contact form label {
  display: block;
}

.contact form p {
  margin: 0;
}

.contact form .full {
  grid-column: 1 / 3;
}

.contact form button,
.contact form input,
.contact form textarea {
  width: 100%;
  padding: 0.55em;
  border: solid 1px #627edc9c;
  border-radius: 4px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
}

.contact form textarea{
  overflow: hidden;
  resize: vertical;
}

.contact form button {
  background: rgb(199, 60, 60);
  border: 0;
  color: #e4e4e4;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.contact form button:hover,
.contact form button:focus {
  background: rgb(209, 36, 36);
  color: #ffffff;
  outline: 0;
  transition: background-color 2s ease-out;
}

.display_error1,
.display_error2,
.display_error3,
.display_error4,
.display_error5{
    display: none;
    color: red;
}

.thank-you{
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
  height: 300px;
  display: none;
  position: relative;
}

.vertical_align{
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.back_button{
  padding: 8px;
  border-radius: 8px;
  margin: 15px;
  background: rgb(199, 60, 60);
  border: 0;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
}


/* ------------- */
/* MEDIA QUERIES */
/* ------------- */

@media only screen and (min-width: 700px) {
  .wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .wrapper > * {
    padding: 2em;
  }

  .company-info {
    border-radius: 4px 0 0 4px;
    background-position: center;
  }

  .contact {
    border-radius: 0 4px 4px 0;
  }

  .company-info h2,
  .company-info ul,
  .brand {
    text-align: left;
  }
  .info_details{
    margin: 0 0 15px 0;
  }
}