/*
Theme Name: cbtfast2025
Theme URI: https://nardusmedia.fi
Author: Pertti Muikku
Author URI: https://nardusmedia.fi/
Description: Theme jasenille.paniikkihairio.fi
Version: 1.0.1
License: 
License URI: 
Tags:
Text Domain: jasenille.paniikkihairio.fi
*/

html, body {
	background-color: #fff;
	padding: 0px;
	margin: 0px;
    font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	line-height: 25px;
	color: #333;
	height: 100%;

}

section.sec1 {
	padding: 20px;
	background-color: #68a0a5;
	display: flex;
    justify-content: space-between; /* Jakaa tilan vasemmalle ja oikealle */
}
section.sec1 .header-banner {
	display: inline-block;
}

.footeri {
	width: 100%;
	padding: 50px;
	background-color: #222;
	color: #ffffff;
	text-align: center;
}


/* MENU BOOTSTRAP
-------------------------------------------------------------- */
/*navbarin taustaväri*/
.navbar > .container,
.navbar > .container-fluid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0px;
  background: #de5a3d !important;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
	font-weight: 200;
}
.kieli {
  display: inline;
}

.kieli img {
  width: 35px;
  height: auto;
  margin-left: 10px;
}

.hero-section {
    position: relative;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
	background-repeat: no-repeat;
    height: 400px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Säädä tummuutta */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 150px; /* Tarvittaessa säätöä */
}
.content {
    margin-top: 30px;
	margin-bottom: 30px;
}
.content h1 {
	margin-bottom: 30px;
	color: #23545a;
}
.article-list h2{
	font-size: 30px;
}
.article-list hr{
		margin-bottom: 30px;
}
.single-article h1{
	font-size: 40px;
}

.btn-brand {
  display: inline-block;
  background-color: #679fa6;
  color: #ffffff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-brand:hover {
  background-color: #578a91; /* hieman tummempi hover-väri */
  color: #ffffff;
  text-decoration: none;
}

.sidebar-custom {
  background-color: #f6fbfc; /* vaalea tausta brändiväriin sopien */
  border: 2px solid #679fa6;
  padding: 20px;
  border-radius: 8px;
  margin-top: 0px;
}

.sidebar-title {
  color: #679fa6;
  font-size: 26px;
  margin-bottom: 15px;
  border-bottom: 2px solid #679fa6;
  padding-bottom: 5px;
}

.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts-list li {
  margin-bottom: 10px;
}

.recent-posts-list a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-left: 0px solid transparent;
  padding-left: 0px;
  transition: all 0.3s ease;
}

.recent-posts-list a:hover {
  color: #679fa6;
  border-left: 0px solid #679fa6;
}
.search-form-sidebar input[type="search"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-form-sidebar input[type="submit"] {
  background-color: #679fa6;
  color: white;
  border: none;
  padding: 8px 12px;
  margin-top: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.search-form-sidebar input[type="submit"]:hover {
  background-color: #578a91;
}

.custom-navbar1 {
  background-color: #23545a; /* brändiväri tummanvihreä */
  padding: 10px 20px;
}

.custom-navbar1 .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s, background-color 0.3s;
}

.custom-navbar1 .nav-link:hover,
.custom-navbar1 .nav-link:focus {
  color: #f0f0f0 !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.custom-navbar1 .navbar-toggler {
  border-color: #ffffff !important;
}


.custom-navbar2 {
  background-color: #679fa6;/* brändiväri vaalenvihreä */
  padding: 10px 20px;
}
.custom-navbar2 .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s, background-color 0.3s;
}

.custom-navbar2 .nav-link:hover {
  color: #f0f0f0 !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.custom-navbar2 .navbar-toggler {
  border-color: #ffffff !important;
}
.language-switcher img,
.language-switcher-mobile img {
  display: inline-block;
  transition: opacity 0.2s;
}

.language-switcher a:hover img,
.language-switcher-mobile a:hover img {
  opacity: 0.7;
}

.logo a {
  text-decoration: none;
  font-weight: bold;
  font-size: 24px;
  color: #fff;
}
.logo a:hover {
  color: #f0f0f0;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Kysy terapautilta */
.kysymys-box {
  background-color: #f9f9f9;
  border-left: 5px solid #679fa6; /* brändiväri */
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.kysymys-box h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.kysymys-box .kysymys {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #444;
}

.kysymys-box p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.vastaus {
  background-color: #e6f0f2;
  border-left: 4px solid #4c7d84;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #2d4a4c;
}

.vastaus strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #2b3d3f;
}

.fea-submit-button {
  display: inline-block;
  background-color: #679fa6;
  color: #ffffff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.fea-submit-button:hover{
  background-color: #578a91; /* hieman tummempi hover-väri */
  color: #ffffff;
  text-decoration: none;
}

.logout-btn {
  background-color: #578a91;
  color: #fff;
  border: 1px solid #578a91;
}

.logout-btn:hover {
  background-color: #679fa6;
  color: #fff;
}
.login-btn {
  background-color: #578a91;
  color: #fff;
  border: 1px solid #578a91;
}

.login-btn:hover {
  background-color: #679fa6;
}


