﻿html {
    /*background-color: #e2e2e2;*/
    margin: 0;
    padding: 0;
}

body {
    /*background-color: #fff;*/
    min-width: 650px;
    position:absolute;
    width: 100%;
    height: 100%;
    color: #333;
    font-size: .85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    font-size:1.1em;
}
header {
    /*background:#206D83;*/
    background: #105D73;
    color: white;
    height: 50px;
}
h1 {
    margin: 0px;
}

.logo .drawing {
    fill: white;
}

.logo .rect {
    fill: none;
}

#secReportTabs {
    float: left;
    width: 25%;
    margin: 0px;
}

    #secReportTabs ul {
        margin: 0px;
        padding:0px;
    }

    #secReportTabs li.GroupHeader {
        list-style-type: none;
        background: #eeeeee;
        margin: 2px;
    }
    #secReportTabs li.ReportLink {
        list-style-type: square;
        margin: 2px;
    }

    #secReportTabs li.GroupHeader ul {
        margin-left: 20px;
        padding:6px;
    }

    #secReportTabs input {
        width: 100%;
        font-weight:bold;
        font-size:16px;
    }
    #secReportTabs a.ReportLink {
        margin:12px;
        font-size:16px;
        display: block;
    }

    #secReportTabs a.active {
        font-weight:bold
    }

    #secReportTabs a.GroupHeader {
        font-size: 18px;
        text-decoration: none;
        display: block;
        background: #dddddd;
        list-style: none;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: 20px;
        padding-right: 10px;
    }

#secReportView {
    float: right;
    width: 74%;
}

a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
}
a.delete
{
	background: url(Images/delete.png) no-repeat center center;
	display: inline-block;
	/*margin:-3px;*/
	background-size:16px;
	width: 16px;
	height: 16px;
	text-indent: -9999px;
}
a.edit
{
	background: url(Images/edit.png) no-repeat center center;
	display: inline-block;
	/*margin:-3px;*/
	background-size:16px;
	width: 16px;
	height: 16px;
	text-indent: -9999px;
}
a.up
{
	background: url(Images/up.png) no-repeat center center;
	display: inline-block;
	/*margin:-3px;*/
	background-size:16px;
	width: 16px;
	height: 16px;
	text-indent: -9999px;
}

    a:link, a:visited,
    a:active, a:hover {
    }

    a:hover {
    }

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;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.60em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

/* The switch - the box around the slider */
label.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
label.switch input {display:none;}

/* The slider */
label.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

label.switch .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

label.switch input:checked + .slider {
  background-color: #65A75B;
}

label.switch input:focus + .slider {
  box-shadow: 0 0 1px #65A75B;
}

label.switch input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
label.switch .slider.round {
  border-radius: 34px;
}

label.switch .slider.round:before {
  border-radius: 50%;
}

label.switch.disabled {
    opacity:0.4;
    pointer-events: none;
}

/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
}

.main-content {
    background: url("Images/accent.png") no-repeat;
    padding-left: 10px;
    padding-top: 30px;
}

.featured + .main-content {
    background: url("Images/heroAccent.png") no-repeat;
}

header .content-wrapper {
    padding-top: 20px;
}

footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: .8em;
    height: 100px;
}


/* site title
----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    line-height: 48px;
    padding-left:10px;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    font-size: 24px;
    margin: 0;
    float:left;
}

    .site-title a, .site-title a:hover, .site-title a:active {
        background: none;
        color: white;
        outline: none;
        display:inline;
        text-decoration: none;
        white-space:nowrap;

    }
    .site-title * {
        vertical-align:middle;
    }
.site-info {
    float:right;
    text-align:right;
    margin:2px;
    color:white;

}

    .site-info a {
        color:white;
    }

    .site-info td {
        padding: 0px 10px 0px 0px;
    }

    
#serverTime {
    font-size:22px;
    line-height:22px;
    margin:0px;
    padding:0px;
}
#serverDate {
    font-size:10px;
    margin:0px;
    line-height:10px;
    padding:0px;
}
/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

    #login a {
        background: none;
        color: white;
        margin-left: 10px;
        margin-right: 3px;
        padding: 2px 3px;
    }

        #login a.username {
            background: none;
            color: white;
            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: left;
}

    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 */
#login-form {
    float: none;
    width: 300px;
    margin: 0 auto;
}

    #login-form input {
        width: 100%;
    }
    #login-form .right-text {
        float: right;
    }
#center-form {
    float:none;
    width: 260px;
    margin: auto;
}

    #center-form .right-text {
        margin-right: 10px;
        float:right;
    }

    #center-form input {
        width: 250px;
    }

        #center-form input[type="checkbox"],
        #center-form input[type="submit"],
        #center-form input[type="button"],
        #center-form button {
            width: auto;
        }

.validation-error {
    display: block;
}

.validation-summary-errors ul {
    margin: 0;
    padding: 0;
    overflow: auto;
}

.validation-summary-errors li {
    display: inline;
    list-style: none;
}

#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;
    font-size: 1.2em;
    font-weight: 600;
}

    label.checkbox {
        display: inline;
    }

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
}

select {
    border: 1px solid #e2e2e2;
    font-size: 1.2em;
    padding: 4px;
    margin: 5px 0 6px 0;
}


/* No Spacing table*/
table.nospacing {
    margin:0px;
    padding:0px;
}
table.nospacing tr {
    margin:0px;
    padding:0px;
}
table.nospacing td{
    margin:0px;
    padding:0px;
}
table.nospacing tbody{
    margin:0px;
    padding:0px;
}

/* history */
table.history {
    background: #eeeeee;
}

table.history tr {
    width:100%;
}

table.history tr:nth-child(even) {
    background-color: white;
}

table.history :not(thead) tr:hover {
    background-color: lightgray;
}

table.history td {
    padding: 5px;
}

/* WorkSummary */
table.WorkSummary {
    background: #eeeeee;
}

table.WorkSummary tr {
    width:100%;
}

table.WorkSummary tr:nth-child(even) {
    background-color: white;
}

table.WorkSummary thead {
    background: #1384A2;
    color: white;
    font-weight: 600;
}

    table.WorkSummary thead th {
        padding: 0px 5px;
    }

    table.WorkSummary thead a {
        color: white;
        font-weight: bold;
    }

table.WorkSummary :not(thead) tr:hover {
    background-color: lightgray;
}

table.WorkSummary td {
    padding: 0px 5px;
}

table.WorkSummary td.EditColumn {
    width:40px
}

/* Listing Grid */
table.ListingGrid {
    background: white;
    color:black;
}

table.ListingGrid thead {
    background: #1384A2;
    color: white;
    font-weight: 600;
}

    table.ListingGrid thead th {
        padding: 0px 5px;
        font-weight: 600;
    }

    table.ListingGrid thead a {
        color: white;
        font-weight: 600;
    }

table.ListingGrid td {
    border: 1px solid lightgrey;
    padding: 0px 5px;
}

table.ListingGrid td.EditColumn {
    width:40px
}
table.ListingGrid td.DeleteColumn {
    width:40px;
    text-align:center;
}

td.HiddenColumn {
    display:none;
}
/* Results Grid */
table.ResultsGrid {
    background: white;
    color:black;
}

table.ResultsGrid thead {
    background: #1384A2;
    color: white;
    font-weight: 600;
}

    table.ResultsGrid thead th {
        padding: 0px 5px;
        font-weight: 600;
    }

    table.ResultsGrid thead a {
        color: white;
        font-weight: 600;
    }

table.ResultsGrid :not(thead) tr:hover {
    background-color: lightgray;
}

table.ResultsGrid tr td {
    border: 1px solid lightgrey;
    padding: 0px 5px;
}

table.ResultsGrid tr td.EditColumn {
    width:40px
}
table.ResultsGrid tr td.DeleteColumn {
    width:40px;
    text-align:center;
}

td.HiddenColumn {
    display:none;
}

/* ListResultsGrid Grid */
table.ListResultsGrid {
    background: white;
    color:black;
}

table.ListResultsGrid thead {
    background: #1384A2;
    color: white;
    font-weight: 600;
}
table.ListResultsGrid tbody {
    height: 100px;       /* Just for the demo          */
    overflow-y: auto;    /* Trigger vertical scroll    */
    overflow-x: hidden;  /* Hide the horizontal scroll */
}
    table.ListResultsGrid thead th {
        padding: 0px 5px;
        font-weight: 600;
    }

    table.ListResultsGrid thead a {
        color: white;
        font-weight: 600;
    }

table.ListResultsGrid :not(thead) tr:hover {
    background-color: #53B4E2;
    color:white;
}

table.ListResultsGrid :not(thead) tr {
    cursor: pointer;
}

table.ListResultsGrid td {
    border: 1px solid lightgrey;
    padding: 0px 5px;
}

table.ListResultsGrid tr:nth-child(even) {
    background-color: #F3F3F3;
}
table.ListResultsGrid td.EditColumn {
    width:40px
}
table.ListResultsGrid td.DeleteColumn {
    width:40px;
    text-align:center;
}


/* Locations Grid */
table.Locations {
    background: #eeeeee;
}

table.Locations tr {
    width:100%;
}

table.Locations tr.Level0{
    background-color: #cccccc;
}

table.Locations tr.Level1 {
    background-color: white;
}

table.Locations tr.Level2 {
    background-color: #dddddd;
}

table.Locations tr.Level3 {
    background-color: white;
}
table.Locations tr.Level4 {
    background-color: #eeeeee;
}

table.Locations thead {
    background: #1384A2;
    color: white;
    font-weight: 600;
}

    table.Locations thead th {
        padding: 0px 5px;
    }

    table.Locations thead a {
        color: white;
        font-weight: 600;
    }


table.Locations td {
    padding: 0px 5px;
}

table.Locations td.EditColumn {
    width:40px
}

/* SelectionGrid */
table.SelectionGrid {
    background: white;
}

table.SelectionGrid thead {
    font-weight: bold;
    background:#dddddd;
}

    table.SelectionGrid thead th {
        padding: 0px 5px;
        font-weight: 600;
    }

    table.SelectionGrid thead a {
        color: white;
        font-weight: 600;
    }

table.SelectionGrid :not(thead) tr {
    cursor: pointer;
}
table.SelectionGrid :not(thead) tr:hover {
    background-color: lightgray;
    font-weight:bold;
}

table.SelectionGrid td {
    border: 1px solid lightgrey;
    padding: 0px 5px;
}

table.SelectionGrid :not(thead) tr.selected {
    background-color: #555555;
    font-weight:bold;
    color:white;
}
/* Asset */
.attachment-item .attachment-actions {
	display: none;
	transition: opacity 0.2s ease;
}

.attachment-item:hover .attachment-actions {
	display: flex;
}

/* Calendar Grid */
table.calendar {
	background: white;
	color: black;
}

table.calendar thead {
    font-weight: 600;
    text-align:center;
}

    table.calendar thead th {
        padding: 3px 5px;
        font-weight: 600;
    }

    table.calendar thead a {
        color: white;
        font-weight: 600;
    }

    table.calendar td.other-month {
        background: #dddddd;
    }
    table.calendar td.today {
        border: 5px solid lightgrey;
    }
    table.calendar .calendar_box_date {
        display: flex;
        justify-content: space-between;
        font-size: 18px;
        color: gray;
        margin: 0px
    }

    table.calendar :not(thead) tr td:hover {
        background-color: lightgray;
    }

    table.calendar td {
        border: 1px solid lightgrey;
        padding: 1px 3px;
        width: 14.2857%;
    }

    table.calendar :not(thead) tr td {
        height: 150px;
    }

.calendar_task_item {
    min-width: 36px;
    display: block;
    text-decoration: none;
    color: white;
    margin: 1px;
    padding: 1px 3px;
    font-size: 12px;
    border-radius: 5px;
}
.calendar_task_summary {
    width: 60px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: white;
    margin: 1px;
    font-size: 12px;
    border-radius: 5px;
    padding: 4px;
}
.calendar_task_item:hover {
    color: white;
}
.calendar_task_created {
    background: #606DA3;
    background-size: 50% auto;
}
.calendar_task_assigned {
    background: #7b60a3;
}

.calendar_task_created_assinged {
    background: linear-gradient(to left, #7b60a3 50%, #606DA3 50%);
}

.calendar_task_due {
    background: #E3606D;
}

table td.EditColumn {
    width:40px;
}
table td.DeleteColumn {
    width:40px;
}

table td.EditDeleteColumn {
    width:80px;
    text-align:center;
    
}

/* Table with fixed header */
table.FixedHeader tbody, table.FixedHeader thead {
    
}
table.FixedHeader tbody 
{
    display:block;
   overflow: auto;
   height: 100px;
}

tr {
    height: 30px;
    max-height: 30px;
}

.AlternatingRow {
    background-color: #F3F3F3;
    color: #000;
}

input.search {
    background: url(/Resources/Images/search.png) no-repeat scroll 0 0;
    margin: -2px;
    background-size: 30px;
    background-color:transparent;
    color: transparent;
    border: 0px;
    display: inline-block;
    width: 30px;
}

textarea {
    font-family: inherit;
    width: 500px;
}

input.Description {
    height: 200px;
}


input:focus, textarea:focus {
    border: 1px solid #7ac0da;
}

input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="submit"],
input[type="button"],
button {
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 7px;
    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;
}

.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-collapse: collapse;
    border-spacing: 0;
    border: 0 none;
}

th {
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

    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: #000;
        }

    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 1em 0.25em 0em;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}

/***************** work-menu ****************/
#work-menu {
    background: #eeeeee;
    padding: 0px 0px 0px 0px;
    margin: -9px -10px;
}
       #work-menu-tabs {
        vertical-align:central;
        margin-top: 7px;
        margin-bottom: 7px  ;
        padding-left: 10px;
        list-style:none;
        display:inline-block;
    }

     #work-menu-tabs a {
        font-size: 18px;
        background:#cccccc;
        border-radius:3px;
        text-decoration: none;
        display: inline-block;
        list-style: none;
        padding: 10px 22px;
    }

        #work-menu-tabs a span.badge {
             background:#aaaaaa;
             color:black;
        }

    #work-menu-tabs li {
        display:inline-block;
        vertical-align:central;
    }

    #work-menu-tabs .active a {
        display: block;
        color: white;
        background: #1384A2;
    }
    #work-menu-tabs .active a span.badge{
        background:white;
    }
    #work-menu-tabs :not(.active) a:hover {
        background: #1384A2;
    }

    #work-menu .btn-group {
        float:right;
        margin:14px 10px 0px 0px;
        vertical-align:central;
    }   

/***************** left-menu****************/
#left-menu {
    float: left;
    width: 140px;
    position: absolute;
    /*background: #1889A7;*/
    background: #1889A7;
    padding: 0px;
    margin: 0px;
}

#left-strip {
    background: #1889A7;
    width: 140px;
    height:2000px;
    position: absolute;
    z-index: -1;
}

    #left-menu ul a {
        color:white;
        font-size: 19px;
        text-decoration: none;
        display: block;
        list-style: none;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: 15px;
    }

    #left-menu ul {
        padding-left: 0px;
        margin: 0px;
    }

    #left-menu li {
        display: block;
    }

    #left-menu .active a {
        display: block;
        color: white;
        background: #105D73 /*#*/;
    }

    #left-menu ul a:hover {
        background: #105D73;
    }

#left-menu ul.second-level a{
    font-size: 14px;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 10px;
}
#left-menu ul.second-level li.active {
    font-weight:bold;
    font-size: 18px;
}

#left-menu button.support {
    margin: 0 0px 0px 30px;
}

#pageContent {
    float:none;
    margin-left: 140px;
    padding:10px;
}


/******************Toolbar***************/
.topToolbar {
    float:right;
    padding:0;
    vertical-align:bottom;
    margin-bottom:1px;
}
.topToolbar li {
    display: inline-block;
}

.searchBox input{
    width:120px;
    margin: 0px;
    vertical-align:middle
}
.searchBox img{
    cursor: pointer;
    vertical-align:middle;
}
.searchBox select {
    margin: 0px;
    padding: 5px;
    vertical-align: middle;
    max-width: 200px;
}
.ui-dialog {
    position: fixed;
}

form.inputForm input[type="text"],
form.inputForm input[type="number"],
form.inputForm input[type="password"],
form.inputForm select
{
    width: 300px;
}
form.inputForm textarea
{
    width: 300px;
}

.pagination{
    margin: 10px 0px 0px 0px;
}


.workbutton {
    float:right;
    margin:2px 0px;
    width:112px;
    font-size:11px;
}

.work-submit-button {
    margin:2px 0px;
    width:100px;
}

pre.work-desc {
    white-space: pre-wrap; word-break: keep-all;
    background:none;
    font-family:"Segoe UI", Verdana, Helvetica, Sans-Serif;
    font-size: 1.1em;
}

.jstree-default a { 
    white-space:normal !important; height: auto; 
}

/* Image Preview Container - Improved */
.image-preview-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 18px;
	margin-top: 25px;
	padding: 20px;
	background-color: #f8f9fa;
	border-radius: 10px;
	border: 1px solid #e0e0e0;
	min-height: 100px;
}

	.image-preview-container:empty {
		min-height: 0;
		padding: 10px 20px;
		margin-top: 10px;
	}

.image-preview-container:empty::before {
	content: "No file attached.";
	display: block;
	text-align: center;
	color: #999;
	font-style: italic;
	padding: 5px 20px;
	grid-column: 1 / -1;
	font-size: 0.95em;
}

.image-preview-item {
	position: relative;
	border: 2px solid #ddd;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	transition: all 0.25s ease;
}

	.image-preview-item:hover {
		transform: translateY(-3px) scale(1.02);
		box-shadow: 0 6px 16px rgba(0,0,0,0.15);
		border-color: #1384A2;
	}

	.image-preview-item img,
	.image-preview-item .file-preview-image {
		width: 100%;
		height: 160px;
		object-fit: cover;
		display: block;
		background-color: #f5f5f5;
	}

.file-preview-document {
	width: 100%;
	height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	position: relative;
}

	.file-preview-document .glyphicon {
		font-size: 4em;
		margin-bottom: 10px;
		opacity: 0.9;
	}

.file-type-badge {
	background-color: rgba(255, 255, 255, 0.2);
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 0.75em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	backdrop-filter: blur(5px);
}

.image-preview-item .remove-image {
	position: absolute;
	top: 8px;
	right: 8px;
	background: rgba(170, 12, 77, 0.95);
	border: 2px solid white;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: all 0.2s ease;
	padding: 0;
	font-size: 16px;
	z-index: 10;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

	.image-preview-item .remove-image:hover {
		background: rgba(232, 12, 77, 1);
		transform: scale(1.15);
		box-shadow: 0 3px 8px rgba(0,0,0,0.4);
		border-color: #fff;
	}

	.image-preview-item .remove-image:active {
		transform: scale(1.05);
	}

	.image-preview-item .remove-image .glyphicon {
		font-size: 16px;
		line-height: 1;
	}

.image-preview-item .image-name {
	padding: 10px 8px;
	font-size: 0.875em;
	color: #555;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	background: #f8f9fa;
	border-top: 1px solid #e0e0e0;
	font-weight: 500;
}
/* Camera Modal Styles */
.camera-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	animation: fadeIn 0.3s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.camera-modal-content {
	background-color: #fff;
	margin: 2% auto;
	border-radius: 8px;
	width: 90%;
	max-width: 800px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
	animation: slideDown 0.3s;
}

@keyframes slideDown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.camera-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 2px solid #e0e0e0;
	background-color: #1384A2;
	color: white;
	border-radius: 8px 8px 0 0;
}

	.camera-modal-header h3 {
		margin: 0;
		font-size: 1.5em;
		font-weight: 600;
	}

.close-camera {
	background: none;
	border: none;
	font-size: 2em;
	color: white;
	cursor: pointer;
	padding: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s;
}

	.close-camera:hover {
		background-color: rgba(255,255,255,0.2);
	}

.camera-modal-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #000;
	position: relative;
	min-height: 400px;
}

	.camera-modal-body video {
		max-width: 100%;
		max-height: 60vh;
		width: auto;
		height: auto;
		border-radius: 4px;
	}

.camera-error {
	color: #e80c4d;
	background-color: #ffe6e6;
	padding: 15px;
	border-radius: 4px;
	margin: 20px;
	text-align: center;
	font-weight: 600;
}

.camera-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 20px;
	border-top: 2px solid #e0e0e0;
	background-color: #f8f9fa;
	border-radius: 0 0 8px 8px;
}

	.camera-modal-footer .btn {
		padding: 10px 20px;
		font-size: 1em;
	}


.file-size-error {
	margin-top: 12px;
	padding: 12px 16px;
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 6px;
	color: #721c24;
	font-size: 0.95em;
	white-space: pre-line;
	animation: slideDown 0.3s;
	line-height: 1.5;
}

/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) {
    #work-menu-tabs a {
        font-size: 16px;
        padding: 10px 10px;
    }
    /* header
    ----------------------------------------------------------*/
    /* 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;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }


    /* 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;
    }

    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    .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 */

    /* login page */
    #center-form {
        border-right: none;
        float: none;
        width: auto;
    }

    #center-form .right-text {
        float:none;
    }
        #center-form .validation-error {
            display: block;
            margin-left: 15px;
        }

    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }

     #secReportTabs a.GroupHeader {
        font-size: 18px;
    }

     #secReportTabs a.ReportLink {
        margin:4px;
        font-size:medium;
    }

    .site-title a {
        font-size: 17px;
    }
}
