/*****************************************
	
	CUSTOM CSS

*******************************************/


/******* BACKGROUNDS ********/

body {
	background: #4a0a0b;
}
/*
header.website-header {
	background: none;
}

aside.section-image {
	background: none;
}

section.website-content {
	background: none;
}*/

/*.wrapper-website {
	box-shadow: 0 0 10px rgba(255,255,255,0.7) !important;
}*/

/*******  HEADER *******/

#mainlogo img {
	margin-top: -32px;
}

span.mainlogo {
	display: inline-block;
	font-family: Overlock, Opens-Sans;
	font-weight: 700;
	font-size: 40px;
	color: #7c0000;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
	width: 280px;
	/*background: url(/images/logot/WC30logo_pieni.png) no-repeat right top;*/
	background-size: auto 60px;
}

.bottom-header {
    padding: 35px 0 30px 0;
}

#toTop .icon-up::before {
    color: #ccc;
}

#translate {
	float: right;
	margin-right: 10px;
	height: 38px;
}

#translate a {
	color: #000;
}

#translate .langswitch {	
	position: relative;
	z-index: 200;
	padding-top: 8px;
}

#translate  .langswitch:last-child a {
	margin-right: 15px;
}

select, textarea, input, .inputbox {
	display: inline-block;
    background: #fff;
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 2px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05) inset;
    color: #555;
    font-size: 11px;
    height: auto;
    line-height: 120%;
    padding: 3px 8px;
    transition: all 0.15s ease-in-out 0s;
    width: auto;
	margin-top: 10px;
}

.marquee {
    width: 100%;
    line-height: 30px;
	padding: 5px;
    background-color: darkred;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
	font-size: 1.2em;
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 25s linear infinite;
}

div.marquee.grey,
div.moduletable.marquee.grey {
    background-color: #efefef !important;
    color: #333;
	border: none !important;
	box-shadow: inset 0 0 8px rgba(0,0,0,0.3);
}

@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

nav.isStuck {
	border-bottom: solid 1px #ddd;
	box-shadow: 0 0 7px rgba(0,0,0,0.16);
}

.vertical-menu li[class*="current"] > a {
    background: #A53A34;
}

/*******  SLOGAN  *******/

.top-module-position {
	border-bottom: solid 1px #ddd;
	margin-bottom: 15px;
}

.top-module-position div.moduletable div {
	padding-top: 0;
	padding-bottom: 10px;
}

.wine_slogan h2 {
	margin: 0 auto;
	padding: 20px 0 0;
	width: 70%;
	text-align: center;
	color: #7c0000;
}

.wine_slogan h3 {
	margin: 0 auto;
	padding: 0;
	width: 70%;
	text-align: center;
}

.divider {
	margin-top: 15px;
	border-top: 2px solid #ddd;
	padding-top: 10px;
}

.divider span.separator {
	display: inline-block;
	padding: 15px 10px 10px 12px;
	font-weight: bold;
}

.right_column .nav.menu li a img {
	float: right;
	margin-left: 15px;
}

/******* MAIN CONTENT AREA *******/

.main_content {
    padding: 0px 40px 0 10px !important;
}

/******* FOOTER AREA *******/
.users_footer {
	margin-bottom: 5px;
	padding-bottom: 15px;
	border-bottom: solid 1px #ddd;
}

/*******  DP CALENDAR  *******/

.dpcal-module_event_dpcal_220, .dpcal-module_event_dpcal_220 a, .dpcal-module_event_dpcal_220 div,
.dpcal-module_event_dpcal_246, .dpcal-module_event_dpcal_246 a, .dpcal-module_event_dpcal_246 div {
/*    background-color: #AE2A1C;
    border-color: #7c0000;*/
}

.dp-container div[class="tooltip-inner"],
.dp-container div.tooltip-inner ul {
    min-width: 100px;
	background: #ff9 !important;
	background: rgba(255,255,120,1.0) !important;
	color: #000 !important;
	opacity: 1 !important;
}

.fc-header-title h2 {
	text-transform: capitalize;
}

.right_column .dp-container .fc-header-title h2 {
	padding-top: 0;
}

.right_column .dp-container td.fc-header-right {
	width: 0;
}

.fc-state-highlight {
    background: #fefebb;
	color: #000;
}

.fc-button-datepicker,
.fc-button-print,
.fc-right .fc-button-group {
	display: none;
}

.fc-left,
.fc-left .fc-button-group {
	width: 100%;
}


.fc-icon-left-single-arrow::after,
.fc-icon-right-single-arrow::after,
.icon-calendar::before {
	color: #555;
}

.fc-center h2 {
	padding-top: 0;
}

.fc-toolbar.fc-header-toolbar {
	margin-top: 20;
}


p.info {
	background: #fb5 url(/images/question-mark.png) left center no-repeat;
	padding-left: 80px;
}

p.info a {
	text-decoration: none;
	color: black;
	text-shadow: 1px 1px 2px #fff;
}

p.info a:hover {
	color: #222;
	text-shadow: 1px 1px 2px #999;
}

.bg-orange.mild {
	background-color: #f0f077;
}

#dpcal-event-container .span7 #dp-event-calendar {
	display: none;
}

#dpcal-event-container  #dp-event-copy-google {
	margin-top: 15px;
}

ul.list-striped span.badge,
ul.list-striped div.pull-left,
div.filters div.span5.noprint,
div.filters div.span2.noprint {
    display: none;
}

.list-title a span,
div.fc-event-inner span.fc-event-title {
	display: block;
}

.list-title a span::first-letter,
div.fc-event-inner span.fc-event-title::first-letter,
div.tooltipster-base.tooltipster-default.tooltipster-fade.tooltipster-dying div.tooltipster-content a::first-letter {
	text-transform: uppercase !important;
}

div.tooltip.fade.top.in div {
	border-radius: 0;
	border: solid 1px #bbb;
	background: #ffa !important;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.tooltip {
  filter: alpha(opacity=100);
  opacity: 1;
  color: #000 !important;
}
.tooltip.in {
  filter: alpha(opacity=100);
  opacity: 1.0;
}
.tooltip a {
  color: #000 !important;
  text-decoration: none;
}

div.tooltip.fade.top.in div ul {
	background: #ffa !important;
	opacity: 1.0 !important;
	list-style: none;
	text-align: left;
	margin: 0;
	padding: 0;
}

.tooltipster-default {
	border-radius:5px;
	border:1px solid #000;
	background:#ffa;
	color:#333;
	padding: 3px;
	opacity: 1.0 !important;
	box-shadow: 2px 2px 3px rgba(0,0,0,0.4);
}

.dpdesc {
	margin-bottom: 40px !important;
}

.dpdesc span {
	display: inline-block;
	padding: 3px 5px;
	margin-bottom: 2px;
	width: 2em;
	margin-right: 8px;
}

div.mod-dpcalendar-upcoming-default__description {
	display: none;
}

div.tooltip.fade.top.in div ul  {
	text-transform: capitalize !important;
}

.fc-text-arrow {
    font-size: 1.2em;
    margin: 0 0;
}

.fc-event-inner {
	margin-bottom: 3px !important;
}

.right_column .selitykset {
	margin-top: -13px !important;
}
.right_column .selitykset div {
	padding-top: 0 !important;
}

.right_column .selitykset .selitys,
.bottom-module-position .selitykset .selitys {
	margin-top: 0;
	margin-bottom: 15px;
	white-space: normal;
}

.right_column .selitykset .selitys img ,
.bottom-module-position .selitykset .selitys img {
	width: 10px;
}

a.dpc-upcoming-event-link span {
	display: block;
	padding-left: 47px;
	margin-bottom: -15px;
}


/******* COMMUNITY BUILDER *******/

.cbProfile.cb_template {
	margin-top: 22px;
}

.cbImgCanvas.cbFullCanvas {
	background-image: none !important;
	background-color: #efefef;
}

.cb_template .cbPosCanvas .cbPosCanvasHeader .cbPosCanvasBackground {
    height: 80px;
}

.cb_template .cbPosCanvas .cbPosCanvasHeader .cbPosCanvasTitleMiddle {
    bottom: 25px;
}

.cb_template .cbPosCanvas .cbPosCanvasHeader .cbPosCanvasTitle {
    padding-left: 0;
	text-align: center;
}

.cb_template .cbPosCanvas .cbPosCanvasHeader .cbPosCanvasTitle .cbProfileTitle > h3 {
    color: #333 !important;
    text-shadow: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-group #cbbtncancel {
	color: #999 !important;
}

.cb_template .cbPosCanvas .cbPosCanvasMain .cbPosCanvasMainMiddle .cbTabsMenuNavBar .navbar-collapse {
    margin-left: 0;
}

.cb_template .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/******* PHOCA PANORAMA *******/

.ph-top {
	display: none !important;
}

/******* KUNENA FORUM ********/

div#Kunena {
	margin-top: 22px;
}

#Kunena div.kblock > div.kheader, 
#Kunena .kblock div.kheader {
	background: #f3e8dd !important;
	border-radius: 5px;
	border: solid 1px #aaa !important;
	margin-top: 25px;
}

#Kunena .kblock .kthead-title a,
#Kunena .kblock .ktopic-title-cover a {
	color: #A53A34 !important;
}

#Kunena .kblock .kthead-title:hover a,
#Kunena .kblock .ktopic-title-cover:hover a {
	color: #e7a144 !important;
}

#Kunena div.ktitle-desc,
#Kunena .kheader h1 a,
#Kunena .kheader h2 span,
#Kunena .kheader h3 span {
	color: #333 !important;
}

#Kunena td.kcol-mid,
#Kunena td.kcol-first,
#Kunena table.kblocktable,
#Kunena div.kblock,
#Kunena div.kblock div.kbody {
    border-left-color: #e7e7e7;
    border-bottom-color: #e7e7e7;
    border-top-color: #e7e7e7;
    border-right-color: #e7e7e7;
}

#Kunena .pagenav::before, 
#Kunena .pagenav::after {
    content: none;
}
	
#Kunena .fltlft .fltlft form input.kbutton.ks {
	color: #555 !important;
}

#Kunena .fltlft .fltlft form input.kbutton.ks:hover {
	color: #fff !important;
}

#Kunena .fltrt form#jumpto,
#Kunena form[name="login"],
#Kunena ul.kprofilebox-welcome li.kms,
#Kunena ul.kprofilebox-link,
div#Kunena+div {
	display: none;
}

/*******  BANNERS  *******/

.user7 .banneritem {
	max-width: 22%;
	min-width: 120px !important;
	margin-bottom: 20px;
	margin-right: 3%;
	float: left;
}

/*******  FRONTPAGE SLIDESHOW  *******/

.flex-caption h2 {
	color: #fff;
	font-size: 200% !important;
	text-shadow: 2px 2px 4px #000 !important;
}

.flex-caption p {
	padding-bottom: 20px;
	font-size: 125%;
	text-shadow: 1px 1px 3px #000 !important;
	max-width: 70%
}

/*******  MODULES  *******/

.title-band .module-title {
    padding: 5px 0 0 12px;
}

.vertical-menu div div.module-title {
	width: 100%;
	margin: -12px 0 0;
}

.title-band .module-title h3,
.vertical-menu div div.module-title h3 {
	color: #7c0000;
}

.moduletable.-ad {
/*	width: 100%;*/
}

.moduletable.-ad .one-half p {
	color: #333;
}

.address.without_bottom_menu {
	margin-top: 15px;
	padding-top: 15px;
	border-top: solid 1px #ddd;
}

footer.website-footer { 
	padding-bottom: 60px;
	background: #d1adad !important;
}

#copyright .one-half {
	font-size: 0.85em;
	color: #777;
	text-align: center;
}

.js-copyright {
	display: none;
}

.rokbox-content iframe {
	position: relative;
	z-index: 10000;
}

.user4 .moduletable > div,
.user5 .moduletable > div,
.user6 .moduletable > div {
	min-height: 410px;
}

.user4, .user5 {
    float: left;
    margin-right: 4%;
    width: 48% !important;
}

.user5 {
    margin-right: 0;
}

.user6 {
    margin: 0;
    width: 100% !important;
	clear: both 
}

.user6 .moduletable {
    float: left;
    margin-right: 4% !important;
    width: 48% !important;
}

.user6 .moduletable:last-child {
    margin-right: 0 !important;
}

.user6 .pulpet:after {
	display: block;
	position: absolute;
	z-index: 1001;
	margin-top: -80px;
	padding: 5px 10px;
	text-align: center;
	font-size: 0.93em;
	content: 'Vinpulpetens tasting-tillfällen är öppna för alla. Anmäl dig! Winecellars experter leder Dig in i vinernas intressanta värld!';
}

.user6 .pulpetti:after {
	display: block;
	position: absolute;
	z-index: 1001;
	margin-top: -90px;
	padding: 5px 10px;
	text-align: center;
	font-size: 0.93em;
	content: 'Viinipulpetin tastingit ovat kaikille avoimia. Ilmoittaudu mukaan! Winecellarsin asiantuntijat johdattavat Sinut viinien mielenkiintoiseen maailmaan!';
}



aside.bottom-module-position .moduletable.grey {
	margin: 0 15px !important;
}

img.wf_file_icon {
	margin: 0 5px 4px 0 !important;
}

/********** NARROW SCREEN SPECIALS ************/

@media screen and (max-width: 979px) {

.main_content {
    padding: 0px !important;
}

}

@media screen and (max-width: 767px) {

.top-header .wrapper-website {
    background: #7c0000;
}

.logo-module .mainlogo {
    text-align: left;
}

#translate a {
	color: #fff;
}

#translate .langswitch {	
	padding-top: 0;
}

#translate  .langswitch:last-child a {
	margin-right: 0;
}


select, textarea, input, .inputbox {
	margin-top: 0;
}

span.flex-caption p {
	display: none;
}

span.flex-caption h2 {
	font-size: 160% !important;
}

.user4 .moduletable > div,
.user5 .moduletable > div,
.user6 .moduletable > div {
	min-height: 0;
}

.user4, .user5, .user6 .moduletable {
    margin-right: 0;
    width: 100% !important;
}




}

@media screen and (max-width: 520px) {

div.top-slogan {
	display: none;
}

span.flex-caption h2 {
	text-align: center;
}

.user7 .banneritem {
	width: 48%;
	min-width: 120px;
	max-width: 160px;
	margin-right: 1%;
	margin-left: 1%;
}



}


@media screen and (max-width: 480px) {

#translate .langswitch {	
    margin-bottom: 15px;
}

.top-header .wrapper-website {
    margin-bottom: 70px;
}

.user7 .banneritem {
	width: 100%;
	min-width: 160px;
	max-width: 160px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}


}