﻿/* ********************************************* */
/* Tables */

table.styled {
    width: 100%;
    border-collapse: separate;
}

#content .box.with-table .content {
    padding: 0;
}

.DTTT_print_info {
    z-index: 999;
}

.paginate_button {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}

    .paginate_button.previous, .paginate_button.next {
        display: none;
    }

.with-prev-next .paginate_button.previous, .with-prev-next .paginate_button.next {
    display: inline;
}

.paginate_button, .paginate_active {
    padding: 3px 7px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.paginate_button, .paginate_active {
    border-top: 1px solid #c1c1c1;
    border-bottom: 1px solid #c1c1c1;
    border-right: 1px solid #c1c1c1;
    border-left: 0px solid #c1c1c1;
    background: url('../gfx/elements/table/pagination/normal.png') repeat-x #dfdfdf;
}

.paginate_active {
    background: url('../gfx/elements/table/pagination/active.png') repeat-x #394353;
    border-color: #101a2a;
}

.paginate_button:hover {
    background: url('../gfx/elements/table/pagination/hover.png') repeat-x #1c68c0;
    border-left-width: 1px;
    border-color: #13447d;
    margin-left: -1px;
    cursor: pointer;
}

.paginate_button_disabled, .paginate_button_disabled:hover {
    background: url('../gfx/elements/table/pagination/disabled.png') repeat-x #dfdfdf;
    border-color: #c1c1c1;
    cursor: default;
}

.paginate_button:not(.paginate_button_disabled):hover:active {
    border-color: #13447d;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.59);
    background: #175093;
}

.paginate_button.first {
    border-left-width: 1px;
    border-radius: 2px 0 0 2px;
}

.paginate_button.last {
    border-radius: 0 2px 2px 0;
}

.DTTT_container {
    display: inline;
}

.DTTT_button embed {
    outline: none;
}

.DTTT_container a {
    position: relative;
}

.DTTT_print_info {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 150px;
    margin-left: -200px;
    margin-top: -75px;
    text-align: center;
    color: #333;
    padding: 10px 30px;
    background: #ffffff; /* Old browsers */
    background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
    background: -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
    background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
    background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
    background: linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-9 */
    opacity: 0.95;
    border: 1px solid black;
    border: 1px solid rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
    -ms-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
}

    .DTTT_print_info h6 {
        font-weight: normal;
        font-size: 28px;
        line-height: 28px;
        margin: 1em;
    }

    .DTTT_print_info p {
        font-size: 14px;
        line-height: 20px;
    }

table.styled.full, .dataTables_wrapper.full {
    display: inline;
    float: left;
    margin-top: -15px;
    width: 100%;
}

    table.styled.full > table, .dataTables_wrapper.full > table {
        margin-bottom: 30px;
    }

    table.styled.full .footer, .dataTables_wrapper.full .footer {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -15px;
    }

    table.styled.full tbody tr:last-child td, .dataTables_wrapper.full tbody tr:last-child td {
        border-bottom: 1px solid #cfcfcf !important;
    }

    table.styled.full td:first-child, .dataTables_wrapper.full td:first-child,
    table.styled.full th:first-child, .dataTables_wrapper.full th:first-child {
        border-left: none;
    }

    table.styled.full td:last-child, .dataTables_wrapper.full td:last-child,
    table.styled.full th:last-child, .dataTables_wrapper.full th:last-child {
        border-right: none;
    }

/* ********************************************* */
/* Breadcrumb */

ul.breadcrumb:before, ul.breadcrumb:after {
    display: table;
    content: '';
}

ul.breadcrumb:after {
    clear: both;
}

ul.breadcrumb {
    margin: 5px 0;
    padding: 0;
    border: 1px solid #11100d;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

    ul.breadcrumb li {
        display: inline;
        float: left;
    }

        ul.breadcrumb li a {
            position: relative;
            display: block;
            padding: 5px 16px;
            padding-left: 24px;
            background: url('../gfx/elements/breadcrumb/bg.png') repeat-x #273446;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.32);
        }

        ul.breadcrumb li:first-child a {
            padding-left: 16px;
            border-top-left-radius: 3px;
            border-bottom-left-radius: 3px;
        }

        ul.breadcrumb li a:hover {
            background: url('../gfx/elements/breadcrumb/bg-hover.png') repeat-x #303e51;
        }

            ul.breadcrumb li a:hover:active {
                background: url('../gfx/elements/breadcrumb/bg-active.png') repeat-x #2a3849;
                box-shadow: none;
            }

        ul.breadcrumb li a:after {
            display: block;
            position: absolute;
            height: 28px;
            width: 16px;
            right: -16px;
            top: -1px;
            content: ' ';
            background: url('../gfx/elements/breadcrumb/divider.png');
            z-index: 1;
        }

        ul.breadcrumb li a:hover:after {
            background: url('../gfx/elements/breadcrumb/divider-hover.png');
        }

        ul.breadcrumb li a:hover:active:after {
            background: url('../gfx/elements/breadcrumb/divider-active.png');
        }

        ul.breadcrumb li:last-child a {
            border-top-right-radius: 3px;
            border-bottom-right-radius: 3px;
        }

            ul.breadcrumb li:last-child a:after {
                display: none;
            }


/* ********************************************* */
/* Top stats */

ul.stats {
    display: table;
    table-layout: fixed;
    margin: 0;
    margin-top: -15px;
    padding: 22px 15px 24px;
    width: 100%;
    background: url('../gfx/elements/stats/bg.png') repeat-x #3a4454;
    border-bottom: 1px solid #08192e;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

    ul.stats li {
        display: table-cell;
    }

        ul.stats li strong, ul.stats li small, ul.stats li span {
            display: block;
            text-align: center;
        }

.wizard button {
    width: 122px;
}
/* ********************************************* */
/* jQuery UI styling */

#content > .placeholder {
    display: block;
    float: left;
    margin: 0 0.5%;
    border-radius: 2px;
    background-color: #dddddd;
    border: 1px dashed #aaaaaa;
    box-shadow: inset 0 3px 15px rgba(0,0,0,0.3);
}

#content .ui-sortable-helper {
    display: none;
}

/* Dialog */

.ui-dialog {
    padding: 0;
    border: 1px solid #707070;
    border-radius: 2px;
    box-shadow: 0 0 32px rgba(0,0,0,0.8);
    background: none;
}

    .ui-dialog-titlebar-popUp, .ui-dialog .ui-dialog-titlebar {
        height: 26px;
        padding-top: 10px;
        padding-left: 22px;
        color: White;
        border: none;
        font-size: 18px;
    }

    .ui-dialog .ui-dialog-title {
        float: none;
        margin: 0;
    }

    .ui-dialog .ui-dialog-titlebar-close {
        text-decoration: none;
        font-weight: bold;
        color: #1c456f;
    }

        .ui-dialog .ui-dialog-titlebar-close.ui-state-hover {
            border: 1px solid #5f0808;
            background: url('../gfx/jquery-ui/dialog-titlebar-close-hover.png') repeat-x #6b1717;
            box-shadow: inset 0 1px rgba(255,255,255,0.28);
        }

            .ui-dialog .ui-dialog-titlebar-close.ui-state-hover:active {
                background: #591515;
                box-shadow: inset 0 1px 1px rgba(0,0,0,0.52);
            }

        .ui-dialog .ui-dialog-titlebar-close span {
            background: none;
        }

            .ui-dialog .ui-dialog-titlebar-close span:before {
                content: 'x';
                display: block;
                text-indent: 0;
            }

    .ui-dialog .ui-dialog-content {
        padding: 10px 25px;
        background: #f9f9f9;
        overflow: visible;
        color: #545454;
    }

    .ui-dialog .header.button {
        position: absolute;
        top: -34px;
    }

        .ui-dialog .header.button.right {
            right: 5px;
        }

        .ui-dialog .header.button.left {
            left: 5px;
        }

    .ui-dialog .ui-dialog-content {
        border-radius: 0 0 2px 2px;
    }

    .ui-dialog .actions:before, .ui-dialog .actions:after {
        display: table;
        content: '';
    }

    .ui-dialog .actions:after {
        clear: both;
    }

    .ui-dialog .actions {
        width: 100%;
        position: relative;
        left: -25px;
        bottom: -10px;
        padding: 10px 25px;
        overflow: hidden;
        background: #f0f0f0;
        border-top: 1px solid #d7d7d7;
        border-radius: 0 0 2px 2px;
    }

    .ui-dialog .ui-dialog-buttonpane {
        margin: 0;
        background: #f0f0f0;
        border-top: 1px solid #d7d7d7;
        border-radius: 0 0 2px 2px;
    }

    .ui-dialog .actions .left {
        float: left;
    }

    .ui-dialog .actions .right {
        float: right;
    }

.ui-widget-overlay {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
    background: #ffffaa;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPHJhZGlhbEdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgY3g9IjUwJSIgY3k9IjUwJSIgcj0iNzUlIj4KICAgIDxzdG9wIG9mZnNldD0iMSUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC4zIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC43MyIvPgogIDwvcmFkaWFsR3JhZGllbnQ+CiAgPHJlY3QgeD0iLTUwIiB5PSItNTAiIHdpZHRoPSIxMDEiIGhlaWdodD0iMTAxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -webkit-radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    background: -moz-radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    background: -o-radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    background: -ms-radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    background: radial-gradient(50% 50%, ellipse closest-corner, rgba(0, 0, 0, 0.3) 1%, rgba(0, 0, 0, 0.725) 100%) repeat scroll 0 0 transparent;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto !important;
    height: auto !important;
}


/* Progress Bars */

.ui-progressbar {
    height: 17px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    background: url('../gfx/jquery-ui/progressbar/bg.png');
    overflow: visible;
}

    .ui-progressbar:not(.small) {
        margin: 5px 0;
    }

    .ui-progressbar.blue {
        border: 1px solid #c5c5c5;
    }

    .ui-progressbar .ui-progressbar-value {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.33);
    }

    /* Blue */
    .ui-progressbar.blue .ui-progressbar-value {
        background: url('../gfx/jquery-ui/progressbar/fill-blue.png');
        border: 1px solid #215494;
    }

    .ui-progressbar.blue.animated .ui-progressbar-value {
        background: url('../gfx/jquery-ui/progressbar/fill-blue.gif');
    }

    /* Orange */
    .ui-progressbar.orange .ui-progressbar-value {
        background: url('../gfx/jquery-ui/progressbar/fill-orange.png');
        border: 1px solid #9c562a;
    }

    .ui-progressbar.orange.animated .ui-progressbar-value {
        background: url('../gfx/jquery-ui/progressbar/fill-orange.gif');
    }

    /* Red */
    .ui-progressbar.red .ui-progressbar-value {
        background: url('../gfx/jquery-ui/progressbar/fill-red.png');
        border: 1px solid #a20b0b;
    }

    .ui-progressbar.red.animated .ui-progressbar-value {
        background: url('../gfx/jquery-ui/progressbar/fill-red.gif');
    }

    /* Grey */
    .ui-progressbar.grey .ui-progressbar-value {
        background: url('../gfx/jquery-ui/progressbar/fill-grey.png');
        border: 1px solid #aaaaaa;
    }

    .ui-progressbar.grey.animated .ui-progressbar-value {
        background: url('../gfx/jquery-ui/progressbar/fill-grey.gif');
    }

.progress-title, .progress-value {
    text-align: right;
}

.progress-value {
    font-weight: normal;
    margin-bottom: 5px;
}

    .progress-value + .ui-progressbar, .progress-value + .progess-title {
        margin-top: 5px;
    }

/* Small progress bars */

.ui-progressbar.small {
    height: 10px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255,255,255,0.75), inset 0 1px 2px rgba(0,0,0,0.27);
    background: #d0d5d9;
}

    .ui-progressbar.small .ui-progressbar-value {
        margin: 0;
        height: 8px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.33);
        border-radius: 3px;
    }

        .ui-progressbar.small .ui-progressbar-value.blue {
            border: 1px solid #3474bf;
            background: url('../gfx/jquery-ui/progressbar/fill-blue-small.png') repeat-x #4285d2;
        }

        .ui-progressbar.small .ui-progressbar-value.orange {
            border: 1px solid #bf6b34;
            background: url('../gfx/jquery-ui/progressbar/fill-orange-small.png') repeat-x #e98213;
        }

        .ui-progressbar.small .ui-progressbar-value.red {
            border: 1px solid #bf3434;
            background: url('../gfx/jquery-ui/progressbar/fill-red-small.png') repeat-x #c52727;
        }

/* Accordion */

.box .content .ui-accordion {
    margin: 0 -10px;
    width: auto;
}

.ui-accordion .ui-corner-all, .ui-accordion .ui-corner-top, .ui-accordion .ui-corner-right, .ui-accordion .ui-corner-left, .ui-accordion .ui-corner-bottom, .ui-accordion .ui-corner-tr, .ui-accordion .ui-corner-tl, .ui-accordion .ui-corner-br, .ui-accordion .ui-corner-bl {
    border-radius: 0;
}

.ui-accordion .ui-accordion-header {
    margin-top: 0;
    border: none;
    border-bottom: 1px solid #c0c0c0;
    background: url('../gfx/jquery-ui/accordion-header.png');
}

    .ui-accordion .ui-accordion-header:nth-last-child(2):not(.ui-state-active) {
        border-bottom: 0;
    }

    .ui-accordion .ui-accordion-header.ui-state-active {
        background: url('../gfx/jquery-ui/accordion-header-active.png');
    }

    .ui-accordion .ui-accordion-header.ui-state-hover {
        background: url('../gfx/jquery-ui/accordion-header-hover.png');
    }

        .ui-icon-circlesmall-plus:hover,
        .ui-accordion .ui-accordion-header.ui-state-hover .ui-icon {
            background-image: url('../gfx/external/jquery-ui/ui-icons_888888_256x240.png');
        }

.ui-accordion .ui-accordion-content {
    margin-bottom: 0;
    border: 1px solid #c0c0c0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    top: 0;
}

    .ui-accordion .ui-accordion-content:last-child {
        border-bottom: 0;
    }

.ui-accordion.border {
    border: 1px solid #c0c0c0;
}

/* Datepicker */

.ui-datepicker {
    position: relative;
    padding: 0;
    margin-top: 12px;
    box-shadow: 0 0 9px rgba(0,0,0,0.63);
}

    .ui-datepicker.ui-widget-content {
        background: #fff;
        border-radius: 0 0 3px 3px;
    }

.ui-datepicker-inline {
    box-shadow: none;
}

.ui-datepicker.ui-widget-content {
    border: none;
}


.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev {
    height: 1.7em;
    margin: 0.3em 0;
    left: 5px;
    background: url('../gfx/jquery-ui/datepicker/arrow-left.png') no-repeat 50% 50%;
}

.ui-datepicker .ui-datepicker-prev-hover {
    left: 4px;
    border-color: #0f1c2e;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.19);
}

    .ui-datepicker .ui-datepicker-prev-hover:active {
        background: url('../gfx/jquery-ui/datepicker/arrow-left.png') no-repeat 50% 50% #283343;
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.32);
    }

.ui-datepicker .ui-datepicker-prev .ui-icon {
    display: none;
}


.ui-datepicker .ui-datepicker-next {
    height: 1.7em;
    margin: 0.3em 0;
    right: 5px;
    background: url('../gfx/jquery-ui/datepicker/arrow-right.png') no-repeat 50% 50%;
}

.ui-datepicker .ui-datepicker-next-hover {
    right: 4px;
    border-color: #0f1c2e;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.19);
}

    .ui-datepicker .ui-datepicker-next-hover:active {
        background: url('../gfx/jquery-ui/datepicker/arrow-right.png') no-repeat 50% 50% #283343;
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.32);
    }

.ui-datepicker .ui-datepicker-next .ui-icon {
    display: none;
}


.ui-datepicker .ui-datepicker-title {
    line-height: 2.3em;
}

.ui-datepicker .ui-widget-header {
    background: url('../gfx/jquery-ui/datepicker/header-bg.png') repeat-x #202c3b;
    border: 1px solid #2c3f5b;
    border-radius: 3px 3px 0 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.23);
}

.ui-datepicker:before {
    display: block;
    position: absolute;
    height: 11px;
    width: 18px;
    top: -11px;
    right: 50%;
    margin-right: -9px;
    content: ' ';
    background: url('../gfx/jquery-ui/datepicker/top-arrow.png');
}

.ui-datepicker-inline:before {
    display: none;
}

.ui-datepicker thead tr {
    border: 1px solid #919eb0;
    border-top: none;
    background: url('../gfx/jquery-ui/datepicker/days-of-week-bg.png') repeat-x #cbd3df;
}

.ui-datepicker th {
    padding: 0.3em;
}


.ui-datepicker tbody tr {
    border: 1px solid #919eb0;
    border-top: none;
    border-bottom: none;
}

.ui-datepicker td span, .ui-datepicker td a {
    width: 20px;
    margin: 0 auto;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.ui-datepicker td .ui-state-default {
    background: none;
    border-color: transparent;
    border-radius: 2px;
}

.ui-datepicker td .ui-state-hover {
    border: 1px solid #919ca7;
    background: url('../gfx/jquery-ui/datepicker/day-hover.png') repeat-x #d9e3ec;
}

.ui-datepicker td .ui-state-active {
    border: 1px solid #152235;
    background: url('../gfx/jquery-ui/datepicker/day-current.png') repeat-x #222e3d;
}

.ui-datepicker table, .ui-datepicker .ui-datepicker-buttonpane {
    margin: 0;
}

    .ui-datepicker table tbody tr:last-child td {
        padding-bottom: 4px;
    }


.ui-datepicker .ui-datepicker-buttonpane {
    padding: 0;
    background: transparent;
    border: 1px solid #2c3f5b;
    border-radius: 0 0 3px 3px;
}

    .ui-datepicker .ui-datepicker-buttonpane:after {
        clear: both;
    }

    .ui-datepicker .ui-datepicker-buttonpane:before, .ui-datepicker .ui-datepicker-buttonpane:after {
        content: "";
        display: table;
    }

    .ui-datepicker .ui-datepicker-buttonpane:before, .ui-datepicker .ui-datepicker-buttonpane:after {
        content: "";
        display: table;
    }

    .ui-datepicker .ui-datepicker-buttonpane button {
        position: relative;
        width: 50%;
        margin: 0;
        padding: 0.5em 0;
        background: url('../gfx/jquery-ui/datepicker/button-bg.png') repeat-x #212d3c;
        box-shadow: none;
        border: none;
        border-radius: 0;
        opacity: 1;
    }

        .ui-datepicker .ui-datepicker-buttonpane button:after {
            display: block;
            position: absolute;
            top: 0;
            bottom: 0;
            right: -1px;
            width: 2px;
            content: '';
            background: url('../gfx/jquery-ui/datepicker/button-seperator.png');
        }

        .ui-datepicker .ui-datepicker-buttonpane button:hover {
            background: url('../gfx/jquery-ui/datepicker/button-hover-bg.png') repeat-x #263241;
        }

            .ui-datepicker .ui-datepicker-buttonpane button:hover:active {
                background: #263241;
                box-shadow: inset 0 1px 1px rgba(0,0,0,0.75);
            }

        .ui-datepicker .ui-datepicker-buttonpane button:first-child {
            border-bottom-left-radius: 3px;
        }

        .ui-datepicker .ui-datepicker-buttonpane button:last-child {
            border-bottom-right-radius: 3px;
        }

        .ui-datepicker .ui-datepicker-buttonpane button:first-child:last-child {
            width: 100%;
        }

/* DateTimePicker */

.ui-timepicker-div dl {
    padding: 12px;
    margin: 0;
    border: 1px solid #919eb0;
    border-top: 1px solid #bcc6d5;
    border-bottom: none;
    background: url('../gfx/jquery-ui/datepicker/time-bg.png') repeat-x #dee3e9;
    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;
}

/* Slider */

.ui-slider {
    margin: 5px;
    border: 1px solid #bababa;
}

.ui-slider-horizontal {
    height: 6px;
    background: url('../gfx/jquery-ui/slider/bg.png') repeat-x;
}

.ui-slider-vertical {
    width: 6px;
    background: url('../gfx/jquery-ui/slider/vertical-bg.png') repeat-y;
}

.eq + .ui-slider-vertical {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

.ui-slider .ui-slider-range {
    top: -1px;
    background: url('../gfx/jquery-ui/slider/bg-range.png') repeat-x;
    border: 1px solid #5081c1;
}

.ui-slider-vertical .ui-slider-range {
    left: -1px;
    background: url('../gfx/jquery-ui/slider/vertical-bg-range.png') repeat-y;
}

.ui-slider .ui-slider-range-min {
    top: -1px;
    left: -1px;
    border-radius: 3px 0 0 3px;
}

.ui-slider .ui-slider-range-max {
    top: -1px;
    right: -1px;
    border-radius: 0 3px 3px 0;
}

.ui-slider-vertical .ui-slider-range-min {
    top: auto;
    bottom: -1px;
    left: -1px;
    border-radius: 0 0 3px 3px;
}

.ui-slider-vertical .ui-slider-range-max {
    top: auto;
    bottom: -1px;
    left: -1px;
    border-radius: 3px 3px 0 0;
}

.ui-slider .ui-slider-handle {
    background: url('../gfx/jquery-ui/slider/picker.png');
    border: 0;
    height: 16px;
    width: 17px;
    cursor: pointer;
    top: -5px;
    margin-left: -8px;
}

.ui-slider-vertical .ui-slider-handle {
    background: url('../gfx/jquery-ui/slider/vertical-picker.png');
    height: 17px;
    width: 16px;
    top: auto;
    bottom: -6px;
    margin-left: -1px;
}


.ui-slider.ui-disabled {
    cursor: default;
    border: 1px solid #d5d5d5;
}

.ui-slider-horizontal.ui-disabled {
    background: url('../gfx/jquery-ui/slider/disabled-bg.png') repeat-x;
}

.ui-slider-vertical.ui-disabled {
    background: url('../gfx/jquery-ui/slider/disabled-vertical-bg.png') repeat-y;
}

.ui-slider.ui-disabled .ui-slider-range {
    background: url('../gfx/jquery-ui/slider/disabled-bg-range.png') repeat-x;
    border: 1px solid #bababa;
}

.ui-slider-vertical.ui-disabled .ui-slider-range {
    background: url('../gfx/jquery-ui/slider/disabled-vertical-bg-range.png') repeat-y;
}

.ui-slider.ui-disabled .ui-slider-handle {
    cursor: default;
    background: url('../gfx/jquery-ui/slider/disabled-picker.png');
}

.ui-slider-vertical.ui-disabled .ui-slider-handle {
    cursor: default;
    background: url('../gfx/jquery-ui/slider/disabled-vertical-picker.png');
}

.slider-tooltip {
    position: absolute;
    padding: 2px 8px;
    z-index: 8000;
    left: 18px;
    top: -20px;
    background: url('../gfx/elements/charts/hover-bg.png') repeat-x #e9edf0;
    border: 1px solid #aeaeae;
    border-radius: 3px;
    white-space: nowrap;
}

/* Spinner */

.ui-spinner {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    height: 27px;
}

.ui-spinner-input {
    float: left;
    padding: 5px;
    margin: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.ui-spinner {
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.22);
    border-radius: 3px;
    border: 1px solid #a0a0a0;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

    .ui-spinner.ui-state-active {
        border: 1px solid #5695db;
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.22), 0 0 7px rgba(86,149,219,0.69);
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        -o-transition: all 0.1s ease-in-out;
        -ms-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }

.ui-spinner-button {
    width: 17px;
    height: 10px;
    font-size: .5em;
    padding: 0;
    margin: 0;
    z-index: 1;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    cursor: default;
    display: block;
    overflow: hidden;
    right: 0;
    cursor: pointer;
    border-radius: 0 !important;
}

.ui-spinner a.ui-spinner-button {
    border: none;
}

.ui-spinner .ui-spinner-button.ui-spinner-up {
    background: url('../gfx/elements/spinner/arrow-up.png') 50% 50%;
    height: 12px;
    border-top-right-radius: 3px;
}

    .ui-spinner .ui-spinner-button.ui-spinner-up.ui-state-hover {
        background: url('../gfx/elements/spinner/arrow-up-hover.png') 50% 50%;
    }

    .ui-spinner .ui-spinner-button.ui-spinner-up.ui-state-active {
        background: url('../gfx/elements/spinner/arrow-up-active.png') 50% 50%;
    }

    .ui-spinner .ui-spinner-button.ui-spinner-up .ui-button-text {
        display: none;
    }

.ui-spinner .ui-spinner-button.ui-spinner-down {
    background: url('../gfx/elements/spinner/arrow-down.png') 50% 50%;
    height: 13px;
    border-bottom-right-radius: 3px;
}

    .ui-spinner .ui-spinner-button.ui-spinner-down.ui-state-hover {
        background: url('../gfx/elements/spinner/arrow-down-hover.png') 50% 50%;
    }

    .ui-spinner .ui-spinner-button.ui-spinner-down.ui-state-active {
        background: url('../gfx/elements/spinner/arrow-down-active.png') 50% 50%;
    }

    .ui-spinner .ui-spinner-button.ui-spinner-down .ui-button-text {
        display: none;
    }

/* more specificity required here to overide default borders */
.ui-spinner .ui-icon {
    position: absolute;
    margin-top: -8px;
    top: 50%;
    left: 0;
}

/* vertical centre icon */
.ui-spinner-up {
    top: 0;
}

.ui-spinner-down {
    bottom: 0;
}

/* TR overrides */
div.ui-spinner,
div.ui-state-default.ui-spinner {
    background: #fff;
}

/* Autocomplete */

.ui-autocomplete-input {
    padding: 5px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.22);
    border-radius: 3px;
    border: 1px solid #a0a0a0;
    background-position: 0 center;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

    .ui-autocomplete-input:focus {
        border: 1px solid #5695db;
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.22), 0 0 7px rgba(86,149,219,0.69);
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        -o-transition: all 0.1s ease-in-out;
        -ms-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }

    .ui-autocomplete-input.ui-autocomplete-loading {
        background-position: 6px center;
        background-image: url('../gfx/jquery-ui/loading.gif');
        background-repeat: no-repeat;
        padding-left: 25px;
    }

.ui-menu.ui-autocomplete.ui-widget-content {
    margin-top: 10px;
    padding: 0;
    border-radius: 3px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.12);
}

    .ui-menu.ui-autocomplete.ui-widget-content:before {
        display: block;
        position: absolute;
        height: 9px;
        width: 15px;
        top: -9px;
        left: 50%;
        margin-left: -7.5px;
        background: url('../gfx/elements/autocomplete/arrow.png');
        content: '';
        z-index: -1;
    }

.ui-menu .ui-menu-item a {
    padding: 5px;
    background: url('../gfx/elements/autocomplete/el-bg.png') repeat-x #f4f5f5;
    border-bottom: 1px solid #b4b4b4;
    border-radius: 0;
    cursor: pointer;
}

.ui-menu .ui-menu-item:first-child a {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.ui-menu .ui-menu-item:last-child a {
    border-bottom: 0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

.ui-menu .ui-menu-item a.ui-state-focus {
    background: url('../gfx/elements/autocomplete/el-bg-hover.png') repeat-x #0e64d8;
    border: 1px solid #196288;
    margin: -1px;
    margin-bottom: 0;
}


/* ********************************************* */
/* Lock screen */

#lock-screen {
    display: none; /* Hide initially */
}

    #lock-screen .actions {
        height: 50px;
        width: auto;
        left: 0;
        padding: 0;
        margin: 0 -25px;
    }

#slide_to_unlock {
    position: absolute;
    height: 34px;
    bottom: 5px;
    left: 68px;
    right: 68px;
    padding: 2px 1px;
    padding-right: 2px;
    border: 1px solid #a3acb7;
    border-top-color: #8F8F8F;
    border-radius: 6px;
    box-shadow: 0 1px 0px #CFCFCF inset;
    background: #f0f0f0; /* Old browsers */
    background: -moz-linear-gradient(top, #f0f0f0 0%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0f0f0), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f0f0f0 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f0f0f0 0%,#ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f0f0f0 0%,#ffffff 100%); /* IE10+ */
    background: linear-gradient(top, #f0f0f0 0%,#ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    cursor: default;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

    #slide_to_unlock img {
        z-index: 101;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;
    }

    #slide_to_unlock span {
        position: relative;
        right: -35px;
        top: 3px;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;
        cursor: default;
    }

#lock-screen form {
    display: none;
    padding: 12px 25px;
}

    #lock-screen form input[type=password] {
        width: 189px;
    }


/* ********************************************* */
/* Settings dialog */

.ui-dialog .settings-header {
    position: relative;
    background: url('../gfx/elements/settings/header-bg.png') repeat-x #b2beca;
    border-bottom: 1px solid #97a6b5;
    text-align: left;
    padding: 0;
    z-index: 1005;
}

    .ui-dialog .settings-header .tabs {
        margin: 0;
        padding: 0;
        position: relative;
        overflow: hidden;
    }

        .ui-dialog .settings-header .tabs.disabled:after {
            display: block;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            content: '';
            background: rgba(255,255,255,0.64);
        }

        .ui-dialog .settings-header .tabs li {
            list-style: none;
        }

            .ui-dialog .settings-header .tabs li a {
                float: left;
                position: relative;
                padding: 10px 20px;
                text-decoration: none;
            }

                .ui-dialog .settings-header .tabs li a:hover {
                    background: url('../gfx/elements/settings/header-hover-bg.png') repeat-x #ccd6df;
                }

            .ui-dialog .settings-header .tabs li.current a {
                background: url('../gfx/elements/settings/header-current-bg.png') repeat-x #9ca8b3;
            }

        .ui-dialog .settings-header .tabs:not(.center-elements) li.current:first-child a span:before {
            display: none;
        }

        .ui-dialog .settings-header .tabs li.current a span:before {
            display: block;
            position: absolute;
            content: '';
            left: 0;
            bottom: -4px;
            width: 5px;
            height: 73px;
            background: url('../gfx/elements/settings/seperator-current-left.png') no-repeat;
        }

        .ui-dialog .settings-header .tabs li.current a span:after {
            display: block;
            position: absolute;
            content: '';
            right: 1px;
            bottom: -4px;
            width: 5px;
            height: 73px;
            background: url('../gfx/elements/settings/seperator-current-right.png') no-repeat;
        }

        .ui-dialog .settings-header .tabs li a:after {
            display: block;
            position: absolute;
            content: '';
            top: 0;
            right: 0;
            width: 1px;
            height: 100%;
            background: url('../gfx/elements/settings/seperator.png') repeat-x #98a7b6;
        }

        .ui-dialog .settings-header .tabs li img {
            display: block;
            margin: 0 auto;
        }


#settings {
    position: relative;
    display: none;
    padding: 25px;
    width: 500px;
}

    #settings.with-actions {
        padding-bottom: 0;
    }

    #settings.disabled:after {
        display: block;
        position: absolute;
        content: '';
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 1003;
    }

    /* Settings Action Bar */
    #settings .actions {
        display: block;
        padding: 10px 25px;
        margin: 0 -25px;
        margin-top: 20px;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        width: auto;
        height: auto;
        background: #f0f0f0;
        border-top: 1px solid #d7d7d7;
    }

        #settings .actions .right {
            float: right;
        }

        #settings .actions .hide {
            display: none;
        }

    /* Settings Forms */
    #settings form {
        display: table;
    }

        #settings form p {
            display: table-row;
        }

            #settings form p label, #settings form p input {
                display: table-cell;
                margin-bottom: 10px;
            }

            #settings form p label {
                padding-right: 20px;
                text-align: right;
            }

                #settings form p label.error {
                    z-index: 1;
                }

            #settings form p input.small {
                width: 160px;
            }

            #settings form p input.medium {
                width: 200px;
            }

            #settings form p input.large {
                width: 300px;
            }

    #settings p.divider {
        position: relative;
    }

        #settings p.divider:after {
            display: block;
            position: absolute;
            height: 1px;
            left: 25px;
            right: 25px;
            background: #d0d0d0;
            content: '';
        }

        #settings p.divider + p > * {
            margin-top: 10px;
        }

    /* Password dialog */
    #settings .change_password {
        display: none;
        position: absolute;
        left: 40px;
        right: 40px;
        top: 0;
        background: #F9F9F9;
        border: 1px solid #c6c6c6;
        border-top: 0px;
        box-shadow: 0 0 10px rgba(0,0,0,0.75), inset 0 4px 4px -4px rgba(0,0,0,0.4);
        z-index: 1004;
    }

        #settings .change_password form {
            padding: 20px;
            width: 100%;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            -o-box-sizing: border-box;
        }

            #settings .change_password form p label, #settings .change_password form p input {
                margin: 0;
            }

            #settings .change_password form p label {
                font-weight: bold;
            }

        #settings .change_password .actions {
            width: 100%;
            margin: 0;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            -o-box-sizing: border-box;
        }

            #settings .change_password .actions input {
                margin-left: 10px;
            }


/* ********************************************* */
/* Profile page */

.profile {
    width: 100% !important;
    margin: 0;
    position: relative;
}

#content > .profile:first-child {
    margin-top: -15px;
}

.profile .header:after, .profile .divider {
    display: block;
    width: 98%;
    margin: 0 1%;
    border-bottom: 1px solid #e1e3e5;
    content: "";
}

.profile .divider {
    margin: 15px 1%;
}

.profile .avatar {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    border: 1px solid #c1c1c1;
    border-radius: 2px;
}

    .profile .avatar img, .profile .avatar a {
        display: block;
        padding: 0 10px;
        width: 44px;
    }

    .profile .avatar img {
        padding-top: 10px;
        padding-bottom: 3px;
        box-shadow: 0 2px 1px rgba(0,0,0,0.08);
    }

    .profile .avatar a {
        padding-top: 4px;
        padding-bottom: 4px;
        background: url('../gfx/elements/profile/change-bg.png') repeat-x #e8e8e8;
        border-top: 1px solid #c1c1c1;
        box-shadow: 0 2px 1px rgba(0,0,0,0.08);
        text-align: center;
        text-decoration: none;
    }

        .profile .avatar a:hover {
            background: url('../gfx/elements/profile/change-hover-bg.png') repeat-x #f3f3f3;
        }

            .profile .avatar a:hover:active {
                box-shadow: inset 0 1px 1px rgba(0,0,0,0.21);
                background: url('../gfx/elements/profile/change-active-bg.png') repeat-x #e9e9e9;
            }

.profile .title {
    overflow: hidden;
    width: 100%;
    padding-left: 107px;
    background: url('../gfx/elements/profile/title-bg.png') repeat-x #ecf1f4;
    border-bottom: 1px solid #bcc4d2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

    .profile .title h2, .profile .title h3 {
        float: left;
        padding: 0;
        padding-bottom: 10px;
    }

    .profile .title h2 {
        padding-top: 30px;
    }

    .profile .title h3 {
        padding-left: 10px;
        padding-top: 34px;
    }

.profile ul.info {
    padding-left: 107px;
}

    .profile ul.info li {
        display: inline-block;
        margin-left: 10px;
        padding-left: 15px;
        border-left: 1px solid #d3d9e3;
    }

        .profile ul.info li:first-child {
            margin: 0;
            padding: 0;
            border: 0;
        }

        .profile ul.info li a {
            text-decoration: none;
        }

        .profile ul.info li strong, .profile ul.info li small {
            display: block;
            text-align: left;
        }


.profile .details h2 {
    display: inline-block;
    margin-left: 3px;
}

.profile .details > a {
    display: inline-block;
    float: right;
    margin: 1.25em 0;
    margin-right: 1%;
    text-decoration: none;
}

    .profile .details > a .icon {
        display: inline-block;
        float: left;
        margin: 0 3px;
        height: 16px;
        width: 16px;
        font-size: 12px;
        line-height: 21px;
        margin: 0 6px;
    }

        .profile .details > a .icon.right {
            float: right;
        }

        .profile .details > a .icon:before {
            position: relative;
            top: -2px;
            right: -2px;
        }


.profile section {
    border: 1px solid #c9c9c9;
    border-top-color: #adadad;
    border-radius: 3px;
    box-shadow: 0 1px 0 #ededed inset;
    background: #fff;
}

    .profile section p {
        padding: 0 15px;
    }

.profile table {
    margin: 15px;
}

    .profile table tr > td, .profile table tr > th {
        padding-bottom: 5px;
    }

    .profile table tr:last-child > td, .profile table tr:last-child > th {
        padding-bottom: 0;
    }

    .profile table th {
        text-align: right;
        padding-right: 10px;
        font-weight: normal;
    }

.profile .logs {
    margin: 0;
    padding: 0;
}

    .profile .logs li {
        border-bottom: 1px solid #eff3f6;
        list-style: none;
    }

        .profile .logs li:first-child {
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
        }

        .profile .logs li:last-child {
            border-bottom-left-radius: 3px;
            border-bottom-right-radius: 3px;
        }

        .profile .logs li:hover {
            background: #eff3f6;
        }

        .profile .logs li:first-child:hover {
            box-shadow: 0 1px 0 #ededed inset;
        }

        .profile .logs li:last-child {
            border: 0;
        }

    .profile .logs a {
        display: block;
        padding: 10px;
        text-decoration: none;
    }

    .profile .logs small {
        float: right;
        padding-right: 10px;
        background: url('../gfx/elements/profile/logs-arrow.png') no-repeat;
        background-position: right center;
    }

.profile .right {
    float: right;
}


/* ********************************************* */
/* Alert messages */

.alert {
    position: relative;
    padding: 5px;
    padding-left: 25px;
    margin: 10px 0;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

    .alert.closeEverywhere {
        cursor: pointer;
    }

#content > .alert {
    margin: 5px 1%;
}

/* Alert: close button */
.alert .close {
    position: absolute;
    right: 8px;
    top: 4px;
    padding: 0 5px;
    padding-bottom: 2px;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    border: 1px solid transparent;
    border-radius: 3px;
}


    .alert .close:hover {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
    }


.alert.error .icon {
    display: block;
    position: absolute;
    height: 15px;
    width: 14px;
    left: 5px;
    background: url('../gfx/elements/alert-boxes/error.png');
    content: ' ';
}

.alert.success .icon {
    display: block;
    position: absolute;
    height: 15px;
    width: 14px;
    left: 5px;
    background: url('../gfx/elements/alert-boxes/success.png');
    content: ' ';
}

/* Alert: Warning */
.alert.warning, .alert.warning .close:hover {
    border: 1px solid #966701;
    background: url('../gfx/elements/alert-boxes/bg-warning.png') #e09a01 repeat-x;
}

    .alert.warning .icon {
        display: block;
        position: absolute;
        height: 15px;
        width: 14px;
        left: 5px;
        background: url('../gfx/elements/alert-boxes/warning.png');
        content: ' ';
    }

/* Alert: Information */
.alert.information, .alert.information .close:hover {
    border: 1px solid #10447f;
    background: url('../gfx/elements/alert-boxes/bg-information.png') #2e69af repeat-x;
}

    .alert.information .icon {
        display: block;
        position: absolute;
        height: 15px;
        width: 14px;
        left: 5px;
        background: url('../gfx/elements/alert-boxes/information.png');
        content: ' ';
    }

/* Alert: Note */
.alert.note, .alert.note .close:hover {
    border: 1px solid #959595;
    background: url('../../gfx/elements/alert-boxes/bg-note.png') #cacaca repeat-x;
}

    .alert.note .icon {
        display: block;
        position: absolute;
        height: 15px;
        width: 14px;
        left: 5px;
        background: url('../gfx/elements/alert-boxes/note.png');
        content: ' ';
    }

/* Alert: Special stylings */
.alert.no-margin {
    margin: 5px -11px;
    border-radius: 0;
    border-width: 1px 0;
}

.alert.no-margin-top {
    margin-top: 0;
}

.alert.no-margin-bottom {
    margin-bottom: 0;
}

.alert.top {
    border-radius: 0;
    box-shadow: none;
    border-width: 1px 0;
    margin: -1px -11px 0;
}

.alert.bottom {
    border-radius: 0;
    box-shadow: none;
    border-width: 1px 0;
    margin: 0 -11px -1px;
}


/* ********************************************* */
/* Scroll to Top button */

#gotoTop {
    display: none;
    position: fixed;
    height: 35px;
    width: 34px;
    background: url('../../gfx/elements/to-top/normal.png') no-repeat;
    right: 15px;
    bottom: 15px;
    text-indent: -9999px;
}

    #gotoTop:hover {
        background: url('../../gfx/elements/to-top/hover.png') no-repeat;
    }

        #gotoTop:hover:active {
            background: url('../../gfx/elements/to-top/active.png') no-repeat;
        }


/* ********************************************* */
/* Note element */

.box-note {
    position: relative;
    padding: 30px 0;
    margin-bottom: 25px;
    border: 1px solid #dbdcde;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    background: #fff;
}

    .box-note:after {
        display: block;
        position: absolute;
        width: 99px;
        height: 26px;
        top: -13px;
        left: 50%;
        margin-left: -44.5px;
        background: url('../gfx/elements/note/tape.png');
        content: ' ';
    }

    .box-note p {
        margin: 0;
        padding: 1px 35px;
        line-height: 21px;
        background: url('../gfx/elements/note/bg.png');
    }

        .box-note p:before {
            display: block;
            position: absolute;
            width: 1px;
            top: 0;
            bottom: 0;
            left: 25px;
            background: #f1e9ea;
            content: ' ';
        }

        .box-note p:after {
            display: block;
            position: absolute;
            width: 1px;
            top: 0;
            bottom: 0;
            left: 30px;
            background: #f1e9ea;
            content: ' ';
        }

    .box-note li {
        list-style: none;
        padding: 3px 40px;
        font-size: 12px;
        border-top: 1px solid #e2f1f7;
    }

        .box-note li:last-child {
            border-bottom: 1px solid #e2f1f7;
        }


/* ********************************************* */
/* Wizard */
.wizard .content > * {
    display: none;
}

    .wizard .content > *:first-child, .wizard .content > *:nth-child(2) {
        display: block;
    }

.wizard .steps {
    margin: 0 -5px;
    padding: 0;
    display: block;
    clear: both;
}

    .wizard .steps:after {
        clear: both;
    }

    .wizard .steps:before, .wizard .steps:after {
        content: "";
        display: table;
    }

    .wizard .steps li {
        display: inline;
        float: left;
        /*height: 29px;
        width: 349px;*/
        text-align: center;
        border-top: 1px solid #E1E6EB;
        border-bottom: 1px solid #E1E6EB;
    }

        .wizard .steps li a {
            display: inline;
            float: left;
            position: relative;
            font-size: 14px;
            margin: 0px;
            width: 335px;
            height: 24px;
            padding-top: 5px;
            /*background: url(../../gfx/elements/wizard/bg-normal.png) -9px 0px;*/
            border-left: none;
            text-decoration: none;
        }

        .wizard .steps.three li a {
            width: 223px;
        }

        .wizard .steps li:first-child a:before, .wizard .steps li:last-child a:after {
            width: 0px;
        }

        .wizard .steps li a.current {
            /*background: url(../../gfx/elements/wizard/bg-current.png);*/
            background: #3F729B;
        }

.wizard .Optional, .wizard .placeholder {
    font-style: italic;
    color: #a1a1a1 !important;
    font-size: 12px;
}

.wizardRightSide {
    width: 35%;
    float: left;
/*    padding-top: 11px;*/
}

    .wizardRightSide div {
        padding-bottom: 5px;
    }

.wizard .products, .groupbox {
    padding-top: 8px;
}

    .wizard .products input, .groupbox input{
        border: 0;
        padding: 0;
        margin: 0px 0 15px;
        outline: invert none medium;
        width: 13px;
        height: 13px;
    }

.AddNewUrlImage {
    margin: 5px;
    display: inline;
}

.wizard .steps li:first-child a:after {
    /*display: block;
    content: ' ';
    position: absolute;
    right: -18px;
    top: 0;*/
    /*background: url(../../gfx/elements/wizard/normal_arrow.png);*/
    /*background-repeat: no-repeat;
    z-index: 1;*/
    

}

.wizard .steps li:first-child a.current:after {
    /*background: url(../../gfx/elements/wizard/current_arrow.png);*/
    /*width: 0;
    height: 0;*/
    /*border-top: 14px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 18px solid #3F729B;*/
}

/*
.wizard .steps li:first-child a:before, .wizard .steps li:first-child a.current:before {
    width: 0px;
}
.wizard .steps li a:before {
    display: block;
    content: ' ';
    position: absolute;
    height: 29px;
    width: 9px;
    
    top: 0px;
    background: url(../../gfx/elements/wizard/arrow-before-normal.png);
    background-repeat: no-repeat;
    z-index: 1;
}
/*
.wizard .steps li a.current:before {
    background: url(../../gfx/elements/wizard/arrow-before-current.png);
}*/

.wizard .actions .finish {
    display: none;
}


/* ********************************************* */
/* Pricing Tables */

.pricing {
    display: inline;
    float: left;
    margin: 0 1%;
    margin-bottom: 20px;
    width: 200px;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0,0,0,0.22);
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

    .pricing.featured {
        position: relative;
        top: -5px;
        border: 5px solid #374151;
    }

    .pricing .title {
        padding: 3px;
        border-radius: 3px 3px 0 0;
        text-align: center;
    }

    .pricing.featured .title {
        border-radius: 0;
    }

    .pricing .price {
        padding: 10px 0;
        border-bottom: none;
    }

        .pricing .price .left {
            float: left;
            width: 50%;
        }

        .pricing .price .right {
            float: right;
            width: 50%;
            text-align: center;
        }

        .pricing .price:after {
            clear: both;
        }

        .pricing .price:before, .pricing .price:after {
            content: "";
            display: table;
        }

        .pricing .price:before, .pricing .price:after {
            content: "";
            display: table;
        }

        .pricing .price strong {
            display: block;
            text-align: center;
        }

        .pricing .price small {
            display: block;
            text-align: center;
        }


/* ********************************************* */
/* Messages */

.messages {
    display: inline;
    float: left;
    margin: 0 1%;
}

    .messages .msg {
        margin-bottom: 20px;
    }

    .messages.chat .msg {
        position: relative;
    }

    .messages .left {
        position: absolute;
    }

        .messages .left > img, .messages.chat .msg > img {
            display: block;
            position: absolute;
            padding: 5px;
            right: 0;
            border: 1px solid #bdbdbd;
            border-radius: 3px;
            background: url('../gfx/elements/messages/avatar-bg.png') repeat-x #ececec;
        }

    .messages.chat .msg > img {
        left: 26px;
        right: auto;
    }

    .messages.chat .msg.reply > img {
        right: 26px;
        left: auto;
    }

    .messages .left .buttons {
        margin: 0;
        padding: 0;
        margin: 50px 0 0;
    }

        .messages .left .buttons li {
            float: left;
            list-style: none;
        }

            .messages .left .buttons li a {
                padding: 3px 7px;
                border: 1px solid #c2c2c2;
                border-left: none;
                box-shadow: inset 1px 1px 0 #fff;
                background: url('../gfx/elements/messages/button-bg.png') repeat-x #e4e4e4;
            }

                .messages .left .buttons li a:hover {
                    background: url('../gfx/elements/messages/button-hover-bg.png') repeat-x #f3f3f3;
                }

                    .messages .left .buttons li a:hover:active {
                        background: url('../gfx/elements/messages/button-active-bg.png') repeat-x #ebebeb;
                        box-shadow: inset 0 1px 2px rgba(0,0,0,0.48);
                    }

            .messages .left .buttons li:first-child a {
                border-left: 1px solid #c2c2c2;
                border-radius: 3px 0 0 3px;
            }

            .messages .left .buttons li:last-child a {
                border-radius: 0 3px 3px 0;
            }

        .messages .left .buttons:after {
            clear: both;
        }

        .messages .left .buttons:before, .messages .left .buttons:after {
            content: "";
            display: table;
        }

        .messages .left .buttons:before, .messages .left .buttons:after {
            content: "";
            display: table;
        }

    .messages .content {
        position: relative;
        width: 600px;
        padding: 15px;
        margin-left: 80px;
        border: 1px solid #cccccc;
        border-radius: 3px;
        background: url('../gfx/elements/messages/content-bg.png') repeat-x #f7f7f7;
        box-shadow: 0 2px 3px rgba(0,0,0,0.23);
    }

    .messages.chat .content {
        box-shadow: none;
        background: #fff;
    }

    .messages.chat .reply .content {
        margin-left: 0;
        margin-right: 80px;
    }

    .messages .msg.small .content, .messages.small .msg .content {
        width: 400px;
    }

    .messages .msg.large .content, .messages.large .msg.content {
        width: 600px;
    }

    .messages .msg.full .content, .messages.full .msg .content {
        width: auto;
    }

    .messages .content:after {
        display: block;
        position: absolute;
        height: 17px;
        width: 11px;
        left: -11px;
        top: 6px;
        content: '';
        background: url('../gfx/elements/messages/content-arrow.png');
    }

    .messages.chat .reply .content:after {
        left: auto;
        right: -11px;
        background: url('../gfx/elements/messages/content-arrow-right.png');
    }

    .messages .content h3 {
        padding: 5px 0;
        padding-top: 0;
        border-bottom: 1px solid #d6d6d6;
    }

        .messages .content h3 small {
            float: right;
        }

    .messages .content p {
        margin: 5px 0;
    }


/* ********************************************* */
/* News */

.news {
    margin-bottom: 20px;
}

    .news .entry {
        position: relative;
        margin-top: 20px;
    }

    .news .meta {
        position: absolute;
        width: 55px;
        height: 82px;
        margin-bottom: 28px;
        background: url('../gfx/elements/news/calendar.png');
        text-align: center;
        text-shadow: 0 1px 0 #fff;
    }

        .news .meta .day {
            padding-top: 7px;
        }

        .news .meta .month {
            padding-top: 14px;
            text-transform: uppercase;
        }

        .news .meta .year {
            padding-top: 1px;
        }

        .news .meta .more {
            display: block;
            padding-top: 12px;
            font-size: 10px;
        }

    .news .content {
        padding-left: 70px !important;
        border-bottom: 1px solid #d5dae1;
    }

        .news .content h3 {
            padding: 0;
            margin-bottom: 7px;
        }

        .news .content h4 {
            padding: 0;
            margin-top: 0;
            font-weight: normal;
        }


/* ********************************************* */
/* Charts */

.chart {
    margin: 10px 0;
}

.legend {
    text-align: right;
    height: 25px;
}

    .legend table {
        float: right;
    }

    .legend tr {
        display: inline-block;
        margin-left: 15px;
    }

    .legend .legendColorBox {
        vertical-align: center !important;
    }

        .legend .legendColorBox > div {
            border: none !important;
        }

            .legend .legendColorBox > div > div {
                margin: 5px 0;
                width: 20px !important;
                border-width: 1px !important;
            }

.chart-tooltip {
    position: absolute;
    display: none;
    padding: 2px 10px;
    z-index: 8000;
    background: url('../gfx/elements/charts/hover-bg.png') repeat-x #e9edf0;
    border: 1px solid #aeaeae;
    border-radius: 3px;
}


/* ********************************************* */
/* Tooltips */

.tipsy {
    position: absolute;
    padding: 5px;
    z-index: 100000;
    font-size: 12px;
}

.tipsy-inner {
    padding: 5px 10px 4px 10px;
    max-width: 200px;
    border: 1px solid #000;
    background: url('../gfx/elements/tooltips/bg.png') repeat-x #1f2b3a;
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(0,0,0,0.94), inset 0 1px 0 rgba(255,255,255,0.37);
    text-align: center;
}

.tipsy-arrow {
    position: absolute;
    width: 0;
    height: 0;
    line-height: 0;
    border: 5px dashed #1e2a39;
}

/* Rules to colour arrows */
.tipsy-arrow-n {
    border-bottom-color: #1e2a39;
}

.tipsy-arrow-s {
    border-top-color: #1e2a39;
}

.tipsy-arrow-e {
    border-left-color: #1e2a39;
}

.tipsy-arrow-w {
    border-right-color: #1e2a39;
}

.tipsy-n .tipsy-arrow {
    top: 1px;
    left: 50%;
    margin-left: -5px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-nw .tipsy-arrow {
    top: 1px;
    left: 10px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-ne .tipsy-arrow {
    top: 1px;
    right: 10px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-s .tipsy-arrow {
    bottom: 1px;
    left: 50%;
    margin-left: -5px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-sw .tipsy-arrow {
    bottom: 1px;
    left: 10px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-se .tipsy-arrow {
    bottom: 1px;
    right: 10px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent;
}

.tipsy-e .tipsy-arrow {
    right: 1px;
    top: 50%;
    margin-top: -5px;
    border-left-style: solid;
    border-right: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.tipsy-w .tipsy-arrow {
    left: 1px;
    top: 50%;
    margin-top: -5px;
    border-right-style: solid;
    border-left: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

/* Gravity Demo */
#gravity {
    width: 100%;
    margin: 5px 0;
    border-spacing: 5px;
    border-collapse: separate;
}

    #gravity td {
        width: 33%;
        padding: 5px 0;
        background: url('../gfx/layout/content/box/header-bg.png') repeat-x #E9ECF1;
        border: 1px solid #D8D8D8;
        text-align: center;
        vertical-align: middle;
    }

    #gravity a {
        text-decoration: none;
        outline: 0;
    }

        #gravity a:hover {
            background: none;
        }


/* ********************************************* */
/* Full Statistics */

.full-stats {
    display: inline;
    float: left;
    margin: 0 1%;
    margin-bottom: 20px;
    text-align: left;
}

    .full-stats.flexiwidth {
        display: block;
        float: none;
        margin: 0 0 20px;
    }

    .full-stats h2 {
        padding: 0;
        padding-bottom: 5px;
        color: #0d1d31;
        font-size: 14px;
    }

        .full-stats h2.center {
            text-align: center;
        }

    .full-stats div {
        cursor: default;
    }

    .full-stats .stat {
        display: block;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 1px 0px rgba(0,0,0,0.11);
        border-radius: 3px;
        border: 1px solid #cdcdcd;
        border-bottom-color: #a8a8a8;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
    }

        .full-stats .stat.margin-top {
            margin-top: 23px;
        }

    .full-stats a {
        text-decoration: none;
    }

    .full-stats .stat {
        padding: 15px;
    }

/* Simple */
.stat.simple {
    padding: 10px 30px;
    text-align: center;
}

    .stat.simple .title {
        margin: 5px 0;
    }

    .stat.simple .value {
        margin: 5px 0;
    }

    .stat.simple.link:hover {
        background: url('../gfx/elements/fullstats/simple/a-hover.png') repeat-x #f5f6f6;
    }

        .stat.simple.link:hover:active {
            background: url('../gfx/elements/fullstats/simple/a-active.png') repeat-x #fff;
            box-shadow: 0 2px 2px rgba(0,0,0,0.11), inset 0 2px 5px rgba(0,0,0,0.19);
        }

    .stat.simple.link div {
        cursor: pointer;
    }

/* Load */
.stat.load {
    position: relative;
}

.stat.load {
    padding: 0 40px;
}

    .stat.load .value {
        margin-top: 30px;
        margin-bottom: 10px;
        text-align: center;
    }

    .stat.load .bg {
        width: 119px;
        height: 54px;
        margin-bottom: 49px;
        background: url('../gfx/elements/fullstats/load/bg.png');
    }

    .stat.load .gauge {
        position: absolute;
        width: 46px;
        height: 18px;
        left: 50%;
        margin-left: -37px;
        top: 100px;
        background: url('../gfx/elements/fullstats/load/gauge.png');
        -webkit-transform-origin: 37px 50%;
        -moz-transform-origin: 37px 50%;
        -o-transform-origin: 37px 50%;
        -ms-transform-origin: 37px 50%;
        transform-origin: 37px 50%;
    }

    .stat.load .min {
        position: absolute;
        top: 120px;
        left: 35px;
    }

    .stat.load .max {
        position: absolute;
        top: 120px;
        right: 20px;
    }

/* Level */
.stat.level {
    position: relative;
}

    .stat.level .gauge-container {
        position: relative;
        height: 110px;
        width: 50px;
        margin-top: 21px;
        margin-right: 75px;
        background: url('../gfx/elements/fullstats/level/container-bg.png') repeat-x #e3e3e3;
        border: 1px solid #bbbbbb;
        border-radius: 3px;
        box-shadow: inset 0 3px 3px rgba(0,0,0,0.15);
    }

    .stat.level .gauge {
        position: absolute;
        left: -1px;
        right: -1px;
        bottom: -1px;
        background: url('../gfx/elements/fullstats/level/gauge-bg.png');
        border-radius: 0 0 3px 3px;
        border: 1px solid #215494;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.33);
    }

        .stat.level .gauge.full {
            border-radius: 3px;
        }

    .stat.level .max {
        position: absolute;
        top: 10px;
        left: 15px;
    }

    .stat.level .info {
        position: absolute;
        left: 90px;
        margin-top: -6px;
        width: 70px;
    }

        .stat.level .info:after {
            display: block;
            position: absolute;
            height: 10px;
            width: 9px;
            left: -16px;
            top: 3px;
            background: url('../gfx/elements/fullstats/level/info-arrow.png');
            content: '';
        }

/* Pillar */
.stat.pillar .pillar-container {
    height: 131px;
    width: 50px;
    margin-right: 85px;
    border: 1px solid #111111;
    border-radius: 3px;
}

.stat.pillar .inner {
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.37);
    border-bottom: 1px solid #000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

    .stat.pillar .inner:first-child {
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    .stat.pillar .inner:last-child {
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
        border-bottom: none;
    }

    .stat.pillar .inner.red {
        background: url('../gfx/elements/fullstats/pillar/red-bg.png');
    }

    .stat.pillar .inner.yellow {
        background: url('../gfx/elements/fullstats/pillar/yellow-bg.png');
    }

    .stat.pillar .inner.green {
        background: url('../gfx/elements/fullstats/pillar/green-bg.png');
    }

.stat.pillar .value {
    position: absolute;
    left: 70px;
    top: 50%;
    margin-top: -10px;
    padding-right: 15px;
    font-size: 16px;
    font-weight: bold;
}

.stat.pillar .title {
    position: absolute;
    left: 100px;
    top: 50%;
    margin-top: -8px;
    font-size: 12px;
    color: #575757;
}

/* Circular */
.stat.circular {
    position: relative;
}

    .stat.circular canvas {
        display: block;
        height: 88px;
        width: 88px;
        margin: 0 auto;
    }

    .stat.circular > .value {
        position: absolute;
        left: 0;
        right: 0;
        top: 48px;
        text-align: center;
    }


.circular-bg {
    color: #c0d0e5;
}

.circular-fg {
    color: #1a4a81;
}


.circular-bg.grey {
    color: #dadada;
}

.circular-fg.grey {
    color: #676767;
}


.circular-bg.red {
    color: #e5c0c0;
}

.circular-fg.red {
    color: #811a1a;
}


.circular-bg.green {
    color: #c4e5c0;
}

.circular-fg.green {
    color: #1a811c;
}

.stat.circular ul {
    display: table;
    margin: 0;
    padding: 0;
    margin-top: 15px;
}

.stat.circular li {
    display: table-row;
    list-style: none;
    font-size: 12px;
    font-weight: bold;
}

    .stat.circular li span {
        display: table-cell;
    }

    .stat.circular li .title {
        padding-right: 25px;
        padding-left: 15px;
    }

    .stat.circular li.pos .title {
        background: url('../gfx/elements/fullstats/circular/arrow-green.png') no-repeat 0 50%;
    }

    .stat.circular li.neg .title {
        background: url('../gfx/elements/fullstats/circular/arrow-red.png') no-repeat 0 50%;
    }

    .stat.circular li.neutr .title {
        background: url('../gfx/elements/fullstats/circular/arrow-grey.png') no-repeat 0 50%;
    }

    .stat.circular li .value {
        text-align: right;
    }

    .stat.circular li .percent {
        padding-left: 20px;
        text-align: right;
    }

/* Uptime */
.stat.uptime {
}

    .stat.uptime .overview {
        display: table;
        margin-top: 8px;
    }

    .stat.uptime .server {
        display: table-row;
    }

        .stat.uptime .server .status, .stat.uptime .server .name {
            display: table-cell;
            padding-bottom: 15px;
        }

        .stat.uptime .server .status {
            padding-left: 40px;
        }

            .stat.uptime .server .status.online {
                background: url('../gfx/elements/fullstats/uptime/arrow-green.png') no-repeat 2px 0;
            }

            .stat.uptime .server .status.offline {
                background: url('../gfx/elements/fullstats/uptime/arrow-red.png') no-repeat 2px 0;
            }

        .stat.uptime .server .name {
            padding-left: 40px;
        }

    .stat.uptime .info {
        margin-top: 8px;
    }

        .stat.uptime .info:after {
            clear: both;
        }

        .stat.uptime .info:before, .stat.uptime .info:after {
            content: "";
            display: table;
        }

        .stat.uptime .info:before, .stat.uptime .info:after {
            content: "";
            display: table;
        }

        .stat.uptime .info .left, .stat.uptime .info .right {
            float: left;
            width: 50%;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            -ms-box-sizing: border-box;
            box-sizing: border-box;
        }

        .stat.uptime .info .left {
            padding-right: 10px;
        }

        .stat.uptime .info .right {
            padding-left: 10px;
            border-left: 1px solid #d5d5d5;
        }

/* List */
.stat.list ul {
    padding: 0;
    margin: 0;
}

.stat.list li {
    position: relative;
    margin: 9px 0;
    padding: 5px 0;
    border: 1px solid transparent;
    list-style: none;
}

    .stat.list li.link:hover {
        border: 1px solid #d9dcdf;
        border-radius: 3px;
        background: url('../gfx/elements/fullstats/list/hover-bg.png') repeat-x #f3f4f4;
    }

    .stat.list li:after {
        display: block;
        position: absolute;
        width: 100%;
        bottom: -5px;
        height: 1px;
        background: #c7c7c7;
        content: '';
    }

    .stat.list li > *:before {
        display: block;
        position: absolute;
        height: 13px;
        width: 12px;
        left: 10px;
        top: 50%;
        margin-top: -6px;
        content: '';
        background: url('../gfx/elements/fullstats/list/arrow-grey.png') no-repeat;
    }

    .stat.list li.up.green > *:before {
        background-image: url('../gfx/elements/fullstats/list/arrow-green-up.png');
    }

    .stat.list li.down.green > *:before {
        background-image: url('../gfx/elements/fullstats/list/arrow-green-down.png');
    }

    .stat.list li.up.red > *:before {
        background-image: url('../gfx/elements/fullstats/list/arrow-red-up.png');
    }

    .stat.list li.down.red > *:before {
        background-image: url('../gfx/elements/fullstats/list/arrow-red-down.png');
    }

    .stat.list li a div {
        cursor: pointer;
    }

    .stat.list li:first-child {
        margin-top: 0;
    }

    .stat.list li:last-child {
        margin-bottom: 0;
    }

        .stat.list li:last-child:after {
            display: none;
        }

    .stat.list li .value, .stat.list li .title {
        display: inline-block;
    }

    .stat.list li .value {
        padding-left: 40px;
        text-align: right;
    }

    .stat.list li .title {
        padding-left: 20px;
        padding-right: 10px;
    }

/* Horizontal List */
.stat.hlist ul {
    margin: 0;
    padding: 0;
}

.stat.hlist li {
    float: left;
    padding: 0 30px;
    border-left: 1px solid #D9DCDF;
    list-style: none;
    text-align: center;
}

.flexiwidth .stat.hlist li {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.stat.hlist li:first-child {
    border-left: none;
}

.stat.hlist .title {
    margin: 5px 0;
}

.stat.hlist .value {
    margin: 5px 0;
}

.stat.hlist.link div {
    cursor: pointer;
}


/* Minichart */
.stat.minichart:after {
    clear: both;
}

.stat.minichart:before, .stat.minichart:after {
    content: "";
    display: table;
}

.stat.minichart:before, .stat.minichart:after {
    content: "";
    display: table;
}

.stat.minichart .left, .stat.minichart .right {
    padding: 0 15px;
}

.stat.minichart .left {
    float: left;
    padding-right: 20px;
    text-align: center;
}

.stat.minichart .title {
    margin: 5px 0;
}

.stat.minichart .total {
    margin: 5px 0;
}

.stat.minichart .right {
    float: right;
    padding-left: 20px;
    border-left: 1px solid #d9dcdf;
}

.stat.minichart .minichart {
    padding-bottom: 5px;
    padding-top: 8px;
}

.stat.minichart .change {
    position: relative;
    padding-left: 15px;
}

    .stat.minichart .change:after {
        display: block;
        position: absolute;
        height: 13px;
        width: 12px;
        left: -2px;
        top: 50%;
        margin-top: -5px;
        content: '';
    }

    .stat.minichart .change.green:after {
        background: url('../gfx/elements/fullstats/minichart/arrow-green.png') no-repeat;
    }

    .stat.minichart .change.grey:after {
        background: url('../gfx/elements/fullstats/minichart/arrow-grey.png') no-repeat;
    }

    .stat.minichart .change.red:after {
        background: url('../gfx/elements/fullstats/minichart/arrow-red.png') no-repeat;
    }


/* ********************************************* */
/* FullCalendar */
/* Based on 'FullCalendar v1.5.2 Stylesheet ' */

/*
 * FullCalendar v1.5.2 Stylesheet 
 *
 * Copyright (c) 2011 Adam Shaw
 * Dual licensed under the MIT and GPL licenses, located in
 * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
 *
 * Date: Sun Aug 21 22:06:09 2011 -0700
 *
 */

#content .box .content.calendar {
    padding: 0;
}

.fc {
    direction: ltr;
    text-align: left;
}

    .fc table {
        border-collapse: collapse;
        border-spacing: 0;
    }

.fc-content td, .fc-content th {
    padding: 0;
    vertical-align: top;
    background: url('../gfx/elements/calendar/day-bg.png') repeat-x #fafafa;
}

.fc td.fc-other-month {
    background: #f5f5f5;
}

/* Header
------------------------------------------------------------------------*/

.fc-header {
    background: url('../gfx/elements/calendar/toolbar-bg.png') repeat-x #f1f3f6;
    border: none;
}

    .fc-header td {
        white-space: nowrap;
    }

.fc-header-left {
    text-align: left;
    position: relative;
    z-index: 101;
}

.fc-header-center {
    text-align: center;
    position: absolute;
    top: 30px;
    width: 100%;
}

.fc-header-right {
    text-align: right;
    position: absolute;
    top: 1px;
    right: 1px;
}

.fc-header-title {
    display: inline-block;
    vertical-align: top;
    font-size: 110%;
    color: #202b3b;
}

    .fc-header-title h2 {
        margin-top: 0;
        white-space: nowrap;
    }

.fc .fc-header-space {
    padding-left: 10px;
}

.fc-header .fc-button {
    margin-bottom: 1em;
    vertical-align: top;
}

.fc-header-right .fc-button {
    border: none;
    margin: 0;
}

.fc-header-right .fc-button {
    border-left: 1px solid #fff;
    border-right: 1px solid #c1c1c1;
    padding: 6px 12px;
    color: #5f6269;
}

.webkit .fc-header-right .fc-button {
    padding: 6px 12px;
    padding-bottom: 7px;
}

.fc-header-right .fc-button:first-child {
    border-left-color: #c1c1c1;
}

.fc-header-right .fc-button:last-child {
    border-right: none;
}

.fc-header-right .fc-button:hover {
    background: url('../gfx/layout/content/box/tab-hover.png') repeat-x #f5f6f8;
}

.fc-header-right .fc-button.fc-corner-left, .fc-header-right .fc-button.fc-corner-right {
    border-radius: 0;
}

.fc-header-right .fc-button.fc-button.fc-corner-right:last-child {
    border-radius: 2px 0 0 0;
    border-right: none;
}

.fc-header-right .fc-button.fc-state-active {
    background: #fff;
    border-bottom: 1px solid #fff;
    color: #818181;
}

.fc-header-left .fc-corner-right {
    float: right;
}

.fc-header-left .fc-button {
    margin: 5px;
    border: 1px solid transparent;
    color: #495465;
}

    .fc-header-left .fc-button:hover {
        border-color: #b8bcc0;
        border-radius: 3px;
        background: url('../gfx/elements/calendar/arrow-hover-bg.png') repeat-x #e2e4e7;
    }


/* Content
------------------------------------------------------------------------*/

.fc-content {
    clear: both;
}

.fc-view {
    width: 100%; /* needed for view switching (when view is absolute) */
    overflow: hidden;
}

/* Cell Styles
------------------------------------------------------------------------*/

.fc-widget-header, /* , usually */
.fc-widget-content {
    /* , usually */
    border: 1px solid #ccc;
}

.fc-state-highlight {
    /*  today cell */ /* TODO: add .fc-today to  */
    ;
    background: #fff !important;
}

.fc-view-month .fc-state-highlight {
    box-shadow: inset 0 0 7px rgba(0,0,0,.4);
    background: url('../gfx/elements/calendar/highlight-bg.png') repeat-x #d8dce2 !important;
}

.fc-cell-overlay {
    /* semi-transparent rectangle while dragging */
    background: #9cf;
    opacity: .2;
    filter: alpha(opacity=20); /* for IE */
}

/* Buttons
------------------------------------------------------------------------*/

.fc-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.fc-state-default {
}

.fc-button-inner {
    position: relative;
    float: left;
    overflow: hidden;
}

.fc-state-default .fc-button-inner {
}

.fc-button-content {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    position: relative;
    float: left;
    height: 1.9em;
    line-height: 1.9em;
    padding: 0 .6em;
    white-space: nowrap;
}

    /* icon (for jquery ui) */

    .fc-button-content .fc-icon-wrap {
        position: relative;
        float: left;
        top: 50%;
    }

    .fc-button-content .ui-icon {
        position: relative;
        float: left;
        margin-top: -50%;
        *margin-top: 0;
        *top: -50%;
    }

/* button states (determines colors)  */

/* Global Event Styles
------------------------------------------------------------------------*/

.fc-event {
    cursor: default;
    padding: 3px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    background: url('../gfx/elements/calendar/event-bg.png') repeat-x #3c70ad;
    border: 1px solid #2e69ae;
}

a.fc-event, .fc-event-draggable {
    cursor: pointer;
}

a.fc-event {
    text-decoration: none;
}

.fc-rtl .fc-event {
    text-align: right;
}

.fc-event-skin {
    color: #fff; /* default TEXT color */
    text-shadow: 0 1px 0 rgba(0,0,0,0.75);
}

.fc-event-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fc-event-time, .fc-event-title {
    padding: 0 1px;
}

.fc .ui-resizable-handle {
    /*** TODO: don't use ui-resizable anymore, change class ***/;
    display: block;
    position: absolute;
    z-index: 99999;
    overflow: hidden; /* hacky spaces (IE6/7) */
    font-size: 300%; /* */
    line-height: 50%; /* */
}

/* Horizontal Events
------------------------------------------------------------------------*/

.fc-event-hori {
    margin-bottom: 1px;
}

    /* resizable */

    .fc-event-hori .ui-resizable-e {
        top: 0 !important; /* importants override pre jquery ui 1.7 styles */
        right: -3px !important;
        width: 7px !important;
        height: 100% !important;
        cursor: e-resize;
    }

    .fc-event-hori .ui-resizable-w {
        top: 0 !important;
        left: -3px !important;
        width: 7px !important;
        height: 100% !important;
        cursor: w-resize;
    }

    .fc-event-hori .ui-resizable-handle {
        _padding-bottom: 14px; /* IE6 had 0 height */
    }

/* Fake Rounded Corners (for buttons and events)
------------------------------------------------------------*/

/* Rounded Corners SPECIFICALLY FOR EVENTS
-----------------------------------------------------------------*/

.fc-corner-left {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.fc-corner-right {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Reusable Separate-border Table
------------------------------------------------------------*/

table.fc-border-separate {
    border-collapse: separate;
}

.fc-border-separate th, .fc-border-separate td {
    border-width: 1px 0 0 1px;
}

    .fc-border-separate th.fc-last, .fc-border-separate td.fc-last {
        border-right-width: 1px;
    }

.fc-border-separate tr.fc-last th, .fc-border-separate tr.fc-last td {
    border-bottom-width: 1px;
}

.fc-border-separate tbody tr.fc-first td, .fc-border-separate tbody tr.fc-first th {
    border-top-width: 0;
}

/* Month View, Basic Week View, Basic Day View
------------------------------------------------------------------------*/

.fc-view td.fc-first, .fc-view th.fc-first, .fc-agenda-axis {
    border-left: 0;
}

.fc-view td.fc-last, .fc-view th.fc-last {
    border-right: 0;
}

.fc-view tr.fc-last td, .fc-agenda-axis {
    border-bottom: 0;
}

.fc-view th {
    padding: 5px 0;
    background: url('../gfx/elements/calendar/header-bg.png') repeat-x #e2e7eb;
    color: #495465;
    text-shadow: 0 1px 0 #fff;
    text-align: center;
}

.fc-grid .fc-day-number {
    float: right;
    padding: 0 2px;
    color: #071526;
}

.fc-grid .fc-other-month .fc-day-number {
    opacity: 0.3;
    filter: alpha(opacity=30); /* for IE */
    /* opacity with small font can sometimes look too faded
	   might want to set the 'color' property instead
	   making day-numbers bold also fixes the problem */
}

.fc-grid .fc-day-content {
    clear: both;
    padding: 2px 2px 1px; /* distance between events and day edges */
}

/* event styles */

.fc-grid .fc-event-time {
    font-weight: bold;
}

/* right-to-left */

.fc-rtl .fc-grid .fc-day-number {
    float: left;
}

.fc-rtl .fc-grid .fc-event-time {
    float: right;
}

/* Agenda Week View, Agenda Day View
------------------------------------------------------------------------*/

.fc-agenda table {
    border-collapse: separate;
}

.fc-agenda-days th {
    text-align: center;
}

.fc-agenda .fc-agenda-axis {
    width: 50px;
    padding: 0 4px;
    vertical-align: middle;
    text-align: right;
    white-space: nowrap;
    font-weight: normal;
}

.fc-agenda .fc-day-content {
    padding: 2px 2px 1px;
}

/* make axis border take precedence */

.fc-agenda-days .fc-agenda-axis {
    border-right-width: 1px;
}

.fc-agenda-days .fc-col0 {
    border-left-width: 0;
}

/* all-day area */

.fc-agenda-allday th {
    border-width: 0 1px;
}

.fc-agenda-allday .fc-day-content {
    min-height: 34px; /* TODO: doesnt work well in quirksmode */
    ;
    _height: 34px;
}

/* divider (between all-day and slots) */

.fc-agenda-divider-inner {
    height: 2px;
    overflow: hidden;
}

.fc-widget-header .fc-agenda-divider-inner {
    background: #eee;
}

/* slot rows */

.fc-agenda-slots th {
    border-width: 1px 1px 0;
}

.fc-agenda-slots td {
    border-width: 1px 0 0;
    background: none;
}

    .fc-agenda-slots td div {
        height: 20px;
    }

.fc-agenda-slots tr.fc-slot0 th, .fc-agenda-slots tr.fc-slot0 td {
    border-top-width: 0;
}

.fc-agenda-slots tr.fc-minor th, .fc-agenda-slots tr.fc-minor td {
    border-top-style: dotted;
}

    .fc-agenda-slots tr.fc-minor th.ui-widget-header {
        *border-top-style: solid; /* doesn't work with background in IE6/7 */
    }

/* Vertical Events
------------------------------------------------------------------------*/

.fc-event-vert {
    padding: 0;
    border-width: 2px;
}

    .fc-event-vert .fc-event-head, .fc-event-vert .fc-event-content {
        position: relative;
        z-index: 2;
        width: 100%;
        overflow: hidden;
    }

    .fc-event-vert .fc-event-time {
        white-space: nowrap;
        font-size: 10px;
    }

    .fc-event-vert .fc-event-bg {
        /* makes the event lighter w/ a semi-transparent overlay  */
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* background: #fff; */
        opacity: .3;
        filter: alpha(opacity=30);
    }

.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
.fc-select-helper .fc-event-bg {
    display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
}

/* resizable */

.fc-event-vert .ui-resizable-s {
    bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
    width: 100% !important;
    height: 8px !important;
    overflow: hidden !important;
    line-height: 8px !important;
    font-size: 11px !important;
    text-align: center;
    cursor: s-resize;
}

.fc-agenda .ui-resizable-resizing {
    /* TODO: better selector */;
    _overflow: hidden;
}

@media print {
    /*
	 * FullCalendar v1.5.2 Print Stylesheet
	 *
	 * Include this stylesheet on your page to get a more printer-friendly calendar.
	 * When including this stylesheet, use the media='print' attribute of the  tag.
	 * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
	 *
	 * Copyright (c) 2011 Adam Shaw
	 * Dual licensed under the MIT and GPL licenses, located in
	 * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
	 *
	 * Date: Sun Aug 21 22:06:09 2011 -0700
	 *
	 */

    /* Events
        -----------------------------------------------------*/

    .fc-event-skin {
        background: none !important;
        color: #000 !important;
    }

    /* horizontal events */

    .fc-event-hori {
        border-width: 0 0 1px 0 !important;
        border-bottom-style: dotted !important;
        border-bottom-color: #000 !important;
        padding: 1px 0 0 0 !important;
    }

        .fc-event-hori .fc-event-inner {
            border-width: 0 !important;
            padding: 0 1px !important;
        }

    /* vertical events */

    .fc-event-vert {
        border-width: 0 0 0 1px !important;
        border-left-style: dotted !important;
        border-left-color: #000 !important;
        padding: 0 1px 0 0 !important;
    }

        .fc-event-vert .fc-event-inner {
            border-width: 0 !important;
            padding: 1px 0 !important;
        }

    .fc-event-bg {
        display: none !important;
    }

    .fc-event .ui-resizable-handle {
        display: none !important;
    }
}



/* ********************************************* */
/* Syntax Highlighting */

.syntaxhighlighter .toolbar {
    display: none;
}

.syntaxhighlighter .gutter {
    padding-right: 10px;
}

    .syntaxhighlighter .gutter .line {
        padding-right: 4px;
    }

.syntaxhighlighter, .syntaxhighlighter .line.alt1, .syntaxhighlighter .line.alt2 {
    background: transparent !important;
}

    .syntaxhighlighter .gutter .line {
        border-right: 2px solid #79C4EE !important;
    }


/* ********************************************* */
/* Explorer */

.explorer {
    margin: 0 -10px;
    border: none;
    border-radius: 0;
}

.elfinder-toolbar {
    background: url('../gfx/elements/table/header.png') repeat-x #eef0f4;
    border-bottom: 1px solid #c1c1c1;
}

.elfinder-statusbar {
    background: url("../img/layout/content/box/actions-bg.png") repeat-x #f0f1f4;
    border-top: 1px solid #c1c1c1;
    padding: 3px 8px;
}

.elfinder-help .elfinder-dont-panic span {
    right: 0;
}

.elfinder .elfinder-button-search {
    border: 0 solid;
    background: transparent;
    padding: 0;
    margin: 1px 4px;
    height: auto;
    min-height: 26px;
    float: right;
    width: 202px;
}

.elfinder-dialog-error .ui-dialog-content, .elfinder-dialog-confirm .ui-dialog-content {
    padding-left: 56px;
}

.elfinder-dialog[style] {
    z-index: 200 !important;
}

.elfinder .ui-widget-overlay {
    z-index: 199 !important;
}

.elfinder-quicklook-fullscreen[style] {
    z-index: 90000 !important;
}

.elfinder .ui-button.ui-state-hover:active {
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.63);
    background: #2c7eee; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJjN2VlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwZTY0ZDgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #2c7eee 0%, #0e64d8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c7eee), color-stop(100%,#0e64d8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #2c7eee 0%,#0e64d8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #2c7eee 0%,#0e64d8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #2c7eee 0%,#0e64d8 100%); /* IE10+ */
    background: linear-gradient(to bottom, #2c7eee 0%,#0e64d8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c7eee', endColorstr='#0e64d8',GradientType=0 ); /* IE6-8 */
}


/* ********************************************* */
/* Search Box */

.searchbox:before, .searchbox:after {
    display: table;
    content: '';
}

.searchbox:after {
    clear: both;
}

.searchbox {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 21px;
    background: url('../gfx/elements/searchbox/bg.png') repeat-x #ecf1f4;
    border-bottom: 1px solid #bcc4d2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

    .searchbox input[type=text] {
        width: 100%;
        padding: 8px 11px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .searchbox input[type=submit] {
        position: absolute;
        top: 21px;
        bottom: 21px;
        right: 21px;
        padding: 5px 15px;
        border-radius: 0 3px 3px 0;
    }

    .searchbox.grid_12 {
        width: 100%;
    }

    .searchbox:first-child {
        margin-top: -15px;
    }


/* ********************************************* */
/* Search Result */

.searchresults {
    padding: 20px;
    padding-top: 0;
    padding-bottom: 20px;
    margin-top: 0;
    margin-bottom: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

    .searchresults.grid_12 {
        width: 100%;
        margin: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .searchresults li {
        list-style: none;
    }


    .searchresults .header {
        position: relative;
        margin-bottom: 18px;
        overflow: hidden;
    }

        .searchresults .header h3, .searchresults .header strong {
            display: block;
            position: relative;
            background: #fdfdfd;
            z-index: 1;
        }

        .searchresults .header h3 {
            float: left;
            padding: 0;
            padding-right: 20px;
            font-size: 15px;
        }

        .searchresults .header:after {
            display: block;
            position: absolute;
            height: 1px;
            left: 0;
            right: 0;
            bottom: 7px;
            background: url('../gfx/elements/searchresults/dotted.png') repeat-x;
            content: '';
        }

        .searchresults .header strong {
            float: right;
            margin-top: 2px;
            padding-left: 20px;
        }


    .searchresults li {
        position: relative;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

        .searchresults li:after {
            display: block;
            position: absolute;
            left: -20px;
            right: -20px;
            bottom: 0;
            height: 1px;
            background: #d7d7d7;
            content: '';
        }

    .searchresults .content:before, .searchresults .content:after {
        display: table;
        content: '';
    }

    .searchresults .content:after {
        clear: both;
    }

    .searchresults .content img {
        float: left;
        padding: 5px;
        border: 1px solid #bdbdbd;
        border-radius: 3px;
        background: url('../gfx/elements/messages/avatar-bg.png') repeat-x #ececec;
    }

    .searchresults .content table {
        margin-left: 55px;
    }

    .searchresults .content th, .searchresults .content td {
        padding-bottom: 10px;
    }

    .searchresults .content th {
        padding-right: 20px;
        text-align: right;
    }


/* ********************************************* */
/* Error pages */

.big.error {
    padding-top: 70px;
    text-align: center;
}

    .big.error h2, .big.error h1 {
        padding: 0;
    }

    .big.error h1 {
        margin-bottom: 20px;
    }

        .big.error h1:after {
            display: none;
        }

        .big.error h1 span {
            background: transparent;
            box-shadow: none;
        }

        .big.error h1:before {
            display: block;
            position: absolute;
            bottom: 0px;
            width: 300px;
            height: 1px;
            left: 50%;
            margin-left: -150px;
            background: #d2d8e2;
            content: '';
        }

    .big.error .small span {
        display: block;
    }

    .big.error .small a.button {
        margin-top: 10px;
    }


/* ********************************************* */
/* Header Buttons */

header .buttons {
    position: absolute;
    right: 0;
    bottom: 20px;
}

    header .buttons a {
        float: left;
        margin-left: 15px;
        padding: 10px 30px;
        border: 1px solid #bbbdc7;
        border-bottom-color: #8F8F8F;
        border-radius: 4px;
        box-shadow: 0 1px 1px rgba(0,0,0,0.21);
        background: url('../gfx/elements/headerbuttons/bg.png') repeat-x #e7e8ee;
        text-decoration: none;
        text-shadow: 0 1px 0 #fff;
    }

        header .buttons a:hover {
            background: url('../gfx/elements/headerbuttons/bg-hover.png') repeat-x #f9f9f9;
        }

            header .buttons a:hover:active {
                background: url('../gfx/elements/headerbuttons/bg-active.png') repeat-x #f9f9f9;
                box-shadow: inset 0 1px 1px rgba(0,0,0,0.23);
                border-top-color: #8F8F8F;
                border-bottom-color: #bbbdc7;
            }

    header .buttons .icon, header .buttons img {
        display: block;
        margin: 0 auto;
        margin-bottom: 5px;
        height: 24px;
        width: 24px;
        font-size: 24px;
        text-decoration: none;
    }

        header .buttons .icon:before {
            position: relative;
            top: -2px;
        }


/* ********************************************* */
/* Gallery */

.gallery:before, .gallery:after {
    display: table;
    content: '';
}

.gallery:after {
    clear: both;
}

.gallery {
    margin: 10px 0;
}

    .gallery .image {
        position: relative;
        float: left;
        margin: 5px 10px 0 10px;
    }

        .gallery a img, .gallery .image > img {
            padding: 3px;
            border: 1px solid #B4B4B4;
            border-bottom-color: #5F5F5F;
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
        }

            .gallery .image a img:hover, .gallery .image > img:hover {
                border: 1px solid #005dc7;
                box-shadow: 0 0 7px rgba(86, 149, 219, 0.69);
            }

    .gallery .tools {
        padding-bottom: 5px;
    }

        .gallery .tools .checkbox {
            margin-right: 5px;
        }

        .gallery .tools menu {
            display: none;
        }

        .gallery .tools a.menu {
            position: relative;
            top: 3px;
            font-size: 16px;
            color: #787879;
            text-shadow: 0 1px 0 #fff;
            text-decoration: none;
        }

            .gallery .tools a.menu.open {
                color: #4a4a4b;
            }

        .gallery .tools menu {
            display: none;
            position: absolute;
            left: 10px;
            margin: 0;
            margin-top: 4px;
            padding: 0;
        }

            .gallery .tools menu:after {
                display: block;
                position: absolute;
                height: 5px;
                width: 12px;
                top: -5px;
                left: 10px;
                content: '';
                background: url('../gfx/layout/content/box/menu-arrow.png');
            }

            .gallery .tools menu a {
                display: block;
                padding: 7px 20px;
                border: 1px solid #cbcbcb;
                border-bottom-width: 0;
                background: url('../gfx/layout/content/box/menu-item-bg.png') repeat-x #ebedf2;
                text-decoration: none;
            }

                .gallery .tools menu a.with-icon {
                    padding-left: 8px;
                }

                .gallery .tools menu a .icon {
                    float: left;
                    display: inline-block;
                    width: 16px;
                    height: 16px;
                    margin-left: 0;
                    margin-right: 4px;
                    text-align: center;
                    font-size: 13px;
                }

                .gallery .tools menu a:hover {
                    background: url('../gfx/layout/content/box/menu-item-bg-hover.png') repeat-x #ebedf2;
                }

                .gallery .tools menu a.active {
                    background: #e5e7e9;
                    box-shadow: inset 0 1px 2px rgba(0,0,0,0.47);
                }

                .gallery .tools menu a:first-child {
                    border-top-left-radius: 2px;
                    border-top-right-radius: 2px;
                }

                .gallery .tools menu a:last-child {
                    border-bottom-width: 1px;
                    border-bottom-left-radius: 2px;
                    border-bottom-right-radius: 2px;
                }

    .gallery .image > a {
        display: block;
    }

    .gallery .image > span:not(.badge) {
        display: block;
        text-align: center;
        margin-top: 5px;
    }

    .gallery .image .badge {
        position: absolute;
        top: 2px;
        right: 0;
    }

.fancybox-skin {
    background: transparent;
    border: none;
}


/* ********************************************* */
/* Badges */

.badge {
    padding: 2px 8px;
    border: 1px solid #1e4777;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0,0,0,0.76), inset 0 1px 0 rgba(255,255,255,0.45);
    background: url('../gfx/elements/badges/blue.png') repeat-x #4685c7;
    cursor: default;
}

    .badge.blue.light {
        background: url('../gfx/elements/badges/blue-light.png') repeat-x #469dc7;
    }

    .badge.blue.dark {
        background: url('../gfx/elements/badges/blue-dark.png') repeat-x #1d68c0;
    }

    .badge.green {
        border: 1px solid #1d5d1c;
        background: url('../gfx/elements/badges/green.png') repeat-x #40913f;
    }

    .badge.orange {
        border: 1px solid #a45c0c;
        background: url('../gfx/elements/badges/orange.png') repeat-x #d46213;
    }

    .badge.red {
        border: 1px solid #931616;
        background: url('../gfx/elements/badges/red.png') repeat-x #b32626;
    }


    .badge.block {
        display: inline-block;
        margin: 5px;
    }


/* ********************************************* */
/* Invoice Template */


.invoice h3, .invoice h4 {
    text-align: center;
}

.invoice h4 {
    margin-bottom: 0;
}

.invoice h3 {
    padding-top: 10px;
}


.invoice .supplier {
    float: left;
    margin-left: 5%;
}

.invoice .customer {
    float: right;
    margin-right: 5%;
    text-align: right;
}

.invoice h5 {
    margin-bottom: 3px;
}

    .invoice h5 + p {
        margin-top: 1px;
    }

.invoice h5, .invoice .supplier span, .invoice .customer span {
    text-transform: uppercase;
}


.invoice .details {
    display: table;
    width: 100%;
    padding: 0 10px;
    margin-bottom: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 11px;
}

    .invoice .details div {
        display: table-cell;
        padding: 10px;
        padding-left: 15px;
        border: 1px solid #d3d8dc;
        border-left-width: 0;
        border-right-width: 0;
        background: #eceff2;
    }

        .invoice .details div:first-child {
            border-left-width: 1px;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .invoice .details div:last-child {
            border-right-width: 1px;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

    .invoice .details .highlighted {
        background: #505d6d;
        border-color: #30363d;
        border-width: 1px;
    }

.invoice table {
    padding: 0 10px;
}


.invoice .total {
    float: right;
    margin: 10px;
    background: #505d6d;
    border: 1px solid #30363d;
    border-radius: 5px;
}

    .invoice .total span, .invoice .total strong {
        display: inline-block;
        padding: 15px 20px;
    }

    .invoice .total strong {
        border-left: 1px solid #30363d;
    }


.invoice .notes {
    padding: 10px;
}

    .invoice .notes :first-child {
        padding-top: 0;
        margin-top: 0;
    }


/* ********************************************* */
/* Icon Demo */

span.icon-demo {
    margin: 10px;
    font-size: 24px;
    color: #3E4B58;
    cursor: pointer;
}

img.icon-demo {
    margin: 10px;
    cursor: pointer;
}

/* ********************************************* */
/* Notifications */

div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer {
    margin-right: 0;
    border: 1px solid #000;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 1px 7px #000;
    background: url('../gfx/elements/notifications/bg.png') repeat-x #1e2a39;
    border-radius: 3px;
}

    div.jGrowl div.jGrowl-notification div.jGrowl-header {
        margin-bottom: 5px;
    }

div.jGrowl.top-right {
    right: 4%;
    top: 35px;
}

@media screen and (min-width:1281px) {
    div.jGrowl.top-right {
        right: 10%;
    }
}


/* ********************************************* */
/* AT THE BOTTOM */


.ui-buttonset .ui-button {
    border-radius: 0;
}

.ui-buttonset .ui-corner-left {
    border-radius: 3px 0 0 3px;
}

.ui-buttonset .ui-corner-right {
    border-radius: 0 3px 3px 0;
}


.Reg_Title {
    display: block !important;
    color: #b79e4c;
    font-size: 24px;
    padding-top: 47px;
    padding-left: 26px;
    padding-bottom: 32px;
}

.Reg_Text {
    display: block !important;
    padding-left: 26px;
    display: block;
}

    .Reg_Text a {
        color: #1e7dd8;
    }

        .Reg_Text a:link, .Reg_Text a:visited, .Reg_Text a:active {
            text-decoration: underline;
        }
