#contact {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 95%;
  overflow: auto;
  z-index: 999;
  padding-top: 40px;
}
#contact .handle {
  width: 110px;
  height: 40px;
  text-align: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position: absolute;
  background: #333;
  top: 0;
  left: 50%;
  margin-left: -55px;
}
#contact h2 {
  color: #fff;
  padding: 10px 0;
  margin: 0;
  font-size: 14px;
  letter-spacing: 4px;
}
#contact h2 a {
  color: #fff;
}
#contact h2 a:hover {
  color: #e4b256;
}
#contact .contact-info {
  background: #333;
}

#contact_form.dark input[type="text"],
#contact_form.dark input[type="password"],
#contact_form.dark input[type="date"],
#contact_form.dark input[type="datetime"],
#contact_form.dark input[type="datetime-local"],
#contact_form.dark input[type="month"],
#contact_form.dark input[type="week"],
#contact_form.dark input[type="email"],
#contact_form.dark input[type="number"],
#contact_form.dark input[type="search"],
#contact_form.dark input[type="tel"],
#contact_form.dark input[type="time"],
#contact_form.dark input[type="url"],
#contact_form.dark textarea {
  background: none;
  border: 1px solid #555;
  color: #fff;
}

#contact_form.dark textarea {
  height: 11rem;
}

.contact-details {
  color: #fff;
}

.contact-details h4 {
  font-size: 0.9rem;
  color: #fff;
  letter-spacing: 4px;
  font-weight: normal;
  margin-bottom: 5px;
}

.contact-details p {
  margin-bottom: 30px;
  color: #999;
}

.contact-details ul {
  list-style: none;
  margin: 0;
}
.contact-details ul li {
  display: inline-block;
  padding: 0 15px 0 0;
}
.contact-details ul li a {
  color: #999;
}
.contact-details ul li a:hover {
  color: #00e1b6;
}
.contact-details ul li i {
  font-size: 20px;
}
/* section-title */
.section-title {
  display: block;
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.section-title h2 {
  display: inline-block;
  background: #fff;
  padding: 3px 15px;
  font-size: 18px;
  font-weight: normal;
  margin: 0;
}

.section-title::after {
  content: "";
  height: 1px;
  display: inline-block;
  background: #eee;
  width: 100%;
  position: relative;
  top: -30px;
  z-index: -1;
}

/* Icon-text and service */
.main-services {
  border-top: 1px solid #f0f0f0;
  border-left: 1px solid #f0f0f0;
}
.main-services .columns {
  padding: 0;
}
#works .columns:last-child:not(:first-child){
    float: left;
}
.main-services .icon-text {
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  -webkit-transition-property: background;
  -moz-transition-property: background;
  transition-property: background;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.icon-text {
  padding: 0px !important;
  color: #999;
  text-align: center;
  background: none;
}

.main-services .icon-text {
  padding: 60px !important;
}
.icon-text i {
  color: #333;
  font-size: 36px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  margin-bottom: 30px;
}

.icon-text h3 {
  margin-top: 24px !important;
  margin-left: 0 !important;
  color: #ff5242;
  margin-bottom: 0 !important;
  text-align: left;
}

.main-services .icon-text h3 {
  margin-top: 24px !important;
  margin-left: 0 !important;
  color: #ff5242;
  text-align: center !important;
  margin-bottom: 40px !important;
}
.main-services .icon-text li {
  font-size: 11px;
  color: #363636;
}

.main-services .columns:nth-child(1) .icon-text:hover {
  background: url(../../images/@stock/service-item-1-bg.jpg) center center
    no-repeat;
  background-size: cover;
}

.main-services .columns:nth-child(2) .icon-text:hover {
  background: url(../../images/@stock/service-item-2-bg.jpg) center center
    no-repeat;
  background-size: cover;
}

.main-services .columns:nth-child(3) .icon-text:hover {
  background: url(../../images/@stock/service-item-3-bg.jpg) center center
    no-repeat;
  background-size: cover;
}

.main-services .columns:nth-child(4) .icon-text:hover {
  background: url(../../images/@stock/service-item-4-bg.jpg) center center
    no-repeat;
  background-size: cover;
}

.main-services .columns:nth-child(5) .icon-text:hover {
  background: url(../../images/@stock/service-item-5-bg.jpg) center center
    no-repeat;
  background-size: cover;
}

.main-services .columns:nth-child(6) .icon-text:hover {
  background: url(../../images/@stock/service-item-6-bg.jpg) center center
    no-repeat;
  background-size: cover;
}

.icon-text-diamond {
  text-align: center;
  margin-bottom: 40px;
}
.icon-text-diamond .wrapper {
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-in-out;
  -moz-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}
.icon-text-diamond span {
  color: #999;
}

.icon-text-diamond .content {
  display: inline-block;
  width: 160px;
  height: 160px;
  margin: 40px auto 80px;
  background: #00e1b6;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.icon-text-diamond .content i {
  margin-bottom: 30px;
  font-size: 30px;
  width: 30px;
  height: 30px;
  color: #333;
  padding-top: 80px;
  position: relative;
  left: -40px;
  display: inline-block;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.icon-text-diamond:hover .wrapper {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.icon-text-diamond:hover .wrapper .content {
  background: #333;
}
.icon-text-diamond:hover .wrapper .content i {
  color: #00e1b6;
}

.red {
  background-color: #fff0f1;
}

.custom-left {
  float: left !important;
}
