/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 04.12.2014, 12:22:17
    Author     : liebsche
*/

/* Kalender-Navigation
------------------------*/

        #current_date {
                display: none;
        }

        .loading {
                display: none;
                padding: 5px 0 0 10px;
        }

        #calendar_nav #next_icon,
        #calendar_nav #prev_icon {
                display: block;
                float: left;
                padding: 5px 8px 5px 8px;
                border-radius: 5px;
                background-color: #6c89b1;
                cursor: pointer;
                color: #ffffff;
                font-weight: bold;
                text-decoration: none;
                line-height: 22px;
        }

        #btnNewEvent {
                display: block;
                float: right;
                padding: 5px 8px 5px 8px;
                border-radius: 5px;
                background-color: #6c89b1;
                cursor: pointer;
                color: #ffffff;
                font-weight: bold;
                opacity: 0.3;
        }

        #btnNewEvent:hover {
                opacity: 1.0;
        }

        #next_icon.inactive, #prev_icon.inactive {
                opacity: 0.3;
                background-color: #999999;
        }

        #eventcalendar h2 {
                padding: 3px 10px;
                margin: 0px;
                color: #333333;
                font-weight: bold;
                font-size: 1.2rem;
                float: left;
                background-image: none;
                width: auto;
        }
        
        #calendar_nav .viewButton,
        #calendar_nav .viewButton:visited
        {
                border-radius: 5px;
                float: right;
                padding: 5px 8px 5px 8px;
                margin-left: 10px;
                color: #ffffff;
                text-decoration: none;
                cursor: pointer;
                opacity: 0.3;
        }

        #calendar_nav .viewButton:hover,
        #calendar_nav .viewButton.active {
                opacity: 1;
        }

        .cal_clear {
                clear: both;
                height: 0px;
                line-height: 0px;
        }

/* Kalender-Ansicht
--------------------*/

        #calendar {
                clear: both;
                width: 100%;
                margin-top: 10px;
                border-collapse: collapse;
        }

        table#calendar th {
                padding: 5px;
                background-color: #6c89b1;
                text-align: center;
                font-weight: normal;
                width: 14.28%;
                color: #ffffff;
        }

        td.inactive {
                background-color: #efefef;
        }

        td.hasEvents:hover {
                background-color: #f6f6f6;
                /*cursor: pointer;*/
        }

        #calendar td,
        #calendar th {
                border: 1px solid #cccccc;
                overflow: hidden;
                padding: 5px;
        }

        #calendar span.nr {
                font-size: 12px;
                color: #666666;
        }

        td.today span.nr {
                padding: 0 0 0 2px;
                color: #ffffff !important;
        }

        #calendar .eventEntry {
                display: block;
                color: #444444;
                text-align: left;
                font-size: 11px;
                margin: 5px 0px 5px 0px;
                overflow: hidden;
                width: 50px;    /* über jQuery live anpassen */
                cursor: pointer;
                text-decoration: none;
        }

        .showMore {
                cursor: pointer;
        }

        .eventId,
        .eventTiming {
                display:none;
        }

        #calendar .eventEntry:hover {
                background-color: #efefef;
        }

/* Listen-Ansicht
-------------------*/

        #eventlist {
                width: 100%;
                margin-top: 10px;
        }

        table#eventlist td {
                text-align: left;
                font-size: 12px;
                padding: 15px 0 15px 10px;
                border: 0px;
        }

        .listEntry h3 {
                display: inline;
                margin: 0px 0px 3px 0px;
                color: #333333;
                font-weight: bold;
                font-size: 13px;
                background-image: none;
        }

        .listEntry img {
                float: left;
                width: 80px;
        }

        #eventlist .dateSep td {
                background-color: #f2f2f2;
                border-bottom: 1px dotted #cccccc;
                border-right: 1px dotted #cccccc;
                border-left: 1px dotted #cccccc;
                padding: 5px;
        }

        #eventlist .listEntry td {
                border-bottom: 1px dotted #cccccc;
        }

        .event_timing {
                font-size: 11px;
        }

.event_block {
        margin: 0px 0 15px 0;
        padding: 0;
}

#event_timings {
        margin: 0;
        padding: 0;
}

.event_title {
        display: block;
        padding: 0 0 5px 0;
        font-weight: bold;
        font-size: 13px;
}

#more_dates {
        cursor: pointer;
}

#event_timings table  {
        margin-top: 5px;
}

#event_timings table td {
        padding: 2px 15px 2px 0;
}

/* Pagination
--------------*/

        ul#event_pagination {
                margin: 10px 0 0 0;
                padding: 0;
                list-style-type: none;
                list-style-image: none;
        }

        ul#event_pagination li {
                float: left;
                padding: 0;
                margin: 0;
                list-style-image: none;
                list-style-type: none;
        }

        ul#event_pagination li a {
                display: block;
                padding: 3px 7px;
                border-radius: 5px;
                margin-right: 7px;
                text-decoration: none;
                background-color: #efefef;
        }

        ul#event_pagination li a:hover {
                opacity: 0.5;
        }

        ul#event_pagination a.current {
                color: #ffffff;
                background-color: #6C89B1;
        }

        .validationError {
                border: 1px solid #db2429 !important;
                background-color: #f5bdbf;
        }

        .validationErrorMsg {
                display: block;
                font-size: 10px;
                padding: 3px 0 0 0;
                color: #db2429;
                font-weight: bold;
        }
        
/* Modaler Dialog
------------------*/

        .popupDialog {
                padding: 0px;
                width: 800px;
                border-radius: 5px 5px 0 0;
                background-color: #ffffff;
        }

                .popupDialog a img {
                        border: 0;
                }

        .popupDialog .header {
          /* Position & Abstände*/
                display: block;
                margin: 0;
                padding: 0 15px 0 15px;
                height: 35px;
                line-height: 35px;
                border-radius: 5px 5px 0 0;
          /* Schrift und Farbe */
                text-align: left;
                font-weight: bold;
                font-size: 13px;
                color: #5f5f5f;
          /* Hintergrund */
                background-image: url(img/titleBgr.png);
                background-color: #dadada;
                background-repeat: repeat-x;
                background-position: left bottom;
        }

        .popupDialog .popupFooter {
                border-top: 1px solid #CECECE;
                height: 44px;
                background-color: #ffffff;
                background-position: left top;
        }

                .popupDialog .popupFooter span {
                        display: block;
                        border-radius: 5px 5px 5px 5px;
                        color: #ffffff;
                        cursor: pointer;
                        float: right;
                        margin: 9px 15px 5px 3px;
                        padding: 5px 8px;
                        text-decoration: none;
                        opacity: 0.3;
                }

                .popupDialog .popupFooter span.btnDelete {
                        background-color: #c13b48 !important;   /* roter Hintergrund */
                }

                .popupDialog .popupFooter span:hover {
                        opacity: 1;
                }

        .ui-datepicker-header {
                background-image: none !important;
                border: 1px solid #cecece !important;
        }

/* Formulare und Inputfelder
-----------------------------*/

        .popupDialog input.inputText,
        .popupDialog textarea.inputTextarea {
                padding: 4px;
                border: 1px solid #cecece;
                border-radius: 5px;
                margin: 5px 0 0 0;
                font-family: inherit;
                font-size: 12px;
                resize: none;
        }

        .popupDialog select {
                padding: 4px;
                border: 1px solid #cecece;
                border-radius: 5px;
                margin: 5px 0 0 0;
                font-family: inherit;
                font-size: 12px;
        }

        .popupDialog textarea { overflow: auto; }

        .popupDialog button {
                padding: 4px;
                border: 1px solid #cecece;
                border-radius: 5px;
                margin: 5px 0 0 0;
                font-family: inherit;
                font-size: 12px;
                resize: none;
                font-weight: bold;
                cursor: pointer;
        }

        .popupDialog button:hover {
                border: 1px solid #000000;
        }

        .popupDialog .set {
                padding: 5px 10px 10px 0;
                margin: 0;
        }

/* Overlay
-----------*/

        #simplemodal-overlay {
                opacity: 0.5;
                background-color: #000000;
        }

        #simplemodal-container a.modalCloseImg {
                width: 16px;
                height: 16px;
                z-index: 100;
                position:absolute;
                top: 10px;
                right: 10px;
                cursor: pointer;
                background:url(img/16_close.png) no-repeat;
                display:inline;
                opacity: 0.5;
        }

        #simplemodal-container a.modalCloseImg:hover {
                opacity: 1;
        }

/* Tabs
--------*/

        .tabs {
                padding: 0 0 0 10px;
                margin: 0;
                border-bottom: 1px solid #cecece;
                list-style-type: none;
        }

        .tabs span,
        .tabs a {
                display: block;
                float: left;
                padding: 5px 10px;
                margin: 10px 0 0 5px;
                border-radius: 5px 5px 0 0;
                font-weight: bold;
                color: #bbbbbb;
                cursor: pointer;
        }

        .tabs span.active,
        .tabs a.active
        {
                border-bottom: 1px solid #ffffff;
                margin-bottom: -1px;
                border-top: 1px solid #cecece;
                border-right: 1px solid #cecece;
                border-left: 1px solid #cecece;
                color: #000000;
        }

        .tabs span:hover,
        .tabs a:hover {
                color: #000000;
        }

/* Tabcontent
-------------*/

        .tab1_content,
        .tab2_content,
        .tab3_content,
        .tab4_content {
                /* pos und spacing */
                display: none;
                height: 402px;
                padding: 10px 15px 15px 15px;
                margin: 0px 0 0 0;
                overflow-x: hidden;
                overflow-y: auto;
                /* font & color */
                text-align: left;
                /* bgr */
        }

                .tab4_content img {
                        cursor: pointer;
                        margin: 0 10px 10px 0;
                        border: 5px solid #efefef;
                }

/* timingsTable
----------------*/

        #addTiming {
                border: 1px solid #CECECE;
                border-radius: 5px 5px 5px 5px;
                cursor: pointer;
                display: block;
                float: right;
                margin: 7px 0 0;
                padding: 3px;
                opacity: 0.4;
        }

                #addTiming:hover {
                        opacity: 1.0;
                }

        .noTimingMessage {
                display: block;
                margin: 10px;
                padding: 10px;
                text-align: center;
                background-color: rgba(255, 255, 255, 0.5);
        }

         #timingsTable {
                width: 100%;
                margin-top: 10px;
                border-collapse: collapse;
                border: 1px solid #CECECE;
        }

                #timingsTable th {
                         font-weight: bold;
                         border: 1px solid #CECECE;
                         background-color: #e5e5e5;
                         text-align: center;
                }

                #timingsTable td {
                        border: 1px solid #CECECE;
                        padding: 5px 10px;
                        vertical-align: middle;
                        text-align: center;
                }

                #timingsTable th.first,
                #timingsTable td.first {
                         width: 100%;
                         text-align: left;
                }

                #timingsTable .alignleft { text-align: left; }

/* Upload Bilder
-----------------*/

        .uploadImg {
                border: 1px solid #CECECE;
                border-radius: 5px 5px 5px 5px;
                padding: 10px;
                background-color: #F0F0F0;
                margin-bottom: 10px;
        }

                .tab4_content .uploadImg img {
                        float: right;
                        display: inline;
                        margin: 0px;
                        border: 0px;
                }

/* Modifikationen 
-----------------*/

td.hasEvents a {
   text-decoration: none;
   background-image: none !important;
   padding-left: 0 !important;
}
#eventcalendar h2 {
   font-size: 1.2rem;
   line-height: 1.6rem;
   color: white;
   background-color: #7A003F;
}
#calendar_nav #prev_icon {
   margin: 0 2px 0 0;
   border-top-right-radius: 0; 
   border-bottom-right-radius: 0;
}
#calendar_nav #next_icon {
   margin: 0 0 0 2px;
   border-top-left-radius: 0; 
   border-bottom-left-radius: 0;
}
#calendar td {
   vertical-align: top !important;
   max-width: 78px;
   height: 5em !important;
}
#calendar td.today {
   background: rgba(3,3,3,0.2) !important;
}
#calendar a.eventEntry {
   width: 100%;     
   margin: 0 0 1px 0;
   border-bottom: none;
}
#calendar a.eventEntry:before {
	line-height: 0;
	font-size: 0;
	content: "";
}
#eventlist a {
   background-image: none !important;
   padding-left: 0 !important;
}
#eventlist td {
   padding: 0.5em 1em 0.5em 0 !important;
}
.event_timing {
   font-size: 12px;
}
#eventlist h3 a {
   color: white;
   text-decoration: none;
}
#eventlist h3 {
   padding: 2px;
}
#event .event_block a {
   display: none;
   background-image: none !important;
}
