/* HTML5 ✰ Boilerplate */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
    content: none;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del { text-decoration: line-through; }

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input, select { vertical-align: middle; }

body {
    font: 13px/1.231 sans-serif;
    *font-size: small;
}

select, input, textarea, button { font: 99% sans-serif; }

pre, code, kbd, samp { font-family: monospace, sans-serif; }

html { overflow-y: scroll; }

html.no-scroll { overflow: hidden; }

a:hover, a:active { outline: none; }

ul, ol { margin-left: 2em; }

ol { list-style-type: decimal; }

nav ul, nav li {
    margin: 0;
    list-style: none;
    list-style-image: none;
}

small { font-size: 85%; }

strong, th { font-weight: bold; }

td { vertical-align: top; }

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
}

sup { top: -0.5em; }

sub { bottom: -0.25em; }

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 15px;
}

textarea { overflow: auto; }

.ie6 legend, .ie7 legend { margin-left: -7px; }

input[type="radio"] { vertical-align: text-bottom; }

input[type="checkbox"] { vertical-align: bottom; }

.ie7 input[type="checkbox"] { vertical-align: baseline; }

.ie6 input { vertical-align: text-bottom; }

label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

button, input, select, textarea { margin: 0; }

input:valid, textarea:valid { }

input:invalid, textarea:invalid, input.invalid {
    border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red;
    -webkit-box-shadow: 0px 0px 5px red;
    box-shadow: 0px 0px 5px red;
}

input.percentage-field {
    width: 40px;
}

.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


::-moz-selection {
    background: #c9e9ff;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #c9e9ff;
    color: #fff;
    text-shadow: none;
}

a:link { -webkit-tap-highlight-color: #c9e9ff; }

button {
    width: auto;
    overflow: visible;
}

.ie7 img { -ms-interpolation-mode: bicubic; }

body, select, input, textarea { color: #444; }

h1, h2, h3, h4, h5, h6 { font-weight: bold; }

h1 {
    font-size: 20px;
}

h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

a, a:active, a:visited { color: #607890; }

a:hover { color: #036; }


/**
 * Primary styles
 *
 * Author: Manuel
 */


/* Default Layout */

body
{
    background: transparent url('../Images/bg-lightblue.png') top left repeat;
    font-family: "lucida grande", tahoma, helvetica, arial, sans-serif;
}

div#container {
    -moz-box-shadow: 5px 5px 20px #111;
    -webkit-box-shadow: 5px 5px 20px #111;
    box-shadow: 5px 5px 20px #111;
    margin: 10px;
}

header {
    background: url('../Images/logo-bss.gif') #FFFFFF 15px 20px no-repeat;
    height: 60px;
    margin: 0;
    border: 1px solid #888888;
    /*box-shadow: 5px 5px 20px #111111;*/
    position: relative;
}

header ul.menu {
    display: block;
    list-style-type: none;
    position: absolute;
    right: 10px;
    bottom: -1px;
}

header ul.menu li {
    display: block;
    float: left;
    margin-left: 8px;
    border: 1px solid #888888;
    border-top-left-radius: 5px 5px;
    border-top-right-radius: 5px 5px;
}

header ul.menu li:hover {
    background: #EAF2F5;
}

header ul.menu li a {
    padding: 5px 15px;
    display: block;
    text-decoration: none;
    font-weight: bold;
}

header #headerinfo {
    position: absolute;
    right: 10px;
    top: 5px;
}

#main
{
    background-color: #fff;
    margin: -1px 0 0;
    padding: 20px;
    position: relative;
    border: 1px solid #888;
}

.logincontainer
{
    width: 400px;
    margin: 40px auto;
}

.infoblock {
    background: #e0e0e0 url(../Images/smooth-gradient-light.jpg) repeat-x scroll 0 0;
    border: 1px solid #d0d0d0;
    padding: 6px 6px;
    font-size: 11px;
    font-weight: bold;
    margin: 5px 0px;
}

.logincontainer input
{
    width: 275px;
}

.logincontainer button, .logincontainer a.button, .logincontainer input[type='submit'] { width: inherit; }

.block {
    margin-top: 40px;
    position: relative;
}

.block:first-child { margin-top: 0; }

.block h1
{
    border-bottom: 1px solid #AECCD7;
    border-top: 1px solid #333637;
    background-color: #EAF2F5;
    margin: -10px -10px 10px;
    padding: 18px 20px;
    text-shadow: 0px 1px white;
    letter-spacing: -1px;
}

.block:first-child h1 { border-top: 0; }

.no-scroll .block a.back {
    padding-left: 12px;
}

.no-scroll .block h1 {
    margin: -26px -10px 20px;
    padding: 32px 20px 12px;
}

.loading {
    background: url('../Images/ajax-loader.gif') no-repeat 50% 50% transparent !important;
    min-height: 100px;
}


/** FORM, INPUT, ETC. **/

form .bottom
{
    float: right;
}

form label, div.form label
{
    display: inline-block;
    font-weight: bold;
    width: 200px;
}

form input, form textarea, form select, div.form input, div.form textarea, div.form select {
    padding: 4px 6px 6px 2px;
    margin: 6px 0 6px 10px;
    font-size: 12px;
    border: solid 1px #D0D0D0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    outline-color: transparent;
}

form input:focus, form textarea:focus, form select:focus {
    border: solid 1px #999999;
}

form input[type=checkbox] {
  border: none;
}

form textarea {
    min-height: 100px;
}

button, a.button, input[type='submit'], input[type='button'] {
    display: inline-block;
    min-width: 125px;
    text-align: center;
    font-weight: normal;
    font-family: Verdana, Arial, sans-serif;
    font-size: 14.3px;
    color: #666;
    border: 1px solid #D0D0D0;
    background: #e0e0e0 url(../Images/smooth-gradient-light.jpg) repeat-x scroll 0 0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin-bottom: 10px;
}

button:hover, a.button:hover, input[type='submit']:hover {
    color: #222;
    border: 1px solid #999999;
}

a.button, a.button:hover {
    text-decoration: none;
    line-height: 30px;
}

button.small, a.button.small {
    margin: 1px 4px 1px 0px;
    width: auto;
    padding: 0px 20px;
    font-size: 10px;
    height: 23px;
    line-height: 23px;
}

a.button {
    border: 1px solid #D0D0D0;
    border-radius: 5px;
    padding: 4px 6px 6px 2px;
    color: #444444;
    display: inline-block;
    font-weight: normal;
    font-family: Verdana, Arial, sans-serif;
    font-size: 14.3px;
}

table.blue {
    margin-bottom: 30px;
}

table.blue tr:hover {
    background-color: #EEEEEE;
}

table.blue th
{
    padding: 6px 3px;
    border: 1px solid #D4D4D4;
    background-color: lightblue;
}

table.blue td {
    padding: 3px 10px;
    border: 1px solid #D4D4D4;
}

table.blue input, table.blue select {
    width: 100%;
    margin: 0;
    padding: 0;
}

table.blue input[type="text"] {
    height: 28px;
}

table.blue select[multiple] {
    height: 75px;
}

table.project_table th.name {
    text-align: left;
}

table.project_table td.obs {
    background-color: #EAF2F5;
}

table.project_table td.name {
    width: 300px;
}

table.project_table td.firstdate, table.project_table td.lastdate, table.project_table td.lastrecalculated {
    width: 110px;
    text-align: center;
}

table.scanned_task_table, table.scanned_task_table th, table.scanned_task_table_orphans, table.scanned_task_table_orphans th {
  font-size: 11px;
  font-weight: normal;
  padding: 3px 10px;
}

table.scanned_task_table .textright {
  text-align: right;
}

table.scanned_task_table .nowrap {
  white-space: nowrap;
}

table.scanned_task_table tr.scanned_task {
    background-color: #44C4F4;
}
table.scanned_task_table tr.scanned_task.highlight {
    background-color: #00ff00;
}

table.scanned_task_table tr.scanned_task td {
    padding: 8px 10px;
    font-weight: bold;
}

div.taskinfo .steps {
    float: left;
    margin-right: 20px;
}

table.task_table {
    margin-right: 30px;
}

div.task_list {
    min-height: 100px;
}

.popup-dialog {
    min-height: 100px;
}

/* FLASH BAG */

#flash_message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 10px;
    z-index: 999;
}

div#loading-container
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 10px;
    z-index: 999;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    padding: 10px 0;
    background-color: #fff;
    color: #444;
    border-color: #444;
}

div#loading {
    display: table;
    width: 100px;
    margin: 0 auto;
}

div#loading img {
    display: table-cell;
}

div#loading h1 {
    display: table-cell;
    vertical-align: top;
    padding-top: 6px;
}


#flash_message #message {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    height: 0;
    border: 1px solid transparent;
    padding-top: 10px;
    opacity: 0;
    background-color: #fff;
    color: #444;
    border-color: #444;
}

#flash_message #message.error_msg {
    background-color: #F9E1E4;
    color: #9F4A4D;
    border-color: #F7BEC4;
}

.hint {
    background-color: #F9E1E4;
    color: #9F4A4D;
    border-color: #F7BEC4;
    font-weight: bold;
    padding: 5px;
}

/* PERMITS */

ul.top_menu {
    display: block;
    list-style-type: none;
    margin-top: -10px;
    margin-bottom: 20px;
    margin-left: 0px;
}

ul.top_menu li {
    display: block;
    float: left;
    border: 1px solid #888888;
    border-top: none;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-right: 5px;
}

ul.top_menu li:hover {
    background: #EAF2F5;
}

ul.top_menu li a {
    padding: 5px;
    display: block;
    text-decoration: none;
    font-weight: bold;
}

.mypermit_block, .globalpermit_block {
    float: left;
    margin-right: 50px;
    min-width: 450px;
}


/* FILTERS */

#filterform {
    margin-left: 10px;
}

a.collapse-filters
{
    margin-bottom: -1px;
}

a.collapse-filters.open {
    border-radius: 5px 5px 0 0;
}

.collapse-filters span {
    padding-left: 20px;
    background: url('../Images/btn-plus.gif') no-repeat 5px 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.collapse-filters.open span {
    background: url('../Images/btn-minus.gif') no-repeat 5px 4px;
}

form#filterform table {
    margin-bottom: 0;
}

form#filterform table.filters input {
    margin: 2px 0;
    padding: 2px;
    width: 99%;
    min-width: 200px;
}

form#filterform table.filters select {
    margin: 2px 0;
    padding: 2px;
    width: 99%;
    min-width: 210px;
}

form#filterform table.filters td {
    border: none;
}

#filter-container {
    margin-bottom: 20px;
    border: 1px solid #D5D5D5;
    padding: 5px 5px 50px;
    width: 765px;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
}

#filter-container .filter-submit {
    float: right;
    margin-right: 10px;
}

#tasklist {
    margin-top: 20px;
}

/* USERS */

#clustersdiv, #tasksdiv {
    float: left;
    width: 49%;
    border: 1px solid black;
    margin-top: 20px
}

#userclustersdiv, #usertasksdiv {
    float: left;
    width: 49%;
    border: 1px solid black;
    margin-top: 20px;
}

#clustersdiv table, #userclustersdiv table, #tasksdiv table, #usertasksdiv table {
    width: 100%;
}


.ir {
    display: block;
    text-indent: -999em;
    overflow: hidden;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
}

.hidden {
    display: none;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible { visibility: hidden; }

.clearfix:before, .clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    overflow: hidden;
}

.clearfix:after { clear: both; }

.clearfix { zoom: 1; }

.right { float: right; }

.left { float: left; }

@media all and (orientation: portrait) {






}

@media all and (orientation: landscape) {






}

@media screen and (max-device-width: 480px) {

    /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */





}


@media print {
    * {
        background: transparent !important;
        color: black !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    a, a:visited {
        color: #444 !important;
        text-decoration: underline;
    }

    a[href]:after { content: " (" attr(href) ")"; }

    abbr[title]:after { content: " (" attr(title) ")"; }

    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead { display: table-header-group; }

    tr, img { page-break-inside: avoid; }

    @page {
        margin: 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 { page-break-after: avoid; }
}

.countdown-line {
    display: none;
}

/* validation */
.error{ border: 1px solid #f00;}
label.error{ display: none!important;}

#task-form .errorcontainer-1,
#task-form .errorcontainer-2 {
    width: 200px;
    min-height: 1px;
    border: 1px solid red;
    position: absolute;
    top: 150px;
    right: 16px;
    display: none;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 10px;
}

.mutation {
    background-color: #EEEEEE;
}