* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

html {
	height: 100%;
}

body {
    line-height: 1;
    color: black;
    background: white;
	font-family: 'Open Sans', sans-serif;
	height: 100%;
	min-width: 300px;
	overflow-y: scroll;
}

ol, ul {
    text-decoration: none;
}

a:visited, a:focus, a:active, a:hover {
	color: #000;
}

a {
	color: #000;
}

textarea {
	resize: none;
}

input, textarea, button {
	font-family: 'Open Sans', sans-serif;
	border: 1px solid #ADADAD;
	padding: 3px 6px;
	color: #000;
}

input[type="submit"]:hover, button:hover {
	background-color: #000;
	color: #fff;
	border-color: #000;
	cursor: pointer;
}

input:disabled, textarea:disabled {
	background-color: #F1F1F1;
}

.animate-blink {
	-webkit-animation-name: blink; /* Chrome, Safari, Opera */
	-webkit-animation-duration: 2.5s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: infinite; /* Chrome, Safari, Opera */
    animation-name: blink;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
}

@-webkit-keyframes blink {
    0%   {background-color:#808800;}
    25%  {background-color:#2f3100;}
    50%  {background-color:#808800;}
    75%  {background-color:#2f3100;}
    100% {background-color:#808800;}
}

/* Standard syntax */
@keyframes blink {
    0%   {background-color:#808800;}
    25%  {background-color:#2f3100;}
    50%  {background-color:#808800;}
    75%  {background-color:#2f3100;}
    100% {background-color:#808800;}
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
	quotes: "" "";
}

#content strong {
	font-weight: bold;
}

/**
*	General CSS
*/

.jqibox {
	min-width: 300px;
}

#wrapper {
	padding: 20px;
	height: calc(100% - 37px);
}

#wrapper ul, #wrapper ol {
	padding: 0 20px 0 40px;
	text-decoration: initial;
	margin-bottom: 20px;
}

#wrapper #content {
	height: 100%;
	position: relative;
}

.clear {
	clear: both;
}

.wrong-input {
	border-color: #C30000;
}

#wrapper li {
	line-height: 1.4;
}

/**
*	Navigation CSS
*/

#navigation {
	padding: 0 20px;
	border-bottom: 1px solid #000;
}

#main-nav > li:hover {
	background-color: #000;
}

#main-nav > li:hover > a, #main-nav > li:hover > i {
	color: #fff;
}

#main-nav > li > a {
	text-decoration: none;
	padding: 10px 10px;
	display: block;
}

#main-nav > li {
	display: inline-block;
	vertical-align: top;
}

.nav-right-item {
	float: right;
}

/**
*	Official Regulations CSS
*/

#official-regulations {
	font-size: 14px;
}

#official-regulations-container-inner p {
	line-height: 1.4;
	margin-bottom: 20px;
}

#official-regulations-container-inner h1 {
	font-size: 30px;
	margin: 20px 0;
}

#official-regulations-container-inner h2 {
	font-size: 26px;
	margin: 20px 0;
}

#official-regulations-container-inner h3 {
	font-size: 22px;
	margin: 20px 0;
}

#official-regulations-container-inner h4 {
	font-size: 20px;
	margin: 20px 0;
}

#official-regulations-container-inner h5 {
	font-size: 18px;
	margin: 20px 0;
}

#official-regulations-container-inner h6 {
	font-size: 16px;
	margin: 20px 0;
}

/**
*	Profile CSS
*/

#profile, #profile-list, #official-regulations {
	max-width: 600px;
	margin: 0 auto 40px auto;
	padding-top: 30px;
}

#profile-list #profile-container-inner h1, #official-regulations .official-regulations-title {
	margin-bottom: 80px;
}

#profile-container-inner input, #profile-container-inner textarea {
	display: block;
	margin: 2px auto 10px auto;
	text-align: left;
	padding: 0 5px;
}

#profile-container-inner textarea {
	text-align: justify;
}

.profile-input-field {
	line-height: 24px;
	font-size: 16px;
	width: 100%;
}

#profile #profile-submit {
	margin: 30px 0 0 0;
	padding: 6px 22px;
}

#profile-container-inner h1, #official-regulations-container-inner .official-regulations-title {
	text-align: center;
	font-size: 30px;
}

#save-message-box {
	height: 70px;
	width: 100%;
	display: table;
}

#save-message-inner {
	display: table-cell;
	vertical-align: middle;
}

#toggle-password-change {
	padding: 6px 14px;
}

#profile-details {
	margin-top: 10px;
}

#toggle-profile-new-password {
	margin-top: -1px;
	padding: 15px;
	border: 1px solid #ADADAD;
	display: none;
}

#profile-save-information-container {
	display: table-cell;
	vertical-align: middle;
	font-size: 18px;
	text-align: center;
	display: none;
	font-size: 14px;
}

#profile-save-information-container.success-green-color {
	color: #11A900;
}

#profile-save-information-container.error-red-color {
	color: #C30000;
}

.hall-roles {
	margin-top: 10px;
}

.hall-role-first {
	margin-top: 20px;
}

.fa-role-yes {
	color: #11A900;
	padding-left: 5px;
}

.fa-role-no {
	color: #C30000;
	padding-left: 5px;
}

.user-profile-container {
	width: 100%;
	padding: 20px 0;
	font-size: 0;
	position: relative;
}

.user-profile-container:before {
	content: '';
	background:#EFEFEF;
	height: 1px;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.user-profile-container:last-child:after {
	content: '';
	background:#EFEFEF;
	height: 1px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}

.profile-image, .profile-description {
	display: inline-block;
	vertical-align: middle;
}

.profile-image {
	width: 25%;
}

.profile-description {
	padding-left: 25px;
	height: 100%;
	width: 75%;
}

.profile-list-placeholder-image {
	width: 100%;
}

.user-profile-info {
	display: block;
	font-size: 18px;
}

.user-profile-info > a {
	word-break: break-word;
}

.user-profile-info-spacing-big {
	height: 20px;
}

.user-profile-info-spacing-small {
	height: 5px;
}

.profile-description-table td:nth-child(3n) {
	word-break: break-all;
	word-wrap: break-word;
}

.profile-description-outer {
	word-break: break-word;
	display: table;
	height: 100%;
}

.profile-description-inner {
	display: table-cell;
	vertical-align: middle;
}

.user-profile-info-indent {
	width: 15px;
}

.responsive-name-container {
	display: none;
	text-align: center;
    margin-bottom: 20px;
}

.responsive-name-container .user-profile-info {
	font-size: 16px;
}

.user-profile-info-title {
	word-break: normal;
}

#profile-body-container-salary {
	display: none;
}

#profile-body-container-salary h3 {
	text-align: center;
	font-size: 20px;
}

.profile-salary-table {
	margin: 0 auto 40px auto;
	width: 270px;
	border-collapse: collapse;
}

.profile-salary-table td, .profile-salary-table th {
	padding: 5px;
	border: 1px solid grey;
}

.profile-salary-table .year-title {
	text-align: center;
}

.profile-salary-table .salary-year-title {
	font-size: 18px;
	font-weight: bold;
}

#profile-salary-table .salary-value, #profile-salary-table .salary-sum, .salary-value, .salary-sum {
	text-align: right;
}

#profile-salary-table .salary-sum, .salary-sum-title {
	font-weight: bold;
}

#salary-navigation {
	width: 270px;
	display: block;
	margin: 20px auto 40px auto;
	text-align: center;
	font-size: 0;
}

.salary-year-nav {
	font-size: 16px;
	display: inline-block;
	margin: 5px;
}

#profile-body-container-profile, #profile-body-container-salary {
	padding: 40px 10px 20px 10px;
	border-left: 8px solid #ececec;
	border-right: 8px solid #ececec;
	border-bottom: 8px solid #ececec;
}

#profile-tab-nav a {
	text-decoration: none;
	display: inline-block;
	padding: 8px 6px;
	background: #dcdcdc;
}

#profile-tab-nav a:hover {
	background: #f7f7f7;
}

#profile-tab-nav {
	background: #ececec;
	padding: 10px 8px 0 8px;
	margin: 20px 0 0 0;
}

#profile-tab-nav a.active {
	background: #fff;
}

/**
*	Calendar CSS
*/

#bf-calendar-container .fc-day {
	cursor: pointer;
}

#content .fc-event {
	cursor: pointer;
}

#content .fc-toolbar {
	margin-bottom: 16px;
}

#content .fc-center h2 {
	font-size: 20px;
}

#window-table h2, #window-report-table h2, #window-add-overtime-table h2 {
	font-size: 13px;
	font-weight: bold;
}

#report-overtime-wrapper {
	min-height: 370px;
}

#window-add-overtime-table {
	width: 100%;
	border-collapse: collapse;
	padding: 7px;
	font-size: 14px;
	margin-top: 10px;
}

#window-add-overtime-table .table-first-td {
	width: 60%;
}

#window-add-overtime-table .table-second-td {
	width: 30%;
}

#window-add-overtime-table .table-third-td {
	width: 10%;
}

.table-third-td img {
	width: 20px;
	display: block;
	margin: 0 auto;
	cursor: pointer;
}

#window-add-overtime-table td {
	border: 1px solid #ADADAD;
	padding: 3px 6px;
}

#window-add-overtime-table .table-third-td {
	padding: 0;
	vertical-align: middle;
}

#report-overtime-select-list {
	padding: 3px 6px;
	margin-right: 10px;
}

#report-overtime-select-hours {
	width: 110px; margin-right: 10px;
}

button:disabled {
	border-color: #ADADAD;
	background-color: #dedede;
	color: #808080;
}

#window-report-table textarea {
	min-height: 140px;
	width: 100%;
}

#window-report-table, #window-table, #window-notice-table, #message-submit-container {
	width: 100%;
	position: relative;
}

#message-submit-container {
	margin: 20px 0 0 0;
	padding: 20px 0 10px 0;
	border-top: 1px solid #e4e4e4; 
}

#message-submit-container button {
	padding: 2px 6px;
	margin-left: 15px;
}

#message-submit-container textarea {
	min-height: 100px;
	width: 100%;
	margin-bottom: 10px;
	padding: 10px;
}

#message-submit-container textarea, #message-submit-container button {
	vertical-align: bottom;
}

#message-submit-container td {
	text-align: center;
}

#window-notice-table {
	display: block;
	height: 300px;
	overflow: auto;
}

#window-notice-table tbody, #window-notice-table tr, #window-notice-table td {
	width: 100%;
	display: block;
}

.transfer-choice-button-container {
	text-align: center;
}

.act-notice-message-box {
	width: 60%;
	margin: 10px 0 20px 0;
	display: inline-block;
	text-align: left;
}

.act-notice-second-element {
	text-align: right;
}

.act-notice-message-title {
	font-style: italic;
	font-size: 10px;
}

#act-employee-notices, #shift-transfer, .transfer-choice-button {
	padding: 2px 6px;
}

.transfer-choice-button {
	margin: 0 15px;
}

.transfer-choice-button:first-child {
	margin-left: 0;
}

.transfer-choice-button:last-child {
	margin-right: 0;
}

#employee-notices-container, #shift-transfer-container {
	display: block;
	position: relative;
	text-align: right;
}

#shift-transfer-container {
	padding-right: 10px;
}

#window-report-table input, #window-report-table textarea {
	padding: 2px 6px;
	margin: 2px 0;
}

#window-report-table td {
	vertical-align: middle;
}

#window-report-table tr:last-child td {
	vertical-align: top;
}

#report-overtime-submit-text {
	margin: 10px 0;
}

#window-report-table tr td:nth-child(1) {
	padding-right: 10px;
	font-weight: bold;
}

#window-report-table tr td:nth-child(2) {
	padding-left: 10px;
}

#window-table label, #window-report-table label {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    margin-right: 15px;
    font-size: 13px;
}

#window-table label:before, #window-report-table label:before {
    content: "";
    display: inline-block;
 
    width: 19px;
    height: 19px;
 
    margin-right: 10px;
    position: absolute;
    left: 0;
    bottom: 1px;
    background-color: #c5c5c5;
	border-radius: 8px;
}

#window-table input[type=radio], #window-report-table input[type=radio] {
    display: none;
}

#window-table input[type=radio]:checked + label:before, #window-report-table input[type=radio]:checked + label:before {
    content: "\2022";
    color: #777777;
    font-size: 19px;
    text-align: center;
    line-height: 17px;
}

#window-table input[type=radio]:disabled + label:before, #window-report-table input[type=radio]:disabled + label:before {
	background-color: #efefef;
}

#window-table {
	margin-top: 15px;
}

#window-table .form-indent, #window-report-table .form-indent {
	width: 20px;
}

.form-space {
	height: 8px;
}

#window-table .window-description-field{
	white-space: nowrap;
}

.add-staff-input {
	vertical-align: middle;
	margin-top: -2px;
	margin-left: 10px;
}

.staff-number {
	display: inline-block;
}

.show-wrong-submit-message {
	display: inline-block;
}

div.jqi .jqibuttons .prompt-close-button {
	color: #489afe;
}

div.jqi .jqibuttons:after {
	content: '';
	display: block;
	clear: both;
}

div.jqi .jqibuttons .prompt-close-button:hover {
	color: #287ade;
}

.jqibox  div.jqi {
	/* padding-bottom: 0; */
}

.remove-shift-submit-button, .act-report-button {
	display: none;
	float: left;
	border-right: 1px solid #e4e4e4 !important;
	border-left: none !important;
}

.call-in-sick-button {
	display: none;
}

.user-window-button-float-right {
	/* float: right; */
}

#transfer-user-list {
	padding: 4px;
}

.wrong-input-field-border-change {
	border: 1px solid red !important;
}

.transfer-button-float-left {
	float: left;
    border-left: none !important;
    border-right: solid 1px #e4e4e4 !important;
}

.user-window-button-left {
	float: left;
}

div.jqi .jqibuttons button.add-report-submit-button {
	border-left: none;
	border-right: 1px solid #e4e4e4;
}

div.jqi .jqibuttons button.print-report-submit-button {
	border-right: 1px solid #e4e4e4;
	border-left: none;
	display: none;
}

#window-table p, #window-report-table p {
	text-align: justify;
}

.fc-event-container .registered-event-profile-view {
	background-color: #398824;
	border-color:  #398824;
}

.fc-event-container .event-full-profile-view {
	background-color: #7B0000;
	border-color:  #7B0000;
}

.fc-event-container .event-call-in-sick-profile {
	background-color: #bb7900;
	border-color: #bb7900;
}

#show-legend-container {
	position: relative;
	z-index: 2;
	display: block;
	margin-bottom: 20px;
	background-color: #fff;
}

#calendar-show-work-wrapper {
	font-size: 14px;
	margin-top: 20px;
}

#calendar-show-work-wrapper .calendar-show-remaining-work {
	display: block;
}

#calendar-show-work-wrapper .calendar-show-remaining-work:nth-child(2) {
	margin-top: 3px;
}

#showLegend {
    text-decoration: none;
    position: relative;
    z-index: 3;
    height: 100%;
    background-color: #fff;
}

#calendar-color-explanation {
	width: 100%;
	display: none;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}

.calendar-legend-item {
	display: block;
	float: left;
	margin-right: 12px;
	border-radius: 5px;
	font-size: 0;
}

.calendar-legend-item-color {
	display: none;
	vertical-align: middle;
	margin-right: 4px;
	height: 20px;
	width: 20px;
	border-radius: 5px;
}

.calendar-legend-item-text {
	display: inline-block;
	vertical-align: middle;
	font-size: 13px;
	padding: 8px;
	border-radius: 5px;
	color: #fff;
}

.legend-item-titel {
	font-size: 14px;
}

.calendar-legend-item:nth-child(1) {
	background-color: #6aa4c1;
	border: 1px solid #3a87ad;
}

.calendar-legend-item:nth-child(2) {
	background-color: #69a55a;
	border: 1px solid #398824;
}

.calendar-legend-item:nth-child(3) {
	background-color: #bb7900;
	border: 1px solid #bb7900;
}

.calendar-legend-item:nth-child(4) {
	background-color: #9b3f3f;
	border: 1px solid #7B0000;
}
.calendar-legend-item:nth-child(5) {
	background-color: #949494;
	border: 1px solid #949494;
}
.calendar-legend-item:nth-child(6) {
	background-color: #3a87ad;
	border: 1px solid #3a87ad;
	margin-right: 0;
	position: relative;
}
.calendar-legend-item:nth-child(6) .calendar-legend-item-text > span {
	position: relative;
	z-index: 2;
}
.calendar-legend-item:nth-child(6) .calendar-legend-item-text:after {
    content: '';
    position: absolute;
    background-color: #6aa4c1;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
	z-index: 1;
    background-image: repeating-linear-gradient(45deg, #02489e 0px, #02489e 25px, transparent 25px, transparent 50px, #02489e 50px);
}
	
.role-name-list {
	padding-left: 25px;
}

.fc-toolbar .ui-icon-circle-triangle-e, .fc-toolbar .ui-icon-circle-triangle-w {
	margin-top: 1px;
}

.registered-and-full-view:after {
 	content: '';
    position: absolute;
	background-color: #7B0000;
	height: 100%;
	width: 100%;
    bottom: 0;
    left: 0;
	background-image: repeating-linear-gradient(45deg, #398824 0px, #398824 25px, transparent 25px, transparent 50px, #398824 50px);
}

.two-days-limit:after {
 	content: '';
    position: absolute;
	background-color: #6aa4c1;
	height: 100%;
	width: 100%;
    bottom: 0;
    left: 0;
	background-image: repeating-linear-gradient(45deg, #02489e 0px, #02489e 25px, transparent 25px, transparent 50px, #02489e 50px);
}

.cancelled-event:after {
 	content: '';
    position: absolute;
	background-color: #949494;
	height: 100%;
	width: 100%;
    bottom: 0;
    left: 0;
	/* background-image: repeating-linear-gradient(45deg, #949494 0px, #949494 25px, transparent 25px, transparent 50px, #949494 50px); */
}

.cancelled-event {
	border-color: #949494;
}

#salary-limit-message {
	font-size: 15px;
	text-align: center;
	padding: 40px 0;
	width: 100%;
}

div.jqi .jqibuttons .user-window-button-center {
	margin: 0 auto;
    display: block;
	border-right: solid 1px #e4e4e4;
}

.break {
	display: none;
}

/* #calendar-color-explanation-wrapper {
	display: table;
	margin: 0 auto;
} */

/* .legend-item-blue {
	background-color: #3a87ad;
}

.legend-item-green {
	background-color: #398824;
}

.legend-item-red {
	background-color: #7B0000;
}
.legend-item-grey {
	background-color: #949494;
}
 */

.modalChecks {
	float: left;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-top: 5px;
}

.tableCheckbox {
	margin-left:5px; 
	margin-right: 10px;
}
.checks {
	display: inline-block;
}

@-webkit-keyframes blinker {
	50% { opacity: 0.6; }
}

@keyframes blinker {  
  50% { opacity: 0.6; }
}

@-webkit-keyframes scaling {
	0% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
    100% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
    }
}

@keyframe scaling {
    0% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
    100% {
        transform: scale(1.05);
        -webkit-transform: scale(1.05);
    }
}

.event-has-transfer {
	font-weight: bold;
    animation: blinker 1.8s linear infinite;
}

.is-transfer-button {
	animation: scaling 1s ease-in-out infinite alternate;
    -webkit-animation: scaling 1s ease-in-out infinite alternate;
}

.is-transfer-button span {
	-webkit-backface-visibility: hidden;
	-webkit-transform: scale(1);
}