/* BODY */
body { background: #fff; color: #666; font-family: 'Open Sans', sans-serif; font-size: 12px; }
section, header, footer, nav, article { display: block; }
a { color: #09c; cursor: pointer; text-decoration: underline; }
a:not(.label).after { border-left: 1px solid #e6e6e6; display: inline-block; margin: 0 0 0 10px; padding: 0 0 0 10px; }
a:not(.label).before { border-right: 1px solid #e6e6e6; display: inline-block; margin: 0 10px 0 0; padding: 0 10px 0 0; }
.click { cursor: pointer; }

.block { display: block !important; }
.inline { display: inline-block !important; }
.hide { display: none; }
html.large .hide-large { display: none !important; }
html.small .hide-small { display: none !important; }

.center { display: block !important; margin-left: auto !important; margin-right: auto !important; }
.left { float: left !important; }
.right { float: right !important; }

.align-center { text-align: center !important; }
.align-left { text-align: left !important; }
.align-right { text-align: right !important; }

.error { color: #f00 !important; }
.warning { color: #f90 !important; }
.success { color: #0c0 !important; }
.other { color: #09f !important; }

.width:not(.image) { width: 100%; }
.width-100:not(.image) { width: 100% !important; }
.width-75 { width: 75% !important; }
.width-66 { width: 67% !important; }
.width-60 { width: 60% !important; }
.width-50 { width: 50% !important; }
.width-33 { width: 33% !important; } 
.width-40 { width: 40% !important; }
.width-35 { width: 35% !important; } 
.width-30 { width: 30% !important; }
.width-22 { width: 22% !important; } 
.width-20 { width: 20% !important; } 
.width-16 { width: 16.5% !important; } 
.width-33 + .width-33 { width: 34% !important; } 
.width-33 + .width-33 + .width-33 { width: 33% !important; }
.width-33 + .width-33 + .width-33 { width: 33% !important; }
.width-33 + .width-33 + .width-33 { width: 33% !important; }
.width-25 { width: 25% !important; } 
.width-15 { width: 15% !important; } 
.width-13 { width: 12.5% !important; } 
.width-10 { width: 10% !important; } 
html.small .width { width: 100% !important; }
html.small .width-25 { width: 50% !important; }
html.small .width-13 { width: 25% !important; }

/* IMG */
.image { border: none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; margin: 0; }
.image.left { margin: 10px 10px 0 0; }
.image.right { margin: 10px 0 0 10px; }
.image.center { margin: 10px auto 0 auto; }
.image.xwide { max-width: 100%; }
.image.border { background: #fff; border: 1px solid #ccc; padding: 4px; }
.image-captcha { background: #fff; border: 1px solid #ccc; border-radius: 5px; float: left; padding: 4px; }
.image-field { border: 1px solid #ccc; height: 60px; padding: 2px; }
.image.xnarrow { max-width: 70px; }

.image.width-100 { max-width: 100%; width: auto !important; }
.image.width-50 { max-width: 50%; width: auto !important; }
.image.width-33 { max-width: 33%; width: auto !important; }
.image.width-25 { max-width: 25%; width: auto !important; }
html.small .image.width-33, html.small .image.width-25, html.small .image.width-13 { max-width: 25% !important; }

th.width-100, td.width-100 { width: 100% !important; }
th.width-75, td.width-75 { width: 75% !important; }
th.width-50, td.width-50 { width: 50% !important; }
th.width-33, td.width-33 { width: 33% !important; }
th.width-25, td.width-25 { width: 25% !important; }
th.width-10, td.width-10 { width: 10% !important; }
th.width-5, td.width-5 { width: 5% !important; }

/* TEXT */
h1 { color: #333; font-family: 'Droid Serif', serif; font-size: 18px; font-weight: normal; line-height: 30px; margin: 10px 0 0 0; }
h1 a.after { font-family: 'Open Sans', sans-serif; font-size: 12px; }
h1.large { color: #09c; font-size: 24px; }

h2 { color: #09c; font-family: 'Droid Serif', serif; font-size: 14px; font-weight: normal; line-height: 20px; margin: 10px 0 0 0; }
p { line-height: 20px; margin: 10px 0 0 0; }
ul { margin: 10px 0 0 0; padding: 0; }
ul li { list-style-type: disc; margin: 0 0 0 20px; padding: 0; }
ul ul { margin-top: 0; }
strong { color: #333; }

p.text-definition { overflow: hidden; padding-left: 120px; }
p.text-definition strong:first-child { float: left; margin-left: -120px; width: 120px; }

p.text-emailtitle { font-size: 10px; line-height: normal;  }
p.text-emailtitle + form { font-size: 10px; line-height: normal;  }
p.text-emailtext { border-top: 1px solid #e6e6e6; font-size: 10px; line-height: normal; padding: 10px 0 0 0; }


/* MENU */
.menu, .menu ul { margin: 0; overflow: hidden; padding: 0; position: relative;  }
.menu li, .menu dt, .menu dd { background: none; line-height: normal; list-style-type: none; margin: 0; overflow: hidden; padding: 0; position: relative; }

.menu-switch { width: 100%; }
.menu-switch:after { background: #e6e6e6;  bottom: 0; content: ''; display: block; height: 1px; left: 0; position: absolute; width: 100%; }
.menu-switch li { background: #fff; border-radius: 5px; border: 1px solid #e6e6e6; cursor: pointer; float: left; line-height: 20px; margin: 10px 0 0 2px; padding: 4px 9px; }
.menu-switch li:first-child { margin-left: 0; }
.menu-switch li:not(.active):hover { background-color: #f3f3f3; }
.menu-switch li.active { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 8px; z-index: 1; }

.menu-side { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; width: 100%; }
.menu-side li { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; }
.menu-side li a { border-radius: 5px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; line-height: 20px; }
.menu-side li a.active { color: #666; text-decoration: none;  }
html.large .menu-side li { margin: 10px 0 0 0; padding: 0 20px; width: 100%; }
html.large .menu-side li a { background: #fff; padding: 10px 0 10px 20px; width: 100%; }
html.large .menu-side li a.active { border-bottom-right-radius: 0; border-top-right-radius: 0; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; margin-right: -20px; }
html.small .menu-side { margin: 0 0 -10px 0; padding: 0 10px; }
html.small .menu-side li { float: left; }
html.small .menu-side li a { float: left; padding: 5px; }
html.small .menu-side li a.active { background: #fff; }

.menu-filepicker { background: #f3f3f3; border: 1px solid #e6e6e6; border-radius: 5px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 10px 0 0 0; padding: 2px 4px 4px 4px; width: 100%; }
.menu-filepicker li { border: 1px solid #e6e6e6; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 2px 0 0 0; padding: 0 66px 2px 34px; width: 100%; }
.menu-filepicker img { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; float: left; max-height: 72px; max-width: 112px; margin: 2px 10px 0 0; }
.menu-filepicker .button { position: absolute; margin: 0; top: 2px; }
.menu-filepicker .button.left { left: 2px; }
.menu-filepicker .button.right { right: 2px; }
.menu-filepicker .button.right + .button.right { right: 34px; }

.menu-key li { float: left; line-height: 20px; margin: 10px 20px 0 0; }
.menu-key li.text-title { color: #333; font-weight: bold; }
.menu-key li:before { background: #000; border-radius: 20px; content: ''; float: left; height: 20px; width: 20px; margin: 0 5px 0 0; } 
.menu-key li.text-title:before { display: none; }
.menu-key li.text-enquiry:before { background: #f90; }
.menu-key li.text-view:before { background: #0ff; }
.menu-key li.text-clean:before { background: #ff0; }
.menu-key li.text-book:before { background: #0c0; }
.menu-key li.text-blackout:before { background: #f0f; }
.menu-key li.text-jholiday:before { background: #f00; }



/* TABLE */
.table { border-collapse: collapse; border-spacing: 0; line-height: 20px; margin: 10px 0 0 0; }
.table.xwide { width: 100%; }
.table th, .table td { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 2px 5px; text-align: left; vertical-align: top; }
.table th { color: #333; }
.table thead th { background: #e6e6e6; }
.table tr.odd th, .table tr.odd td { background: #f3f3f3; }
.table tr.child-title th { background: #ccc !important; border-top: 1px solid #999 !important; }
.table tr.weak { opacity: 0.5; }
.table tr.weak th, .table tr.weak td { background-image: url(../asset/table-weak.png); background-repeat: repeat; background-position: 0 0; }

.table-total { border-bottom: 1px solid #e6e6e6; width: 100%; }
.table-total td.narrow { width: 100px; }
.table-total tbody td { border-top: 1px solid #e6e6e6; } 
.table-total tbody th { border-top: 2px solid #ccc; } 

.table-plain { border-bottom: 1px solid #e6e6e6; border-top: 1px solid #e6e6e6; }
.table-plain thead th { background: none; border-bottom: 1px solid #e6e6e6; }


.table-switch { background-color: #f3f3f3; border: none; box-shadow: inset 0 0 0 2px #ccc; border-radius: 5px; color: rgba(0,0,0,0.6); line-height: 20px; margin: 20px 0 0 0; padding: 0 0 2px 0; width: 100%; }
.table-switch th { background-color: #ccc; border-top-left-radius: 5px; border-top-right-radius: 5px; color: #000; font-size: 12px; padding: 5px 10px; text-align: left; vertical-align: middle; }
.table-switch td { padding: 5px 10px; text-align: left; vertical-align: top; }
.table-switch tr.child-text { display: none; }
.table-switch tr.child-text td { border-top: 1px dotted #ccc; padding: 0 10px 10px 10px; }
.table-switch tr.child-text td form { display: block; }
.table-switch tr.child-text td form a { color: #000; }
.table-switch tr.child-text td form + p { padding: 0 10px; text-align: center; }
.table-switch tr.child-text + tr.child-title td { border-top: 2px solid #ccc; }
.table-switch tr.child-title td:nth-child(2) { text-align: right; }
.table-switch tr.child-title td.text-inline { text-align: left !important; }
html.large .table-switch tr.child-title td.text-inline { white-space: nowrap; width: 160px; }
.table-switch tr.child-title td:last-child { width: 80px; }
.table-switch tr.child-title td:last-child a { background: #000; border-radius: 5px; color: #fff; cursor: pointer; float: right; font-weight: bold; line-height: 20px; margin: 0; padding: 0 10px; text-decoration: none; }
.table-switch strong { color: #000; }
.table-switch .button-text { background: #000 !important; color: #fff !important; }

.table-alert { width: 100%; }
.table-alert tr.child-text td { background-color: #f3f3f3; border-top: 5px solid #fff; padding: 5px; }
.table-alert tr.child-text.active-scrollto td { background-color: #ccc; }
.table-alert tr.child-text td + td { border-left: 1px solid #fff; }
.table-alert tr.child-text td.text-error, td.text-error { background-color: #f00 !important; color: #000; }
.table-alert tr.child-text td.text-warning { background-color: #f90; color: #000; }
.table-alert tr.child-text td.text-success, td.text-success { background-color: #0c0 !important; color: #000; }
.table-alert tr.child-text td.text-inactive, td.text-inactive { background-color: #999 !important; color: #000; }
.table-alert tr.child-text td.text-inactive strong, td.text-inactive strong { color: #000; }
.table-alert .button-text { background: #000 !important; color: #fff !important; margin: 0; }

html.small .table-alert { display: block; }
html.small .table-alert thead { display: none; }
html.small .table-alert tbody { display: block; width: 100%; }
html.small .table-alert tr { border: none; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; float: left; padding: 5px 5px 5px 0; width: 50%; }
html.small .table-alert tr:nth-child(even) { padding: 5px 0 5px 5px; }
html.small .table-alert tr:nth-child(odd) { clear: left; }
html.small .table-alert td { border-left: none !important; border-top: 1px solid #fff; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; width: 100% !important; }
html.xsmall .table-alert tr { padding: 5px 0 0 0 !important; width: 100%; }

.table-responsive .text-th { display: none; }
html.small .table-responsive { display: block; }
html.small .table-responsive thead { display: none; }
html.small .table-responsive tbody { display: block; width: 100%; }
html.small .table-responsive tr { border-top: 1px solid #ccc; display: block; width: 100%; }
html.small .table-responsive td { border: none !important; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; min-height: 0; overflow: hidden; padding: 0 5px 0 100px; text-align: left !important; width: 100% !important; }
html.small .table-responsive td:first-child { padding-top: 5px; }
html.small .table-responsive td:last-child { padding-bottom: 5px; }
html.small .table-responsive .text-th { display: block; float: left; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0 0 0 -100px; width: 90px; }
html.small .table-responsive br { display: none; }

.table.align-top td { vertical-align: top !important; }

/* CELL */
.cell { float: left; }

.cell-share { background: #fff; height: 20px; overflow: hidden; padding: 5px 5px 5px 40px; position: relative; width: 100px; }
.cell-share p { float: left; left: 0; line-height: 20px; margin: 0; position: absolute; text-align: center; top: 4px; width: 45px; }
.cell-share a { background-color: transparent !important; background-repeat: no-repeat !important; background-position: 50% %0%; !important; float: left !important; height: 20px !important; margin: 0 0 0 5px !important; overflow: hidden !important; width: 20px !important; }
.cell-share a > span { background: transparent !important; }

.cell-share a:nth-child(1) { background-image: url(../asset/cell-share-facebook.png) !important; }
.cell-share a:nth-child(2) { background-image: url(../asset/cell-share-twitter.png) !important; }
.cell-share a:nth-child(3) { background-image: url(../asset/cell-share-pinterest.png) !important; }
.cell-share a:nth-child(4) { background-image: url(../asset/cell-share-email.png) !important; }

/* ROW */
.row { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; position: relative; width: 100%; }

.row-calendar { border-top: 1px solid #ccc; margin: 10px 0 0 0; }
.row-calendar h1 { line-height: 30px; margin: 5px 0 0 0; text-align: center; }
.row-calendar .menu-calendar { border-bottom: 1px solid #e6e6e6; border-top: 1px solid #e6e6e6; font-size: 0; margin: 5px 0 0 0; padding: 0 0 10px 0; text-align: center; width: 100%; }
.row-calendar.row-year .menu-calendar { border-top: none; margin: -35px 0 0 0; }
.row-calendar .menu-calendar li { cursor: pointer; display: inline-block; font-size: 12px; line-height: 20px; margin: 10px 0 0 0; text-decoration: underline; }
.row-calendar .menu-calendar li.text-link { border-left: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; width: 50px; }
.row-calendar .menu-calendar li.text-link + li.text-link { border-left: none; }
.row-calendar .menu-calendar li.text-prev { float: left; text-align: left; width: 80px; }
.row-calendar .menu-calendar li.text-next { float: right; text-align: right; width: 80px; }

.row-calendar .table-calendar { padding: 20px 0; width: 100%; }
html.large .row-calendar.row-year .table-calendar { float: left; padding: 20px; width: 33.3%; }
html.large .row-calendar.row-year .table-calendar:nth-child(3n+0) { clear: left; }

.row-calendar .table-calendar th { color: #333; text-align: center; padding: 5px 1px; }
.row-calendar .table-calendar th.text-title { font-size: 18px; text-transform: uppercase; }
.row-calendar .table-calendar th.click-load { cursor: pointer; text-decoration: underline; }
.row-calendar .table-calendar td { box-shadow: inset 0 0 0 1px #e6e6e6; font-size: 0; padding: 1px; position: relative; vertical-align: top; width: 14.3%; }
.row-calendar.row-year td { color: rgba(0,0,0,0.6); height: 40px; }
.row-calendar.row-month td { height: 120px; line-height: 16px; }
.row-calendar .table-calendar td.text-empty { background: transparent url(../asset/text-empty.png) repeat 0 0; }
.row-calendar .table-calendar .text-date { color: #333; display: block; font-size: 12px; font-weight: bold; padding: 0 2px; position: relative; text-align: right; z-index: 1; }
.row-calendar.row-year .table-calendar .text-jdate { display: none; }
.row-calendar.row-month .table-calendar .text-jdate { color: #999; display: block; font-size: 10px; left: 2px; position: absolute; top: 2px;  }



.row-calendar .table-calendar .text-event { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: #000; display: block; font-size: 12px; margin: 2px 0 0 0; padding: 1px; position: relative; text-align: center; text-decoration: none; }
.row-calendar.row-month .table-calendar .text-event.tall { height: 102px; }

.row-calendar.row-month .table-calendar .text-event:before { background: #000; color: #fff; content: 'X'; font-size: 9px; float: left; line-height: 12px; margin: -1px 2px 0 -1px; min-width: 8px; padding: 0 2px; }
.row-calendar .table-calendar .text-event.text-enquiry { background: #f90; }
.row-calendar.row-month .table-calendar .text-event.text-enquiry:before { content: 'PROV'; }
.row-calendar .table-calendar .text-event.text-view { background: #0ff; }
.row-calendar.row-month .table-calendar .text-event.text-view:before { content: 'VIEW'; }
.row-calendar .table-calendar .text-event.text-clean { background: #ff0; }
.row-calendar.row-month .table-calendar .text-event.text-clean:before { content: 'CLEAN'; }
.row-calendar .table-calendar .text-event.text-book { background: #0c0; }
.row-calendar.row-month .table-calendar .text-event.text-book:before { content: 'BOOK'; }
.row-calendar .table-calendar .text-event.text-suspend { background: #0c0 url(../asset/table-weak.png) repeat 0 0; opacity: 0.5; }
.row-calendar.row-month .table-calendar .text-event.text-suspend:before { content: 'SUSPEND'; }

.row-calendar .table-calendar .text-event.text-blackout { background: #f0f; }
.row-calendar.row-month .table-calendar .text-event.text-blackout:before { content: 'X'; }
.row-calendar .table-calendar .text-event.text-jholiday { background: #f00; }
.row-calendar.row-month .table-calendar .text-event.text-jholiday:before { content: 'X'; }
.row-calendar .table-calendar .text-event.inactive { opacity: 0.5; }

.row-calendar.row-year .table-calendar .text-event { font-size: 9px; }

.row-calendar .table-calendar .text-insert { background: rgba(204,204,204,0.5); display: none; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.row-calendar .table-calendar .text-insert:after { background: #09c; border-radius: 50%; color: #fff; font-weight: bold; content: 'Add'; height: 30px; left: 50%; line-height: 30px; margin: -15px 0 0 -15px; position: absolute; text-align: center; top: 50%; width: 30px; }
.row-calendar.row-year .table-calendar .text-insert:after {  content: '+'; height: 20px; line-height: 20px; margin: -5px 0 0 -10px; width: 20px; }

html.small .row-calendar.row-month .table-calendar { display: block; }
html.small .row-calendar.row-month .table-calendar thead { display: none; }
html.small .row-calendar.row-month .table-calendar tbody { display: block; width: 100%; }
html.small .row-calendar.row-month .table-calendar tr { display: block; width: 100%; }
html.small .row-calendar.row-month .table-calendar td { border: none; box-shadow: none; border-top: 1px solid #e6e6e6; display: block; height: auto; overflow: hidden; padding: 1px 0; width: 100%; }
html.small .row-calendar.row-month .table-calendar td.text-empty { display: none; }
html.small .row-calendar.row-month .table-calendar td:nth-child(1) .text-date:before { content: 'SUN '; }
html.small .row-calendar.row-month .table-calendar td:nth-child(2) .text-date:before { content: 'MON '; }
html.small .row-calendar.row-month .table-calendar td:nth-child(3) .text-date:before { content: 'TUE '; }
html.small .row-calendar.row-month .table-calendar td:nth-child(4) .text-date:before { content: 'WED '; }
html.small .row-calendar.row-month .table-calendar td:nth-child(5) .text-date:before { content: 'THU '; }
html.small .row-calendar.row-month .table-calendar td:nth-child(6) .text-date:before { content: 'FRI '; }
html.small .row-calendar.row-month .table-calendar td:nth-child(7) .text-date:before { content: 'SAT '; }
html.small .row-calendar.row-month .table-calendar .text-event { display: inline-block; margin: 2px 1px 0 1px; vertical-align: top; width: 138px; }
html.small .row-calendar.row-month .table-calendar .text-event.tall { height: auto; }
html.small .row-calendar.row-month .table-calendar .text-date { text-align: left; }
html.small .row-calendar.row-month .table-calendar .text-jdate { left: auto; right: 0; }





.row-switch { background: #f3f3f3; box-shadow: inset 0 0 0 2px #ccc; color: rgba(0,0,0,0.6); border-radius: 5px; margin: 20px 0 0 0; padding: 0 0 7px 0; }
.row-switch > .child { display: block; overflow: hidden; width: 100%; }
.row-switch > .child-title { background: #ccc; }
.row-switch > .child-title a { background: #000; border-bottom-left-radius: 5px; color: #fff; cursor: pointer; float: right;  font-weight: bold; line-height: 30px; margin: 0; padding: 0 10px; text-decoration: none; }
.row-switch > .child-title h2 { color: #000; font-family: 'Open Sans', sans-serif; font-size: 12px; float: left; font-weight: bold; line-height: 30px; margin: 0; padding: 0 10px; }
.row-switch > .child-text + .child-text { display: none; }
.row-switch > .child-text a { color: #000; }
.row-switch > .child-text .button-text.inline { display: inline-block; margin: 5px 0 0 10px; }
.row-switch strong { color: #000; }
.row-switch .button-text { background: #000 !important; color: #fff !important; }
.row-switch > .child-text form + p { padding: 0 10px; text-align: center; }

.menu-inline { font-size: 0; overflow: hidden; width: 100%; }
.menu-inline li { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: inline-block; font-size: 12px; line-height: 20px; margin: 5px 0 0 0; overflow: hidden; padding: 0 10px; vertical-align: top; }
html.large .menu-inline li.narrow { width: 25%; }
html.large .menu-inline li.wide { width: 50%; }
html.large .menu-inline li.xwide { width: 100%; }

.text-alert { float: left; line-height: 20px; padding: 0 0 0 25px; text-align: left; }
.text-alert a { color: #000; }
.text-alert.text-success { background: transparent url(../asset/text-success.png) no-repeat 0 0; }
.text-alert.text-warning { background: transparent url(../asset/text-warning.png) no-repeat 0 0; }
.text-alert.text-error { background: transparent url(../asset/text-error.png) no-repeat 0 0; }

.row-switch-error { background: rgba(255,0,0,0.2); box-shadow: inset 0 0 0 2px #f00; }
.row-switch-error > .child-title { background: #f00; }
.table-switch-error { background: rgba(255,0,0,0.2); box-shadow: inset 0 0 0 2px #f00; }
.table-switch-error th { background: #f00; }
.table-switch-error tr.child-text td { border-top: 1px dotted #f00; }
.table-switch-error tr.child-text + tr.child-title td { border-top: 2px solid #f00; }

.table-switch-warning { background: rgba(255,153,0,0.2); box-shadow: inset 0 0 0 2px #f90; }
.table-switch-warning th { background: #f90; }
.table-switch-warning tr.child-text td { border-top: 1px dotted #f90; }
.table-switch-warning tr.child-text + tr.child-title td { border-top: 2px solid #f90; }



.inline-alert { color: #000; display: inline; }
.inline-alert.inline-success { background: #0c0; }
.inline-alert.inline-warning { background: #f90; }
.inline-alert.inline-error { background: #f00; }





/* ARTICLE */
.article { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; padding: 0 20px 20px 20px; position: relative; text-align: left; width: 100%; }

html.large .article-content { background: #fff; -moz-box-shadow: 0 0 10px 0 #ccc; -webkit-box-shadow: 0 0 10px 0 #ccc; box-shadow: 0 0 10px 0 #ccc; }
html.xlarge .article-content { padding: 10px 30px 30px 30px; }
html.small .article-content { border-bottom: 1px solid #ccc; }

.article-content + .article-content.link-near { margin-top: 0; }
html.large .article-content + .article-content.link-far { margin-top: 20px; }

html.large .content-page .section-page:only-child .col:only-child .article:only-child { min-height: 400px; }
html.small .article-content + .article-content { margin-top: 2px; }

.article-switch .wrap-switch { display: none; }
.article-switch .row-switch { border-bottom: #ccc; padding: 0 0 2px 0; }

.article-text .row-article { border-top: 1px dotted #ccc; margin: 10px 0 0 0; padding: 0 0 10px 0; }
.article-text .row-article + .row-article { margin-top: 0; }
.article-text:not(.link-near) .row-article:first-child { border-top: none; margin-top: 0; }
.article-text .row-article:last-child { padding-bottom: 0; }
html.large .article-text + .article-text.link-near > h1:first-child { border-top: 1px dotted #ccc; padding-top: 10px; }

.article-text .row-article.row-em { background: #e6e6e6; border-top: none; color: #333; margin: 10px 0 0 0; padding: 0 10px 10px 10px; }
.article-text .row-article.row-em h1 { color: #333; }
.article-text .row-article.row-em h2 { color: #333; }
.article-text .row-article.row-em a { color: #333; }
.article-text .row-article.row-em + .row-article { border-top: none; margin-top: 0; }

.article-text .row-article.row-strong ul { border-top: 1px dotted #ccc; margin-top: 10px; }
.article-text .row-article.row-strong li { color: #09c; font-family: 'Droid Serif', serif; font-size: 14px; font-weight: normal; margin-top: 10px; }

.article-text .cell-article { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; }
html.large .article-text .cell-article { float: left; }
html.large .article-text .cell-article:nth-child(odd) { padding: 0 30px 0 0; }
html.large .article-text .cell-article:nth-child(even) { padding: 0 0 0 30px; }
html.small .article-text .cell-article { float: none !important; width: 100% !important; }
html.small .article-text .cell-article:nth-child(even) { border-top: 1px dotted #ccc; margin: 10px 0 0 0; }

.article-text .row-article + .row-article { margin: 0; }
.article-text .row-article:first-child { border-top: none; margin: 0; }
.article-text .row-article:last-child { padding-bottom: 0; }

.article-inline h1 { border-bottom: 1px dotted #ccc; padding: 0 0 10px 0; }
.article-inline .row-article, .article-inline .row-article + .row-article { border-top: none; float: left; margin: 0 20px 0 0; padding: 0; width: auto; }

.article-image .image-article { display: block; margin: 10px auto 0 auto; max-width: 100%; }
.article-bleed p { margin: 2px 0 0 0; }

.article-bleed { background: none; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; padding: 0; }
.article-bleed .image-article { border-bottom: 10px solid #1a3366; margin: 0 auto; max-width: 100%; }
.article-bleed + .article { margin-top: -1px; }
.article-bleed p { display: none; }

.article-book .menu-article { border-top: 1px dotted #ccc; font-size: 0; margin: 10px 0 0 0; text-align: center; }
.article-book .menu-article li { display: inline-block; font-size: 12px; margin: 10px 0 0 0; width: 130px; padding: 0 5px; vertical-align: top; }
.article-book .menu-article .image-article { background: #fff; border: 1px solid #ccc; max-height: 120px; padding: 4px; margin: 0 auto; max-width: 100%; }
.article-book .menu-article a { text-decoration: none; }
.article-book .menu-article p { margin: 0; }
.article-book .menu-article li.click:hover .image-article { border-color: #333; }

.article-book .row-article { border-top: 1px solid #ccc; margin: 10px 0 0 0 !important; padding: 0 !important; }
.article-book .row-article .image-article { background: #fff; border: 1px solid #ccc; float: left; margin: 10px 20px 0 0; padding: 4px; width: 120px; }
.article-book .row-article.click:hover .image-article { border-color: #333; }
.article-book .row-article h2 { margin-left: 140px; }
.article-book .row-article p { margin-left: 140px; }

.article-course .menu-article li { border-top: 1px dotted #ccc; display: block; margin: 10px 0 0 0; width: 100%; }
.article-course .menu-article a { text-decoration: none; }
.article-course .menu-article p { margin: 0 0 0 40px; }
/*
.article-course .menu-article .image-article { background: #fff; border: 1px solid #ccc; float: left; margin: 10px 20px 0 0; padding: 4px; width: 120px; }
.article-course .menu-article h2 { margin-left: 140px; }
.article-course .menu-article p { margin-left: 140px; }
.article-course .menu-article li.click:hover .image-article { border-color: #333; }
*/


.article-course .row-article { border-top: 1px solid #ccc; margin: 10px 0 0 0 !important; padding: 0 !important; }
.article-course .row-article .image-article { background: #fff; border: 1px solid #ccc; float: left; margin: 10px 20px 0 0; padding: 4px; width: 120px; }
.article-course .row-article.click:hover .image-article { border-color: #333; }
.article-course .row-article h2 { margin-left: 140px; }
.article-course .row-article p { margin-left: 140px; }


/* COLUMN */
.column { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; float: left; overflow: hidden; padding: 10px; position: relative; width: 100%; }
.column-section { padding: 0; }
.column .column { padding: 0 20px 0 0; }
.column .column + .column { border-left: 1px solid #ccc; padding: 0 0 0 20px; }
html.large .column .column { min-height: 200px; }
html.small .column { border-left: none !important; padding: 2px 0 0 0 !important; width: 100%; }

.alert { color: rgba(0,0,0,0.6); }
.alert h2 { color: #f00; }
.alert h1 a, .alert p a, .alert label a { color: #f00; }
.alert .field-text { background-color: rgba(255,0,0,0.2); border-color: rgba(255,0,0,0.4); color: rgba(0,0,0,0.6); }
.alert .rte { background: rgba(255,0,0,0.2); border-color: rgba(255,0,0,0.4); -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; float: left; margin: 10px 0 0 0; position: relative; text-align: left; }
.alert .rte-menu { background: rgba(255,0,0,0.2);  }
.alert .rte-menu li { border-color: rgba(255,0,0,0.2); }
.alert .rte-content { color: rgba(0,0,0,0.6); }
.alert .button-text { background-color: #f00; }
.alert .button-text:hover { background-color: #c00; }
.alert .button-text.weak { background-color: rgba(255,0,0,0.4); }
.alert .button-text.weak:hover { background-color: rgba(204,0,0,0.4); }
.alert .button-delete { background-color: rgba(255,0,0,0.4); }
.alert .button-delete:hover { background-color: rgba(204,0,0,0.4); }
.alert .row-filter { background-color: rgba(255,0,0,0.1); border-color: rgba(255,0,0,0.2); }
.alert .table-edit { border-color: rgba(255,0,0,0.2); }
.alert .table-edit th, .alert .table-edit td { background-color: rgba(255,0,0,0.1); }
.alert .table-edit tr:nth-child(even) th, .alert .table-edit tr:nth-child(even) td { background-color: rgba(255,0,0,0.2); }
.alert .table-edit tr.odd th, .alert .table-edit tr.odd td { background-color: rgba(255,0,0,0.1); !important; }
.alert .table-edit tr.even th, .alert .table-edit tr.even td { background-color: rgba(255,0,0,0.2); !important; }


.menu-alert { display: inline-block; margin: 0; overflow: hidden; vertical-align: middle; }
.icon + .menu-alert { display: block; padding-left: 40px; }
.menu-alert li { background: #999; color: #fff; float: left; font-size: 10px; line-height: 12px; margin: 0 1px 0 0; min-width: 50px; padding: 0 2px; position: relative; text-align: center; }
.menu-alert li.type-success { background: #0c0; }
.menu-alert li.type-warning { background: #f90; }
.menu-alert li.type-error { background: #f00; }
.menu-alert li.type-successerror { background: #0c0; }
.menu-alert li.type-successerror:before { background: #f00; content: ''; display: block; height: 50%; left: 0; position: absolute; top: 0; width: 100%; }

.editrow { display: block; overflow: hidden; }
.editrow + .editrow { margin-top: 2px; }
.editrow p { float: left; margin: 2px 2px 0 0; }
.editrow .menu-alert { float: right; }

.batchrow-copy { display: none; }
.batchrow-table { width: 100%; }
.batchrow-table th { background: transparent !important; border-bottom: 1px solid #ccc; border-top: 1px solid #ccc; color: #333; font-size: 12px; font-weight: bold; padding: 2px; }
.batchrow-table td { border-bottom: 1px solid #f3f3f3; color: rgba(0,0,0,0.6); font-size: 12px; padding: 2px; }
tr.batchrow-last td { background: rgba(0,204,0,0.1); }
.batchrow-table p { font-size: 12px; line-height: 20px; margin: 0; }
.batchrow-table a.batchrow-insert { color: rgba(0,0,0,0.8) !important; float: left; margin: 0 4px 0 0; text-decoration: none; }
.batchrow-table a.batchrow-delete { color: rgba(0,0,0,0.4) !important; float: right; text-decoration: none; }
.batchrow-field { background: rgba(0,0,0,0.1) !important; border: 1px solid rgba(0,0,0,0.1) !important; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; color: rgba(0,0,0,0.6) !important; float: left !important; font-size: 12px !important; height: 20px !important; line-height: 18px !important; margin: 0 !important; padding: 0 5px !important; width: auto !important; }
.batchrow-field.batchrow-wide { width: 140px !important; }

.table-consolidated { line-height: normal; margin: 10px 0 0 0; width: 100%; }
.table-consolidated tr.type-month th { background: #e6e6e6; border-top: 1px solid #ccc; color: #333; font-size: 12px; font-weight: bold; padding: 5px; }
.table-consolidated tr.type-head th { color: #999; font-size: 10px; font-weight: normal; line-height: 16px; padding-bottom: 0; text-transform: uppercase; }
.table-consolidated tr.type-head th a { background: #999; border-radius: 8px; color: #fff; display: inline-block; font-size: 14px; font-weight: bold; height: 16px; line-height: 16px; margin: 0 0 0 5px; text-align: center; text-decoration: none; vertical-align: middle; width: 16px; }
.table-consolidated tr.type-sabbeth th { border-top: 1px solid #ccc; color: #333; font-size: 12px; font-weight: bold; }
.table-consolidated tr.type-even th, .table-consolidated tr.type-even td { background: #f3f3f3; }
.table-consolidated td { font-size: 12px; padding: 5px; }
.table-consolidated td p { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; display: block; line-height: normal !important; margin: 0; overflow: hidden; }
.table-consolidated td p + p { margin-top: 5px; }
.table-consolidated td p .type-show { display: block; }
.table-consolidated td p .type-hide { display: block; display: none; color: #999; }
.table-consolidated td p .type-hide.type-active { display: block; }
.table-consolidated td p a { color: #666; }
.table-consolidated td p .type-label { font-size: 0; }
.table-consolidated td p .type-label > span:first-child { color: #999; display: inline-block; font-size: 10px; line-height: 10px; text-transform: uppercase; vertical-align: middle; width: 34%; }
.table-consolidated td p .type-label > span:first-child + a, .table-consolidated td p .type-label > span:first-child + span { color: #666; display: inline-block; font-size: 12px; vertical-align: middle; text-transform: none; width: 66%; }
.table-consolidated td p .type-label + .type-hide { padding-left: 34%;  }
.table-consolidated td p .type-label + .type-hide.type-wide { padding-left: 0;  }

.table-consolidated td p a.type-plain { text-decoration: none; color: #999; }
.table-consolidated td p a.type-plain .type-a { text-decoration: underline; color: #666; }

.pending-service { float: left; width: 50%; }
.pending-legend { float: right; width: 30%; }
.pending-main { clear: both; }
.pending table { border: none; border-collapse: collapse; border-spacing: 0; margin: 10px 0 0 0; padding: 0; text-align: left; width: 100% }
.pending td, th { border: none; border-top: 1px solid #fff; color: #000; font-size: 12px; padding: 2px 5px; text-align: left; vertical-align: top; }
.pending td.align-right, .pending th.align-right { text-align: right; }
.pending table.plain td, .pending table.plain th { padding-left: 0; }
.pending tr.unsent td { background: #ccc; }
.pending td.unsent { background: #ccc; }
.pending tr.noreply td { background: #f00; }
.pending td.noreply { background: #f00; }
.pending tr.unpaid td { background: #ff8000; }
.pending td.unpaid { background: #ff8000; }
.pending tr.partpaid td { background: #ff0; }
.pending td.partpaid { background: #ff0; }
.pending tr.paid td { background: #80ff00; }
.pending td.paid { background: #80ff00; }
.pending tr.total th { border-top: 1px solid #e6e6e6; }

.pending-colset { width: 100%; overflow: hidden; }
.pending-col { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; float: left; padding: 0 20px 0 0; width: 50%; }
.pending-col + .pending-col { padding: 0 0 0 20px; }
.pending h2 { border-top: 1px solid #ccc; padding-top: 10px; }

table.seat { border: 10px solid #000; border-spacing: 0; font-size: 0; margin: 20px 0 0 0; padding: 0; }
table.seat td { margin: 0; padding: 0; text-align: center; }
table.seat a { color: #000; text-decoration: none; }
table.seat td.seat-single { height: 40px; width: 40px; }
table.seat td.seat-wall { background: #000; }
table.seat td.seat-table { color: #000; font-size: 7px; padding: 0; text-transform: uppercase; }
table.seat td.seat-table.seat-empty { font-size: 14px; font-weight: bold; }
table.seat td.seat-table.seat-single { width: 40px; }
table.seat td.seat-table.seat-m { background: #a0b9c6; }
table.seat td.seat-table.seat-f { background: #b38d9a; }
table.seat td.seat-table.seat-o { background: #fff; }
table.seat td.seat-person.seat-x { height: 30px !important; padding: 9px 5px 1px 5px; }
table.seat td.seat-person.seat-y { height: 30px !important; padding: 5px 9px 5px 1px; }
table.seat td.seat-person.seat-x.seat-single, table.seat td.seat-person.seat-y.seat-single { width: 26px !important; }
table.seat td.seat-person a { color: #fff; }
table.seat td.seat-person span { background: #ccc; border-radius: 15px; color: #fff; font-size: 10px; display: inline-block; height: 30px; line-height: 30px; width: 30px; }
table.seat td.seat-person span:first-letter { font-size: 12px; font-weight: bold; }
table.seat td.seat-person.seat-m span { background: #6cf; }
table.seat td.seat-person.seat-f span { background: #f69; }
table.seat td.seat-person.seat-o span { border-radius: 0; }
table.seat td.seat-person.seat-m.seat-empty span { background: #a0b9c6; }
table.seat td.seat-person.seat-f.seat-empty span { background: #b38d9a; }

