/*
 * Less vars
 */
/*
* Functions and Globals
* ======================
*/
.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
/*
* Structure
* ======================
*/
.smart-calendar-all {
  zoom: 1;
}
.smart-calendar-all:before,
.smart-calendar-all:after {
  content: "";
  display: table;
}
.smart-calendar-all:after {
  clear: both;
}
.smart-calendar-events-sidebar {
  padding-left: 0.9375em;
  padding-right: 0.9375em;
  width: 100%;
  padding-bottom: 40px;
  margin:20px 0;
}
@media only screen and (max-width:768px) {
  .smart-calendar-events-sidebar {
    width: 100%;
    float: none;
  }
}
.smart-calendar-events-sidebar .event-sidebar-title {
  font-size: 24px;
  line-height: 48px;
  margin: 0;
  padding: 20px 0 0;
}
.smart-calendar-events {
  width: 100%;
  float: none;
 }
@media only screen and (max-width:768px) {
  .smart-calendar-events {
    width: 100%;
    float: none;
  }
}
.smart-calendar-events.fullsize {
  width: 100%;
  float: none;
  zoom: 1;
}
.smart-calendar-events.fullsize:before,
.smart-calendar-events.fullsize:after {
  content: "";
  display: table;
}
.smart-calendar-events.fullsize:after {
  clear: both;
}
/*
* List
* ======================
*/
.smart-event-clear-all,
.smart-event-showcalendar {
  display: block;
  font-size: 18px;
  line-height: 48px;
  padding: 0 10px;
  margin-top: 20px;
  cursor: pointer;
}
.smart-event-clear-all:hover,
.smart-event-showcalendar:hover {
  background-color: #eeeeee;
}
.event-nav-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.event-nav-list li {
  font-size: 18px;
  line-height: 48px;
  padding: 0 10px;
  zoom: 1;
}
.event-nav-list li .action {
  display: none;
}
.event-nav-list li .action.action-none {
  display: inline-block;
}
.event-nav-list li:hover {
  background-color: #eeeeee;
}
.event-nav-list li:hover .action-none {
  display: none;
}
.event-nav-list li:hover .action-add {
  display: inline-block;
}
.event-nav-list li.active {
  background-color: #eeeeee;
}
.event-nav-list li.active .action-none {
  display: none;
}
.event-nav-list li.active .action-add {
  display: inline-block;
}
.event-nav-list li.active:hover {
  background-color: #d4d4d4;
}
.event-nav-list li.active:hover .action-add {
  display: none;
}
.event-nav-list li.active:hover .action-remove {
  display: inline-block;
}
.event-nav-list li:before,
.event-nav-list li:after {
  content: "";
  display: table;
}
.event-nav-list li:after {
  clear: both;
}
/*
* List
* ======================
*/
.cal-nav-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  width: 100%;
  zoom: 1;
}
.cal-nav-list li {
  width: 50%;
  float: left;
  font-size: 20px;
  line-height: 48px;
  font-weight: bold;
  text-align: center;
}
.cal-nav-list li a {
  color: #000;
  font-weight: bold;
}
.cal-nav-list li:first-child {
  width: 25%;
  font-size: 14px;
  line-height: 14px;
  font-weight: normal;
  text-align: left;
}
.cal-nav-list li:last-child {
  width: 25%;
  font-size: 14px;
  line-height: 14px;
  font-weight: normal;
  text-align: right;
}
.cal-nav-list:before,
.cal-nav-list:after {
  content: "";
  display: table;
}
.cal-nav-list:after {
  clear: both;
}
.smart-calendar-day {
  zoom: 1;
}
.smart-calendar-day h2.smart-calendar-day-title {
  /*padding-top: 30px;*/
  color:#9e9e9e;
  font-size: 12px !important;
  font-weight:bold;
  font-family:calibri;
  line-height: 18px !important;
  margin: 8px 8px 6px 8px!important;
  text-transform: uppercase;
}
.smart-calendar-day h2.smart-calendar-day-title i {
  padding-right: 10px;
}
.smart-calendar-day .smart-calendar-day-all {
  zoom: 1;
  background: linear-gradient(hsl(0, 0%, 95%), hsl(0, 0%, 95%) 1em, hsl(0, 0%, 100%)) no-repeat scroll 0 0 hsla(0, 0%, 0%, 0);
  border-top: 1px solid hsl(0, 0%, 90%);
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event {
  display: block;
  border: 1px solid #e5e5e5;
  padding: 0.9375em 0.9375em;
  zoom: 1;
  border-radius: 0.5em;
  margin:10px 10px 10px 5px;
  background:#ffffff;
  float:left;
  width:82%;
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event:hover {
 /* background-color: #fafafa;*/
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event .event-first {
  width: 100%;
  float: left;
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event .event-first .smart-calendar-event-date,
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event .event-first .smart-calendar-event-location {
  font-size: 9pt;
  font-weight: bold;
  margin: 0;
  padding: 0;
  color: #000;
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event .event-first .smart-calendar-event-date.smart-calendar-event-location,
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event .event-first .smart-calendar-event-location.smart-calendar-event-location {
  font-style: italic;
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event .event-first .smart-calendar-event-date i,
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event .event-first .smart-calendar-event-location i {
  padding-right: 10px;
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event .smart-calendar-event-title {
  width: 100%;
  float: left;
  font-size: 10.5pt;
  font-weight:bold;
  padding: 0;
  margin: 0;
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event:before,
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event:after {
  content: "";
  display: table;
}
.smart-calendar-day .smart-calendar-day-all .smart-calendar-event:after {
  clear: both;
}
.smart-calendar-day .smart-calendar-day-all:before,
.smart-calendar-day .smart-calendar-day-all:after {
  content: "";
  display: table;
}
.smart-calendar-day .smart-calendar-day-all:after {
  clear: both;
}
.smart-calendar-day:before,
.smart-calendar-day:after {
  content: "";
  display: table;
}
.smart-calendar-day:after {
  clear: both;
}
/*
* Calendar
* ======================
*/
.cal-body {
  display: table;
  width: 100%;
}
.cal-body .cal-row {
  display: table-row;
}
.cal-body .cal-row .cal-cell {
  display: table-cell;
  width: 14.285714286%;
  float: left;
  height: 200px;
  border-bottom: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  padding: 0.5rem;
  font-size: 12px;
  position: relative;
}
.cal-body .cal-row .cal-cell.empty-cell {
  opacity: 0.5;
}
.cal-body .cal-row .cal-cell .cal-event {
  display: block;
  line-height: 18px;
  color: #000;
}
.cal-body .cal-row .cal-cell .cal-day {
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 4px;
}
.cal-body .cal-row .cal-cell .cal-day span {
  display: none;
}
.cal-body .cal-row .cal-cell.today {
  background: #f2f2f2;
}
.cal-body .cal-row .cal-cell.today .cal-day {
  background: #d9d9d9;
}
.cal-body .cal-row .cal-cell .cal-more .cal-more-container {
  position: absolute;
  display: none;
  z-index: 99;
  background: #f7f7f7;
  border: 1px solid #d9d9d9;
  width: 120%;
  padding: 0.5em;
}
.cal-body .cal-row .cal-cell .cal-more .cal-expand {
  display: block;
  background: #d9d9d9;
  color: inherit;
  text-transform: uppercase;
  font-size: 12px;
  padding: 0.5em;
  margin-top: 0.5rem;
}
.cal-body .cal-row .cal-cell:nth-of-type(7n) {
  border-right: 1px solid #d9d9d9;
}
.cal-body .cal-row .cal-cell.empty-cell {
  background: #fcfcfc;
}
.cal-body .cal-row .cal-cell.cal-head {
  height: auto;
  padding: .5em 0;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-bottom: 1px solid #d9d9d9;
  background: none;
}
.cal-heading {
  width: 100%;
  padding: 3rem 0;
  zoom: 1;
}
.cal-heading:before,
.cal-heading:after {
  content: "";
  display: table;
}
.cal-heading:after {
  clear: both;
}
.cal-heading .cal-nav {
  width: 25%;
  float: left;
  font-size: 14px;
}
.cal-heading .cal-nav a {
  color: #000;
  font-weight: bold;
}
.cal-heading .cal-nav.cal-prev {
  text-align: left;
}
.cal-heading .cal-nav.cal-next {
  text-align: right;
}
.cal-heading .cal-month {
  width: 50%;
  float: left;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
}
@media only screen and (max-width:768px) {
  .cal-body {
    display: block;
  }
  .cal-body .cal-row {
    width: 100%;
    display: block;
  }
  .cal-body .cal-row .cal-cell {
    width: 100%;
    display: block;
    height: auto;
    margin-bottom: 1rem;
    border-top: 1px solid #d9d9d9;
  }
  .cal-body .cal-row .cal-cell.no-events,
  .cal-body .cal-row .cal-cell.cal-head {
    display: none;
  }
  .cal-body .cal-row .cal-cell .cal-day span {
    display: inline;
  }
}
/*
* Single
* ======================
*/
.event .smart-calendar-events {
  /*border: 1px solid #d9d9d9;*/
}
.smart-calendar-wrapper .smart-calendar-events {
  text-align: justify;
  line-height:1.5;
}
.smart-calendar-wrapper .smart-calendar-events header h2 {
  font-size: 36px;
  line-height: 48px;
  padding: 0 0 30px;
  margin: 0;
  text-align:left;
}
.smart-calendar-wrapper .smart-calendar-events .attachment-smart-calendar-img {
  max-width: 300px;
  float: right;
  margin: 0 0 2em 2em;
}
.smart-calendar-wrapper .smart-calendar-events-sidebar h3.event-info-title {
 /* font-size: 24px;*/
  font-weight: bold;
  line-height: 36px;
}
.smart-calendar-wrapper .smart-calendar-events-sidebar .event-date,
.smart-calendar-wrapper .smart-calendar-events-sidebar .event-location,
.smart-calendar-wrapper .smart-calendar-events-sidebar .event-category {
  line-height: 36px;
  /*font-size: 18px;*/
  display: block;
}
.smart-calendar-wrapper .smart-calendar-events-sidebar .event-date i,
.smart-calendar-wrapper .smart-calendar-events-sidebar .event-location i,
.smart-calendar-wrapper .smart-calendar-events-sidebar .event-category i {
  padding-right: 10px;
}

/* NEW CSS*/
.event-info{ 
  margin: 0 !important;
  padding: 0 !important;
  float: left;
  width: 100%;
  background: linear-gradient(hsl(0, 0%, 95%), hsl(0, 0%, 95%) 1em, hsl(0, 0%, 100%)) no-repeat scroll 0 0 hsla(0, 0%, 0%, 0);
    border-top: 1px solid hsl(0, 0%, 90%);
 } 
.date-icon {
  border: 1px solid #c2c2c2;
  border-top-color: #ffffff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #525252;
  float: left;
  font-size: 8.7pt;
  font-weight: bold;
  background-color: #f9f9f9;
  background-repeat: no-repeat;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e0e0e0', GradientType=0);
  line-height: 1.2em;
  margin: 0.5em 0.75em !important;
  text-align: center;
  text-shadow: 0 1px 0 #ffffff;
  width: 4em;
}
.date-day {  
  font-size: 2em !important;
  font-weight: bold;
  padding: 0.3em 0.1em !important;
}
.date-month {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background: #617284;
  font-size: 0.9em !important;
  letter-spacing: 0.15em;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.3em;
  text-transform:uppercase;
}
.date-year {
  font-size: 0.9em !important;
  font-weight: bold;
  line-height: 1.2em;
  padding-bottom:5px;
}
.event-title a{
  color: #3a5e96;
  display: block;
  background: #ffffff;
  padding: 5px !important;
  text-decoration: none !important;
  float:left;
  width:12em;
  text-decoration:none;
  font-size:13px;
  line-height:16px;
  border:1px solid #cccccc;
   border-radius: 5px;
   margin-top:7px;
}
.event-title a:hover{ 
  color:#0F3647;
}
.event-date { 
  font-weight:bold;
  color: #3a5e96;
}
.event-back-to-calendar { 
  font-size: 11px;
  line-height: 12px;
  padding: 2px 6px;
  font-family:Arial;
  float:right;
  margin:0em 0.8em 1.5em 0;
  color: #000000 ;
  text-align: center;
  vertical-align: middle;
  background-color: #f5f5f5;
  border: 1px solid #cccccc;
  border-top-color: #d9d9d9;
  border-radius: 4px;
}
.event-back-to-calendar:hover { 
  color: #1a1a1a;
  text-decoration: none;
  background-color: #f2f2f2;
  background-color: #e6e6e6;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#d6d6d6', GradientType=0);
  border-color: #d6d6d6 #d6d6d6 #b0b0b0;
  filter: progid:dximagetransform.microsoft.gradient(enabled=false);
  border: 1px solid #bfbfbf;
  border-top-color: #cccccc;
  border-bottom-color: #a6a6a6;
  transition: all 0.3s;
 }
a {
  text-decoration:none; 
}

.smart-calendar-archive-title { 
   font-size: 3.42857rem;
    line-height: 1;
    margin: 0.3em 0 0.5em;
	border-bottom:2px solid #3A5E96;
	padding-bottom:0.5em;
}
.smart-calendar-event-title{
  cursor: pointer;
  line-height: 1.4em;
  color: #507295;
  text-shadow: 0 1px 0 #ffffff;
  padding: 0 1.9em 0 0.3em;
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  -ms-transition: all 0.15s;
  -o-transition: all 0.15s;
  transition: all 0.15s;
  -webkit-transform: translatez(0);
}
.smart-calendar-event-title:hover { 
  color:#0F3647;
}
.smart-calendar-event-date {
  cursor: pointer;
  line-height: 1.4em;
  color: #717171 !important;
  text-shadow: 0 1px 0 #ffffff;
  padding: 0 1.9em 0 0.3em;
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  -ms-transition: all 0.15s;
  -o-transition: all 0.15s;
  transition: all 0.15s;
  -webkit-transform: translatez(0);
}
.smart-calendar-event-date:hover { 
  color:#0F3647 !important;
}
.smart-calendar-wrapper .smart-calendar-events header h2 {
   color: hsl(217, 44%, 41%);
    font-size: 3.42857rem;
    line-height: 1;
  	border-bottom:2px solid #3A5E96;
}
.smart-calendar-events-sidebar img { 
  padding:10px; 
  max-width:100%;
}
.events .event-back-to-calendar {
	float:right;
	font-size:13px;
	padding:5px 9px;
	font-size:11px;
	margin-top:20px;
}
/* To hide Vikingfestivalstuff */
.hide-arch-button .events .event-back-to-calendar{
	display: none;
}
.event-title span { 
  font-weight:bold;  
  color:#507295 !important;
  font-family:Arial;
}
.event-item { 
  float:left;
  width:100%;
  position: relative;
}
.smart-calendar-upcoming { 
  float:left; 
  width:100%;
 }
.fa-calendar:before { 
	display:none;
}
.smart-calendar-day-title {
    background-color: hsl(0, 0%, 98%);
    background-image: linear-gradient(hsl(0, 0%, 100%), hsl(0, 0%, 100%) 1em, hsl(0, 0%, 92%));
    background-repeat: no-repeat;
    border-color: -moz-use-text-color hsl(0, 0%, 79%) hsl(0, 0%, 79%);
    border-image: none;
    border-radius: 5px;
    border-right: 1px solid hsl(0, 0%, 79%);
    border-style: none solid solid;
    border-width: medium 1px 1px;
    box-shadow: 0 2px 2px hsla(0, 0%, 0%, 0.08);
    box-sizing: border-box;
    color: hsl(0, 0%, 41%);
    float: left;
    font-weight: bold !important;
    line-height: 1.2em;
    margin: 6.5px 0.75em;
    overflow: hidden;
    text-align: center;
    text-shadow: 0 1px 0 hsl(0, 0%, 100%);
    width: 4em;
}
.smart-date-month { 
 background: none repeat scroll 0 0 hsl(211, 15%, 45%);
    border-radius: 4px 4px 0 0;
    color: hsl(0, 0%, 100%);
    display: block;
    font-size: 0.8em !important;
    letter-spacing: 0.2em;
    text-shadow: 0 -1px 0 hsla(0, 0%, 0%, 0.25);
    text-transform: uppercase;
}
.smart-date-day {
    font-weight: bold;
   padding: 0.35em 0 0.22em !important;
	font-size: 2em;
	color:#4d4d4d;
}
.smart-date-year {
    font-size: 0.8em !important;
    line-height: 2em;
	font-weight:normal;
	color:#4d4d4d;
	text-transform:lowercase;   
}
.smart-calender-date { 
	margin:50px 0px 10px 28px;
	font-size: 16px;
}
.smart-calender-date span{
	font-size: 12px;
    line-height: 17px;
    margin-top: 2.145px;
	font-weight:bold;   
	color: hsl(0, 0%, 67%);
	text-transform: uppercase;
}
@media only screen and (max-width: 768px) {
	.smart-calender-date { 
		margin: 50px 0px 10px 0px;
		font-size: 14px;
		text-align: left;
	}
	.smart-calender-date span{
		display: block;
	}
}

.smart-calendar-upcoming .event-item:hover .event-popup {
  display: block;
}
.smart-calendar-upcoming .event-item .event-popup {
  top: 0;
  left: -182px;
  display: none;
  position: absolute;
  z-index: 999;
}
@media only screen and (max-width:768px) {
  .smart-calendar-upcoming .event-item .event-popup {
    display: none!important;
  }
}
.smart-calendar-upcoming .event-item .event-popup:before {
  content: ' ';
  background: #fafafa;
  position: absolute;
  right: 0;
  width: 15px;
  height: 15px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  /* Opera, Chrome, and Safari */
  margin:32% -5px 0 0;
  z-index: 9;
  border: 1px solid #ccc;
}
.smart-calendar-upcoming .event-item .event-popup .inner {
  background: #fafafa;
  position: relative;
  z-index: 10;
  padding: 5px;
  width: 193px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin:-50% 0 0 0;
}
.smart-calendar-upcoming .event-item .event-popup .inner h3.event-popup-title {
  margin: 0;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  border-bottom: medium none;
  font-size: 12px;
  font-weight: bold;
  line-height: 16px;
  padding: 0 0 1px;
}
.smart-calendar-upcoming .event-item .event-popup .inner .event-popup-meta {
  font-size: 10px;
  padding: 3px;
  font-weight:bold;
  letter-spacing:0.1em;
  line-height:16px;
  background: #f2f2f2;
}
.smart-calendar-upcoming .event-item .event-popup .inner .event-popup-thumbnail {
  padding-top: 5px;
}
.smart-calendar-upcoming .event-item .event-popup .inner .event-popup-thumbnail img{
  max-width: 100%;
  height: auto;
  float:left;
}
.smart-calendar-upcoming .event-item .event-popup .inner .event-popup-content {
  padding-top: 0px;
}
.smart-calendar-upcoming .event-item .event-popup .inner .event-popup-content p {
  font-size: 11px;
  line-height:16px;
  margin:0 !important;
  padding:0 !important;
  color:#4d4d4d !important;
}
#secondary .widget{ float:left;}
.smart-avatar{
	background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	max-width:100%;
	float:left;
	margin-right:2%;
}
.smart-avatar img{
    max-height: 300px;
    max-width: 300px;
    height: auto;
    min-height: 0;
    width: 100%;
	padding:9px;
}
.single-events #primary article{
	float:left;
	width:100%;
}
.event-popup-title span{ color:#4d4d4d; letter-spacing:0.1em;}