﻿html {
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    color: #333;
    font-size: 12px;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    background: #EEE url(../Content/themes/images/binding_light.png);
}

a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
}

    a:link, a:visited,
    a:active {
        color: #0a263c;
    }

    a:hover {
        color: #0e76bd;
    }

.sub-menu a:hover {
    background-color: #0a263c;
}

.displayOnlyEditorField {
    padding: 10px;
}

.WideTextbox {
    width: 250px !important;
}

.WideDateTextbox {
    width: 180px !important;
}

header, footer, hgroup,
nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    padding: 0 0 5px 0;
    color: #0a263c;
}

    h1 span,
    h2 span,
    h3 span,
    h4 span,
    h5 span,
    h6 span {
        color: #57B3DF;
    }

h3,
h4,
h5,
h6 {
    padding-bottom: 15px;
}

h1 {
    font-size: 40px;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
    line-height: 32px;
    color: #0e76bd;
}

h2 {
    font-size: 22px;
    line-height: 28px;
    color: #0e76bd;
}

h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
}

h4 {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
}

h5 {
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
}

h6 {
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
}


/* main layout
----------------------------------------------------------*/
#header {
    position: relative;
    z-index: 20;
    padding: 20px;
}

/* ----------------------------------------------------------------
    Page Title
-----------------------------------------------------------------*/


#page-title,
#countdown-wrap {
    position: relative;
    background-color: #F5F5F5;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
}

    #page-title h2 {
        font-size: 24px;
        line-height: 28px;
        padding-bottom: 0;
        text-shadow: 1px 1px 1px #FFF;
        color: #555;
    }

        #page-title h2 span {
            display: inline-block;
            position: relative;
            font-size: 16px;
            line-height: 22px;
            margin-left: 10px;
            color: #AAA;
        }

#wrapper {
    width: 1020px;
    margin: 25px auto;
    position: relative;
    background-color: #FFF;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.container {
    width: 960px;
    margin: 0 auto;
    position: relative;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
    *zoom: 1;
}

* html .clearfix {
    height: 1%;
}
/* Hides from IE-mac \*/
.clearfix {
    display: block;
}

#body {
    background-color: #e6e6e6;
    clear: both;
    padding-bottom: 35px;
    min-height: 400px;
}

#content {
    position: relative;
}

.content-wrap {
    position: relative;
    padding: 10px 0;
    min-height: 300px;
}

a.btn {
    background-color: #123856;
    border: 1px solid #123856;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    margin-right: 8px;
    width: auto;
    text-decoration: none;
    color: white;
}


.dataTable tbody tr td.Edit {
    text-align: center;
}

tr.payroll td {
    border-bottom: 1px solid #777;
}

.bg-red {
    background-color: #ff7d7d !important;
}

.bg-orange {
    background-color: #ffc65c !important;
}

.bg-green {
    background-color: #61ff96 !important;
}

.legend p {
    font-weight: bold;
    position: relative;
    padding-left: 27px;
    /*display: inline-block;*/
    /*margin-left: 10px;*/
}

    .legend p:first-child {
        margin-left: 0;
    }

    .legend p span {
        display: block;
        width: 20px;
        height: 20px;
        position: absolute;
        left: 0;
        top: 50%;
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

header {
    padding-top: 10px;
    background: white;
}

#footer {
    position: relative;
    border-top: 3px solid #57B3DF;
}

    #footer.copyrights-light {
        background-color: #123856;
        color: #fff;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    }


/* site title
----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 2.3em;
    margin: 0;
}

    .site-title a, .site-title a:hover, .site-title a:active {
        background: none;
        color: #c8c8c8;
        outline: none;
        text-decoration: none;
    }

/* ----------------------------------------------------------------
    Primary Menu
-----------------------------------------------------------------*/


#primary-menu,
#lp-contacts {
    position: relative;
    float: right;
    max-width: 900px;
    height: 70px;
}

.rs-menu,
.select-menu {
    display: none;
}

#primary-menu ul {
    position: relative;
    margin: 0;
}

    #primary-menu ul li {
        position: relative;
        float: left;
        height: 70px;
        background: url("../Content/themes/base/images/icons/menu-divider.png") no-repeat left center;
        margin-left: 1px;
        list-style-type: none;
    }

        #primary-menu ul li:first-child {
            padding-left: 0;
            background-image: none;
            margin-left: 0;
        }

            #primary-menu ul li:first-child span {
                display: none;
            }

#primary-menu li a {
    display: inline-block;
    border-top: 4px solid transparent;
    padding: 20px 16px 27px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #444;
}

    #primary-menu li a span {
        display: block;
        margin-top: 2px;
        top: 0;
        color: #777;
        font-size: 11px;
        font-weight: normal;
        text-transform: capitalize;
    }

#primary-menu li i {
    margin-right: 2px;
}

#primary-menu li:first-child a span {
    display: block;
    top: 0;
}

#primary-menu > ul > li:hover,
#primary-menu ul li.current {
    background: #0a263c;
}

    #primary-menu ul li.current a,
    #primary-menu > ul > li:hover a {
        border-top-color: rgba(0,0,0,0.1);
        color: #FFF;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    }

        #primary-menu > ul > li:hover a span,
        #primary-menu ul li.current a span {
            color: #EEE;
        }


#primary-menu ul li:hover > ul {
    display: block;
}

#primary-menu ul ul {
    visibility: hidden;
    z-index: 200;
    width: 200px;
    margin: 0;
    position: absolute;
    top: 70px;
    left: -40px;
}

    #primary-menu ul ul li {
        display: block;
        float: none;
        margin: 0;
        padding: 0;
        height: auto;
        border: none;
        background-image: none;
        background-color: #0e76bd;
        margin-top: 1px;
    }

        #primary-menu ul ul li:first-child {
            border-top: 0;
            margin-top: 0;
        }

    #primary-menu ul ul ul {
        margin: 0;
        left: 201px !important;
        top: 0;
        *top: 1px;
    }

    #primary-menu ul ul a {
        display: block;
        min-height: 40px;
        line-height: 40px;
        padding: 0 15px;
        border: none;
        text-transform: capitalize;
        color: #FFF;
        font-weight: normal;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    }

        #primary-menu ul ul a:hover,
        #primary-menu ul ul li:hover > a {
            font-weight: bold;
            background-color: #0a263c;
        }

        #primary-menu ul ul a span {
            display: none !important;
        }

    #primary-menu ul ul ul li:first-child a {
        border-top: none;
    }

#primary-menu ul > li.sub-menu > a > div {
    background-image: url("../Content/themes/base/images/icons/mainsubmenu.png");
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 16px;
}

#primary-menu ul > li.sub-menu:hover > a > div,
#primary-menu ul li.current.sub-menu > a > div {
    background-image: url("../Content/themes/base/images/icons/mainsubmenuh.png");
}

#primary-menu ul ul > li.sub-menu > a,
#primary-menu ul ul > li.sub-menu:hover > a {
    background-image: url("../Content/themes/base/images/icons/submenu.png");
    background-position: right center;
    background-repeat: no-repeat;
}

    #primary-menu ul ul > li.sub-menu > a > div,
    #primary-menu ul ul > li.sub-menu:hover > a > div {
        background-image: none;
        padding-right: 0;
    }

#primary-menu ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

    #login a {
        background-color: #d3dce0;
        margin-left: 10px;
        margin-right: 3px;
        padding: 2px 3px;
        text-decoration: none;
        color: black;
    }

        #login a.username {
            background: none;
            margin: 0;
            padding: 0;
            text-decoration: underline;
        }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
    }


/* menu
----------------------------------------------------------*/
ul#menu {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 5px;
    padding: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu li a {
            background: none;
            color: #999;
            text-decoration: none;
        }

            ul#menu li a:hover {
                color: #333;
                text-decoration: none;
            }


/* page elements
----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
}

    .featured .content-wrapper {
        background-color: #7ac0da;
        background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
        background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        color: #3e5667;
        padding: 20px 40px 30px 40px;
    }

    .featured hgroup.title h1, .featured hgroup.title h2 {
        color: #fff;
    }

    .featured p {
        font-size: 1.1em;
    }

/* page titles */

hgroup.title {
    margin-bottom: 10px;
}

    hgroup.title h1, hgroup.title h2 {
        display: inline;
    }

    hgroup.title h2 {
        font-weight: normal;
        margin-left: 3px;
    }

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

        ol.round li.zero {
            background: url("../Images/orderedList0.png") no-repeat;
        }

        ol.round li.one {
            background: url("../Images/orderedList1.png") no-repeat;
        }

        ol.round li.two {
            background: url("../Images/orderedList2.png") no-repeat;
        }

        ol.round li.three {
            background: url("../Images/orderedList3.png") no-repeat;
        }

        ol.round li.four {
            background: url("../Images/orderedList4.png") no-repeat;
        }

        ol.round li.five {
            background: url("../Images/orderedList5.png") no-repeat;
        }

        ol.round li.six {
            background: url("../Images/orderedList6.png") no-repeat;
        }

        ol.round li.seven {
            background: url("../Images/orderedList7.png") no-repeat;
        }

        ol.round li.eight {
            background: url("../Images/orderedList8.png") no-repeat;
        }

        ol.round li.nine {
            background: url("../Images/orderedList9.png") no-repeat;
        }

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 55%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

    #loginForm .validation-summary-errors ul {
        margin: 0;
        padding: 0;
    }

    #loginForm .validation-summary-errors li {
        display: inline;
        list-style: none;
        margin: 0;
    }

    #loginForm input {
        width: 250px;
    }

        #loginForm input[type="checkbox"],
        #loginForm input[type="submit"],
        #loginForm input[type="button"],
        #loginForm button {
            width: auto;
        }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom: 5px;
    }

#socialLoginList button {
    margin-bottom: 12px;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

label {
    display: block;
}

    label.checkbox {
        display: inline;
    }

input.hasDatepicker {
    width: 100px;
}

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
}

tr.red {
    background-color: red !important;
}

span.custom-combobox input {
    width: 300px !important;
    vertical-align: middle;
}

.ui-datepicker-calendar thead tr th {
    font-size: 1em;
}

textarea {
    font-family: inherit;
    width: 500px;
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="text"], input[type="password"], select, textarea {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #FFFFFF;
    border-color: #DDDDDD;
    border-image: none;
    border-right: 1px solid #DDDDDD;
    border-style: solid;
    border-width: 2px 1px 1px;
    color: #666666;
    outline: 0 none;
    padding: 3px;
}


    input[type="text"]:focus {
        border: 1px solid blue;
    }
/*input[type="submit"],
input[type="button"],
button {
    background-color: #123856;
    border: 1px solid #123856;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    width: auto;
}*/

td input[type="submit"],
td input[type="button"],
td button {
    font-size: 1em;
    padding: 4px;
    margin-right: 4px;
}

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.infomsg {
    background: none repeat scroll 0 0 #B9DFF4;
    color: #124F70;
}

.style-msg, .style-msg2 {
    border-left: 4px solid rgba(0, 0, 0, 0.1);
    display: block;
}

.display-label {
    background-color: white;
}

.display-field {
    background-color: white;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}


.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/* tables
----------------------------------------------------------*/
table {
    border-spacing: 2px;
    margin-top: 0.75em;
    border: 1px solid #DFDFDF;
    background-color: #F9F9F9;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #333;
    text-align: center;
    width: 100%;
}


    table.Centered tbody tr td {
        text-align: center;
    }

tr.SumRow td {
    background-color: grey;
    color: white;
}

tr.TotalRow td {
    background-color: grey;
    color: white;
    font-weight: bold;
    font-size: 16px;
    height: 30px;
    text-align: center;
}

table.JobDetails tr td {
    text-align: left;
}


table.JobDetails tr.WorkItem td {
    text-align: center;
    height: 40px;
}

.HasActuals {
    background-color: #5ff33d !important;
}

.Prepped {
    background-color: #75c7e0 !important;
}

.Poured {
    background-color: #af8bcc !important;
}

.HasRemainingPours {
    background-color: yellow !important;
}

table#selectedWorkDetails tr td.Green {
    background-color: #5ff33d;
}


table#selectedWorkDetails tr td.Red {
    background-color: #f37d3d;
}

.reduced-table {
    width: 550px;
}

.reduced-table2 {
    width: 650px;
}

th {
    font-size: 1.40em;
    border: none 0px;
    padding: 5px;
    text-align: center;
    background-color: #1077c2;
    color: #fff;
}

tr.SubHeaders th {
    font-size: 1em;
    border: none 0px;
    background-color: none;
    text-align: center;
    color: black;
}


tr {
    background-color: rgb(235, 235, 235);
    color: #000;
}

th a {
    display: block;
    position: relative;
}

    th a:link, th a:visited, th a:active, th a:hover {
        color: #333;
        font-weight: 600;
        text-decoration: none;
        padding: 0;
    }

    th a:hover {
        color: #9fa5ac;
    }

th.asc a, th.desc a {
    margin-right: .75em;
}

    th.asc a:after, th.desc a:after {
        display: block;
        position: absolute;
        right: 0em;
        top: 0;
        font-size: 0.75em;
    }

    th.asc a:after {
        content: '▲';
    }

    th.desc a:after {
        content: '▼';
    }

td {
    /*padding: 0.25em 2em 0.25em 0em;*/
    padding: 5px;
    /*border: 1px solid white;*/
}

.filter-label {
    width: 75px;
}

.filter-box {
    width: 250px;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}

/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) {

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

            #login a:hover {
                color: #333;
            }

    /* menu */
    nav {
        margin-bottom: 5px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }


    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }
}

/* PANEL ------------------------------------------------------*/

.ContentBox {
    width: 100%;
    margin: 0px auto;
}

.ColHalf {
    width: 49.5%;
    float: left;
    margin: 0px auto;
    padding-bottom: 5px;
}

.ColQuarter {
    width: 23%;
    float: left;
    margin: 0px auto;
}

.ColThreeQuater {
    width: 73%;
    float: left;
    margin: 0px auto;
}

.Header {
    height: 110px;
    margin-top: 10px;
}

.MultiSelect {
    height: 100%;
    width: 100%;
}

.two-col {
    float: left;
    width: 48%;
    margin: 0 auto;
    text-align: center;
}

.summary-row {
    border-top: 1px solid grey;
    font-size: 0px;
    margin: 0;
    padding: 0;
}

/*dropdown datalist for job */

.custom-dropdown {
    position: relative;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}

    .custom-dropdown:before {
        content: "";
        display: block;
        width: 0;
        height: 1px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid #828282;
        position: absolute;
        top: 9px;
        right: 7px;
        z-index: 0;
    }

    .custom-dropdown input[type="text"] {
        width: 90%;
        padding-right: 25px;
        margin: 0;
        background-color: transparent;
        z-index: 1;
        position: relative;
        border: 0;
    }

.ui-autocomplete {
    max-height: 400px;
    overflow-y: auto;
}

.attachment-group {
    position: relative;
    padding-left: 40px;
    margin-bottom: 5px;
}

    table .attachment-group input {
        width: -moz-calc(100% - 40px);
        width: -o-calc(100% - 40px);
        width: -webkit-calc(100% - 40px);
        width: calc(100% - 40px);
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        max-width: 100%;
    }

    .attachment-group .remove {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        cursor: pointer;
        padding: 5px 10px;
        height: 26px;
        width: 32px;
        text-align: center;
        border: 1px solid #e2e2e2;
        font-size: 1.2em;
        margin: 5px 0 6px 0;
    }

    table .attachment-group .remove {
        left: auto;
        right: 0;
    }

    table .attachment-group {
        padding-left: 0;
        margin-bottom: 0;
    }

        .attachment-group input {
            width: 100%;
            max-width: 420px;
        }

            .attachment-group input[type="checkbox"] {
                width: auto;
                position: relative;
                margin-right: 5px;
                margin-left: 10px;
            }



#attachments.attach-container {
    margin-bottom: 30px;
}

    #attachments.attach-container .attachment-group {
        background: #ebebeb;
        border-radius: 3px;
        margin-bottom: 7px;
        padding: 5px 10px;
        padding-right: 50px;
    }

        #attachments.attach-container .attachment-group .remove {
            height: 30px;
            width: 35px;
            margin: 0;
            left: auto;
            right: 10px;
            top: 50%;
            -moz-transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            transform: translateY(-50%);
            background-color: #f2f2f2;
        }


    .ql-container.ql-snow {
        height: auto;
    }

    .ql-container.ql-snow .ql-editor {
        height: 180px;
        resize: vertical;
        overflow-y: scroll;
        font-size: 1rem;
    }

        .ql-container.ql-snow .ql-editor dl, .ql-container.ql-snow .ql-editor ol, .ql-container.ql-snow .ql-editor ul {
            margin-top: 0;
            margin-bottom: 1rem;
        }

table.form-table {
    border-spacing: 1px;
    border: 0;
    background-color: transparent;
    text-align: left;
    width: 100%;
}

table.form-table tr {
    background-color: transparent;
}

table.form-table td {
    padding: 0 0 20px;
    vertical-align: top;
}

table.form-table td a {
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
}

table.form-table + h5 {
    margin-top: 10px;
    margin-bottom: 0;
    padding-bottom: 0;
}




.table-container {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    max-height: 70vh;
    max-height: -moz-calc(70vh + 80px);
    max-height: -o-calc(70vh + 80px);
    max-height: -webkit-calc(70vh + 80px);
    max-height: calc(70vh + 80px);
}


    .table-container table {
        position: relative;
    }

        .table-container table th,
        .table-container table td {
            text-align: left;
        }

        .table-container table tr th {
            font-size: 14px;
            position: sticky;
            top: 0;
        }

            .table-container table tr td:last-of-type {
                text-align: center;
            }

                .table-container table tr td:last-of-type a {
                    margin-bottom: 7px;
                }

                    .table-container table tr td:last-of-type a:last-of-type {
                        margin-bottom: 0;
                    }

                .table-container table td ul {
                    padding-left: 15px;
                }

