/*=====================================
 start the contact section========== */
.contact {
  margin-top: 100px;
  margin-bottom: 30px;
}
.contact .map iframe {
  width: 100%;
  height: 350px;
  margin-bottom: -6px;
}

.contact .office {
  position: relative;
  background: url(../img/office.jpg) center no-repeat;
  background-size: cover;
}
.contact .office:hover {
  cursor: pointer;
}
.contact .overlay {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 0%,
    rgba(39, 74, 187, 0.9) 100%
  );
  opacity: 0.9;
}
.contact .office .txt {
  position: absolute;
  top: 50%;
  margin: 0 auto;
  transform: translate(50%, -50.5%);
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

/*======================
 start the part 2 =====*/
.theboxes {
  margin-top: 60px;
}
.box {
  position: relative;
  max-width: 600px;
  height: 200px;
  background: rgb(255, 255, 255);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

/* common */
.ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
}
.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: "";
  display: block;
  border: 5px solid #cc1616;
}
.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  background-color: #c42e2e;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
  font: 700 18px/1 "Lato", sans-serif;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  text-align: center;
}

/*===========
 top left=======*/
.ribbon-top-left {
  top: -10px;
  left: -10px;
}
.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}
.ribbon-top-left::before {
  top: 0;
  right: 0;
}
.ribbon-top-left::after {
  bottom: 0;
  left: 0;
}
.ribbon-top-left span {
  right: -25px;
  top: 30px;
  transform: rotate(-45deg);
}

.content-box {
  text-align: center;
  line-height: 34px;
  padding-top: 20%;
}
/*============================
 start the contact section====  */
.thecontact-form {
  margin-top: 40px;
  height: 400px;
}
.form {
  width: 70%;
}
@media(max-width:768px)
{
  .form {
    width: 100%;
  }   
}
.form-group #clientName {
  text-indent: 8px;
  margin-bottom: 10px;
  padding: 10px 0;
  outline: none;
  box-shadow:none !important;
   border:1px solid #ccc !important;
}
.form-group #clientEmail {
  text-indent: 8px;
  margin-bottom: 10px;
  padding: 10px 0;
  outline: none;
  box-shadow:none !important;
   border:1px solid #ccc !important;
}
.form-group textarea {
  height: 130px;
  margin-bottom: 20px;
  outline: none;
  box-shadow:none !important;
   border:1px solid #ccc !important;
}

.form button {
  display: block;
  background-color: #141e61;
  color: #fff;
  min-width: 170px;
  border: 2px solid #141e61;
  padding: 10px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.form button:hover {
  box-shadow: inset 0px -80px 0px #e03636;
  color: #fff;
  border: solid;
  border: 2px solid #e03636;
}