/* ------------------------------------------------------------------------
 * Bang2Joom K2 Calendar for Joomla 2.5+
 * ------------------------------------------------------------------------
 * Copyright (C) 2011-2012 Bang2Joom. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: Bang2Joom
 * Websites: http://www.bang2joom.com
  ------------------------------------------------------------------------
 */

/* Calendar Core
----------------*/

.gldp-default {
    position: absolute;
    font-family: inherit;
    display: initial!important;
}

/* Core style for every cell */
.gldp-default .core {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
    float: left;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: #2f343b;
    background: #ffffff;
    /*background: #fafafa;*/
}

/* Cell border */
.gldp-default .border {
    border: 0 solid #959595;
}

/* Month/Year text */
.gldp-default .monyear span {
    margin: 0 5px 0 5px;
    font-size: 16px;
    font-weight: bold;
}

/* Month/Year selectbox */
.b2j_k2_calendar_container_module .b2j_month_select, .b2j_k2_calendar_container_module .b2j_year_select {
    width: 50%;
}

/* Weekdays */
.gldp-default .mon,
.gldp-default .tue,
.gldp-default .wed,
.gldp-default .thu,
.gldp-default .fri {
    font-weight: bold;
}

/* Weekend days */
.gldp-default .sat,
.gldp-default .sun {
    color: #3858a8;
    font-weight: bold;
}

/* Item count */
.b2j_k2_calendar_container_module .counts {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px;
    border-left: 1px solid #959595;
    border-bottom: 1px solid #959595;
}

/* Hover */
.gldp-default .mon:hover,
.gldp-default .tue:hover,
.gldp-default .wed:hover,
.gldp-default .thu:hover,
.gldp-default .fri:hover,
.gldp-default .sat:hover,
.gldp-default .sun:hover {
    color: #fff;
    background: #fcfff4;
    background: -moz-linear-gradient(top, #888888 0%, #656666 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #888888), color-stop(100%, #656666));
    background: -webkit-linear-gradient(top, #888888 0%, #656666 100%);
    background: -o-linear-gradient(top, #888888 0%, #656666 100%);
    background: -ms-linear-gradient(top, #888888 0%, #656666 100%);
    background: linear-gradient(to bottom, #888888 0%, #656666 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    transition: all 0.2s;
    -moz-transition: all 0.2s; /* Firefox 4 */
    -webkit-transition: all 0.2s; /* Safari and Chrome */
    -o-transition: all 0.2s; /* Opera */
}

/* Non-Selectable days */
.gldp-default .noday {
    color: #acacac;
    font-weight: normal;
    background: #d7d7d7;
    cursor: default;
}

/* Selectable days that are outside of current month being shown */
.gldp-default .outday {
    color: #b0b0b0;
    cursor: default;
}

/* Days of the week */
.gldp-default .dow {
    color: #fff;
    font-weight: bold;
    background: #1a1d21;
    background: -moz-linear-gradient(top, #444b55 0%, #1a1d21 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #444b55), color-stop(100%, #1a1d21));
    background: -webkit-linear-gradient(top, #444b55 0%, #1a1d21 100%);
    background: -o-linear-gradient(top, #444b55 0%, #1a1d21 100%);
    background: -ms-linear-gradient(top, #444b55 0%, #1a1d21 100%);
    background: linear-gradient(to bottom, #444b55 0%, #1a1d21 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

/* Currently selected day */
.gldp-default .selected:not(.outday) {
    color: #fff;
    background: #fcfff4;
    background: -moz-linear-gradient(top, #888888 0%, #656666 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #888888), color-stop(100%, #656666));
    background: -webkit-linear-gradient(top, #888888 0%, #656666 100%);
    background: -o-linear-gradient(top, #888888 0%, #656666 100%);
    background: -ms-linear-gradient(top, #888888 0%, #656666 100%);
    background: linear-gradient(to bottom, #888888 0%, #656666 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

/* Today */
.gldp-default .today:not(.outday) {
    color: #fff;
    font-weight: bold;
    background: #1a1d21;
    background: -moz-linear-gradient(top, #444b55 0%, #1a1d21 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #444b55), color-stop(100%, #1a1d21));
    background: -webkit-linear-gradient(top, #444b55 0%, #1a1d21 100%);
    background: -o-linear-gradient(top, #444b55 0%, #1a1d21 100%);
    background: -ms-linear-gradient(top, #444b55 0%, #1a1d21 100%);
    background: linear-gradient(to bottom, #444b55 0%, #1a1d21 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

/* Module blocks css */
.b2j_k2_calendar_container_module .b2j_clearfix {
    display: block !important;
    clear: both !important;
    width: 100% !important;
    height: 0 !important;
}

.b2j_k2_calendar_container_module {
    position: relative;
    width: 100%;
    z-index: 1;
}

.b2j_calendar_input {
    position: absolute;
    left: -9999px;
}

.b2j_k2_calendar_container_module .loading {
    background-color: #ffffff;
    position: absolute;
    top: 0;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 1200;
}

.b2j_k2_calendar_container_module .loading:after {
    position: absolute;
    content: ' ';
    display: block;
    width: 48px;
    height: 48px;
    left: 50%;
    top: 50%;
    margin-top: -24px;
    margin-left: -24px;
    background: url(../images/loading.gif) no-repeat !important;
}

/* Item List View */
.gldp-default .item_list_view {
    height: 100%;
    border: 1px solid #959595;
    /* background:#D7D7D7; */
    background: #FFFFFF;
    overflow: hidden;
}

.gldp-default .item_list_view_header {
    background: #FAFAFA;
    border-bottom: 1px solid #959595;
    position: relative;
}

.gldp-default .item_list_view_date {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #2F343B;
}

.b2j_k2_calendar_container_module .item_list_view .flleft {
    float: left;
}

.b2j_k2_calendar_container_module .item_list_view .flright {
    float: right;
}

.b2j_k2_calendar_container_module .item_list_view .title_view a {
    text-decoration: none;
}

.gldp-default .title_view {
    font-weight: bold;
}

.b2j_k2_calendar_container_module .item_list_view ul {
    list-style: none !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.b2j_k2_calendar_container_module .item_list_view ul li {
    line-height: normal !important;
    display: block;
    position: relative !important;
    border: 1px solid #959595;
    margin: 10px;
    padding: 10px;
    background: #FAFAFA;
}

.b2j_k2_calendar_container_module .item_list_view ul li .title_view, .b2j_k2_calendar_container_module .item_list_view ul li .date_view, .b2j_k2_calendar_container_module .item_list_view ul li .introtext_view {
    margin: 6px 0;
}

.gldp-default .date_view {
    font-weight: bold;
    background: url("../images/clock.png") no-repeat scroll 0 0 transparent;
    display: block;
    font-style: normal;
    height: 15px;
    line-height: 15px;
    padding: 0 0 0 24px;
}

/* Prev/Next arrows, close button */
.gldp-default .b2j_prev {
    background-size: 25%;
    background: #fafafa url(../images/prev.png) no-repeat center center;
}

.gldp-default .b2j_next {
    background-size: 25%;
    background: #fafafa url(../images/next.png) no-repeat center center;
}

.gldp-default .b2j_prev:hover {
    background-size: 25%;
    background: #fafafa url(../images/prev_hover.png) no-repeat center center;
}

.gldp-default .b2j_next:hover {
    background-size: 25%;
    background: #fafafa url(../images/next_hover.png) no-repeat center center;
}

.gldp-default .item_list_view_close {
    position: absolute;
    width: 18px;
    height: 18px;
    top: 50%;
    margin-top: -8px;
    right: 18px;
    background: url(../images/close_button.png) center center no-repeat;
    background-size: 100%;
}

.gldp-default .item_list_view_close:hover {
    background: url(../images/close_button_hover.png) center center no-repeat;
    top: 50%;
    cursor: pointer;
}

/* Scrollbar */
.item_list_view_footer {
    clear: both;
}

.item_list_view_footer .viewport {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.item_list_view_footer .overview {
    width: 100%;
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
}

.item_list_view_footer .scrollbar {
    position: relative;
    float: right;
    width: 18px;
}

.item_list_view_footer .track {
    /*background: #959595;*/
    background: #3299E2;
    height: 100%;
    width: 1px;
    position: relative;
    left: 4px;
}

.item_list_view_footer .thumb {
    /*background-color: #2F343B;*/
    background-color: #3299E2;
    height: 20px;
    width: 9px;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 0;
    border-radius: 13px;
    left: -4px;
}

.item_list_view_footer .thumb .end {
    overflow: hidden;
    height: 5px;
    width: 13px;
    border-radius: 13px;
}

.item_list_view_footer .disable {
    display: none;
}

.noSelect {
    user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}
