/* TODO facelift-2016 */
.checkbox.text-small {
    margin-top: 3px;
    margin-bottom: 3px;
}

.checkbox.text-small label {
    font-size: 12px;
    line-height: 1.9em;
}


.form-group .errorMessage {
    color: #a94442;
}

/* to fit the designs we stretch the component */
.kd-dropdown,
.kd-dropdown button {
    width: 100%;
}

.kd-dropdown .dropdown-menu {
    min-width: 100%;
}

.kd-dropdown .dropdown-menu .checkbox {
    padding: 0 20px;
}


/* Old content */
/* forms */
#formphase {
    position: relative;
    margin: 0 0 15px 0;
}

#formphase hr {
    background-color: #737373;
    margin: 16px 15px;
    position: absolute;
    width: 115px;
    height: 1px;
}

#formphase li {
    background-color: #737373;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    color: #fff;
    display: inline-block;
    font-family: 'Lobster13Regular';
    font-size: 1.6em;
    line-height: 30px;
    height: 30px;
    width: 30px;
    margin: 0 20px 0 0;
    text-align: center;
    position: relative;
}

#formphase li.active {
    background: rgb(25, 151, 247);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzE5OTdmNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMjdmZTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(25, 151, 247, 1) 0%, rgba(2, 127, 224, 1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(25, 151, 247, 1)), color-stop(100%, rgba(2, 127, 224, 1)));
    background: -webkit-linear-gradient(top, rgba(25, 151, 247, 1) 0%, rgba(2, 127, 224, 1) 100%);
    background: -o-linear-gradient(top, rgba(25, 151, 247, 1) 0%, rgba(2, 127, 224, 1) 100%);
    background: -ms-linear-gradient(top, rgba(25, 151, 247, 1) 0%, rgba(2, 127, 224, 1) 100%);
    background: linear-gradient(to bottom, rgba(25, 151, 247, 1) 0%, rgba(2, 127, 224, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1997f7', endColorstr='#027fe0', GradientType=0);
    -moz-box-shadow: inset 0px 2px 4px -2px rgba(255, 255, 255, 0.5);
    -webkit-box-shadow: inset 0px 2px 4px -2px rgba(255, 255, 255, 0.5);
    box-shadow: inset 0px 2px 4px -2px rgba(255, 255, 255, 0.5);
}

#profile-edit #eye_color,
#profile-edit #hair_color {
    display: block;
}

#profile-edit .btn-group#eye_color > label, #profile-edit .btn-group#hair_color > label, #seek-edit .btn-group#eye_color > label, #seek-edit .btn-group#hair_color > label {
    min-width: 67px !important;
    text-align: left !important;
}

p.help-block {
    line-height: 1.2;
    font-size: 12px;
}

.profile_create .submit > button {
    width: 100%;
    margin-bottom: 5px;
}


select.dateSelect {
    display: inline-block;
    width: auto;
}

.kd_range {
    display: inline-block;
    margin-right: 2%;
    vertical-align: middle;
}

.kd_steps {
    display: inline-block;
    width: 69px;
    height: 50px;
    background: url(/img/steps.png) no-repeat 0 0;
}

.kd_steps > .value {
    background: url(/img/steps.png) no-repeat 0 -50px;
    width: 0;
    height: 100%;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

.kd_steps > .value.one {
    width: 12px;
}

.kd_steps > .value.two {
    width: 26px;
}

.kd_steps > .value.three {
    width: 42px;
}

.kd_steps > .value.four {
    width: 56px;
}

.kd_steps > .value.five {
    width: 69px;
}

/**
 * Vertically tabbed forms
 **/
.tabbed-form-container {
    margin-top: 20px;
    position: relative;
}

.tabbed-form-container .accordion-group {
    border: none;
    margin-bottom: 0;
}

.tabbed-form-container .tab {
    display: block;
    border-bottom: solid 1px #ccc;
}

.tabbed-form-container .tab h2 {
    display: block;
    padding: 20px;
    margin: 0;
    text-shadow: 1px 1px white;
}

.tabbed-form-container .tab h2 .collapse-icon {
    float: right;
    margin-top: 10px;
}

.tabbed-form-container .tab.active {
    z-index: 10;
    position: relative;
    border-top: solid 1px #ccc;
    border-right: solid 1px white;
    padding-left: 1px; /* to hide the right border of the form container */
}

.tabbed-form-container .tab.active,
.tabbed-form-container .tab:hover {
    background: #fff;
}

.tabbed-form-container .inactive {
    border-top: solid 1px #f3f3f3; /* so that tab size is same as active tab size */
    background: #f3f3f3;
    border-right: solid 1px #ddd;
}

@media (max-width: 767px) {
    .tabbed-form-container .tab.active {
        margin-bottom: 20px;
        border-bottom: none;
    }

    /* Remove animation from mobile phones because it's just too slow */
    /* there still has to be a transition because we need transition end event. */
    .tabbed-form-container .collapse {
        -webkit-transition: height 1ms;
        -moz-transition: height 1ms;
        -ms-transition: height 1ms;
        -o-transition: height 1ms;
        transition: height 1ms;
    }
}

/* Apply tab styles for the form sections when width is large enough. */
@media (min-width: 767px) {
    .tabbed-form-container .accordion-group {
        float: left;
        clear: both;
        width: 100%;
    }

    .tabbed-form-container .tab {
        display: block;
        border-bottom: dotted 2px #ccc;
        max-width: 30%;
    }

    /**
     * Absolutely positioned, because we need to have dom elements
     * at a certain order so that the layout turns into an accordion for
     * mobile browsers.
     */
    .tabbed-form-container .collapse {
        position: absolute;
        left: 30%;
        top: 0;
        padding: 5% 4% 1% 1%;
        width: 65%;
        background: white;
        border: solid 1px #DDD;
    }

    /* force height to prevent the box from jumping about */
    .tabbed-form-container .collapse.in {
        height: 95% !important;
    }

    .tabbed-form-container .collapse {
        visibility: hidden;
        opacity: 0;
        filter: alpha(opacity=0);
        -webkit-transition: opacity 0.35s ease;
        -moz-transition: opacity 0.35s ease;
        -ms-transition: opacity 0.35s ease;
        -o-transition: opacity 0.35s ease;
        transition: opacity 0.35s ease;
    }
}

.tabbed-form-container .collapse.in {
    visibility: visible;
    opacity: 1;
    filter: alpha(opacity=100);
}

/************* ACCOUNT EDIT **********************/

.account_edit .profile-column {
    padding-right: 10px;
}

.account_edit #sliderForMessaging label {
    display: none;
}

.account_edit #sliderForMessaging .controls, .account_edit #sliderForMessaging .control-group {
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}

.account_edit #edit-account.profile-column {
    text-align: center;
}


/************** IE10 fixes ***************/

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    textarea, select {
        min-height: 30px;
        padding: 0px 8px 0 8px;
        line-height: 30px;
    }
}


