body #secauth-login-box * {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
body #secauth-login-box *:before,
body #secauth-login-box *:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

body #secauth-login-box-wrapper {
  text-align:right;
  float:right;
}

/*body #secauth-login-box-icon {
  background:#e22e26;
  border: 1px solid #ccc;
  display: inline-block;
  float: right;
  margin-top: 10px;
  padding: 4.2px 4px;
}*/

/* Fontti istuntosalasanaa varten
@font-face {
  font-family: 'dotsfont';
  src: url('/libtent/none/5360/1556/Dotsfont.woff') format('woff');
}
*/

body #secauth-login-box-icon {
  background: #e22e26;
  border: 1px solid #ccc;
  display: none;
  float: right;
  margin-top: 0;
  padding: 4px 4px;
  height: 23px;
  width: 23px;
  position: relative;
}
body #secauth-login-box-icon img {
  max-width: 100%;
}
body #secauth-login-box #secauth-login-buttons-hide {
  display: none;
}


body #secauth-login-box {
  background: #fff;
  border: 1px solid #ccc;
  color: #222;
  display:inline-block;
  font-family: Arial, sans-serif;
  font-size: 0.875em;
  margin-top:10px;
  padding:0 25px 0 0;
  position: relative;
  text-align:left;
  z-index:900;
}

body #secauth-login-box a {
  color: #222;
}

body #secauth-login-box a:hover {
  text-decoration: none;
}

body #secauth-login-box b {
  color: #222;
}

body #secauth-login-box .secauth-login-text {
  font-size: 1em;
  line-height: normal;
  padding: 10px 10px 0 10px;
}

body #secauth-login-box .secauth-login-text p {
  margin: 0;
}

body #secauth-login-box .secauth-login-buttons {
  padding: 10px 10px 0px 5px;
}

body #secauth-login-box .secauth-login-buttons a.button {
  background: #428bca;
  border: 1px solid #428bca;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  color: #fff;
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  float: left;
  text-decoration: none;
  text-shadow: none;
  cursor: pointer;
  margin: 0;
  line-height: normal;
  padding: 0.4em 0.6em;
  white-space:nowrap;
}

body #secauth-login-box .secauth-login-buttons a.button:hover,
body #secauth-login-box .secauth-login-buttons a.button:focus {
  background: #3498db;
}

body #secauth-login-box .secauth-login-buttons a.button:active {
  background: #3498db;
}

body #secauth-login-box .secauth-login-end-use {
  display: inline-block;
}

body #secauth-login-box .secauth-login-dropdown-button {
  float:left;
  display: inline-block;
  position: relative;
  margin:0 0 5px 5px;
}

body #secauth-login-box .secauth-login-buttons:before, 
body #secauth-login-box .secauth-login-buttons:after { 
  display: table;
  content: " ";
}

body #secauth-login-box .secauth-login-buttons:after { 
  clear:both;
}

body #secauth-login-box .secauth-login-dropdown-button a.button {
  padding: 0.4em 22px 0.4em 0.6em;
}

body #secauth-login-box .secauth-login-dropdown-button a.button:after {
  top: 50%;
  right: 8px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(66, 139, 202, 0);
  border-top-color: #fff;
  border-width: 4px;
  margin-top: -2px;
}


/* Alasvetovalikkoa ei esitettäisi mobiilissa */
@media (hover: none) {
  body #secauth-login-box .secauth-login-dropdown-button a.button {
    padding: 0.4em 0.6em;
  }
  body #secauth-login-box .secauth-login-dropdown-button a.button:after {
    border: none;
  }
}


body #secauth-login-box .secauth-login-dropdown-button ul {
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 100%;
  visibility: hidden;
  opacity: 0;
  z-index:10;
  -webkit-box-shadow: 2px 2px 3px 0 rgba(0,0,0,0.15);
  box-shadow: 2px 2px 3px 0 rgba(0,0,0,0.15);
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

body #secauth-login-box .secauth-login-dropdown-button a.button:hover + ul,
body #secauth-login-box .secauth-login-dropdown-button a.button:focus + ul,
body #secauth-login-box .secauth-login-dropdown-button a.button:active + ul,
body #secauth-login-box .secauth-login-dropdown-button ul:hover {
  visibility: visible;
  opacity: 1;
}


/* Alasvetovalikkoa ei esitettäisi mobiilissa */
@media (hover: none) {
  body #secauth-login-box .secauth-login-dropdown-button a.button:hover + ul,
  body #secauth-login-box .secauth-login-dropdown-button a.button:focus + ul,
  body #secauth-login-box .secauth-login-dropdown-button a.button:active + ul,
  body #secauth-login-box .secauth-login-dropdown-button ul:hover {
    visibility: hidden;
    opacity: 0;
  }
}


body #secauth-login-box .secauth-login-dropdown-button ul li a {
  background: #fff;
  border-bottom: 1px solid #ccc;
  color: #222;
  display: block;
  font-size: 1em;
  line-height: normal;
  padding: 0.4em 0.6em;
  text-decoration: none;
  white-space: nowrap;
  text-align:right;
}

body #secauth-login-box .secauth-login-dropdown-button ul li a:hover {
  background: #eee;
}

body #secauth-login-box .secauth-login-notification-text {
  background: #e22e26;
  color: #fff;
  padding: 7px 10px;
}

body #secauth-login-box .secauth-login-notification-text p {
  font-size: 0.857em;
  line-height: normal;
  margin: 0;
}

body #secauth-login-box .secauth-login-notification-text a {
  color: #fff;
}

body #secauth-login-box .secauth-login-notification-text b {
  color: #fff;
}

body #secauth-login-box .secauth-login-logo {
  background: #e22e26;
  padding: 7px;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
}

body #secauth-login-box #secauth_popup {
  z-index: 100;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  color: #222;
  font-family: Arial, sans-serif;
  font-size: 1em;
}

body #secauth-listing-table {
background:#fff;
}

@media (min-width:60em) {
  body #secauth-listing-table {
    min-width:60em;
  }
}

@media (max-width:59.9em) {
  body #secauth-listing-table {
    width:100%;
  }
}

body #secauth-listing-table th,
body #secauth-listing-table td {
  max-width:60em;
  padding:.25em;
}

body #secauth-listing-table th {
  font-weight:bold;
  text-align:left;
  vertical-align:bottom;
}

body #secauth-listing-table .secauth-table-cell-text-right {
  text-align:right;
}

body #secauth-listing-table tbody tr:nth-of-type(odd):not(.secauth-no-bg) td {
  background:rgba(0,0,0,0.05);
}

body #secauth-listing-table tbody tr.secauth-active-row td {
  border:0;
  font-weight:bold;
}

body p.secauth-active-row {
  font-weight:bold;
}

body #secauth-listing-table tbody tr.secauth-red-row td {
  border:0;
  font-weight:bold;
  color:#BB0000;
}

body p.secauth-red-row {
  font-weight:bold;
  color:#BB0000;
}

body #secauth-listing-table tr.secauth-table-header-valign-bottom th {
  vertical-align:bottom;
}

body #secauth-entry-table td.secauth-field-name {
  font-weight:bold;
  text-align:right;
  padding-right:0.5em !important;
  max-width: 20em;
}

body #secauth-entry-table td.secauth-field-value {
  vertical-align:bottom;
}

#secauth-entry-table td {
  padding: 2px 0px 2px 0px !important;
}

body #secauth-edit-table td.secauth-field-name {
  text-align:right;
}

body #secauth-edit-table td.secauth-field-value {

}
#secauth-edit-table td {
  padding: 2px 0px 2px 0px !important;
}

#secauth-table label {
  display:inline-block;
  padding:0.35em;
}

#secauth-table input[type=radio] {
  margin:0.5em;
}

#secauth-table .secauth-row-hover:hover td {
  background:rgba(0,0,0,0.05);
}

.secauth-button {
  background:#fff;
  border:1px solid #aaa;
  color:#333 !important;
  display:inline-block;
  padding:0.2em 0.4em;
  margin:0;
  text-decoration:none;
}

.secauth-button:hover {
  background:rgba(0,0,0,0.05);
  color:#333;
}

.secauth-button-red {
  background:#fff;
  border:1px solid #aaa;
  color:#BB0000 !important;
  display:inline-block;
  padding:0.2em 0.4em;
  margin:0;
  text-decoration:none;
  /*font-weight: normal;*/
}

.secauth-button-red:hover {
  background:rgba(0,0,0,0.05);
  color:#BB0000;
}

.secauth-link-box {
  background:#2980b9;
  border:1px solid #fff;
  padding: 1em 1em 1em 1em;
  width: 13em;
  height: 4em;
  color:#ffffff !important;
  display:table-cell;
  text-decoration:none;
  line-height: 1.3em;
  text-align: center;
  vertical-align: middle;
}

.secauth-link-box:hover {
  background:#3498db;
  text-decoration:none;
}

/* Alert box
=========================================== */

#alert-wrapper {
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  padding: 10px;
  z-index: 100000;
  pointer-events: none;
  -webkit-transition: all 1000ms ease-in-out;
  -moz-transition: all 1000ms ease-in-out;
  -ms-transition: all 1000ms ease-in-out;
  -o-transition: all 1000ms ease-in-out;
  transition: all 1000ms ease-in-out;
  background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.5)), color-stop(100%,rgba(0,0,0,0)));
  background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
  background: -o-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
  background: -ms-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40000000', endColorstr='#00000000',GradientType=0 );
  max-height:calc(100vh - 20px);
  overflow:hidden;
}

#alert-wrapper.popup-visible {
  top: 0;
}

.alert-popup {
  background: #fff;
  border: 1px solid #bbb;
  display: block;
  max-width: 70em;
  margin: 0 auto 10px auto;
  padding: 10px;
  pointer-events: auto;
  max-height:calc(100vh - 40px);
  overflow: auto;
}

.alert-popup:before,
.alert-popup:after {
  content: " ";
  display: table;
}

.alert-popup:after {
  clear: both;
}

.alert-text {
  float: left;
  padding: 4px 0;
}

.alert-buttons {
  clear: both;
  float: right;
  margin-left: 10px;
}

/* Screen width
=========================================== */

#content-style-selection-box {
  max-width: 220px;
  margin: 0 auto;
  text-align: right;
  float: right;
  clear: right;
  color: #FFF;
  border-bottom: 1px solid #CCC;
  border-left: 1px solid #CCC;
  border-right: 1px solid #CCC;
  background: #666;
  padding: 5px 10px;
}

#content-style-selection-box form {
  display: inline;
}
#content-style-selection-box form input {
  vertical-align: middle;
}
#content-style-selection-box form label {
  font-size: .85em;
}

#content-style-selection-box .content-style-selection-screensize  {
  color: #fff;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}

#content-style-selection-box .content-style-selection-screensize img {
  -webkit-filter: invert(100%) brightness(0.4);
  filter: invert(100%) brightness(1.4);
  opacity: 0.5;
  vertical-align: middle;
  
  -webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
#content-style-selection-box .content-style-selection-screensize:hover img {
  opacity: 0.75;
}
#content-style-selection-box .content-style-selection-screensize.act img {
  opacity: 1;
}



/* 
* Tehtävä #96179 - SecAuth eIDAS kirjautumiseen pankkien ja mobiilivarmenteiden valintaruutu
* Hover-tyylit pankin valintanappiin. Hover-tyylejä ei voida määrittää inline-tyyleinä.
*/
a.eidas_auth_method:hover {
 -webkit-box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 30%);
 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
 box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 30%);
}