/* --------------------------------
Primary style
-------------------------------- */
*, *::after, *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: #2c97de;
    text-decoration: none;
}
/* --------------------------------
Form
-------------------------------- */
.cd-form {
}

.cd-form::after {
    clear: both;
    content: "";
    display: table;
}

.cd-form fieldset {
    margin: 24px 0;
}

.cd-form legend {
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 1px solid #ecf0f1;
}

.cd-form div {
    /* form element wrapper */
    position: relative;
    margin: 20px 0;
}

.cd-form .file-input, #cd-subject,
.cd-form h4, .cd-form .cd-label {
    font-family: Oswald-Light;
    font-size: 18px;
    color: #666666;
    margin-bottom: 10px;
}

.cd-form h4 {
    float: left;
}

.cd-form .cd-label {
    display: block;
}

.cd-form .file-input, #cd-subject,
.cd-form input, .cd-form textarea, .cd-form select, .cd-form label {
    font-family: Oswald-Light;
    font-size: 18px;
    color: #666666;
    font-weight: normal;
}

.cd-form .file-input,
.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select,
.cd-form legend {
    display: block;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    font-family: Oswald-Light;
    font-size: 18px;
    color: #666666;
}

.cd-form .file-input,
.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form textarea,
.cd-form select {
    /* general style for input elements */
    padding: 12px;
    border: 1px solid #dddddd;
    background-color: #ffffff !important;
    border-radius: 0;
}

.cd-form input[type="text"]:focus,
.cd-form input[type="email"]:focus,
.cd-form textarea:focus,
.cd-form select:focus {
    outline: none;
    border-color: #e94b35;
}

#cd-subject {
    /* select element wapper */
    position: relative;
}
.cd-form select {
    cursor: pointer;
}

.cd-form select::-ms-expand {
    display: none;
}

.cd-form .cd-form-list {
    margin-top: 16px;
}

.cd-form .cd-form-list::after {
    clear: both;
    content: "";
    display: table;
}

.cd-form .cd-form-list li {
    /* wrapper for radio and checkbox input types */
    display: inline-block;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0 26px 16px 0;
    float: left;
}

.cd-form input[type=radio],
.cd-form input[type=checkbox] {
    /* hide original check and radio buttons */
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    opacity: 0;
    z-index: 2;
}

.cd-form input[type="radio"] + label,
.cd-form input[type="checkbox"] + label {
    padding-left: 24px;
}

.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
    /* custom radio and check boxes */
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -8px;
    width: 16px;
    height: 16px;
}

.cd-form input[type="radio"] + label::before,
.cd-form input[type="checkbox"] + label::before {
    border: 1px solid #cfd9db;
    background: #ffffff;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}

.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after {
    border-radius: 50%;
}

.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
    border-radius: .25em;
}

.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::after {
    background-color: #2c97de;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 0 5px rgba(44, 151, 222, 0.4);
    display: none;
}

.cd-form input[type="radio"] + label::after {
    /* custom image for radio button */
    background-image: url("/images/checkbox.png");
    background-position: 0 -18px;
}

.cd-form input[type="checkbox"] + label::after {
    /* custom image for checkbox */
    background-image: url("/images/cd-icon-check.svg");
}

.cd-form input[type="radio"]:focus + label::before,
.cd-form input[type="checkbox"]:focus + label::before {
    /* add focus effect for radio and check buttons */
    box-shadow: 0 0 5px rgba(44, 151, 222, 0.6);
}

.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::after {
    display: block;
}

.cd-form input[type="radio"]:checked + label::before,
.cd-form input[type="radio"]:checked + label::after,
.cd-form input[type="checkbox"]:checked + label::before,
.cd-form input[type="checkbox"]:checked + label::after {
    -webkit-animation: cd-bounce 0.3s;
    -moz-animation: cd-bounce 0.3s;
    animation: cd-bounce 0.3s;
}

.cd-form textarea {
    min-height: 200px;
    resize: vertical;
    overflow: auto;
}

.cd-form input[type="submit"] {
    /* button style */
    border: none;
    border-radius: 0;
    padding: 13px 35px;
    font-family: Oswald-Light;
    font-size: 16px;
    float: none;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

.cd-form input[type="submit"]:focus {
    outline: none;
    background: #84bd7e;
}

.cd-form input[type="submit"]:active {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.cd-form .error-message {
    display: none;
}

.cd-form .error-message p {
    background: #e94b35;
    color: #ffffff;
    font-size: 1.4rem;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: 0;
    padding: 16px;
}

.cd-form .error {
    border-color: #e94b35 !important;
}

@media only screen and (min-width: 600px) {
    .cd-form div {
        /* form element wrapper */
        margin: 32px 0;
    }

    .cd-form legend + div {
        /* reduce margin-top for first form element after the legend */
        margin-top: 20px;
    }

    .cd-form h4, .cd-form .cd-label {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .cd-form .file-input,
    .cd-form input[type="text"],
    .cd-form input[type="email"],
    .cd-form textarea,
    .cd-form select {
        padding: 16px;
    }
}

@-webkit-keyframes cd-bounce {
    0%, 100% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(0.8);
    }
}

@-moz-keyframes cd-bounce {
    0%, 100% {
        -moz-transform: scale(1);
    }

    50% {
        -moz-transform: scale(0.8);
    }
}

@keyframes cd-bounce {
    0%, 100% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
        transform: scale(0.8);
    }
}
/* --------------------------------
Custom icons
-------------------------------- */
.cd-form .icon input, .cd-form .icon select, .cd-form .icon textarea {
    padding-left: 54px !important;
}

.cd-form .icon i {
    font-size: 22px;
    position: absolute;
    left: 20px;
    top: 17px;
}
/* --------------------------------
FLoating labels
-------------------------------- */
.floating-labels div {
    margin: 0 0 28px;
}

.floating-labels .cd-label {
    font-weight: normal;
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 18px;
    cursor: text;
    -webkit-transition: top 0.2s, left 0.2s, font-size 0.2s;
    -moz-transition: top 0.2s, left 0.2s, font-size 0.2s;
    transition: top 0.2s, left 0.2s, font-size 0.2s;
}

.floating-labels .icon .cd-label {
    left: 56px;
}

.floating-labels .cd-label.float {
    /* move label out the input field */
    font-size: 1.2rem;
    top: -16px;
    left: 0 !important;
}

@media only screen and (min-width: 600px) {
    .floating-labels legend + div {
        /* reduce margin-top for first form element after the legend */
        margin-top: 16px;
    }

    .floating-labels .cd-label {
        top: 17px;
    }
}

@media(min-width: 320px) {
    .iletisim-input input, #cd-subject {
        max-width: 100%;
    }

    .cd-form input[type="submit"] {
        width: 100%;
    }
}

@media(min-width: 768px) {
    .iletisim-input input, #cd-subject {
        max-width: 70%;
    }

    .cd-form input[type="submit"] {
        width: auto;
    }
}

#isgelistirme {
    display: inline-block;
    width: 100%;
    margin-bottom: 0 !important;
}

#isgelistirme input {
    padding-left: 20px;
    max-width: 100%;
}

.isgelistirme .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.isgelistirme fieldset {
    margin-bottom: 0;
}

.isgelistirme h2 {
    margin-top: 0 !important;
}

.isgelistirme .capthcha {
    margin-top: 0 !important;
}

.isgelistirme .file-input span {
    float: left;
    margin-top: 2px;
    margin-right: 30px;
}

#eklidosya {
    font-size: 14px;
    display: inline-block;
    width: 170px;
}

@media(min-width: 320px) {
    .isgelistirme .row div {
        margin: 0px !important;
    }

    .isgelistirme .row div:first-of-type {
        margin-bottom: 20px !important;
    }
}

@media(min-width: 768px) {
    .isgelistirme .row div:first-of-type {
        margin-bottom: 0px !important;
    }

    .isgelistirme .row div {
        margin: 0px !important;
    }
}

.icon .cd-subject {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent url("/images/cd-icon-arrow.png") no-repeat right 20px center;
}

.kvk-checkbox, .kvk-checkbox label {
    font: 15px 'Oswald-Light';
}

.kvk-checkbox input[type=checkbox] {
    opacity: 1;
}
