<style><!-- [et_pb_line_break_holder] -->/**************Advent Calendar 2017 - 21***************/<!-- [et_pb_line_break_holder] -->/*******Combined Slider & Blurbs With Navigation*******/<!-- [et_pb_line_break_holder] -->/*********************By Divi Soup*********************/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Make the blurbs the same height regardless of content*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21 .et_pb_column {<!-- [et_pb_line_break_holder] --> display: -webkit-box;<!-- [et_pb_line_break_holder] --> display: -ms-flexbox;<!-- [et_pb_line_break_holder] --> display: flex;<!-- [et_pb_line_break_holder] --> -webkit-box-orient: vertical;<!-- [et_pb_line_break_holder] --> -webkit-box-direction: normal;<!-- [et_pb_line_break_holder] --> -ms-flex-direction: column;<!-- [et_pb_line_break_holder] --> flex-direction: column;<!-- [et_pb_line_break_holder] --> -webkit-box-pack: justify;<!-- [et_pb_line_break_holder] --> -ms-flex-pack: justify;<!-- [et_pb_line_break_holder] --> justify-content: space-between;<!-- [et_pb_line_break_holder] --> -webkit-transition: all .5s ease-in-out;<!-- [et_pb_line_break_holder] --> transition: all .5s ease-in-out;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Set the slider height*/ <!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21-slider .et_pb_slide {<!-- [et_pb_line_break_holder] --> height: 75vh;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Position the slide description and remove animation*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21-slider .et_pb_slide_description {<!-- [et_pb_line_break_holder] --> margin-top: -8em;<!-- [et_pb_line_break_holder] --> -webkit-animation-name: none;<!-- [et_pb_line_break_holder] --> animation-name: none;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Size and position the controls container*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21-slider .et-pb-controllers {<!-- [et_pb_line_break_holder] --> width: 80%;<!-- [et_pb_line_break_holder] --> max-width: 1080px;<!-- [et_pb_line_break_holder] --> right: 0 !important;<!-- [et_pb_line_break_holder] --> margin: 0 auto;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Size the controllers to match the blurbs*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21-slider .et-pb-controllers a {<!-- [et_pb_line_break_holder] --> width: 30%;<!-- [et_pb_line_break_holder] --> height: 12px;<!-- [et_pb_line_break_holder] --> margin-right: 3%;<!-- [et_pb_line_break_holder] --> border-radius: 0;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Remove margin from the last controller*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21-slider .et-pb-controllers a:last-of-type {<!-- [et_pb_line_break_holder] --> margin-right: 0;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Position the controllers on desktop*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->@media all and (min-width: 981px) {<!-- [et_pb_line_break_holder] --> .ds-advent-21-slider .et-pb-controllers {<!-- [et_pb_line_break_holder] --> bottom: -12px;<!-- [et_pb_line_break_holder] --> }<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Position the blurbs*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21-blurb {<!-- [et_pb_line_break_holder] --> position: relative;<!-- [et_pb_line_break_holder] --> z-index: 2;<!-- [et_pb_line_break_holder] --> -webkit-transition: all .5s ease-in-out;<!-- [et_pb_line_break_holder] --> transition: all .5s ease-in-out;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Add padding to the blurb title*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21-blurb .et_pb_module_header {<!-- [et_pb_line_break_holder] --> padding: 0 30px 12px;<!-- [et_pb_line_break_holder] --> -webkit-transition: all .5s ease-in-out;<!-- [et_pb_line_break_holder] --> transition: all .5s ease-in-out;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Add padding to the blurb description*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21-blurb .et_pb_blurb_description {<!-- [et_pb_line_break_holder] --> padding: 0 30px 30px;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Change the header and column background colour on hover*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21 .et_pb_column:hover .et_pb_module_header,<!-- [et_pb_line_break_holder] -->.ds-advent-21 .et_pb_column:hover {<!-- [et_pb_line_break_holder] --> background: #3A3933;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Change the text colour on hover*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21 .et_pb_column:hover .et_pb_blurb_description {<!-- [et_pb_line_break_holder] --> color: #fff;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/*Add left margin to the button*/<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->.ds-advent-21 .et_pb_button_module_wrapper {<!-- [et_pb_line_break_holder] --> margin-left: 30px;<!-- [et_pb_line_break_holder] -->}<!-- [et_pb_line_break_holder] --><!-- [et_pb_line_break_holder] -->/**************Advent Calendar 2017 - 21***************/<!-- [et_pb_line_break_holder] -->/****End - Combined Slider & Blurbs With Navigation****/<!-- [et_pb_line_break_holder] -->/*********************By Divi Soup*********************/<!-- [et_pb_line_break_holder] --></style>
<script><!-- [et_pb_line_break_holder] -->//Move title above the image<!-- [et_pb_line_break_holder] -->(function ($) {<!-- [et_pb_line_break_holder] --> $(document).ready(function () {<!-- [et_pb_line_break_holder] --> $(document).bind('ready ajaxComplete', function () {<!-- [et_pb_line_break_holder] --> $(".ds-advent-21-blurb").each(function () {<!-- [et_pb_line_break_holder] --> $(".et_pb_module_header", this).insertBefore($(".et_pb_main_blurb_image", this));<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] --> });<!-- [et_pb_line_break_holder] -->})(jQuery);<!-- [et_pb_line_break_holder] --></script>