/**
 * Edinburgh International Book Festival widget styles
 */
/**
 * Base LESS stylesheet for widget - should just import clean components from their own LESS files.
 * See the gruntfile for details of the search path
 *
 * @copyright 2015 inGenerator Ltd
 */
@import 'https://fonts.googleapis.com/css?family=Open+Sans:400,600';
/**
 * Global widget styles
 */
.clearfix:before,
.clearfix:after {
  content: " " !important;
  display: table !important;
}
.clearfix:after {
  clear: both !important;
}
.festivals-widget-EWR837S91L09 {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  color: #222222 !important;
  font-family: Georgia, serif !important;
  font-style: normal !important;
  border-color: #428bca !important;
}
.festivals-widget-EWR837S91L09 a {
  color: #428bca !important;
}
.festivals-widget-EWR837S91L09 > .widget {
  min-height: 350px !important;
  background-color: #ffffff !important;
  border: 1px solid #428bca !important;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
  font-size: 62.5% !important;
  line-height: normal !important;
}
.festivals-widget-EWR837S91L09 > .widget > .widget-header {
  padding: 4px !important;
  padding-left: 138px !important;
  color: #ff7c72 !important;
  background-color: #222222 !important;
  text-align: left !important;
  position: relative !important;
  border-bottom: 1px solid #428bca !important;
}
.festivals-widget-EWR837S91L09 > .widget > .widget-header > .widget-logo {
  width: 130px !important;
  height: auto !important;
  float: left !important;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
  margin-left: -134px !important;
}
.festivals-widget-EWR837S91L09 > .widget > .widget-header > .widget-fest-dates {
  color: #ffffff !important;
  font-size: 1.4em !important;
  font-weight: 400 !important;
  display: block !important;
  padding-left: 4px !important;
  text-align: right !important;
}
.festivals-widget-EWR837S91L09 > .widget > .widget-header .widget-more-info {
  display: block !important;
  position: absolute !important;
  right: 4px !important;
  bottom: 4px !important;
  text-decoration: none !important;
  font-size: 1.3em !important;
  font-weight: 600 !important;
  color: #ff7c72 !important;
}
.festivals-widget-EWR837S91L09 > .widget > .widget-header .widget-more-info:hover {
  color: #ffffff !important;
}
.festivals-widget-EWR837S91L09 > .widget > .widget-body {
  background: #ffffff !important;
  color: #222222 !important;
}
.festivals-widget-EWR837S91L09 > .widget > .widget-footer {
  padding: 4px !important;
  text-align: right !important;
  border-top: 1px solid #428bca !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event {
  display: block !important;
  padding: 4px !important;
  color: #222222 !important;
  text-decoration: none !important;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
  float: left !important;
  width: 100% !important;
  overflow: hidden !important;
  border-bottom: 1px solid #428bca !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event:nth-child(2n+1) {
  clear: left !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event:hover {
  background-color: #dddddd !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event:hover .event-description .find-out-more {
  color: #428bca !important;
  background: linear-gradient(to right, rgba(221, 221, 221, 0), #dddddd 25px) !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .event-title {
  font-size: 1.6em !important;
  padding: 0 !important;
  margin: 0 !important;
  top: -2px !important;
  position: relative !important;
  font-weight: 600 !important;
  line-height: 23px !important;
  color: #333333 !important;
  display: block !important;
  white-space: nowrap !important;
  overflow-x: hidden !important;
  text-overflow: ellipsis !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .event-description {
  color: inherit !important;
  padding-top: 2px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
  position: relative !important;
  overflow: hidden !important;
  height: 38px !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .event-description .find-out-more {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  color: #428bca !important;
  font-weight: 600 !important;
  line-height: 18px !important;
  padding-left: 25px !important;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 25px) !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .lines-3 {
  height: 54px !important;
  box-sizing: content-box !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .event-meta {
  display: block !important;
  white-space: nowrap !important;
  overflow-x: hidden !important;
  text-overflow: ellipsis !important;
  font-weight: normal !important;
  color: inherit !important;
  font-size: 1.2em !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .event-dates {
  color: #333333 !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .event-image-container {
  width: 130px !important;
  float: left !important;
  padding-right: 8px !important;
  box-sizing: content-box;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .event-image {
  background: no-repeat top center !important;
  background-size: cover !important;
  /* pad to the aspect ratio of the image we want. this is percentage of parent element width */
  padding-bottom: 62% !important;
}
/**
 * Medium widget styles
 * - final breakpoints unknown yet
 */
.festivals-widget-EWR837S91L09 > .widget-md .widget-event {
  clear: left !important;
}
.festivals-widget-EWR837S91L09 > .widget-md .widget-event:nth-child(n+4) {
  display: none !important;
}
/**
 * Wide widget styles
 * - final breakpoints unknown yet
 */
.festivals-widget-EWR837S91L09 > .widget-wide .widget-event {
  width: 50% !important;
}
.festivals-widget-EWR837S91L09 > .widget-wide .widget-event:nth-child(n+7) {
  display: none !important;
}
/**
 * Small widget styles
 */
.festivals-widget-EWR837S91L09 {
  height: inherit !important;
}
.festivals-widget-EWR837S91L09 > .widget-sm {
  height: inherit !important;
  overflow: hidden !important;
}
.festivals-widget-EWR837S91L09 > .widget-sm > .widget-body {
  height: inherit !important;
  overflow-y: auto !important;
}
.festivals-widget-EWR837S91L09 > .widget-sm .widget-event:nth-child(n+4) {
  display: none !important;
}
.festivals-widget-EWR837S91L09 > .widget-sm .widget-event .event-title {
  font-size: 1.5em !important;
}
/**
 * Extra Small widget styles
 */
.festivals-widget-EWR837S91L09 {
  height: inherit !important;
  min-width: 285px !important;
}
.festivals-widget-EWR837S91L09 > .widget-xs {
  height: inherit !important;
  overflow: hidden !important;
}
.festivals-widget-EWR837S91L09 > .widget-xs > .widget-body {
  height: inherit !important;
  overflow-y: auto !important;
  padding: 4px 12px !important;
}
.festivals-widget-EWR837S91L09 > .widget-xs .widget-event {
  padding-bottom: 4px !important;
  margin-bottom: 4px !important;
}
.festivals-widget-EWR837S91L09 > .widget-xs .widget-event .event-title {
  white-space: normal !important;
  font-size: 1.5em !important;
}
.festivals-widget-EWR837S91L09 > .widget-xs .widget-event .event-image-container {
  width: 100% !important;
  float: none !important;
  padding-right: 0 !important;
  padding-bottom: 8px !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark {
  background-color: #292929 !important;
  border-color: #ff7c72 !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark > .widget-header {
  color: #ff7c72 !important;
  background-color: #222222 !important;
  border-color: #ff7c72 !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark > .widget-header > .widget-fest-dates {
  color: #ffffff !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark > .widget-header .widget-more-info {
  color: #ff7c72 !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark > .widget-header .widget-more-info:hover {
  color: #ffffff !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark > .widget-body {
  background: #292929 !important;
  color: #dddddd !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark > .widget-footer {
  border-color: #ff7c72 !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark .widget-event {
  color: #dddddd !important;
  border-color: #ff7c72 !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark .widget-event:hover {
  background-color: #1c1c1c !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark .widget-event:hover .event-description .find-out-more {
  color: #ff7c72 !important;
  background: linear-gradient(to right, rgba(28, 28, 28, 0), #1c1c1c 25px) !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark .widget-event .event-title {
  color: #f4f4f4 !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark .widget-event .event-description .find-out-more {
  color: #ff7c72 !important;
  background: linear-gradient(to right, rgba(41, 41, 41, 0), #292929 25px) !important;
}
.festivals-widget-EWR837S91L09 > .widget-dark .widget-event .event-dates {
  color: #f4f4f4 !important;
}
.festivals-widget-EWR837S91L09 > .widget .widget-event .event-title,
.festivals-widget-EWR837S91L09 > .widget .widget-header .widget-more-info {
  font-weight: 500 !important;
}
