﻿$zebradatepicker--bg-color: #444;
$zebradatepicker__cell--border-color: #ccc;
$zebradatepicker__cell--bg-color: #eee;
$zebradatepicker__cell--bg-color--hover: #777;
$zebradatepicker__header-cell--bg-color: #416d30;
$zebradatepicker__header-cell--color: #fff;
$zebradatepicker__cell-current--bg-color: lighten(#416d30, 50);
$zebradatepicker__cell-selected--bg-color: #416d30;
$zebradatepicker--color: #444;

.Zebra_DatePicker *,
.Zebra_DatePicker *:after,
.Zebra_DatePicker *:before {
    box-sizing: content-box !important;
}

.Zebra_DatePicker {
    font-size: 12px;
    position: absolute;
    z-index: 1200;
    top: 0;
    border: 5px solid $zebradatepicker--bg-color;
    background: $zebradatepicker--bg-color;
}

    .Zebra_DatePicker * {
        margin: 0;
        padding: 0;
        color: $zebradatepicker--color;
        border: none;
        background: transparent;
    }

    /* = GLOBALS
                ----------------------------------------------------------------------------------------------------------------------*/
    .Zebra_DatePicker table {
        width: auto;
        table-layout: auto;
        border-spacing: 0;
        border-collapse: collapse;
    }

    .Zebra_DatePicker td,
    .Zebra_DatePicker th {
        padding: 5px 0;
        text-align: center;
    }

    .Zebra_DatePicker td {
        cursor: pointer;
    }

    .Zebra_DatePicker .dp_daypicker,
    .Zebra_DatePicker .dp_monthpicker,
    .Zebra_DatePicker .dp_yearpicker {
        margin-top: 3px;
    }

        .Zebra_DatePicker .dp_daypicker td,
        .Zebra_DatePicker .dp_daypicker th,
        .Zebra_DatePicker .dp_monthpicker td,
        .Zebra_DatePicker .dp_yearpicker td {
            width: 30px;
            border: 1px solid $zebradatepicker__cell--border-color;
            background: $zebradatepicker__cell--bg-color;
        }

    .Zebra_DatePicker,
    .Zebra_DatePicker .dp_header .dp_hover,
    .Zebra_DatePicker .dp_footer .dp_hover {
    }

        /* = VISIBLE/HIDDEN STATES (USE TRANSITIONS FOR EFFECTS)
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker.dp_visible {
            visibility: visible;
            transition: opacity .2s ease-in-out;
            opacity: 1;
        }

        .Zebra_DatePicker.dp_hidden {
            visibility: hidden;
            opacity: 0;
        }

        /* = HEADER
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker .dp_header td {
            color: #fff;
        }

        .Zebra_DatePicker .dp_header .dp_previous,
        .Zebra_DatePicker .dp_header .dp_next {
            width: 30px;
        }

        .Zebra_DatePicker .dp_header .dp_caption {
            font-weight: bold;
        }

        .Zebra_DatePicker .dp_header .dp_hover {
            color: #fff;
            background: $zebradatepicker__cell--bg-color--hover;
        }

        /* = DATEPICKER
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker .dp_daypicker th {
            color: $zebradatepicker__header-cell--color;
            background: $zebradatepicker__header-cell--bg-color;
        }

        .Zebra_DatePicker td.dp_not_in_month {
            cursor: default;
            color: lighten($zebradatepicker--color, 50);
            background: lighten($zebradatepicker__cell--bg-color, 10);
        }

        .Zebra_DatePicker td.dp_not_in_month_selectable {
            cursor: pointer;
            color: lighten($zebradatepicker--color, 50);
            background: lighten($zebradatepicker__cell--bg-color, 10);
        }

        .Zebra_DatePicker td.dp_weekend {
            background: darken($zebradatepicker__cell--bg-color, 10);
        }

        .Zebra_DatePicker td.dp_weekend_disabled {
            cursor: default;
            color: lighten($zebradatepicker--color, 50);
        }

        .Zebra_DatePicker td.dp_selected {
            color: #fff !important;
            background: $zebradatepicker__cell-selected--bg-color;
        }

        .Zebra_DatePicker td.dp_week_number {
            font-style: italic;
            cursor: text;
            color: $zebradatepicker__header-cell--color;
            background: $zebradatepicker__header-cell--bg-color;
        }

        /* = MONTHPICKER
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker .dp_monthpicker td {
            width: 33%;
        }

        /* = YEARPICKER
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker .dp_yearpicker td {
            width: 33%;
        }

        /* = FOOTER
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker .dp_footer {
            margin-top: 3px;
        }

            .Zebra_DatePicker .dp_footer .dp_hover {
                color: #fff;
                background: $zebradatepicker__cell--bg-color--hover;
            }

        /* = SELECT CURRENT DAY
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker .dp_today {
            padding: 3px;
            color: #fff;
        }

        /* = CLEAR DATE
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker .dp_clear {
            padding: 3px;
            color: #fff;
        }

        /* = SOME MORE GLOBALS (MUST BE LAST IN ORDER TO OVERWRITE PREVIOUS PROPERTIES)
                ----------------------------------------------------------------------------------------------------------------------*/
        .Zebra_DatePicker td.dp_current {
            background: $zebradatepicker__cell-current--bg-color;
        }

        .Zebra_DatePicker td.dp_disabled_current {
            background: $zebradatepicker__cell-current--bg-color;
        }

        .Zebra_DatePicker td.dp_disabled {
            cursor: default;
            color: lighten($zebradatepicker--color, 50);
            background: lighten($zebradatepicker__cell--bg-color, 10);
        }

        .Zebra_DatePicker td.dp_hover {
            color: #fff;
            background: $zebradatepicker__cell--bg-color--hover;
        }

/* = ICON
                ----------------------------------------------------------------------------------------------------------------------*/
button.Zebra_DatePicker_Icon {
    line-height: 0;
    position: absolute;
    display: block;
    width: 16px;
    height: 16px;
    padding: 0;
    cursor: pointer;
    vertical-align: top;
    text-indent: -9000px;
    border: none;
    background: url('calendar.png') no-repeat left top;
}

button.Zebra_DatePicker_Icon_Disabled {
    background-image: url('calendar-disabled.png');
}

/* don't set vertical margins! */
button.Zebra_DatePicker_Icon {
    margin: 0 0 0 3px;
}

button.Zebra_DatePicker_Icon_Inside {
    margin: 0 3px 0 0;
}

body {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
    background: rgba(0, 0, 0, 0.76);
}

a {
    text-decoration: none !important;
}

h1,
h2,
h3 {
    font-family: 'Kaushan Script', cursive;
}

.myform {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    padding: 1rem;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 1.1rem;
    outline: 0;
    max-width: 500px;
}

.tx-tfm {
    text-transform: uppercase;
}

.mybtn {
    border-radius: 50px;
}

.login-or {
    position: relative;
    color: #aaa;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.span-or {
    display: block;
    position: absolute;
    left: 50%;
    top: -2px;
    margin-left: -25px;
    background-color: #fff;
    width: 50px;
    text-align: center;
}

.hr-or {
    height: 1px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.google {
    color: #666;
    width: 100%;
    height: 40px;
    text-align: center;
    outline: none;
    border: 1px solid lightgrey;
}

form .error {
    color: #ff0000;
}

#second {
    display: none;
}

.footer {
    /*position: fixed;*/
    font-size: 13px;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: white;
    color: white;
    text-align: center;
    width: 100%;
    padding: 10px 0 0 0;
    background: #202020;
    border-top: 5px solid #e5e5e5;
}

.header {
    overflow: hidden;
    background-color: #f1f1f1;
    padding: 20px 5px;
}

    .header a {
        float: left;
        color: black;
        text-align: center;
        padding: 12px;
        text-decoration: none;
        font-size: 18px;
        line-height: 25px;
        border-radius: 4px;
    }

        .header a.logo {
            font-size: 25px;
            font-weight: bold;
        }

        .header a:hover {
            /*background-color: #ddd;*/
            color: black;
        }

        .header a.active {
            background-color: dodgerblue;
            color: white;
        }


.header-right {
    float: right;
}


.float-label-control {
    position: relative;
    margin-bottom: 1.5em;
}

    .float-label-control ::-webkit-input-placeholder {
        color: transparent;
    }

    .float-label-control :-moz-placeholder {
        color: transparent;
    }

    .float-label-control ::-moz-placeholder {
        color: transparent;
    }

    .float-label-control :-ms-input-placeholder {
        color: transparent;
    }

    .float-label-control input:-webkit-autofill,
    .float-label-control textarea:-webkit-autofill {
        background-color: transparent !important;
        -webkit-box-shadow: 0 0 0 1000px white inset !important;
        -moz-box-shadow: 0 0 0 1000px white inset !important;
        box-shadow: 0 0 0 1000px white inset !important;
    }

    .float-label-control input,
    .float-label-control textarea,
    .float-label-control label {
        font-size: 1.3em;
        box-shadow: none;
        -webkit-box-shadow: none;
    }

        .float-label-control input:focus,
        .float-label-control textarea:focus {
            box-shadow: none;
            -webkit-box-shadow: none;
            border-bottom-width: 2px;
            padding-bottom: 0;
        }

        .float-label-control textarea:focus {
            padding-bottom: 4px;
        }

    .float-label-control input,
    .float-label-control textarea {
        display: block;
        width: 100%;
        padding: 0.1em 0em 1px 0em;
        border: none;
        border-radius: 0px;
        border-bottom: 1px solid #aaa;
        outline: none;
        margin: 0px;
        background: none;
    }

    .float-label-control textarea {
        padding: 0.1em 0em 5px 0em;
    }

    .float-label-control label {
        position: absolute;
        font-weight: normal;
        top: -1.0em;
        left: 0.08em;
        color: #aaaaaa;
        z-index: -1;
        font-size: 0.85em;
        -moz-animation: float-labels 300ms none ease-out;
        -webkit-animation: float-labels 300ms none ease-out;
        -o-animation: float-labels 300ms none ease-out;
        -ms-animation: float-labels 300ms none ease-out;
        -khtml-animation: float-labels 300ms none ease-out;
        animation: float-labels 300ms none ease-out;
        /* There is a bug sometimes pausing the animation. This avoids that.*/
        animation-play-state: running !important;
        -webkit-animation-play-state: running !important;
    }

    .float-label-control input.empty + label,
    .float-label-control textarea.empty + label {
        top: 0.1em;
        font-size: 1.5em;
        animation: none;
        -webkit-animation: none;
    }

    .float-label-control input:not(.empty) + label,
    .float-label-control textarea:not(.empty) + label {
        z-index: 1;
    }

    .float-label-control input:not(.empty):focus + label,
    .float-label-control textarea:not(.empty):focus + label {
        color: #aaaaaa;
    }

    .float-label-control.label-bottom label {
        -moz-animation: float-labels-bottom 300ms none ease-out;
        -webkit-animation: float-labels-bottom 300ms none ease-out;
        -o-animation: float-labels-bottom 300ms none ease-out;
        -ms-animation: float-labels-bottom 300ms none ease-out;
        -khtml-animation: float-labels-bottom 300ms none ease-out;
        animation: float-labels-bottom 300ms none ease-out;
    }

    .float-label-control.label-bottom input:not(.empty) + label,
    .float-label-control.label-bottom textarea:not(.empty) + label {
        top: 3em;
    }

.has-error .help-block,
.has-error .control-label,
.has-error .radio,
.has-error .checkbox,
.has-error .radio-inline,
.has-error .checkbox-inline,
.has-error.radio label,
.has-error.checkbox label,
.has-error.radio-inline label,
.has-error.checkbox-inline label {
    color: #e73d4a;
}

.has-error .form-control {
    border-color: #e73d4a;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

    .has-error .form-control:focus {
        border-color: #d71b29;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f2989f;
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f2989f;
    }

.has-error .input-group-addon {
    color: #e73d4a;
    border-color: #e73d4a;
    background-color: #fbe1e3;
}

.has-error .form-control-feedback {
    color: #e73d4a;
}

/***
        Custom icon buttons
        ***/
.icon-btn {
    border-radius: 10px;
    height: 60px;
    min-width: 80px;
    margin: 5px 5px 0 0;
    border: 1px solid #ddd;
    padding: 12px 0px 0px 0px;
    background-color: #fafafa;
    background-image: none;
    filter: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: inline-block;
    color: #646464;
    text-shadow: none;
    text-align: center;
    cursor: pointer;
    position: relative;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

    .icon-btn:hover {
        text-decoration: none;
        border-color: #999;
        color: #444;
        text-shadow: 0 1px 0px white;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

        .icon-btn:hover > .badge {
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -ms-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
            box-shadow: none;
        }

    .icon-btn > div {
        margin-top: 5px;
        margin-bottom: 20px;
        color: #3f444a;
        font-size: 12px;
        font-weight: 300;
    }

    .icon-btn > .badge {
        position: absolute;
        font-size: 11px;
        font-weight: 300;
        top: -5px;
        right: -5px;
        padding: 3px 6px 3px 6px;
        color: white;
        text-shadow: none;
        border-width: 0;
        border-style: solid;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        border-radius: 12px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .icon-btn > i {
        font-size: 18px;
    }

.ie8 .icon-btn:hover {
    filter: none;
}
