/*
 Theme Name:     Divi Child Form Extension
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme – Form Extension ASL
 Author:         infarbe-Design
 Author URI:     https://www.infarbe.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */


/* GLOBAL */

a, abbr, acronym, address, applet, b, big, blockquote, body, center, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, tt, u, ul, var {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background-color: #fff;
    font-size: 16px;
    vertical-align: baseline;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    color: #444444;
    line-height: 1.7em;
}
body, input, textarea, select {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
}

/* ADDITIONAL FORM STYLING */
label {
    display: inline-block;
    padding-bottom: 0.5em;
    line-height: 1.7em;
}
/*input#chkAgree, input#chkEmailBill, input#chkEmailFutureReadings, input#chkPhoneNoFutureReadings {
    z-index: 99;
    position: relative;
    margin-left: -30px;
}*/

.checkbox-item {
    float: left;
    width: 30px;
}

.checkbox-label {
    float: left;
    width: calc(100% - 30px);
}

.label-bold {
    font-weight: 600;
}

.error {
    color:red;
}

* {
    box-sizing: border-box;
}

input[type=text],input[type=password], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

.grid-cell, input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], input[type="date"], input[type="select"].wpcf7-select, select, select.wpcf7-select, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    background-color: #eee;
    border: 0 none;
    border-radius: 0;
    box-sizing: border-box;
    padding: 16px 20px 16px 10px;
    width: 100%;
    font-size: 16px;
    color: #222222 !important;
}

input[type="date"] {
    text-align: center;
}

input[type=submit] {
    font-size: 20px;
    color: #fff;
    background-color: #ed7702;
    border: none;
    border-radius: 3px;
    padding: 10px 25px;
    float: right;
    margin-left: 6px;
}

.container-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 540px;
    padding: 20px;
}

.container {
    width: 100%;
}

.col-5 {
    float: left;
    width: 5%;
}

.col-25 {
    float: left;
    width: 25%;
}

.col-40 {
    float: left;
    width: 40%;
}

.col-50 {
    float: left;
    width: 50%;
}

.col-75 {
    float: left;
    width: 75%;
}

.col-95 {
    float: left;
    width: 95%;
}

.col-100 {
    float: left;
    width: 100%;
}

.col-40 {
    margin-bottom: 12px;
    min-width: 200px;
}

.col-100 #edtDate #edtEmail #edtPhoneNo {
    margin-bottom: 12px;
}

.row {
    margin-top: 12px;
}

.margin-bottom {
    margin-bottom: 12px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.row.caption-data {
    margin-top: 5px;
    margin-bottom: 30px;
}

.row.personal-data {
    margin-top: 5px;
}

.row.input-data {
    margin-top: 20px;
}

/*  TABLE  */
table {
    border: none;
    width: 100%;
    margin-top: 10px;
    margin-left: -5px;
}

.grid-column {
    color: #fff;
    background-color: #ed7702;
    border: 5px solid #fff;
    padding: 13px 5px;
}

.grid-cell {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    background-color: #eee;
    border: 0 none;
    border-radius: 0;
    box-sizing: border-box;
    padding: 5px 10px;
    width: 100%;
    font-size: 16px;
    color: #222222 !important;
    text-align: center;
    min-height: 45px;
}

.grid-cell-label {
    background-color: rgba(237,119,2,0.2);
    border: 5px solid #fff;
    border-top: none;
    padding: 0px;
}

.grid-cell-label-noborder {
    background-color: rgba(237,119,2,0.2);
}

.grid-cell-images {
    border: none;
}

.grid-cell-label-noborder.grid-cell {
    padding-top: 12px;
}

.grid-cell-edit {
    background-color: #fff;
    border: 5px solid #fff;
    border-top: none;
    padding: 0px;
}

.grid-cell-edit input {
    border: 5px solid #ed7702 !important;
}

/* ERROR ALERTS */
#ctl03 {
    color: red;
}

/*remove page header and footer*/
@media print {
    @page {
        margin: 0;
    }
    body {
        margin: 1.6cm;
        -webkit-print-color-adjust: exact !important;
    }
}

.img-wraps {
    position: relative;
    display: inline-block;
    font-size: 0;
}

.img-wraps .closes {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 100;
    background-color: #FFF;
    padding: 4px 3px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    font-size: 22px;
    line-height: 10px;
    border-radius: 50%;
    border: 1px solid red;
}

.img-wraps:hover .closes {
    opacity: 1;
}

#tooltip {
    position: absolute;
    background: transparent;
    color: #333;
    display: none;
}

#tooltip img {
    width: 250px;
    height: 200px; /* change as your wish */
}

.h2 {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    line-height: 1.3em;
    color: #444444;
    font-size: 24px;
    padding-bottom: 30px;
}

#iframe
{
    height: 1000px;
    width: 100%;
}

/*remove spin from input*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

