/*
 * Exentis - Simple Contact Form
 * @copyright	Copyright (c) 2016 Exentis. All rights reserved.
 * @license		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */


div.escform {
    position: relative;
    padding-bottom: 85px;
/*    width: 80%;
    text-align: center;
    margin: 20px auto;
    padding: 20px 0 75px;
    display: block;
    overflow: hidden;
*/}



div.centering {
    width: 85%;
    margin: 0 auto;
}

div.escform input, div.escform textarea {
    border: 1px solid #5e5e5e;
    outline: 0;
    padding: 1em;
    background-color: transparent;
    display: block;
    width: 100%;
    margin-top: 0px;
    -moz-box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    resize: none;
    padding: 15px 30px;
    color: #aeaeae;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
}

textarea:focus,
input[type=email]:focus,
input[type=text]:focus{
    color:#aeaeae;
}

.escform input::placeholder, .escform textarea::placeholder {
  color: #aeaeae;
}
/*
div.escform input:focus, div.escform textarea:focus {
  -moz-box-shadow: 0 0px 2px #e74c3c !important;
  -webkit-box-shadow: 0 0px 2px #e74c3c !important;
  box-shadow: 0 0px 2px #e74c3c !important;
}
*/

*::-webkit-input-placeholder {
    color: #424043;
}
*:-moz-placeholder {
    /* FF 4-18 */
    color: #424043;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: #424043;
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: #424043;
}

input:-webkit-autofill, 
textarea:-webkit-autofill, 
select:-webkit-autofill {
    background-color: #fff !important;
    background-image: none !important;
    color: #000 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus {
    background-color: #FFFFFF !important;
    color: #000 !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #000 !important;
    }

div.escform #input_submit {
  color: white;
  background: #c9b4b2;
  cursor: pointer;
  width:50%;
  float:right;
  margin-top: 30px;
}

div.escform #input_submit:hover {
  -moz-box-shadow: 0 1px 1px 1px rgba(170, 170, 170, 0.6);
  -webkit-box-shadow: 0 1px 1px 1px rgba(170, 170, 170, 0.6);
  box-shadow: 0 1px 1px 1px rgba(170, 170, 170, 0.6);
}

input#input_phone1 {
    width: 18%;
    display: inline-block;
    float: left;
}

input#input_phone2 {
    width: 80%;
    display: inline-block;
    float: left;
    margin-left: 2%;
}

div.escform textarea {
  height: 132px;
}

button#submitbutton {
    padding: 5px 25px;
    color: #fff;
    float: right;
    margin-top: 20px;
    border: 0px solid #fff;
    width: 45%;
    height: 46px;
    text-align: left;
    background: #419931;
/*    background: -moz-linear-gradient(left, #af2487 0%, #6136a9 100%);
    background: -webkit-linear-gradient(left, #af2487 0%,#6136a9 100%);
    background: linear-gradient(to right, #af2487 0%,#6136a9 100%);*/
    font-size: 18px;
    position: absolute;
    bottom: -80px;
    right: 0;
    z-index: 1;
    border: 3px solid #419931;
}

button#submitbutton i {
    float: right;
    padding-top: 3px;
}

.form-style-heading {
    font-size: 20px;
    text-align: left;
}

.half {

  margin-bottom: 1em;
}

.right {
}

.left {

}

.inputfile {
  /* visibility: hidden etc. wont work */
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
.inputfile:focus + label {
  /* keyboard navigation */
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}
.inputfile + label * {
  pointer-events: none;
}

span.icon.icon-envelope {
    vertical-align: middle;
    font-size: 14px;
    margin-right: 10px;
}