﻿.flex-container {
    display: flex;
    height: 100%;
}


.flex-sidebar-container {
    flex: 0 1 20%;
    height: 100%;
}

.flex-content-container {
    flex: 1;
    padding-left: 2%;
    padding-right: 2%;
    height: 100%;
    overflow: auto;
    padding-bottom: 50px;
}

.container-admin {
    padding-top: 10px;
    padding-right: 10px;
}

a.button.large.create-button {
    margin-bottom: 5px;
}

div#alert-success {
    padding: 10px;
    margin-bottom: 20px;
    background-color: #008a00;
    color: #fff;
}

div#alert-error {
    padding: 10px;
    margin-bottom: 20px;
    background-color: #9a1616;
    color: #fff;
}

div#alert-error > .validation-summary-errors > ul > li {
    color: #fff;
    font-style: italic;
}

/*form > div.grid {
    margin-bottom: 0px !important;
}

form > div.grid > div.row {
    margin-top: 0px !important;
}*/

form > #submit-button {
    margin-top: 10px;
}

ul.active {
    display: block !important;
}

table > thead {
    text-align: left;
}


/* MEDIA QUERIES */

@media (max-width: 1285px) {

    div.span6 {
        margin-left: 0px !important;
    }
}

/* METRO UI OVERRIDES*/
.row {
    margin-top: 0px !important;
}

/* METRO UI DATABLES */
@font-face {
    font-family: 'metroSysIcons';
    src: url('../fonts/metroSysIcons.woff') format('woff'), url('../fonts/metroSysIcons.ttf') format('truetype'), url('../fonts/metroSysIcons.svg#metroSysIcons') format('svg');
    font-weight: normal;
    font-style: normal;
}

.metro .dataTable {
    clear: both;
}

    .metro .dataTable thead .sorting_asc,
    .metro .dataTable thead .sorting_desc,
    .metro .dataTable thead .sorting {
        cursor: pointer;
    }

        .metro .dataTable thead .sorting_asc:after,
        .metro .dataTable thead .sorting_desc:after,
        .metro .dataTable thead .sorting:after {
            font-family: metroSysIcons;
            position: relative;
            float: right;
            right: 0;
            color: #999999;
        }

        .metro .dataTable thead .sorting:after {
            content: "\e011";
        }

        .metro .dataTable thead .sorting_asc:after {
            content: "\e010";
        }

        .metro .dataTable thead .sorting_desc:after {
            content: "\e012";
        }

        .metro .dataTable thead .sorting_asc:after,
        .metro .dataTable thead .sorting_desc:after {
            color: #1d1d1d;
        }

.metro .dataTables_wrapper .dataTables_filter label,
.metro .dataTables_wrapper .dataTables_length label {
    vertical-align: middle;
}

.metro .dataTables_wrapper .dataTables_filter input,
.metro .dataTables_wrapper .dataTables_length input,
.metro .dataTables_wrapper .dataTables_filter select,
.metro .dataTables_wrapper .dataTables_length select {
    border: 1px #d9d9d9 solid;
    width: auto;
    height: 100%;
    padding: 5px;
    z-index: 1;
    position: relative;
}

    .metro .dataTables_wrapper .dataTables_filter input:focus,
    .metro .dataTables_wrapper .dataTables_length input:focus,
    .metro .dataTables_wrapper .dataTables_filter select:focus,
    .metro .dataTables_wrapper .dataTables_length select:focus {
        outline: 0;
        border-color: #919191;
    }

.metro .dataTables_wrapper .dataTables_length {
    float: left;
}

    .metro .dataTables_wrapper .dataTables_length select {
        margin: 0 5px;
    }

.metro .dataTables_wrapper .dataTables_filter {
    float: right;
}

    .metro .dataTables_wrapper .dataTables_filter input {
        margin-left: 5px;
    }

.metro .dataTables_wrapper .dataTables_paginate {
    float: right;
    text-align: right;
}

    .metro .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 4px 12px;
        text-align: center;
        vertical-align: middle !important;
        background-color: #d9d9d9;
        border: 1px transparent solid;
        color: #222222;
        border-radius: 0;
        cursor: pointer;
        display: inline-block;
        outline: none;
        font-family: 'Segoe UI Light_', 'Open Sans Light', Verdana, Arial, Helvetica, sans-serif;
        font-size: 14px;
        line-height: 16px;
        margin: auto;
        color: inherit;
        display: block;
        float: left;
        margin-right: 1px;
    }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.default {
            background-color: #008287;
            color: #fff;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button:focus {
            outline: 0;
            border: 1px #353535 dotted;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button:disabled,
        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
            background-color: #eaeaea !important;
            color: #bebebe !important;
            cursor: not-allowed !important;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button * {
            color: inherit;
        }

            .metro .dataTables_wrapper .dataTables_paginate .paginate_button *:hover {
                color: inherit;
            }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.primary {
            background-color: #16499a !important;
            color: #ffffff !important;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.info {
            background-color: #4390df !important;
            color: #ffffff !important;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.success {
            background-color: #60a917 !important;
            color: #ffffff !important;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.warning {
            background-color: #fa6800 !important;
            color: #ffffff !important;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.danger {
            background-color: #9a1616 !important;
            color: #ffffff !important;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.inverse {
            background-color: #1d1d1d !important;
            color: #ffffff !important;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.link {
            background-color: transparent !important;
            color: #2e92cf !important;
        }

            .metro .dataTables_wrapper .dataTables_paginate .paginate_button.link:hover {
                text-decoration: underline;
            }

            .metro .dataTables_wrapper .dataTables_paginate .paginate_button.link:disabled,
            .metro .dataTables_wrapper .dataTables_paginate .paginate_button.link.disabled {
                background-color: transparent !important;
                color: #bebebe !important;
                cursor: not-allowed !important;
            }

            .metro .dataTables_wrapper .dataTables_paginate .paginate_button.link [class*="icon-"] {
                text-decoration: none !important;
            }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button:active {
            background-color: #1d1d1d !important;
            color: #ffffff !important;
            border-color: transparent;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.large {
            padding: 11px 19px;
            font-size: 17.5px;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.small {
            padding: 2px 10px;
            font-size: 11.9px;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.mini {
            padding: 0px 6px;
            font-size: 10.5px;
        }

        .metro .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background-color: #4390df;
            color: #ffffff;
        }

.metro .dataTables_wrapper .dataTables_info {
    float: left;
}

.metro .dataTables_wrapper .dataTables_scrollHeadInner table {
    margin: 0 !important;
}

.metro .dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -2em;
    width: 200px;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.2);
}

.metro .dataTables_wrapper .dataTables_scroll {
    clear: both;
}

.metro .dataTables_wrapper:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}