/******* GREDI PERUSPALVELU GUI3 01/2017 ******/

/*** KIRJAUTUMISSIVU ***/


table#loginWrapper {
    background-color: #000;
    background-image: url("https://noho.contenthub.fi/NiboWEB/noho/getFile.do?cart=true&ticket=418338&cartUuid=4920947&uuid=4920963&type=original");
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    margin-bottom: auto;
    margin-top: auto;
}

/* table#loginWrapper {
    margin-top: auto;
    margin-bottom: auto;
    height: 100%; 
    background-color: #ddd;
}*/

#loginTable {
    /*width: 600px;*/
    background-color: transparent;
    top: 10%;
    left: 5%;
    position: absolute;

}
#loginHeader {
    height: 140px;
    background-size: 100%;

}
#loginHeader table {

}
#loginInformation2 {
    background-color: #ffffff;
    background-image: none;
    color: #000000;
    font-size: 14px;
    vertical-align: top;
}
#loginInformation2 table {
    padding: 0;
    width: 500px;
}
table#loginTable h2 {
    font-size: 20px;
    font-weight: normal;
    margin: 15px 0;
}
#loginText2 {
    padding-bottom: 20px;
}
table#loginTable #loginInformation2 td.right {
    text-align: left;
}
strong#lblUsername, strong#lblPassword {
    font-size: 14px;
    font-weight: bold;
}
/* #loginInformation2 input[type="submit"] {
    background-color: #0033cc;
    border: 0 none;
    color: #fff;
    font-size: 14px;
    height: 28px;
    width: 60px !important;
} */
#loginInformation2 #login, #loginInformation2 #password {
     width: 125px;
}
td#headerCell2.center, td#headerCell2.right {
    color: #000;
    font-size: 12px;
    font-weight: normal;
}
td#headerCell2.center a, td#headerCell2.right a {
    color: #000;
    font-weight: normal;
    text-decoration: underline;
}
td#headerCell2.right a {
	padding-right: 30px;
}
td#headerCell1 a {
    color: #ffffff;
    font-size: 12px;
    font-weight: normal;
    padding-left: 80px;
    position: relative;
    text-decoration: none;
}
#forgottenPassword {
    height: 30px;
    vertical-align: top;
}
#forgottenPassword a {
    color: #fff;
    font-size: 11px;
    text-decoration: underline;
}
#langHeader > strong {
    font-size: 14px;
    font-weight: normal;
}
td#loginInformation2 select#lang {
    background-color: #ddd;
    border: 0 none;
    float: right;
    font-size: 14px;
    height: 28px;
    margin-right: 122px;
    width: 140px;
}
#loginFooter {
    background-image: none;
    background-color: transparent;
    height: 40px;
}

/*** Unohtuiko salasana -lomake ***/

table#loginTable td.logo {
    border: 0 none;
}

/*** Rekisterointilomake ***/


/************** ETUSIVU ********************/

/* START: GUI3 changes */

/* Search */ 
#frontpage #search-wrapper {
    position: absolute;
}
#frontpage  .react-app .search-view .button-toggle {
    color: #ffffff !important;
}

.react-app .search-view .button-toggle {
    color: #000000 !important;
}

#frontpage .react-app .search-view .arrow-down {
    border-top: 6px solid #ffffff !important;
}

.react-app .search-view .arrow-down {
    border-top: 6px solid #000000 !important;
}
#search-wrapper {
    height: 37px;
    right: 40px;
    width: 335px;
}
#search-wrapper #simpleSearch {
  display: none;
}
#search-wrapper #extTopbarSearchContent {
  display: inline-block;
}
#frontpage #extTopbarSearch {
    position: absolute;
    top: 20px;
    right: 50px;
}
#extTopbarSearch .react-app .search-view {
    margin: 2px 10px 0 0;
}
#search-wrapper-content input {
   background-color:white;
}

#search-wrapper {
    top: 10px !important;
}

/* List files table */
#content table.list th.header a {
	background-color: transparent;
}
#content table.list img {
	vertical-align: middle !important;
}
#frontpage .link-text, #frontpage #main-content .box-content h2 {
    color: black;
    font-family: Arial,Helvetica,sans-serif !important;
}

/* START: TOP BAR */

#frontpage #top-bar, #frontpage #video-area, #frontpage video {
    background-color: transparent !important;
    background-image: url(getFile.do?uuid=4932256&downloadDialog=false&type=original) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position-x: center !important;
}

/* #frontpage #top-bar, #frontpage #video-area, #frontpage video {
        background-color: transparent !important;
}*/
#frontpage #video-area {
        position: relative;
        overflow:hidden;
width: 100%;
}
#frontpage #video {
    z-index: 0;
        position:absolute;
        width:100%; /*
        height: 100%; */
        background: transparent;
}
#frontpage #logo {
        position: absolute;
    left: 80px !important;
    top: 30px !important;

        z-index: 5;
    height: 120px;
   /*  display: none; oletuksena logo kuvassa */
}

/* START: CONTENT AREA */

#frontpage .content-area {
    margin: auto;
    min-width: 1000px;
    width: 1000px;
}

#frontpage #main-content {
        display: table;
        table-layout: fixed;
}
#frontpage #main-content .box {
        display: table-cell;
        text-align: left;
}
#frontpage #main-content .box-content {
        background-color: #ddd;
        padding: 20px;
        line-height: 23px;
        margin: 10px;
        height: 185px;
        position: relative;
        overflow: hidden;
}
#frontpage #main-content .box-content h2 {
        font-size: 14px;
        font-weight: normal;
        margin: 0px;
        margin-bottom: 10px;
}
#frontpage #main-content .box-content ul {
        list-style-type: none;
    padding: 0px !important;
    margin: 0px !important;
    overflow: hidden;
}
#frontpage #main-content .box-content ul li {
   background-image: url(../../img/gui3/bullet.png);
   background-position: 0 6px;
   background-repeat: no-repeat;
   padding-left: 14px;
}
#frontpage #main-content .box-content .bottom-link {
        position: absolute;
        bottom: 10px;
}
#frontpage #main-content .box-content .bottom-link a {
        color: #169fdb;
        text-decoration: underline !important;
}
/* Override frontpageElement stuff */
#frontpage #main-content .box-content ul.baskets  {
        list-style-image: none !important;
        margin-left: 0px !important;
}
#frontpage #main-content .box-content a {
        padding-left: 0px !important;
        background-image: none !important;
        word-wrap: normal;
}
#frontpage #main-content .box-content a img {
        display: none;
}
#frontpage #main-content .box-content .fpDate {
        display: none;
}
/* END: CONTENT AREA */

/* START: QUICK LINKS */

#frontpage #quick-links {
        position:relative;
        text-align: center;
        height:0px;
    margin-top: 2px;
        margin-bottom: 15px;
      /*  margin-top: -50px; Offset on top of video */
      /*    height: 130px; Height of icons + texts area */
}
#frontpage #quick-links-wrapper {
        display: inline-block;
        margin-top:-50px;
}
#frontpage .quick-link {
        display:inline-block;
        position: relative;
        vertical-align: bottom;
        width: 130px; /* Spacing between icons */
        height: 90px; /* Must be same as icon small height */
}
#frontpage .link-text {
    font-size: 14px;
    position: relative;
    display: block;
    width: 100%;
    margin-top: 110px;
    color: #414244;
    font-weight: bold;
margin-left: 14px;
}
/* For link icons to work in IE, make sure width,height and viewBox
attributes are set properly in the <svg> tag. Example:
<svg
   ...
   width="90"
   height="90"
   viewBox="0 0 90 90"
   ...
*/
#frontpage .link-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90px; /* Icon small width */
    height: 90px; /* Icon small height */
    margin-left: -45px; /* Icon small width/2 */
    margin-top: -45px; /* Icon small height/2 */
    z-index: 5;

    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
#frontpage .link-icon:hover {
    width: 120px;   /* Icon large width */
    height: 120px;  /* Icon large height */
    margin-left: -60px; /* Icon large width/2 */
    margin-top: -60px; /* Icon large height/2 */
}
#frontpage .icon {
    width:100%;
    height:100%;
}
/* END: QUICK LINKS */

#frontpage div#bodybox div#gui3frontpageContent {
    padding-top: 120px;
}
#frontpage #main-content-layout-3x1, 
#frontpage #main-content-layout-2x2, 
#frontpage #main-content-layout-3x2, 
#frontpage #main-content-layout-3x3, 
#frontpage #main-content-layout-4x4 {
/*      margin-top: 15px; */
        display: table;
        table-layout: fixed;
display: none;
}
#frontpage #main-content-layout-3x1 .box-content h2, 
#frontpage #main-content-layout-2x2 .box-content h2, 
#frontpage #main-content-layout-3x2 .box-content h2, 
#frontpage #main-content-layout-3x3 .box-content h2, 
#frontpage #main-content-layout-4x4 .box-content h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px;
}
#frontpage #main-content-layout-3x1 .box-content a, 
#frontpage #main-content-layout-2x2 .box-content a,
#frontpage #main-content-layout-3x2 .box-content a,
#frontpage #main-content-layout-3x3 .box-content a, 
#frontpage #main-content-layout-4x4 .box-content a {
    background-image: none !important;
    padding-left: 0 !important;
    word-wrap: normal;
    color:black;
}

/* START: BOTTOM */

#frontpage #bottom-bar {
    margin-top: 10px;
    height: 40px;
    background-color: #43474a;
 /* display: block; */
    display: none;
}
#frontpage #bottom-bar #bottom-link-2 {
    display:none;
}
#frontpage #bottom-bar .bottom-link-box {
        float: right;
        padding-top: 12px;
        padding-left: 50px;
        padding-right: 10px;
}
#frontpage #bottom-bar .bottom-link-box a {
        color: #ffffff;
}
#frontpage #bottom-bar .bottom-link-box a:hover{
        text-decoration: underline;
}

/* END: BOTTOM BAR */

/*** END: GUI3 changes ***/


/*** YLEISET TYYLIT ***/

div#logoArea { 
    text-align: left;
}
div#logoArea img {
    height: 50px;
    margin-left: 15px;
    margin-top: 8px;
}

/* Breadcrumbs fix */
select#path_2_0 {
    display:none;
}
#extBreadCrumbs {
    margin-left: 22px;
    padding-top: 3px;
}
#extBreadCrumbs a {
    color: #000000;
}
#path * {
	background-color: #FFFFFF;
        height: auto;
        color: #000000;	
}

/* publicCart fix */
table#publicCart {
    width:100%;
}

/* VASEMMAN REUNAN "PIILOTA TYOKALUT" PALKIN TAUSTAVARI VJ */
td#toggle  { background-color: #0064a5; }

/* VASEMMAN REUNAN NAPIN TAUSTA LAPINAKYVAKSI VJ */
td#toggle a { background-color: transparent; }

/* VAAKANAVIGOINNIN LINKKIVARI VJ */ 
#horizontalNavi a { color: #FFFFFF;
/*                            background-color: #0064a5; */
                            font-family: arial;
                            /* font-variant: small-caps; */
                            font-size: 12px; }

/* VAAKANAVIGOINNIN LINKKIVARI VJ */ 
#horizontalNavi { background-color: #0064a5; }
	
/* VASEMMAN REUNAN TEKSTI VJ */
#navi {
	color: #0070b2;	}

/* POISSA KAYTOSTA OLEVA ELEMENTTI */ 
.disabled, .disabled a {
	color: #999999;	} 

/* VAAKAEROTIN */ 
hr {
	color: #E0E0E0; background-color: #E0E0E0; }

/* KORIKANSION-RIVIN TEKSTI JA LINKKI */
.basketFolder  {
	color: #FFFFFF;	}

/* POPUP-TABIEN TEKSTI */
.tabs td a	{
	color: #FFFFFF;	}
	
/* VASEMMAN REUNAN NAVIGOINNIN LINKIT */
#navi ul li a {
	color: #004b8a;	}

/* VASEMMAN REUNAN HAE-PAINIKKEEN TEKSTI */	
#navi form button {
	color: #FFFFFF;	}

/* VIRHEILMOITUKSET */
.error {
  color: #FF0000; }

/***********************************/
/*		 	     TAUSTAVARIT	   */
/***********************************/

/* KORIKANSIO-RIVI */
.basketFolder {
	background-color: #666666; }
.tabs td.nolink {
	background-color: #666666; }

/* HAKU-PAINIKKEEN VARI */
#navi form button {
	background-color: #767676; }
.basketFolder .arrow a:hover {
	background-color: #999999; }

/* POPUP-TABIT (EI-VALITTU) */
.tabs td {
  background-color: #999999; }
  
/* POPUP-TABIEN (EI-VALITTU) HOVER */
.tabs td a:hover {
	background-color: #A5A5A5; }

/* VAAKANAVIN LINKIN HOVER VJ */	
#horizontalNavi a:hover { color: #FFFFFF;
                                     background-color: #3989cd; }
	
/* VAAKANAVIN VALITTU LINKKI JA VALITUN LINKIN HOVER */
#horizontalNavi a.selected, #horizontalNavi a.selected:hover {
	background-color: #B4B4B4	}
	
/* VASEMMAN REUNAN LINKKIEN JA HAKUBOXIN TAUSTAVARI */
#navi ul li a, #navi form  {
	background-color: #d9d9d9; }

/* VASEMMAN REUNAN LINKKIEN HOVER */
#navi ul li a:hover {
	background-color: #0064a5;
        color: #FFFFFF; }
	
/* VASEMMAN REUNAN HALLINNOINTILINKKIEN TAUSTAVARI */
#navi ul.hallinta a {
	background-color: #ededed;
       color: #2b4455; }
	
/* VASEMMAN REUNAN HALLINNOINTILINKKIEN TAUSTAVARI HOVER */	
#navi ul.hallinta a:hover {
	background-color: #ededed;
        color: #ff0000;}	

/* PERUSLOMAKKEEN VALIOTSIKON TAUSTAVARI */
table.commonform tr.headerRow td, #content #contentHeader {
	background-color: #D5D5D5; }

/* VASEMMAN REUNAN TAUSTAVARI (Huom. TAhAn vaikuttaa myOs taustakuva!) */
#navi {
	background-color: #ededed; }

/* KANSION / KORIN KUVAUKSEN TAUSTAVARI */	
p.description {
	background-color: #F0F0F0; }

/* PERUSLOMAKKEEN OTSIKKOSARAKKEEN TAUSTAVARI */
table.commonform th {
	background-color: #F0F0F0; }
	
/* LYHYEN NAKYMAN TAUSTAVARI */
table.details {  
background-color: #F0F0F0; }
	
.commonformArea,
.basketItems th, 
div#contentHeader a.up:hover, 
.dynAineisto .entry, 
#picture, 
#language, 
#form,  
.customize td  {
background-color: #F0F0F0; }

/* POPUP-SISALTOALUE */	
#content.popup {
	background-color: #FFFFFF	}
	
/* VALITTU TABI / POPUPIT */
.tabs td.selected {
	background-color: #FFFFFF	}

/* AINEISTO-TYYPIN TAUSTAVARI */
tr.aineisto td, td.aineisto {
	background-color: #FFF1D1; }

/* YKSITYINEN KORI */	
tr.private td.private {
	background-color: #ECF0F9; }

/* DEMOKAYTTAJA */		
tr.demo td, td.demo {
	background-color: #ECF0F9; }

/* ULKOINEN KAYTTAJA */		
tr.external td, td.external {
	background-color: #E4EFE2; }

/* SUODATUKSEN TAUSTAVARI */
.suodatus {
	background-color: #FFF6CC; }

/* KUVAKKEET-NAKYMASSA AINEISTON YLAPALKIN TAUSTAVARI */
.thumbNails table .entryHeader {
	background-color: #E0E0E0; }
	
/* KUVAKKEET-NAKYMASSA AINEISTON YLAPALKIN TAUSTAVARI KUN AINEISTO KORISSA */
.thumbNails .inBasket .entryHeader {
	background-color: #ffe0a0; }

/* JARJESTELMAVIESTIN TAUSTAVARI */
#message {
  background-color: #FFFEBF;
}

/***********************************/
/*		 	     REUNUKSET  	   */
/***********************************/

#toolbar td.basket, p.instructions, div.filter, .basketSelect, table.layout td   {
	border: 1px solid #E0E0E0;
}

/* YLAPALKIN ALAVIIVA (=Toolbarin ylAviiva) */
#newheader {
  border-bottom: 1px solid #E0E0E0; }
  
/* PAAOTSIKON ALAVIIVA */
h1 {
	  border-bottom: 1px solid #E0E0E0; }

/* VASEMMAN REUNAN NAVIGOINNIN LIKKIEN VALISSA OLEVA VALI */	  
#navi ul li a {
	  border-bottom: 1px solid #EdEdEd;}

/* PERUSLOMAKKEEN VALIVIIVA */
table.commonform td {
	  border-bottom: 1px solid #E0E0E0; }
	  
table.details table td, #language {
	border-top: 1px solid #E0E0E0;
}

.customize td {
	border: 1px solid #D5D5D5;
}

/* AINEISTO-TYYPIN TAUSTAVARI */
tr.aineisto.row td {
	border-top: 1px solid #FFE5A1;
}

/* VAAKANAVIN ELEMENTTIEN VALISSA OLEVA VIIVA VJ */
#horizontalNavi td td {	border-left: 0px solid #C0C0C0;
                                 border-bottom: 1px solid #0064a5;
                                 border-right: 1px solid #0064a5; }

/* JARJESTELMAVIESTIN AARIVIIVAT */
#message {
	border: 1px solid #E9E781; }
	
/* MARGINAALI LYHYEN NAKYMAN AINEISTOJEN VALISSA (=taustavAri) */
table.details th {
	border-top: 10px solid #FFFFFF;	}

/* PERUSLOMAKKEEN ALOITUSVIIVA */
table.commonform.line {
	border-top: 8px solid #CCCCCC; }

/* PERUSLOMAKKEEN VALIOTSIKON YLAPUOLELLE JATETTAVA TYHJA TILA (=taustavAri) */
table.commonform tr.headerRow td {
	border-top: 20px solid #FFFFFF; }
	
/* KANSION / KORIN KUVAUS */
p.description {
	border: 1px solid #D5D5D5; }

/* POPUP-TABIT (EI-VALITUT) */
.tabs td {
	border-right: 4px solid #666666;				
	border-top: 10px solid #666666;	 }

/* KUVAKKEET-NAKYMAN KUVAKKEIDEN AARIVIIVAT */
.thumbNails table {
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
}

/********************************/
/*		 	      FONTIT	  	*/
/********************************/

html, body, textarea {
	font: 13px Arial, Helvetica, sans-serif;	
}
a {
	font-size:10pt;	
}
h1 {
	font-weight: normal;
	font-size: 22px;	
}
h4 {
	font-size: 13px;
	margin-top: 10px;	
	margin-bottom: 4px;
}

/* Pystynavigointi */
#navi {
	font: 12px arial, helvetica, sans-serif; 
}

/* Pystynavigoinnin linkit */
#navi ul li a {
	font-weight: bold;
	font-size: 12px; 
	text-decoration: none;
}

/* Hakuboksin hae-painike */
#navi form button {
	font: bold 11px Arial, Helvetica, sans-serif;
    color: #0070b2;	
}

/* HakukenttA */
#navi form input {
	font-size: 12px;	
}

/* Painikkeiden teksti */
button {
	font: 12px Arial, Helvetica, sans-serif;
	text-decoration: none;
}

table.basketItems {
	font-size: 12px;
}
.basketItems td.empty {
	font-size: 0px;
}

/* FORM ELEMENTS */
.dynTF {
  width:80px;
  height:20px;
}
.dynDrop {
  width:100px;
}
.dynOrigo * {
  font-size:9px;
  width:9px;
  height:9px;
  line-height:9px;
  margin:0px;
  padding:0px;
}
.dynWrapper {
  margin-bottom:5px;
}
.colPreview {
  display:inline;
  height:18px;
  font-size:18px;
  line-height:18px;
  border: 1px solid #000000;
}
.dynButtonOn {
  background-color:#FFFFFF;
  background-image:none;
}
.dynButtonOff {
  background-image:url(../img/button_bg.png);
}
.dynPDFPreviewBg {
  background-color: #F0F0F0;
}
.dynBtmLine {
  height:1px;
  width:100%;
  background-color: #CCCCCC;
  background-repeat:repeat-x;
  margin:0px;
  padding:0px;
  font-size:0px;
  line-height:0px;
}
.dynRowTitle {
  margin-left: 10px;
  font-weight: bold;
}

/* Korin hakemistojen indentointi */
tr.indented td.indentColumn {
  background-color: #FFFFFF;
  background-image:url('../img/indentedColumn.gif');
  background-repeat:no-repeat;
}

tr.indentedLast td.indentColumn {
  background-color: #FFFFFF;
  background-image:url('../img/indentedLast.gif');
  background-repeat:no-repeat;
} 

/*** PAINIKKEET YM. ***/

#publicCart #watermark {
display:none;
}

/* New options */

/* Hide unnecessary buttons-elements */
#indesignParameters,#orderSelectAddress,p#materialID,#pageHelp,#langBr,#messageBarPanel,#msg_info_line {
display:none !important;
}

/* Fix comment buttons */
#commentApprove,#commentDisapprove {
display:none;
}

#commentDisapproveAlt {
display:block;
}

/* Fix public cart view */
#cartPublicContentHeader {
width:98%;
height:104px;
position:absolute;
overflow:hidden;
}

#cartPublicContent {
overflow:auto;
position:absolute;
width:100%;
top:200px;
height:80%;
/* padding:16px; */
}

/* New multiple upload */
#btnMultipleUploadMeta2 {
display:inline !important;
}
/* Old multiple upload */
#btnMultipleUploadMeta {
display:none !important;
}




/* KARIN TURAUKSET */

#loginInformation > table {
    width: 320px;
    margin: -25px 0 0 22px;
}

#loginInformation {
    background-image: none;
}

span#hideBr {
    display: none;
}

#loginImage img {
    display: none;
}

#loginInformation input {
    /* background-color: white; */
    /* border: 1px solid #000; */
        float: right;
    /* font-size: 12px; */
    /* height: 20px; */
    /* margin-bottom: 5px; */
     width: 200px;
}

#loginInformation input[type="submit"] {
    background-color: #fff;
    color: #000;
    float: right;
    font-size: 11px;
    height: 20px;
    border: 0px;
    width: 100px;
    font-weight: 500;
    position: relative;
}


td#headerCell2.center {
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    float: left;
    margin-left: 17px;
}


td#headerCell2.center a {
    color: #fff;
    font-weight: normal;
    text-decoration: underline;
}

/* GUI4 changes commenting */
#saveChanges {
display:none;
}
#commentDisapproveAlt {
display:inline;
}
#commentSaveHelp 
{
text-align:center !important;
}

#loginTable input[type="submit"] {
    background: white;
    color: #000;
border-radius: 0px;
}

@media screen and (max-width: 500px) {
    #loginWrapper {
        background-image: var(--background-image);
    }
    #loginTable {
        transform: none;
    left: unset;

    }
#loginTable input[type="submit"] {
    background: black;
    color: white;
border-radius: 0px;
}

.loginField > label {
color: #000 !important;
}

#forgottenPassword a {
color: #000 !important;
}
#poweredByCell {
color: #000 !important;
}

}


#loginWrapper {
--color-text: white;
--color-background: #408BA8;
--background-image: radial-gradient(#fff, #fff);
--color-field: black;
--color-field-background: #ddd;
--color-error: red;
}

#loginLogo {
    width: 100%;
    max-width: 350px;
    margin: 0px;
}

#loginFields {
    margin-top: 0px;
}