﻿.floating-form {
    width: 320px;
}

/****  floating-Lable style start ****/
.floating-label {
    position: relative;
    margin-bottom: 8px;
}
.floating-label-login {
    position: relative;
    margin-bottom: 18px;
}
.floating-label-grid {
    position: relative;
    margin-top: 6px;
    margin-bottom: 5px;
}
.floating-label-add-ddl{
    position: relative;
    width: 90%;
    margin-left: 5%;
    margin-top: 10px;
}

.toupper {
    text-transform: uppercase;
}

.floating-input, .floating-select {
    color: rgb(90, 134, 59);
    font-size: 14px;
    padding: 4px 4px;
    display: block;
    width: 100%;
    border: inset;
    border-width: 2px;   
    background-color: rgb(232, 234, 238);
    height: 32px;
    /*    background-color: #e8eaee;
    border: 1px inset;*/
}

    .floating-input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 1000px #ededef inset;
        color: rgb(90, 134, 59);
        background-color: rgb(232, 234, 238);
    }

    .floating-input:focus, .floating-select:focus {
        outline: none;
    }

    .floating-input:disabled{
        opacity: .6
    }

    .floating-input:read-only {
        opacity: .6
    }




.float-label-text {
    color: rgb(90, 134, 59);
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 7px;
    padding-left: 5px;
    padding-right: 5px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

    .float-label-text:disabled {
        opacity: .6
    }

    .float-label-red {
        color: red;
    }

.floating-label-grey {
    color: grey;
}

.floating-input:focus ~ label,
.floating-input:not(:placeholder-shown) ~ label {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: grey;
    background-color: #ededef;
}

.floating-input:focus ~ label,
.floating-input:not(:-ms-input-placeholder) ~ label {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: #e8eaee;
}

.floating-select:focus ~ label, .floating-select:not([value=""]):valid ~ label {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: #164171;
}

.floating-input:focus ~ span,
.floating-input:not(:placeholder-shown) ~ span {
    top: -7px;
    height: 16px;
    font-size: 11px;
    /*    color: #164171;*/
    color: grey;
    background-color: #ededef;
}

.floating-input:focus ~ span,
.floating-input:not(:-ms-input-placeholder) ~ span {
    top: -7px;
    height: 16px;
    font-size: 11px;
    /*   color: #164171;*/
    color: #e8eaee;
}

.floating-select:focus ~ span, .floating-select:not([value=""]):valid ~ span {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: #164171;
}

/*Login*/

.floating-input-login, .floating-select-login {
    /*color: #164171;*/
    font-size: 14px;
    padding: 6px 6px;
    display: block;
    width: 100%;
    /*height: 35px;*/
    background-color: #e8eaee;
    border: 1px inset;
}

    .floating-input-login:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 1000px #e8eaee inset;
    }

    .floating-input-login:focus, .floating-select-login:focus {
        outline: none;
    }

.floating-input-login:focus ~ label,
.floating-input-login:not(:placeholder-shown) ~ label {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: grey;
    background-color: #ededef;
}

.floating-input-login:focus ~ label,
.floating-input-login:not(:-ms-input-placeholder) ~ label {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: #e8eaee;
}

.floating-select-login:focus ~ label, .floating-select-login:not([value=""]):valid ~ label {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: #164171;
}

.floating-input-login:focus ~ span,
.floating-input-login:not(:placeholder-shown) ~ span {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: #164171;
}

.floating-input-login:focus ~ span,
.floating-input-login:not(:-ms-input-placeholder) ~ span {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: #164171;
}

.floating-select-login:focus ~ span, .floating-select-login:not([value=""]):valid ~ span {
    top: -7px;
    height: 16px;
    font-size: 11px;
    color: #164171;
}


/* active state */
.floating-input:focus ~ .bar:before, .floating-input:focus ~ .bar:after, .floating-select:focus ~ .bar:before, .floating-select:focus ~ .bar:after {
    width: 50%;
}

.floating-input-red:focus ~ .bar:before, .floating-input-red:focus ~ .bar:after, .floating-select-red:focus ~ .bar:before, .floating-select-red:focus ~ .bar:after {
    width: 50%;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.floating-textarea {
    min-height: 30px;
    max-height: 260px;
    overflow: hidden;
    overflow-x: hidden;
}

/* highlighter */
.highlight {
    position: absolute;
    height: 50%;
    width: 100%;
    top: 15%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
.floating-input:focus ~ .highlight, .floating-select:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}
/* animation */
@-webkit-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

.floating-credit {
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: #aaa;
    font-size: 13px;
    font-family: arial,sans-serif;
}

    .floating-credit a {
        text-decoration: none;
        color: #000000;
        font-weight: bold;
    }

        .floating-credit a:hover {
            border-bottom: 1px dotted #f8f8f8;
        }

.floating-heading {
    position: fixed;
    color: #aaa;
    font-size: 20px;
    font-family: arial,sans-serif;
}

.btg_ddl_box {
    /* color: #164171;*/
    font-size: 14px;
    display: block;
    width: 150px;
    height: 52px;
    /*    background-color: white;*/
    /*border: 1px solid #164171;*/
    background-color: rgb(232, 234, 238);
    color: rgb(90, 134, 59);
    border: 1px solid grey;
    border-radius: 5px;
    margin-bottom: 8px;
}

.btg_ddl {
    position: relative;
    top: 1px;
    width: 235px;
    height: 33px;
    /*color: #164171;*/
    color: rgb(90, 134, 59);
    font-size: 14px;
    border: inset;
    padding-left: 5px;
    border-width: 2px;
    background-color: rgb(232, 234, 238);
    margin-bottom: 8px;
}
.btg_ddl_92 {
    width: 92%;
}
.btg_ddl_add_btn {
    position: relative;
    top: 2px;
    width: 12px;
    height: 12px;
}
.btg_ddl_acct {
    position: relative;
    top: 1px;
    height: 23px;
    min-width: 162px;
    /*color: #164171;*/
    color: rgb(90, 134, 59);
    font-size: 14px;
    border: inset;
    padding-left: 5px;
    border-width: 2px;
    background-color: rgb(232, 234, 238);
    margin-bottom: 8px;
}

.btg_ddl_label {
    position: relative;
    top: 0;
    width: 100%;
/*    color: #164171;*/
    color: black;
    font-size: 11px;
    border-bottom: 1px solid black;
    padding-top: 5px;
    padding-bottom: 5px;
}

.btg_ddl_add_pnl {
    z-index: 100;
    background-color: gainsboro;
    position: relative;
    padding-bottom: 10px;
    border: 2px solid #5a863b;
    border-radius: 5px;
    width: 300px;
    left: -15px;
    text-align: center;
    top: -15px;
}

.btg_ddl_labelred {
    color: red
}

.btg_ddl_span {
    padding-left: 5px;
}

.btg_textbox_container {
    position: relative;
    margin-bottom: 8px;
    color: #164171;
    font-size: 14px;
    padding: 4px 4px;
    display: block;
    width: 100%;
    background-color: white;
    border: 2px solid #164171;
    border-radius: 5px;
}

.btg_textbox {
    border: none;
    resize: none;
    color: #164171;
    font-size: 14px;
}

.btg_word {
    word-wrap:normal;
 

}


