﻿

.inp {
    position: relative;
    margin: auto;
    width: 100%;
    /*max-width: 280px;*/
    margin-bottom: 15px;
    margin-top: 25px;
}

    .inp .label {
        position: absolute;
        top: 13px;
        left: 0;
        font-size: 16px;
        color: #9098a9;
        font-weight: 500;
        transform-origin: 0 0;
        transition: all 0.2s ease;
    }

    .inp .bottomborder {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px;
        width: 100%;
        background: #294B6E !important;
        transform: scaleX(0);
        transform-origin: 0 0;
        transition: all 0.15s ease;
    }

    .inp input {
        -webkit-appearance: none;
        width: 100%;
        border: 0;
        font-family: inherit;
        padding: 12px 0;
        height: 58px;
        font-size: 16px;
        font-weight: 500;
        border-bottom: 2px solid #294b6e;
        background: none;
        border-radius: 0;
        color: white;
        -moz-transition: all 0.15s ease;
        -o-transition: all 0.15s ease;
        -webkit-transition: all 0.15s ease;
        transition: all 0.15s ease;
    }

        .inp input:hover {
            background: rgba(34,50,84,0.03);
        }

        .inp input:not(:placeholder-shown) + span {
            color: white;
            padding-left: 0;
            transform: translateY(-26px) scale(0.75);
        }

        .inp input:focus {
            background: none;
            outline: none;
        }

            .inp input:focus + span {
                color: white;
                transform: translateY(-26px) scale(0.75);
                padding-left: 0;
            }

                .inp input:focus + span + .bottomborder {
                    transform: scaleX(1);
                }

/* Change Autocomplete styles in Chrome*/
/*input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid transparent;
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}

.card input:-webkit-autofill,
.card input:-webkit-autofill:hover,
.card input:-webkit-autofill:focus .card textarea:-webkit-autofill,
.card textarea:-webkit-autofill:hover .card textarea:-webkit-autofill:focus,
.card select:-webkit-autofill,
.card select:-webkit-autofill:hover,
.card select:-webkit-autofill:focus {
    border: 1px solid transparent;
    -webkit-text-fill-color: black;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: none;
}*/



.card .inp input {
    background-color: white;
}

.row.rowtitle {
    margin-bottom: 12px;
}


.card .inp input {
    color: black;
}

.card .inp .label {
    padding-left: 15px;
}

/*.card .inp input:not(:placeholder-shown) + span {
    color: black;
    transform: translateY(-26px) scale(0.75);
    padding-left: 0;
}*/

.card .inp input:not(:placeholder-shown) + span {
    color: black;
    transform: translateY(-41px) scale(0.75);
    padding-left: 0;
    font-size: 17px;
}

.card .inp input:focus + span {
    color: black;
    transform: translateY(-41px) scale(0.75);
    padding-left: 0;
    font-size: 17px;
}

.card input {
    padding-left: 8px;
}
/* select */

/*the container must be positioned relative:*/
.my-custom-select {
    position: relative;
    font-family: Arial;
}

    .my-custom-select select {
        display: none; /*hide original SELECT element:*/
    }

.select-selected {
    background-color: DodgerBlue;
}
    /*style the arrow inside the select element:*/
    .select-selected:after {
        position: absolute;
        content: "";
        top: 22px;
        right: 10px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-color: #C8CCD4 transparent transparent transparent;
    }
    /*point the arrow upwards when the select box is open (active):*/
    .select-selected.select-arrow-active:after {
        border-color: transparent transparent #C8CCD4 transparent;
        top: 15px;
    }
/*style the items (options), including the selected item:*/
.select-items div, .select-selected {
    padding: 18px 16px;
    cursor: pointer;
    background-color: #ecf2f8;
    color: black;
    /* border-bottom: 2px solid #C8CCD4; */
}

.select-items div {
    border-bottom: 0;
    color: #949CAC;
}
/*style items (options):*/
.select-items {
    position: absolute;
    background-color: #F8F8F9;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    /*-moz-box-shadow: 0px 3px 8px rgb(100,100,100);
    -webkit-box-shadow: 0px 3px 8px rgb(100,100,100);
    box-shadow: 0px 3px 8px rgb(100,100,100);*/
    color: #949CAC;
}
/*hide the items when the select box is closed:*/
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
}

.my-custom-select.error .select-items div, .my-custom-select.error .select-selected {
    background-color: pink;
    border-color: #D66C65;
}

.inp input.error {
    background-color: pink;
    border-color: #D66C65;
}

#validateError {
    color: #D66C65;
}


span.error {
    color: #D66C65;
}


.error .select2-container {
    border-bottom: 2px solid #D66C65;
    /*.error .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
}*/
    /* Fileupload */
    .file-upload {
    background-color: #ffffff;
    width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.file-upload-btn {
    width: 100%;
    margin: 0;
    color: #fff;
    background: #1FB264;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #15824B;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

    .file-upload-btn:hover {
        background: #1AA059;
        color: #ffffff;
        transition: all .2s ease;
        cursor: pointer;
    }

    .file-upload-btn:active {
        border: 0;
        transition: all .2s ease;
    }

.file-upload-content {
    display: none;
    text-align: center;
}

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}

.image-upload-wrap {
    margin-top: 20px;
    border: 4px dashed #1FB264;
    position: relative;
}

    .image-dropping,
    .image-upload-wrap:hover {
        background-color: #1FB264;
        border: 4px dashed #ffffff;
    }

.image-title-wrap {
    padding: 0 15px 15px 15px;
    color: #222;
}

.drag-text {
    text-align: center;
}

    .drag-text h3 {
        font-weight: 100;
        text-transform: uppercase;
        color: #15824B;
        padding: 60px 0;
    }

.file-upload-image {
    max-height: 200px;
    max-width: 450px;
    margin: auto;
    padding: 20px;
}

.remove-image {
    width: 200px;
    margin: 0;
    color: #fff;
    background: #cd4535;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #b02818;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

    .remove-image:hover {
        background: #c13b2a;
        color: #ffffff;
        transition: all .2s ease;
        cursor: pointer;
    }

    .remove-image:active {
        border: 0;
        transition: all .2s ease;
    }

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid #eee;
    -webkit-text-fill-color: #222222;
    -webkit-box-shadow: 0 0 0px 1000px #eee inset;
    transition: background-color 5000s ease-in-out 0s;
}


