* {
  box-sizing: border-box;
}

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;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}

body {
  font-size: 14px;
  font-family: 'Open Sans', sans-serif !important;
  line-height: 1.4em;
  background: #F8F8FA !important;
}

nav ul {
  list-style: none;
}

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 #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

.container { padding:0px; }

#container h3 {
  text-align: center;
}

p.referHelpDesk {
  text-align: center;
  margin-top: 30px;
}
div.referHelpDesk {
  border-radius: 20px;
  border: 1px solid #008996;
  width: 205px;
  margin: 30px auto;
  text-align: center;
  padding: 12px;
  font-weight: bold;
}

@media screen and (min-width: 960px) {
  .login #content, .reset #content  {
      width: 578px;
      margin: 70px auto 40px auto;
      border: 0;
      padding: 60px 46px 28px 46px;
      box-shadow: 3px 3px 5px lightgrey;
    }
  .login #content  {
      background: #ffffff;
    }
  .reset #content  {
      background: #ffffff;
    }

    #cas h1 {
      font-size: 28px;
      line-height: 32px;
    }
    #fm1 .row input[type=text],
    #fm1 .row input[type=password],
    #passwordManagementForm .row input[type=text],
    #passwordManagementForm .row input[type=password] {
      font-size: 14px;
    }
    /* messaggi pagina intera - desktop */
    #cas .alert h2 {
      margin: 20px 0 30px 0;
      font-size:28px;
      font-weight: 600;
      line-height:32px;
      display: block;
    }

    #cas .alert-success h2, #cas .alert-danger h2 {
      color: #353b4a;
    }

    .alert {
        width: 578px;
        max-width: 100%;
        box-sizing: border-box;
        padding: 10px 43px;
        margin-top: 15px;
        margin-bottom: 15px;
        border: 1px solid transparent;
        border-radius: 12px;
        line-height: 16px;
        text-align: center;
    }
      .alert-success, .alert-danger {
        font-size:12px;
        font-weight: 600;
        line-height: 16px;
        background-repeat: no-repeat;
        background-position: center 35px;
        padding-top: 120px;
        padding-bottom: 40px;
        margin: 20px auto;
  }

  .alert-success {
        color: #353b4a;
        background-color: #fbfffb;
        border-color: #5ae325;
        background-image: url(/cas/images/done_icon-b7d714801924e79b973e3825e59e97da.svg);
        background-size: 78px 78px;
    }
  .alert-danger {
        color: #353b4a;
        background-color: rgba(255, 61, 61, 0.1);
        border-color: #ff3d3d;
        background-image: url(/cas/images/alert_icon-604bed5f03b0dfc0408097a367ae36e2.svg);
        background-size: 82px 82px;
    }

    .btn-submit {
      padding: 9px 25px;
    }

}

@media screen and (min-width: 1280px) {
  #ssosessions-page #container {
    width: 1280px;
  }
}

a {
  color: #008996;
  font-weight: bold;
  cursor: pointer;
  width: auto;
  display: inline;
  text-decoration: underline;
}

p {
  margin-bottom: 1.4em;
}

header {
  overflow: hidden;
  padding: 20px 0;
}

#logo {
  display: block;
  background: url(/cas/images/cerved_logo-c270b6c4443affeeb49a5df068255948.svg) no-repeat center;
  height: 52px;
  width: 100%;
  border: 0px;
  color: #ffffff;
  margin: 0 auto 40px auto;
}

.login #content, .reset #content {
  overflow: hidden;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
}

.reset #content {
  height: auto;
  background: #ffffff;
}

.reset .recoverUser {position: relative;}
.reset .userOk {
    background-image: url('/cas/images/done_icon-b7d714801924e79b973e3825e59e97da.svg');
    background-repeat: no-repeat;
    position: absolute;
    right: 7px;
    line-height: 1;
    vertical-align: middle;
    height: 20px;
    width: 20px;
    bottom: 7px;
}

#msg {
  padding: 20px;
  margin-bottom: 40px;
}

#msg.errors {
  border: 1px dotted #bb0000;
  color: #bb0000;
  padding-left: 100px;
  background: url(/cas/images/error-2b607b9206c6b061dc8a168662c2533a.png) no-repeat 20px center;
}

#msg.success {
  border: 1px dotted #390;
  color: #390;
  padding-left: 100px;
  background: url(/cas/images/success-dc947dc2c5b42bb0dcbc46317b3e2e3e.png) no-repeat 20px center;
}

#msg.info {
  border: 1px dotted #008;
  color: #008;
  padding-left: 100px;
  background: url(/cas/images/info-e7e898cf7bd9abf42ba2e0c57a52eab3.png) no-repeat 20px center;
}

#msg.question {
  border: 1px dotted #390;
  color: #390;
  padding-left: 100px;
  background: url(/cas/images/question-ff84ce229d4eeed8b68bd628e8a32724.png) no-repeat 20px center;
}

#msg.warn {
  border: 1px dotted #960;
  color: #960;
  padding-left: 100px;
  background: #ffbc8f url(/cas/images/info-e7e898cf7bd9abf42ba2e0c57a52eab3.png) no-repeat 20px center;
}

.errors {
  border: 1px dotted #bb0000;
  color: #bb0000;
  padding-left: 100px;
  padding-top: 5px;
  margin-bottom: 5px;
  background: url(/cas/images/error-2b607b9206c6b061dc8a168662c2533a.png) no-repeat 20px center;
}

#serviceui.serviceinfo {
  border: 1px dotted #0066ff;
  color: black;
  padding-left: 10px;
  padding-top: 5px;
}

#servicedesc {
  vertical-align: middle;
  padding-left: 30px;
  width: 90%;
}

/*
 * CAS default overrides
 */

#cas .login-header {
  text-align: center;
  padding: 20px;
  background-color: #d5d5d5;
  margin: -30px;
  margin-bottom: 10px;
}

#cas .login-header h2 {
  font-weight: 300;
  color: black;
  font-family: Lato;
  margin-top: 0;
}

#cas .login-header .fa-circle {
  color: #1490B3;
}

#cas .row {
  margin: 0 auto;
}

#cas, #cas h1, #cas h2, #cas p, #cas label, #cas input, #cas a, #cas span, #cas div {
  font-family: 'Open Sans', sans-serif !important;
}

#cas label {
  display: block;
  margin-bottom: 2px;
}

#cas h1 {
  color: #353b4a;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

#cas h2 {
  font-size: 17px;
  color: #9aa3ae;
  line-height: 20px;
  margin: 30px;
  text-align: center;
}

#cas .check label {
  display: inline;
}

#cas .btn-row {
  text-align: center;
  padding-top:28px;
}

#capslock-on {
  color: firebrick;
}

#list-providers ul {
  list-style: none;
}

#list-providers ul li {
  list-style: none;
  margin-bottom: 1em;
}

#list-providers a.btn:link,
#list-providers a.btn:visited {
  color: #ffffff;
}

#list-languages h3,
#list-providers h3 {
  margin-bottom: 1.4em;
}

#list-languages ul li {
  list-style: none;
  display: inline-block;
  margin-right: 2em;
}

#notices h2 {
  font-size: 1.25em;
}

#notices p {
  font-size: 10pt;
}

#notices ul.list-group .fa {
  margin-right: 7px;
}

#notices #serviceui h2,
#notices #serviceui h3,
#notices #serviceui h4 {
  margin-top: 0;
}

#notices .well h3 {
  margin-top: 0;
  font-size: 1.25em;
}

#notices .well ul.list-group {
  margin-bottom: 0;
}

footer {
  padding: 20px;
  color: #ffffff;
}

footer a:link,
footer a:visited {
  color: #ffffff;
}

@media only screen and (max-width: 960px) {
  header {
    padding: 20px;
  }

  #container {
    width: 100%;
  }

  #cas h1 {
    font-size: 36px;
    line-height: 32px;
  }

  .login #content, .reset #content  {
    margin:54px 16px;
    padding:50px 30px 20px 30px;
    border:0 !important;
    box-shadow: 3px 3px 5px lightgrey;
  }
  .login #content  {
      background: #ffffff;
    }
  .reset, .reset #content  {
      background: #ffffff;
    }

  #block-cerved-cookie .cookie-wrapper {
    padding: 10px;
  }

  header h1 {
    font-size: 1em;
    width: 70px;
    height: 40px;
    background-size: 70px 40px;
  }

  #cas {
    float: none;
    width: 100%;
  }

  #cas .pw-toggle .showHide{
    display: none;
  }
  #cas .pw-toggle .showHideIcon{
    display: block;
    background: transparent url('/cas/images/show_icon-335053ee21aea25e6993b774dec4b68b.svg') no-repeat;
    background-position: 0px 3px;
    width:25px;
    height:25px;
  }

  #fm1 .row input[type=text],
  #fm1 .row input[type=password],
  #passwordManagementForm .row input[type=text],
  #passwordManagementForm .row input[type=password] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
  }

  #fm1 .row .btn-reset {
    display: none;
  }

  #sidebar {
    margin-top: 20px;
  }

  #sidebar .sidebar-content {
    padding: 0;
  }

  .btn-submit {
    padding: 14px 25px;
  }

  /*messaggi pagina intera - mobile*/
  #cas .alert h2 {
    margin: 20px 0 30px 0;
    font-size:24px;
    font-weight: 600;
    line-height:30px;
    display: block;
  }
  #cas .alert-success h2 {
    color: #6ac259;
  }
  #cas .alert-danger h2 {
    color: #ff3d3d;
  }
  .alert {
      width: 100%;
      padding: 10px 20px;
      border: 0px;
      border-radius: 0px;
  }

  .alert-success, .alert-danger {
      font-size:12px;
      font-weight: 600;
      line-height: 16px;
      background-repeat: no-repeat;
      background-position: center 35px;
      padding-top: 120px;
      padding-bottom: 40px;
      background-color: #ffffff;
  }
  .alert-success {
        color: #353b4a;
        background-image: url(/cas/images/done_icon-b7d714801924e79b973e3825e59e97da.svg);
        background-size: 78px 78px;
    }
  .alert-danger {
        color: #353b4a;
        background-image: url(/cas/images/alert_icon-604bed5f03b0dfc0408097a367ae36e2.svg);
        background-size: 82px 82px;
    }

}

/**
 * SSO Sessions Styles
 */
#loadingMessage {
  font-size: 14px;
}

#cas-sessions,
#no-cas-sessions {
  display: none;
}

#no-cas-sessions div {
  margin-top: 2em;
}

.ssoSessions #content {
  border-radius: 4px;
  padding: 20px;
}

#container-stable {
  margin: 20px 0 20px;
}

.ssoSessions .btn-success {
  background: #70ba61;
  border: 0;
  padding: 10px 20px;
  font-weight: bold;
  color: #ffffff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.ssoSessions .sorting_desc,
.ssoSessions .sorting_asc {
  background-color: rgba(239, 239, 239, 0.8);
}

.ssoSessions #removeAllSessionsButton.btn .badge {
  color: #000;
  padding-right: 9px;
}

.ssoSessions .adminPanels {
  border-bottom: 1px solid #efefef;
  margin-bottom: 2em;
  margin-top: 1em;
  padding-bottom: 1em;
}

.ssoSessions .adminPanels .panel-default > .panel-heading {
  background-color: #ffffff;
  border-bottom: none;
}

.ssoSessions .adminPanels .panel-default > .panel-heading h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 20pt;
}

.ssoSessions .adminPanels .panel-default > .panel-heading:after {
  position: absolute;
  font-family: FontAwesome;
  top: -5px;
  right: 30px;
  font-size: 70pt;
  color: #153e50;
  opacity: 0.1;
}

.adminPanels .users-panel.panel-default > .panel-heading:after {
  content: "\f0c0";
}

.adminPanels .usage-panel.panel-default > .panel-heading:after {
  content: "\f201";
}

.adminPanels .tickets-panel.panel-default > .panel-heading:after {
  content: "\f145";
}

.ssoSessions td.details-control {
  cursor: pointer;
  font-family: FontAwesome;
  font-size: 10pt;
  color: #337ab7;
}

.ssoSessions td.details-control:after {
  content: "\f067";
  /*content: "\002B"; - thinner plus sign */
}

.ssoSessions tr.shown td.details-control:after {
  content: "\f068";
  /*content: "\002D"; - thinner minus sign */
}

.row-detail-wrapper {
  /*background-color: cornsilk;*/
  background-color: #d9edf7;
}

.ssoSessions .row-detail thead {
  display: none;
}

.ssoSessions .row-detail {
  /*font-size: 8pt;*/
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ssoSessions .field-label {
  /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
  /*font-size: 8pt;*/
  /*font-weight: bold;*/
}

.principal_attributes td:first-child {
  width: 30%;
}

table.principal_attributes > tbody > tr > td {
  border-top-color: #e6e6e6;
}

.adminPanels .panel-body {
  padding-top: 5px;
}

.adminPanels .panel-body span {
  font-family: 'Lato', sans-serif;
  font-size: 30pt;
  font-weight: 100;
}

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

#alertBox {
  display: none;
}

.alert-default {
  color: #333;
  background-color: #dedede;
  border-color: #3d3d3d;
}

/**
 SB Admin Styles
 */
.huge {
  font-size: 30pt;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}

.semi-huge {
  font-size: 18pt;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}

/**
 * Statistics View
 */
.statisticsView {
  display: none;
}

.statisticsView .progress-meter .background {
  fill: #dfeafd;
}

.statisticsView .progress-meter .foreground {
  fill: #2e7af9;
}

.statisticsView .progress-meter text {
  font-family: 'Lato' sans-serif;
  font-size: 25pt;
  font-weight: 300;
}

.statisticsView .progress-meter .text2 {
  font-family: 'Georgia' sans-serif;
  font-size: 10pt;
}

.modal {
  display: none;
}

/**
 * Runtime Statistics Gauge styles
 */
.statisticsView .runtimeStatistics .background {
  fill: #dfeafd;
}

.statisticsView .runtimeStatistics .foreground {
  fill: #2e7af9;
}

.statisticsView .runtimeStatistics text {
  font-family: 'Lato' sans-serif;
  font-size: 25pt;
  font-weight: 300;
}

.statisticsView .runtimeStatistics .text2 {
  font-family: 'Georgia' sans-serif;
  font-size: 10pt;
}

#uptime-panel {
  display: none;
}

#uptime {
  font-family: 'Lato', sans-serif;
  font-size: 16pt;
}

.thread-dump-view {
  height: 600px;
  overflow-y: auto;
}

#metricsGauges strong {
  display: block;
}

#metricsGauges .panel {
  width: 100%;
}

#metricsGauges ul {
  height: auto;
  overflow: hidden;
}

#metricsGauges li {
  float: left;
  width: 80px;
  height: 80px;
  margin: 0 0 10px 10px;
  background: #d8d8d8;
}

#metricsGauges ul li:nth-child(5n + 1) {
  clear: left;
}

.statisticsView .equal,
.statisticsView .equal > div[class*='col-'] {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex: 1 1 auto;
}

.statisticsView .section {
  margin-bottom: 25px;
}

#viewSsoSessions {
  color: #ffffff;
}

.statisticsView .adminPanels.container-fluid {
  padding-right: 0;
}

/**
 * View Configuration Styles
 */
#viewConfigError {
  display: none;
}

#view-configuration {
  display: none;
}

.confirmView .btn-row,
.loginMessageView .btn-row {
  text-align: center;
}

.viewDashboard h2 {
  font-size: 2rem;
  margin-left: 10px;
  border-bottom: solid 1px #efefef;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.viewDashboard h2 i {
  font-size: 2.3rem;
}

.viewDashboard > div {
  clear: both;
}

.viewDashboard ul {
  list-style: none;
  margin: 0;
  padding: 0;
  clear: both;
}

.viewDashboard ul li {
  list-style: none;
  position: relative;
}

.viewDashboard .app-launcher {
  clear: both;
  overflow: auto;
  margin-bottom: 2em;
}

.viewDashboard .app-launcher ul li {
  margin: 10px;
  width: 140px;
  height: 140px;
  float: left;
  border: 5px solid #ccc;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  text-align: center;
  background-color: #efefef;
  border-radius: 50%;
  transition: box-shadow 0.5s ease;
  display: table;
}

.viewDashboard .app-launcher ul li:hover,
.viewDashboard .app-launcher ul li:focus,
.viewDashboard .app-launcher ul li:active {
  box-shadow: 0px 0px 20px rgba(20, 144, 179, 0.8);
  border-color: #ffffff;
}

.viewDashboard .app-launcher ul li a {
  text-decoration: none;
  display: table-cell;
  vertical-align: middle;
  line-height: normal;
  transition: font-weight .2s ease-out;
  border-radius: 50%;
  color: #045183;
}

.viewDashboard .app-launcher ul li a:hover,
.viewDashboard .app-launcher ul li a:focus {
  color: #ffffff;
  background-color: #1490b3;
}

.viewDashboard .server-functions ul li {
  display: inline-block;
  margin: 10px;
}

.viewDashboard .btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857;
  border-radius: 4px;
}

.viewDashboard .btn:focus,
.viewDashboard .btn.focus,
.viewDashboard .btn:active:focus,
.viewDashboard .btn:active.focus,
.viewDashboard .btn.active:focus,
.viewDashboard .btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.viewDashboard .btn:hover,
.viewDashboard .btn:focus,
.viewDashboard .btn.focus {
  color: #333;
  text-decoration: none;
}

.viewDashboard .btn:active,
.viewDashboard .btn.active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.viewDashboard .btn.disabled,
.viewDashboard .btn[disabled],
fieldset[disabled] .viewDashboard .btn {
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.viewDashboard a.btn.disabled,
fieldset[disabled] .viewDashboard a.btn {
  pointer-events: none;
}

.viewDashboard .btn-restart {
  color: #ffffff;
  background-color: #2d872d;
  border-color: #277427;
}

.viewDashboard .btn-restart:focus,
.viewDashboard .btn-restart.focus {
  color: #ffffff;
  background-color: #206120;
  border-color: #071407;
}

.viewDashboard .btn-restart:hover {
  color: #ffffff;
  background-color: #206120;
  border-color: #174617;
}

.viewDashboard .btn-restart:active,
.viewDashboard .btn-restart.active,
.open > .viewDashboard .btn-restart.dropdown-toggle {
  color: #ffffff;
  background-color: #206120;
  border-color: #174617;
}

.viewDashboard .btn-restart:active:hover,
.viewDashboard .btn-restart:active:focus,
.viewDashboard .btn-restart:active.focus,
.viewDashboard .btn-restart.active:hover,
.viewDashboard .btn-restart.active:focus,
.viewDashboard .btn-restart.active.focus,
.open > .viewDashboard .btn-restart.dropdown-toggle:hover,
.open > .viewDashboard .btn-restart.dropdown-toggle:focus,
.open > .viewDashboard .btn-restart.dropdown-toggle.focus {
  color: #ffffff;
  background-color: #174617;
  border-color: #071407;
}

.viewDashboard .btn-restart:active,
.viewDashboard .btn-restart.active,
.open > .viewDashboard .btn-restart.dropdown-toggle {
  background-image: none;
}

.viewDashboard .btn-restart.disabled:hover,
.viewDashboard .btn-restart.disabled:focus,
.viewDashboard .btn-restart.disabled.focus,
.viewDashboard .btn-restart[disabled]:hover,
.viewDashboard .btn-restart[disabled]:focus,
.viewDashboard .btn-restart[disabled].focus,
fieldset[disabled] .viewDashboard .btn-restart:hover,
fieldset[disabled] .viewDashboard .btn-restart:focus,
fieldset[disabled] .viewDashboard .btn-restart.focus {
  background-color: #2d872d;
  border-color: #277427;
}

.viewDashboard .btn-restart .badge {
  color: #2d872d;
  background-color: #ffffff;
}

.viewDashboard .btn-refresh {
  color: #ffffff;
  background-color: #f0ad4e;
  border-color: #eea236;
}

.viewDashboard .btn-refresh:focus,
.viewDashboard .btn-refresh.focus {
  color: #ffffff;
  background-color: #ec971f;
  border-color: #985f0d;
}

.viewDashboard .btn-refresh:hover {
  color: #ffffff;
  background-color: #ec971f;
  border-color: #d58512;
}

.viewDashboard .btn-refresh:active,
.viewDashboard .btn-refresh.active,
.open > .viewDashboard .btn-refresh.dropdown-toggle {
  color: #ffffff;
  background-color: #ec971f;
  border-color: #d58512;
}

.viewDashboard .btn-refresh:active:hover,
.viewDashboard .btn-refresh:active:focus,
.viewDashboard .btn-refresh:active.focus,
.viewDashboard .btn-refresh.active:hover,
.viewDashboard .btn-refresh.active:focus,
.viewDashboard .btn-refresh.active.focus,
.open > .viewDashboard .btn-refresh.dropdown-toggle:hover,
.open > .viewDashboard .btn-refresh.dropdown-toggle:focus,
.open > .viewDashboard .btn-refresh.dropdown-toggle.focus {
  color: #ffffff;
  background-color: #d58512;
  border-color: #985f0d;
}

.viewDashboard .btn-refresh:active,
.viewDashboard .btn-refresh.active,
.open > .viewDashboard .btn-refresh.dropdown-toggle {
  background-image: none;
}

.viewDashboard .btn-refresh.disabled:hover,
.viewDashboard .btn-refresh.disabled:focus,
.viewDashboard .btn-refresh.disabled.focus,
.viewDashboard .btn-refresh[disabled]:hover,
.viewDashboard .btn-refresh[disabled]:focus,
.viewDashboard .btn-refresh[disabled].focus,
fieldset[disabled] .viewDashboard .btn-refresh:hover,
fieldset[disabled] .viewDashboard .btn-refresh:focus,
fieldset[disabled] .viewDashboard .btn-refresh.focus {
  background-color: #f0ad4e;
  border-color: #eea236;
}

.viewDashboard .btn-refresh .badge {
  color: #f0ad4e;
  background-color: #ffffff;
}

.viewDashboard .btn-shutdown {
  color: #ffffff;
  background-color: #c74b47;
  border-color: #bb3d39;
}

.viewDashboard .btn-shutdown:focus,
.viewDashboard .btn-shutdown.focus {
  color: #ffffff;
  background-color: #a83733;
  border-color: #5a1d1b;
}

.viewDashboard .btn-shutdown:hover {
  color: #ffffff;
  background-color: #a83733;
  border-color: #8d2e2b;
}

.viewDashboard .btn-shutdown:active,
.viewDashboard .btn-shutdown.active,
.open > .viewDashboard .btn-shutdown.dropdown-toggle {
  color: #ffffff;
  background-color: #a83733;
  border-color: #8d2e2b;
}

.viewDashboard .btn-shutdown:active:hover,
.viewDashboard .btn-shutdown:active:focus,
.viewDashboard .btn-shutdown:active.focus,
.viewDashboard .btn-shutdown.active:hover,
.viewDashboard .btn-shutdown.active:focus,
.viewDashboard .btn-shutdown.active.focus,
.open > .viewDashboard .btn-shutdown.dropdown-toggle:hover,
.open > .viewDashboard .btn-shutdown.dropdown-toggle:focus,
.open > .viewDashboard .btn-shutdown.dropdown-toggle.focus {
  color: #ffffff;
  background-color: #8d2e2b;
  border-color: #5a1d1b;
}

.viewDashboard .btn-shutdown:active,
.viewDashboard .btn-shutdown.active,
.open > .viewDashboard .btn-shutdown.dropdown-toggle {
  background-image: none;
}

.viewDashboard .btn-shutdown.disabled:hover,
.viewDashboard .btn-shutdown.disabled:focus,
.viewDashboard .btn-shutdown.disabled.focus,
.viewDashboard .btn-shutdown[disabled]:hover,
.viewDashboard .btn-shutdown[disabled]:focus,
.viewDashboard .btn-shutdown[disabled].focus,
fieldset[disabled] .viewDashboard .btn-shutdown:hover,
fieldset[disabled] .viewDashboard .btn-shutdown:focus,
fieldset[disabled] .viewDashboard .btn-shutdown.focus {
  background-color: #c74b47;
  border-color: #bb3d39;
}

.viewDashboard .btn-shutdown .badge {
  color: #c74b47;
  background-color: #ffffff;
}

.btn-cas {
  background-color: #153e50;
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-cas:focus,
.btn-cas.focus {
  color: #ffffff;
  background-color: #0a1f28;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-cas:hover {
  color: #ffffff;
  background-color: #0a1f28;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-cas:active,
.btn-cas.active,
.open > .btn-cas.dropdown-toggle {
  color: #ffffff;
  background-color: #0a1f28;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-cas:active:hover,
.btn-cas:active:focus,
.btn-cas:active.focus,
.btn-cas.active:hover,
.btn-cas.active:focus,
.btn-cas.active.focus,
.open > .btn-cas.dropdown-toggle:hover,
.open > .btn-cas.dropdown-toggle:focus,
.open > .btn-cas.dropdown-toggle.focus {
  color: #ffffff;
  background-color: #03090b;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-cas:active,
.btn-cas.active,
.open > .btn-cas.dropdown-toggle {
  background-image: none;
}

.btn-cas.disabled:hover,
.btn-cas.disabled:focus,
.btn-cas.disabled.focus,
.btn-cas[disabled]:hover,
.btn-cas[disabled]:focus,
.btn-cas[disabled].focus,
fieldset[disabled] .btn-cas:hover,
fieldset[disabled] .btn-cas:focus,
fieldset[disabled] .btn-cas.focus {
  background-color: #153e50;
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-cas .badge {
  color: #153e50;
  background-color: #ffffff;
}

#block-cerved-cookie {
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  z-index: 30000;
  background-color: #2b313f;
  color: #ffffff;
  font-size: 12px;
}

#block-cerved-cookie a {
  color: #ffffff;
  text-transform: initial;
}

#block-cerved-cookie .cookie-wrapper {
  padding: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

#block-cerved-cookie .cookie-text {
  flex: 1 auto;
  padding-right: 20px;
}

#block-cerved-cookie .cookie-btn {
  flex: 220px 0;
}

#cas input[type=text],
#cas input[type=password] {
  display: block;
  width: 100%;
  padding: 8px 12px;
  line-height: 1.5;
  color: #353b4a !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid #9aa3ae;
  border-radius: 5px;
}

#cas input[type=text]:focus,
#cas input[type=password]:focus {
  border: 1px solid #343435;
  outline: none;
}

/* mostra password */
::-ms-reveal { display:none !important;}
::-ms-clear { display:none !important;}

#cas input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
}
.rowPassword {position: relative;}
.pw-toggle {
  cursor:pointer;
  color:#5cb5e4;
  font-size:0;
  position: absolute;
  top:23px;
  user-select: none;
  right: 10px;
  margin-top: -15px;
  display: block;
  background: transparent url('/cas/images/show_icon-335053ee21aea25e6993b774dec4b68b.svg') no-repeat;
  background-position: center;
  width: 25px;
  height: 25px;
}

#cas label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  margin: 12px 0 8px 0;
  color: #353b4a;
  text-align: left;
  display: block;
  font-family: inherit;
}

#passwordManagementForm a, .recoverMailButton a, #loginForm a {
  text-transform: initial;
  display: block;
  text-align: center;
  font-size: 13px;
  margin-top: 15px;
}

.recoverMail{
  margin-bottom:15px;
  }

.recoverMailButton{margin:20px 0 0 0; text-align:center;}
#forgotPasswordLink { display: inline-block; }

.btn {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.btn-submit {
  background: #0b7d88;
  border: 0;
  color: #ffffff;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  width: 180px !important;
  padding: 12px;
  text-transform: none;
  font-size: 14px;
  margin: auto;
}

.btn-submit:disabled {
  background: #9AA2AF;
  cursor: not-allowed;
  opacity: 0.8;
}

.btn-reset {
  background: #eee;
  padding: 10px 20px;
  border: 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  display: none;
}

.btn-submit:hover, .btn-reset:hover {
  cursor: pointer;
}

.btn-submit:focus, .btn-reset:focus {
  outline: none;
  color: #ffffff;
}

.btn-submit:hover {
  outline: none;
  background-color: #075259;
  color: #ffffff;
}

.btn-submit:disabled:hover {
  background: #9AA2AF;
  color: #ffffff;
}

.btn-reset:hover {
  background: #d4d4d4;
}

.reset h3 {
  margin-bottom: 10px;
}

.reset span {
  font-size: 12px;
}


/* messaggi form */

.form-group .alert {
    width:100%;
    padding: 10px 43px;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 0 solid transparent;
    border-radius: 0;
    text-align: center;
}

.form-group .alert-danger {
    color: #353b4a;
    font-size:12px;
    line-height: 16px;
    font-weight: 600;
    background-color: #ffdede;
    background-image: url(/cas/images/alert_icon-604bed5f03b0dfc0408097a367ae36e2.svg);
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 20px 20px;
}

/* messaggi pagina intera */


#cas .alert p {
  margin-bottom: 20px;
  color: #353b4a;
  font-size:14px;
  font-weight: 400;
  line-height:20px;
  text-align:center;
}

.alert  span {
  display: block;
}


#passwordManagementForm h3 {
  text-align: center;
  padding: 30px 10px;
}

/* Fix layout pagina password scaduta/cambio — stile identico alla login */
#pwdmain h1 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 28px !important;
  color: #353b4a !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}
#pwdmain h2 {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 300 !important;
  font-size: 17px !important;
  color: #9aa3ae !important;
  text-align: center !important;
  margin: 20px 30px 30px 30px !important;
  line-height: 1.4 !important;
}
#pwdmain label {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  color: #353b4a !important;
  margin: 12px 0 8px 0 !important;
  display: block !important;
}
#pwdmain .row input[type=password] {
  font-family: 'Open Sans', sans-serif !important;
  width: 100% !important;
  padding: 12px !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}
#pwdmain .rowPassword {
  position: relative !important;
  width: 100% !important;
}
#pwdmain .pw-toggle {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
}
#pwdmain .form-group {
  margin-bottom: 15px !important;
}

/* Alert inline nei form (reset password, cambio password, login) — stile 5.2.3 */
#fm1 .alert-danger,
#passwordManagementForm .alert-danger,
.login #fm1 .form-group .alert-danger,
#login-form-controls .form-group .alert-danger {
  color: #353b4a !important;
  background-image: url(/cas/images/alert_icon-604bed5f03b0dfc0408097a367ae36e2.svg) !important;
  background-size: 20px 20px !important;
  background-repeat: no-repeat !important;
  background-position: 15px center !important;
  background-color: #ffdede !important;
  width: 100% !important;
  padding: 10px 43px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-top: 15px !important;
  margin-bottom: 15px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 16px !important;
  text-align: center !important;
  border-radius: 0 !important;
  border: 0 solid transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
#fm1 .alert-danger span,
#passwordManagementForm .alert-danger span {
  display: block !important;
}
#fm1 .alert-danger p,
#passwordManagementForm .alert-danger p {
  display: block !important;
  margin: 0 !important;
}
