/* @group Modal */

.actionSheetPosition:before{
    position:absolute;
    left: 30px;
    margin-top: 12px;
}

#jqt.actionsheetShown > module  .ac-page.current::after {
    /* semi-transparent overlay */
    display: none;
    z-index: 0;
    position: absolute;
    content: "";
    top: 0; bottom: 0; left: 0; right: 0;
    background-color: rgba(63, 63, 63, 0.6);
    opacity: 0;
    -webkit-transition: opacity 375ms ease-out;
    -moz-transition: opacity 375ms ease-out;
    transition: opacity 375ms ease-out;
}
#jqt.modal > module  .ac-page.current,
#jqt.transition > module > .current {
    z-index: 0;
}
#jqt.modal > module  .ac-page.current::after,
#jqt.transition > module  .ac-page.current::after {
    display: block;
    z-index: 10;
}

#jqt.modal > module  .ac-page.current::after {
    opacity: 1;
}

/* @end group Modal */


/* @group Action Sheet */

#jqt > .actionsheet {
    z-index: 30;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 375ms linear;
    -moz-transition: -webkit-transform 375ms linear;
    transition: -webkit-transform 375ms linear;
    height: 100%; min-height: 100%;
    background-color: transparent;
    background-image: none;
    display:none;
}
#jqt > .actionsheet a{
    line-height: 46px;
}
#jqt > .actionsheet.shown,
#jqt > .actionsheet.transition {
    display: block;
}

#jqt > .actionsheet.shown:not(.current):not(.in):not(.out),
#jqt > .actionsheet.transition:not(.current):not(.in):not(.out) {
    /* workaround long css in jqt/_base.scss */
    display: block;
}

#jqt > .actionsheet.shown {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
    -webkit-transform: translateZ(1px);
    -moz-transform: translateZ(1px);
    transform: translateZ(1px);
}


#jqt > .actionsheet > div.actionchoices {
    position: absolute;
    top: auto; bottom: 0;
    left: 0; right: 0;
    padding-bottom: 10px;
}

/* theme specifics style */
#jqt:not([data-jqt-theme]) > .actionsheet > div.actionchoices,
#jqt[data-jqt-theme="jqtouch"] > .actionsheet > div.actionchoices,
#jqt[data-jqt-theme="vanilla"] > .actionsheet > div.actionchoices,
#jqt[data-jqt-theme="apple"] > .actionsheet > div.actionchoices {
    /*border-top: 1px solid #333;*/
    /*background-color: rgba(0, 0, 0, 0.25);*/
    /*background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(160, 168, 172, 0.75)), color-stop(0.08, rgba(112, 120, 128, 0.5)), color-stop(0.08, rgba(96, 102, 114, 0.5)), to(rgba(96, 102, 114, 0.5)));*/
    /*background-image: gradient(linear, left top, left bottom, from(rgba(160, 168, 172, 0.75)), color-stop(0.08, rgba(112, 120, 128, 0.5)), color-stop(0.08, rgba(96, 102, 114, 0.5)), to(rgba(96, 102, 114, 0.5)));*/
}

#jqt > .actionsheet > div.actionchoices > fieldset {
    border: 0;
}

/*#jqt:not([data-jqt-theme]) > div.actionsheet > div.actionchoices > *,
#jqt[data-jqt-theme="jqtouch"] > div.actionsheet > div.actionchoices > *,
#jqt[data-jqt-theme="vanilla"] > div.actionsheet > div.actionchoices > *,
#jqt[data-jqt-theme="apple"] > div.actionsheet > div.actionchoices > * {
    margin-top: 25px;
}*/

#jqt:not([data-jqt-theme]) > div.actionsheet > div.actionchoices > .dismiss,
#jqt[data-jqt-theme="jqtouch"] > div.actionsheet > div.actionchoices > .dismiss,
#jqt[data-jqt-theme="vanilla"] > div.actionsheet > div.actionchoices > .dismiss,
#jqt[data-jqt-theme="apple"] > div.actionsheet > div.actionchoices > .dismiss {
    /*margin-top: 25px;*/
}

#jqt:not([data-jqt-theme]) > div.actionsheet > div.actionchoices::before,
#jqt[data-jqt-theme="jqtouch"] > div.actionsheet > div.actionchoices::before,
#jqt[data-jqt-theme="vanilla"] > div.actionsheet > div.actionchoices::before,
#jqt[data-jqt-theme="apple"] > div.actionsheet > div.actionchoices::before {
    display: block;
    position: relative;
    height: 10px;
    content: "";
    /*border-top: 1px solid #CCC;*/
    width: 100%;
}

#jqt:not([data-jqt-theme]) > div.actionsheet > div.actionchoices > fieldset > div,
#jqt[data-jqt-theme="jqtouch"] > div.actionsheet > div.actionchoices > fieldset > div,
#jqt[data-jqt-theme="vanilla"] > div.actionsheet > div.actionchoices > fieldset > div,
#jqt[data-jqt-theme="apple"] > div.actionsheet > div.actionchoices > fieldset > div {
    color: white;
    margin: 0px 20px 6px 20px;
    text-align: center;
}

/* temp solution until we have a theme-base extension mechanism in place */
#jqt > div.actionsheet > div.actionchoices {
    padding-bottom: 8px;
}

/*#jqt > div.actionsheet > div.actionchoices > div,
#jqt > div.actionsheet > div.actionchoices > fieldset > div {
    display: block;
    font-weight: normal;
    margin: 10px 20px;
    text-align: center;
    text-decoration: inherit;
    background-image: none;
    background-color: rgba(255, 255, 255, 0.95);
    color: #777;
    text-shadow: none;
    font-size: 1em;
    line-height: 1.7em;
    padding: 15px 15px;
}*/

#jqt > div.actionsheet > div.actionchoices > a,
#jqt > div.actionsheet > div.actionchoices > fieldset > a {
    font-size: 20px;
    line-height: 44px;
    color: #707070;
}
/*#jqt > div.actionsheet > div.actionchoices > fieldset > a > span {*/
    /*font-size: 17px;*/
/*}*/
#jqt > div.actionsheet > div.actionchoices > fieldset > a > i {
    font-size: 24px;
    line-height: inherit;
}
#jqt > div.actionsheet > div.actionchoices > a,
#jqt > div.actionsheet > div.actionchoices > fieldset > a,
#jqt > div.actionsheet > div.actionchoices > div,
#jqt > div.actionsheet > div.actionchoices > fieldset > div {
    margin: 0 8px 0 8px;
    border-radius: 12px;
}

#jqt > div.actionsheet > div.actionchoices > fieldset > a,
#jqt > div.actionsheet > div.actionchoices > fieldset > div {
    border-radius: 0;
}

#jqt > div.actionsheet > div.actionchoices > fieldset > a {
    border: 0 solid transparent;
    border-bottom: 1px solid #e6e6e6;
}

#jqt > div.actionsheet > div.actionchoices > fieldset > a:first-of-type, #jqt > div.actionsheet > div.actionchoices > fieldset > a.firstActionButton{
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    /*border-top: 1px solid #e6e6e6;*/
}

#jqt > div.actionsheet > div.actionchoices > fieldset > a:last-of-type, #jqt > div.actionsheet > div.actionchoices > fieldset > a.lastActionButton {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: 0 solid transparent;
}


#jqt > div.actionsheet > div.actionchoices > fieldset .caution {
    color: #fd472a;
}

#jqt > div.actionsheet > div.actionchoices > .dismiss {
    margin-top: 8px;
    margin-bottom: 0;
    border: none;
    background-color: #f4f4f4;
    color: #707070;
    font-size: 20px;
    font-weight: bold;
}

#jqt > div.actionsheet > div.actionchoices > .dismiss:active,
#jqt > div.actionsheet > div.actionchoices > .dismiss.active {
    background-color: #dcdcdd;
}
#jqt > div.actionsheet > div.actionchoices > fieldset > a.actionDisabled{
    color: lightgrey;
    pointer-events: none;
    cursor: not-allowed;
}
#jqt > div.actionsheet > div.actionchoices > fieldset > a.actionDisabled span{
    color: lightgrey !important;
    /*pointer-events: none;*/
}
/* @end group Action Sheet */
