/*****************************************************************
Kaikkien projektien kaikille mallipohjille yhteiset tulostustyylit.
Kutsutaan cui/eui/common_templates/head_common:ssa.
Huomaa, että projektin oma printtityylitiedosto sijoitetaan
mallipohjahakemiston styles_print.css-nimellä.
******************************************************************/

* {
 font-size:10pt;
 color:black;
 background-image:none;
 background-color:white;
 border-color:black;
}

div#flot-placeholder,
div#flot-placeholder * { background-color: initial; }

body {
 text-align:left;
 padding:0;
 margin:0;
 background-color:white;
 background-image:none;
}

h1,h2,h3 { color:black; }

small { font-size:10pt; }

a,
a:hover,
a:visited {
 color:black;
 text-decoration:underline;
}

hr { 
 height:1px;
 color:black; 
 background-color:black; 
 border:none;
}

img { border:0; }

input.button {
 color:black;
 background-color:white;
 border:1px solid black;
 background-image:none;
}

input, select {
 color:black;
 background-color:white;
 border:1px solid black;
 background-image:none;
}

.no-print { display:none; }

div#devel_basic_pagepath,
div.picker__holder { display: none !important; }

/*** Sulautettu yp ***/

div#toolbarWrapper,
div.toolbar-wrapper-hidden,
div.toolbar-wrapper-visible,
div.toolbar-wrapper-login-ok,
p.admin-linkset,
div.admin-linkset,
div.admin-link-pup-single,
div#debugInfo
 {
 display:none;
}


/*** Yleiset datalistaukset ***/

.data-header {
 background-color:white;
 color:black;
 border:1px solid black;
 font-weight:bold;
}

a.data-header,a.data-header:visited {
 color:black;
 border:none;
}

.data,.dataHL { border:1px solid black; }

.data-highlight,.dataHL:hover {
 border:1px solid black;
 background-color:white;
}


/*** Yleiskäyttöiset korostuslaatikot ***/

.th-box-tr { border:1px solid black; }

.th-box-att {
 border:1px solid black;
 background-color:white;
 color:black;
}


/*** Bulletin ***/
div.bulletin-list-separator { border-top:1px solid #000000; }


/*** Contact ***/
td.contact-img-wrapper { border-bottom:1px solid black; }

td.contact-data-wrapper { border-bottom:1px solid black; }


/*** Calendar ***/

td#cal-container-left { width:100%; }


/*** Filebank ***/

.treeTable, .search-list { border:1px solid black; }


/*** Image gallery, new ***/

div#imgWrapper { margin-bottom: 30px; }

div#mygallery.justified-gallery {
 overflow: initial;
 height: auto !important;
 margin-bottom: 30px;
}

div.jg-entry { 
 display: inline-block;
 width: auto !important;
 height: auto !important;
 top: 0 !important;
 left: 0 !important;
 border: 1px solid #000000;
 margin-right: 5px;
 margin-bottom: 5px;
}

.justified-gallery > a,
.justified-gallery > div {
 position: relative;
}

.justified-gallery > a > img,
.justified-gallery > div > img,
.justified-gallery > a > a > img,
.justified-gallery > div > a > img {
 margin-left: 0 !important;
 margin-top: 0 !important;
 position: relative;
 max-height: 250px;
 width: auto;
}

.justified-gallery > a > .caption,
.justified-gallery > div > .caption {
 opacity: 1 !important;
 color: #000000;
}

.justified-gallery div.youtube_icon {
 height: auto !important;
 width: auto !important;
}

/*** Message board ***/

div.mb-message-wrapper { border:1px solid black; }

div.mb-message-header {
 background-color:white;
 color:black;
 border-bottom:1px solid black;
}

div.mb-message-header a { color:black; }

fieldset.mb-quote { border:1px solid black; }


/*** Webshop ***/

div.wsGroupCont { border: 1px solid #000000; }

div.wsGroupNameWrap { border: 1px solid #000000; }

div.wsExtraInfoWrap { border-top: 1px solid #000000; }

div.wsExtraInfoRightWrap { border-top: 1px solid #000000; }

.only-responsive,
.only-responsive-inline,
.only-responsive-tablerow { display: none; }

/*** Verkkokaupan tuotearvostelut ***/

body.reviews-open div#pagemask-black,
body.reviews-open aside,
body.reviews-open div#product-cont,
body.reviews-open div#product-info,
body.reviews-open div#main > p,
body.reviews-open div#p-item-see-also,
body.reviews-open div.pl-cont.rinnakkais,
body.reviews-open div#close-product-reviews { display: none !important; }

body.reviews-open i.material-icons { vertical-align: bottom; }

body.reviews-open div#product-review, 
body.reviews-open div#product-reviews { 
 width: 100%;
 left: 0;
 top: 0;
 margin: 0;
 padding: 0;
}

body.reviews-open div#product-review input,
body.reviews-open div#product-review textarea { 
 width: 95% !important; 
 padding: 2mm !important;
 border-color: #ccc !important;
}

body.reviews-open div#product-review textarea { 
 min-height: 100mm;
 height: -webkit-fill-available; height: 100%;
 height: -moz-available;
 height: fill-available;
}

/*** Forms and taskmanager ***/

table.taskmanager-tasks thead { display: none; }
