/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/* Cropper */

/* Cropper modal panel styling inside #cropper-wrapper */
/* General modal style */

.cropper-image-container-wrap {
   background: #e5e5e5; 
   margin: 20px 0;
   border-top: 1px solid #c7c7c7;
   border-bottom: 1px solid #c7c7c7;
   padding: 24px;
   display: flex;
  justify-content: center;
  align-items: center;
}

.cropper-image-container {
  position: relative;
  max-width: 100%;
  height: auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

/* Cropper controls - aligned center */
/* Cropper controls - aligned center, all in one row */
.cropper-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
  flex-wrap: wrap; /* wrap on smaller screens */
}

/* Default small icon buttons */
.cropper-controls button {
  background: #eee;
  border: 1px solid #ccc;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  min-width: 40px;
}

.cropper-controls button:hover {
  background: #ddd;
}

/* Large action buttons (Cancel / Save) */
.cropper-controls .large-button {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

/* Cancel button */
.cropper-controls #cancelCrop {
  background: #eee;
  color: #333;
  border: 1px solid #ccc;
}

.cropper-controls #cancelCrop:hover {
  background: #ddd;
}

/* Save button */
.cropper-controls #confirmCrop {
  background: #0073aa;
  color: white;
}

.cropper-controls #confirmCrop:hover {
  background: #005d88;
}


/* Responsive image inside cropper */
.cropper-image-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Increase size of cropper resize handles */
.cropper-point {
  width: 10px !important;
  height: 10px !important;
  background-color: rgba(0, 123, 255, 0.8) !important;
  border-radius: 50% !important;
  margin-top: -5px !important;
  margin-left: -5px !important;
  box-shadow: 0 0 2px #000;
}

/* Specific style for the cropper modal */
.upf_inner.cropper-active {
    margin-top: 10px;
}

/*mobiscroll*/
.dw, 
.dwo {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.dw {
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    font-size: 12px;
    text-shadow: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -ms-touch-action: none;
    user-select: none;
    /*touch-action: none;*/ /* Kills native scroll in Chrome >=35 */
}
.dw:focus {
    /*outline-color: transparent;*/
    outline: none;
}
.dw-rtl {
    direction: rtl;
}
/* Box sizing */
.dw,
.dwbc {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.dwwr {
    min-width: 100px;
    zoom: 1;
    overflow: hidden;
    text-align: center;
    font-family: arial, verdana, sans-serif;
}
/* Modal overlay */
.dw-persp, 
.dwo {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.dw-persp {
    z-index: 99998;
}
.dwo {
    z-index: 1;
    background: #000;
    background: rgba(0,0,0,.7);
    filter: Alpha(Opacity=70);
}
/* Liquid mode */
.dw-liq .dw {
    max-width: 100%;
}
/* Top/Bottom mode */
.dw-top .dw, 
.dw-bottom .dw {
    width: 100%;
    max-width: 100%;
}
/* Inline mode */
.dw-inline .dw {
    position: static;
    display: inline-block;
    max-width: 100%;
}
.dw-inline.dw-liq .dw-persp .dw {
    display: block;
}
.dw-inline .dw-persp {
    position: static;
}
/* Bubble mode */
.dw-bubble .dw {
    margin: 20px 0;
}
.dw-bubble .dw-arrw {
    position: absolute;
    left: 0;
    width: 100%;
}
.dw-bubble-top .dw-arrw {
    bottom: -36px;
}
.dw-bubble-bottom .dw-arrw {
    top: -36px;
}
.dw-bubble .dw-arrw-i {
    margin: 0 30px;
    position: relative;
    height: 36px;
}
.dw-bubble .dw-arr {
    display: block;
}
.dw-arr {
    display: none;
    position: absolute;
    left: 0;
    width: 0;
    height: 0;
    border-width: 18px 18px;
    border-style: solid;
    margin-left: -18px;
}
.dw-bubble-bottom .dw-arr {
    top: 0;
}
.dw-bubble-top .dw-arr {
    bottom: 0;
}
.dw-hidden {
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}
/* Header */
.dwv {
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Buttons */
.dwb {
    overflow: hidden;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: top;
}
.dwb-e {
    cursor: pointer;
}
.dwb-d {
    cursor: default;
}
/* Button container */
.dwbc {
    display: table;
    width: 100%;
    text-align: center;
}
/* Button wrapper */
.dwbw  {
    vertical-align: top;
    display: table-cell;
    position: relative;
    z-index: 5;
}
.dwbw .dwb:before {
    padding: .375em;
}

/* Default theme */
.mbsc-mobiscroll .dwwr {
    min-width: 220px;
    background: #f7f7f7;
    color: #454545;
    font-size: 16px;
}
.mbsc-mobiscroll .dwv {
    padding: 0 .6666em;
    padding-top: .6666em;
    color: #4eccc4;
    font-size: .75em;
    text-transform: uppercase;
    min-height: 2em;
    line-height: 2em;
}
.mbsc-mobiscroll .dwbc {
    display: block;
    overflow: hidden;
    text-align: right;
    padding: 0 .5em .5em .5em;
}
.mbsc-mobiscroll .dwbw {
    display: block;
    float: right;
}
.mbsc-mobiscroll .dw-rtl .dwbw {
    float: left;
}
.mbsc-mobiscroll .dwb {
    height: 2.5em;
    line-height: 2.5em;
    padding: 0 1em;
    color: #4eccc4;
    text-transform: uppercase;
}
.mbsc-mobiscroll .dwb-a {
    background: rgba(78,204,196,.3);
}
.mbsc-mobiscroll .dw-bubble-bottom .dw-arr {
    border-color: transparent transparent #f7f7f7 transparent;
}
.mbsc-mobiscroll .dw-bubble-top .dw-arr {
    border-color: #f7f7f7 transparent transparent transparent;
}

.mbsc-android-holo .dwwr {
    background: #292829;
    color: #fff;
    font-size: 16px;
}
.mbsc-android-holo .dwv {
    color: #31b6e7;
    padding: 0 .5em;
    min-height: 2em;
    line-height: 2em;
    border-bottom: 2px solid #31b6e7;
    font-size: 1.125em;
}
/* Buttons */
.mbsc-android-holo .dwbc {
    border-top: 1px solid #424542;
}
.mbsc-android-holo .dwb {
    height: 2.6em;
    line-height: 2.6em;
    color: #fff;
    font-size: .875em;
}
.mbsc-android-holo .dwb-a {
    background: #29799c;
}
.mbsc-android-holo .dwbw .dwb {
    border-left: 1px solid #424542;
}
.mbsc-android-holo .dwbw:first-child .dwb {
    border: 0;
    -webkit-border-radius: 0 0 0 .1875em;
    border-radius: 0 0 0 .1875em;
}
.mbsc-android-holo .dwbw:last-child .dwb {
    -webkit-border-radius: 0 0 .1875em 0;
    border-radius: 0 0 .1875em 0;
}
.mbsc-android-holo .dw-rtl .dwbw .dwb {
    border: 0;
    border-right: 1px solid #424542;
}
.mbsc-android-holo .dw-rtl .dwbw:last-child .dwb {
    -webkit-border-radius: 0 0 0 .1875em;
    border-radius: 0 0 0 .1875em;
}
.mbsc-android-holo .dw-rtl .dwbw:first-child .dwb {
    border: 0;
    -webkit-border-radius: 0 0 .1875em 0;
    border-radius: 0 0 .1875em 0;
}
/* Top, bottom mode */
.mbsc-android-holo.dw-liq .dwwr, 
.mbsc-android-holo.dw-top .dwwr, 
.mbsc-android-holo.dw-bottom .dwwr,
.mbsc-android-holo.dw-liq .dwbw .dwb,
.mbsc-android-holo.dw-top .dwbw .dwb,
.mbsc-android-holo.dw-bottom .dwbw .dwb {
    -webkit-border-radius: 0;
    border-radius: 0;
}
/* Bubble positioning */
.mbsc-android-holo .dw-bubble-bottom .dw-arr {
    border-color: transparent transparent #292829 transparent;
}
.mbsc-android-holo .dw-bubble-top .dw-arr {
    border-color: #292829 transparent transparent transparent;
}

.dwwb,
.dwwo,
.dwwol {
    /*-webkit-backface-visibility: hidden;*/
    -webkit-transform: translateZ(0);
}
/* Wheel container wrapper */
.dwc {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* Wheel label */
.dwl {
    line-height: 30px;
    height: 30px;
    top: -30px;
    left: 0;
    text-align: center;
    white-space: nowrap;
    position: absolute;
    width: 100%;
}
/* Wheel container */
.dwwc {
    margin: 0 auto;
    position: relative;
    zoom: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}
.dwfl {
    max-width: 100%;
    -webkit-box-flex: 1;
    -webkit-flex: 1 auto;
    -ms-flex: 1 auto;
    flex: 1 auto;
}
/* Wheels */
.dwwl {
    position: relative;
    z-index: 5;
}
.dwww {
    position: relative;
    padding: 0px;
    /*overflow: hidden;*/
}
.dww {
    overflow: hidden;
    position: relative;
}
.dw-bf {
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000px;
    backface-visibility: hidden;
    perspective: 1000px;
}
.dw-ul {
    position: relative;
    z-index: 3;
}
.dw-li {
    padding: 0 5px;
    position: relative;
    text-align: center;
    white-space: nowrap;
    vertical-align: bottom;
    opacity: .3;
    filter: Alpha(Opacity=30);
}
/* Valid entry */
.dw-li.dw-v {
    opacity: 1;
    filter: Alpha(Opacity=100);
}
/* Hidden entry */
.dw-li.dw-h {
    visibility: hidden;
}
.dw-i {
    position: relative;
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Clickpick mode */
.dwwb {
    position: absolute;
    z-index: 4;
    left: 0;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    text-align: center;
    opacity: 1;
    -webkit-transition: opacity .2s linear;
    transition: opacity .2s linear;
}
.dwa .dwwb {
    opacity: 0;
}
.dwpm .dwwbp {
    top: 0;
}
.dwpm .dwwbm {
    bottom: 0;
}
.dwpm .dwwol {
    display: none;
}
/* Wheel overlay */
.dwwo {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
/* Background line */
.dwwol {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    width: 100%;
    pointer-events: none;
}
/* Liquid mode */
.dw-liq .dwc {
    display: block;
}
.dw-liq .dw-tbl {
    width: 100%;
    table-layout: fixed;
}
/* Hidden label */
.dwhl .dwl {
    display: none;
}
/* Hidden select element */
.dw-hsel {
    position: absolute;
    height: 1px;
    width: 1px;
    left: 0;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}
/* Multiple lines */
.dw-ml .dw-li {
    overflow: hidden;
}
.dw-ml .dw-li .dw-i {
    width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
}
/* Multiple selection */
.dwwms .dw-li {
    padding: 0 40px;
}
.dwwms .dwwol {
    display: none;
}
.dw-msel:before {
    width: 40px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
}
/* Select groups */
.dww .dw-w-gr {
    padding: 0 5px;
    opacity: 1;
    font-weight: bold;
    text-align: left;
}


/* Default theme */
.mbsc-mobiscroll .dwc {
    padding: 2em .25em 0 .25em;
}
.mbsc-mobiscroll .dwl {
    color: #4eccc4;
    font-size: .75em;
    text-transform: uppercase;
}
.mbsc-mobiscroll .dwhl {
    padding-top: 0;
}
.mbsc-mobiscroll .dwfl {
    padding: .5em .25em;
}
.mbsc-mobiscroll .dw-li {
    font-size: 1.375em;
}
.mbsc-mobiscroll .dw-hl {
    background: rgba(78,204,196,.3);
}
.mbsc-mobiscroll .dwwol {
    border-top: 1px solid #4eccc4;
    border-bottom: 1px solid #4eccc4;
}
/* Clickpick mode */
.mbsc-mobiscroll .dwpm .dwwol {
    display: block;
}
.mbsc-mobiscroll .dwwb {
    color: #4eccc4;
    background: #f7f7f7;
}
.mbsc-mobiscroll .dwwbp {
    bottom: 0;
    top: auto;
}
.mbsc-mobiscroll .dwwbm {
    top: 0;
    bottom: auto;
}
.mbsc-mobiscroll .dwwb span {
    display: none;
}
.mbsc-mobiscroll .dwwb:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    font-size: 24px;
    text-align: center;
}
.mbsc-mobiscroll .dwwb.dwb-a:before {
    background: rgba(78,204,196,.3);
}
/* Group select */
/* Multiple select */
.mbsc-mobiscroll .dw-w-gr {
    font-size: 1.125em;
}
.mbsc-mobiscroll .dw-msel:before {
    font-size: 40px;
    color: #4eccc4;
}
.mbsc-mobiscroll .dwwms .dwwol {
    display: none;
}

/* Android Skin */
.mbsc-android .dwc {
    padding: 32px 2px 6px 2px;
}
.mbsc-android .dwhl {
    padding-top: 6px;
}
/* Wheel items */
.mbsc-android .dw-li {
    font-size: 26px;
    text-shadow: 0 1px 1px #000;
}
/* Higlighted */
.mbsc-android .dw-hl {
    background: rgba(255,255,255,.3);
}
/* Scroller mode */
.mbsc-android .dwwl {
    padding: 0 2px;
    margin: 0 2px;
    background: #888;
    background: -webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.35, #333),color-stop(0.50, #888),color-stop(0.65, #333),to(#000));
    background: -webkit-linear-gradient(#000,#333 35%, #888 50%,#333 65%,#000);
    background: -moz-linear-gradient(#000,#333 35%, #888 50%,#333 65%,#000);
    background: linear-gradient(#000,#333 35%, #888 50%,#333 65%,#000);
}
.mbsc-android .dww {
    color: #fff;
    background: #444;
    background: -webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.45, #444),color-stop(0.55, #444),to(#000));
    background: -webkit-linear-gradient(#000,#444 45%, #444 55%, #000);
    background: -moz-linear-gradient(#000,#444 45%, #444 55%, #000);
    background: linear-gradient(#000,#444 45%, #444 55%, #000);
}
.mbsc-android .dwwo {
    background: -webkit-gradient(linear,left bottom,left top,from(#000),color-stop(0.52, rgba(44,44,44,0)),color-stop(0.48, rgba(44,44,44,0)),to(#000));
    background: -webkit-linear-gradient(#000,rgba(44,44,44,0) 52%, rgba(44,44,44,0) 48%, #000);
    background: -moz-linear-gradient(#000,rgba(44,44,44,0) 52%, rgba(44,44,44,0) 48%, #000);
    background: linear-gradient(#000,rgba(44,44,44,0) 52%, rgba(44,44,44,0) 48%, #000);
}
.mbsc-android .dwwol {
    height: 0;
    margin-top: -1px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #555;
}
/* Clickpick mode */
.mbsc-android .dwpm .dwwl {
    padding: 0;
    background: #fff;
}
.mbsc-android .dwpm .dww {
    color: #000;
    background: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.mbsc-android .dwpm .dw-li {
    text-shadow: none;
}
.mbsc-android .dwwb {
    background: #ccc;
    color: #888;
    text-shadow: 0 -1px 1px #333;
    -webkit-box-shadow: 0 0 5px #333;
    box-shadow: 0 0 5px #333;
}
.mbsc-android .dwwbp {
    background: -webkit-gradient(linear,left bottom,left top,from(#bdbdbd),to(#f7f7f7));
    background: -webkit-linear-gradient(#f7f7f7,#bdbdbd);
    background: -moz-linear-gradient(#f7f7f7,#bdbdbd);
    background: linear-gradient(#f7f7f7,#bdbdbd);
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    font-size: 40px;
}
.mbsc-android .dwwbm {
    background: -webkit-gradient(linear,left bottom,left top,from(#f7f7f7),to(#bdbdbd));
    background: -webkit-linear-gradient(#bdbdbd,#f7f7f7);
    background: -moz-linear-gradient(#bdbdbd,#f7f7f7);
    background: linear-gradient(#bdbdbd,#f7f7f7);
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
    font-size: 32px;
    font-weight: bold;
}
/* Group select */
.mbsc-android .dw-w-gr {
    font-size: 20px;
}

/* Android Holo skin */
.mbsc-android-holo .dwc {
    padding: .625em;
}
.mbsc-android-holo .dwl {
    font-size: .75em;
}
.mbsc-android-holo .dwhl {
    padding: 0;
}
.mbsc-android-holo .dw-li {
    color: #fff;
    font-size: 1.125em;
}
.mbsc-android-holo .dw-hl {
    background: rgba(49,182,231,.5);
}
.mbsc-android-holo .dwwo {
    background: -webkit-gradient(linear,left bottom,left top,from(#282828),color-stop(0.52, rgba(40,40,40,0)),color-stop(0.48, rgba(40,40,40,0)),to(#282828));
    background: -webkit-linear-gradient(#282828,rgba(40,40,40,0) 52%, rgba(40,40,40,0) 48%, #282828);
    background: -moz-linear-gradient(#282828,rgba(40,40,40,0) 52%, rgba(40,40,40,0) 48%, #282828);
    background: linear-gradient(#282828,rgba(40,40,40,0) 52%, rgba(40,40,40,0) 48%, #282828);
}
.mbsc-android-holo .dwwb {
    color: #7e7e7e;
    background: #292829;
}
.mbsc-android-holo .dwwb span {
    display: none;
}
.mbsc-android-holo .dwwb:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1.625em;
    text-align: center;
}
.mbsc-android-holo .dwwbm {
    top: 0;
    bottom: auto;
}
.mbsc-android-holo .dwwbp {
    bottom: 0;
    top: auto;
}
.mbsc-android-holo .dwwl .dwb-a {
    background: #292829;
    color: #319abd;
}
.mbsc-android-holo .dwwol {
    display: block;
    width: 100%;
    left: 0%;
    border-top: 2px solid #31b6e7;
    border-bottom: 2px solid #31b6e7;
}
/* Multiple select */
.mbsc-android-holo .dwwms .dwwo,
.mbsc-android-holo .dwwms .dwwol {
    display: none;
}
.mbsc-android-holo .dwwms .dw-li {
    padding: 0 2.25em;
}
.mbsc-android-holo .dwwms .dw-li:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 50%;
    left: auto;
    right: .625em;
    width: .875em;
    height: .875em;
    margin-top: -.5625em;
    border: 1px solid #424542;
}
.mbsc-android-holo .dw-msel:before {
    z-index: 2;
    top: 50%;
    left: auto;
    right: .625em;
    width: .875em;
    color: #31b6e7;
    margin-top: -.625em;
    line-height: .875em;
    text-shadow: 0 0 .375em #29799c;
}
/* Group select */
.mbsc-android-holo .dww .dw-w-gr {
    padding: 0 .375em;
    font-size: 1em;
    font-weight: normal;
}
.mbsc-android-holo .dww .dw-w-gr:after {
    display: none;
}


.mbsc-android-holo-light .dwwr,
.mbsc-android-holo-light .dw-cal-sc-c {
    background: rgb(245,245,245);
}
.mbsc-android-holo-light .dwwr,
.mbsc-android-holo-light .dwb,
.mbsc-android-holo-light .dw-li,
.mbsc-android-holo-light .dw-dr,
.mbsc-android-holo-light .dw-cal-tabs .dw-i {
    color: rgb(0,0,0);
}
.mbsc-android-holo-light .dwv {
    color: rgb(49,183,232);
    border-bottom: 2px solid rgb(49,183,232);
}
.mbsc-android-holo-light .dw-hl {
    background: rgb(49,183,232);
    background: rgba(49,183,232,.5);
}
.mbsc-android-holo-light .dwwb {
    color: rgb(125,125,125);
    background: rgb(245,245,245);
}
.mbsc-android-holo-light .dwwl .dwb-a {
    color: rgb(49,154,189);
    background: rgb(245,245,245);
}
.mbsc-android-holo-light .dwwol {
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
}
.mbsc-android-holo-light .dwb-a {
    background: rgb(40,121,156);
    color: #fff;
}
.mbsc-android-holo-light .dwwms .dw-li:after {
    border-color: rgb(217,213,217);
}
.mbsc-android-holo-light .dw-msel:before {
    color: rgb(49,183,232);
    text-shadow: 0 0 5px rgb(40,121,156);
}
.mbsc-android-holo-light .dwwo {    
    background: -webkit-gradient(linear,left bottom,left top,from(rgb(245,245,245)),color-stop(0.52,rgba(245,245,245,0)),color-stop(0.48,rgba(245,245,245,0)),to(rgb(245,245,245)));
    background: -webkit-linear-gradient(rgb(245,245,245),rgba(245,245,245,0)52%,rgba(245,245,245,0)48%,rgb(245,245,245));
    background: -moz-linear-gradient(rgb(245,245,245),rgba(245,245,245,0)52%,rgba(245,245,245,0)48%,rgb(245,245,245));
    background: linear-gradient(rgb(245,245,245),rgba(245,245,245,0)52%,rgba(245,245,245,0)48%,rgb(245,245,245));
}
.mbsc-android-holo-light .dwbc,
.mbsc-android-holo-light .dwbw .dwb  { 
    border-color: rgb(217,213,217);
}
/* Bubble positioning */
.mbsc-android-holo-light .dw-bubble-bottom .dw-arr {
    border-color: transparent transparent rgb(245,245,245) transparent;
}
.mbsc-android-holo-light .dw-bubble-top .dw-arr {
    border-color: rgb(245,245,245) transparent transparent transparent;
}
/* Calendar */
.mbsc-android-holo-light .dw-cal-day-m {
    border-color: rgb(49,183,232) rgb(49,183,232) transparent transparent;
}
.mbsc-android-holo-light .dw-cal-m-bottom .dw-cal-day-m {
    background: rgb(49,183,232);
}
.mbsc-android-holo-light .dw-cal .dw-sel .dw-i {
    background: rgb(49,183,232);
    background: rgba(49,183,232,.5);
}
.mbsc-android-holo-light .dwb-a .dw-cal-btn-txt {
    color: rgb(49,154,189);
}
.mbsc-android-holo-light .dw-cal-tabs .dw-sel {
    border-bottom: 5px solid rgb(49,183,232);
}
.mbsc-android-holo-light .dw-cal-event-color {
    background: rgb(49,183,232);
}
.mbsc-android-holo-light .dw-cal .dw-cal-day-hl .dw-i {
    background: rgb(49,183,232);
    color: #fff;
}
.mbsc-android-holo-light .dw-cal-tabs {
    background: rgb(230,230,230);
}
.mbsc-android-holo-light .dw-cal-tab {
    border-color: rgb(230,230,230);
}
.mbsc-android-holo-light .dw-cal-tabs .dw-i,
.mbsc-android-holo-light .dw-cal-day,
.mbsc-android-holo-light .dw-cal-sc-m-cell {
    border-color: rgb(217,217,217);
}
.mbsc-android-holo-light .dw-cal-btn-txt {
    color: rgb(125,125,125);
}
.mbsc-android-holo-light .dw-week-nrs-c {
    background: rgb(245,245,245);
}
.mbsc-android-holo-light .dw-week-nr-i {
    border-color: rgb(217,217,217);
    color: rgb(125,125,125);
}
.mbsc-android-holo-light .dw-cal th {
    color: rgb(125,125,125);
}
.mbsc-android-holo-light .dw-cal-events {
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.8);
}
.mbsc-android-holo-light .dw-cal-events-arr {
    border-color: rgba(0,0,0,0.8) transparent transparent;
}
.mbsc-android-holo-light .dw-cal-events-b .dw-cal-events-arr {
    border-color: transparent transparent rgba(0,0,0,0.8);
}
.mbsc-android-holo-light .dw-cal-event {
    background: rgb(125,125,125);
    color: #fff;
}
/* Rangepicker */
.mbsc-android-holo-light .dw-dr {
    background: rgb(217,217,217);
}
.mbsc-android-holo-light .dw-sel .dw-dr {
    background: rgb(49,183,232);
    color: #fff;
}
/* Timer */
.mbsc-android-holo-light.dw-timer .dwl {
    color: rgb(49,183,232);
}
/* Rating */
.mbsc-android-holo-light .mbsc-rating-icon {
    color: rgb(49,183,232);
}
/* Numpad */
.mbsc-android-holo-light .mbsc-np-hdr {
    border-color: rgb(217,217,217);
}
/* Listview */
.mbsc-lv-android-holo-light {
    background: rgb(219,219,219);
}
.mbsc-lv-android-holo-light .mbsc-lv .mbsc-lv-item.mbsc-lv-item-dragging  {
    background: rgb(49,183,232);
    background: rgba(49,183,232,.5);
    border-color: rgba(49,183,232,.5);
}
.mbsc-lv-android-holo-light .mbsc-lv-item,
.mbsc-lv-android-holo-light .mbsc-lv-gr-title {
    background: rgb(245,245,245);
    color: rgb(0,0,0);
}
.mbsc-lv-android-holo-light.mbsc-lv-alt-row .mbsc-lv-item:nth-child(even) {
    background: rgb(237,237,237);
}
.mbsc-lv-android-holo-light .mbsc-lv-item {
    border-color: rgb(219,219,219);
}
.mbsc-lv-android-holo-light .mbsc-lv-gr-title {
    border-color: rgb(219,219,219);
}
.mbsc-lv-android-holo-light .mbsc-lv .mbsc-lv-item.mbsc-lv-item-active {
    background: rgb(219,219,219);
}
.mbsc-lv-android-holo-light .mbsc-lv-handle-bar-c,
.mbsc-lv-android-holo-light.mbsc-lv-handle-left .mbsc-lv-handle-bar-c {
    border-color: rgb(178,178,178);
}
.mbsc-lv-android-holo-light .mbsc-lv-handle-bar {
    background: rgb(178,178,178);
}
/* Menustrip */
.mbsc-android-holo-light.mbsc-ms-c {
    color: rgb(0,0,0);
    background: rgb(245,245,245);
}
.mbsc-android-holo-light.mbsc-ms-a .mbsc-ms-item-sel .mbsc-ms-item-i{
    color: rgb(49,183,232);
}
.mbsc-android-holo-light.mbsc-ms-b.mbsc-ms-top {
    border-color: rgb(49,183,232);
}
.mbsc-android-holo-light.mbsc-ms-b.mbsc-ms-bottom {
    border-color: rgb(49,183,232);
}
.mbsc-android-holo-light.mbsc-ms-b .mbsc-ms-item-sel .mbsc-ms-item-i {
    border-bottom-color: rgb(49,183,232);
}
.mbsc-android-holo-light.mbsc-ms-b.mbsc-ms-bottom .mbsc-ms-item-sel .mbsc-ms-item-i {
    border-top-color: rgb(49,183,232);
}
.mbsc-android-holo-light.mbsc-ms-b .mbsc-ms-item-i-c {
    border-color: rgb(217,217,217);
}
.mbsc-android-holo-light .mbsc-btn-a .mbsc-ms-item-i {
    background: rgb(40,121,156);
}

TABLE.dao {
    border-collapse: collapse;
	margin: 0 auto;
}

TABLE.dao TR {
    border: none;
}

TABLE.dao TD {
    font-family: 'Noto Serif SC', NSimSun, STHeiti, arial, verdana, sans-serif;
    border: 1px solid #FFF;
    text-align: center;
    padding: 4px;
}

table.dao  th > span {
	cursor:pointer;
	display:inline-block;
	/* text-transform: uppercase; */
	color:  rgba(66, 66, 66, 0.66);
}

TABLE.dao TD div.caption {
	font-family: Arial, verdana, sans-serif;
	display: none;
	white-space: nowrap;
	overflow: hidden;
}

@media screen and (min-width: 480px) {
    P {
        margin: 10px 16px 16px;
        font-size: 18px;
    }

    DIV.bazi {
        width: 340px;
        margin: 0 auto;
    }

    DIV.bazishort {
        width: 254px;
        margin: 0 auto;
    }

    DIV.lifecycles {
        width: 468px;
        margin: 0 auto;
    }

    DIV.ycycles {
        width: 360px;
        margin: 0 auto;
    }
	
    TABLE.dao TD DIV {
        font-size: 32px;
    }
	
	TABLE.dao TD div.large {
        font-size: 32px;
	}

    TABLE.dao TD DIV.small {
        font-family: arial, verdana, sans-serif;
        font-size: 16px;
    }

    TABLE.dao TD div.caption {
		margin: -4px 0 0 0;
    }
	
	div.bazi > TABLE.dao TD div {
		width:70px;
	}
	
	div.bazi > TABLE.dao TD div.caption {
        font-size: 13px;
	}
	
    DIV.bazishort > TABLE.dao TD div {
		width:71px;
    }
	
    DIV.bazishort > TABLE.dao TD div.caption {
        font-size: 13px;
    }
	
	div.lifecycles > TABLE.dao TD div {
		width: 48px;
    }

	div.lifecycles > TABLE.dao TD div.caption {
        font-size: 9px;
	}

	div.lifecycles > table.dao div.chevron {
		width:19px; /* width: ( 48 + 10 ) / 2 = 29; 29 - 10 = 19 */
		font-size:25px;
		overflow:hidden;
	}
	
	.lc_right, .lc_left {
		color:black;
	}

	div.ycycles > TABLE.dao TD div {
		width: 60px;
    }
	
	div.ycycles > TABLE.dao TD div.caption {
	    font-size: 11px;
	}

	
	div.ycycles > table.dao  th > span,
	div.lifecycles > table.dao  th > span
	{
		margin-bottom:12px;
		margin-top:6px;
	}

    DIV.spacer {
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    P {
        margin: 10px;
        font-size: 18px;
    }

    DIV.bazi {
        width: 252px;
        margin: 0 auto;
    }

    DIV.bazishort {
        width: 200px;
        margin: 0 auto;
    }

    DIV.lifecycles {
        width: 352px;
        margin: 0 auto;
    }

    DIV.ycycles {
        width: 290px;
        margin: 0 auto;
    }

    TABLE.dao TD DIV {
        font-size: 35px;
    }

    TABLE.dao TD DIV.large {
        font-size: 50px;
    }

    TABLE.dao TD DIV.small {
        font-size: 15px;
    }
	
    TABLE.dao TD div.caption {
		margin: -5px 0px 0px 0px;
    }

    div.bazi > TABLE.dao TD div {
		width:54px;
    }
	
	div.bazi > TABLE.dao TD div.caption {
        font-size: 12px;
	}
	
    DIV.bazishort > TABLE.dao TD div {
		width:54px;
    }
	
    DIV.bazishort > TABLE.dao TD div.caption {
        font-size: 12px;
    }

	div.lifecycles > TABLE.dao TD div {
		width: 35px;
    }

	div.lifecycles > TABLE.dao TD div.caption {
        font-size: 8px;
	}

	div.lifecycles > table.dao div.chevron {
		width:12px;	/* width: ( 35 + 10 ) / 2 = 22; 22 - 10 = 12 */
		font-size:20px;
		overflow:hidden;
	}
	
	.lc_right, .lc_left {
		color:black;
	}

	div.ycycles > TABLE.dao TD div {
		width: 48px;
    }

	div.ycycles > TABLE.dao TD div.caption {
        font-size: 10px;
	}

	div.ycycles > table.dao  th > span,
	div.lifecycles > table.dao  th > span
	{
		margin:0;
	}
	
    DIV.spacer {
        height: 10px;
    }
}

DIV.tooltipowner:hover .tooltip {
    display: block;
}

DIV.tooltipowner:hover .tooltip.latent {
    display: none;
}

SPAN.tooltip {
    display: none;
    padding: 0px;
    position: absolute;
    z-index: 1000;
    width: 94px;
    height: 115px;
}

IMG.tooltip {
    width: 86px;
    height: 86px;
    border: 0;
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
}

IMG.tooltiplu {
    margin-top: 2px;
    margin-left: 5px;
}

IMG.tooltipru {
    margin-top: 2px;
    margin-left: 3px;
}

IMG.tooltipld {
    margin-top: 23px;
    margin-left: 5px;
}

IMG.tooltiprd {
    margin-top: 23px;
    margin-left: 3px;
}

SPAN.tooltiplu {
    margin-top: -180px;
    margin-left: -45px;
    background-image: url(../images/shadow_lu.png);
}

SPAN.tooltipru {
    margin-top: -180px;
    margin-left: 10px;
    background-image: url(../images/shadow_ru.png);
}

SPAN.tooltipld {
    margin-top: -12px;
    margin-left: -45px;
    background-image: url(../images/shadow_ld.png);
}

SPAN.tooltiprd {
    margin-top: -12px;
    margin-left: 10px;
    background-image: url(../images/shadow_rd.png);
}

SPAN.playsound {
    font-size: 18px;
    font-family: arial, verdana, sans-serif;
    font-weight: bold;
    cursor: pointer;
    color: #124190;
    /* text-shadow: -3px 0 1px #FFF, 3px 0 1px #FFF, 0 -3px 1px #FFF, 0 3px 1px #FFF, -1px 0 #FFF, 1px 0 #FFF, 0 1px #FFF, 0 -1px #FFF; */
    text-shadow: -2px -2px 1px #FFF, 2px 2px 1px #FFF, 2px -2px 1px #FFF, -2px 2px 1px #FFF, -1px 0 #FFF, 1px 0 #FFF, 0 1px #FFF, 0 -1px #FFF;
    text-align: left;
    margin-top: -101px;
    margin-left: 10px;
    padding: 0px;
    position: absolute;
    z-index: 1100;
}

TABLE.dao TD.lfcsel {
    padding: 0px;
}

TABLE.dao TD.lfcsel DIV.lfcsel {
    border: 3px solid #F00;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding: 1px;
}

DIV.lifecycle {
    cursor: pointer;
}

TR.yearcycle {
    display: none;
}

TABLE.dao TD.ycsel {
    padding: 0px;
}

TABLE.dao TD.ycsel DIV.ycsel {
    border: 3px solid #F00;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    padding: 1px;
}

DIV.ycycle {
    cursor: pointer;
}

INPUT.submit {
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.debuginfo {
    font-size: 15px;
    color: #CCC;
}

DIV.clear {
    clear: both;
}

/* <!-- staged --> */

#formcontainer span.personal_name {
    /*font-size: larger;*/
    font-weight: bolder;
}

#formcontainer a.rand, #formcontainer a.rand:visited {
    color:  rgba(0, 0, 0, 0.33);
    text-decoration: none;
    font-weight: bolder;
}

#formcontainer nav > div {
    float: left;
    height: 100%;
    position: relative;
    text-align: center;
    margin:0 auto;
}

#formcontainer nav > div:first-of-type {
    width:120px;
}

#formcontainer nav > div:last-of-type {
    width:238px;
    /*border-left: 1px dotted rgba(0, 0, 0, 0.08);*/
}

#formcontainer nav > div > a {
    text-align: center;
    width: 100%;
    height: 100%;
    display: block;
    line-height: 50px;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
}

#formcontainer nav > div:hover > a {
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

#formcontainer nav > div > div {
    display: none;
    overflow: hidden;
    background-color: white;
    position: absolute;
    z-index: 1111;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    padding: 10px;
}

#formcontainer nav > div:not(:first-of-type):not(:last-of-type) > div {
    /*left: -50%;*/
    border-radius: 0 0 3px 3px;
}

#formcontainer nav > div:first-of-type > div {
    left: 0;
    border-radius: 0 0 3px 0;
}

#formcontainer nav > div:last-of-type > div {
    right: 0;
    border-radius: 0 0 0 3px;
}

/*
nav > div:hover > div {
    display: block;
}
*/

#formcontainer nav > div > div > a {
    display: block;
    float: left;
    padding: 8px 10px;
    margin: 4px;
    text-align: center;
    background-color: #f44355;
    color: #fbfbfb !important;
    border-radius: 2px;
    transition: background-color 0.2s ease;
}

#formcontainer nav > div:first-of-type > div > a {
    width: 100px;
}

#formcontainer nav > div:last-of-type > div > a {
    width: 190px;
}

#formcontainer nav > div > div > a:hover {
    background-color: #212121;
    cursor: pointer;
}

.latent {
    display: none;
}

.color-yin {
	color: black;
}

.color-yang {
	color: black;
}

