.contact-top {
    color: #fff;
    background: url('../../images/layout/contact-bg.jpg') center center #2b54a4;
    background-size: cover;
    padding: 110px 0 60px;
}
.contact-top h1 {
    color: #fff;
    font-size: 30px;
    margin-bottom: 40px;
}
.contact-top .description {
    width: 58%;
    margin: 0 auto;
}
.form-text .text h3 {
    font-size: 18px;
    margin-bottom: 15px;
}
.form-text .text p {
    margin-bottom: 15px;
}
.form-text .text p:last-child {
    margin-bottom: 0;
}

.contact-us-form .gform_wrapper {
    background: #fff;
}
.gfield {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 27px;
    width: 100%;
}

.gfield.change-margin {
    margin-top: 10px;
}

.gfield.gform_hidden {
    display: none;
}
.gfield > label {
    margin-bottom: 10px;
    display: block;
}
.gfield input, .gfield textarea, .gfield select {
    width: 100%;
}
.gfield textarea {
    height: 120px;
}
.field-col-12 {
    width: 100%;
}

.field-privacy .gfield_required {
    display: none;
}

/* .field-privacy a {
    color: #39daff;
} */

.field-campaign label,
.field-checkbox.field-campaign input+label {
    color: #646464;
}

.field-checkbox.field-campaign ul li {
    margin-top: 8px;
}

.field-radio-btn ul:after {
    content: '';
    display: table;
    clear: both;
    line-height: 0;
}
.field-radio-btn li {
    float: left;
    margin-right: 60px;
}
.field-radio-btn li:last-child {
    margin-right: 0;
}
.field-radio-btn input {
    display: none;
}
.field-radio-btn input+label {
    position: relative;
    display: inline-block;
    padding-left: 26px;
    font-weight: 400;
    cursor: pointer;
    color: #454545;
    transition: all 0.3s ease-in-out;
}
.field-radio-btn input+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    background: #fff;
    margin: -9px 0 0 0;
}
.field-radio-btn input+label:before {
    box-shadow: inset 0 0 0 1px #d4d4d4, inset 0 0 0 1px #fff;
    transition: all 0.3s ease-in-out;
}
.field-radio-btn input:checked+label:before {
    box-shadow: inset 0 0 0 1px #d4d4d4, inset 0 0 0 3.5px #fff, inset 0 0 0 9px #015b98;
    transition: all 0.3s ease-in-out;
}

.field-checkbox {
    width: 100%;

}
.field-checkbox ul {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
.field-checkbox ul li {
    display: block;
    width: 100%;
    margin-top: 20px;
}
.field-checkbox .gfield_description,
.field-checkbox > label {
    margin: 0;
}
.field-checkbox ul input {
    display: none;
}
.field-checkbox input+label {
    position: relative;
    padding-left: 30px;
    padding-right: 5px;
    margin-bottom: 0;
    cursor: pointer;
    color: #454545;
    line-height: 24px;
    vertical-align: middle;
}
.field-checkbox input+label:before,
.field-checkbox input+label:after {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    line-height: 1;
}
.field-checkbox input+label:before {
    content: '';
    width: 24px;
    height: 24px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 5px;
}
.field-checkbox input+label:after {
    content: '\2714';
    width: 11px;
    height: 14px;
    top: 5px;
    left: 6px;
    font-size: 15px;
    color: #015b98;
    opacity: 0;
    transition: .5s;
}
.field-checkbox input:checked+label:before {
    border-color: #015b98;
}
.field-checkbox input:checked+label:after {
    opacity: 1;
    transition: .5s;
}

.type-of-fr-radio-btn {
    margin-bottom: 30px;
}

.type-of-fr-radio-btn .gfield_radio > li {
    width: 19%;
    display: inline-block;
    color: #646464;
    height: 80px;
    position: relative;
    z-index: 10;
    vertical-align: top;
}

.type-of-fr-radio-btn .gfield_radio > li label {
    line-height: 20px;
    color: #646464;
    font-size: 15px;
    vertical-align: middle;
    border: 1px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.type-of-fr-radio-btn .gfield_radio > li:hover label,
.type-of-fr-radio-btn input[type="radio"]:checked + label {
    cursor: pointer;
    border-color: #2c54a4;
    color: #2c54a4;
    z-index: 11;
  
}

.type-of-fr-radio-btn .gfield_radio > li:hover label {
    cursor: pointer;
}

.type-of-fr-radio-btn .gfield_radio > li:first-child label {
    -webkit-border-top-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.type-of-fr-radio-btn .gfield_radio > li:last-child label {
    /* border-right-width: 1px; */
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.type-of-fr-radio-btn .gfield_radio > li input {
    display: none
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .field-checkbox input+label:after {
        top: 3px;
    }
}

.field-checkbox.fieldService li, .field-checkbox.fieldExperience li, .field-checkbox.field-checkbox-additional li {
    padding-bottom: 18px;
}
.field-checkbox.fieldService {
    margin-bottom: 0;
}
.field-checkbox label {
    display: block;
}
.gfield_description {
    font-size: 15px;
    margin-bottom: 15px;
}


.field-terms > label, .field-wish-to-recive > label, .field-checkbox.field-checkbox-additional > label {
    display: none;
}
.field-terms, .field-wish-to-recive .gfield_checkbox li {
    margin-bottom: 6px;
}
.field-terms a {
    color: #39daff;
}
.field-terms a:hover, .field-terms a:focus {
    text-decoration: underline;
}

.field.field-padding.field-grey {
    background: #f1f4f8;
    margin: 0 -65px;
    padding: 15px 65px 17px;
    width: calc(100% + 130px);
}
.field.field-padding {
    padding: 15px 0 17px;
    margin: 0;    
}

.field .screen-reader-text {
    display: none;
}

/* ------------------------------------------------------------ *\
    Field Calendar
\* ------------------------------------------------------------ */
.field-calendar .ginput_container {
  width: 145px;
}
.field-calendar .ginput_container_date {
  position: relative;
  background: #fff;
  border-radius: 5px;
}
.screen-reader-text {
  display:none;
}
.field-calendar .ginput_container_date:after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 23px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: url(../../images/layout/icon-calendar.png);
  background-repeat: no-repeat;
  z-index: 0;
}
.field-calendar .ginput_container_dateinput {
  position: relative;
  height: 35px;
  padding-right: 33px;
  background: transparent;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  line-height: 33px;
  z-index: 1;
}
/*.ui-datepicker {*/
/*  display: none;*/
/*  min-width: 170px;*/
/*  background: #015b98;*/
/*  padding: 10px;*/
/*  border-radius: 15px;*/
/*  font-size: 14px;*/
/*}*/
/*.ui-datepicker .table a {*/
/*  padding: 4px;*/
/*  color: #fff;*/
/*  font-size: 14px;*/
/*}*/
/*.ui-datepicker .table a.ui-state-hover,*/
/*.ui-datepicker .table a.ui-state-active {*/
/*  background: #fff;*/
/*  color: #015b98;*/
/*}*/
/*.ui-datepicker table td,*/
/*.ui-datepicker table th {*/
/*  text-align: center;*/
/*}*/
/*.ui-datepicker table th {*/
/*  color: #fff;*/
/*}*/
/*.ui-datepicker table tr:nth-child(odd) {*/
/*  background: #015b98;*/
/*}*/
/*.ui-datepicker table tr:last-of-type {*/
/*  border: none;*/
/*}*/
/*.ui-datepicker table tr td {*/
/*  padding: 0;*/
/*  font-size: 12px;*/
/*}*/
/*.ui-datepicker table tr td a {*/
/*  color: #fff;*/
/*}*/
/*.ui-datepicker table tr td a.ui-state-highlight {*/
/*  background: #fff;*/
/*  color: #015b98;*/
/*}*/
/*.ui-datepicker table tr td:first-child {*/
/*  text-align: center;*/
/*}*/
/*.ui-datepicker table tr td:last-child {*/
/*  border: none;*/
/*}*/
/*.ui-datepicker table tr td a {*/
/*  padding: 3px 5px;*/
/*}*/
/*.ui-datepicker table tr td a:hover {*/
/*  background: #fff;*/
/*  color: #015b98;*/
/*}*/
/*.ui-datepicker .ui-corner-all {*/
/*  width: 50%;*/
/*  display: inline-block;*/
/*  padding-bottom: 5px;*/
/*  color: #fff;*/
/*  text-align: center;*/
/*  cursor: pointer;*/
/*}*/
/*.ui-datepicker .ui-corner-all .ui-icon {*/
/*  position: relative;*/
/*}*/
/*.ui-datepicker .ui-datepicker-header {*/
/*  width: 100%;*/
/*}*/
/*.ui-datepicker .ui-datepicker-prev.ui-corner-all .ui-icon:before {*/
/*  content: '';*/
/*  display: inline-block;*/
/*  position: relative;*/
/*  top: 2px;*/
/*  width: 6px;*/
/*  height: 6px;*/
/*  border-top: 6px solid transparent;*/
/*  border-bottom: 6px solid transparent;*/
/*  border-right: 6px solid #fff;*/
/*  margin-right: 5px;*/
/*}*/
/*.ui-datepicker .ui-datepicker-next.ui-corner-all .ui-icon:after {*/
/*  content: '';*/
/*  display: inline-block;*/
/*  position: relative;*/
/*  top: 2px;*/
/*  width: 6px;*/
/*  height: 6px;*/
/*  border-top: 6px solid transparent;*/
/*  border-bottom: 6px solid transparent;*/
/*  border-left: 6px solid #fff;*/
/*  margin-left: 5px;*/
/*}*/
/*.ui-datepicker-title {*/
/*  width: 100%;*/
/*}*/
/*.ui-datepicker-title select {*/
/*    width: 50%;*/
/*    padding: 3px 5px;*/
/*}*/
.field-file-upload {
    width: 100%;
    margin: 20px 0 30px;
}

@media only screen and (min-width: 992px) {
    .field-checkbox.fieldService li, .field-checkbox.fieldExperience li, .field-checkbox.field-checkbox-additional li {
        width: 25%;
    } 
}

@media only screen and (max-width: 991px) {
    .field-radio-btn li {
        margin: 0;
        float: none;
        width: 100%;
    }    
}

@media only screen and (min-width: 768px) {
    .contact-us-form .gform_wrapper {
        -moz-box-shadow: 0 0 15px -1px #6666664d;
        -webkit-box-shadow: 0 0 15px -1px #6666664d;
        box-shadow: 0 0 15px -1px #6666664d;
        border-radius: 8px;
        padding: 50px 15px;
    }
 
    .gform_wrapper {
        margin: 90px 0 0;
    }
    .form-text {
      margin-top: 80px;
    }
}

@media only screen and (max-width: 767px) {
    .contact-top {
        padding: 45px 0 60px;
    }
    .contact-top .description {
        width: 85%;
    }
    .form-text .text {
        text-align: center;
    }
    .field-col-4 {
        width: 100%;
    }
    .gform_wrapper input[type=submit] {
        width: 100%;
    }
    .gform_wrapper {
        margin: 60px 0 0;
    }
    .form-text {
      margin-top: 60px;
    }

    .gform_wrapper .type-of-fr-radio-btn ul {
        text-align: center;
        padding-left: 0;
    }

    .type-of-fr-radio-btn .gfield_radio > li {
        width: 49%;
        text-align: left;
        margin: 7px 0;
    }
}

@media only screen and (max-width: 320px) {
    .type-of-fr-radio-btn .gfield_radio > li label {
        font-size: 14px;
    }
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    #upload-area.dirty .upload-file-monitoring > * {
        width: 13%;
    }
}
