/* 
 * Bootstrap year calendar v1.1.0
 * Created by Paul David-Sivelle
 * Licensed under the Apache License, Version 2.0
 */

/*------------------------------------*\
YEAR CALENDAR STYLEES
\*------------------------------------*/

@media only screen {

    .page-template-global-calendar-template .popover {
        left: -15px !important;
    }

    /*customising calendar mk*/
    .page-template-global-calendar-template .calheader .calheadcol{
        display: inline-block;
        float:left;
    }
    .calCon {
        margin: 0 auto;
    }

    .event-location img{
        margin-top: -2px;
    }

    .float-right {
        float: right;
    }

    .calCon th {
        padding-bottom: 20px;
    }

    .calCon td, .calCon th {
        padding: 15px 15px 15px 15px;
        /*border-bottom: 1px solid #ccc;*/
    }

    .gcalCon {
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }

    .float-right {
        float: right;
    }

    .calCon th {
        padding-bottom: 20px;
    }

    .calCon td, .calCon th {
        padding: 15px 15px 15px 15px;
        /*border-bottom: 1px solid #ccc;*/
    }

    /*end calendar customising*/
    .goldenln {
        border-top: 1px solid #bba050;
    }
    .dottedGlb {
        background: url("https://www.lmax.com/wp-content/themes/lmax/img/patterns/retina-dot.png") 0 bottom repeat-x;
        height: 10px;
        border: none;
        background-size: 5px 5px;
    }

    .fkey {
        /*margin: 0 auto;*/
        display: block;
        height: 30px;
        /*display: table-cell;*/
        vertical-align: middle;
text-align: center;
        position: relative;
    }

.detailedViewTbl td{
    word-break: keep-all;
}
 .bckcln{

     margin-top: 20px;
}
.insname{
    color: #b1a076 !important;
    font-family: "Encode Sans Medium",Helvetica,Arial,sans-serif;
    font-size: 16px;
}


    .filterby {

        display: inline-block;
    }

    .day {
        background: #e9e9e9;
    }

    .calTitle {
        position: relative;
    }

    .gcalCon  h2 {

        background: none;
        margin:-6px 0 0 0;
        padding:0;
    }

    .op_calendar .fade {
        opacity: 1;
    }

    #filterform {
        display: inline-block;
        /*width: 50%;*/
        text-align: right;
    }
    #filterform select {

        background: #e9e9e9;
        max-width: 110px;
        display: inline-block;
        border: none;
    }
    .page-template-global-calendar-template #filterform select {
        max-width: 140px;
    }


    .legends {
        display: inline-block;
    }

    .legends .key {
        display: inline-block;
        height: 30px;
        display: table-cell;
        vertical-align: middle;
        /*padding-right: 35px;*/
        /*padding-left: 20px;*/
        position: relative;

    }

    .legends .key:first-child {

    }
.formwrapper   .legends {
    display: none;
    margin: 0 auto;
}
.keyinfo  .legends {
    /*border: 1px solid blue;*/
    float: right;
}
    .legends .kchng {
        display: inline-block;
        width: 30px;
        height: 20px;
  background: #bba050;
        vertical-align: bottom
    }

    /*.legends .key.kchng:before {*/
    /*    background: #bba050;*/
    /*}*/

    .legends .key.kcls:before {
        background: #c60037;
    }

    .gcalCon .legends .key.kchng:before {
        /*background: #be0a24; red */
        background: #1B71C0;
    }

    .gcalCon .legends .key.kcls:before {
        background: #c60037;
    }

    .closepopover {
        background: #000;
        border-radius: 30px;
        position: absolute;
        top: -10px;
        right: -10px;
        padding: 6px;
    }

    .popover-content, .popover-body {
        font-size: 13px;
        padding: 20px;
        background: #e9e9e9;
        width: 225px;
    }

    .calheader {
        margin: 20px 0 20px 0;
    }

    .event-date {
        color: #000;
        font-weight: bold;
        font-size: 15px;
    }

    .event-instruments li:last-child,
    .event-location li:last-child {
        /*display: none;*/
    }

    .inslst:hover{
     /*text-decoration: underline;*/
    }
    .inslst {
        /*cursor: pointer;*/
     color: #333;
     font-size: 13px;

    }


    .event-tooltip-content .type {
        width: 11px;
        height: 11px;
        display: inline-block;
        position: absolute;
        top: 5px;
        left: -15px;
    }

    .evtt {
        list-style: none;
        padding-left: 15px;

    }

    .evtt li {
        position: relative;
    }


    .gcalCon .calheader{

        margin: 0;
    }


    .gcalCon .filtercol {
        padding: 0px;

    }
    .filtercol {
              padding: 10px 0 0px 0;
    }

}

@media screen and (min-width: 1426px) {
    .calendar .month-container:not(:nth-child(4n)) {
        margin-right: 8%;

    }
}
@media screen and (max-width: 1425px) and (min-width: 1010px)  {
    .calendar .month-container {
        width: 29% !important;
    }
    .calendar .month-container:not(:nth-child(3n)) {
        margin-right: 6%;

    }
    .filtercol {
        padding-top: 20px;
        padding-bottom: 10px;
        text-align: right;
    }
    #filterform{
        margin-bottom:10px;

        width: 100%;

    }
    .calTitle h2 {
        text-align: center;
    }
    #filterform {
        text-align: left;
    }
}
@media screen and (max-width: 1009px) and (min-width: 768px) {
    .page-template-global-calendar-template .calheader .keyinfo .legends {
        display: inline-block;
    }
    .page-template-global-calendar-template .calheader .keyinfo {
        text-align: right;
        /*float:none;*/
        /*border: 1px solid red;*/
    }
    .page-template-global-calendar-template .normalhours .key {
        padding-right:5px;

    }
    .page-template-global-calendar-template #filterform select {
        max-width: 32%;
    }

    .calTitle h2 {
        text-align: center;
    }

    .calendar .month-container {
        width: 48% !important;
    }
    .calendar .month-container:not(:nth-child(2n)) {
        margin-right: 4%;
    }
    .filtercol {
        padding-top: 20px;
        padding-bottom: 10px;
        text-align: left;
    }
    #filterform{
        width: 100%;
    }
    #filterform div, #filterform select{
        /*display: block;*/
        width: 100%;
        max-width:100%;
        margin-bottom: 10px;
        padding: 7px;
    }
    .fkey{
        margin: 0 auto;
        display: inline;
        text-align: center;
    }
    #filterform{
        text-align: left;
    }
    .calheader{
        text-align: center;
    }

    .formwrapper{
        /*height:120px;*/
    }

}
@media screen and (max-width: 767px) {

    .page-template-global-calendar-template .calheader .keyinfo .legends {
        display: inline-block;
    }
    .page-template-global-calendar-template .calheader .keyinfo {
        text-align: right;
        /*float:none;*/
        /*border: 1px solid red;*/
    }
    .page-template-global-calendar-template .normalhours .key {
        padding-right:5px;

    }
    .page-template-global-calendar-template #filterform select {
        max-width: 31%;
        display: inline-block;
        float:left;
    }

    .page-template-global-calendar-template .calheadcol{
/*background: red;*/
    }
    .calendar .month-container {
        width: 100% !important;
    }
    .gcalCon .calTitle h2 {
        margin-top: 50px;
        padding: 0;
        text-align: center;
}
    .calTitle h2 {
        text-align: center;
    }
    #filterform{
        width: 100%;
        text-align: center;
    }

    .fkey {
        width: 100%;
        display: inline;
    }

    #filterform{
        width: 100%;
    }
    #filterform div, #filterform select{
        display: block;
        width: 100%;
        max-width:100%;
        margin-bottom: 10px;
        padding: 7px;
    }
    #filterform select{
        margin-bottom:10px;
        margin-right:1%;
    }
    .calendar .months-container {
        text-align:center;
    }
   .key{
        font-size: 12px;
    }
    .legends .key.kchng:before {
        right: -34px;
    }
    .formwrapper{
        /*height:120px;*/
    }
}


/*------------------------------------*\
YEAR CALENDAR STYLEES
\*------------------------------------*/


.calendar {
    padding: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    direction: ltr;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.calendar.calendar-rtl {
    direction: rtl
}

.calendar.calendar-rtl table tr td span {
    float: right
}

.calendar .month {
    width: 100%;
}

.calendar table {

}

.calendar table td,
.calendar table th {
    text-align: center;
    width: 20px;
    height: 20px;
    border: none;
    padding: 4px 5px;
    font-size: 12px
}

.calendar .calendar-header {
    width: 100%;
    margin-bottom: 20px;
    display: none;
}

.calendar .calendar-header table {
    width: 100%
}

.calendar .calendar-header table th {
    font-size: 22px;
    padding: 5px 10px
}

.calendar .calendar-header table th:hover {
    background: #eee;
    cursor: pointer
}

.calendar .calendar-header table th.disabled,
.calendar .calendar-header table th.disabled:hover {
    background: 0 0;
    cursor: default;
    color: #fff
}

.calendar .calendar-header table th.next,
.calendar .calendar-header table th.prev {
    width: 20px
}

.calendar .year-title {
    font-weight: 700;
    text-align: center;
    height: 20px;
    width: auto
}

.calendar .year-neighbor {
    color: #aaa
}

.calendar .year-neighbor2,
.calendar table.month tr td.disabled,
.calendar table.month tr td.disabled:hover {
    color: #ddd
}

.calendar .months-container {
    width: 100%;
    /*display: none*/
}

.calendar .month-container {
    width: 19%;
    display: inline-block;
    min-width: 180px;
    text-align: center;
    height: 250px;

}

.calendar .month-container {

    margin-bottom: 0px;
}



.calendar table.month th.month-title {
    font-size: 24px;
    padding-bottom: 5px;
    font-weight: normal;
    text-transform: uppercase;
}

.calendar table.month th.day-header {
    font-size: 14px
}

.calendar table.month tr td,
.calendar table.month tr th {
    padding: 0
}

.calendar table.month tr td {
    border: 3px solid #fff;
}

.calendar table.month td.week-number {
    cursor: default;
    font-weight: 700;
    border-right: 1px solid #eee;
    padding: 5px
}

.calendar .round-left {
    -webkit-border-radius: 8px 0 0 8px;
    -moz-border-radius: 8px 0 0 8px;
    border-radius: 8px 0 0 8px
}

.calendar .round-right {
    webkit-border-radius: 0 8px 8px 0;
    -moz-border-radius: 0 8px 8px 0;
    border-radius: 0 8px 8px 0
}

.calendar table.month tr td .day-content {

    padding: 5px 6px
}

.table-striped .calendar table.month tr td,
.table-striped .calendar table.month tr th {
    background-color: transparent
}

.calendar table.month td.day .day-content:hover {
    background: rgba(0, 0, 0, .2);
    cursor: pointer
}

.calendar table.month td.day.disabled .day-content:hover,
.calendar table.month tr td.new,
.calendar table.month tr td.new:hover,
.calendar table.month tr td.old,
.calendar table.month tr td.old:hover {
    background: 0 0;
    cursor: default
}

.calendar table.month tr td.range .day-content {
    background: rgba(0, 0, 0, .2);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0
}

.calendar table.month tr td.range.range-start .day-content {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px
}

.calendar table.month tr td.range.range-end .day-content {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.calendar-context-menu,
.calendar-context-menu .submenu {
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    position: absolute;
    display: none
}

.calendar-context-menu .item {
    padding: 5px 10px;
    cursor: pointer;
    display: table;
    width: 100%
}

.calendar-context-menu .item:hover {
    background: #eee
}

.calendar-context-menu .item .content {
    display: table-cell
}

.calendar-context-menu .item span {
    display: table-cell;
    padding-left: 10px;
    text-align: right
}

.calendar-context-menu .item span:last-child {
    display: none
}

.calendar-context-menu .submenu {
    left: 100%;
    margin-top: -6px
}

.calendar-context-menu .item:hover > .submenu {
    display: block
}