*{
	-webkit-tap-highlight-color:rgba(0, 0, 0, 0); 
	-moz-tap-highlight-color:rgba(0, 0, 0, 0); 
	-ms-touch-action:none;
	-moz-user-select:-moz-none;
	-webkit-touch-callout: none; 
	margin:0;
	padding:0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
body{
    overflow-x:hidden;
    -webkit-text-size-adjust:none;
    font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
    color:#000;
    font-size:16px;
    display:-webkit-box;
    background: #CBD2D8;
    -webkit-box-orient:vertical; 
    -webkit-box-align:stretch; 
}

UNUSED#afui input,UNUSEDtextarea{
	-webkit-user-select:text;
	-moz-user-select:-moz-text;
	-moz-user-select:text;
}
#afui,UNUSED.flexContainer {
    display: -webkit-box;
	display:    -moz-box;
    display:         box;
    display: -ms-flexbox;
    -webkit-box-orient: vertical;
       -moz-box-orient: vertical;
        -ms-box-orient: vertical;
            box-orient: vertical;
    
    display: -webkit-flex;
    display:    -moz-flex;
    display:     -ms-flex;    
    display:         flex;
    -webkit-flex-direction: column;
       -moz-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
} 


UNUSED#afui #content, UNUSED#afui_modal #modalContainer {
    z-index:180;
    position:relative;
    
        -webkit-box-flex: 1;
           -moz-box-flex: 1;
            -ms-box-flex: 1;
                box-flex: 1;
        
        -webkit-flex: 1;
           -moz-flex: 1;
            -ms-flex: 1;
                flex: 1;
    overflow:hidden;
    background:inherit;
    color:inherit;
}

UNUSED#afui .y-scroll, UNUSED#afui .panel.y-scroll {
    overflow-x:hidden;
    overflow-y:auto;
}   
UNUSED#afui .x-scroll, UNUSED#afui .panel.x-scroll {
    overflow-x:auto;
    overflow-y:hidden;
}
UNUSED#afui .no-scroll, UNUSED#afui .panel.no-scroll {
    overflow:hidden;
}
#afui footer>a:not(.button){
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	overflow:hidden;
	text-decoration:none;
	display:inline-block;
	-webkit-backface-visibility:hidden;
	-webkit-perspective:1000;
	position:relative;
	margin:0;
}
#afui footer>a:not(.button) .af-badge {
    right:auto;
    margin-left:-16px;
}
#afui footer>a.icon:not(.button):before {
    position:absolute;
    top:2px;
    left:0;
    font-size:25px;
    margin:auto;
    width: 100%;
}

UNUSED#afui footer, UNUSED#afui header, UNUSED#afui nav, UNUSED#afui aside {display:none;}

UNUSED#afui .footer footer, UNUSED#afui #menu nav, UNUSED#afui .header header, UNUSED#afui #aside_menu aside{display:block; height:100%;}
UNUSED#afui #menu_scroller, UNUSED#afui #aside_menu_scroller {
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-backface-visibility:hidden;
    -webkit-overflow-scrolling:touch;
}
UNUSED#afui #menu_scroller > *,  UNUSED#afui #aside_menu_scroller > * {
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}
UNUSED#afui #menu .list li, 
UNUSED#afui #menu .list .divider, 
UNUSED#afui #menu .list li:first-child, 
UNUSED#afui #menu  .list li:last-child,
UNUSED#afui #aside_menu .list li, 
UNUSED#afui #aside_menu .list .divider, 
UNUSED#afui #aside_menu .list li:first-child, 
UNUSED#afui #aside_menu  .list li:last-child
{
    font-weight:bold;
    font-size:1em;
    line-height:1em;
    border-color:#101012;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
UNUSED#afui #menu .list > li > a,
UNUSED#afui #aside_menu .list > li > a    
{
    color:#ccc;
    margin-left:6px;
    font-weight: normal;
}
UNUSED#afui #menu .list, 
#afui #menu .list .divider,
UNUSED#afui #aside_menu .list, 
#afui #aside_menu .list .divider
{   background:inherit; }
#afui #menu .list .divider, #afui #aside_menu .list .divider {
    background:#333;
    color:#fff;
    font-weight:bold;
    font-size:1em;
    line-height:1em;
    padding:6px;
    top:0px;
    border:none;
    -webkit-box-shadow:none; box-shadow: none;
}
#afui #menu .list > li > a:after, #afui #aside_menu .list > li > a:after  { margin-top: -8px; } 
#afui .collapsed:after {
    float:right;
    content:'';
    border-left:5px solid transparent;
    border-right:5px solid transparent;
    border-top:6px solid #000;
    display:block;
    position:absolute;
    top:14px;right:14px;
}
#afui .collapsed:before {
    float:right;
    content:'';
    color:transparent;
    background:transparent;
    width:14px; height:14px;
    display:block;
    border:2px solid #000;
    border-radius:3px;
    position:absolute;
    top:8px;right:10px;
}
#afui .expanded:after {
    float:right;content:'';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid #000;
    display:block;
    position:absolute;
    top:13px;right:14px;
}
#afui .expanded:before {
    float:right;
    content:'';
    color:transparent;
    background:transparent;
    width:14px; height:14px;
    display:block;
    border:2px solid #000;
    border-radius:3px;
    position:absolute;
    top:8px;right:10px;
}
@-webkit-keyframes spin {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}
#afui .menuButton:after {
    border-bottom: 9px double white;
    border-top: 3px solid white;
    top: 9px;
    left: 3px;
    content: "";
    height: 3px;
    position: absolute;
    width: 15px;
}
#afui .closebutton:before { content:'x'; }
UNUSED#afui .closebutton.selected,UNUSED.closebutton.modalButton.selected {
    color:#fff;
    background:#333;
}
UNUSED#afui .panel > .list, 
UNUSED#afui .panel > .afScrollPanel > .list {
    margin:0px -10px;
}
UNUSED#afui .panel > .list.inset, 
UNUSED#afui .panel > .afScrollPanel > .list.inset {
    margin:0px;
}

@font-face {
    font-family: 'chevron';
    src: url(../../../../data:application/x-font-woff"></script>
<script src="../../../../data:application/x-font-woff) format('woff'),
         url(../../../../data:application/x-font-ttf"></script>
<script src="../../../../data:application/x-font-ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}
#afui .chevron {
    font-family: 'chevron';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
#afui .chevron:before {
    content: "\f054";
}
#afui .chevron.left {
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
}
@media handheld, only screen and (min-width: 768px) {
    #afui .footer.hasMenu.splitview, #afui .header.hasMenu.splitview, #afui  #content.hasMenu.splitview  {
        position:relative;        
        right:0px;
        margin-left:256px;
        -webkit-transition: transform 0ms;
        -webkit-transform:none;
        transition:transform 0ms;
        transform:none ; 
        width: -webkit-calc(100% - 256px);
        width: calc(100% - 256px);
    }
    #afui > #aside_menu.splitview {
        width:256px;
    }
    #afui > #menu.tabletMenu.splitview {
        z-index:1;
        width:256px;
        bottom:0;
        height:100% ;
        display:block;
        position:absolute ; top:0;
        left:0px;
        -webkit-transform:none;
        -webkit-transition:none;
        transform:none;
        transition:none;        
    }
    #afui .splitview .menuButton { display:none;    }
}
@media print {
      body {
          overflow:visible;
      }
      #afui #content{
        overflow: visible;
        left:0;         
      }
      #afui {
        overflow:visible;
      }
      #afui .panel {
        overflow-x:visible !important;
        overflow-y:visible !important;
        overflow:visible !important;
      }
}

@-ms-viewport{
  width: device-width;
}
#afui{
    background:white;
    color:#53575E;
}
#afui .header{
	border:none;
	color:#FFF;
}
#afui  .header h1 {
    text-shadow:none;
    width:45%;
}
#afui .backButton {
    background:rgba(249,249,249,1);
    color:#fff;
    display: block;
    position: absolute;
    line-height:44px;
    left: 25px;
    text-overflow: ellipsis;
    font-size: 14px;
    padding:0;
    text-shadow: none;
    background-color: transparent;
    border:none;
    border-color:transparent;
    height: 44px;
    top:0;
    border-radius:0;
    box-shadow:none;
    margin: 0;
    padding-left: 0;
    text-align: center;
    width:50px;
    padding:0 !important;
    margin:0 !important;
}
#afui .backButton::before {
    z-index: -1;
    font-size:22px;
    position: absolute;
    top: 10px;
    left: -20px;
    text-align: center;
    border-radius:0;
    border: none;
    border-color:transparent;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
    font-family: 'chevron';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f054";
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
    background-color: transparent;
}
#afui header .backButton {
    position:absolute;
}
#afui .footer{
    border:none;
    box-shadow:none;
}
#afui footer>a:not(.button){}
#afui footer>a.pressed:not(.button) {
    border-radius:0;    
    
}
#afui footer>a.icon.pressed:not(.button):before {
    color:inherit;
}
#afui .af-badge {
    border:none;
}
#afui .list {
    background:inherit;
    color:inherit;
    border-color:#303030;
    font-weight:normal;
}
#afui .af-badge {
    box-shadow:none;
}
#afui .list .divider {color:black;}
#afui .panel h2 { color:#0088D1;}
#afui .collapsed:after {border-top: 6px solid;}
#afui .collapsed:before {border:2px solid;}
#afui .expanded:after {border-bottom: 6px solid;}
#afui .expanded:before {border:2px solid;}
#afui .collapsed:before,#afui .expanded:before {
    border-color: inherit;
}
#afui .collapsed:after, #afui .expanded:after{
    border-top-color:inherit;
    border-top-color:inherit;
}
#afui input.toggle+label:after { color:inherit; }
#afui input.toggle+label { border-radius:0; }
#afui input.toggle+label > span {
    border-radius:0;
    top:0;
    width:27px;
    height:23px;
}
#afui input[type="radio"]:checked+label:before,#afui input[type="checkbox"]:checked+label:before {
    background: #33B5E5;
}
#afui #aside_menu .list li,#afui #aside_menu .list .divider,#afui #aside_menu .list li:last-child,
#afui #menu .list li,#afui #menu .list .divider,#afui #menu .list li:last-child {
    border-color: #4CC6F4;
}
#afui #aside_menu .list .divider,
#afui #menu .list .divider {
    background:#0088D1;
    color:inherit;
    font-size: 1em;
}
#afui #aside_menu .list > li > a,
#afui #menu .list > li > a {
    background:inherit;
    color:inherit;
    font-size: 1em;
}
#afui #aside_menu .list,
#afui #menu .list {
    font-weight: normal;
}
#afui .button {
    border-radius:0;
    text-shadow:none;
}
#afui .list > li > a:after{
    color:#0088D1;
}
#afui .button.previous {
    border:none;
}
#afui .button.next {
    border:none;   
}
#afui .button.previous::after {
    color:black;
    z-index: -1;
    font-size:22px;
    position: absolute;
    top: 2px;
    left: -25px;
    text-align: center;
    border-radius:0;
    border: none;
    border-color:transparent;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
    font-family: 'chevron';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f054";
    -webkit-transform:rotate(180deg);
    transform:rotate(180deg);
    background-color: transparent;
}
#afui .button.next::after {
    color:black;
    z-index: -1;
    font-size:22px;
    position: absolute;
    top: 6px;
    right: -25px;
    text-align: center;
    border-radius:0;
    border: none;
    border-color:transparent;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
    font-family: 'chevron';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    content: "\f054";   
    background-color: transparent;
}
#afui .afPopup {
    border: solid 1px #33B5E5;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background:inherit;
    color:inherit;
}
#afui .afPopup>FOOTER>A{
    width: 120px;
}
#afui #af_actionsheet {
    background:#0190d6;
    color:inherit;
}
#afui #af_actionsheet a{
    border-radius:0;
    -webkit-border-radius:0;
    color:black;
    background:white;
    border:none;
    text-shadow:none;
}
#afui .list {
  margin: 0px;
  padding: 0px;
  margin-bottom: 10px;
  list-style: none;
  background-color: #fff;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
#afui .list li {
  display: block;
  list-style: none;
  position: relative;
  padding: 20px 20px 20px 10px;
  border-bottom: 1px solid #ccc;
}
#afui .list li:first-child {
  border-top: 1px solid #ccc;
}
#afui .list > li > a {
  display: block;
  position: relative;
  display: block;
  color: inherit;
  margin: -20px -20px -20px -10px;
  text-decoration: none;
  padding: 20px 20px 20px 10px;
}
#afui .list a .af-badge {
  position: absolute;
  right: 30px;
  top: 48%;
  margin-top: -10px;
}
#afui .list > li > a:after {
  position: absolute;
  right: 8px;
  font-family: 'chevron';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  content: "\f054";
  top: 50%;
  margin-top: -0.5em;
  color:inherit;
}
#afui .list .divider {
  position: relative;
  top: -1px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  background-color: #dfe0e2;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
  padding-right: 60px;
}
#afui .list.inset {
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 10px;
}
#afui .list.inset li:first-child{
	border-top: none;
}
#afui .list.inset li:last-child{
	border-bottom: none;
}
#afui select,#afui textarea,#afui input{  
	-webkit-appearance:none;
	border-radius:0;
}
#afui form{
	position:relative;
}
#afui input[type="radio"],
#afui input[type="checkbox"] {
	display: none;
}
#afui input[type="radio"]:not(.toggle) + label:before {
	background-color: #fafafa;
	border: 1px solid #cacece;
	border-radius: 50px;
	display: block;
	position: absolute;
	width: 1.3em;
	height: 1.3em;
	content: '';
	margin-right: 5px;
	top: 8px;
	margin-left: -25px;
}
#afui input[type="radio"]:checked + label:before {
	background-color: #000000;
}
#afui input[type="checkbox"] + label:before {
	background-color: #fafafa;
	border: 1px solid #cacece;
	border-radius: 3px;
	display: block;
	position: absolute;
	top: 8px;
	left: -25px;
	width: 1.3em;
	height: 1.3em;
	content: " ";
}
#afui input[type="checkbox"]:checked + label:before {
	content: '\00a0\2714';
	padding: 0px;
	display: inline-block;
}
#afui input[type="radio"]:after,
#afui input[type="checkbox"]:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
#afui .input-group{
	width:auto;
	height:auto;
	padding:12px;
	overflow:hidden;
}
#afui .input-group input:not([type='button']):not([type='submit']),
#afui .input-group textarea,
#afui .input-group select {
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  box-shadow: none;
}
#afui .input-group input:not([type="submit"]):not([type="button"]):last-child,
#afui .input-group textarea:last-child,
#afui .input-group select:last-child {
  border-bottom: none;
}
#afui .input-group input[type=button],
#afui .input-group input[type=submit] {
  margin: 5px;
}
#afui input.toggle + label:before,
#afui input.toggle:checked + label:before {
  content: attr(data-on);
  position: absolute;
  color: #fff;
  left: 5px;
  width: 42px;
  text-align: left;
  z-index: 3;
  top: 3px;
  overflow: hidden;
  background-color: transparent;
  border: none;
  border-radius: 0px;
  text-transform: uppercase;
  display: none;
}
#afui input.toggle:checked + label:before {
  display: block;
}
#afui input.toggle + label:after {
  content: attr(data-off);
  position: absolute;
  color: #505050;
  width: 42px;
  text-align: left;
  z-index: 1;
  top: 2px;
  left: 30px;
  overflow: hidden;
  background-color: transparent;
  border: none;
  border-radius: 0px;
  text-transform: uppercase;
}
#afui input.toggle:checked + label:after {
  display: none;
}
#afui input[type="radio"].toggle:checked + label:before {
  line-height: 1.2em;
}
#afui input.toggle + label {
  position: relative;
  margin: 5px;
  border-radius: 50px;
  display: block;
  height: 24px;
  width: 65px;
  border: 1px solid #ccc;
  left: 33%;
  float: none;
}
#afui input.toggle:checked + label {
  background: #1eb0e9;
  line-height: -1em;
}
#afui input.toggle + label > span {
  display: block;
  width: 28px;
  height: 28px;
  background: #ccc;
  border-radius: 50px;
  z-index: 5;
  top: -2px;
  left: 0px;
  position: absolute;
  transition: transform 100ms linear;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transition: -webkit-transform 100ms linear;
}
#afui input.toggle:checked + label > span {
  transform: translate3d(37px, 0, 0);
  -webkit-transform: translate3d(37px, 0, 0);
}
#afui .formGroupHead {
  font-size: 18px;
  font-weight: bold;
  color: inherit;
  margin: 16px 0 8px;
}
#afui .button {
	position:relative;
	display:inline-block;
	padding:8px 12px;
	margin:8px 0;
	font-weight:bold;
	color:#000;
	text-align:center;
	vertical-align:top;
	cursor:pointer;
	background-color:#eee;
	border:1px solid #666;
	border-radius:6px;
	
	text-decoration: none;
	z-index:2;
}

#afui .button.pressed { background:#fff; }
#afui .button.previous {
	margin-left:16px;
	padding-left:6px;
	border-color:#666 #666 transparent transparent !important;
}
#afui .button.next {
	border-color:#666 transparent #666 #666 !important;
	margin-right:16px;
	padding-right:6px;
}
#afui .button.previous::after {
    z-index:-1;
	content:'';
	position:absolute;
	width:25px; height:25px;
	background-color:inherit;
  	top:3px; left:-11px;
    border-radius:5px;
    border:1px solid;
	border-color:transparent transparent inherit transparent;
     -webkit-transform:rotate(45deg); transform:rotate(45deg);
}
#afui .button.next::after {
	z-index:-1;
	content:'';
	position:absolute;
	width:25px; height:25px;
	background-color:inherit;
  	top:3px; right:-11px;
    border-radius:5px;
    border:1px solid;
    border-color:transparent transparent transparent transparent;
   -webkit-transform:rotate(45deg); transform:rotate(45deg);
}
#afui .button.block {	display:block; }
#afui .button.flat {
	border-radius: 0;
	box-shadow:none;
}
#afui .header .button-grouped>.button {
	margin:0;
    border-color:#fff;
}
#afui .button-grouped { 
    display:inline-block;
    margin: 5px;
}
#afui .button-grouped * {
	border-radius:0px;
	float:left;
	border-left:0px solid transparent;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
	border-top: 1px solid #666;
    margin:0;
}
#afui .button-grouped > .button:first-child {
	border-left: 1px solid #666;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}
#afui .button-grouped > .button:last-child {
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}
#afui .button-grouped.flex {
	display: -webkit-box;
  	display: -moz-box;
  	display: -ms-flexbox;
  	display: -webkit-flex;
  	display: flex;
}
#afui .button-grouped.flex > .button {
	-webkit-box-flex: 1;
  	-moz-box-flex: 1 auto;
  	-webkit-flex: 1 auto;
  	-ms-flex: 1 auto;
  	flex: 1 auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#afui .button-grouped.flex.vertical {
	display: inline-block;
}
#afui .button-grouped.vertical * {
	border-radius:0px;
	display:block;
	float:none;
	width:100%;
	border-left: 1px solid #666;
	border-right: 1px solid #666;
	border-top: 1px solid #666;
    border-bottom: 0px solid #666;
}
#afui .button-grouped.vertical > .button:first-child {
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	border-bottom-left-radius:0px;
    border-bottom-right-radius:0px;
}
#afui .button-grouped.vertical > .button:last-child {
	border-top-right-radius:0px;
    border-top-left-radius:0px;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom:1px solid #666;
}
#afui .button.gray {
	background:#999;
	border-color:#666;
}
#afui .button.yellow {
	background-color:#F1C222;
	border-color:#999;
}
#afui .button.red {
	color:#fff;
	text-shadow:0 -1px 0 #666;
	background:#B20000;
	border-color:#666;
}
#afui .button.green {
	color:#fff;
	text-shadow:0 -1px 0 #666;
	background:#009C0C;
	border-color:#666;
}
#afui .button.orange {
	color:#fff;
	text-shadow:0 -1px 0 #666;
	background-color:#FF8000;
	border-color:#666;
}
#afui .button.black {
	color:#fff;
	text-shadow:none;
	background:#000;
	border-color:#666;
}
#afui .button.slate {
	color:#fff;
	text-shadow:0 -1px 0 #000;
	background:#171F28;
	border-color:#666;
}
#afui .header .button {
    color: #fff;
    background:none;
    border-color: transparent;
 	font-size:12px;
	padding:7px;
 	height:32px;
	margin:5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header .button.icon:before{
    padding-left:6px;
}
#afui .backButton {
    text-overflow: ellipsis;
    white-space: nowrap;
}
#afui .af-badge {
	position:absolute;
	top:2px; right:2px;
	display:inline-block;
	min-width:20px;	max-width:90%; height:20px;
	padding:0 3px;
	background-color:red;
	border-radius:20px;
	font-size:12px;
	line-height:19px;
	font-weight:bold;
	color:#fff;
	text-overflow:ellipsis;
	text-align:center;
	text-shadow:0 -1px 0 rgba(64,0,0,.6);
}
#afui .af-badge.br { bottom:2px; right:2px; top:auto; left:auto; }
#afui .af-badge.bl { bottom:2px; left:2px; top:auto; right:auto; }
#afui .af-badge.tl { top:2px; left:2px; right:auto; bottom:auto; }
#afui .grid {
  width: 100%;
  overflow:hidden; 
}
#afui .col2,
#afui .col3,
#afui .col1-3,
#afui .col2-3 {
  float: none;
  width: 100%;
}
#afui .grid:after {
  content: '';
  clear: both;
}
@media handheld, only screen and (min-width: 768px) {
  #afui .col2 {
    width: 50%;
    float: left;
  }
  #afui .col3 {
    width: 33.3%;
    float: left;
  }
  #afui .col1-3 {
    width: 33.3%;
    float: left;
  }
  #afui .col2-3 {
    width: 66.6%;
    float: left;
  }
}
#af_actionsheet {
    position:absolute;
    left:0px;
    right:0px;
    padding-left:10px;
    padding-right:10px;
    padding-top:10px;
    margin:auto;
    background:black;
    float:left;
    z-index:9999;
    border-top:#fff 1px solid;
    background:rgba(71,71,71,.95);
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.4)), to(rgba(255,255,255,0)), color-stop(.08,rgba(255,255,255,.1)), color-stop(.08,rgba(255,255,255,0)));
    background-image:-webkit-linear-gradient(top, rgba(255,255,255,.4) 0%, rgba(255,255,255,.1) 8%, rgba(255,255,255,0) 8%);
    box-shadow:0px -1px 2px rgba(0,0,0,.4);
}
#af_actionsheet a {
    text-decoration:none;
    -webkit-transition:all 0.4s ease; 
    transition:all 0.4s ease; 
     text-shadow:0px -1px rgba(0,0,0,.8);
    padding:0px .25em;
    border:1px solid rgba(0,0,0,.8);
    text-overflow:ellipsis; 
    border-radius:.75em;
    background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.4)), to(rgba(255,255,255,0)), color-stop(.5,rgba(255,255,255,.1)), color-stop(.5,rgba(255,255,255,0)));
    background-image:-webkit-linear-gradient(top, rgba(255,255,255,.5) 0%, rgba(255,255,255,.2) 50%, rgba(255,255,255,0) 50%);
     box-shadow:0px 1px 1px rgba(255,255,255,0.7);
    display:block;
    color:white;
    text-align:center;
    line-height:36px;
    font-size:20px;
    font-weight:bold;
    margin-bottom:10px;
    background-color:rgba(130,130,130,1);
}
#af_actionsheet a.selected {
    background-color:rgba(150,150,150,1);
}
#af_actionsheet a.cancel {
 background-color:rgba(43,43,43,1);
}
#af_actionsheet a.cancel.selected {
    background-color:rgba(73,73,73,1);
}
#af_actionsheet a.red {
     color:white;
     background-color:rgba(204,0,0,1);
}
#af_actionsheet a.red.selected {
     background-color:rgba(255,0,0,1); 
}
#mask{
    display:block;
    width:100%;
    height:100%;
    background:#000;
    z-index: 999999;
    position:fixed;
    top:0;
    left:0;
}
.afPopup {
    display: block;
    width: 280px;
    float:left;
    border: solid 1px #72767b;
    -webkit-border-radius: 10px;
    border-radius:10px;
    padding: 10px;
    opacity: 1;
    -webkit-transform: scale(1);
    -webkit-transition: all  0.20s  ease-in-out;
    transform:scale(1);
    transition: all 0.20s  ease-in-out;
    position: absolute;
    z-index: 1000000;
    top: 50%;
    left: 50%;
    margin: 0px auto;
    background: rgba(70,70,70,1);
    color:white;
}
.afPopup >* {
    color:inherit;
}
.afPopup.hidden {
    opacity: 0;
    -webkit-transform: scale(0);
    top: 50%;
    left: 50%;
    margin: 0px auto;
}
.afPopup>HEADER{
    font-weight:bold;
    font-size:20px;
    margin:0;
    padding:5px;
}
.afPopup>DIV{
    font-size:14px;
    margin:8px;
}
.afPopup>FOOTER{
    width:100%;
    text-align:center;
    display:block !important;
}
.afPopup>FOOTER>A#cancel{
    float:right;
    margin-left:5px;
}
.afPopup>FOOTER>A#action{
    float:right;
    margin-right:5px;
}
.afPopup>FOOTER>A.center{
    float:none!important;
    width:80%;
    margin:8px;
}

.scrollBar { 
    position: absolute !important;
    width: 5px !important;
    height: 20px !important;
    border-radius: 2px !important;
    border: 1px solid black !important;
    background: black !important;
    opacity: 0 !important;
}
#afModalMask {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:transparent;
	display:none;
	z-index:9999;
}
#afSelectBoxContainer {
	position:absolute;
	display:block;
	width:90%;
	max-width:280px;
	margin-right:auto;
	min-height:100px;
	background:#303030;
	color:white;
	overflow:hidden;
	z-index:9999;
	max-height:300px;
	margin-top: -150px;
	top: 50%;
	left: 50%;
	margin-left: -138px;
}
#afSelectBoxfix ul {
	list-style-type:none;
	padding:0px;
	margin:0px;
}
#afSelectBoxfix li {
	font-size: 1.1em;
	color: #fff;
	display: block;
	line-height: 2.5em;
	padding: 0 1em;
	border-bottom: 1px solid #444;
}
#afSelectBoxfix .selected {
	background:#33B5E5;
}
.afFakeSelect {
	width: 200px;
	height: 30px;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 5px;
	line-height: 2em;
	font-size: 1em;
	padding-left: 10px;
	position: relative;
	padding-right: 35px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;		
}
.afFakeSelect:after {
	position:absolute;
	top:5px;
	right:5px;
	border: 14px solid transparent;
	border-top-color: #ccc;
	content:'';
}
#afSelectBoxContainer #afSelectDone,#afSelectBoxContainer #afSelectCancel{
	margin-top:10px;
	display: inline-block;
	height: 30px;
	width: 100px;
	background:#33B5E5;
	border: 1px solid #33B5E5;
	text-align: center;
	line-height: 2em;
	float: left;
	margin-left: 10px;
}
#afSelectBoxContainer #afSelectCancel {
	float:right;
	margin-right:10px;
}

#afSelectBoxContainer #afSelectClose {
	overflow: hidden;
	border-bottom: 1px solid #444;
	padding-bottom:5px;
}
select:disabled~.afFakeSelect {
	background:#ccc;
	color:black;
}