/**
 * @ID	 		$Id: style.css 132 2019-07-24 07:39:35Z aitti $
 * @created		2015-01-20
 * @version		$Version$
 * @revision	$Revision: 132 $
 * @copyright	Suomen Liikemiesten Kauppaopisto - Helsinki Business College
 * @file		$HeadURL: https://ironhide.bc.local/svn/wordpressthemes/hbcv1.1/style.css $
 */
/*
Theme Name: HBCv1EN
Description: en.bc.fi sivuston teema, w/ bootstrap 4.0
Author: timo.aitta-aho@bc.fi
Author URI: www.bc.fi
License:
License URI:
Tags: github-versio
Theme URI: https://github.com/bc-devgit/HBCv1EN
Version: 1.1
*/

body,* {
  /*font-size: 15px;*/
  font-size: calc(14px + (26-14)*((100vw-300px) / (1600-300)));
  font-family: "Gotham A", "Gotham B";
  font-style: normal;
  font-weight: 400;
	line-height: 24px;
  /*
	overflow-wrap: normal !important;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
  */
}
body  {
}

em {
  font-style: italic !important;
}

i {
  font-style: italic !important;
}

h1,h2,h3,h4,h5 {
	Font-family: Morion !important;
	Font-style: normal !important;
  color: #69013B !important;
}

h1,.h1 {
  display: block;
	Font-size: 3.2rem !important;
	Line-height: 62px !important;
  padding-bottom: 15px;
}

h2,.h2 {
  display: block;
	Font-size: 2.7rem !important;
	Line-height: 52px !important;
  padding-top: 13px;
  padding-bottom: 15px;
}

h3,.h3 {
  display: inline-block;
	Font-size: 2.2rem !important;
	Line-height: 42px !important;
}

h4,.h4 {
  display: inline-block;
	Font-size: 1.6rem !important;
	Line-height: 37px !important;
}

h5,.h5 {
  display: inline-block;
	Font-size: 1.4rem !important;
	Line-height: 33px !important;
}

h6,h7 {
	Font-family: "Gotham A", "Gotham B" !important;
	Font-style: normal !important;
	text-align: Left;
  color: #69013B !important;
}

h6,.h6 {
	Font-size: 1.2rem !important;
	Line-height: 23px !important;
}

h7,.h7 {
	Font-size: 1rem !important;
	Line-height: 21px !important;
}

h2,h3,h4,h5,h6,h7 {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
}

.beigeback {
  background-color: #fce0d1;
}

.wineback {
	background-color: #69013B;
}

strong, strong * {
	color: #1c1c1c;
	font-weight: bold !important;
}

.bsn-rightpanel a,.bg-white a {
	color: #69013B !important;
}

a.btn {
  white-space: initial !important;
}

blockquote:before {
  height: 64px;
  width: 3px;
  background-color: #69013B;
  position: absolute;
  top:0;
  left:0;
  content:"";
}
blockquote {
  padding-left: 15px;
  margin-left: 30px;
  position:relative;
}
blockquote, blockquote * {
  font-size: 1.7rem !important;
  line-height: 42px !important;
}

p, p * {
  color: rgba(28, 28, 28, 0.8);
  font-size: 1rem;
  line-height: 28px;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
}

p.lead, p.lead * {
  font-size: 1.3rem;
  line-height: 32px;
}

.bigger, .bigger * {
  font-size: 1.2rem;
  line-height: 29px;
}

.smaller, .smaller *, .wp-caption-text {
  font-size: 0.9rem;
  line-height: 23px;
}

.smallest, .smallest *{
  font-size: 0.8rem;
  line-height: 21px;
}
.bsn-wine, .bsn-wine > strong, .bsn-wine > p, .bsn-wine > h1, .bsn-wine > h2 {
  color: #69013B !important;
  fill: #69013B !important;
}

a.bsn-wine:hover {
  color: rgba(49, 22, 37, 0.3) !important;
}

.bsn-beige, .bsn-beige > strong, .bsn-beige > p, .bsn-beige > h1, .bsn-beige > h2 {
  color: #fce0d1 !important;
  fill: #fce0d1 !important;
}
.wineback.kou, .beigeback.kou {
  margin-left: .25rem !important;
  margin-right: .25rem !important;
}
.wineback.kou * {
  color: #fce0d1 !important;
  fill: #fce0d1 !important;
}

.wineback.kou .beigebutton {
  color: #69013B !important;
  fill: #69013B !important;
}

.beigeback.kou *, .beigeback.kou > img {
  color: #69013B !important;
  fill: #69013B !important;
}

.beigeback.kou .winebutton {
  color: #fce0d1 !important;
  fill: #fce0d1 !important;
}

ul#menu-main-1.bsn-wine li a {
  color: #69013B;
}

.bsn-beige #menu-main-1 a:hover,
.bsn-beige #menu-apunavi-1 a:hover,
.bsn-beige #menu-main-1 a:focus,
.bsn-beige #menu-apunavi-1 a:focus {
  /*color: rgba(49, 22, 37, 0.7154) !important;*/
/*  color: rgba(252, 224, 209,0.5) !important;*/
    color: #f69e6f !important;
    text-decoration:underline;
}


#menu-main-1 a:hover,
#menu-apunavi-1 a:hover,
#menu-main-1 a:focus,
#menu-apunavi-1 a:focus,
#menu-main-1.bsn-wine a:hover,
#menu-apunavi-1.bsn-wine a:hover {
  /*color: rgba(49, 22, 37, 0.7154) !important;*/
/*  color: rgba(252, 224, 209,0.5) !important;*/
   color: rgba(49, 22, 37, 0.7154) !important;
/*    color: #fce0d1 !important;*/
    text-decoration:underline;
}




#menu-main-1 ul.dropdown-menu li a:hover,
#menu-main-1 ul.dropdown-menu li a:focus {
  color: rgba(252, 224, 209,0.5) !important;
/*color: rgba(49, 22, 37, 0.7154) !important;*/
}


ul#menu-apunavi-1.bsn-wine li a {
  color: #69013B;
}

.bsn-wine > .searchform {
  color: #fce0d1 !important;
  fill: #fce0d1 !important;
}



/* HEADER OSIO */

div.bsn-header {
  z-index:99;
  border-top:6px solid #69013B !important;
}
div.bsn-header div.fixed-top {
/**    background-color: rgba(255,255,255,0.4);
    padding-bottom: 20px;**/

}

div.headercontent {
  margin-top: 100px;
}

div.bsn-fixed {
  max-width: 1450px;
  margin:0 auto;
}
div.bsn-header div.fixed-top.scrolled {
  background-color:#69013B !important;
  max-width: 100%;
  width: 100% !important;
  height: 100px;
}

div.bsn-header div.fixed-top.scrolled * {
  background-color:#69013B !important;
  color: #fce0d1 !important;
  fill: #fce0d1 !important;
}

div.bsn-header div.fixed-top.scrolled #menu-main-1.bsn-beige a:hover,
div.bsn-header div.fixed-top.scrolled #menu-apunavi-1.bsn-beige a:hover,
div.bsn-header div.fixed-top.scrolled #menu-main-1.bsn-beige a:focus,
div.bsn-header div.fixed-top.scrolled #menu-apunavi-1.bsn-beige a:focus,
div.bsn-header div.fixed-top.scrolled #menu-main-1.bsn-wine a:hover,
div.bsn-header div.fixed-top.scrolled #menu-apunavi-1.bsn-wine a:hover,
div.bsn-header div.fixed-top.scrolled #menu-main-1.bsn-wine a:focus,
div.bsn-header div.fixed-top.scrolled #menu-apunavi-1.bsn-wine a:focus {
  color: rgba(252, 224, 209,0.5) !important;
}

div.bsn-header div.fixed-top.scrolled {
  -webkit-box-shadow: 1px 1px 13px 3px rgba(0, 0, 0, 0.2965);
	-moz-box-shadow: 1px 1px 13px 3px rgba(0, 0, 0, 0.2965);
	box-shadow: 1px 1px 13px 3px rgba(0, 0, 0, 0.2965);
}

div.bsn-header div.fixed-top.scrolled .logo , div.bsn-header div.fixed-top.scrolled .logofront {

}

/* */
span.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(252,224,209,1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

button.navbar-toggler {
	border:0;
}

#menu-mobile .dropdown-toggle::after {

    display: inline-block;
    width: 42px;
    height: 42px;
    margin-left: .255em;
    vertical-align: .255em;
		line-height: 40px;
		text-align: center;
		border:0;
		border-left: 1px solid rgba(255,255,255,0.2);
    position: absolute;
    right: 0px;
    top: 0px;
	  font-style: normal;
	  font-variant: normal;
	  text-rendering: auto;
	  -webkit-font-smoothing: antialiased;
	  font-family: "Font Awesome 5 Free";
	  font-weight: 900;
		font-size:0.7rem;
	  content:"\f078";


}

nav.bsn-mobilenav {


}

#menu-mobile > li {

	border-bottom:1px solid rgba(255,255,255,0.2);
  	/*
	padding:5px 0 5px 0;
  	*/
	min-height: 42px;

}

#menu-mobile li.search {
	border-bottom:0;
	padding-top:5px;
/*	margin-bottom:100%;*/
}

#menu-mobile li.search input.search-field {
	width: 80% !important;
}

.bsn-mobilenav, #menu-mobile li ul.dropdown-menu {
  background-color:#69013B !important;
  border:0 !important;
}
a.dropdown-item {
	white-space:initial;
}

#menu-mobile li ul.dropdown-menu {
	border-top:1px solid rgba(255,255,255,0.2) !important;
}
#menu-mobile li ul.dropdown-menu a {
	font-size: 0.9rem;
}
#menu-mobile li ul.dropdown-menu a:hover,
#menu-mobile li ul.dropdown-menu a:focus  {
	color: #fff;

	background-color: rgba(255,255,255,0.2);
}

.bsn-mobilenav a {
  font-size: 1.1rem;
  color: #fce0d1 !important;
}

a.navbar-brand {
	min-width: 180px;
	width: 75%;
	max-width: 250px;
}
a.navbar-brand img {
  width: 100%;
}

#menu-apunavi-1 a {
  font-size: 0.7rem;
	line-height: 13px;
  color: #fce0d1;
}

#menu-apunavi-1 li.astm-search-menu {
	padding-top: 5px;
}

.astm-search-menu.dropdown form {
	left: -280px !important;

}

#mobile-bc-menu ul li.search form.search-form {
	display: block !important;  /* pitää astm-search-menun auki */
	position: initial;
}



#mobile-bc-menu ul li.search form.search-form label {
	/*display: initial;*/
  display: none;
}

#mobile-bc-menu ul li.search form.search-form input.search-field {
	display: block;
	width: 80%;
	float: left;
	margin-right: 10px;
	height: 35px;
}

/*
#mobile-bc-menu ul li.astm-search-menu form.search-form input.search-submit[type="submit"] {
	font-size: 0;
	background-image:url('images/search.svg');
	background-size: 20px;
	min-width:20px;
	width: auto;
	background-repeat: no-repeat;
	background-position: center;
	padding:2px 10px 2px 10px;
	margin:1px;
	border:0px solid #ccc;
}
*/
#mobile-bc-menu ul li.search form.search-form {
  padding:10px;
	background-color:#69013B;
	border:1px solid #69013B;
  -webkit-box-shadow: 0 !important;
	-moz-box-shadow: 0 !important;
	box-shadow: 0 !important;
}

#mobile-bc-menu ul li.search svg.search-icon {
	display: none;
}
#mobile-bc-menu ul li.search form.search-form::after{
	display: none;
}

#menu-apunavi-1 li.astm-search-menu svg.search-icon {
	width: 15px;
	height: 15px;
}

#menu-main-1 a {
  font-size: 1rem;
	line-height: 19px;
  color: #fce0d1;
}


/* DROPDOWN */
#menu-main-1 ul.dropdown-menu {
  position: relative;
	background: #69013B !important;
  color:#fff !important;
	top: 15px !important;
  -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2965);
	-moz-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2965);
	box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2965);
}

#menu-main-1 ul.dropdown-menu:before {

}

#menu-main-1 ul.dropdown-menu:after {
	bottom: 100%;
	left: 20%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(105, 1, 59, 0);
	border-bottom-color: #69013B;
	border-width: 12px;
	margin-left: -12px;
}

#menu-main-1 ul.dropdown-menu a {
	font-size: 0.9rem;
	line-height: 16px;
  color:#fce0d1 !important;
}

#menu-main-1 ul.dropdown-menu a:hover,#menu-main-1 ul.dropdown-menu a:focus,#menu-main-1 ul.dropdown-menu a:active {
	background-color: transparent;
}

#menu-main-1 ul.dropdown-menu li {
	padding:3px 0;
}


div.logo {
  height:131px;
  width:245px;
}

div.logofront {
  height:251px;
  width:439px;
  margin-left:-30px;
}


div.logo-text strong {
  color: #fff !important;
}

/* SLOGAN */
div.bsn-slogan {
  margin:50px 0;
}
div.bsn-slogan span.slogan {
  font-family: "Morion";
  color: #69013B !important;
  font-size: 4rem;
  letter-spacing:2px;

}

div.bsn-slogan div.slogan-l {
	padding-right: 80px;
  margin: auto 0;
  text-align: right !important;

}

div.bsn-slogan div.slogan-r {
  margin: auto 0;
  border:0;
  padding:20px 0 20px 80px;
  border-left: 1px solid #ccc;
  text-align: left !important;
}

/* KORTIT */
div.bsn-cards {
  /*color: #666;*/
}

div.bsn-cards h2 {

}

div.bsn-cards div.card-body {
	padding-left:0 !important;
	padding-right:0 !important;
}

div.bsn-frontcard {
	max-width: 270px;
}

div.bsn-crdimg {
  max-width: 269px;
  max-height: 369px;
  overflow: hidden;
}

div.bsn-crdimg img {
	width: 269px;
	height: 369px;
}

div.bsn-cards div.card-text p {
  /*font-size: 1rem;*/
	color:rgba(28, 28, 28, 0.8016);
/*	line-height: 1rem;*/
}

div.bsn-cards strong {
  color: #1c1c1c;
}

h2.bsn-title {
  font-family: "Morion";
  color: #69013B !important;
/*	font-size:1.6rem;*/
  font-size: 1.6rem !important;
}

div.bsn-cards h3 {
  font-family: "Gotham A", "Gotham B";
  text-transform: uppercase;
  color: rgba(49, 22, 37, 0.7154) !important;
  font-size: 0.7rem !important;

  line-height:12px;
  letter-spacing: 0.48px;

}

div.bsn-cards .card-footer {
	border-color:rgba(105, 1, 59, 0.1604);
}

/*
div.bsn-cards div.card-text a:after, .bsnbtn3:after {
  content:'\2192';
 margin-left: 30px;
}

div.bsn-cards div.card-text a, .bsnbtn3 {
  color:#69013B;
  padding: .5rem 1rem;
  margin-top: 2rem;
  font-size: 1.1rem;
  line-height: 2.4rem;
  border-radius: .3rem;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid rgba(105, 1, 59, 0.2552) !important;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 2;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
*/

div.bsn-cards ul {
  list-style: none;
  padding:0;
  margin:0;
}

div.bsn-cards ul li a {
  color: #69013B;
  font-size: 0.8rem;
  line-height: 16px;
  padding:3px 0;
}

div.bsn-cards .card-footer {
 padding:0.75rem 0 !important;
}

/* UUTISNOSTOT */
div.bsn-postfeed {
  background-color:#69013B;

}

.border-postfeed {
  border-bottom:5px solid #fce0d1;
}

div.bsn-postfeed .media {

}

div.bsn-imgcrop {

}

div.bsn-imgcrop img {
  max-width: 165px;
  max-height: 110px;
}

div.bsn-postfeed h3 {
  /*font-size: 1.1rem;*/
}

h2.newsstrip {
  font-size: 1rem !important;
  line-height: 22px!important;
  color: #fff!important;
  Font-family: "Gotham A", "Gotham B" !important;
}

div.bsn-post {
/*
 margin:auto 10px;
 padding: 0 10px;
 */
}

div.bsn-postfeed a {
  font-size: 0.9rem !important;
}


/* IG-FEED */
div.bsn-igfeed {
/* padding-top: 100px;*/
  background-color:#69013B;
  background-image: url("https://www.bc.fi/wp-content/themes/hbcv1/images/ig_feed.jpg");
  background-size: cover;
}

div.ignopa {

}

div.ignopa:hover {
/*background-color: rgba(0, 0, 0, 1);*/
}

div.bsn-igfeed a {
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  height: 800px;
 /* padding:150px 0 150px 0;*/
 padding:20%;

}
div.bsn-igfeed a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

span.igextra {
  font-size: 3rem;
  display: block;
  font-family: "Morion";
}

/* FOOTER OSIO */
div.bsn-footer {
  padding-top: 100px;
  background-color:#69013B;
  padding-bottom: 100px;
}

div.bsn-footer a.text-light:hover {
  color: rgba(0, 0, 0, 0.3) !important;
}

div.bsn-some {
  margin-top:50px;
  margin-bottom: 100px;
}

div.bsn-some * {
  font-size: 2.3rem;
}

div.footer-navi {
}

div.footer-navi h2 {
  font-family: "Gotham A", "Gotham B";
  text-transform: uppercase !important;
  color: #fce0d1 !important;
  font-size:0.7rem !important;
  line-height: 12px !important;
  letter-spacing: 0.48px;
}
div.footer-navi ul {
  list-style: none;
  padding:0 0 20px 0;
  margin:0;
}

div.footer-navi ul li > a {
  color: #fff !important;
  font-family: "Gotham A", "Gotham B";
  font-size: 0.8rem !important;
  font-weight: lighter;
  line-height: 14px;
  padding:4px 0;
}

/* MUUT */
/*
.bsnbtn {
  background-color:#69013B;
  color: #fff !important;
}

.bsnbtn2 {
  background-color:#69013B;
  color: #fff !important;
  padding: .5rem 1rem;
  margin-top: 2rem;
  font-size: 1.1rem;
  line-height: 2.4rem;
  border-radius: .3rem;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid #993366;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 2;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.bsnbtn2:after {
  content:'\2192';
  margin-left: 3rem;
}
*/

 /* LANDINGPAGE TEMPLAATTI */
div.landing-tmplate {
  max-width:1450px;
}

div.bsn-leftcol {
}

div.bsn-leftcol ul {
  list-style: none;
  border-right: 1px solid #ccc;
  padding:0;
  margin:0;
  padding-right: 20px;
}

div.bsn-leftcol ul li {
  padding:0;
  margin:0;
}

div.bsn-leftcol ul li {

}


 /* PERUS-SIVUTEMPLAATTI */
div.perus-tmplate {
  margin-top: -150px;
  max-width:1450px;
  padding-top:50px;
  padding-right:20px;

}

div.perus-tmplate h1 {
  display: block;
	Font-size: 3.2rem !important;
	Line-height: 62px !important;
 /* padding-bottom: 15px;*/
  padding-bottom:40px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 40px;
  display: inline-block;
}

div.bsn-leftpanel {
  padding:0 15px 0 15px !important;
}

div.bsn-rightpanel {
  padding:0 50px;
}

p.bsn-landp {
	color: #69013B;
}

.bsn-land2 h2 {
	font-size: 2.2rem !important;
	line-height: 50px !important;

}
.bsn-land3 {
	height: 100px;
	display: flex;
	vertical-align: bottom;
}

.bsn-land3 h3 {
	font-size: 1.6rem !important;
	line-height: 31px !important;
	letter-spacing: -0.3px;
}

div.bsn-first {
  border-bottom: 1px solid rgba(105, 1, 59, 0.1604);

}

div.bsn-second {
	/*border-top: 1px solid rgba(105, 1, 59, 0.1604);*/
}

div.bsn-second .title {
	height: 50px;
	vertical-align: bottom;
}

div.bsn-second .title h3 {
	font-size: 1rem !important;
	line-height: 21px !important;
	font-family: "Gotham A, Gotham B" !important;
	font-weight: bolder !important;
}


 /* sivumenu */
ul.bsn-menu {
  padding:0;
  margin:0;

}

ul.bsn-menu > li {
  padding:10px 0;
}

ul.bsn-menu li ul.children {
  list-style: none;
  padding:0;
  margin:0;
  padding-left:20px;
  padding-top: 5px;
}

ul.bsn-menu li ul.children li ul.children {
  list-style: none;
  padding:0;
  margin:0;
  padding-left:10px;
  padding-top: 5px;
}

li.page_item_has_children ul.children {
  /*display: none;*/
}

ul.bsn-menu li ul.children > li {
  padding-top: 10px;
}

ul.bsn-menu li ul.children:last-child {
}

ul.bsn-menu li a {
  color: #69013B;
  display: block;

}
ul.bsn-menu li.current_page_parent > a {
  color: #1c1c1c;
}

ul.bsn-menu li.page_item_has_children.current_page_item > a::after,ul.bsn-menu li.page_item_has_children.current_page_parent > a::after {
/*
.downarrow::after {
*/

  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content:'\f107';
}

ul.bsn-menu li.current_page_item > a {
  color: #1c1c1c;
}


ul.bsn-menu li.page_item_has_children a::after {
/*
.leftarrow::after {*/
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-size: 0.9rem;
  font-weight: 900;
  content:'\f105';
  padding-left: 15px;
}

ul.bsn-menu ul.children li.page_item > a::after{
  content: "";
}

ul.bsn-menu li.page_item_has_children.current_page_item ul.children,
ul.bsn-menu li.page_item_has_children.current_page_parent ul.children  {
  display: block;
}

 /* DROPDOWN versio */
 #dropdownmenu {
  background-color: #fff;
  border: 1px solid rgba(105, 1, 59, 0.2552) !important;
  color: #69013B;
 }

ul.bsn-linklist {
	list-style: none;
	padding:0;
	margin:0;
}

ul.bsn-linklist li {
	padding:0;
	margin:0;
}

ul.bsn-linklist li a {
	color: #69013B;
	font-size: 0.8rem;
	line-height: 16px;
	padding: 3px 0;
	display: block;
}

.border-right-bsn {
	border-right: 1px solid rgba(105, 1, 59, 0.1604) !important;
}

.border-left-bsn {
	border-left: 1px solid rgba(105, 1, 59, 0.1604) !important;
  padding-left:5rem;
}


/* KATEGORIA-templaatti */
.bsn-author img {
  height: 80px;
  width: auto;
}

.bsn-authorbot img {
  height: 50px;
  width: auto;
}

.bsn-tag {
  color:#69013B;
  /*
  padding: .5rem 1rem;
  display: inline;
  font-size: 1.1rem;
  line-height: 2.4rem;
  border-radius: .3rem;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid rgba(105, 1, 59, 0.2552) !important;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 2;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  */
}

.bsn-author strong {
  color:#69013B;
	Font-family: Morion !important;
	Font-style: normal !important;
  font-size: 1.4rem;
}

.bsn-authorbot strong {
  color:#69013B;
	Font-family: Morion !important;
	Font-style: normal !important;
  font-size: 1.2rem;
}

.bsn-tags li {
  color:1c1c1c;
}
.bsn-catlist:before {
  content:"|";
  padding-right:5px;
}

.bsn-tagbtn {
  color:#69013B;

/*  padding: .5rem 1rem;*/
  display: inline;
/*  font-size: 1.1rem;
  line-height: 2.4rem;
  border-radius: .3rem;*/
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid rgba(105, 1, 59, 0.2552) !important;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 2;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;

}



/* SEARCH sivu */
div.searchpage {
  margin-top: 200px;
}

input.search-field {
  background-color:#fce0d1;
  color:#69013B;
  border:1px solid #fce0d1;
  border-radius:0;
	display: block !important;
	width: 84% !important;
}


.search-submit {
  background-color:#69013B;
  color: #fce0d1 !important;
  border:0;
  border-radius:0 !important;
}

/* SEARCH DROPDOWN */
.dropdown form {
  /*display: block !important;*/
}

#menu-apunavi-1 li.astm-search-menu form.search-form {
  padding:10px;
	background-color:#69013B;
	border:1px solid #69013B;
  -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2965);
	-moz-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2965);
	box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2965);
}

.astm-search-menu form.search-form:after {
	bottom: 100%;
	right: 0;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(105, 1, 59, 0);
	border-bottom-color: #69013B;
	border-width: 12px;
	margin-left: -12px;
}

.astm-search-menu form.search-form input.search-field {
	display: block;
	width: 80%;
	float: left;
	margin-right: 10px;
	height: 35px;
}

.astm-search-menu form.search-form label {
	display: initial;
}

.astm-search-menu form.search-form input.search-submit {
	font-size: 0;
	background-image:url('images/search.svg');
	background-size: 20px;
	min-width:20px;
	width: auto;
	background-repeat: no-repeat;
	background-position: center;
	padding:2px 10px 2px 10px;
	margin:1px;
	border:0px solid #ccc;
}

/* BUTTONS */
.beigebutton,a.beigebutton {
  color:#69013B !important;
  background-color: #fce0d1 !important;
/*  background-color: transparent;*/
  border: 1px solid rgba(105, 1, 59, 0.2552) !important;
  margin-top: 2px;
  margin-bottom: 2px;
}

.whitebutton,a.whitebutton {
  color:#69013B !important;
  background-color: #ffffff !important;
/*  background-color: transparent;*/
  border: 1px solid rgba(105, 1, 59, 0.2552) !important;
  margin-top: 2px;
  margin-bottom: 2px;
}

.winebutton,a.winebutton {
  color: #fff !important;
  background-color:#69013B !important;
  margin-top: 2px;
  margin-bottom: 2px;
  border:1px solid rgba(255, 255, 255, 0.2552) !important;
}

.beigebutton:hover,a.beigebutton:hover {
  border: 1px solid rgba(105, 1, 59, 0.9552) !important;
  background-color: #fbf0ea !important;
}

.whitebutton:hover,a.whitebutton:hover {
  border: 1px solid rgba(105, 1, 59, 0.9552) !important;
  background-color: rgba(255, 255, 255, 0.2552) !important;
}

.winebutton:hover,a.winebutton:hover {
  background-color:#b10262 !important;
}

.bsn-button {
 /* padding: .5rem 1rem;*/
  margin-top: 2rem;
/*  font-size: 1.1rem;
  line-height: 2.4rem;
  border-radius: .3rem;*/
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 2;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.arrow::after {
 content:'\2192';
 margin-left: 10px;
 padding-right: 5px;
}


 /* LIST-elementti */
.bsn-rightpanel ul, ul.lista, ul.lista li > ul {
  list-style: none;
  margin:0:
}
.bsn-rightpanel ul > li, ul.lista > li {
  color: rgba(28, 28, 28, 0.8);
  font-size: 1rem;
  text-indent: -5px;
}

.bsn-rightpanel ul li, ul.lista li {
  list-style-position: inside;
  text-indent: -25px;
  padding-left: 20px;
}
.bsn-rightpanel ul li:before, ul.lista li:before {
  content:"\2014\a0";
  color: #69013B;
  font-weight: bold;
  padding-right: 5px;
}

ul.list-unstyled li:before {
  content:"" !important;
}

.page .site-content .entry-header, .page .site-content .entry-content,
.page .site-content {
max-width: 1000px;
}
.page .site-content .entry-header {
max-width: 700px;
}
.page .tiled-gallery, .tiled-gallery .gallery-row {
margin-left: auto !important;
margin-right: auto !important;
}

.page .site-content .entry-content {
    max-width: 700px;
    width: 100%;
}

.tiled-gallery-caption {
  color: #fce0d1;
	background-color: rgba(105, 1, 59, 0.8552);
  padding-bottom:15px;
  height: 40%;
  font-size: 1.1rem;

}


/* FONTTI */

.morion, .morion * {
	Font-family: Morion !important;
	Font-style: normal !important;
}


.anchor{display: block; position: relative; top: -250px; visibility: hidden;}

.comment_pages a {
  color: #69013B;
}

.alignright {
	float: right !important;
}

.alignleft {
	float: left !important;
}

/* COOKIE-LAW */
div#eu-cookie-law {
  background-color: #69013B !important;
}

div#eu-cookie-law form input.accept {
  color:#69013B !important;
  background-color: #fce0d1;
/*  background-color: transparent;*/
  border: 1px solid rgba(105, 1, 59, 0.2552) !important;
  margin-top: 2px;
  margin-bottom: 2px;

}
div#eu-cookie-law, div#eu-cookie-law * {
  color: #fce0d1 !important;
	Font-family: Morion !important;
	Font-style: normal !important;
  font-size: 1.1rem !important;
  line-height: 29px !important;
}


div#eu-cookie-law a {
  font-size: 1.3rem !important;
  text-decoration: none !important;
}


/* MOBILE-VIEW SPECIALS */
@media (max-width: 650px) {

  img.size-full {
    max-height: 300px;
    height: auto;
    width: 100%;
  }
  div.bsn-crdimg {
    max-width: 100%;
    max-height: 260px;
  }

  div.bsn-crdimg img {
    width: 100%;
    height: auto;
  }

  div.card-text p {
    font-size: 0.8rem;
  }

	div.headercontent {
		margin-top: 0 !important;
    height: 50px !important;
	}

	div.logo-text {
		padding-bottom:0 !important;
		padding-top:0 !important;
    align-self: flex-start !important;
	}

	div.logo-text h1 {
		font-size: 32px !important;
	}
  div.logo-text h2 {
		font-size: 20px !important;
	}

  div.logo-text p {
		display: none;
	}

  div.logo-text p.lead {
		display: initial;
	}

  .bsn-background {
    width: 100% !important;
    height: auto !important;
    padding-top: 200px;
    /*min-height: 300px;*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow:hidden;
    min-height:400px !important;
  }

  .frontpage.bsn-background {
    padding-top:0 !important;
  }

  .frontpage div.logo-text h1 {
    font-size: 1.4rem !important;
    line-height: 24px !important;
    margin-top: -40px !important;
    padding-bottom: 0px !important;
  }

  .frontpage div.logo-text h2 {
    font-size: 1rem !important;
    line-height: 20px !important;

    padding-bottom: 0px !important;
  }

  .frontpage p.lead a.btn {
    font-size: 1rem !important;
  }

}
/**@media (max-width: 769px) {**/
@media (max-width: 769px) {
  div.bsn-crdimg {
    text-align: center;
    max-width: initial;
  }

  div.bsn-crdimg img {

  }

  div.bsn-slogan div.slogan-l {
  	padding-right:0 !important;
    margin: auto 0;
    text-align: center !important;

  }

  div.bsn-slogan div.slogan-r {
    margin: auto 0;
    border:0;
    padding:0 !important;
    border-left: 0px solid #ccc;
    text-align: center !important;
  }

  div.bsn-frontcard {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  div.bsn-cards {
    text-align: center !important;
  }

  .bsn-background {
    width: 100%;
    max-height: 512px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
  }

  .border-left-bsn {
    margin-top:30px;
    padding-left: 0 !important;
    border:0 !important;
  }

  h1 {
    font-size: 2.4rem !important;
  }
  h2 {
    font-size: 1.9rem !important;
  }
  h3 {
    font-size: 1.2rem !important;
  }

  div.bsn-igfeed {
    background-position: center;

  }

  div.bsn-igfeed a {
    font-size: 1.3rem !important;
    height: 300px;
    width: 100%;
  }

  div.bsn-igfeed a svg.fa-5x, div.bsn-igfeed a span.igextra {
    font-size: 1.3rem !important;
  }

  .bsn-rightpanel {
    padding:0 !important;
  }

  .bsn-leftpanel {
    text-align: center;
  }

  .bsn-imgcrop {
    width: 75px;
    height: 50px;
    overflow: hidden;
  }

  .bsn-imgcrop img {
    max-width:75px;
    width: 100%;
    height: auto;
  }

	.bsn-background.noheader {
	height: 0 !important;
    padding-top: 0 !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
	}

  blockquote:before {
    height: 64px;
    width: 2px;
    background-color: #69013B;
    position: absolute;
    top:0;
    left:0;
    content:"";
  }
  blockquote {
    padding-left: 10px;
    margin-left: 5px;
    position:relative;
  }
  blockquote, blockquote * {
    font-size: 1.2rem !important;
    line-height: 30px !important;
  }

}
@media (min-width: 769px) {
/**@media (max-width: 1200px) {**/
	.bsn-background.noheader {
	height: 150px !important;
    padding-top: 0 !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
	}
}


/* dataTables overrides */
.dataTables_wrapper ul li {
  text-indent: initial;
  padding-left: 0;
}

.dataTables_wrapper ul li:before {
  content: "";
}

.page-item.active .page-link {
  color: #fff !important;
  background-color: #69013b !important;
  border-color: #69013b !important;
}

/* WP BLOCK OVERRIDES */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}
