/**
 * style.css
 *
 * @author Martin Ludvik <matolud@gmail.com>
 * @copyright Copyright &copy; 2013 by Martin Ludvik
 * @license http://opensource.org/licenses/MIT MIT license
÷*/

/*bg-types*/
.cal-link.bgtype-training{background: #6aa5c6;}

/*Global calendar views*/
.e-calendar-view { width: 100%;    border: none;border-radius:0px;background:#fff;;font-weight: normal}
.e-calendar-view thead tr.month-year-row {border: 1px solid #293346;background:#4e5d78 ;}
.e-calendar-view thead tr.month-year-row th{border: none;background:transparent;color: #fff;text-align:center;}
.e-calendar-view .navigation-link { font-size: 19px;color:#fff;text-decoration: none;}
.e-calendar-view .calendar-select{width: auto;     color: #fff; background: transparent;height: 1.8em;font-size: 1.1em; padding: 0 0 0 .2em;margin:5px 0px;font-weight: normal; border:none;color: #fff;}

.e-calendar-view .calendar-select:focus{outline:none}
.e-calendar-view .calendar-select option{color:#4e5d78;border:none;outline:none}

.e-calendar-view td{position: relative;width:13%!Important;height:40px;font-size:1em;font-weight: normal;text-align:center;margin:0px;border: 1px solid #293346;}

.e-calendar-view td.relevant{background: transparent;}
.e-calendar-view td.not-relevant{background: #e8e8e8!Important; }
.e-calendar-view td.not-relevant.sat,
.e-calendar-view td.not-relevant.sun {background:#f5f5f5;}
.e-calendar-view td.current {background:#293346;color:#fff}
.e-calendar-view td a{color:#fff;background:#aaa; padding:30% 0;display:block;text-decoration:none;margin:0px;width:100%;}
.e-calendar-view td.relevant:hover,
.e-calendar-view td.not-relevant:hover,
.e-calendar-view td:hover {background-color:#eee}


.e-calendar-view tr.weekdays-row{border:1px solid #293346;display:none}


.e-calendar-view h3 a {color:#000;text-decoration: none;}
.e-calendar-view h2 b {color:#7a002a}





.e-calendar-view .events{margin-top:20px;min-height:80px;height:auto;padding:3px}
.e-calendar-view .events a{position: relative;;background:transparent!Important; margin-bottom:5px;border: none!Important;padding: 0;text-decoration: none;}
.e-calendar-view .events a img{border-radius: 5px;}

.event-box { display: block; width: 100%; min-height: 80px;  margin:20px 0px;    border: 1px solid #293346;overflow:hidden;}
.event-box .date-publised{top:0;float: left;margin: 5px 10px 0px 5px;}
.event-box img{margin:5px 0 5px 0!Important;border-radius:5px;}
.date-publised{float: right;margin-top: -12px;;height:42px;width:50px;background:#fff;border:1px solid #293346;box-shadow:1px 1px 1px #aaa; border-radius:5px;padding:2px;text-align:center}
.date-publised.RB{position:absolute;right: -7px;bottom: -10px;}
.date-publised.LT{position:absolute;left: -7px;top: -10px;}
.date-publised.left{display:block;float:left;    margin-right:4px;}
.date-publised .month{background:#7a002a;font-size:.75em;font-weight:bold;display: block;margin: -2px -2px 4px -2px;color:#fff}
.date-publised .day{;font-size:1.5em;padding:5px 0px}


.date-publised.event { background: #F4E9C9;}



.events .e-calendar-view .eventday{ height:15px;width:15px;z-index:9999;   position: absolute;top: 0; right: 0;}
.events .e-calendar-view .eventday a{position: relative!Important;padding:0px;border:none}




.showEventList {position:relative}
.e-calendar-view .opened{background-color:#666666!Important;}
.e-calendar-view .opened a {color:#fff;}
.e-calendar-view .opened td.relevant:hover {background-color:#666666!Important}
.eventcontainer {position:absolute;background:#666666;;z-index:1;min-width: 155px;}
.eventcontainer ul {list-style: none;text-align:left;}
.eventcontainer li a {color:#fff}
.eventcontainer li a:hover {color:#fff;background:#828282}

.e-calendar-view div.dayinfo{display:none;z-index:100;position:absolute;;width:300px;height:auto;background:#fff;border:1px solid #ccc;box-shadow:3px 3px 7px #444} 
div.dayinfo.LT{left:0;top:40px;}
div.dayinfo.CT{left:-90%;top:40px}
div.dayinfo.RT{right:0;top:40px}
div.dayinfo.LB{left:0;bottom:40px}
div.dayinfo.CB{left:-200%;bottom:40px}
div.dayinfo.RB{right:0;bottom:40px}

div.dayinfo::before{content:"";position:absolute;width: 0;height: 0; border-left: 5px solid transparent;border-right: 5px solid transparent;}

div.dayinfo.LT::before{left:5%; top:-10px;border-bottom: 10px solid #fff;} 
div.dayinfo.CT::before{left:30%; top:-10px;border-bottom: 10px solid #fff;} 
div.dayinfo.RT::before{right:5%; top:-10px;border-bottom: 10px solid #fff;} 
div.dayinfo.LB::before{left:5%;bottom:-10px;border-top: 10px solid #fff;} 
div.dayinfo.CB::before{left:31%;bottom:-10px;border-top: 10px solid #fff;} 
div.dayinfo.RB::before{right:5%;bottom:-10px;border-top: 10px solid #fff;} 

.e-calendar-view div.dayinfo a{padding:2px 0px;margin:0px;background:transparent;color:#000} 

.e-calendar-view .multievents{border:1px solid #eee;border-width:1px 0px}
.e-calendar-view .multievents:hover{background:#eee}

.e-calendar-view .datum  {background:#aaa;padding:10px;color:#fff;position: absolute;top: -1px;bottom: -1px; left: -1px;}
.e-calendar-view .datum.training{background:#6aa5c6}
.e-calendar-view .datum.visit{background:#303030}
.e-calendar-view .datum.presentation {background:#A89E29}

.e-calendar-view .datum .year{display:block;line-height:18px;font-size: .9em;font-weight: normal}
.e-calendar-view .datum .month {display:block;line-height:20px;font-size:1.8em;font-weight: normal}
.e-calendar-view .datum .day{display:block;line-height:30px;font-size:1.8em;font-weight: normal}

.e-calendar-view .text {padding:5px 0px;margin-left:50px;color:#4e5d78}
.e-calendar-view .text h3 {font-weight: bold;font-size: .9em!Important;}
.e-calendar-view .text h3 small{display: block;margin:-9px 0 5px -2px;font-size: .9em;font-style: italic;color:#fff;background: #aaa;}
.e-calendar-view .text.training h3 small{background: #6aa5c6;}
.e-calendar-view .text.visit h3 small{background: #303030;}
.e-calendar-view .text.presentation h3 small{background: #A89E29;}
.e-calendar-view .text p {text-align: center;font-size:.7em}

.e-calendar-view .button {text-align: right;background: #4e5d78;color: #fff;padding-right:10px;margin-bottom: -5px;font-size:.6em;text-transform:uppercase}
.e-calendar-view .button:hover {color:#8c8989}
.e-calendar-view .button.event{background:#aaa}
.e-calendar-view .button.training{background: #6aa5c6}

/*calendarcomment*/
.calendarcomment {background:#4e5d78; padding:5px;border:1px solid #000}
.calendarcomment h3 {color:#fff;font-size:1.2em;text-transform:uppercase;margin-top:0}
.calendarcomment p {color:#303030;background:#fff;position: relative;padding:10px 10px 6px 50px;text-transform: uppercase;margin-bottom:7px}
.calendarcomment .comm1:before{background: #6aa5c6;position: absolute;content: " ";width: 45px;height: 100%;left: 0px;top: 0px;}
.calendarcomment .comm2:before{background: #aaa;position: absolute;content: " ";width: 45px;height: 100%;left: 0px;top: 0px;}


.bgtype-event-training,
.bgtype-training-event{background: linear-gradient(134deg, #6aa5c6 0,#aaa 72%) !important }
.bgtype-consultation-presentation,
.bgtype-presentation-consultation{background: linear-gradient(134deg, #a89e29 0,#aaaaaa 72%) !important;}
.bgtype-visit-consultation,
.bgtype-consultation-visit {background: linear-gradient(134deg, #000000 0,#aaaaaa 72%) !important;}
.bgtype-event-visit,
.bgtype-visit-event{background: linear-gradient(134deg, #aaa 0,#303030 72%)!important }
.bgtype-event-presentation,
.bgtype-presentation-event {background:linear-gradient(134deg, #aaa 50%,#a89e29 72%) !important}
.bgtype-event-visit-presentation,
.bgtype-event-presentation-visit,
.bgtype-visit-presentation-event,
.bgtype-visit-event-presentation,
.bgtype-presentation-visit-event,
.bgtype-presentation-event-visit,
.bgtype-visit-consultation-presentation{
    background: -moz-linear-gradient(-45deg, #aaaaaa 29%, #dbc929 48%, #000000 75%)!Important; /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #aaaaaa 29%,#dbc929 48%,#000000 75%)!Important; /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #aaaaaa 29%,#dbc929 48%,#000000 75%)!Important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aaaaaa', endColorstr='#000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */}
.bgtype-visit-presentation-consultation,
.bgtype-visit-consultation-presentation,
.bgtype-presentation-visit-consultation,
.bgtype-presentation-consultation-visit,
.bgtype-consultation-visit-presentation,
.bgtype-consultation-presentation-visit{
    background: -moz-linear-gradient(-45deg, #aaaaaa 29%, #dbc929 48%, #000000 75%)!Important; /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #aaaaaa 29%,#dbc929 48%,#000000 75%)!Important; /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #aaaaaa 29%,#dbc929 48%,#000000 75%)!Important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aaaaaa', endColorstr='#000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */}



