/* ========================================================
	Chic Popup - Bootstrap Forms
===========================================================
    — DEFAULTS
    — LABEL
	— INPUT
	— CHECKBOX 
    — RADIO
	— BUTTON
======================================================== */

/* ============ DEFAULTS =========== */

.panel {
    position: relative;
    width: 100%;
    padding: 40px;
    background: #F9F9F9;
    box-shadow: 0px 22px 44px 0px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.top {
    margin-top: 90px;
}

h1 {
    font-size: 27px;
    line-height: 35px;
    color: #FFF;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0px;
}

h2 {
    font-size: 24px;
    line-height: 34px;
    color: #fff;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0px;
}



.form-bg {
    position: absolute;
    height: 217px;
    width: 205px;
    background-size: contain;
    top: 50px;
    right: 440px;
    z-index: 0;
}

.bot-text {
    color: #ebe8f6;
    padding: 20px;
    text-align: center;
}

.page-header {
    min-height: 70vh;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

/* ============ LABEL =========== */

label {
    color: #333;
    font-size: 13px;
    font-weight: 400;
    transition: all .3s cubic-bezier(.64, .09, .08, 1);
    margin: 30px 0 30px;
    display: inline-block
}

.floating-label {
    -webkit-transform: translateY(-18px);
    transform: translateY(-18px);
    position: absolute
}

.label-active {
    -webkit-transform: translateY(-38px);
    transform: translateY(-38px);
    font-size: 11px;
    color: #9b9b9b;
    letter-spacing: 1px;
}

.label-required:before {
    content: '*';
    color: #5F47B6;
    position: absolute;
    margin-left: -10px
}

/* ============ INPUT =========== */

input[type=email],
input[type=text],
input[type=datepicker],
input[type=password],
input[type=number] {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    width: 100%;
    display: block;
    border: none;
    padding: 10px 0;
    border-bottom: solid 1px #9B9B9B;
    will-change: background-position;
    transition: all .3s cubic-bezier(.64, .09, .08, 1);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #5F47B6 96%);
    background-position: -1920px 0;
    background-size: 100%;
    background-repeat: no-repeat;
    color: #333;
    font-size: 13px;
    font-weight: 400;
}

textarea {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    width: 100%;
    display: block;
    border: none;
    padding: 10px 0;
    border-bottom: solid 1px #9B9B9B;
    will-change: background-position;
    transition: all .3s cubic-bezier(.64, .09, .08, 1);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 98%, #5F47B6 98%);
    background-position: -1920px 0;
    background-size: 100%;
    background-repeat: no-repeat;
    color: #333;
    font-size: 13px;
    font-weight: 400;
}

input[type=email].input-active,
input[type=email]:focus,
input[type=text].input-active,
input[type=text]:focus,
input[type=datepicker].input-active,
input[type=datepicker]:focus,
textarea.input-active,
textarea:focus,
input[type=password].input-active,
input[type=password]:focus,
input[type=number].input-active,
input[type=number]:focus {
    background-position: 0 0;
    box-shadow: none;
    outline: 0;
}

input[type=email].input-active,
input[type=email]:focus:after,
input[type=text].input-active,
input[type=text]:focus:after,
input[type=datepicker].input-active,
input[type=datepicker]:focus:after,
textarea.input-active,
textarea:focus:after,
input[type=password].input-active,
input[type=password]:focus:after,
input[type=number].input-active,
input[type=number]:focus:after {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    width: 100%;
    display: block;
    border: none;
    padding: 10px 0;
    border-bottom: solid 1px #9B9B9B;
    will-change: background-position;
    transition: all .3s cubic-bezier(.64, .09, .08, 1);
    background: linear-gradient(to bottom, rgba(249, 249, 249, 0) 96%, #9B9B9B 96%);
    background-position: -1920px 0;
    background-size: 100%;
    background-repeat: no-repeat;
    color: #333;
    font-size: 13px;
    font-weight: 400;
}

input[type=email]::-webkit-input-placeholder,
input[type=text]::-webkit-input-placeholder,
input[type=datepicker]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
input[type=password]::-webkit-input-placeholder,
input[type=number]::-webkit-input-placeholder {
    transition: all .2s cubic-bezier(.64, .09, .08, 1);
}

input[type=radio]:after,
input[type=radio]:before {
    content: '';
    position: absolute;
    transition: all .3s cubic-bezier(.64, .09, .08, 1)
}

input[type=checkbox] {
    position: relative;
    cursor: pointer;
    top: -2px;
    margin-left: -1px;
    margin: 5px 12px 5px 0px;
}

input[type=checkbox]:before {
    content: '';
    width: 20px;
    height: 20px;
    border: 1px solid #9b9b9b;
    border-radius: 3px;
    background: #f9f9f9;
    position: absolute;
    top: -2px;
    margin-left: -1px;
}

input[type=checkbox]:after {
    content: '✓';
    color: #fff;
    background: #5F47B6;
    position: absolute;
    top: -2px;
    margin-left: -1px;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #5F47B6;
    border-radius: 3px;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s cubic-bezier(.64, .09, .08, 1);
    will-change: opacity
}

input[type=checkbox]:checked:after {
    opacity: 1
}

input[type=radio] {
    position: relative;
    top: 2px;
    left: 2px;
    margin: 0 8px;
    cursor: pointer
}

input[type=radio]:before {
    background-color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #5F47B6;
    display: inline-block;
    top: -5px;
    left: -8px;
    background-image: radial-gradient(circle, #5F47B6 60%, #fff 70%);
    background-size: 0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    will-change: background-size;
    z-index: 2
}

input[type=radio]:after {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%
}

input[type=radio]:checked:before {
    background-size: 14px 14px
}

/* ============ BUTTON =========== */

.chic-button {
    margin-top: 20px;
    padding: 10px 0;
    float: right;
    background: #474745;
    border-radius: 3px;
    color: #fff;
    border: 1px solid #474745;
    font-weight: 400;
    width: 100%;
}

.chic-button:hover {
    background-color: #30302E;
    border: 1px solid #30302E;
}

/* EN SON EKLENEN CSSLER */

/* ============ MODAL =========== */

.modal-body {
    position: relative;
    padding: 0px;
}

.modal-content {
    position: relative;
    background-color: transparent;
    -webkit-background-clip: padding-box;
    border: 1px solid transparent;
    border: 0px solid rgba(0, 0, 0, .2);
    border-radius: 0px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .0);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .0);
}

.modal-header {
    background-color: #E34540;
    padding: 10px;
    border: none;
    display: block;
}

.modal-dialog {
    width: 460px;
    margin: 90px auto;
}

button.close {
    color: #fff;
    outline: none;
}

.close {
    color: #fff;
    opacity: 0.6;
}

.close:hover {
    color: #fff;
    opacity: 0.8;
}

.modal-header .close {
    margin-top: -35px;
}