.widget-container {
    position: relative;
}
.widget-title {
    text-align: center;
    font-size: 24px;
    margin: 10px 0 15px 0;
    padding: 0 15px;
}
.widget-separator {
    background: #d9d9d9;
    height: 2px;
    margin: 15px 0;
}

.widget-read-more-link {
    font-weight: bold;
    display: block;
    text-align: center;
}

.widget-title-table {
    width: 100%;
}

.widget-directional-control {
    color: #000;
    cursor: pointer;
    display: block;
    position: relative;
}
.widget-directional-control:hover {
    color: #000;
}
.fa-caret-right.widget-directional-control:hover {
    top: -1px;
    left: 1px;
}
.fa-caret-left.widget-directional-control:hover {
    top: -1px;
    left: -1px;
}

/* News widget */
.widget-news-item {
    padding: 0 15px;
}
.widget-news-item .widget-news-title, .widget-video-title, .widget-products-title, .widget-books-title {
    color: #000 !important;
    font-weight: bold;
}
.widget-news-item .widget-news-thumbnail {
	float: right;
	height: 80px;
	width: 120px;
	text-align: right;
}
.widget-news-item .widget-news-thumbnail img {
	max-height: 80px;
	max-width: 115px;
}
.widget-news-item .widget-news-datecomment {
    font-size: 12px;
	clear: both;
}

/* quotes */
#widget-quote-lead {
    padding: 0 15px;
}

/* banners */
div.widget-banner-wrap {
    text-align: center;
    overflow: hidden;
    width: 250px;
    height: 250px;
    margin: 0 auto;
}
div.widget-banner-728-wrap {
    text-align: center;
    overflow: hidden;
    width: 728px;
    height: 90px;
    margin: 0 auto;
    margin-top: 20px;
}
@media (max-width: 991px) {
    div.widget-banner-wrap {
        width: 184px;
        height: 184px;
    }
    div.widget-banner-728-wrap {

    }
}
div.widget-banner-wrap .widget-banner-item, div.widget-banner-728-wrap .widget-banner-item  {
    display: none;
}
div.widget-banner-wrap .widget-banner-item.active, div.widget-banner-728-wrap .widget-banner-item.active {
    display: block;
}
@media (max-width: 991px) {
    div.widget-banner-wrap a img {
        max-width: 184px;
        max-height: 184px;
    }
    div.widget-banner-728-wrap a img {

    }
}

/* event calendar */
.widget-event-calendar .ui-datepicker-inline.ui-datepicker {
    width: 100%;
    font-family: inherit;
}
.widget-event-calendar .ui-widget-header {
    border: none;
    background: none;
    color: inherit;
    font-weight: normal;
}
.widget-event-calendar .ui-icon.ui-icon-circle-triangle-w {
    background: none;
}
.widget-event-calendar .ui-state-hover, .widget-event-calendar .ui-widget-content .ui-state-hover, .widget-event-calendar .ui-widget-header .ui-state-hover, .widget-event-calendar .ui-state-focus, .widget-event-calendar .ui-widget-content .ui-state-focus, .widget-event-calendar .ui-widget-header .ui-state-focus {
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
}
.widget-event-calendar .ui-widget-content {
    border: none;
    background: none;
}
.widget-event-calendar .ui-state-default, .widget-event-calendar .ui-widget-content .ui-state-default, .widget-event-calendar .ui-widget-header .ui-state-default {
    background: none;
    color: #666666;
    text-align: center;
    font-size: 16px;
    font-weight: normal;
    border: none;
}
.widget-event-calendar .ui-state-default.ui-state-hover {
    color: #000;
    border: none;
    
}
/*.widget-event-calendar .ui-state-highlight, .widget-event-calendar .ui-widget-content .ui-state-highlight, .widget-event-calendar .ui-widget-header .ui-state-highlight {
    border: none;
    font-weight: bold;
    color: #fff;
}*/
.widget-event-calendar .ui-datepicker td span, .widget-event-calendar .ui-datepicker td a {
    /*padding: 0px;*/
    border: none;
}
.widget-event-calendar .ui-datepicker td {
    background: #fff;
    border-right: #f2f2f2 1px solid;
    border-bottom: #f2f2f2 1px solid;
}
.widget-event-calendar .ui-datepicker tr td:last-child {
    border-right: none;
}
.widget-event-calendar .ui-state-disabled, .widget-event-calendar .ui-widget-content .ui-state-disabled, .widget-event-calendar .ui-widget-header .ui-state-disabled {
    opacity: 1;
    filter: Alpha(Opacity=100);
}
.widget-event-calendar .ui-datepicker th {
    padding: .2em;
    border-right: #f2f2f2 1px solid;
    border-bottom: #f2f2f2 1px solid;
    background: #fff;
    font-weight: normal;
    color: #d5d5d5;
}
.widget-event-calendar .ui-datepicker tr th:last-child {
    border-right: none;
}
.widget-event-calendar .ui-widget-header .ui-icon {
    background: none;
}

.widget-event-calendar .ui-icon.ui-icon-circle-triangle-e {
    background-image: url('../img/arrow-right.png');
    background-repeat: no-repeat;
}
.widget-event-calendar .ui-icon.ui-icon-circle-triangle-w {
    background-image: url('../img/arrow-left.png');
    background-repeat: no-repeat;
}
.widget-event-calendar .ui-datepicker-today a {
    color: #666666;
    font-weight: bold !important;
}

.widget-event-calendar .specialDate {
    background-color: #ff7514 !important;
    border: none;
}

.widget-event-calendar .specialDate a {
    color: #fff !important;
    font-weight: bold !important;
}

/* event bubble */
#widget-event-bubble {
    display: none;
    background: #ff7514;
    width: 250px;
    position: absolute;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 2px 3px 1px rgba(0,0,0,.2);
}

#widget-event-bubble .loader-wrap {
    padding: 10px;
    text-align: center;
}

#widget-event-bubble i {
    color: #FFF;
}

#widget-event-bubble-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0; height: 0;
  border-top: 8px solid #ff7514;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}

#widget-event-bubble .widget-event-bubble-item {
    padding: 15px;
    border-bottom: #e64d00 2px solid;
}
#widget-event-bubble .widget-event-bubble-item:last-child {
    border-bottom: none;
}

#widget-event-bubble .widget-event-bubble-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

#widget-event-bubble .widget-event-bubble-datecomment {
    font-size: 12px;
    color: #fff;
}

/* widget video */
#widget-video-slider {
    width: 100%;
    height: 305px;
    overflow: hidden;
    border-bottom: 2px solid #d9d9d9;
}

#widget-video-slider ul {
    height: 305px;
    list-style: none;
    padding: 0 15px;
}

#widget-video-slider ul li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 305px;
}

.widget-video-image {
    margin-top: 10px;
}
@media (max-width: 991px) {
    .widget-video-image img {
        max-width: 184px;
        max-height: 184px;
    }
}


/* widget products */
#widget-products-slider {
    width: 100%;
    height: 410px;
    overflow: hidden;
    border-bottom: 2px solid #d9d9d9;
}

#widget-products-slider ul {
    height: 375px;
    list-style: none;
    padding: 0 15px;
}

#widget-products-slider ul li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 410px;
}
#widget-products-slider ul li img {
    /*display: block;*/
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
}
@media (max-width: 991px) {
    #widget-products-slider ul li img {
        max-width: 184px;
        max-height: 184px;
    }
}


.widget-products-image {
    margin-top: 10px;
    background-color: #ffffff;
    text-align: center;
}

.widget-products-read {

    text-align: center;
    padding-top: 10px;
    font-size: 16px;
    font-weight: bold;
}.widget-products-buy {
     padding-top: 21px;
     text-align: center;;
}

/* widget books */
#widget-books-slider {
    width: 100%;
    height: 410px;
    overflow: hidden;
    border-bottom: 2px solid #d9d9d9;
}
@media (max-width: 767px) {
    #widget-books-slider {
        border-bottom: 0;
    }
}

#widget-books-slider ul {
    height: 375px;
    list-style: none;
    padding: 0 15px;
}

#widget-books-slider ul li img {
    /*display: block;*/
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
}
@media (max-width: 991px) {
    #widget-books-slider ul li img {
        max-width: 184px;
        max-height: 184px;
    }
}

.widget-books-image {
    margin-top: 10px;
    background-color: #ffffff;
    text-align: center;
}

#widget-books-slider ul li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 410px;
}


.widget-books-read {
    text-align: center;
    padding-top: 10px;
    font-size: 16px;
    font-weight: bold;
}.widget-books-buy {
     padding-top: 21px;
     text-align: center;;
}

@media screen and (max-width: 769px) {
    div.widget-banner-728-wrap {
        width: auto;
    }
}

img.banner-header-mobile {
    display: none;
}

@media screen and (max-width: 499px) {
    img.banner-header-mobile {
        display: block;
    }
    img.banner-header-desktop {
        display: none;
    }
    div.widget-banner-728-wrap {
        width: 300px;
        height: 200px;
    }
}
