﻿/*#region SETUP  */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    border: none;
    font: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

#container {
    min-height: 100%;
    position: relative;
}

/* ############## Look at removing the * universal selector once new scrollbar in place ################ */

* html #container {
    height: 100%;
}

/*#endregion */

/*#region COMMON */

div.clear {
    clear: both;
    height: 0;
    line-height: 0;
}

.r4 {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.hand {
    cursor: pointer !important;
}

a, body, h1, h2, h3, h4, h5, input, p, select, textarea, td, th {
    color: #333;
    font: normal 13px arial, verdana, sans-serif;
}

h1, h2 {
    font: bold 16px arial, verdana, sans-serif;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

hr {
    background-color: #ddd; /* Modern Browsers */
    border: none;
    /* Set the hr color */
    color: #ddd; /* old IE */
    height: 1px;
    margin-bottom: 15px;
}

strong, b {
    font-weight: bold;
}

div.messagebox {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 7px 10px 6px 10px;
    position: relative;
}

    div.messagebox img {
        cursor: pointer;
        position: absolute;
        right: 6px;
        top: 3px;
    }

    div.messagebox a {
        font-weight: bold;
    }

    div.messagebox.confirmation {
        background-color: #e0f2cb;
        border: solid 1px #ccebac;
        color: #6da827;
    }

        div.messagebox.confirmation a {
            color: #365313;
        }

    div.messagebox.error {
        background-color: #fbd3b1;
        border: solid 1px #f5c69a;
        color: #661300;
    }

        div.messagebox.error a {
            color: #ce2700;
        }

.error {
    color: #ce2700;
}

.group:after {
    content: "";
    display: table;
    clear: both;
}

.group .column {
    box-sizing: border-box;
    float: left;
    margin: 0;
}

.group > .column {
    width: 840px;
}

    .group > .column > .group > .column {
        width: 420px;
    }

/*#endregion */

/*#region TELERIK */

.Telerik.reWrapper {
    border: solid 1px #ddd !important;
}

.reToolBar li {
    height: 30px;
}

.RadWindow .rwDialogContent {
    padding: 2.6em 0 1em 6em !important;
}

.RadWindow .rwDialogButtons input {
    margin-bottom: 3px !important;
}

.rtUL {
    white-space: normal;
}

.rtLI {
    position: relative;
}

span.rtPlus::before, span.rtMinus::before {
    content: none !important;
}

span.rtPlus, span.rtMinus {
    height: 15px !important;
    width: 15px !important;
}

.rtLI .rtPlus {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFlJREFUeNpi/P//PwMlgImBQkCxAYwuLi5Y/bBx8xZGdDEuDnYMdSwgYvfu3SiKXV1diQ4YFlwS/r4+GIagW4TTAGwKcblq4GNhGBjAQmq8Y6TEoZ+ZAAIMAOQ9GAQgS8DVAAAAAElFTkSuQmCC') /*/admin/images/closed.png*/ top left no-repeat;
    background-position: 0 -2px !important;
}

.rtLI .rtMinus {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAK9JREFUeNpi/P//PwMlgImBQkCxAYwuLi5Y/bBx8xZGXJq4ONjhbBYQUQdUbAwV+Hm6myGs6eB/Ul2AbhsuA1DU7d69G2sYiEIVomN0NVgDURGIL0FdgI4ZkNggNbroBvCDwg6Iu3G4AIQFgPgyVM1lZAOYgXgREJ8C4j4c/seqhgVKt0NdEIonwLGqgRkQCMRWQPwLh+YEXGpgBqgA8SsCUa4HxK8x4nXoZyaAAAMA6k0uJoFjMhcAAAAASUVORK5CYII=') /*/admin/images/open.png*/ top left no-repeat;
    background-position: 0 -2px !important;
}

.rtLI .rtIn {
    font-size: 12px;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.rtLI .file::before {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUeNpi/P//PwMlgNHFxYVoE3bv3s2ILsaCSwIduLq6YrWIiYFCwELIFkKuYyFF8agLBqsLqJOQcCVTojITpbmRYi8ABBgAV6gov8zKQ0gAAAAASUVORK5CYII=') /*/admin/images/file.png*/ top left no-repeat;
    content: "";
    height: 15px;
    left: 5px;
    position: absolute;
    top: 6px;
    width: 15px;
}

.rtLI .empty::before {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAK9JREFUeNpi/P//PwMlgImBQkCxAYwuLi5Y/bBx8xZGXJq4ONjhbBYQUQdUbAwV+Hm6myGs6eB/Ul2AbhsuA1DU7d69G2sYiEIVomN0NVgDURGIL0FdgI4ZkNggNbroBvCDwg6Iu3G4AIQFgPgyVM1lZAOYgXgREJ8C4j4c/seqhgVKt0NdEIonwLGqgRkQCMRWQPwLh+YEXGpgBqgA8SsCUa4HxK8x4nXoZyaAAAMA6k0uJoFjMhcAAAAASUVORK5CYII=') /*/admin/images/open.png*/ top left no-repeat;
    content: "";
    height: 15px;
    left: 5px;
    position: absolute;
    top: 7px;
    width: 15px;
}

.riDisabled {
    background-color: #f5f5f5 !important;
    border-color: #E0E0E0 !important;
    box-shadow: none !important;
    color: #999 !important;
}

/*.RadPicker .RadInput input.riTextBox {
    width: 160px !important;
}*/

.RadGrid .rgRow > td, .RadGrid .rgAltRow > td {
    border-bottom: 1px solid #ddd !important;
    border-left: 1px solid #ddd !important;
}

.RadForm.RadForm_Bootstrap.rfdTextarea textarea[disabled].rfdDecorated,
.RadForm.RadForm_Bootstrap.rfdTextarea textarea[disabled].rfdDecorated:hover,
.RadForm.RadForm_Bootstrap.rfdTextarea textarea[disabled="disabled"],
.RadForm.RadForm_Bootstrap.rfdTextarea textarea[disabled="disabled"]:hover,
.RadForm.RadForm_Bootstrap.rfdTextbox .rfdInputDisabled,
.RadForm.RadForm_Bootstrap.rfdTextbox input[disabled][type="text"].rfdInputDisabled,
.RadForm.RadForm_Bootstrap.rfdTextbox input[disabled][type="text"].rfdInputDisabled:hover {
    background: #eee !important;
}

.rgRow > td:hover, .rgAltRow > td:hover {
    cursor: pointer;
}

.RadDropDownList .rddlFakeInput {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
}

.RadUpload .ruBrowse {
    margin-left: 0 !important;
}

table.form input[type="text"].rfdDecorated,
table.form input[type="password"].rfdDecorated,
table.order input[type="text"].rfdDecorated,
table.order input[type="password"].rfdDecorated {
    width: 300px !important;
}

table.form input[type="text"].small.rfdDecorated,
table.form input[type="password"].small.rfdDecorated,
table.order input[type="text"].small.rfdDecorated,
table.order input[type="password"].small.rfdDecorated {
    width: 95px !important;
    text-align: center;
}

table.form div.subnav input.rfdDecorated {
    width: 160px;
}

table.form .RadDropDownList,
table.order .RadDropDownList {
    width: 325px !important;
}

table.form .RadDropDownList_Bootstrap .rddlInner,
table.order .RadDropDownList_Bootstrap .rddlInner {
    height: 20px !important;
}

.RadEditor.reWrapper .reToolCell {
    padding-top: 1px;
}

.reEditorModesCell a {
    border-color: #ccc;
}

/*#endregion */

/*#region HEADER */

#header {
    background-color: #fff;
    display: block !important;
    padding: 12px 0 5px 15px;
    }



/*#endregion */

/*#region NAV */

div.nav {
    background-color: #659899;
    border-bottom: solid 1px #fff;
    border-top: solid 1px #659899;
    clear: both;
    overflow: auto;
    width: 100%;
	padding: 6px 0;
	
}

    div.nav ul {
        margin: 0 5px;
        padding: 0;
    }

        div.nav ul li {
            display: block;
            float: left;
            margin: 4px;
        }

            div.nav ul li a {
                color: #fff;
                display: block;
               padding: 5px 10px;
                text-decoration: none;
				font-size: 14px
            }

    div.nav a.selected {
        background-color: #384B5B;
        color: #fff;
    }

    div.nav a:hover {
        color: #fff;
    }

    div.nav ul li.right {
        float: right;
    }

/*#endregion */

/*#region CONTENT */

#content {
    background: #fff;
    border-top: solid 1px #fff;
    padding: 40px 15px 50px 15px;
	font-size: 13px
}

a.button,
input[type="button"].button {
    background-color: #fff;
    border: 1px solid #384B5B;
    border-radius: 0.33333em;
    color: #333;
    display: inline-block;
    line-height: 18px;
    padding: 0.58571em 0.85714em 0.48571em 0.85714em;
    text-decoration: none;
    vertical-align: super;
    width: auto;
    cursor: pointer;
}

    a.button:hover,
    input[type="button"].button:hover {
        background-color: #e0e0e0;
        border-color: #c2c2c2;
    }

    a.button.selected,
    input[type="button"].button.selected {
        background-color: #384B5B;
        color: #fff;
        cursor: default;
    }

    a.button.nohover:hover {
        background-color: #bbb !important;
        color: #333 !important;
    }

#content > ul {
    margin: 0 0 15px 20px;
}

/*#endregion */

/*#region SUB NAV */

div.subnav {
    margin: 0;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 0;
    padding-bottom: 3px;
    width: 100%;
}

    div.subnav ul {
        margin: 0 !important;
        padding: 0;
    }

        div.subnav ul li {
            display: block;
            float: left;
            line-height: 30px;
            margin: 0;
            margin-right: 8px;
        }

            div.subnav ul li.right {
                float: right;
                margin: 0;
                margin-left: 8px;
            }

    div.subnav.add ul {
        margin-left: 110px !important;
    }

/*#endregion */

/*#region FORM ELEMENTS */

/*
input, select, textarea {
    border: 1px solid #efefef;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    font: 1.0em Arial, sans-serif;
    background-color: #eee;
    padding: 4px;
}

    input.disabled, select.disabled, textarea.disabled {
        color: #999;
    }

    input:focus, select:focus, textarea:focus {
        background-color: #f9f9f9;
    }
*/

span.checkbox input {
    border: 0 !important;
    height: 24px;
    padding: 0 !important;
    width: auto !important;
}

span.radios label {
    margin: 0 15px 0 5px;
}

div.upload {
    height: 30px;
    position: relative;
    width: 275px;
    display: inline-block;
}

    div.upload input.file {
        -moz-opacity: 0;
        filter: alpha(opacity: 0);
        height: 30px;
        opacity: 0;
        position: relative;
        width: 250px;
        z-index: 2;
    }

    div.upload.disabled input.file {
        -moz-opacity: 0;
        filter: alpha(opacity: 0);
        opacity: 0;
        position: relative;
    }

    div.upload div.mask {
        left: 0;
        position: absolute;
        top: 0;
        z-index: 1;
    }

        div.upload div.mask input {
            left: 0;
            position: absolute;
            top: 0;
        }

    div.upload.disabled div.mask input {
        background-color: #f5f5f5 !important;
        border-color: #E0E0E0 !important;
        box-shadow: none !important;
        color: #999 !important;
    }

    div.upload div.mask a {
        left: 183px;
        position: absolute;
        top: 0;
    }

div.note {
    position: absolute;
    left: 340px;
    top: 6px;
    width: 250px;
    color: #999;
}

div.note.textarea {
    left: 440px;
}

div.preview,
div.download {
    display: block;
    position: relative;
    margin-top: 9px;
}

div.preview {
    max-width: 100px;
}

    div.preview a,
    div.download a {
        display: block;
        float: left;
    }

        div.preview a.delete,
        div.download a.delete {
            display: block;
            width: 15px;
            height: 15px;
        }

        div.preview a.delete {
            position: absolute;
            top: 3px;
            right: 3px;
        }

        div.download a.delete {
            float: left;
            margin-left: 5px;
        }

        div.preview a img {
            width: 100%;
        }

div.related img {
    max-width: 100px;
    vertical-align: middle;
}

div.related span {
    vertical-align: middle;
}

table .permissions input {
    margin-right: 5px;
}

textarea.xlarge {
    height: 100px;
    width: 600px !important;
}

/*#endregion */

/*#region LIST TABLE */

div.list {
    margin-bottom: 15px;
}

    div.list table {
        border: none; /*1px solid #FFF;*/
        border-collapse: collapse;
        border-left: solid 1px #ddd !important;
        border-top: solid 1px #ddd !important;
        width: 100%;
    }

        div.list table th {
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            background-color: #f5f5f5;
            border-bottom: solid 1px #ddd !important;
            border-right: solid 1px #ddd !important;
            box-sizing: border-box;
            font-weight: normal;
            height: 35px;
            line-height: 16px;
            padding: 5px 7px 4px 7px !important;
            white-space: nowrap;
        }

            div.list table th a {
                color: #333;
                text-decoration: none;
            }

        div.list table td {
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            border: none !important;
            border-bottom: solid 1px #ddd !important;
            border-right: solid 1px #ddd !important;
            box-sizing: border-box;
            height: 35px;
            line-height: 16px;
            padding: 5px 7px 4px 7px !important;
        }

        div.list table tr {
            background-color: #fff;
        }

            div.list table tr:hover {
                background-color: #eee;
            }

            div.list table tr.paging {
                background-color: #eee;
            }

                div.list table tr.paging table {
                    border: none !important;
                    width: auto !important;
                }

                    div.list table tr.paging table td {
                        border: none !important;
                        padding: 0;
                        padding-right: 5px;
                    }

                    div.list table tr.paging table tr:hover {
                        background-color: transparent !important;
                    }

        div.list table.items th, div.list table.items td {
            text-align: center;
            width: 15%;
        }

            div.list table.items th.description, div.list table.items td.description {
                text-align: left;
                width: 55%;
            }

            div.list table.items td input {
                text-align: center;
                width: 60px;
            }

        div.list table.items tr.total td {
            background-color: #f5f5f5;
            font-size: 1.2em;
            font-weight: bold;
        }


/*#endregion */

/*#region DETAILS TABLE */

div.notes {
    margin: 0 12px 15px 0;
}

    div.notes p {
        margin: 5px;
    }

    div.notes textarea {
        height: 60px;
        width: 100%;
    }

div.details {
    margin-bottom: 15px;
}

    div.details table {
        border: none; /*1px solid #FFF;*/
        border-collapse: collapse;
        border-left: solid 1px #ddd !important;
        border-top: solid 1px #ddd !important;
        width: 100%;
    }

        div.details table th, div.details table td {
            border-bottom: solid 1px #ddd !important;
            border-right: solid 1px #ddd !important;
            padding: 8px 10px;
            text-align: left;
            width: 50%;
        }

        div.details table th {
            background-color: #f5f5f5;
            /*font-weight: bold;*/
        }

div.upload .RadUpload li.ruFileLI {
    float: right;
}

div.details table td span {
    display: inline-block;
    width: 100px;
}

/*#endregion */

/*#region GRID TABLE */

div.grid {
    border: solid 1px #ddd;
    margin-bottom: 15px;
}

    div.grid table {
        border: none; /*1px solid #FFF;*/
        border-collapse: collapse;
        border-left: solid 1px #fff !important;
        border-top: solid 1px #fff !important;
        width: 100%;
    }

        div.grid table th {
            background-color: #aaa;
            border-bottom: 1px solid #777;
            border-right: solid 1px #fff !important;
            font-weight: normal;
            line-height: 16px;
            padding: 3px 10px !important;
            white-space: nowrap;
        }

            div.grid table th a {
                color: #333;
                text-decoration: none;
            }

        div.grid table td {
            border: none !important;
            border-bottom: solid 1px #fff !important;
            border-right: solid 1px #fff !important;
            padding: 3px;
        }

            div.grid table td .RadEditor table, div.grid table td .RadEditor table td {
                border: none 0 !important;
                padding: 0;
            }

/*#endregion */

/*#region FORM TABLE */

table.form {
    border-collapse: collapse;
    margin-bottom: 15px;
    width: 100%;
}

    table.form select,
    table.form textarea {
        width: 300px !important;
    }

    table.form textarea.reTextArea {
        width: 100% !important;
    }

    table.form input.price {
        font: normal 12px/18px arial, verdana, sans-serif !important;
        padding: .42857em .85714em;
        width: 75px;
    }

    table.form > tbody > tr > td {
        border: none !important;
        padding: 3px;
        vertical-align: top;
        position: relative;
    }

td.subheading {
    font-size: 14px;
    font-weight: bold;
    padding: 10px 0 !important;
}

td.label {
    padding-left: 0 !important;
    padding-top: 8px !important;
    width: 125px;
}

input.large {
    width: 275px !important;
}

input.medium {
    width: 175px !important;
}

select.medium {
    width: 185px !important;
}

input.small {
    width: 60px !important;
}

select.small {
    width: 70px !important;
}

table.form span.note {
    display: inline-block;
    padding: 9px 0 0 10px;
    line-height: 14px;
    color: #999;
}

/*#endregion */

/*#region ORDER TABLE */

table.order {
    border-collapse: collapse;
    margin-bottom: 15px;
    width: 722px;
}

    table.order select {
        width: 225px !important;
    }

    table.order textarea {
        box-sizing: border-box;
        width: 100% !important;
    }

    table.order td {
        border: none !important;
        padding: 3px 0;
        vertical-align: top;
    }

        table.order td:nth-of-type(2) {
            padding-right: 20px;
        }

    table.order tr.header td {
        background-color: #eee;
        height: 24px;
        line-height: 24px;
        font-weight: bold;
        padding: 3px 5px;
    }

    table.order td.text {
        padding: 8px 0 !important;
    }

td.pic {
    width: 140px;
}

    td.pic img {
        width: 100%;
    }

table.order td.desc {
    padding: 8px 20px !important;
}

td.quantity {
    padding: 8px 0 !important;
    width: 100px;
    text-align: center;
}

td.price {
    padding: 8px 0 !important;
    width: 100px;
    text-align: center;
}

/*#endregion */

/*#region FOOTER */

#footer {
    border-top: solid 1px #fff;
    height: 30px;
    margin-top: -31px;
    position: relative;
}

#footercontent {
    background: #659899;
    border-top: solid 2px #fff;
    color: #fff;
    padding: 10px 20px;
}

    #footercontent a {
        color: #fff;
        display: inline;
        font-weight: normal;
        margin: 0;
        padding: 0;
        text-decoration: none;
    }

        #footercontent a:hover {
            color: #333;
        }

/*#endregion */
