html, body {height: 100%;}

/* INIZIO TEMPLATE */
h1:first-letter,
h2:first-letter,
h3:first-letter,
h4:first-letter,
h5:first-letter,
h6:first-letter,
a:first-letter,
label:first-letter,
th:first-letter,
.item:first-letter,
select option:first-letter {text-transform: uppercase;}

#top-navbar {
    position: fixed; width: 100%; z-index: 1001; border-radius: 0px;
}

#top-navbar .navbar-nav {
    margin: 0px;
}

.panel, .panel-heading {
    border-radius: 0px !important;
}
.help, a.table-tooltip {
    text-decoration: none !important; cursor: pointer;
}
.panel-heading > * {
    margin: 14px 0px;
}

#topbar-right-menu {
    white-space: nowrap;
}

#top-navbar a, #top-navbar .link {
    color: #fff; background-color: transparent;
}

.submit-loading {
    margin-right: 8px;
}

@media (min-width: 768px) {
    #top-navbar .dropdown-menu a, #top-navbar .dropdown-menu .link {
        color: #003e54;
    }
}

#menu-toggle {
    float: left;
    height: 50px;
    width: 50px;
    margin-left: 7px;
    display: inline-block;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
}

#top-navbar .navbar-brand {
    margin-left: -250px;
    width: 250px;
    min-width: 250px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
}

#top-navbar .logo-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 250px;
    height: 98px;
    margin-left: -250px;
}

#top-navbar .logo-container img {
    height: 80px;
    margin-top: 10px;
}

.toggled #top-navbar .logo-container {
    margin-left: -250px;
}

.toggled #top-navbar .navbar-brand {
    margin-left: -250px;
}

.flex {
    display: flex
}

.header-title {
    float: left;
    flex-grow: 2;
    font-size: 32px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

#wrapper {
    padding-top: 100px;
    min-height: 100%;
}

#wrapper, body.no-left-menu #wrapper, #top-navbar .navbar-brand, #top-navbar .logo-container {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.toggled #wrapper {
    padding-left: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

.toggled #wrapper #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

#sidebar-wrapper {
    border-right: 1px inset #ccc;
    z-index: 1000;
    position: fixed;
    top: 100px;
    left: 250px;
    width: 0;
    height: 100%;
    padding-right: 0px;
    margin-left: -265px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.toggled #wrapper #sidebar-wrapper {
    width: 250px;
    margin-left: -250px;
}

@media(min-width:991px) {
    #wrapper {
        padding-left: 250px;
    }
    #top-navbar .navbar-brand {
        margin-left: 0px;
        width: 250px;
        text-align: center;
    }
    #top-navbar .logo-container {
        margin-left: 0px;
    }
    .toggled #top-navbar .logo-container {
        margin-left: -251px;
    }
    .toggled #wrapper {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
        margin-left: -250px;
    }

    .toggled #wrapper #sidebar-wrapper {
        width: 0;
        margin-left: -265px;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    .toggled #wrapper #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}

.dropdown-menu {
    padding: 13px 0px;
}

.btn.link {
    color: #013888;
    text-decoration: underline;
    background-color: transparent !important;
    text-transform: capitalize;
    font-weight: 400;
    border: none;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn.link:focus, .btn.link:hover {
    color: #036;
    text-decoration: underline;
}

#top-navbar a:focus, #top-navbar .link:focus {
    outline: #ff8c00 solid 2px;
}

.dropdown-menu .btn.link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 3px 20px;
    line-height: 1.55555556;
    white-space: nowrap;
    text-decoration: none;
}

.alert .close {
    line-height: 0.85
}

@media (max-width: 767px) {
    .navbar-nav .open .dropdown-menu>li .link {
        padding: 5px 15px 5px 25px;
    }
}

/* FINE TEMPLATE */

/* INIZIO DASHBOARD */

.role-dependant {display: none;}

/* FINE DASHBOARD */

/* INIZIO FORMS */
label {font-weight: 700; color: #49535d;}
label.form-control {font-weight: 400; color: #1C2024; min-height: 48px; height: auto;}

/* FINE FORMS */

/* INIZIO MENU */
.navmenu {
    min-height: 100%;
    position: absolute;
    top: 0;
    width: 250px;
    padding: 0 0 100px;
    margin: 0;
    list-style: none;
    border: 1px solid #e7e6e4;
    background-color: #ffffff;
}

.navmenu,
.navmenu ul,
.navmenu li {
    padding: 0;
    list-style: none;
}
.navmenu ul {
    display: none;
    padding: 0;
}
.navmenu li li a {
    text-indent: 0.5em;
    font-size: 0.9em;
}
.navmenu li.active ul {
    display: block;
}
.navmenu {
    margin: 0px;
}
.navmenu li {
    border-bottom: 1px solid #e7e6e4;
}
#sidebar-wrapper .nav .open>a, #sidebar-wrapper .nav>li>a:focus, #sidebar-wrapper .nav>li>a:hover {
    background: #eeeeee;
}
.has-submenu > a {
    font-weight: 700;
}
.navmenu a {
    color: #003e54;
    display: block;
    text-decoration: none;
}
.navmenu li > a > span {
    font-size: 1em;
    text-align: center;
    height: 58px;
    top: 0px;
    right: 0px;
    position: absolute;
    line-height: 58px;
    width: 58px;
    margin-right: 2px;
}
.navmenu li > a:hover > span {
    color: #003e54;
}
.navmenu li > a > span:after {
    line-height: 1;
    font-size: 1.23em;
    font-family: FontAwesome;
    line-height: 1;
    font-size: 1.23em;
    content: "\f078";
}
@media (max-width: 767px) {
    .navmenu li > a > span:after {
        font-size: 0.9em;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navmenu li > a > span:after {
        font-size: 1em;
    }
}
.navmenu li.open > a > span:after {
    line-height: 1;
    font-size: 1.23em;
    font-family: FontAwesome;
    content: "\f077";
}
@media (max-width: 767px) {
    .navmenu li.open > a > span:after {
        font-size: 0.9em;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navmenu li.open > a > span:after {
        font-size: 1em;
    }
}
.navmenu > li.open ul {
    background: #e2f7ff;
    border-top: 1px solid #e7e6e4;
}
.navmenu > li.open ul li a:hover {
    background: #cef1ff;
}
.navmenu > li.open ul > li.open > a {
    background: #cef1ff;
}
.navmenu [tabindex="0"]:focus {
    outline: #ff8c00 solid 2px !important;
}
.navmenu li a {
    font-size: 1em;
    line-height: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 1em;
    padding-right: 1em;
}
.navmenu li a.current {
    font-weight: bold;
}
.navmenu li a:focus {
    outline: #ff8c00 solid 2px !important;
    color: inherit !important;
}
@media (max-width: 767px) {
    .navmenu li a {
        font-size: 0.9em;
        line-height: 15px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navmenu li a {
        font-size: 0.9em;
        line-height: 16px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
.navmenu > li > a {
    font-size: 1em;
    line-height: 18px;
    padding: 20px 0.8em 20px;
}
@media (max-width: 767px) {
    .navmenu > li > a {
        font-size: 0.9em;
        line-height: 15px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navmenu > li > a {
        font-size: 0.9em;
        line-height: 16px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
.navmenu li:last-child,
.navmenu li ul li:last-child {
    border: none;
}
.navmenu ul li h4,
.navmenu ul li .h4 {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 1em;
    padding-right: 1em;
    color: #003e54;
    font-weight: 700;
    font-size: 1em;
    line-height: 18px;
}
@media (max-width: 767px) {
    .navmenu ul li h4,
    .navmenu ul li .h4 {
        font-size: 0.9em;
        line-height: 15px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .navmenu ul li h4,
    .navmenu ul li .h4 {
        font-size: 0.9em;
        line-height: 16px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
/* FINE MENU */

/* INIZIO BREADCRUMB */
.breadcrumb {
    background-color: #fff;
    border: 1px solid #ddd;
    text-transform: capitalize;
}
.breadcrumb>.active {
    color: #49535d;
}
/* FINE BREADCRUMB */

/* INIZIO TABELLE */
#psem-body .table th {white-space: nowrap;}
#psem-body .table th.wrapped {white-space: normal !important;  }
#psem-body .table tr > * {vertical-align: middle;}
.cell-header {line-height: 48px; height: 48px; margin: 0px;}
table, tr, td, th, tbody, thead, tfoot {page-break-inside: avoid !important;}
/* FINE TABELLE */


/* INIZIO DATATABLE */
#psem-body .table-top:after {clear: both; display: table; content: " ";}
#psem-body .dataTables_info {clear: both;}
#psem-body .dataTables_length, #psem-body .dt-buttons, #psem-body .dataTables_filter {float: left; padding: 15px 0px 0px 15px; width: auto;}
#psem-body .dataTables_paginate {float: right; padding: 15px 0px 0px 15px; width: auto;}
#psem-body .dataTables_filter {padding-left: 0px;}
#psem-body .dataTables_paginate {padding-top: 13px;}
#psem-body .dataTables_length select {width: 175px; height: 48px; line-height: 48px; padding-right: 2px;}
#psem-body .dataTables_filter input {height: 48px; line-height: 48px; margin-left: 0px;}
#psem-body .dataTables_filter input:focus {margin-left: 2px;}
@media (max-width: 768px) {
    #psem-body .table-responsive {padding: 6px;}
}
@media (max-width: 991px) {
    #psem-body .dataTables_length select {width: 175px; height: 35px; line-height: 35px;}
    #psem-body .dataTables_filter input {height: 35px; line-height: 35px;}
    .pagination>li>a, .pagination>li>span {padding: 5px 12px;}
}
/* FINE DATATABLE */

/* INIZIO SELECTIZE */
#psem-body .selectize-input {
    min-height: 48px;
    padding: 5px 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    line-height: 18px;
    line-height: 28px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}
#psem-body .selectize-input.focus {
    border-color: #c6f3f5;
    outline: #c6f3f5 solid 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#psem-body .selectize-dropdown-content .option {
    line-height: 1.5;
}
#psem-body .selectize-input .item {
    background: #013888;
    color: #fff;
    border-radius: 0;
    padding-left: 8px;
    margin-top: 3px;
    margin-bottom: 3px;
    padding-right: 30px !important;
}
#psem-body .selectize-input .item a {
    font-size: 28px;
    line-height: 24px;
    padding: 0px 6px;
    width: 28px;
}
#psem-body .selectize-input .item.item-with-view {
    padding-right: 60px !important;
}
#psem-body .selectize-input .item a.view {
    color: #fff;
    position: absolute;
    width: 28px;
    right: 30px;
    font-size: 18px;
    height: 30px;
    line-height: 30px;
    top: 0;
    text-align: center;
}
.new-attachment {position: absolute; right: 0px; bottom: 8px;}
#psem-body .selectize-one .item {
    background: transparent; color: #1C2024;
}
#psem-body .selectize-dropdown .optgroup-header {
    font-size: inherit; color: inherit; font-weight: bold;
}
#psem-body .selectize-sorted input, #psem-body .actions input {
    width: 100% !important; opacity: 1 !important; left: 0px !important; position: relative !important;
}
#psem-body .selectize-sorted .item, #psem-body .actions .item {
    display: block; padding-top: 8px; padding-bottom: 8px;
}
#psem-body .selectize-sorted .item a, #psem-body .actions .item a {
    padding-top: 7px;
}
/* FINE SELECTIZE */
/*# sourceMappingURL=all.css.map */

body.iframe {background-color: #fff;}

#psem-body .pagination.access_level {
    margin-top: 0px; margin-bottom: 0px;
}
#psem-body .pagination.access_level > li > span:hover {
    background-color: inherit;
}
.navigation-links > * {margin-bottom: 10px; margin-right: 10px; float: left;}
.cleaner {clear: both;}
.risks {border: 1px solid #ddd;}
.risks .form-control {width: 100px; margin: 0px;}
textarea {resize:vertical;}
.ui-datepicker-trigger {display: none;}
.panel-group .panel-title {
    margin: 0px;
}
.panel-group .panel-title a:before {
    font-family: FontAwesome; content: "\f077"; text-decoration: none; display: inline-block;
}
.panel-group .panel-title a.collapsed:before {
    font-family: FontAwesome; content: "\f078"; text-decoration: none; display: inline-block;
}
.table-like label {white-space: nowrap;}
.label-big {font-size: 1.5em; line-height: 1.5;display: inline-block; margin-bottom: 0.5em;}
.search-form .form-group {text-align: center; display: flex; width: 100%; margin-bottom: 10px;}
.search-form input {flex-grow: 2; margin-right: 10px;}
.record .title {font-size: 1.2em; font-weight: bold;}
.record .alert {padding: 0px;}

body#psem-body .btn-success {background-color: #0099cc; border-color: #0086b3;}

body#psem-body.report {font-family: 'Lato', Calibri, sans-serif;}
body#psem-body.report .block,
body#psem-body.report table,
body#psem-body.report tr,
body#psem-body.report td,
body#psem-body.report th,
body#psem-body.report tbody,
body#psem-body.report thead,
body#psem-body.report tfoot {
    page-break-inside: avoid !important;
}

body#psem-body.report .page {overflow: hidden; page-break-before: always; page-break-after: always;}
body#psem-body.report label {color: #1C2024;}
body#psem-body.report .table {border: 1px solid #aaa; border-collapse: collapse;}
body#psem-body.report .table tr > * {vertical-align: top; border-color: #aaa; white-space: normal;}
body#psem-body.report hr {display: block; border-top: 1px solid #aaa; margin-top: 40px;}
body#psem-body.report .table.no-bordered {border: 1px solid #aaa;}
body#psem-body.report .no-border {border: 1px solid #fff;}
body#psem-body.report .table.no-bordered tr > * {border: 0px solid #fff;}
body#psem-body.report .subtitle {font-weight: bold; font-size: 1.2em;}
body#psem-body.report .attachments-section {
    margin: 15px 0px 0px; text-decoration: underline; text-transform: uppercase;
}

.quest_complet { background:#ccff66;  }   
#.quest_complet:hover { background:#99e600;  }




.ck-button {
    background-color: white;
    width: 100%;
    border: 1px solid #D0D0D0;
    padding: 6px;
    margin: 0;
    display: flex;
    flex-flow: column;
    box-shadow: 2px 2px 6px -2px lightgray;
}
.ck-button label {
    flex: 1;
    margin: 2px;
    cursor: pointer;
    outline: 0;
}
.ck-button input + span {
    font-weight: normal;
    background-color: white;
    border: 1px solid #EEE;
    border-radius: 3px;
    color: gray;
    padding: 2px 8px;
    // display: inline-block;
    display: block;
    transition: all .3s;
    line-height: normal;
}
.ck-button label:hover span {
    background-color: whitesmoke;
}
.ck-button input:checked + span {
    background-color: lightblue; // #EEE;
    color: black;
}

.fixedContainer  {
  background-color:#ddd;
  position: fixed;
  width: 250px;
  height: 40px;
  right: 0%;
  top: 100px;
  z-index: 100;
  border-radius: 5px;
}

.notVisible {
	visibility: hidden;
	position: absolute;
	left: 99999px;
}


.choose-button {
    background-color: white;
    width: 100%;
    border: 1px solid #D0D0D0;
    padding: 6px;
    margin: 0;
    /* display: flex; 
    flex-flow: column; */
    box-shadow: 2px 2px 6px -2px lightgray;
}
.choose-button label {
    flex: 1;
    margin: 2px;
    cursor: pointer;
    outline: 0;
}
.choose-button input + label {
    font-weight: normal;
    background-color: white;
    border: 1px solid #EEE;
    border-radius: 3px;
    color: gray;
    padding: 2px 8px;
    // display: inline-block;
    display: block;
    transition: all .3s;
    line-height: normal;
}
.choose-button label:hover label {
    background-color: whitesmoke;
}
.choose-button input:checked + label {
    background-color: lightblue; // #EEE;
    color: black;
}

.choose-button.just_none > div {
	display: flex;
	align-items: center;
}
.choose-button.just_none > div input {
	margin-right: 5px;
}

.borderLabel {
	margin: 5px ;
}
    


