/*
 Theme Name:   Salient Child
 Author:       Tamara Yee (MortgageStream)
 Template:     salient
 Version:      1.0.0
 Text Domain:  salient-child
*/

.clear {
    clear: both;
}
.field-holder {
    display: block;
    padding-bottom: 15px;
    clear: both;
}
.field-holder.half {
    width: 49%;
    clear: none;
}
    .field-holder.half.left {
        float: left;
    }
    .field-holder.half.right {
        float: right;
    }
.field-holder.third {
    float: left;
    width: 32%;
    clear: none;
}
    .field-holder.third {
        margin-right: 16px;
    }
    .field-holder.third.right {
        margin-right: 0;
    }

.field-holder.card, .field-holder.ach { display: none; }

.field-holder .frm_description {
    display:block;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, sans-serif;
    font-size: 12px;
}
.field-holder label {
    display: block;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #676767;
}
    .field-holder label span {
        color: #661311;
    }

.field-holder input[type="text"] {
    display: block;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, sans-serif;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 16px;
    margin-top: 4px;
}
    .field-holder input[type="text"]:focus, .field-holder input[type="text"]:active {
        border-color: #BFC3C8;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    }

.field-holder input[type="submit"], .field-holder input[type="button"] {
    display: block;
    font-family: "Open Sans";
    font-size: 12px;
    font-weight: 600;
    color: white;
    background-color: #661311;
    border: 0;
    padding: 16px!important;
}
    .form-button:hover {
        opacity: 0.87;
    }

.field-holder input[type="submit"][disabled] {
    background-color: #aaa;
    cursor: not-allowed;
}

.field-holder#total {
    padding-top: 56px;
    height: 131px;
}
.field-holder a img {
    max-width: 263px!important;
    float: right;
}
.message {
    font-size: 24px;
    color: #661311;
    text-align: center;
    font-family: "Open Sans", sans-serif;
}

#receipt {
    display: block;
    margin: 30px auto;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    max-width: 460px;
}
#receipt span {
    font-weight: bold;
}

/* From validation.min.css */
.validate-error {
    border-color: #661311 !important
}

.validate-popup {
    transition: all ease 300ms;
    cursor: pointer;
    position: absolute;
    background-color: #661311;
    color: white;
    font-size: 12px;
    line-height: 1;
    padding: 8px 12px;
    z-index: -1;
    opacity: 0
}

    .validate-popup.active {
        z-index: 99999;
        opacity: 1
    }

    .validate-popup:after {
        position: absolute;
        bottom: 0;
        right: 0;
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 5px 5px 0 5px;
        border-color: #661311 transparent transparent transparent;
        margin-right: 8px;
        margin-bottom: -5px
    }

    .validate-popup.short-version:after {
        left: 0;
        margin-left: 8px
    }

.validate-class {
    position: relative
}

    .validate-class:before, .validate-class:after {
        content: '';
        opacity: 0;
        transition: opacity ease 300ms;
        position: absolute;
        right: 0;
        top: -36px
    }

    .validate-class:before {
        background-color: #661311;
        color: white;
        font-size: 12px;
        line-height: 1;
        padding: 8px 12px;
        white-space: nowrap
    }

    .validate-class:after {
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 5px 5px 0 5px;
        border-color: #661311 transparent transparent transparent;
        margin-top: 28px;
        margin-right: 10px
    }

#cover {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1000;
}
/* loading.io lds-ring*/
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    top: 47%;
    left: 48%;
    z-index: 1001;
}

    .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 64px;
        height: 64px;
        margin: 8px;
        border: 8px solid #661311;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #661311 transparent transparent transparent;
    }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* end loading.io */

@media (max-width: 767px) {

    .field-holder.half {
        width: 100%;
        float: none;
    }
    .field-holder#total {
        padding-top: inherit;
        height: auto;
    }
    .field-holder a img {
        max-width: auto!important;
        float: none;
    }
}