/*
 * Base structure
 */

body {
    padding-top: 104px;
    background-color: #ebedef;
    font-family: 'Roboto', sans-serif;
    background-color: white;
}

main {
    display: flex;
    flex-direction: row;
}

main>div {
    flex: 1 1 auto;
}
main>.container {
    padding: 1.2em 2.4em;
}
.col-rel-200 {
    width: 200px;
    display: inline-block;
}

.col-fixed-200 {
    width: 200px;
    position: fixed;
    min-height: calc(100vh - 95px);
    z-index: 3;
}

.col-offset-200 {
    padding-left: 200px;
    z-index: 1;
    margin-top: -8px;
}


/*
 * Typography
 */

h1 {
    margin-bottom: 20px;
    padding-bottom: 9px;
    border-bottom: 1px solid #eee;
}


/*
 * Navbar
 */

.navbar {
    position: fixed;
    top: 0;
    z-index: 10;
    height: 52px;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

.logo-sg {
    margin-top: 1px;
    margin-left: 4px;
}

.flx-container {
    display: flex;
    padding: 6px;
    justify-content: space-between;
}

.flx-child:first-child {
    flex: 0 1 auto; /* Fix for IE11, changed from 50px*/
}

.flx-child {
    flex: 1 0 50px;
}

.flx-child:nth-child(2) {
    padding-left: 1em;
}


/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 95px;
    bottom: 0;
    left: 0;
    padding: 0 0 20px 0;
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 1px solid #ddd;
    /* Scrollable contents if viewport is shorter than content. */
    display: flex;
    flex-direction: column;
    background-color: #ebedef;
}

.sidebar-menu {
    flex: 1 1 auto;
}
.sidebar-links {
    margin-bottom: 1em;     /*fix march 4 2019*/
    opacity: 0.8;     /*fix march 4 2019*/
}
.sidebar-links div {
    line-height: 2;     /*fix march 4 2019*/
}
.sidebar-links a {
    opacity: 0.8;     /*fix march 4 2019*/
}
.sidebar-links a:hover {
    color: inherit;     /*fix march 4 2019*/
}
.sidebar-options {
    flex: 0 0 50px;
}

.content-sidebar {
    background: white;
    margin: 0 1em 1em 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.sidebar hr.divider {
    margin: 5px 15px;
    border-color: #d5d5d6;
}


/* Sidebar navigation */

.sidebar .nav {
    margin-bottom: 5px;
}

.sidebar .nav-link {
    font-size: 1.33rem;
    font-weight: normal;
    vertical-align: middle;
}

.nav-link {
    color: #000;
    opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
    opacity: 1;     /*fix march 4 2019*/
}

.nav-link.active,
.nav li .nav-link.active:hover,
.nav-link.active:focus {
    cursor: default;
    font-weight: bold;
    background-color: transparent;    /*fix march 4 2019*/
}

.nav li .nav-link:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.nav-link img {
    margin-right: 1rem;
}


/* set default svg color and styling */

.nav-link {
    fill: #808080;
    display: flex !important;
    align-items: center;
}

.nav-link svg {
    fill: #808080;
    margin-right: 1rem;
}


/* colorize svg properly (only for inline svg) */

.nav-link.active path,
.nav-link.active ellipse,
.nav-link.active polygon,
.nav-link.active rect,
.nav-link.active circle {
    fill: #ca4f18;
}


/*
 * Actionbar
 */

.actionbar {
    position: fixed;
    top: 52px;
    z-index: 5;
    vertical-align: top;
    height: 43px;
    line-height: 33px;
    padding: 5px 0;
    width: 100%;
    background-color: #f8f6f4;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.32);
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.actionbar-buttons {
    flex: 0 0 200px;
    padding: 0 24px;
}

.actionbar-buttons .btn {
    padding: 3px 12px;
    line-height: 0.8em;
}

.actionbar-title {
    flex: 1 1 auto;
    padding: 0 1em;
}

.actionbar-title .crumb {
    font-size: 0.92857em;
    color: #626262;
}

.actionbar-title .crumb:first-child {
    text-transform: uppercase;
    font-weight: bold;
}

.crumb+.crumb {
    padding-left: 0.5em;
}

.crumb+.crumb::before {
    content: "/";
    display: inline-block;
    padding-right: 0.5em;
}


/*
 * File browser
 */

.filebrowser {
    min-height: calc(100vh - 100px);
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
}

.content {
    padding: 1.2em;
    background-color: #fff;
}

.fb-head {
    position: fixed;
    right: 0;
    z-index: 3;
    top: 95px;
    left: 200px;
    width: fill;
    background-color: #f7f7f7;
    color: #4a4a4a;
    font-size: 1.1rem;
    font-weight: normal;
    padding: 0.3em 0.3em;
    border-bottom: 1px solid #dedede;
}

.fb-head.ctx-actions {
    background-color: #7c8894;
    color: white;
}

.actions a {
    padding: 1em;
    color: #fff;
    font-size: 1.25rem;
}

.fb-body {
    padding-top: 3em;
    padding-left: 0;
    margin-bottom: 0;
}

.fb-row {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    line-height: 2.2em;
}

.fb-head .fb-row {
    padding: 0.5em 0.75em;
}

.fb-body .fb-row {
    padding: 0.75em;
    border-bottom: 1px solid #dedede;
}

.fb-body .fb-row:hover {
    background-color: #eee;
    cursor: pointer;
}

.fb-body .fb-row:last-child {
    border-bottom-width: 0;
}

.fb-row>.fb-col {
    justify-content: flex-start;
}

.fb-col.cbx {
    flex: 0 0 40px;
}

.fb-col:not(.cbx) {
    padding: 0 1em 0 0;
}

.fb-col.name {
    flex: 1 0 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fb-col.date {
    flex: 0 0 110px;
}

.fb-col.size {
    flex: 0 0 150px;
}

.fb-col.shared {
    flex: 1 0 120px;
}

/* table sort styles */
.fb-col.sortable,
th.sortable {
    cursor: pointer;
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}
.fb-col.sort_asc::after,
.fb-col.sort_desc::after,
th.sort_asc::after,
th.sort_desc::after {
    font-family: "FontAwesome";
    font-size: 0.8em;
}
.fb-col.sort_asc::after,
th.sort_asc::after {
    content: " \f0d8";
}
.fb-col.sort_desc::after,
th.sort_desc::after {
    content: " \f0d7";"
}
.fb-head.ctx-actions .name,
.fb-head.ctx-actions .date,
.fb-head.ctx-actions .size,
.fb-head.ctx-actions .shared {
    display: none;
}

.fb-head.ctx-actions .actions {
    display: block;
}

.filebrowser .icon {
    position: relative;
    display: inline-block;
    margin-right: 0.5em;
}

.fb-body .fb-row a {
    color: #333;
}

.fb-body .fb-row:hover a,
.fb-body .fb-row a:hover {
    color: #000;
    text-decoration: none;
}

.icon .overlay_left,
.icon .overlay_right {
    position: absolute;
    z-index: 2;
    width: 45%;
    bottom: 0;
    transition: width 0.2s ease-out;
}

.icon .overlay_left {
    left: 0;
}

.icon .overlay_right {
    right: 0;
}

.icon .overlay_left:hover,
.icon .overlay_right:hover {
    width: 66%;
    transition: width 0.2s ease-out;
}


/*
 * Properties panel
 */

.properties-panel {
    background: #f7f7f7;
    position: fixed;
    z-index: 4;
    top: 95px;
    bottom: 0;
    right: 0;
    width: 300px;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    /* Scrollable contents if viewport is shorter than content. */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.invisible {
    right: -300px;
    -webkit-transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    transition-duration: 0.5s;
}

.properties-panel .icon {
    float: left;
    margin: 0 0.5em 0.5em 0;
}

.properties-panel hr {
    border-color: #dcdcdc;
    margin: 10px -20px;
}

.properties-panel ul.nav {
    margin: 10px -20px;
}

.fb-row.selected {
    background-color: #eef8ff;
}

.tab-flex {
    display: flex;
    flex-direction: row;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}

.tab-flex .tab {
    flex: 1 1 auto;
    text-align: center;
    color: rgba(0, 0, 0, 0.8);
}

.tab-flex .tab a {
    padding: 1em;
    color: #333;
}

.tab-flex .tab:hover {
    text-decoration: none;
    color: #000;
}

.tab-flex .tab.active {
    border-bottom: 3px solid #3B7DCC;
}

.tab-flex .tab:hover {
    border-bottom: 3px solid #7c8894;
    transition: all .2s ease-out;
}


/* Share tab */

.shared_entry {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5em;
    font-size: 0.9em;
}

.avatar {
    float: left;
    margin-right: 1em;
    flex: 0 0 2em;
    height: 2em;
    margin-top: 4px;
    border-radius: 10em;
    line-height: 2;
    text-align: center;
}

.avatar span {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.shared_person {
    flex: 1 0 50px;
}

.shared_name,
.shared_email {
    font-size: 1em;
}

.shared_email {
    line-height: 2.42em;
}

.shared_name+.shared_email {
    font-size: 0.9em;
    color: #888;
    line-height: 1.42857143;
}

.shared_access {
    flex: 0 0 64px;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-align: right; /* only works in firefox */
    padding-right: 1.6em;
    background-image: url(../images/app-chevrondown.svg);
    background-repeat: no-repeat;
    background-position: right;
}
.shared_access::-ms-expand,
.fancyselect select::-ms-expand {
    display: none;
}



/*
 * Checkboxes
 */

.cbx input {
    position: fixed;
    width: 0;
    height: 0;
    z-index: -1;
    visibility: hidden;
}

.cbx {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 3px;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
    margin-top: 2px;
}

.cbx-md {
    width: 24px;
    height: 24px;
    padding: 0 3px;
}

.cbx-sm {
    width: 18px;
    height: 18px;
    padding: 0 2px 1px;
}

.cbx-icon {
    display: inline; /* Fix for IE11, changed from block */
    visibility: hidden;
    opacity: 0;
    margin-top: -5px;
    transition: all .1s;
    /* line-height: 1.5em; */
}
.cbx-icon img {
    margin-top: -9px;   /* purely for viewing img tag with svg src */
}
input:checked+.cbx-icon {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
}

input:disabled+.cbx-icon {
    opacity: 0.4;
}

.cbx-active {
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    color: #333;
    background: transparent;
}

.cbx-active:focus,
.cbx-active:hover,
.cbx.focus {
    border-color: #66afe9;
    outline: 1px solid #f00;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
}

.selected .cbx-active,
li:hover .cbx-active {
    background-color: #fff;
}

.cbx-disabled {
    color: #ddd;
    background: #fcfcfc;
    border: 1px solid #f00;
    cursor: not-allowed;
}

.ctx-actions .cbx-icon img {
    filter: invert(100%);
}

li:hover .cbx-active img {
    filter: none;
}

/*
 * Switch
 */

.material-switch-element {
    margin-top: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.material-switch {
    float: left;
}

.switch-label {
    display: block;
    font-weight: normal;
    cursor: pointer;
}

.material-switch>input[type="checkbox"] {
    display: none;
}

.material-switch>label {
    display: block;
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 55px;
    background-color: #2a0;
}

.material-switch>label::before {
    background: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0px 0px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    content: '';
    border: 1px solid #666;
    height: 22px;
    margin-top: 0;
    position: absolute;
    opacity: 0.3;
    width: 44px;
    font-size: 0.8em;
    padding-top: 2px;
    padding-left: 0;

}

.material-switch>label::after {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
    content: '';
    height: 22px;
    left: 0;
    margin-top: 0;
    position: absolute;
    top: 0;
    transition: all 0.1s ease-in;
    width: 22px;
}


.material-switch>input[type="checkbox"]:checked+label::before {
    background: inherit;
    border: 1px solid #280;
    opacity: 0.5;
    content: "";
    color: white;
    padding-left: 5px;
    font-family: "Glyphicons Halflings";
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
    transition: padding-left 0.3s ease;
}

.material-switch>input[type="checkbox"]:checked+label::after {
    background: #fff;
    left: 22px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}

.material-switch>input[type="checkbox"]:disabled+label {
    opacity: 0.7;
    cursor: default;
}

.material-switch:hover>label::after,
.material-switch:hover>input[type="checkbox"]:checked+label::after {
    background: #f8f8f8;
}


/*
 * Secondary menu (top right user menu)
 */

#secmenu-trigger {
    cursor: pointer;
    text-decoration: none;
    color: #000;
    opacity: 0.7;
    margin: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#secmenu-trigger .fa {
    font-size: 0.7em;
    vertical-align: text-top;
    margin-top: 3px;
    margin-left: 2px;
}

#secmenu-trigger:hover,
#secmenu-trigger:active {
    /* color: black; */
    opacity: 1;
}

#secondary-menu {
    position: absolute;
    right: 8px;
    top: 36px;
    z-index: 999;
    background: #fff;
    border: 1px solid #ccc;
    border-color: rgba(0, 0, 0, .2);
    color: #000;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    outline: none;
    overflow: hidden;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-user-select: text;
    padding: 0.5em;
}

#secondary-menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    min-width: 200px;
}

#secondary-menu ul li a {
    display: block;
    padding: 0.5em 1em;
    color: #666;
}

#secondary-menu ul li a:hover {
    text-decoration: none;
    background-color: #d8e8f4;
}

/* Quota progress bar */

.progress-storgrid {
    height: 16px;
    margin: 4px 10px;
    padding: 2px;
    background-color: #c4c4c4;
    border-radius: 5px;
}

.progress-bar.used {
    background-color: #fff;
    height: 100%;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-bar.used:hover {
    background-color: #eee;
}

.progress-bar.deleted:hover {
    background-color: #777;
}

.progress-bar.deleted {
    background: #929292;
    border-left: 2px solid #8a8a8a;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.progress-bar:only-child {
    border-radius: 4px;
}

.progress-bar:first-child:not(:last-child) {
    border-radius: 4px 0 0 4px;
}

.progress-bar:last-child:not(:first-child) {
    border-radius: 0 4px 4px 0;
}



/*
 * Search box
 */

.search-box {
    -webkit-transition: width 0.6s, border-radius 0.6s, background 0.6s, box-shadow 0.6s;
    transition: width 0.6s, border-radius 0.6s, background 0.6s, box-shadow 0.6s;
    height: 32px;width: 32px;
    margin-top: 6px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    box-shadow: none;
    background-color: transparent;
}
.search-box:focus, .search-box:valid {
    -webkit-transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1), border-radius 0.6s, background 0.6s;
    transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1), border-radius 0.6s, background 0.6s;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    box-shadow: none;
    padding-left: 15px;
    cursor: text;
    width: 300px;
    border-radius: 0;
    color: #333;
}
.search-box:invalid:not(:focus) {
    text-indent: -5000px;
    width: 32px;
    border-radius: 16px;
}
.search-box:required:invalid {
    border-color: #ccc;
}

#search-box+label .search-icon,
#search-box:invalid+label+ .clear-field {
  display: none;
}
#search-box:invalid+label .search-icon {
  display: inline;
}
#search-box+label+ .clear-field {
  display: inline;
  cursor: pointer;
  margin-left: -32px;
}

.search-box+label .search-icon {
    color: #666;
    font-size: 1.05em;
}
.search-box:hover+label .search-icon {
    color: #333;
}
.search-box:focus+label .search-icon {
    color: #333;
    background: #fff;
    padding: 0.3em;
    border-radius: 0.3em;
}
#search-box::-ms-clear {
    display: none;
}
#search-submit {
    position: relative;
    left: -5000px;
}
.search-icon {
    position: relative;
    left: -28px;
    color: white;
    cursor: pointer;
}

/*
 * Modal
 */

.modal-header {
    background: white;
    border: 0;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
}

.modal-footer {
    background: white;
}

.modal-scroll .modal-body {
    max-height: 50vh;
    overflow-y: auto;
    border: 2px solid #e5e5e5;
    margin: 10px;
    background: white;
}

.modal-content {
    background: #f7f7f7;
    overflow: hidden;   /*fix march 4 2019*/
}

.modal-scroll .fb-body {
    padding-top: 0;
}



/*
 * Nonmodal (Upload popup)
 */

.nonmodal-transfer {
    position: fixed;
    z-index: 100;
    bottom: 0;
    right: 0;
    margin: 4px;
}

@media (max-width: 768px) {
    .nonmodal-transfer {
        left: 4px;
        bottom: 0;
        right: 0;
    }
}

.nonmodal-transfer .modal-content {
    background: #ebedef;
    border-radius: 6px 6px 0 0;
}

.nonmodal-transfer .modal-dialog {
    display: block;
}

.nonmodal-transfer .modal-header .timer {
    display: inline-block;
    line-height: 1.8em;
    margin-right: 1em;
}

.nonmodal-transfer .modal-body {
    max-height: 30vh;
    overflow-x: hidden;
    overflow-y: auto;
    margin-top: 1px;
}

.list-group-item .btn-circle {
    float: right;
    margin-top: 0.2em;
}

.progress.progress-inline {
    height: 4px;
    margin: 4px -15px -10px -15px;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.modal-header {
    position: relative;
}

.modal-header .progress.progress-inline {
    height: 5px;
    margin: 0;
    transition: height 0.4s ease-in;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.progress-inline .progress-bar {
    border-radius: 0;
}

.list-group.small .icon img {
    width: 2em;
    height: 2em;
}

.btn-circle {
    width: 24px;
    height: 24px;
    text-align: center;
    padding: 3px 0;
    font-size: 14px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.modal-header button[aria-expanded=true]~.progress.progress-inline {
    height: 0;
}

#transferContent[aria-expanded=false]+.modal-footer {
    display: none;
}

button .glyphicon-chevron-down {
    transition: transform 0.5s ease-out;
}

button.collapsed .glyphicon-chevron-down {
    transform: scaleY(-1);
}


/*
 * General
 */

.nopadding {
    padding: 0;
}

.nomargin {
    margin: 0;
}

.padding {
    padding: 1em;
}

.divider {
    margin: 8px 0;
}

.btn-white {
    border-radius: 6px;
    background: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    color: #808080;
    padding: 0.8em 2em;
    border-color: #e2e2e2;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
    background-color: #eee;
    border-color: #ccc;
}

button:focus {
    outline: 0;
}

.txtshadow {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.rounded {
    border-radius: 4px;
}

.med-small {
    font-size: 90%;
}


/* animation/transition overrides */

.progress-bar.active,
.progress.active .progress-bar {
    -webkit-animation: progress-bar-stripes 4s linear infinite;
    -o-animation: progress-bar-stripes 4s linear infinite;
    animation: progress-bar-stripes 4s linear infinite;
}

.collapsing {
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.fade {
    -webkit-transition-duration: 0.1s;
    -moz-transition-duration: 0.1s;
    transition-duration: 0.1s;
}


/*
 * Login
 */
main.login {
    display: block;
    text-align: center;
}

.login .content {
    width: 340px;
    margin: 0 auto;
    border-radius: 0.5em;
    padding: 1em 2em 2em 2em;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.login input[type="text"],
.login input[type="password"],
.login .btn {
    margin-top: 1em;
    height: 3em;
}

.login span.error {
    display: block;
    margin-bottom: 1em;
}

.btn-login {
    border-radius: 2px;
    background-color: #555;
    color: #eee;
    border: 0;
    height: 3em;
    transition: background-color .3s ease;
}

.btn-login:hover {
    background-color: #333;
    color: #fff;
}

/*
 * Settings pages
 */

.settings.content {
    min-height: calc(100vh - 100px);
    padding: 1.2em 2.4em;
}

.settings .input-group select+.input-group-btn .btn {
    padding: 0.4em 1em;
}

.settings .tab-content .tab-pane {
    padding: 1em;
}

/*
 * Drag and drop styling
 */

.showdroptargets li[flow-drop] {
    background-color: #efe;
}

li[flow-drop].dragging {
    background-color: #aea !important;
    border-bottom-color: #494;
}

.dragging * {
    /* disable child element interference while dragging */
    pointer-events: none;
}

/*
 * Styling fix for displaying tabs inside panels
 */

.panel.with-nav-tabs .panel-heading {
    padding: 5px 5px 0 5px;
}

.panel.with-nav-tabs .nav-tabs {
    border-bottom: none;
}

.panel.with-nav-tabs .nav-justified {
    margin-bottom: -1px;
}

/********************************************************************/
/*** PANEL DEFAULT ***/
.with-nav-tabs.panel-default .nav-tabs>li>a,
.with-nav-tabs.panel-default .nav-tabs>li>a:hover,
.with-nav-tabs.panel-default .nav-tabs>li>a:focus {
    color: #777;
}

.with-nav-tabs.panel-default .nav-tabs>.open>a,
.with-nav-tabs.panel-default .nav-tabs>.open>a:hover,
.with-nav-tabs.panel-default .nav-tabs>.open>a:focus,
.with-nav-tabs.panel-default .nav-tabs>li>a:hover,
.with-nav-tabs.panel-default .nav-tabs>li>a:focus {
    color: #777;
    background-color: #ddd;
    border-color: transparent;
}

.with-nav-tabs.panel-default .nav-tabs>li.active>a,
.with-nav-tabs.panel-default .nav-tabs>li.active>a:hover,
.with-nav-tabs.panel-default .nav-tabs>li.active>a:focus {
    color: #555;
    background-color: #fff;
    border-color: #ddd;
    border-bottom-color: transparent;
}

.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu {
    background-color: #f5f5f5;
    border-color: #ddd;
}

.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a {
    color: #777;
}

.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a:hover,
.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>li>a:focus {
    background-color: #ddd;
}

.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a,
.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a:hover,
.with-nav-tabs.panel-default .nav-tabs>li.dropdown .dropdown-menu>.active>a:focus {
    color: #fff;
    background-color: #555;
}

/********************************************************************/
/*** PANEL PRIMARY ***/
.with-nav-tabs.panel-primary .nav-tabs>li>a,
.with-nav-tabs.panel-primary .nav-tabs>li>a:hover,
.with-nav-tabs.panel-primary .nav-tabs>li>a:focus {
    color: #fff;
}

.with-nav-tabs.panel-primary .nav-tabs>.open>a,
.with-nav-tabs.panel-primary .nav-tabs>.open>a:hover,
.with-nav-tabs.panel-primary .nav-tabs>.open>a:focus,
.with-nav-tabs.panel-primary .nav-tabs>li>a:hover,
.with-nav-tabs.panel-primary .nav-tabs>li>a:focus {
    color: #fff;
    background-color: #3071a9;
    border-color: transparent;
}

.with-nav-tabs.panel-primary .nav-tabs>li.active>a,
.with-nav-tabs.panel-primary .nav-tabs>li.active>a:hover,
.with-nav-tabs.panel-primary .nav-tabs>li.active>a:focus {
    color: #428bca;
    background-color: #fff;
    border-color: #428bca;
    border-bottom-color: transparent;
}

.with-nav-tabs.panel-primary .nav-tabs>li.dropdown .dropdown-menu {
    background-color: #428bca;
    border-color: #3071a9;
}

.with-nav-tabs.panel-primary .nav-tabs>li.dropdown .dropdown-menu>li>a {
    color: #fff;
}

.with-nav-tabs.panel-primary .nav-tabs>li.dropdown .dropdown-menu>li>a:hover,
.with-nav-tabs.panel-primary .nav-tabs>li.dropdown .dropdown-menu>li>a:focus {
    background-color: #3071a9;
}

.with-nav-tabs.panel-primary .nav-tabs>li.dropdown .dropdown-menu>.active>a,
.with-nav-tabs.panel-primary .nav-tabs>li.dropdown .dropdown-menu>.active>a:hover,
.with-nav-tabs.panel-primary .nav-tabs>li.dropdown .dropdown-menu>.active>a:focus {
    background-color: #4a9fe9;
}

/********************************************************************/
/*** PANEL SUCCESS ***/
.with-nav-tabs.panel-success .nav-tabs>li>a,
.with-nav-tabs.panel-success .nav-tabs>li>a:hover,
.with-nav-tabs.panel-success .nav-tabs>li>a:focus {
    color: #3c763d;
}

.with-nav-tabs.panel-success .nav-tabs>.open>a,
.with-nav-tabs.panel-success .nav-tabs>.open>a:hover,
.with-nav-tabs.panel-success .nav-tabs>.open>a:focus,
.with-nav-tabs.panel-success .nav-tabs>li>a:hover,
.with-nav-tabs.panel-success .nav-tabs>li>a:focus {
    color: #3c763d;
    background-color: #d6e9c6;
    border-color: transparent;
}

.with-nav-tabs.panel-success .nav-tabs>li.active>a,
.with-nav-tabs.panel-success .nav-tabs>li.active>a:hover,
.with-nav-tabs.panel-success .nav-tabs>li.active>a:focus {
    color: #3c763d;
    background-color: #fff;
    border-color: #d6e9c6;
    border-bottom-color: transparent;
}

.with-nav-tabs.panel-success .nav-tabs>li.dropdown .dropdown-menu {
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.with-nav-tabs.panel-success .nav-tabs>li.dropdown .dropdown-menu>li>a {
    color: #3c763d;
}

.with-nav-tabs.panel-success .nav-tabs>li.dropdown .dropdown-menu>li>a:hover,
.with-nav-tabs.panel-success .nav-tabs>li.dropdown .dropdown-menu>li>a:focus {
    background-color: #d6e9c6;
}

.with-nav-tabs.panel-success .nav-tabs>li.dropdown .dropdown-menu>.active>a,
.with-nav-tabs.panel-success .nav-tabs>li.dropdown .dropdown-menu>.active>a:hover,
.with-nav-tabs.panel-success .nav-tabs>li.dropdown .dropdown-menu>.active>a:focus {
    color: #fff;
    background-color: #3c763d;
}

/********************************************************************/
/*** PANEL INFO ***/
.with-nav-tabs.panel-info .nav-tabs>li>a,
.with-nav-tabs.panel-info .nav-tabs>li>a:hover,
.with-nav-tabs.panel-info .nav-tabs>li>a:focus {
    color: #31708f;
}

.with-nav-tabs.panel-info .nav-tabs>.open>a,
.with-nav-tabs.panel-info .nav-tabs>.open>a:hover,
.with-nav-tabs.panel-info .nav-tabs>.open>a:focus,
.with-nav-tabs.panel-info .nav-tabs>li>a:hover,
.with-nav-tabs.panel-info .nav-tabs>li>a:focus {
    color: #31708f;
    background-color: #bce8f1;
    border-color: transparent;
}

.with-nav-tabs.panel-info .nav-tabs>li.active>a,
.with-nav-tabs.panel-info .nav-tabs>li.active>a:hover,
.with-nav-tabs.panel-info .nav-tabs>li.active>a:focus {
    color: #31708f;
    background-color: #fff;
    border-color: #bce8f1;
    border-bottom-color: transparent;
}

.with-nav-tabs.panel-info .nav-tabs>li.dropdown .dropdown-menu {
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.with-nav-tabs.panel-info .nav-tabs>li.dropdown .dropdown-menu>li>a {
    color: #31708f;
}

.with-nav-tabs.panel-info .nav-tabs>li.dropdown .dropdown-menu>li>a:hover,
.with-nav-tabs.panel-info .nav-tabs>li.dropdown .dropdown-menu>li>a:focus {
    background-color: #bce8f1;
}

.with-nav-tabs.panel-info .nav-tabs>li.dropdown .dropdown-menu>.active>a,
.with-nav-tabs.panel-info .nav-tabs>li.dropdown .dropdown-menu>.active>a:hover,
.with-nav-tabs.panel-info .nav-tabs>li.dropdown .dropdown-menu>.active>a:focus {
    color: #fff;
    background-color: #31708f;
}

/********************************************************************/
/*** PANEL WARNING ***/
.with-nav-tabs.panel-warning .nav-tabs>li>a,
.with-nav-tabs.panel-warning .nav-tabs>li>a:hover,
.with-nav-tabs.panel-warning .nav-tabs>li>a:focus {
    color: #8a6d3b;
}

.with-nav-tabs.panel-warning .nav-tabs>.open>a,
.with-nav-tabs.panel-warning .nav-tabs>.open>a:hover,
.with-nav-tabs.panel-warning .nav-tabs>.open>a:focus,
.with-nav-tabs.panel-warning .nav-tabs>li>a:hover,
.with-nav-tabs.panel-warning .nav-tabs>li>a:focus {
    color: #8a6d3b;
    background-color: #faebcc;
    border-color: transparent;
}

.with-nav-tabs.panel-warning .nav-tabs>li.active>a,
.with-nav-tabs.panel-warning .nav-tabs>li.active>a:hover,
.with-nav-tabs.panel-warning .nav-tabs>li.active>a:focus {
    color: #8a6d3b;
    background-color: #fff;
    border-color: #faebcc;
    border-bottom-color: transparent;
}

.with-nav-tabs.panel-warning .nav-tabs>li.dropdown .dropdown-menu {
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.with-nav-tabs.panel-warning .nav-tabs>li.dropdown .dropdown-menu>li>a {
    color: #8a6d3b;
}

.with-nav-tabs.panel-warning .nav-tabs>li.dropdown .dropdown-menu>li>a:hover,
.with-nav-tabs.panel-warning .nav-tabs>li.dropdown .dropdown-menu>li>a:focus {
    background-color: #faebcc;
}

.with-nav-tabs.panel-warning .nav-tabs>li.dropdown .dropdown-menu>.active>a,
.with-nav-tabs.panel-warning .nav-tabs>li.dropdown .dropdown-menu>.active>a:hover,
.with-nav-tabs.panel-warning .nav-tabs>li.dropdown .dropdown-menu>.active>a:focus {
    color: #fff;
    background-color: #8a6d3b;
}

/********************************************************************/
/*** PANEL DANGER ***/
.with-nav-tabs.panel-danger .nav-tabs>li>a,
.with-nav-tabs.panel-danger .nav-tabs>li>a:hover,
.with-nav-tabs.panel-danger .nav-tabs>li>a:focus {
    color: #a94442;
}

.with-nav-tabs.panel-danger .nav-tabs>.open>a,
.with-nav-tabs.panel-danger .nav-tabs>.open>a:hover,
.with-nav-tabs.panel-danger .nav-tabs>.open>a:focus,
.with-nav-tabs.panel-danger .nav-tabs>li>a:hover,
.with-nav-tabs.panel-danger .nav-tabs>li>a:focus {
    color: #a94442;
    background-color: #ebccd1;
    border-color: transparent;
}

.with-nav-tabs.panel-danger .nav-tabs>li.active>a,
.with-nav-tabs.panel-danger .nav-tabs>li.active>a:hover,
.with-nav-tabs.panel-danger .nav-tabs>li.active>a:focus {
    color: #a94442;
    background-color: #fff;
    border-color: #ebccd1;
    border-bottom-color: transparent;
}

.with-nav-tabs.panel-danger .nav-tabs>li.dropdown .dropdown-menu {
    background-color: #f2dede;
    /* bg color */
    border-color: #ebccd1;
    /* border color */
}

.with-nav-tabs.panel-danger .nav-tabs>li.dropdown .dropdown-menu>li>a {
    color: #a94442;
    /* normal text color */
}

.with-nav-tabs.panel-danger .nav-tabs>li.dropdown .dropdown-menu>li>a:hover,
.with-nav-tabs.panel-danger .nav-tabs>li.dropdown .dropdown-menu>li>a:focus {
    background-color: #ebccd1;
    /* hover bg color */
}

.with-nav-tabs.panel-danger .nav-tabs>li.dropdown .dropdown-menu>.active>a,
.with-nav-tabs.panel-danger .nav-tabs>li.dropdown .dropdown-menu>.active>a:hover,
.with-nav-tabs.panel-danger .nav-tabs>li.dropdown .dropdown-menu>.active>a:focus {
    color: #fff;
    /* active text color */
    background-color: #a94442;
    /* active bg color */
}

.panel.with-nav-tabs {
    margin: 0;
}

.with-nav-tabs fieldset {
    padding-bottom: 1em;
}

.responsive-list {
    max-height: 218px;
    border: 1px solid #ddd;
    overflow-y: scroll;
    padding: 6px 12px;
}

.panel .shared_entry {
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

input[type=text].datepicker {
    padding: 6px 12px;
}

.input-group.collapse {
    display: none;
}

.input-group.collapse.in {
    display: table;
}

.form-control-label {
    line-height: 2.4em;
}

.clickable {
    cursor: pointer;
}

/* Bigger default checkbox */
.checkbox {
    width: 1.3em;
    height: 1.3em;
}

/* Custom toggle (checkbox replacement) */
.custom-control {
    cursor: pointer;
    user-select: none;
    font-weight: normal;
}

.toggle-input {
    position: absolute;
    z-index: -1;
    visibility: hidden;
}

.toggle-input:checked+.toggle-control {
    background-color: #78b878;
    box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.1);
}

.toggle-input+.toggle-control {
    display: inline-block;
    position: relative;
    background-color: #ddd;
    box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 2em;
    width: 3em;
    height: 1.4em;
    color: #999;
    border-radius: 2em;
    vertical-align: text-bottom;
    margin-top: 0.5em;
    white-space: nowrap;
    cursor: pointer;
    outline: none;
    user-select: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.toggle-input+.toggle-control::after {
    position: absolute;
    content: "";
    top: 1px;
    left: 1px;
    bottom: 1px;
    width: 1.2em;
    background-color: #fff;
    border-radius: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: margin 0.2s ease;
}

.toggle-input:checked+.toggle-control::after {
    margin-left: 1.7em;
}

.toggle-input:checked~.toggle-label,
.toggle-input-2:checked~.toggle-label {
    color: #777;
    text-shadow: none;
    white-space: nowrap;
}

.toggle-input~.toggle-label,
.toggle-input-2~.toggle-label {
    color: #bbb;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: color 0.5s;
}

/* Extended table */
.ext_table {
    border: 1px solid #ccc;
    margin-top: 1em;
    border-radius: 5px;
}

.ext_table table,
.ext_table .pagination {
    margin: 0;
}

.ext_table header,
.ext_table footer {
    padding: .4em .6em;
    color: #888;
    background-color: #ebedef;
}

.ext_table header {
    border-bottom: 1px solid #ccc;
}

.ext_table footer {
    border-top: 1px solid #ccc;
}

.ext_table tbody td a {
    color: #000;
    display: block;
}

.ext_table tbody td a:hover {
    color: #48c;
}

/* Selectbox styling */
.fancyselect {
    display: inline-block;
    padding: 0;
}

.fancyselect select {
    min-width: initial;
    max-width: 300px;
    cursor: pointer;
}

.fancyselect select {
    border: 0;
    margin-right: -1.2em;
    min-width: 8em;
    padding: 6px 1.6em 6px 12px;
}

.fancyselect::after {
    content: "▾";
    font-size: 18px;
    pointer-events: none;
    line-height: 1.8em;
    position: absolute;
    top: 0;
    right: 0.3em;
}

.fancyselect {
    border: 1px solid #ccc;
    margin-left: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color .5s ease-out .1s;
}


.btn-outline-secondary {
    color: #888;
    background-color: transparent;
    background-image: none;
    border-color: #888;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #888;
    border-color: #888;
}

.btn-outline-secondary:focus,
.btn-outline-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.btn-outline-secondary.disabled,
.btn-outline-secondary:disabled {
    color: #888;
    background-color: transparent;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active,
.btn-outline-secondary:not(:disabled):not(.disabled).active,
.show>.btn-outline-secondary.dropdown-toggle {
    color: #fff;
    background-color: #888;
    border-color: #888;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

/* Required fields */
.label-required:after {
    font-family: fontAwesome;
    font-size: 0.7em;
    content: "\f069";
    vertical-align: super;
    margin-left: 0.5em;
    color: #e21;
}

input:required:invalid {
    border-bottom-color: #e21;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

input:required:valid:not([value=""])+.help-block {
    opacity: 0;
    height: 0;
    transition: 0.5s;
}

/* helper classes from bootstrap 4 */

.m-0 {
    margin: 0 !important;
}

.mt-0,
.my-0 {
    margin-top: 0 !important;
}

.mr-0,
.mx-0 {
    margin-right: 0 !important;
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
    margin-left: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.mt-1,
.my-1 {
    margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
    margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
    margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
    margin-left: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.mt-2,
.my-2 {
    margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
    margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
    margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
    margin-left: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.mt-3,
.my-3 {
    margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
    margin-right: 1rem !important;
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
    margin-left: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
    margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
    margin-left: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-5,
.my-5 {
    margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
    margin-right: 3rem !important;
}

.mb-5,
.my-5 {
    margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
    margin-left: 3rem !important;
}

.mt-10 {
    margin-top: 10em;
}

.p-0 {
    padding: 0 !important;
}

.pt-0,
.py-0 {
    padding-top: 0 !important;
}

.pr-0,
.px-0 {
    padding-right: 0 !important;
}

.pb-0,
.py-0 {
    padding-bottom: 0 !important;
}

.pl-0,
.px-0 {
    padding-left: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.pt-1,
.py-1 {
    padding-top: 0.25rem !important;
}

.pr-1,
.px-1 {
    padding-right: 0.25rem !important;
}

.pb-1,
.py-1 {
    padding-bottom: 0.25rem !important;
}

.pl-1,
.px-1 {
    padding-left: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.pt-2,
.py-2 {
    padding-top: 0.5rem !important;
}

.pr-2,
.px-2 {
    padding-right: 0.5rem !important;
}

.pb-2,
.py-2 {
    padding-bottom: 0.5rem !important;
}

.pl-2,
.px-2 {
    padding-left: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.pt-3,
.py-3 {
    padding-top: 1rem !important;
}

.pr-3,
.px-3 {
    padding-right: 1rem !important;
}

.pb-3,
.py-3 {
    padding-bottom: 1rem !important;
}

.pl-3,
.px-3 {
    padding-left: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.pt-4,
.py-4 {
    padding-top: 1.5rem !important;
}

.pr-4,
.px-4 {
    padding-right: 1.5rem !important;
}

.pb-4,
.py-4 {
    padding-bottom: 1.5rem !important;
}

.pl-4,
.px-4 {
    padding-left: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.pt-5,
.py-5 {
    padding-top: 3rem !important;
}

.pr-5,
.px-5 {
    padding-right: 3rem !important;
}

.pb-5,
.py-5 {
    padding-bottom: 3rem !important;
}

.pl-5,
.px-5 {
    padding-left: 3rem !important;
}

.m-auto {
    margin: auto !important;
}

.mt-auto,
.my-auto {
    margin-top: auto !important;
}

.mr-auto,
.mx-auto {
    margin-right: auto !important;
}

.mb-auto,
.my-auto {
    margin-bottom: auto !important;
}

.ml-auto,
.mx-auto {
    margin-left: auto !important;
}

.btn-group-xs>.btn,
.btn-xs {
    padding: 2px 8px;
    font-size: 10px;
    line-height: 1.5;
    border-radius: 3px;
}

.table-padding tr>td:first-child,
.table-padding tr>th:first-child {
    padding-left: 1em;
}

.table-padding tr>td:last-child,
.table-padding tr>th:last-child {
    padding-right: 1em;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}
.d-inline {
    display: inline;
}
.font-weight-normal {
    font-weight: 400 !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
    color: inherit;     /*fix march 4 2019*/
    opacity: 0.6;       /*fix march 4 2019*/
}

/* Whitelabel UI */
.minicolors-theme-bootstrap .minicolors-input {
    padding-left: 36px;
}

#img-upload {
    max-height: 40px;
}

.glyphicon.reset {
    float: right;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.panel-heading .btn {
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.preview.topbar {
    height: 52px;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.16);
    position: relative;
    z-index: 1;
}

.preview.topbar img {
    margin-top: 1px;
    margin-left: 4px;
}

.preview.secmenu {
    cursor: pointer;
    text-decoration: none;
    color: #000;
    opacity: 0.7;
    margin: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.preview.secmenu:hover,
.preview.secmenu:active {
    opacity: 1;
}

.preview .no-shadow {
    box-shadow: none;
}

.preview.nonmodal-transfer {
    position: relative;
    width: 100%;
    margin-top: 16px;
    z-index: 0;
}

.preview.actionbar {
    position: relative;
    top: 0;
    z-index: 0;
}

.preview.sidebar {
    position: relative;
    width: 200px;
    top: 0;
}

.preview.login .content {
    border-radius: 3px;
    border-width: 0;
    border-style: solid;
    border-color: white;
}

.preview.sidebar .nav-link.active {
    opacity: 1;
    background-color: transparent;
}

.preview .nav li .nav-link.dark:not(.active):hover,
.preview .nav li .nav-link.dark:not(.active):focus {
    background-color: rgba(0, 0, 0, 0.5);
}

.preview .search-box:focus {
    -webkit-transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1), border-radius 0.6s, background 0.6s;
    transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1), border-radius 0.6s, background 0.6s;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    box-shadow: none;
    padding-left: 15px;
    cursor: text;
    width: 50%;
    border-radius: 0;
    color: #333;
}

/* Whitelabel UI */

/* Input group fix for osx */
.input-group-md>.form-control, 
.input-group-md>.input-group-addon, 
.input-group-md>.input-group-btn>.btn {
    height: 33px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.4;
}

/* upload controls */

.file-upload {
  position: relative;
  padding: 0.5em 0.5em 0 0.5em;
  width: 100%;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid #ddd;
  background: #f5f5f5;
  overflow: hidden;
}
.file-upload input[type='file'] {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}
.file-upload:hover {
  color: #2590EB;
}
.upload-status {
    color: #7A7A7A;
    font-size: 0.9em;
    padding: 0.5em;
    margin-bottom: 20px;
}
.upload-text {
    padding: 1.5em 0 0.5em;
    font-weight: bold;
}
.file-upload-actions {
    margin-top: 2px;
    text-align: center;
}
.file-upload .alert {
    padding: 0.5em;
}
/* sharelink uploads */
.droptarget {
    background: #EBEDEF;
    border: 1px dashed #888;
    border-radius: 5px;
    height: 300px;
    overflow-y: auto;
    flex: none;
    background-image: url(../images/app-files.svg);
    background-size: 10em;
    background-blend-mode: soft-light;
    background-repeat: no-repeat;
    background-position: center;
}
