/* CSS Document */

* {
	border:none;
	margin:0;
	padding:0;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Regular.eot'),
         url('../fonts/OpenSans-Regular.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Bold.eot'),
         url('../fonts/OpenSans-Bold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Italic.eot'),
         url('../fonts/OpenSans-Italic.ttf') format("truetype");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-BoldItalic.eot'),
         url('../fonts/OpenSans-BoldItalic.ttf') format("truetype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSansLight';
    src: url('../fonts/OpenSans-Light.eot'),
         url('../fonts/OpenSans-Light.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansLight';
    src: url('../fonts/OpenSans-Semibold.eot'),
         url('../fonts/OpenSans-Semibold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansLight';
    src: url('../fonts/OpenSans-LightItalic.eot'),
         url('../fonts/OpenSans-LightItalic.ttf') format("truetype");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'OpenSansLight';
    src: url('../fonts/OpenSans-SemiboldItalic.eot'),
         url('../fonts/OpenSans-SemiboldItalic.ttf') format("truetype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSansCond';
    src: url('../fonts/OpenSans-CondLight.eot'),
         url('../fonts/OpenSans-CondLight.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansCond';
    src: url('../fonts/OpenSans-CondBold.eot'),
         url('../fonts/OpenSans-CondBold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansCond';
    src: url('../fonts/OpenSans-CondLightItalic.eot'),
         url('../fonts/OpenSans-CondLightItalic.ttf') format("truetype");
    font-weight: normal;
    font-style: italic;
}



body {
	background:#fff;
}

body {
	font-family: OpenSansLight, Arial, Helvetica, sans-serif;
	font-size: 14px;
}
input, select, textarea {
	font-size: 14px ;
	font-family:  OpenSansLight, Arial, Helvetica, sans-serif;
	border:1px solid #e0e0e0;
	padding: 4px;
	background:#eee;
    width: 350px;
    box-sizing: border-box;
}
input.date {
    width: 145px;
}
input.time {
    width: 90px;
}
input.colorpicker {
    width: 145px;
    height: 34px;
    border-width: 0 34px 0 0;
    margin: 0;
}
.colorpickerouter {
    height: 34px;
    border: 1px solid #e0e0e0;
    width: 160px;
    text-align: right;
    background-color: #eee;
}
input[type=number] {
    width: 50px;
}
select#event_type {
    width: 160px;
}
label {
	font-size:12px;
	color:#666;
        display: block;
        margin-top: 3px;
}
label.calgrouplabel {
    display: inline-block;
    width: 190px;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: middle;
    margin-bottom: 8px;
}
select.calgroupselect {
    width: 150px;
    font-size: 12px;
    margin-bottom: 4px;
}
.ui_tpicker_minute_label, .ui_tpicker_minute {
    display: none;
}

table { border-collapse: collapse; }

td, th {
	border: #fff groove 2px;
	padding:0 3px;
	vertical-align:top;
	text-align:left;
	white-space:nowrap;
}
td:hover {
	background-color:#ff0;
}
tr:hover {
	background-color:#ffe;
}
tr {
	background:#f5f5f5;
}
th {
	background:#345;
	color:#31404f;
	font-size:11px;
}

header {
    background: #555;
    padding: 0px 20px;
    position: fixed;
    height: 30px;
    width: 100%;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 1000;
}
.subheader {
    background: #ccc;
    padding: 0px 20px;
    position: fixed;
    box-sizing: border-box;
    width: 100%;
    z-index: 999;
    top: 30px;
}
main{
    display: block;
    padding-top: 60px;
}
/* navigations */

nav {
    position: absolute;
    z-index: 50;
}
nav#navimain {
    left: 20px;
}
nav#naviuser {
    right: 20px;
}
nav ul {
    
}
nav li {
    color: #ccc;
    list-style: none;
    text-indent: 0;
    padding: 0;
}
nav a {
    color: #ccc;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}
nav li.curr a, nav a:hover {
    color: #fff;
}
nav > ul > li {
    display: inline-block;
    float: left;
    position: relative;
}


/* sub */
nav > ul > li > ul {
	background-color: rgba(0,0,0,0.8);
    position: absolute;
    -webkit-transition-duration: 0.5s;
       -moz-transition-duration: 0.5s;
        -ms-transition-duration: 0.5s;
         -o-transition-duration: 0.5s;
            transition-duration: 0.5s;
    -webkit-transform: scale(1,0);
       -moz-transform: scale(1,0);
        -ms-transform: scale(1,0);
         -o-transform: scale(1,0);
            transform: scale(1,0);
    -webkit-transform-origin: 300px 0;
       -moz-transform-origin: 300px 0;
        -ms-transform-origin: 300px 0;
         -o-transform-origin: 300px 0;
            transform-origin: 300px 0;
}

nav > ul > li:hover > ul {
	-webkit-transform: scale(1,1);
	   -moz-transform: scale(1,1);
	    -ms-transform: scale(1,1);
	     -o-transform: scale(1,1);
	        transform: scale(1,1);
}


nav#naviuser > ul > li > ul {
    text-align: right;
    right: 0;
    white-space: nowrap;
}
nav#naviuser > ul > li > ul a {
    white-space: nowrap;
}


h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
}
h1 {
    text-align: center;
    font-size: 32px;
    line-height: 32px;
    margin: 12px 0 20px;
}
#zoomer, #dater  {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
}
#dater form {
    display: inline;
}
#zoomer select {
    width: 50px;
    text-align: right;
}
#select-start {
    width: auto;
}
#select-length {
    width: 50px;
    text-align: right;
}

#inner {
    position: relative;
}
#months {
	clear:left;
	width:8000px;
    margin-left: 200px;
}
#months div{
	float:left;
	height:22px;
	text-align:left;
    font-weight: bold;
    /*
	-moz-box-shadow:  inset 0 0 11px #ccc, inset -1px -1px 1px #333;
	-webkit-box-shadow: inset 0 0 11px #ccc, inset -1px -1px 1px #333;
	box-shadow:  inner 0 0 11px #ccc, inner -1px -1px 1px #333;
    */
    border-style: solid ;
    border-color: rgba(0,0,0,0.3);
    border-width: 1px 1px 1px 0;
    box-sizing: border-box;
}
#months div:first-child {
    border-width: 1px;
}
#months div p {
	padding-left:3px;
    font-size: 14px;
    line-height: 20px;
}
#weeks {
    clear: left;
    width: 8000px;
    margin-left: 200px;
}
#weeks div{
	float:left;
	height:22px;
	text-align:center;
    border-style: solid ;
    border-color: rgba(0,0,0,0.3);
    border-width: 0 1px 1px 0;
    box-sizing: border-box;
    font-family: OpenSansCond, Arial, Helvetica, sans-serif;
    font-weight: bold;
}
#weeks div:first-child {
    border-width: 0 1px 1px 1px;
}
#weeks div p {
    line-height: 20px;
}
#days {
	clear:left;
	width:8000px;
	height:400px;
    margin-left: 200px;
}
#days div{
	float:left;
	width:24px;
	height:100%;
	text-align:center;
    font-family: OpenSansCond, Arial, Helvetica, sans-serif;
    /*
	-moz-box-shadow:  inset 0 0 11px #ccc, inset -1px -1px 1px #333;
	-webkit-box-shadow: inset 0 0 11px #ccc, inset -1px -1px 1px #333;
	box-shadow:  inner 0 0 11px #ccc, inner -1px -1px 1px #333;
    */
    border-style: dotted ;
    border-color: rgba(0,0,0,0.3);
    border-width: 0 1px 0 0;
    box-sizing: border-box;
}
#days div:first-child {
    border-left-width: 1px;
}
#days div em {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    display: block;
    font-style: normal;
    padding-left: 5px;
    white-space: nowrap;
}
#calgroups {
    position: absolute;
    top: 100px;
}
.calgroupinner {
    transform-origin: top center;
    /*
    transition: 1s;
    transform: scale(1,1);
    */
    display: inline-block;
}
/*
.calgroupouter:hover .calgroupinner {
    transform: scale(1,1);
    max-height: none;
}
*/
.calgroupouter {
    clear: left;
}
.calgroupouter p {
    padding-left: 5px;
    font-size: 12px;
    font-weight: bold;
    line-height: 24px;
}
div.event {
	position:absolute;
	overflow:hidden;
    box-sizing: border-box;
	white-space:nowrap;
	line-height:120%;
	z-index:20;
	font-size: 16px;
    line-height: 14px;
    text-overflow: ellipsis;
    font-family: OpenSansCond, Arial, Helvetica, sans-serif;
	color: #ffffff;
	padding: 2px 4px;
    height: 34px;
	background: linear-gradient(#999999,#333333);
	border-radius: 3px;
	border: 1px solid #333333;
	box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.7),
		0px 1px 0px rgba(255,255,255,0.3);
}
div.event em {
    text-shadow: none;
    font-style: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: 10px;
    font-family: OpenSans, Arial, Helvetica, sans-serif;
    color: rgba(255,255,255,0.8);
}
div.event.editable:hover {
	border-color:#fff;
    cursor: pointer;
}
div.event.overflow_left {
    border-radius: 3px 3px 3px 30px ;
}
div.event.overflow_right {
    border-radius: 3px 30px 3px 3px ;
}
div.event.overflow_right.overflow_left {
    border-radius: 3px 30px 3px 30px ;
}
body#eventtype .event {
    width: 150px;
    padding-top: 7px;
    display: inline-block;
}
.eventtype {
    height: 34px;
    margin: 20px 0;
}
div.calname, div.cal {
    position: relative;
    -webkit-box-shadow: inset 0 0 11px rgba(0,0,0,0.1);
       -moz-box-shadow: inset 0 0 11px rgba(0,0,0,0.1);
            box-shadow: inset 0 0 11px rgba(0,0,0,0.1);
    background-color: rgba(50,15,0,0.1);
    margin-bottom: 4px;
}
div.calendar {
}
div.calname {
    height:55px;
    width:200px;
    background: white;
    float: left;
    padding-left: 5px;
    box-sizing: border-box;
    font-size: 16px;
    padding-top: 17px;
}
div.calname p {
    padding-top:15px;
}
.cal {
    height: 55px;
    box-sizing: border-box;
    margin-left: 200px;
}
#cals p {
	position:absolute;
	border-top: 2px ridge #ccc;
	width:800px;
	z-index:10;
}


#editEventForm div.validate.ui-state-error {
    border: none;
    background: none;
}



#response {
	display:none;
	background:url(img/dimm80.png);
	position:absolute;
	width:100%;
	height:100%;
	z-index:1000;
}

#response table {
	margin-left:auto;
	margin-right:auto;
}
#response tr, .formtable tr:hover {
	background:none;
}
#response td, .formtable td:hover {
	border:none;
	vertical-align:bottom;
	background:none;
	padding-top:6px;
}
#response fieldset {
	margin-top:60px;
	border:15px solid #ccc;
	width:400px;
	height:200px;
	margin-left:auto;
	margin-right:auto;
	background:#fff;
}
.today    {background-color:#bdf; color:#00c; font-weight:bold;}
.holiday  {background-color:#ffeeee; color:#c00;}
.holiday.high {background-color:#ffcccc; font-weight:bold;}
.sunday   {background-color:#ffdada;}
.saturday {background-color:#ffeaea;}


.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100%;
    vertical-align: middle;
    margin: 3px;
}
.new-calgroup { background-image: url('../img/users_4_add.png');}
.edit-calgroup { background-image: url('../img/bullet_edit.png');}
.toggle-calgroup { background-image: url('../img/toggle.png');}
.toggle-calgroup.expand { background-image: url('../img/toggle_expand.png');}
.new-cal { background-image: url('../img/user_add.png');}
.edit-cal { background-image: url('../img/bullet_edit.png');}
.new-user { background-image: url('../img/user_add.png');}
.edit-user { background-image: url('../img/bullet_edit.png');}
.new-eventtype { background-image: url('../img/add.png');}
.edit-eventtype { background-image: url('../img/bullet_edit.png');}
.zoom-out { background-image: url('../img/zoom_out.png');}
.zoom-in { background-image: url('../img/zoom_in.png');}



body#user main,
body#eventtype main,
body#install main {
    width: 350px;
    margin: 20px auto 0 auto;
}

body#changePw main,
body#login main {
    width: 350px;
    margin: 80px auto 0 auto;
}


#eventtype-legend {
    display: inline-block;
    float: right;
    margin-top: 4px;
}
#eventtype-legend .event {
  position: relative;
  display: inline-block;
  height: 21px;
  font-weight: normal;
  font-size: 14px;
}



/* some jquery ui overrides */
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
	border: 1px solid #cc0000;
	background: #fef1ec;
	color: #cc0000;
}
div.ui-state-error,
.ui-widget-content div.ui-state-error,
.ui-widget-header div.ui-state-error {
	border: none;
	background: none;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: OpenSans, Arial, Helvetica, sans-serif;
}
.ui-widget {
    font-family: OpenSansLight, Arial, Helvetica, sans-serif;
}

/* some colpick ui overrides */
.colpick {
    z-index: 1000;
}




/* some datetime picker overrides */
.xdsoft_datetimepicker  .xdsoft_calendar td.xdsoft_day_of_week6 {
    background-color: rgba(255,100,100,0.2);
}
.xdsoft_datetimepicker  .xdsoft_calendar td.xdsoft_day_of_week0 {
    background-color: rgba(220,0,0,0.4);
}
.xdsoft_datetimepicker  .xdsoft_calendar td.xdsoft_default,
.xdsoft_datetimepicker  .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker  .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{
	background: #33AAFF;
}





/*
Animate.css - http://daneden.me/animate
LICENSED UNDER THE  MIT LICENSE (MIT)

Copyright (c) 2012 Dan Eden

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

.animated {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	-ms-animation-duration: 1s;
	-o-animation-duration: 1s;
	animation-duration: 1s;
}

.animated.hinge {
	-webkit-animation-duration: 2s;
	-moz-animation-duration: 2s;
	-ms-animation-duration: 2s;
	-o-animation-duration: 2s;
	animation-duration: 2s;
}

@-webkit-keyframes tada {

	0% {-webkit-transform: scale(1);}	

	10%, 20% {-webkit-transform: scale(0.9) rotate(-3deg);}

	30%, 50%, 70%, 90% {-webkit-transform: scale(1.1) rotate(3deg);}

	40%, 60%, 80% {-webkit-transform: scale(1.1) rotate(-3deg);}

	100% {-webkit-transform: scale(1) rotate(0);}

}



@-moz-keyframes tada {

	0% {-moz-transform: scale(1);}	

	10%, 20% {-moz-transform: scale(0.9) rotate(-3deg);}

	30%, 50%, 70%, 90% {-moz-transform: scale(1.1) rotate(3deg);}

	40%, 60%, 80% {-moz-transform: scale(1.1) rotate(-3deg);}

	100% {-moz-transform: scale(1) rotate(0);}

}



@-o-keyframes tada {

	0% {-o-transform: scale(1);}	

	10%, 20% {-o-transform: scale(0.9) rotate(-3deg);}

	30%, 50%, 70%, 90% {-o-transform: scale(1.1) rotate(3deg);}

	40%, 60%, 80% {-o-transform: scale(1.1) rotate(-3deg);}

	100% {-o-transform: scale(1) rotate(0);}

}



@keyframes tada {

	0% {transform: scale(1);}	

	10%, 20% {transform: scale(0.9) rotate(-3deg);}

	30%, 50%, 70%, 90% {transform: scale(1.1) rotate(3deg);}

	40%, 60%, 80% {transform: scale(1.1) rotate(-3deg);}

	100% {transform: scale(1) rotate(0);}

}



.tada {

	-webkit-animation-name: tada;

	-moz-animation-name: tada;

	-o-animation-name: tada;

	animation-name: tada;

}
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */



@-webkit-keyframes pulse {

    0% { -webkit-transform: scale(0.1); }	

	30% { -webkit-transform: scale(1.2); }

    100% { -webkit-transform: scale(1); }

}

@-moz-keyframes pulse {

    0% { -moz-transform: scale(0.1); }	

	30% { -moz-transform: scale(1.2); }

    100% { -moz-transform: scale(1); }

}

@-o-keyframes pulse {

    0% { -o-transform: scale(0.1); }	

	30% { -o-transform: scale(1.2); }

    100% { -o-transform: scale(1); }

}

@keyframes pulse {

    0% { transform: scale(0.1); }	

	30% { transform: scale(1.2); }

    100% { transform: scale(1); }

}



.pulse {

	-webkit-animation-name: pulse;

	-moz-animation-name: pulse;

	-o-animation-name: pulse;

	animation-name: pulse;

}
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */



@-webkit-keyframes rollIn {

	0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); }

	100% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); }

}



@-moz-keyframes rollIn {

	0% { opacity: 0; -moz-transform: translateX(-100%) rotate(-120deg); }

	100% { opacity: 1; -moz-transform: translateX(0px) rotate(0deg); }

}



@-o-keyframes rollIn {

	0% { opacity: 0; -o-transform: translateX(-100%) rotate(-120deg); }

	100% { opacity: 1; -o-transform: translateX(0px) rotate(0deg); }

}



@keyframes rollIn {

	0% { opacity: 0; transform: translateX(-100%) rotate(-120deg); }

	100% { opacity: 1; transform: translateX(0px) rotate(0deg); }

}



.rollIn {

	-webkit-animation-name: rollIn;

	-moz-animation-name: rollIn;

	-o-animation-name: rollIn;

	animation-name: rollIn;

}
