/* Zero all basic elements so that it is the same for all browsers */
/* v2.0 | 20110126
  http://meyerweb.com/eric/tools/css/reset/
  License: none (public domain)
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

@font-face {
    font-family: 'AllerRegular';
    src: url('../Font/aller_std_rg-webfont.eot');
    src: url('../Font/aller_std_rg-webfont.eot?#iefix') format('embedded-opentype'), url('../Font/aller_std_rg-webfont.woff') format('woff'), url('../Font/aller_std_rg-webfont.ttf') format('truetype'), url('../Font/aller_std_rg-webfont.svg#AllerRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 10px 0;
    padding: 0;
    background-color: #0E0F11;
    color: #AAAAAA;
    font-family: "AllerRegular";
    font-size: 1em;
    /*-webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;   */
    text-align: left;
    background-size: 100%;
    background-image: url('../Images/bg.jpg');
    background-position: top center;
    background-repeat: repeat-y;
}

a, a:focus, a:visited, a:hover {
    color: #FFFFFF;
    text-decoration: none !important;
}

[hidden] {
    display: none;
}

#Site {
    position: relative;
    width: 810px;
    margin: 0 auto;
    min-height: 100%;
}

#SiteHeader {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 792px;
    height: 100px;
    border-bottom: 1px solid #AAAAAA;
}

#SiteContent {
    position: absolute;
    top: 120px;
    left: 10px;
    width: 792px;
    min-height: 100%;
    margin-bottom: 20px;
    /*padding-bottom: 25px;*/
    /*margin: 0 auto -4em;*/
    /*margin: 0, 0, 10px, 0;*/
}

#SiteFooter {
    height: 4em;
    width: 100%;
    position: absolute;
    bottom: 0;
}

/* Header */
.HeaderLogo {
    height: 90px;
    width: auto;
    position: absolute;
    top: 0;
    left: 0;
}

#headerUser {
    position: absolute;
    top: 75px;
    left: 200px;
}

#SettingsButton {
    position: absolute;
    top: 0;
    right: 130px;
}

#HeaderImage {
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 10px;
}

#LogoutButton {
    position: absolute;
    top: 0;
    right: 0;
}

.HeaderButton {
    width: 126px;
    height: 80px;
    background-color: #1b1f21;
    color: #EDEDED;
    border-style: none;
    border-top-style: solid;
    border-top-color: #838383;
    border-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #131313;
    font-size: 120%;
    text-align: center;
    text-decoration: none !important;
    overflow: hidden;
}

    .HeaderButton:hover {
        background-color: #000000;
    }

    .HeaderButton:active {
        background-color: #000000;
        border-top-color: #131313;
        border-bottom-color: #131313;
    }

    .HeaderButton img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 42px;
        height: 42px;
        position: relative;
        top: 10px;
    }

    .HeaderButton span {
        margin-left: auto;
        margin-right: auto;
        position: relative;
        top: 10px;
    }

#Error {
    color: Red;
    background-color: Black;
}

input {
    background-color: #47484A;
    color: #FFFFFF;
    border: none;
}

select {
    background-color: #47484A;
    color: #FFFFFF;
    border: none;
}

.Button {
    background-color: #333333;
    outline: none !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    border-style: none;
    border-top-style: solid;
    border-top-color: #838383;
    border-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #131313;
    border-radius: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: center;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.Button:hover {
    background-color: #5a5b5d;
    color: #FFFFFF;
}

.Button:active {
    background-color: #5a5b5d;
    color: #FFFFFF;
    border-top-color: #131313;
    border-bottom-color: #131313;
}

.BlackButton {
    background-color: #1b1f21;
    color: #EDEDED;
    border-style: none;
    border-top-style: solid;
    border-top-color: #838383;
    border-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #131313;
    text-decoration: none !important;
    cursor: pointer;
}

    .BlackButton:hover {
        background-color: #000000;
        color: #EDEDED;
    }

    .BlackButton:active {
        background-color: #000000;
        color: #EDEDED;
        border-top-color: #131313;
        border-bottom-color: #131313;
    }

#BackButton {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 4em;
    width: 112px;
    height: 79px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

#PageHeader {
    position: absolute;
    top: 10px;
    left: 130px;
    width: 627px;
}

    #PageHeader h1 {
        font-size: 2em;
        padding: 0;
        margin: 0;
        margin-bottom: 10px;
    }

#Content {
    width: 792px;
    position: absolute;
    top: 150px;
}

#TimeSelector {
    width: 399px;
    height: 40px;
    position: relative;
}

#PrevDay {
    position: absolute;
    top: 0;
    left: 0;
}

#NextDay {
    position: absolute;
    top: 0;
    right: 0;
}

#DateInput {
    position: absolute;
    top: 0;
    left: 33px;
    height: 40px;
    width: 332px;
    background-color: #000000;
    color: #FFFFFF;
    font-size: 2em;
}

#DateInputText {
    position: absolute;
    top: 3px;
    left: 25px;
}

.DaySelectButtonText {
    position: absolute;
    top: -8px;
    left: 8px;
}


.DaySelectButton {
    font-size: 3em;
    height: 40px;
    width: 33px;
}

.DateSelectDisabled {
    color: gray;
    cursor: default;
}

.ResultSuccess {
    color: #b2d474;
}

.ResultFail {
    color: Red;
}

/* Buttons */
.ButtonNormal {
    background-color: #27282A;
    border-width: 1px;
    border-style: outset;
    border-color: #47484A;
    color: #EDEDED;
}

.ButtonBlack {
    background-color: #1b1f21;
    color: #EDEDED;
    border-style: outset;
    border-width: 1px;
    border-color: #3b3f41;
}

button[type=submit]:hover {
    background-color: #5a5b5d;
}

input[type=submit]:hover {
    background-color: #5a5b5d;
}

.ButtonNormal:hover {
    background-color: #5a5b5d;
}

.ButtonBlack:hover {
    background-color: #5a5b5d;
}

.ButtonNormal:active {
    border-style: inset;
}

.ButtonBlack:active {
    border-style: inset;
}

button[type=submit]:active {
    border-style: inset;
}

input[type=submit]:active {
    border-style: inset;
}

/* Textbox */
.TextBox {
    background-color: #3E4041;
    border-width: 1px;
    border-style: outset;
    border-color: #5E6061;
    color: #EDEDED;
}

.DayNavigationButton {
    width: 20px;
    float: left;
}

/* Buttons */
button {
    background-color: #333333;
    color: #FFFFFF;
    border-style: none;
    border-top-style: solid;
    border-top-color: #838383;
    border-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #131313;
}

/* End Buttons */

.HeaderButton a:link {
    color: #EDEDED;
    text-decoration: none;
}

.HeaderButton a:visited {
    color: #EDEDED;
}

.LogoutImage {
    display: block;
    position: absolute;
    left: 35px;
    top: 10px;
}

.ui-widget-overlay {
    /* Set position to fixed to remove scrollbars when showing a dialog */
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    background: none;
    background-color: transparent;
}

.ui-widget-content {
    background: none;
    background-color: #000000;
}

.ui-timepicker-div .ui-widget-header {
    margin-bottom: 8px;
}

.ui-timepicker-div dl {
    text-align: left;
}

    .ui-timepicker-div dl dt {
        height: 25px;
        margin-bottom: -25px;
    }

    .ui-timepicker-div dl dd {
        margin: 0 10px 10px 65px;
    }

.ui-timepicker-div td {
    font-size: 90%;
}

.ui-tpicker-grid-label {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
}

.ui-datepicker-current {
    display: none;
}

hr {
    background-color: #AAAAAA;
    border-width: 0;
    border-style: solid;
    border-top-width: 1px;
}

h1 {
    color: #b2d474;
    font-size: 200%;
}

select {
    height: 30px;
    color: #FFFFFF;
    background-color: #47484A;
    font-size: 150%;
    margin-bottom: 10px;
    margin-top: 5px;
}

#feedback {
    font-size: 1.4em;
}

.ui-selecting {
    background: #0972a5;
}

.ui-selected {
    background: #0972a5;
    color: white;
}

.register-error {
    color: red;
}

div.vertical-spacer-50 {
    margin:0;
    padding:0;
    height: 50px;
}

div.vertical-spacer-10 {
    margin:0;
    padding:0;
    height: 10px;
}

.button-large {
    padding: 16px 28px;
    font-size: 26px;
}

/* TODO: Kontrollera ifall det här fungerar korrekt utan den här CSS */
/*.register-help-block.help-block {
    display: none;
}*/

.has-error .register-help-block.help-block {
    display: block;
}

.ui-dialog-titlebar-close {
    visibility: hidden;
}

.ui-button {
    padding: .4em 1em;
}

.m-progress {
    position: relative;
    opacity: .8;
    color: transparent;
}

    .m-progress:hover,
    .m-progress:active,
    .m-progress:focus {
        cursor: default;
        color: transparent;
        outline: none !important;
        box-shadow: none;
    }

    .m-progress:before {
        content: '';
        display: inline-block;
        position: absolute;
        background: transparent;
        border: 1px solid #fff;
        border-top-color: transparent;
        border-bottom-color: transparent;
        border-radius: 50%;
        box-sizing: border-box;
        top: 50%;
        left: 50%;
        margin-top: -12px;
        margin-left: -12px;
        width: 24px;
        height: 24px;
        -webkit-animation: ld 1s ease-in-out infinite;
        -moz-animation: ld 1s ease-in-out infinite;
        -o-animation: ld 1s ease-in-out infinite;
        animation: ld 1s ease-in-out infinite;
    }


.password-result {
    font-size: 2em;
    padding-top: 10px;
}

.text-white {
    color: #FFFFFF;
}