/*

	Kesko colors:
	blue: #00205b
	orange: #ff6900
	purple: #85189b

*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

body {
	font-family: 'Open Sans', sans-serif;
	padding-top: 90px;
}

body, .content {
	background: #fff;
}

.images-count-bg-zero {
	font-size: 1.2em;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.images-count-bg-nonzero {
	font-size: 1.2em;
	top: 0.4em;
	left: -0.2em;
}

.images-count-number {
	position: relative;
	top: -0.8em;
	left: 1em;
	font-size: 0.7em;
}

.guest-jumbotron {
	border-radius: 0px !important;
	background: url(../img/cached/k-grid_oranssi_3840x1000px.png) no-repeat center center;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-top: 100px;
  padding-bottom: 100px;
}
.guest-jumbotron h1 {
	color: #fff;
	font-weight: bold;
	font-size: 36px;
	margin-bottom: 20px;
}

.shopkeeper-price {
	font-size: 18px;
}

.shopkeeper-price div {
	display: inline;
}
.shopkeeper-unit-price-addon {
	background: #fff;
	color: #999;
}

.cart-info-texts .list-group-item {
	border-color: #ff6900;
	border-left-width: 10px; 
	border-radius: 0;
}
.cart-info-texts .list-group-item .main-text {
	font-size: 1.2em;
}
.cart-info-texts .list-group-item-text {
	margin-bottom: 5px;
}
.cart-info-texts .separator {
	border-bottom: 1px solid #ff6900;
	margin: 0;
	margin-bottom: 10px;
}

th.sortable-th {
	text-decoration: underline;
}
th.sortable-th:hover {
	background: inherit;
}

.search-navbar-kesko {
	
}

.navbar-header {
}

.front-page .company-welcome {
	display: none;
}

.btn-kesko {
	background: #ff6900;
	color: #fff;
}

.navbar-form input.form-control {
	color: #333;
	border-color: #ddd;
	border-radius: 2px;
}

.navbar-brand {
	height: auto;
}

.navbar-brand>img {
}

.top-section, .navbar-webink, .navbar-collapse {
	background: #fff;
	color: #333;
}
.navbar-form .top-menu-search {
	width: 500px;
}

.navbar-webink {
	padding-bottom: 0px;
}

.navbar-webink.affix {
	padding-bottom: 0px;
}

.navbar-webink .container {
	padding-bottom: 10px;
}
.navbar-webink.affix .container {
	border-bottom: 1px solid #ddd;
}

.company-welcome {
	background: #eff1f7;
	color: #828ba0;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	display: none;
}

.company-welcome h5 {
	font-size: 24px;
	color: #828ba0;
	text-transform: uppercase;
	font-weight: bold;
}

.navbar-webink li>a {
	color: #00205b;
	text-transform: uppercase;
	font-weight: bold;
}

.navbar-webink li>a:hover {
	color: #fff;
	background: #24272a;
}

.navbar-form button {
	background: #ff6900;
	border-color: #ff6900;
}

.nav .cart-link {
	background: #fff;
	color: #ff6900;
}
.nav .cart-link a {
	color: #ff6900;
}

.nav .cart-link .badge {
	background: #ff6900;
	color: #fff;
	padding: 3px 10px;
	display: inline;
}

.btn-green, .btn-green:active , .btn-green:focus {
	color: #FFFFFF;
	background-color: #28a745;
	border-color: #28a745;
}

.btn-green:hover {
	color: #FFFFFF;
	background-color: #209937;
	border-color: #28a745;
}

.btn-success {
	color: #fff;
	background-color: #5bc0de;
	border-color: #79b3c5;
}
.btn-success:hover {
	background-color: #79b3c5;
	border-color: #79b3c5;
}

.btn-primary {
	color: #fff;
	background-color: #5bc0de;
	border-color: #79b3c5;
}
.btn-primary:hover { 
	background-color: #79b3c5;
	border-color: #79b3c5;
}

.front-page .navbar-webink .container {
	box-shadow: none;
}

.page-header h1.section-heading,
.product-card h1 {
	color: #00205b;
	font-weight: bold;
}

.product-card .product-card-main-image {
	padding: 0;
}

.page-header {
	border: 0;
	padding-top: 0px;
}


.left-menu {
	border: 0;
}

.left-menu .category-menu-title {
	color: #41506b;
	border: 0;
	font-weight: bold;
}
.left-menu .category-menu-title .fa {
	display: none;
}
.left-menu .nav .nav-link {
	font-weight: normal;
	color: #5e6a7f;
	padding-top: 4px;
	padding-bottom: 4px;
}

.campaign-link {
	color: #00205b;
	text-transform: uppercase;
	font-weight: bold;	
	padding: 8px;
	margin-bottom: 8px;
	text-decoration: none;
}

.campaign-link:hover {
	background: #000000;
	color: #ffffff;
	text-decoration: none;
}

.price-box {
	background: none;
	color: #333;
}

.options_groups_content .btn-success {
	background: #ff6900;
	border-color: #ff6900;
}


.footer {
	background: #24272a;
	color: #fff;
	height: auto;
}
.footer a {
	color: #fff;
}
.footer .container {
	padding-bottom: 30px;
	padding-left: 15px;
	padding-right: 15px;
}
.footer-logo {
	background: url(/media/themes/hansaprint/img/logo-invert.png) no-repeat 0% 100%;
	padding: 0px;
	text-align: center;
	width: 100%;
	height: 30px;
}
.footer .footer-divider {
	margin: 10px 0px 20px;
	display: block;
	border-top: 0px;
}
.footer .hansaprint-footer-links {
	text-align: right;
	margin-top: -2px;
}
.footer .hansaprint-footer-links a {
	color: #fff;
	padding: 2px 0px;
	display: block;
	text-decoration: none;
}
.footer .hansaprint-footer-links a:hover {
	text-decoration: underline;
	color: #ddd;
}
.footer .hansaprint-footer-links a .fa {
	vertical-align: middle;
	color: #f24e42;
	margin-left: 0px;
}
.footer .copy {
	color: #777;
	margin-top: 15px;
}


.panel-filters {
}
.panel-filters .panel-heading {
	background: #24272a;
	color: #fff;
}
.panel-filters .panel-heading .badge {
	float: right;
	font-size: 16px;
	background-color: #fff;
    color: #444;
    margin-top: 4px;
}
.kesko-products-table>thead>tr>th {
	border: 0 !important;
	font-weight: bold;
	padding-left: 15px;
}
.kesko-products-table>thead>tr>th.text-center {
	padding-left: 8px;
}
.kesko-products-table>tbody>tr>td {
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}
.kesko-products-title {
	margin: 0;
	font-size: 16px;
}
.kesko-products-category {
	color: #444;
	font-size: 12px;
	font-style: italic;
}
.kesko-products-description {
	font-size: 12px;
	color: #666;
}

.kesko-products-table .form-cell {
	width: 130px;
	background: #f5f5f5;
	vertical-align: middle;
}

.kesko-products-table .form-cell .input-group {
	width: 100px;
}
.kesko-products-table .form-cell .input-group .btn-default {
	background: #ff6900;
	color: #fff;
}

.kesko-products-table .stock-cell,
.kesko-products-table .price-cell {
	width: 50px;
	background: #fff;
	text-align: center;
	vertical-align: middle;
	padding-left: 8px;
	font-weight: bold;
}
.kesko-products-table .price-cell {
	font-weight: normal;
}
.kesko-products-table .price-cell a {
	color: #000;
}
.kesko-products-table th {
	font-size: 11px;
}
.kesko-products-table .details-toggle {
	color: #ff6900;
	font-size: 18px;
}


.navbar-secondary {
    background: #fff;
}
.navbar-secondary ul > li {
    margin-right: 15px;
}
.navbar-secondary ul > li > a {
    color: #333;
    border: 1px solid #ff6900;
    border-radius: 4px;
}
.navbar-secondary ul > li > a.active .fa {
    color: #ff6900;
}

.panel-fieldset {
	border: 0;
}

.panel-fieldset .panel-heading {
	border-bottom: 0px;
	border-top: 0px solid #eee;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 12px;
	background: none;
	color: #ff6900;
	padding-bottom: 3px;
}
.panel-fieldset .panel-body {
	margin-bottom: 10px;
}




.navbar-toggle {
	box-shadow: none;
	background: none;
	color: #00205b;
	border: 0;
}

.storefrontnews-search-form .btn {
	background: #ff6900;
	color: #fff;
	border-color: #ff6900;
	font-weight: bold;
}
.storefrontnews-search-form .btn.btn-inverse {
	background: #fff;
	color: #ff6900;
}
.storefrontnews-search-form {
	margin-bottom: 15px;
}
.panel.news .panel-body {
	padding: 0.75rem;
}
.panel.news .news-title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 1em;
}
.panel.news .news-title a {
	color: #333;
}
.panel.news p {
}

.panel .news-content {
	padding: 5px;
}

.panel.news .news-image-wrapper {
	width: 100%;
	text-align: center;
}

.panel.news .news-image {
	max-width: 100%;
	max-height: 256px;
}

.panel.news-small {
	height: auto;
}

.panel.news-small .news-title {
	font-size: 14px;
	height: 2.22em;
	overflow: hidden;
}
.panel.news-small .news-image-wrapper {
	width: 292px;
	height: 91px;
	overflow: hidden;
}

.panel.news-small .news-image {
	max-width: 292px;
	max-height: 91px;
}

.news-list-title {
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	margin-left: 0.5em;
	margin-bottom: 1em;
}

.news-list-title a {
	color: #333;
}

input:checked + .toggle-slider {
  background-color: #19c736;
}

.fixed-flash {
	background: #ff6900;
	color: #fff;
}

input::placeholder {
	color: rgba(0, 0, 0, 0.2);
}

.scrollable-menu {
	height: auto;
	max-height: 300px;
	overflow-x: hidden;
}

.radio-toolbar input[type="radio"] {
	opacity: 0;
	width: 0;
}

.featureButton {
	margin-bottom: 3px;
}

.radio-toolbar label {
	margin-right: 3px;
	margin-bottom: 3px;
}

.radio-toolbar label:hover {
	background-color: #ddd;
}

.radio-toolbar input[type="radio"]:checked + label {
	color: #fff;
	background-color: #28a745;
	border-color: #28a745;
}

.radio-toolbar input[type="radio"]:checked + label:hover {
	color: #fff;
	background-color: #209937;
	border-color: #28a745;
}

.radio-toolbar input[type="radio"]:checked + label.btn-static {
	color: #333;
	background-color: #FFFFFF;
	border-color: #ccc;
}

.radio-toolbar input[type="radio"]:checked + label:hover.btn-static {
	color: #333;
	background-color: #ddd;
	border-color: #adadad;
}

.cover-product-list-cell {
	text-align: center;
	padding-bottom: 10px;
}

.kit-product-number-input {
	width: 58px !important;
	height: 26px !important;
	padding: 1px 0px !important;
	border: 1px solid #ccc !important;
	border-radius: 4px !important;
	text-align: center !important;
}

.cover-product-number-input {
	width: 58px !important;
	height: 34px !important;
	padding: 1px 0px !important;
	border: 1px solid #ccc !important;
	border-radius: 0 !important;
	text-align: center !important;
}

.margin-left-15 {
	margin-left: 15px;
}

.scrollable-modal-body {
	overflow-y: scroll;
}

#productImageViewModal .img-responsive {
    margin: 5px auto;
}

.bold {
	font-weight: bold;
}

#billingThroughKesko {
	font-size: 14px;
}

.additional_product_price {
	margin-bottom: 0;
}

.text-darkgray {
	color: darkgray;
}

.text-kesko {
	color: #ff6900;
}

.kesko-product-draft {
	background-color: #ffffcc;	
}

.text-yellow {
	color: yellow;
}

.table-fixed-header thead, .table-fixed-header tbody { 
	display: block; 
}

.table-fixed-header thead > tr > th {
	border-bottom: 0;
}

.table-fixed-header tbody {
	height: 30em;       /* Just for the demo          */
	overflow-y: auto;    /* Trigger vertical scroll    */
	overflow-x: hidden;  /* Hide the horizontal scroll */
}

.table-campaign-history {
	font-size: smaller;
}

.cart_table_full_width {
	width: 95vw;
	transform: translate(-20%, 0);
}

.table_full_width {
	background-color: white;
}


.container-nav-link-kesko {
	padding-left: 8px;	
}

.nav-link-kesko {
	color: #ff6900;
	text-transform: uppercase;
	text-decoration: none;
}

.nav-link-kesko:hover, .nav-link-kesko:focus {
	color: #ff6900;
	background: #ccc;
	text-decoration: none;
}

.operatorTooltip {
	z-index: 3;
	position: absolute;
	width: fit-content;
	height: fit-content;
	padding: 0.3em 0.5em;
	background-color: #ffffff;
	border: 1px solid black;
	font-size: 12px;
	line-height: 16px;
	white-space: nowrap;
	display: none;
}

.kesko-productlist-pagination > a.btn.disabled {
	color: black;
}

#notifyWarehouseApp #datepicker {
	background-color: #fff;
}

#userSurveyModal .modal-dialog .modal-content {
	max-height:80vh;
	overflow-y: auto;
}

/* New chains selection stylings - START */

.row-third-chains {
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.row-third-chains .chain-singular {
	width:33%;
}

.row-third-chains .chain-singular label {
	font-weight: normal;
	display:flex;
	align-items: center;
}

.row-third-chains .chain-singular label > input {
	margin-right:3px;
}

.chain-list-separated label {
	font-weight: normal;
}

.row-half-chains {
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.row-half-chains .chain-singular {
	width:50%;
}

.row-half-chains .chain-singular label {
	font-weight: normal;
}

.row-half-chains .chain-singular label > input {
	margin-right:3px;
}

.orderCheck	{
	float:right;
	padding:1px 5px;
}

.orderSelect {
	float:right;
	width:auto;
}

/* New chains selection stylings - END */

@media(min-width: 992px) {
	body {
		padding-top: 120px;
	}

	#navbar .dropdown:hover .dropdown-menu {
		display: block;
	}
	#navbar {
		max-height: 50px;
	}
	.navbar-secondary {
		margin-top: 10px;
	}

	.news-items-small
	{
		display:flex;
	}
	.news-items-small .news-items-small-single
	{
		display:flex;
	}

}

@media(min-width: 1200px) {
	.navbar-webink .navbar-brand {
		height: auto;
		margin-top: 7px;
		max-width: 280px;
	}
	.navbar-webink .navbar-brand img {
		max-width: 100%;
	}
}

@media(max-width: 1199px) {
	.navbar-webink .navbar-brand {
		height: auto;
		margin-top: 7px;
		max-width: 150px;
	}
	.navbar-webink .navbar-brand img {
		max-width: 100%;
	}

	.panel.news-large {
		max-width: 100%;
	}

	.panel.news-large .news-image-wrapper {
		max-width: 100%;
	}

	.panel.news-large .news-image {
		max-width: 100%;
	}

	.panel.news-small .news-image-wrapper {
		width: 236px;
		height: 74px;
		overflow: hidden;
	}

	.panel.news-small .news-image {
		max-width: 236px;
		max-height: 74px;
	}

}

@media(max-width: 991px) {
	.navbar-webink li > ul > li > a {
		color: #333;
	}

	.navbar-brand > img {
		max-height: 40px;
	}

	.panel.news-small .news-image-wrapper {
		width: 216px;
		height: 67px;
		overflow: hidden;
	}

	.panel.news-small .news-image {
		max-width: 216px;
		max-height: 150px;
	}
}

@media (max-width: 767px) {

	.guest-jumbotron h1 {
		font-size: 24px;
	}

	.guest-jumbotron {
		padding-left: 30px;
		padding-right: 30px;
	}

	.navbar-brand {
		height: 30px;
	}

	.navbar-brand > img {
		max-height: 30px;
	}

	.company-welcome h5 {
		font-size: 14px;
	}

	.smaller-card {
	}

	.smaller-card .card-content .card-block {
		font-size: 12px;
		font-weight: bold;
		text-transform: uppercase;
		width: auto;
	}

	.smaller-card .card-content .card-block .card-title {
		margin-top: 10px;
		margin-left: 10px;
	}

	.smaller-card .card-content .card-footer {
		display: none !important;
	}

	.smaller-card .card-img-wrapper {
		width: 100%;
	}

	.footer-logo {
		background-position: 50%;
	}

	.footer .hansaprint-footer-links {
		text-align: center;
		margin-top: 10px;
	}

	.page-header {
		background: #fff;
		color: #333;
	}

	.page-header p.section-description {
		color: #333;
	}

	.product-card p.description {
		color: #333;
	}

	.page-header h1 small a {
		color: #888;
	}

	.price-wrapper {
		background: #f5f5f5;
	}

	.news-large {
		width: unset;
		margin: 5px;
	}

	.panel.news-large .news-image {
		max-width: 100%;
	}

	.panel.news-small .news-image-wrapper {
		width: 100%;
		height: 67px;
		overflow: hidden;
	}

	.panel.news-small .news-image {
		max-width: 100%;
		max-height: 67px;
	}
}
