/* Contact Form variables
========================================================*/
/* Contact Form Basic Styles 
========================================================*/
.rd-mailform {
  position: relative;
}
.rd-mailform .btn {
  box-sizing: border-box;
  padding: 0;
  outline: 0;
  background-color: transparent;
}

.rd-mailform .form-wrap {
  position: relative;
  margin-bottom: 30px;
}

.rd-mailform .form-label.focus {
  opacity: 0;
  visibility: hidden;
}

.rd-mailform .form-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 14px;
  font-size: 13px;
  color: #606465;
  pointer-events: none;
  transition: .2s;
  opacity: 1;
  visibility: visible;
}
.rd-mailform fieldset {
  border: none;
}

.form-validation {
  position: absolute;
  right: 10px;
  top: 4px;
  font-size: 11px;
  line-height: 12px;
  font-weight: 400;
  color: #d9534f;
  transition: .3s;
  z-index: 11;
}

.form-validation-left .form-validation {
  right: auto;
  top: 100%; 
  left: 0;
}

/* Contact Form Input 
========================================================*/
.rd-mailform .form-input,
.rd-mailform .form-label {
  padding: 21px 0 21px 30px
}

.rd-mailform .form-input {
  font: inherit;
  width: calc(100% - 30px);
  background: #fff;
  line-height: 14px;
  font-size: 13px;
  outline: none;
  height: 15px;
  margin: 0;
  color: #606465;
  border: 1px solid #e7e8e8;
}

/* Contact Form File Input 
========================================================*/
.rd-mailform .input-group {
  position: relative;
  display: table;
  border-collapse: separate;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.rd-mailform input.form-control[disabled] {
  cursor: not-allowed;
  background-color: #eeeeee;
  opacity: 1;
}
.rd-mailform input.form-control {
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  margin-bottom: 0;
  padding: 6px 12px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -moz-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
.rd-mailform .input-group-btn:first-child > .btn {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  margin: 0 -1px 0 0;
}
.rd-mailform .input-group .form-control:last-child {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.rd-mailform .input-group-btn:last-child > .btn {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.rd-mailform .input-group .form-control:first-child {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.rd-mailform input.form-control,
.rd-mailform .input-group-btn {
  display: table-cell;
  border-collapse: separate;
  float: none !important;
}
.rd-mailform .input-group-btn label {
  width: auto;
  margin-left: -1px;
}
.rd-mailform .input-group-btn {
  position: relative;
  font-size: 0;
  white-space: nowrap;
  width: 1%;
  vertical-align: middle;
}
.rd-mailform .btn {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  margin: 15px 15px 45px 0;
  width: 125px;
}
.rd-mailform .btn-default {
  color: #333333;
  background-color: #ffffff;
  border-color: #cccccc;
}
.rd-mailform .btn-default:hover {
  color: #333333;
  background-color: #ebebeb;
  border-color: #adadad;
}
.rd-mailform .btn-default:active,
.rd-mailform .btn-default:focus {
  outline-offset: -2px;
  outline: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
/* Contact Form Textarea 
========================================================*/
.rd-mailform textarea.form-input {
  width: calc(100% - 40px);
  background: #ffffff;
  /*line-height: 24px;*/
  /*font-size: 13px;*/
  outline: none;
  resize: none;
  height: 333px;
  border: 1px solid #e7e8e8;
  color:#606465;
}
.rd-mailform textarea:focus {}
/* Contact Form Error messages
========================================================*/
.rd-mailform .empty-message,
.rd-mailform .error-message {
  position: absolute;
  right: 3px;
  top: 2px;
  color: #fa5555;
  height: 0;
  overflow: hidden;
  font-size: 11px;
  -webkit-transition: 0.3s ease-in height;
  transition: 0.3s ease-in height;
  z-index: 99;
  font-family: 'Open Sans', sans-serif;
}
.rd-mailform .invalid .error-message,
.rd-mailform .empty .empty-message {
  height: 20px;
}
/* Contact Form Processing Box
========================================================*/
.rd-mailform .contact-form-loader {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  background-image: url('../images/form-loader.gif');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  opacity: 0;
}
.rd-mailform.processing .contact-form-loader {
  opacity: 1;
  z-index: 99;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
/* Contact Form Modal 
========================================================*/
.modal-open {
  overflow: hidden;
}
.rd-mailform .modal {
  display: none;
  overflow: auto;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  font-family: Arial, "Times New Roman", sans-serif;
  font-size: 13px;
}
.rd-mailform .modal h4 {
  font-weight: bold !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #000 !important;
  font-size: 15px;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-content {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: none;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
  min-height: 16.42857143px;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 20px;
  color: #525151 !important;
}
.modal-dialog {
  width: 600px;
  margin: 10px auto;
}
@media only screen and (max-width: 768px) {
  .modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
  }
}
/* Contact Form Close icon 
========================================================*/
.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000000 !important;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
  color: #000000 !important;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}

/* Contact for on index page-break-after
=========================================================*/

.index .rd-mailform label {
  margin-bottom: 9px;
}
.index .rd-mailform input[type='text'], .index .rd-mailform textarea {
  background: #fff;
  border: none;
  width: calc(100% - 10px);
  padding-top: 6px;
  padding-bottom: 7px;
}
.index .rd-mailform textarea { width: calc(100% - 20px); }
.index .rd-mailform textarea { height: 70px;}
.index .rd-mailform a {
  font-size: 14px;
  font-style: italic;
  color: #f00;
  font-weight: 400;
 }
 .index .rd-mailform a:hover {color: #000;}
.index .rd-mailform ._placeholder {
  font-size: 11px;
  color: #666;
  font-family: Georgia, 'Times New Roman', Serif;
}
.index .rd-mailform label.name { margin-top: 7px; }

/* Snackbars
=========================================================*/
.snackbars {
  padding: 9px 16px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  background-color: #303334;
  border-radius: 0;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
  font-size: 14px;
}

.snackbars p {
  color: #fff;
}

.snackbars .icon-xxs {
  font-size: 18px;
}

.snackbars p span:last-child {
  padding-left: 14px;
}

.snackbars-left {
  display: inline-block;
  margin-bottom: 0;
}
 
.snackbars-right {
  display: inline-block;
  float: right;
  text-transform: uppercase;
}

.snackbars-right:hover {
  text-decoration: underline;
}

@media (min-width: 480px) {
  .snackbars {
    max-width: 540px;
    padding: 12px 15px;
    font-size: 15px;
  }
}

#form-output-global {
  position: fixed;
  bottom: 0;
  visibility: hidden;
  transform: translateY(calc(100% + 30px));
  transition: .3s all ease;
  z-index: 9999999;
  margin: 15px;
}

#form-output-global.active {
  transform: translateY(0);
  visibility: visible;
}

@media (min-width: 768px) {
  #form-output-global {
    margin: 30px;
  }
}

.form-output {
  position: absolute;
  top: 100%;
  left: 0;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 2px;
  transition: .3s;
  opacity: 0;
  visibility: hidden;
}

.form-output.active {
  opacity: 1;
  visibility: visible;
}

.form-output.error {
  color: #d9534f;
}

.form-output.success {
  color: #5cb85c;
}