﻿/* Omat käyttöoikeudet ----------- */

.license-table
{
	min-width: 500px;
}
.license-table td
{
	padding: 5px;
	vertical-align: middle;
}
.license-table .publication-row td
{
	border-top: 5px solid #fff;
	background: #eee;
}
.license-table .publication-row td:last-child
{
	min-width: 100px;
}
.license-table .publication-row .action-button
{
	float: left;
	margin-right: 5px;
}
.license-table .publication-row .toggle-button
{
	float: right;
	display: block;
	width: 9px;
	height: 5px;
	padding: 10px;
	background: url(/oppiminen-root/Images/Site/arrow-down.gif) center no-repeat;

	border: 1px solid #bbb;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
.license-table .publication-row .toggle-button.active
{
	background: url(/oppiminen-root/Images/Site/arrow-up.gif) center no-repeat;
}
.license-table .header-row
{
	display: none;
}
.license-table .header-row td
{
	font-style: italic;
	border-bottom: 1px solid #eee;
	text-align: right;
	padding-top: 20px;
}
.license-table .header-row td:first-child
{
	text-align: left;
}
.license-table .license-row
{
	display: none;
}
.license-table .license-row td
{
	text-align: right;
	padding-top: 10px;
}
.license-table .license-row td:first-child
{
	text-align: left;
}
.license-table .license-row td.free
{
	color: #01b813 !important;
}
/* # Aktivointikoodilisenssi */
.license-table .license-row.child-row td:first-child
{
	/*padding-left: 20px;*/
}
.license-table .license-row.child-row td:first-child:before
{
	content: '— ';
}
.license-table .license-row.child-row td
{
	padding-top: 3px;
	padding-bottom: 3px;
	/*font-size: 0.9em;*/
}
.license-table .license-row td.activated
{
	color: #999;
}
/* # Aktivointikoodilisenssi: loppu */
.license-table .license-row.expired
{
	color: #999;
}
.license-table .license-row .action-button
{
	max-width: 100px;
	margin-left: 5px;
}
.license-table .license-row .action-button:first-child
{
	margin-left: 0;
}

.license-login-user-manager-add-wrapper
{
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}
.license-login-user-manager-add-wrapper input[type=text],
.license-login-user-manager-add-wrapper .small-button
{
	margin-top: 5px;
}
.license-login-user-manager-content .small-button
{
	margin-left: 5px;
	margin-top: 5px;
}
.license-login-user-manager-content .row-wrapper
{
	margin-bottom: 1px;
}
.license-login-user-manager-content .row-wrapper span.username
{
	display: inline-block;
	width: 180px;
	height: 30px;
	line-height: 30px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.license-login-user-manager-content .row-wrapper .small-button
{
	float: right;
	vertical-align: top;
}
.license-login-user-manager-content .edit-wrapper
{
	border: 1px solid #ccc;
	border-left: none;
	border-right: none;
	padding: 10px;
	margin: 5px 0;
	background: #ddd;
}

/* Omat tilaukset ----------- */
.customer-orders-table td
{
	padding: 5px;
}
.customer-orders-table .header-row-1 td
{
	background: var(--esininen);
	color: #fff;
}
.customer-orders-table .data-row-1 td
{
	background: #e9f2f5;
}
.customer-orders-table .header-row-2 td
{
	background: #ddd;
}

/* -- Yksinkertaiset formit, esim: Login -- */
.simple-form
{
	/*width: 185px;*/
	width: 95%;
}

.simple-form .hdr
{
	/*font-weight: bold;*/
}
.simple-form p
{
	margin-bottom: 10px;
}

.simple-form .title
{
	display: block;
	font-size: 14px;
	margin-bottom: 10px;
	font-weight: normal;
}

.simple-form .text,
.simple-form .multiline
{
	font-size: 12px;
	margin-top: 3px;
	margin-bottom: 10px;
	
	height: 23px;
	width: 100%;
	max-width: 300px;
	padding-left: 5px;
	border: 1px solid #ccc;
}

.simple-form .multiline
{
	height: 69px;
}

/*-- Tuotelistaus --*/

.product-list .category-image
{
	margin-bottom: 20px;
}

.product-list .category-title,
.product-listing .search-title
{
	font-size: 17px;
	margin-bottom: 20px;
}

.product-list .category-desc
{
	font-size: 10px;
	color: #111;
	margin-bottom: 20px;
}

/*-- Huomioboksi --*/

/* Alkuperäinen
.info-box
{
	margin-top: 15px;
	padding: 15px;
	border: 2px solid var(--esininen);
	background: #fff;
}
*/
/* #facelift */
.info-box {
	margin-top: 15px;
	padding: 18px;
	background-color: var(--th-lavender);
	border-radius: var(--th-btn-border-radius);
}

/*-- Tuotesivu --*/

.product-page ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.site-map-path
{
	padding-bottom: 10px;
	/*border-bottom: 1px dotted #d7d7d7;*/
	margin-bottom: 15px;
}

.product-page .product-page-references a
{
	display: block;
	height: 26px;
	line-height: 26px;
	border-bottom: 1px dotted #d7d7d7;
}

.product-page .huomioteksti
{
	margin-left: 10px;
	font-size: 10px;
}
/* Huomioteksti asetetaan tinyMCE:llä. Ilmeisesti ympärillä aina p-tägit */
.product-page .huomioteksti p
{
	margin-top: 0;
	margin-bottom: 5px;
	line-height: 12px;
}

.product-page .product-page-sisallys
{
	margin-top: 30px;
}

.product-page-variant-plain-text
{
	display: block;
	height: 21px;
	line-height: 21px;
	/*font-size: 11px;*/
}

.product-page-variant-wrapper {
    position: relative;
    /*width: 135px;*/
    width: 205px;
}

.product-page-variant-text {
    display: block;
    position:relative;
    z-index: 1;
    /*width: 129px;*/
    width: 199px;
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    background-color: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    padding-left: 6px;
    color: #666;
}

    .product-page-variant-text:after {
        display: block;
        content: "";
        position: absolute;
        right: 5px;
        width: 15px;
        bottom:0;
        top: 0px;
        background: url(/oppiminen-root/Images/Site/arrow-down.gif) center center no-repeat;
        
    }
    .product-page-variant-text:hover
{
	text-decoration: none;
	background-color: #ddd;
}
.product-page-variant-text:active
{
	color: #666;
}

.product-page-variant-list {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 0;
    /*width: 135px;*/
    width: 205px;
    padding: 0px;
    border: 1px solid #ccc;
    border-top: none;
    background: #eee;
    margin: 0 !important;
}

.product-page-variant-list a
{
	display: block;
	padding-left: 4px;
	padding-right: 4px;
	line-height: 30px;
	color: #666;
}

.product-page-variant-list a:hover
{
	text-decoration: none;
	background: #ddd;
}

/* RATE */

#rate-this-item-add-review div span,
#rate-this-item-add-review div a
{
	color: #656565 !important;
	font-size: 10px;
	font-weight: bold;
	
	display: block;
	height: 17px;
	line-height: 17px;
	background: url(/oppiminen-root/Images/Site/open.png) no-repeat;
	padding-left: 27px;
}

.rate-this-item-label
{
	font-size: 12px;
	line-height: 24px;
}

.rate-this-item-title
{
	font-size: 14px;
}

.rate-this-item-review, 
.rate-this-item-name
{
	border: 1px solid #d8d8d8;
	background: #fbfbfb;
	width: 100%;
	margin-bottom: 10px;
}

.rate-this-item-review
{
	height: 100px;
}

.rate-this-item-name
{
	height: 24px;
}

.rating-stars .star
{
	display: block;
	float: left;
	width: 22px;
	height: 20px;
	margin-right: 1px;
	background-image: url(/oppiminen-root/Images/Site/rating-star.png);
	background-repeat: no-repeat;
	background-position: 0px top;
	
	/* Piilotetaan linkin arvo */
	text-indent: -9999px;
}

/* Asetetaan valitun arvon mukaan */
.rating-stars .star-filled { background-position: -22px top; }
/* Asetetaan hiiren perusteella */
.rating-stars .mouse-star-fill { background-position: -44px top !important; }
.rating-stars .mouse-star-clear { background-position: 0px top !important; }

.rate-this-item-validation *
{
	color: #ff0000;
}

.rate-this-item-reviews
{
	margin-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dotted #d7d7d7;
}

.rate-this-item-reviews .date,
.rate-this-item-reviews .name
{
	color: #989898;
	display: block;
	padding-top: 10px;
}

.rate-this-item-reviews .date
{
	float: left;
}

.rate-this-item-reviews .name
{
	float: right;
}

.rate-this-item-reviews .delete
{
	clear: both;
	display: block;
	width: 100px;
	padding-top: 0px;
}

.rate-this-item-reviews .text
{
	clear: both;
	display: block;
	padding-top: 15px;
}


/*-- Tilaus --*/

/* Otsikot ----------- */


/* Tehty muutoksia tyyleihin #facelift */
/*.check-out-title-bar
{
	margin-bottom: 25px;
}*/
.check-out-path-top-bar {
	line-height: 22px;
	color: var(--th-text-color-muted);
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 106.25%;
}

.check-out-path-top-bar .active {
	color: var(--th-violet-default);
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 106.25%;
}

/* Taulukko ----------- */

.check-out-table
{
	width: 100%;
	border-collapse: collapse;
}
.check-out-table tr.first td
{
	/*padding: 10px;
	background: #efefef;*/
}
.check-out-table tr.last td
{
	border-top: 1px solid #ddd;
}
.check-out-table tr.alt td
{
	background: #eee;
}

.check-out-table td
{
	vertical-align: middle;
	padding: 7px !important;
	vertical-align: middle !important;
}
.check-out-table .col-wide
{
	text-align: right;
}
.check-out-table .col1
{
	width: 40px;
}

.check-out-table .col2c,
.check-out-table .col3
{
	text-align: right;
}

/* Muuta tilauksen alkamispvm -linkki */
/* Muuta lukumäärää -linkki */
.check-out-table .col2c a,
.check-out-table .col3 a
{
	display: block;
	padding: 2px 0px;
	text-align: right;
	padding-right: 5px;
	color: #333;
	
	background: #fff;
	border: 1px solid #ccc;
	/*-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;*/
}
.check-out-table .col2c a:hover,
.check-out-table .col3 a:hover
{
	text-decoration: none;
}

.check-out-table .col4,
.check-out-table .col5,
.check-out-table .col6,
.check-out-table .col7
{
	text-align: right;
}

.check-out-table .small-note
{
	color: #777;
	font-size: 10px;
}

/*-- Ostoskorin näkymät --*/

/*1. kassa: ostoskorin tuotelistaus*/
.cart-view-item-wrapper
{
}

/* #facelift */
/*.cart-view-item-wrapper .text-wrapper
{
	margin-left: 85px;
}*/
.cart-view-item-wrapper .text-wrapper div
{
	margin-top: 5px;
}

/* #facelift */
/*.cart-view-item-wrapper .text-wrapper a
{
	color: #222222;
}*/
	.cart-view-item-wrapper .text-wrapper .title-tag {
		color: var(--eliila);
		font-size: 11px;
		text-transform: uppercase;
	}
/* Muuta lukumäärää */
.cart-view-item-wrapper .text-wrapper a.update-count
{
	display: inline-block;
	width: 30px;
	padding: 2px 0px;
	text-align: right;
	padding-right: 5px;
	background: #fff;
	border: 1px solid #cccccc;
}

.cart-view-item-wrapper .text-wrapper a.update-count:hover
{
	text-decoration: none;
}

/* #facelift */
/*.cart-view-item-wrapper .image-wrapper
{
	position: absolute;
}*/
	/*.cart-view-item-wrapper .remove-button {
		position: absolute;
		top: 15px;
		right: 15px;
		display: block;
		width: 36px;
		height: 36px;
		text-align: center;
		line-height: 36px;
		font-size: 10px;
		font-weight: bold;
		color: #fff;
		background: #141414;
		border: 1px solid #141414;
		-moz-border-radius:36px;
		-webkit-border-radius: 36px;
		border-radius: 36px;
	}

		.cart-view-item-wrapper .remove-button:after {
			background: url(/oppiminen-root/Images/Site/edita_roskakori.png) no-repeat center center;
			background-size: 36px 36px;
			display: block;
			content: "";
			width: 36px;
			height: 36px;
		}*/
	/* #facelift */
	.cart-view-item-wrapper .remove-button:after {
		font-family: 'Font Awesome 6 Pro';
		content: '\f2ed';
		color: var(--th-violet-80);
		text-align: center;
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		line-height: 100%;
		}

.cart-view-item-wrapper .remove-button:hover {
	text-decoration: none;
}

/* -- Telemyynti */
/* Tilausasiakkaan organisaation nykyiset lisenssit */
.cart-view-item-license-data-wrapper {
	margin-top: 20px !important;
}
.cart-view-item-license-data-wrapper:before {
	content: 'myynnin lisätiedot';
	color: #bbb;
	font-size: 0.8em;
	position: relative;
	top: 5px;
}

	.cart-view-item-license-data-wrapper a.show-data-link {
		color: var(--eliila) !important;
	}
.cart-view-item-license-data-wrapper a.show-data-link:after {
	content: '(Näytä tarkat tiedot)';
}
.cart-view-item-license-data-wrapper.data-visible a.show-data-link:after {
	content: '(Piilota tarkat tiedot)';
}

.cart-view-item-license-data-wrapper table {
	display: none;
}
.cart-view-item-license-data-wrapper.data-visible table {
	display: block;
}
.cart-view-item-license-data-wrapper table tr.lic-first-row td {
	padding-top: 15px;
	font-weight: bold;
}
.cart-view-item-license-data-wrapper table tr td {
	padding-top: 2px;
}
.cart-view-item-license-data-wrapper table tr td:first-child {
	padding-right: 10px;
}
/* Telemyynti: loppu */

/*1. kassa, 3. vahvistus: tilauksen yhteenveto*/
.order-summary div
{
	margin-top: 5px;
}
.order-summary div.total
{
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #cccccc;
}
#order_summary_expand_products {
	color: #222;
}
	#order_summary_expand_products span {
		display: inline-block;
		width: 17px;
		height: 17px;
		line-height: 17px;
		border-radius: 50%;
		border: 1px solid var(--eliila);
		text-align: center;
		color: #fff;
		margin-right: 3px;
		background: var(--eliila);
	}

/* Radio- ja checkboxlistojen labelit eivät ole kohdallaan. Tässä korjaus. */
/* Tilaus / 2. Toimitustiedot ja maksutapa, Rekisteröinti */
/* Windowsin ja OsX:n selaimien suhteen on tehty kompromissi. Kontrollit eivät ole aivan kohdallaan kummissakaan. */
.radiobuttonlist td
{
	padding: 0 !important;
}
.radiobuttonlist td input
{
	vertical-align: middle;
	margin-right: 5px;
	position: relative;
	top: 0px;
}
.radiobuttonlist td label
{
	vertical-align: middle;
	margin-right: 20px;
}


/* Dialogi: Käyttöoikeuskoodilisenssien hallinta */
.activation-code-license-manager-license-content table {
	width: 100%;
}
.activation-code-license-manager-license-content table td {
	padding: 0;
	padding-top: 5px;
	vertical-align: top;
	text-align: right;
}
.activation-code-license-manager-license-content table tr td:first-child {
	text-align: left;
}
/* Dialogi: Käyttöoikeuskoodilisenssien hallinta: loppu */

/* Dialogi: Yksittäisten alikäyttöoikeuksien siirtäminen */
.single-child-licenses-manager-license-content table {
	width: 100%;
}
.single-child-licenses-manager-license-content table td {
	padding: 0;
	padding-top: 5px;
	vertical-align: top;
	text-align: right;
}
.single-child-licenses-manager-license-content table tr td:first-child {
	text-align: left;
}
/* Dialogi: Yksittäisten alikäyttöoikeuksien siirtäminen: loppu */

/* Omat tuotteet / Hyllyn julkaisut -layer */
.publication-group-modal {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(34,34,34,0.5);
	z-index: 99;
}
.publication-group-modal-inner {
	position: absolute;
	left: 10%;
	top: 10%;
	right: 10%;
	bottom: 10%;
	background: #fff;
	padding: 0 20px;
	overflow: auto;
	border-radius: var(--th-border-radius); /* Muutettu 4px => 8px #facelift */
	border: 1px solid #ddd;
	box-shadow:0 30px 30px -30px rgba(0,0,0,0.25);
}
.publication-group-modal-close-button {
	position: fixed;
	right: 10%;
	top: 10%;
	z-index: 1;
	border-radius: 4px !important;
}

@media only screen and (max-width: 400px) {
	.publication-group-modal-inner {
		left: 20px;
		top: 20px;
		right: 20px;
		bottom: 20px;
	}
	.publication-group-modal-close-button {
		right: 20px;
		top: 20px;
	}
}

.publication-group-modal-title {
	display: block;
	padding: 15px;
	padding-top: 25px;
	padding-left: 0;
	color: #000000;
	font-size: 1.2em;
	font-weight: 600;
}
/* Omat tuotteet / Hyllyn julkaisut -layer: loppu*/