:root {
	--red: #ed1c24;
	--darkGrey: #777777;
	--lightGrey: #bbbbbb;
	--dark: #666666;
	--darker: #333333;
	--light: #efefef;
}

body {
	font: 400 17px 'Open Sans';
	color: #000000;
	line-height: 1.9;
}

/* COLORS */
.whitebg {
	background-color: #fff;
}
.white {
	color: #fff;
}
.greybg {
	background-color: #f5f5f5;
}

.lightGrey {
	color: var(--lightGrey);
}

.darkGrey {
	color: var(--darkGrey);
}
.red {
	color: var(--red);
}
.redbg {
	background-color: var(--red);
	color: #fff;
}

/* FONTS */
h1 {
	font-family: 'Maven Pro';
	color: var(--red);
}

h3 {
	text-transform: uppercase;
	font: 700 25px 'Maven Pro';
	color: var(--darker);
}

h4,
label {
	/*text-transform: uppercase;*/
	font: 600 18px 'Maven Pro';
}

h5 {
	font-family: 'Maven Pro';
	font-weight: 600;
}

h6 {
	font: 400 18px 'Maven Pro';
	text-transform: uppercase;
}

/*  */

.container.wider {
	max-width: 1600px;
}

/* Valinnan nimi */
.category-title .h3 {
    margin-bottom: 1rem;
    font: 700 20px 'Maven Pro';
}

/* Kategorian nimi */
.category-title .h5 {
    margin-bottom: 0;
    font-size: 1rem;
    font-family: 'Maven Pro';
    text-transform: uppercase;
    font-weight: 600;
}

#seliteTiedot p:last-of-type {
    margin-bottom: 0px;
}
/* NAVBAR */

.navbar {
	height: 90px;
	box-shadow: 0px 0px 2px 1px rgb(0 0 0 / 16%);
}

#siteLogo {
	height: 50px;
}

.navbar-toggler {
	color: var(--lightGrey);
}

#herokuva {
	min-height: 50vh;
}
/* */

.navikortti {
	background-color: var(--darkGrey);
	color: #fff;
}

.navikortti.navikortti-plus {
	background-color: var(--red);
	color: #fff;
}

.valintakortti:nth-child(odd) {
	background-color: var(--lightGrey);
}
.valintakortti:nth-child(even) {
	background-color: var(--darkGrey);
}

td.editvastaus,
.cursor-pointer {
	cursor: pointer;
}

#vastauksetTable .table td, #vastauksetTable .table th, #vastauksetTable .table thead th {
	border-color: #000;
}

#vastauksetTable.table-bordered {
	border:none;
}
.alert-danger.alert-warning {
	background: rgb(255, 243, 205);
	background: linear-gradient(118deg, rgba(255, 243, 205, 1) 0%, rgba(255, 243, 205, 1) 50%, rgba(248, 215, 218, 1) 50%, rgba(248, 215, 218, 1) 100%);
}

.alert-success.alert-danger {
	background: rgb(212, 237, 218);
	background: linear-gradient(118deg, rgba(212, 237, 218, 1) 0%, rgba(212, 237, 218, 1) 50%, rgba(248, 215, 218, 1) 50%, rgba(248, 215, 218, 1) 100%);
}

.alert-warning.alert-success {
	background: rgb(212, 237, 218);
	background: linear-gradient(118deg, rgba(212, 237, 218, 1) 0%, rgba(212, 237, 218, 1) 50%, rgba(255, 243, 205, 1) 50%, rgba(255, 243, 205, 1) 100%);
}

.alert-warning.alert-success.alert-danger {
	background: rgb(212, 237, 218);
	background: linear-gradient(118deg, rgba(212, 237, 218, 1) 0%, rgba(212, 237, 218, 1) 33%, rgba(255, 243, 205, 1) 33%, rgba(255, 243, 205, 1) 66%, rgba(248, 215, 218, 1) 66%, rgba(248, 215, 218, 1) 100%);
}

.navigaattori-card {
    color: #000;
}

.modal-content {
    border-radius: 0;
}

#footer-logot img {
    max-height: 200px;
}

.trumbowyg-editor, .trumbowyg-textarea {
	background-color: #fff;
}

/* BUTTONS */
.btn {
	/*border-radius: 0;*/
	font-family: 'Maven Pro';
	font-weight: bold;
	font-size: 13px;
	text-transform: uppercase;
	transition: all 0.2s ease;
}

.btn-primary {
	background-color: var(--red);
	border-color: var(--red);
}

.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active {
	background-color: var(--red);
	border-color: var(--red);
	opacity: 0.7;
}

.btn-primary.focus,
.btn-primary:focus {
	background-color: var(--red);
	border-color: var(--red);
}

.btn-secondary {
	background-color: var(--light);
	border-color: var(--light);
	color: var(--dark);
}

.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled):active {
	background-color: var(--light);
	border-color: var(--light);
	color: var(--dark);
	opacity: 0.7;
}

.btn-secondary.focus,
.btn-secondary:focus {
	background-color: var(--light);
	border-color: var(--light);
	color: var(--dark);
}

.btn-card {
    border-radius: 0;
    transition: all 0.3 ease;
}
.btn-card:hover {
    
    opacity: 0.7;
}
.btn-card-white, .btn-card-white:hover {
    background-color: #fff;
	border-color: #000;
    color: #000;
}
.btn-card-black, .btn-card-black:hover {
    background-color: #000;
    color: #fff;
}


/* LINKS */
a:hover {
	text-decoration: none;
}

a.nav-link {
	font-family: 'Maven Pro';
	font-weight: bold;
	font-size: 13px;
	text-transform: uppercase;
	color: var(--darkGrey);
	transition: color 0.1s;
}

a.nav-link.active {
	color: var(--red);
}

a.nav-link:hover {
	color: var(--red);
}

/* IMAGES */
.bgImg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.blogikortti {
	word-wrap: break-word;
}

/* Concrete5 things */

.ccm-pagination-wrapper .pagination {
	justify-content: center;
}

.ccm-pagination-wrapper li {
	margin-left: 1rem;
}
.ccm-pagination-wrapper a {
	color: #000;
	transition: all 0.2s ease;
}
.ccm-pagination-wrapper a:hover {
	opacity: 0.5;
}

div.ccm-panel-content ul.nav li {
	width: 100%;
}

/* Scrollbar */

::-webkit-scrollbar {
	width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #e8e8e8;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: linear-gradient(90deg, var(--lightGrey) 0%, var(--lightGrey) 100%);
	border-radius: 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: var(--darkGrey);
}

/* Back to Top */

#backToTop {
	position: fixed;
	right: 0px;
	bottom: 20px;
	padding: 10px 15px;
	font-size: 22px;
	background-color: var(--red);
	color: #fff;
	border-radius: 0px;
	border: 1px solid #fff;
	transition: all 0.3s ease;
}

#backToTop:hover {
	padding: 10px 30px 10px 15px;
}

#backToTop.hiding {
	right: -80px;
}

#backToTop svg {
	height: 30px;
	fill: white;
}

#backToTop:hover svg {
	animation: bouncingIcon 1s;
}

#msgWrapper {
	position: relative;
	z-index: 1051;
}

#msgHere {
	position: fixed;
	z-index: 20;
	left: 20px;
	bottom: 20px;
	max-width: 400px;
}

/* Fontit / Fonts */
@font-face {
	font-family: 'Maven Pro';
	src: url('../fonts/MavenPro-VariableFont_wght.ttf');
}

@font-face {
	font-family: 'Maven Pro';
	src: url('../fonts/MavenPro-VariableFont_wght.ttf');
	font-weight: bold;
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/OpenSans-VariableFont_wdth\,wght.ttf');
}

/* @font-face {
  font-family: 'PlayfairDisplay';
  src: url('../fonts/PlayfairDisplay-Regular.ttf');
  font-weight: 400;
} */

/*
* https://daneden.github.io/animate.css/
*/

@-webkit-keyframes bouncingIcon {
	from,
	20%,
	53%,
	80%,
	to {
		-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}

	40%,
	43% {
		-webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
		animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
		-webkit-transform: translate3d(0, -15px, 0);
		transform: translate3d(0, -10px, 0);
	}

	70% {
		-webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
		animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
		-webkit-transform: translate3d(0, -10px, 0);
		transform: translate3d(0, -5px, 0);
	}

	90% {
		-webkit-transform: translate3d(0, -4px, 0);
		transform: translate3d(0, -4px, 0);
	}
}

@media (max-width: 991px) {
}
@media (max-width: 767px) {
}
@media (max-width: 576px) {
}
