.center {
    max-width: 1280px;
    margin: 0 auto;
}

a {
    color: black;
}

.text-nowrap { 
    white-space: nowrap;
}

body > .content { 
    margin-top: 20px;
}

img {
    border-style: none;
}

.bold {
  font-weight: bold;
}

textarea {
    box-sizing: border-box;
    padding: 2px;
}

.clearfix:after {
   content: "";
   display: table;
   clear: both;
}

.highlight {
   color: rgb(255, 153, 0) !important;
}

.cursor-pointer {
  cursor: pointer;
}
.infotext-wrap {
  position: relative;
  display: inline-block;
}
.infotext-wrap .infotext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 100;
    bottom: 100%;
    left: 50%;
    margin-left: -100px;
}

.infotext-wrap:hover .infotext{
  visibility: visible;
}

input[type="submit"], input[type="button"], button, .button {
    background-color: white;
    padding: 0.2em 0.5em 0.2em 0.5em;
    margin: 0.3em 0.3em 0.3em 0em;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover, .button:hover {
    background-color: rgb(230, 241, 244);
}

input:not([type="checkbox"]), textarea, button, .button {
    border-color: gray;
    border-style: solid;
    border-width: 1px;
    font-family: inherit;
    font-style: inherit;
    font-size: small;
    line-height: 1;
}

select {
    border-color: gray;
    border-style: solid;
    border-width: 1px;
    background-color: #FBFBFB;
}

.button {
    text-decoration: none;
    padding: 3.5px 7px 3.5px 7px;
    display:inline-block;
}

label {
    display: block;
}

html, body.laite {
    margin: 0;
    padding: 0;
    height: 100%;
}

body.laite {
    font-family: Helvetica, sans-serif;
}

.wrapper {
    min-height: 100%;
    position: relative;
    font-family: Helvetica, sans-serif;
    font-size: 11pt;
}

.wrapper p {
    margin: 0;
    line-height: 1.5;
}

.header-content {
    height: 100px;
    position: relative;
}

.header-content a {
    color: #ffffff;
    text-decoration: none;
}

.header-content a:hover {
    text-decoration: underline;
}

header {
    height: 100px;
    background: url( /?page=I&from=4.25.3E.css&id=LAIHDR ) repeat-x 0px 0px;
}


.searchIcon {
    padding-right: 20px;
    background-image: url(/?page=I&from=4.25.3E.css&id=LAISEARCH);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 15px;
}
#header-title img {
    position: absolute;
    top: 50%;
    height: 50%;
    padding-top: 25px;
    margin-top: -50px;
}

#header-text {
    position: absolute;
    right: -0;
    top: 10px;
    text-align: right;
    color: #ffffff;
    font-size: 0.8em;
}

#header-links {
    position: absolute;
    right: -0;
    bottom: 0;
    height: 36px;
}

#header-links img {
    display: inline-block;
}

.content {
    padding-bottom: 170px;
}

.content p[id*=error], .content span[id*=error], 
p[class*=error], span[class*=error] {
    color: #880000;
    font-weight: bold;
    margin-bottom: 5px;
}

footer {
    width: 100%;
    min-height: 100px;
    height: auto;
    position: absolute;
    bottom: 0;
    background: rgb(191,191,191);
    box-sizing: border-box;
    padding: 20px;
    color: rgb(241,241,241);;
}

ul.footerlist {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.footerlist li {
    margin-bottom: 5px
}

#footer-menu-link img {
    height: 25px;
    width: 150px;
}

footer a {
    text-decoration: none;
    color: rgb(241,241,241);
}

footer a:hover {
    text-decoration: underline;
}

.leftlist {
    float: left;
}

.rightlist {
    float: right;
    text-align: right;
}

div.laite-dialog {
  display: none;
  position: fixed;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  margin: 0 auto;
  left: 0;
  top: 0;
  z-index: 10;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.2);
}
div.laite-dialog-content { 
  background: white;
  max-width: 30em;
  min-width: 15em;
  margin: 0 auto;
  margin-top: 10%;
  padding: 5px 10px;
  border: rgb(0, 120, 143) solid 0.5px;
  border-radius: 3px;
}
.laite-dialog-button {
  border:  rgb(0, 120, 143) 0.5px solid;
  padding: 5px;
  border-radius: 10px;
  min-width: 100px;
  cursor: pointer;
}
.laite-dialog-button.confirm-button {
  background-color:  rgb(0, 120, 143);
  color: white;
  transition:         0.08s ease-in;
  -o-transi:      0.08s ease-in;
  -ms-transition:     0.08s ease-in;
  -moz-transition:    0.08s ease-in;
  -webkit-transition: 0.08s ease-in;
}
.laite-dialog-button.confirm-button:disabled {
  background-color:  rgb(180, 180, 180);
  cursor: not-allowed;
}
.laite-dialog-button.confirm-button:hover:enabled {
  background-color: white;
  color: rgb(0, 120, 143);
}
.laite-dialog-button.cancel-button {
  color: rgb(0, 120, 143);
}
.ellipsis-button {
  background-color: rgb(205, 236, 244);
}
div[class*=item-row]:not(.login-items) {
    overflow: hidden;
    max-width: 720px;
}

.login-items, .login-items * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.login-items {
  text-align: center;
}
.login-items fieldset{
  text-align: initial;
}
.adfs_login {
  text-align: center;
  font-size: 18pt;
}
.menu-item-row div[class*=item-col]{
    min-width: 300px;
    height: 200px;
    margin: 40px;
    margin-bottom: 0;
}

.login-item-effector input, .login-item-effector select {
  width: 150px;
  margin-bottom: 0.3em;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.login-item-effector select {
  width: auto;
  max-width: 100%;
}
div[class*=item-col1] {
    float: left;
    position: relative;
}

.item-col2 {
    position: relative;
}

.menu-item-col2 {
    overflow: hidden;
    position: relative;
}

#menu-item-caption {
    position: absolute;
    bottom: 0;
    height: 60px;
    margin: 0;
    background: rgba( 0, 120, 143, 0.6 );
    text-align: center;
    text-transform: uppercase;
}

#menu-item-caption a {
    display: table-cell;
    vertical-align: middle;
    height: 60px;
    width: 300px;
    text-decoration: none;
    color: #ffffff;
}

#menu-item-caption a:hover {
    text-decoration: underline;
}

.additionalactions * {
  box-sizing: border-box;
}

.additionalactions {
  box-sizing: border-box;
  width: 640px;
  margin: 0 auto;
  margin-top: 20px;
}

.additionalactions > .addaction {
  float: left;
  width: 100%;
  height: 60px;

  color: white;
  padding: 10px;
  display: block;
  text-align: center;
  background: rgba( 0, 120, 143, 0.75);
}
.addaction {
 margin-top: 1em;
}


.additionalactions > div:nth-child(2n + 1) {
  clear: left;
}

.addaction:hover p {
  text-decoration: underline;
}

.adcontainer {
  display: inline-block;
  position: relative;
  height: 100%;
}

.ikoni + p {
  display: inline-block;
  margin-left: 10px;
  max-width: 300px;
  text-transform: uppercase;
  top: 50%;
  transform: translateY(-50%);
  position: relative;
}

.ikoni {
  float:left;
  top: 50%;
  transform: translateY(-50%);
  position: relative;
  background-size: 38px ;
  height: 38px;
  width: 38px;
}

.ikoni img {
  width: 38px;
}

.login-item {
  display: inline-block;
  vertical-align: bottom;
  height: 15em;
  width: 24em;
}

.login-item fieldset {
    height: 100%;
    width: 100%;
}

#login-title {
    text-align: center;
}

.item-row fieldset {
    min-width: 270px;
    min-height: 11.5em;
    padding: 0.8em;
    position: relative;
}

#search-header {
    font-size: 16pt;
    margin: 20px 0;
}

.scanner-wrapper {
  max-width: 90%;
  max-height: 70%;
  margin: 0 auto;
  margin-top: 1em;
}

#scanner video {
  position: relative;
  overflow: hidden;
  display: block;
  max-width: 100%;
  max-height: 100%;
}
#scanner canvas {
  display: none;
}
.CondLabelLeft {
    white-space: normal;
}

.CondLabelLeft input, .CondLabelLeft select {
    width: 100%;
    box-sizing: border-box;
    height: 20px;
}

#searchButtons {
    text-align: right;
    margin-top: 10px;
    position: relative;
}

.pwd-eye img {
    width: 18px;
    height: 18px;
    vertical-align: text-bottom;
}

input::-ms-clear, input::-ms-reveal {
    display: none;
}

#hakulaite .laite-dialog-content {
  max-width: 75%;
  height: 75%;
  margin-top: 100px;
}

#hakulaite iframe {
  box-sizing: border-box;
  width: 100%;
  height: 95%;
  border: 0.5px solid #b4b4b4;
  padding-left: 5px;
  padding-right: 5px;
}

#hakulaite .laite-dialog-footer {
  height: 5%;
}
nav {
    display: inline-block;
    width: 75%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;          
    overflow: hidden;
}

nav li {
    float: left;
}

nav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 0px 10px;
    padding-top: 10px;
    text-decoration: none;
    color: rgb(0, 120, 143);
    font-size: 12pt;
}

nav li a:hover {
    text-decoration: underline;
}

nav li.current a {
    color: rgb(255, 153, 0);
}

#navicon {
    display: none;
    width: 38px;
    height: 38px;
    float: right;
    background: url( /?page=I&from=4.25.3E.css&id=LAINAV );
    background-size: 38px ;
}

#navicon:hover {
    background: url( /?page=I&from=4.25.3E.css&id=LAINAVINV );
}

.left-container {
    float: left;
    margin-left: 20px;
    width: 60%;
}

.right-container {
    float: right;
}

ul.buttonList {
    list-style: none;
    overflow: hidden;
    margin-top: 20px;
    padding: 0px;
}

.buttonList li  {
    display: block;
    box-sizing: border-box;
    width: 200px;
    height: 80px;
    margin-bottom: 20px;
    background-color: rgb(51,146,165);
    border: solid rgb(0,119,142) 0.5px;
}

.buttonList li a {
    display: block; 
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    width: 100%;
    height: 100%;
}

.buttonList li a div {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.buttonList li:hover {
    background-color: rgb(41, 118, 134);
    text-decoration: underline;
    text-decoration-color: #ffffff;
    cursor: pointer;
}

ul.navlist {
    display: none;
	  position: absolute;
	  right: 12px;
	  top: 120px;
	  width: 200px;
    z-index: 10;
    list-style: none;
}

ul.navlist li a{
    text-align: center;
    margin: 0;
	  background-color: rgb(51,146,165);
	  border: solid rgb(0,119,142) 0.5px;
  	color: #ffffff;
  	display: block;
   	padding: 10px 0;
  	font-size: 10pt;
  	text-decoration: none;
}

#navicon:hover ul {
    display: block;
}

#lk-wrapper {
    float: none;
    margin-left: 20px;
}

.laitenotfound {
    font-size: 16px;
    margin-top: 20px;
}


#bridge {
    margin-top: 20px;
}

.tileList li {
  padding: 2px;
}

.hidden {
  display: none;
}
div.laite-info p {
  font-weight: bold;
}
p.emptyheight:empty:before {
  content: "\200b"; // unicode zero width space character
}
.bottombanner {
  color: #ffffff;
  background-color: #003843;
  font-size: large;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.bottombanner_right { 
  display: inline-block;
  float: right;
  line-height: 75px;
  vertical-align: middle;
}
.bottombanner_left {
  display: table-cell;
  width: 50%;
  height: 75px;
  vertical-align: middle;
}
@media only screen and ( max-width:1300px ) {
    .center{
        margin-left: 12px;
        margin-right: 12px;
     }

    div[class*="row"], .login-items {
          margin: 0 auto;
      }
}

@media screen and ( max-width: 760px ) {
    .menu-item-row:first-of-type {
        margin-top: 15px;
    }

    .menu-item-row div[class*=item-col] {
        margin: 0;
        margin-bottom: 15px;
        margin-left: 0;
    }

    .item-row div[class*=item-col]{
        min-width: 300px;
        width: 300px;
    }

    div[class*="item-row"] {
        width: 300px;
    }

    .login-item {
        margin: 0px;
        margin-bottom: 10px;
    }

    nav li a {
        padding-top: 10px;
        padding-left: 0;
        font-size: 10pt;
    }

    .left-container, #lk-wrapper {
        margin-left: 0
    }

    .additionalactions {
        width: 300px;
    }
}

@media screen and ( max-width: 540px ) {
    #navicon{
        display: inline-block
    }
    .right-container {
        display: none;
    }
    .left-container {
        width: 100%;
    }
}

@media screen and ( max-width: 480px ) {
    #header-text {
        font-size: 0.7em;
    }

    #header {
        height: 80px
    }

    .header-content {
        height: 80px
    }

    #header-title img {
        width: 175px;
        padding-top: 20px;
        height: 30px;
    }

    #header-links {
        bottom: -5px;
    }

    #header-links img {
        width: 28px;
    }

    #header-text {
        left: 0;
      	bottom: 5px;
        top: auto;
        text-align: left;
    }

    ul.navlist {
	      top: 103px;
    }
}

@media screen and ( max-width: 400px ) {
    .leftlist, .rightlist {
        float: none;
        text-align: left;
    }
    footer {
      height : auto;
    }
}

@media screen and ( max-width: 330px ) {
    .item-row fieldset {
        width: 240px;
        min-width: 240px;
    }
}

#searchButtons .loader{
    right: 170px;
}

.grid .searchtd {
    overflow: visible;
}

.login-item .loader{
    bottom: 5px;
    right: 10px;
}

.loading-icon {
  display: none; 
  float: right;
}
.loader {
    border: 5px solid lightgray;
    border-top: 5px solid #00788F;
    border-radius: 50%;
    width: 20px; 
    height: 20px; 
    animation: spin 2s linear infinite;
    position: absolute;
    visibility: hidden;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}

@keyframes spin {
    0% { 
        transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    } 
    100% {
        transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

.tree-icon-t {
  background: url(/?page=I&from=4.25.3E.css&id=TREE_T);
}
.tree-icon-l {
  background: url(/?page=I&from=4.25.3E.css&id=TREE_L);
}
.sort-asc {
  background: url(/?page=I&from=4.25.3E.css&id=SORT_ASC);
  background-color: #aed0da;
}
.sort-desc {
  background: url(/?page=I&from=4.25.3E.css&id=SORT_DESC);
  background-color: #aed0da;
}
.sort-bg {
  background: url(/?page=I&from=4.25.3E.css&id=SORT_BG);
}
.sorting-icon {
  background-position: right;
  background-repeat: no-repeat;
  cursor: pointer;
}
.autologoutdiag {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.autologoutdiag-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.autologoutdiag-close {
    color: #aaaaaa;
    float: right;
/*    font-size: 28px;
    font-weight: bold;*/
    text-decoration: none;
}

.autologoutdiag-close:hover,
.autologoutdiag-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
