.flag-icon-en {
    /* background-image: url(/static/administration/frest/fonts/flag-icon-css/flags/4x3/us.svg); */
    background-image: url(/static/administration/frest/fonts/flag-icon-css/flags/4x3/gb.svg);
}

html .app-content .content-wrapper {
    padding: 5%;
}

@media (max-width: 527px) {
    html .navbar-sticky .app-content .content-wrapper {
        padding:7vh 5%;
    }
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    z-index: -1;
}

.p-content {
    padding: 50px 5%;
}
@media (min-width: 1200px) {
    .p-content {
        padding: 50px 10%;
    }
}

.transparent-modal .modal-content {
    background: transparent;
    box-shadow: none;
    border: none !important;
}
.transparent-modal .modal-content iframe {
    border: none;
}

.action-buttons-top-right {
    position: absolute;
    top: 15px;
    right: 15px;
}

.pagination .page-item {
    background: #fff;
}

.pagination .page-item:first-of-type{
    border-top-left-radius: 0.267rem;
    border-bottom-left-radius: 0.267rem;
}

.pagination .page-item:last-of-type{
    border-top-right-radius: 0.267rem;
    border-bottom-right-radius: 0.267rem;
}

/*** Layout overwrite stuff ***/
body.layout_trans_background {
    background: transparent;
}
body.layout_trans_background .bg {
    display: none;
}
body.vertical-layout.layout_no_menu #app-content {
    margin-left: 0;
}
body.vertical-layout.layout_no_menu .header-navbar.main-header-navbar {
    left: 0;
}
/*** Layout overwrite stuff ***/

/* summernote fix */
.note-editor .note-modal-content .checkbox label::before {
    display: none;
}
.note-editor .note-modal-content .checkbox label::after {
    display: none;
}
.note-editor .note-modal-content .checkbox input[type="checkbox"] {
    display: inherit;
    margin-right: 15px;
}
.note-editor .dropdown-toggle::after {
	display: none;
}
/* //summernote fix */

/* BOOKMARK BUTTON */
.js-bookmark-action {
    z-index: 999;
    background: #dedede;
    border-radius: 500px;
    min-width: 30px;
    height: 30px;
    text-align: center;
    opacity: 0.5;
    display: inline-block;
}
.js-bookmark-action.is-bookmarked {
    opacity: 1;
}
.js-bookmark-action:hover {
    opacity: 1;
}
.js-bookmark-action i {
    font-size: 24px;
    width: 30px;
    height: 30px;
    line-height: 30px;
}
/* //BOOKMARK BUTTON */

/* LIKE BUTTON */
.js-like-action {
    z-index: 999;
    background: #dedede;
    border-radius: 500px;
    min-width: 30px;
    height: 30px;
    text-align: center;
    opacity: 0.5;
    display: inline-block;
}
.js-like-action.is-liked {
    opacity: 1;
}
.js-like-action:hover {
    opacity: 1;
}
.js-like-action i {
    font-size: 24px;
    width: 30px;
    height: 30px;
    line-height: 30px;
}
.js-like-action .like-count {
    height: 30px;
    display: inline-block;
    line-height: 30px;
    margin-right: 5px;
    float: right;
}
/* //LIKE BUTTON */

/* VCARDS */
@media (max-width: 500px) {
    .vcard {
        width: 100% !important;
    }
}
.vcard {
    height: 100%;
}
.vcard .card {
    min-height: 170px;
    /*max-height: 170px;*/
    border: 1px solid #eee;
    box-shadow: -8px 12px 18px 0 rgba(25, 42, 70, 0.13) !important;
    height: 100%;
    margin-bottom: 0;
}
.vcard .action-buttons {
    margin-top: 0.4rem;
}
.vcard .profile {
    font-size: 12px;
}
.vcard .avatar {
    border: 1px solid #eee;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    width: 90%;
    max-width: 120px;
    background-size: cover;
    background-position: center top;
    margin: 5%;
}
.vcard .avatar::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.vcard .vcard-bookmark-action {
    z-index: 999;
    background: none;
    border-radius: 0;
    width: inherit;
    height: inherit;
    text-align: inherit;
    opacity: 1;
    display: block;
}
.vcard .vcard-bookmark-action .bookmark-icon {
    font-size: 1.2rem;
    width: inherit;
    height: inherit;
    line-height: inherit;
}


.vcard .avatar .online-status.avatar-status-offline, .vcard .avatar .online-status.avatar-status-online
{
    width: 21px;
    height: 21px;
}


@media screen and (max-width: 768px)
{
    .vcard .avatar .online-status.avatar-status-offline, .vcard .avatar .online-status.avatar-status-online
    {
        width: 13px;
        height: 13px;
    }
}

@media screen and (max-width: 414px)
{
    .vcard .avatar .online-status.avatar-status-offline, .vcard .avatar .online-status.avatar-status-online
    {
        width: 24px;
        height: 24px;
    }
}

/* //VCARDS */

/* HEADER */
.header-navbar .navbar-collapse {
    display: block !important;
}
.header-navbar .bookmark-wrapper {
    width: calc(100% - 500px);
    display: inline-block !important;
}
.nav.navbar-nav {
    display: inline-block;
}
.nav.navbar-nav.bookmark-icons {
    display: flex;
}
.header-navbar .nav.navbar-nav.bookmark-icons {
    width: calc(100% - 50px);
    overflow: hidden;
    text-overflow: ellipsis;
    top: 14px;
    position: relative;
}
@media only screen and (max-width: 1199px) {
    .header-navbar .nav.navbar-nav.bookmark-icons {
        left: 30px;
    }
    .header-navbar .nav.navbar-nav .nav-item.mobile-menu {
        position: absolute;
        top: 0;
        left: 20px;
    }
}
.header-navbar .nav.navbar-nav.float-right {
    width: 500px;
    display: inline-block;
    text-align: right;
}
@media only screen and (max-width: 575px) {
    .header-navbar .nav.navbar-nav.float-right {
        width: auto;
    }
}
.header-navbar .dropdown.nav-item, .header-navbar .nav-item{
    display: inline-block;
    float: none;
}
.header-navbar .dropdown.nav-item .user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    width: auto;
}
.header-navbar .nav.navbar-nav.bookmark-icons .navbar-brand {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
}
.header-navbar .nav-search {
    vertical-align: bottom;
}
/* //HEADER */

/* DOCUMENTS TABLE */
.documents-table tr {
    border-bottom: 1px solid #ddd;
}
.documents-table td.title {
    padding-left: 0;
}
.documents-table td.size {
    text-align: center;
}
.documents-table td.action {
    text-align: right;
    padding-right: 0;
}
/* //DOCUMENTS TABLE */

/* Modal */
.modal.show#management-notification .modal-body
{
    display: flex;
    align-items: center;
}
.modal.show#management-notification .modal-body i.bx ,.modal.show .modal-body p {
    display: inline-block;
    margin-bottom:0;
}
.modal.show .modal-body .markdown-content p {
    display: block;
}

.modal.show#management-notification .modal-body i.bx {
    font-size: 45px;
    padding-right:5px;
}

#content-faq ul {
    padding: 0;
    margin: 0
}

#content-faq ul li.arrow-down {
    list-style: none;
    position: relative;
}

#content-faq ul li ul li {
    list-style: none;
    position: relative;
}

#content-faq ul ul {
    display: none
}

/* #content-faq ul li.arrow-down:before {
    border: none !important;
    content: "" !important;
    -webkit-mask-image: url('/icons/glyphicons-basic-796-set-down.svg');
    mask-image: url('/icons/glyphicons-basic-796-set-down.svg');
    position: absolute;
    top: 5px;
    right: 0px;
    width: 15px;
    height: 15px;
    left: -20px;
    padding: 0;
    margin: 0;
    vertical-align: 0;
    display: inline-block;
    color: #ffffff;
    background-color: #000000;;
}

#content-faq ul li.arrow-up:before {
    border: none !important;
    content: "" !important;
    -webkit-mask-image: url('/icons/glyphicons-basic-796-set-down.svg');
    mask-image: url('/icons/glyphicons-basic-796-set-down.svg');
    position: absolute;
    top: 5px;
    right: 0px;
    width: 15px;
    height: 15px;
    left: -20px;
    padding: 0;
    margin: 0;
    vertical-align: 0;
    display: inline-block;
    background-color: #000000;
    transform: rotate(180deg);
} */

#content-faq .search-faq {
    margin-bottom: 20px;
}


/* News Card Masonry mediaQuery */
@media (min-width:576px) {
    .card-columns {
        -moz-column-count: 2;
        column-count: 2;
    }
}
@media (min-width:992px) {
    .card-columns {
        -moz-column-count: 3;
        column-count: 3;
    }
}
