/*#################################################                                                *
#                                                 #          *          *          *
#                                                 #
#  Sivustokohtaiset tyylimäärittelyt.             #
#                                                 #
#  Rakennettu 21.01.2010, muokattu 10.09.2024     #  *                                             *
#                                                 #                                   *
#  Copyright © Webbiriihi.fi                      #      Webbiriihi.fi
#                                                 #    0/
#                                                 #   /|
#                                                 #   / \ Jari Tikkanen - Lapinlahti - Finland - Europe
###################################################  """"""""""""""""""""""""""""""""""""""""""""""""""*/


/* Tumma tausta myös alapalkin alle */
html {
	background: #343A40;
}


section.light {
	background: #FAFAFA;
}


/* Aktiivisen sivun tai sivuryhmän nimi valkoisella tekstillä */
#s_index a[href='index.php'],
#s_uutisia a[href='uutisia.php'],
#s_verkkosivustot a[href='sivustot'],
#s_asiakkaat a[href='sivustot'],
#s_tietokonehinnasto a[href='hinnasto'],
#s_ict_oheislaitehinnasto a[href='hinnasto'],
#s_ict_tarvike_komponenttihinnasto a[href='hinnasto'],
#s_ohjelmistohinnasto a[href='hinnasto'],
#s_tabletti_puhelinhinnasto a[href='hinnasto'],
#s_kodintekniikkahinnasto a[href='hinnasto'],
#s_muut_tuotteet_hinnasto a[href='hinnasto'],
#s_tietokonehuolto a[href='huolto'],
#s_asennus_huoltokuvia a[href='huolto'],
#s_digitointi a[href='digitointi.php'],
#s_ohjeita a[href='ohjeita.php'],
#s_yhteys a[href='yhteys.php'],
#s_yrityksesta a[href='yritys'],
#s_sopimusehdot a[href='yritys'],
#s_sopimusehdot_koti a[href='yritys'],
#s_rekisteri_tietosuojaseloste a[href='yritys'],
#s_sitemap a[href='sitemap.php'] {
  color: #FFFFFF;
}

/* Aktiivisen sivun nimi valkoisella tekstillä sinisellä taustalla */
#s_verkkosivustot a[href='verkkosivustot.php'],
#s_asiakkaat a[href='asiakkaat.php'],
#s_tietokonehinnasto a[href='tietokonehinnasto.php'],
#s_ict_oheislaitehinnasto a[href='ict_oheislaitehinnasto.php'],
#s_ict_tarvike_komponenttihinnasto a[href='ict_tarvike_komponenttihinnasto.php'],
#s_ohjelmistohinnasto a[href='ohjelmistohinnasto.php'],
#s_tabletti_puhelinhinnasto a[href='tabletti_puhelinhinnasto.php'],
#s_kodintekniikkahinnasto a[href='kodintekniikkahinnasto.php'],
#s_muut_tuotteet_hinnasto a[href='muut_tuotteet_hinnasto.php'],
#s_tietokonehuolto a[href='tietokonehuolto.php'],
#s_asennus_huoltokuvia a[href='asennus_huoltokuvia.php'],
#s_yrityksesta a[href='yrityksesta.php'],
#s_sopimusehdot a[href='sopimusehdot.php'],
#s_sopimusehdot_koti a[href='sopimusehdot_koti.php'],
#s_rekisteri_tietosuojaseloste a[href='rekisteri_tietosuojaseloste.php'] {
	color: #FFFFFF;
	background: #007BFF;
}


/* Google Täsmähaku */
div.haku input[type="text"] {
	/*font-size: 125%;*/
	vertical-align: 5px;
}

p.pvm {
	font-size: 80%;
	padding-top: 7px;
}


/* Ylös -nappi */
#myBtn {
	display: none; /* Hidden by default */
	position: fixed; /* Fixed/sticky position */
	/*bottom: 20px; /* Place the button at the bottom of the page */
	bottom: 10px; /* Place the button at the bottom of the page */
	/*right: 30px; /* Place the button 30px from the right */
	right: 10px; /* Place the button 30px from the right */
	z-index: 99; /* Make sure it does not overlap */
	border: none; /* Remove borders */
	outline: none; /* Remove outline */
	/*background-color: red; /* Set a background color */
	background-color: #E63A13; /* Set a background color */
	color: white; /* Text color */
	cursor: pointer; /* Add a mouse pointer on hover */
	/*padding: 15px; /* Some padding */
	padding: 10px; /* Some padding */
	/*border-radius: 10px; /* Rounded corners */
	border-radius: 5px; /* Rounded corners */
	/*font-size: 18px; /* Increase font size */
	font-size: 16px; /* Increase font size */
	opacity: 0.75; /* Läpinäkyvyys */
}

#myBtn:hover {
	background-color: #555; /* Add a dark-grey background on hover */
}


a:hover {
	text-decoration: none;
}


div.logot {
	padding: 1em 0;
	/*text-align: center;*/
}

div.logot img {
	vertical-align: middle;
	/*max-width: 6em;*/
	max-width: 7em;
	/*max-height: 3.125em;*/
	/*max-height: 3.65em;*/
	max-height: 4.375em;
	/*padding-right: 0.5em;*/
	/*padding: 0.75em 0.5em;*/
	padding: 0.75em;
}


div.fotot p img {
	padding: 0 0.8em 0.8em 0;
}


div.tehoTausta {
	color: #FFFFFF;
	background: #31A3CE;
	/*background: #E63A13;*/
	border-radius: 0.3em;
	padding: 1em;
	/*margin-top: 2em;
	margin-bottom: 2em;*/
}

.tehoTausta a:link, .tehoTausta a:visited, .tehoTausta a:active {
	color: #FFFF00;
	text-decoration: none;
}
.tehoTausta a:hover {
	color: #000000;
	text-decoration: underline;
}

div.tehoTaustaBF {
	color: #FFFFFF;
	background: #000000;
	border-radius: 0.3em;
	padding: 1em;
}

.tehoTaustaBF a:link, .tehoTaustaBF a:visited, .tehoTaustaBF a:active {
	color: #FFFF00;
	text-decoration: none;
}
.tehoTaustaBF a:hover {
	color: #000000;
	text-decoration: underline;
}

.card-headerBF {
	background-color:rgba(0,0,0,.80);
}


/* -------------- Lomakkeet -------------------------------------- */
.btn-wr, .bg-wr {
	background: #31A3CE;
}


/* -------------- Tekstit -------------------------------------- */
.huom {
	color: #FF0008; /* TKD */
}

.virhe {
	color: #FFFF00;
	background-color: #FF0008;
	margin: 0.5em 0;
	padding: 0.5em;
}

/* Tekstin yliviivaus */
.yli {
  text-decoration: line-through;
}


/* -------------- Listat -------------------------------------- */

/* Väljemmiksi */
ul.valja {
	padding-top: 0.3em;
	padding-left: 1.25em;
}

ul.valja li {
	padding-bottom: 0.5em;
}

ul.valja li:first-child {
	padding-top: 0.3em;
}

/* Sopimusehdot */
ol.r {
	list-style-type: upper-alpha;
}

ol.ei_aak {
	list-style-type: none;
}

/* Sivustokartan lista */
.taso1 {
	clear: both;
	margin-left: 1em;
	margin-bottom: 0.5em;
}

.taso2 {
	clear: both;
	margin-left: 3em;
	margin-bottom: 0.5em;
}

.taso3 {
	clear: both;
	margin-left: 5em;
	margin-bottom: 0.5em;
}

.taso4 {
	clear: both;
	margin-left: 7em;
	margin-bottom: 0.5em;
}



/* -------------- Kuvat -------------------------------------- */

/* Vieraslaskuri */
img.laskuri {
	/*display: none;*/
	color: transparent;
	border: none;
	width: 1px !important;
	height: 1px !important;
}

/* Vieraslaskurin summa */
.count {
	color: #FFFFFF;
	text-align: center;
	padding: 0.5em 1em;
	/*font-size: 70%;*/
}


img.kulmaton {
	border-radius: 0.5em;
}





/* -------------- Selainikkunan leveyden mukaan... -------------------------------------- */

/* MAX */

@media screen and (max-width: 991px) {
	img.double {
		display: none;
	}
}

/* MIN */

@media screen and (min-width: 992px) {
	div.jako {
		-moz-column-count: 2; /* Firefox */
		-webkit-column-count: 2; /* Chrome, Safari, Opera */
		column-count: 2;
		-moz-column-gap: 1em;
		-webkit-column-gap: 1em;
		column-gap: 1em;
	}
}
