.floating-form {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.36);
    padding: 25px 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


/****  floating-Lable style start ****/

.floating-label {
    position: relative;
    margin-bottom: 20px;
}

.floating-input,
.floating-select {
    font-size: 14px;
    padding: 4px 4px;
    display: block;
    width: 100%;
    height: 40px;
    background-color: #fff;
    border: none;
}

.floating-label:last-child {
    margin-bottom: 0px
}

.floating-input:focus,
.floating-select:focus {
    outline: none;
    border-bottom: 2px solid #008bd2;
}

.floating-form label {
    color: #1a171b;
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 11px;
    top: 11px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    margin: 0;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.floating-input:focus~label,
.floating-input:not(:placeholder-shown)~label {
    top: -18px;
    font-size: 14px;
    color: #fff;
}

.floating-select:focus~label,
.floating-select:not([value=""]):valid~label {
    top: -18px;
    font-size: 14px;
    color: #ded017;
}


/* active state */

.floating-input:focus~.bar:before,
.floating-input:focus~.bar:after,
.floating-select:focus~.bar:before,
.floating-select: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: 88px;
    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: #000;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #000;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #000;
    }
    to {
        width: 0;
        background: transparent;
    }
}


/****  floating-Lable style end ****/


/* checkbox 3*/

.checkbox-3 {
    padding: 0;
}

.checkbox-3 input:checked~label:before {
    content: '\2713';
    text-indent: .6em;
    line-height: 1.8em;
    color: #fff;
    background-color: #46a435;
    border: none;
}

.checkbox-3 label:before {
    content: '';
    color: #000;
    font-size: .7em;
    border: 1px solid #fff;
    min-width: 20px;
    top: 0;
    bottom: 0;
    left: 0;
    transition: .3s, line-height .15s;
    text-indent: .5em;
    line-height: 5em;
    overflow: hidden;
    min-height: 20px;
    display: block;
    height: 20px;
    margin-right: 5px;
}

.checkbox-3 label {
    position: relative;
    line-height: normal;
    text-indent: 1.8em;
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: initial;
    cursor: pointer;
    color: #fff;
    display: flex;
    top: 0;
    left: 0;
    margin-bottom: 10px;
    font-size: 13px;
}

.checkbox-3 input {
    display: none;
}

.floating-form .btn {
    background: #000;
    color: #fff;
    text-transform: uppercase;
    display: block;
    width: 100%;
    margin-top: 15px;
    font-weight: 600;
    outline: none;
    box-shadow: none;
    border-radius: 0;
}

.floating-form .btn:hover {
    background: #000;
}

[type="file"] {
    height: 0.1px;
    width: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

[type="file"]+label {
    color: #f1e5e6;
    cursor: pointer;
    display: block;
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    padding: 10px 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    top: 0;
    left: 0;
    pointer-events: initial;
    border: 1px solid #fff;
    max-width: 160px;
}

[type="file"]+label svg {
    fill: currentColor;
    height: 1em;
    width: 1em;
    margin-top: -0.25em;
    margin-right: 0.25em;
    vertical-align: middle;
}

[type="file"]+label:hover {
    background-color: #000;
}

[type="file"]:focus+label {
    background-color: #000;
    outline: 1px dotted #000;
}

.file-upload {
    background: rgba(0, 0, 0, 0.32);
    margin-bottom: 20px;
    padding: 20px 30px;
    font-size: 15px;
    font-weight: 500;
}

.text-loi{
    font-size: 13px;
}