body.ui-mobile-viewport,
div.ui-mobile-viewport {
    overflow-y: scroll;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.small {
    font-size: .8rem;
    color: #777;
}

.ui-dialog-titlebar {
    background: none;
    color: #444;
    border: none;
    border-bottom: 1px solid #B3B3B3;
    border-radius: 0;
}

.ui-dialog[aria-describedby*="Dialog"] {
    background: #fafafa !important;
    z-index: 1005
}

.ui-dialog .ui-dialog-titlebar-close {
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    border: none;
    background: none;
}

.ui-dialog .ui-dialog-titlebar-close:hover {
    opacity: 1;
}

.ui-dialog .ui-dialog-titlebar-close:before,
.ui-dialog .ui-dialog-titlebar-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 25px;
    width: 2px;
    background-color: #333;
    top: 15px;
}

.ui-dialog .ui-dialog-titlebar-close:before {
    transform: rotate(45deg);
}

.ui-dialog .ui-dialog-titlebar-close:after {
    transform: rotate(-45deg);
}

.flx-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flx-title {
    width: 20%;
}

.flx-contents {
    width: 78%;
}

#acl_keyword {
    margin: 0;
    margin-left: .5rem;
}

.btn-orange {
    background: #DE5323;
    color: #fff;
    border-radius: 3px;
    border: none;
    padding: .5rem 1rem;
    min-width: 6rem;
}

.btn-orange:hover {
    background: #f36e40;
}

.btn-close {
    background: #868686;
    color: #fff;
    border-radius: 3px;
    border: none;
    padding: .5rem 1rem;
    min-width: 6rem;
    margin: 0 1rem;
}

.btn-close:hover {
    background: #aaa;
}


.btn-bk {
    background: #555;
    color: #fff;
    border-radius: 3px;
    border: none;
    padding: .5rem 1rem;
}

.btn-bk:hover {
    background: #777;
}

.agreement {
    width: 100%;
    box-sizing: border-box;
}

.share-desc {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}


a.btn-copy {
    vertical-align: top;
    padding: 6px;
    margin-left: .2rem;
    margin-right: .2rem;
    color: #00BCD4;
    background: #fefefe;
    border: 1px solid #00BCD4;
    border-radius: 3px;
    position: relative;
    height: 30px;
    box-sizing: border-box;
    display: inline-block;
}

a.btn-copy:hover {
    background: #00BCD4;
    color: #fff;
    text-decoration: none;
}

a.btn-copy:active {
    background: #00a6bb;
    text-decoration: none;
}

.share-sns {
    justify-content: center;
    margin-top: 1rem;
}

.share-sns div {
    width: 15%;
    text-align: center;
    border-right: 1px solid #ccc;
}

input#agree-hide {
    vertical-align: top;
}

a.linkblank {
    border: 1px solid #00BCD4;
    display: inline-block;
    text-align: center;
    border-radius: 3px;
    padding: 4px 5px 0;
    background: #fefefe;
    height: 30px;
    box-sizing: border-box;
    vertical-align: top;
    color: #00BCD4;
}

a.linkblank:hover {
    background: #00BCD4;
    color: #fff;
}

.share-sns div:first-child {
    border-left: 1px solid #ccc;
}

.share-sns div a {
    display: block;
    padding: .5rem;
    font-size: 20px;
}

#sharedUrl {
    width: 220px;
    cursor: text;
}

.share-sns-tw a:hover {
    color: #1DA1F2;
}

.share-sns-fb a:hover {
    color: #3B5998;
}

.share-sns-line a:hover {
    color: #00B900;
}

.share-sns-mail a:hover {
    color: #DB4437;
}

.flx-title i {
    font-size: 12px;
    color: #666;
}

hr {
    margin: 17px 0;
}

.share-key-radio input {
    margin: 0 4px 0 0;
}

.share-p {
    margin: 1rem 0;
}

input.share-list-url {
    margin: 0;
    width: 350px;
    padding: 13px 5px;
    cursor: text;
}

.share-list-table a {
    color: #00BCD4;
}


.status-icon i {
    margin-right: 5px;
}

a.agreelink {
    color: #00BCD4;
}

th.ds-table-th2.share-link-width {
    min-width: 500px;
}

table.ds-table td {
    word-break: break-all;
}

.dialog p {
    padding: 1.5rem 0;
}

.sharedlistMobile {}

.sharedlistMobile .toggleRow,
.sharedlistMobile .shareditem {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sharedlistMobile .toggleRow {
    background: #444;
    padding: 0.5em 1em;
    border: 0.9px solid #000;
    color: #fff;
}

.sharedlistMobile .shareditem {
    padding: 1rem 0;
    border-bottom: 0.9px solid #444;
}

.sharedlistMobile .sharedname {
    width: 85%;
    font-size: 1rem;
    margin: 0;
    word-break: break-all;
}

.sharedlistMobile .status-icon {
    width: 15%;
    text-align: right;
}

.sharedlistMobile input.share-list-url {
    width: 100%;
    margin-top: .5rem;
}

.sharedlistMobile .sharedname::before {
    content: "\f055";
    font-family: Font Awesome\ 5 Free;
    font-weight: 900;
}

.sharedlistMobile input.sharedlistcheck:checked ~ .sharedname::before {
    content: "\f056";
    font-family: Font Awesome\ 5 Free;
    font-weight: 900;
}

.shareddesc {
    display: none;
}

.sharedmobile-dialog {
    overflow: visible;
    position: absolute;
}

div.ds-editor-dialog.ngdialog.ngdialog-theme-default.sharedmobile-dialog {
    padding-top: 5px;
}


.sharedlistMobile input.sharedlistcheck {
    display: none;
}

.sharedlistMobile input.sharedlistcheck:checked ~ .shareddesc {
    display: block;
    margin-top: .8rem;
    width: 100%;
}

.sharedlistMobile a.btn-copy {
    border: none;
    padding: 0 1rem;
    height: 1.5rem;
    margin: 0;
    border-radius: 0;
    font-size: 1rem;
    vertical-align: bottom;
    height: auto;
}

.sharedlistMobile a.linkblank {
    border: none;
    padding: 0 1rem;
    border-left: 1px solid #00BCD4;
    border-radius: 0;
    height: 1.5rem;
    font-size: 1rem;
    vertical-align: bottom;
    display: inline;
}

.sharedlistMobile a.btn-copy:disabled {
    color: #ccc;
    pointer-events: none;
}

.sharedlistMobile a.linkdisabled {
    color: #ccc;
    pointer-events: none;
}

.sharedlistMobile .share-list-table a.sharededit {
    border-right: 1px solid #00BCD4;
    padding-right: 1rem;
    height: 1.5rem;
    font-size: 1rem;
    vertical-align: bottom;
}

div.ds-editor-dialog.ngdialog.ngdialog-theme-default.sharedmobile-dialog .ngdialog-content {
    border: 1px solid #ddd;
    border-radius: 4px;
}

div.ui-dialog-mobile {
    width: 96% !important;
    box-sizing: border-box;
    margin: 2%;
    border-radius: 4px;
}

div.ui-dialog-mobile .flx-title,
div.ui-dialog-mobile .flx-contents {
    width: 100%;
    word-break: break-all;
}

div.ui-dialog-mobile #sharedUrl {
    width: 50%;
}

div.ui-dialog-mobile #acl_keyword {
    margin-top: .5rem;
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    padding: 1rem .5rem;
}

div.ui-dialog-mobile .btn-close {
    margin: 0 5px;
}

.shareButton {
    background: #DE5323;
    color: #fff;
    border-radius: 3px;
    border: none;
    padding: .5rem 1rem;
    min-width: 6rem;
    display: block;
    margin: 1rem auto;
    width: 50%;
}

.ui-draggable .ui-dialog-titlebar {
    border-radius: 0;
}

div.ui-dialog-mobile .share-sns div {
    width: 20%;
}

.ui-mobile label,
.ui-controlgroup-label {
    font-size: .9rem;
}

div.ui-dialog-mobile {
    font-size: .9rem;
    background: #fff;
}
div.ui-dialog span.copied-msg,
div.ui-dialog-mobile span.copied-msg,
div.shared-dialog span.copied-msg,
div.sharedmobile-dialog span.copied-msg {
    display: none;
    margin-left: 0;
    color: #0071BC;
    margin-top: .5rem;
    text-align: center;
}

.ngdialog.ngdialog-theme-default.sharedmobile-dialog .ngdialog-close:before {
    font-weight: 100;
    font-size: 50px;
    margin-top: 10px;
}

.sharedmobile-dialog .ngdialog-overlay {
    z-index: -1;
    position: fixed;
}

.shared-icon-mobile {
    position: absolute;
    color: #FF9800;
    right: 7px;
    font-size: .8rem;
}

.ui-mobile-viewport .version-info {
    display: block;
    text-align: center;
    margin: 1rem 0;
    color: #aaa;
}

div.ui-dialog-mobile .btn-orange,
div.ui-dialog-mobile .btn-close,
div.ui-dialog-mobile .btn-bk{
        min-width: 5rem;
}

div.ui-dialog-mobile a.linkblank{
    margin-left: 3px;
}

.share-permission-radio input {
    margin: 0 4px 0 0;
}

.share-permission-radio label {
    display: inline;
}

.share-permission-radio label{
    margin-right: 1rem;
}

.fa-file.share-icon{
    color: #9E9E9E;
}

.fa-folder.share-icon{
    color: #FFC107;
}

.status-message-mobile{
    padding-bottom: .5rem;
    font-size: .8rem;
    display: block;
}

.read-write-free{
    color: gray;
}

.acl-none-read-write{
    color: gray;
}

span.icon-p{
    background: #00BCD4;
    border-radius: 3px;
    padding: .1rem;
    font-size: .8rem;
    color: #fff;
    text-align: center;
    vertical-align: top;
}