/* GENERAL */

body,
body.pushable>.pusher {
    background-color: #DDD;
}

.ui.menu.grid.header-pie {
    background-color: #f8f8f8 !important;
    margin-bottom: 0;
    border-right-width: 0;
    border-radius: 0;
}

.main-menu-pie {
    background: #FFF !important;
    border-right-width: 0 !important;
    border-radius: 0 !important;
    border-left-style: hidden !important;
    margin-left: 1px !important;
}

.main-menu-pie>.active {
    background-color: #f8f8f8 !important;
}

.secondary-menu-pie {
    background-color: #f8f8f8 !important;
    color: #FFF !important;
    background-clip: content-box;
    padding-top: 0 !important;
    padding-bottom: 24px !important;
    margin-top: -11px !important;
    margin-bottom: 0 !important;
    margin-left: 1px !important;
}

.ui.hover.dropdown.active.item
{
    border-color: #1b1c1d !important;
}

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

.no-margin-side {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.no-padding-side {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ui.stackable.grid>.wide.column.no-padding-top-bottom {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.no-padding-top-bottom {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.ui.stackable.grid .wide.column .ui.segment:first-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

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

.force-center {
    text-align: center;
}

.force-center-inside {
    text-align: center;
    margin: 0 auto !important;
}

.force-align-right {
    float: right;
    position: relative;
    margin-left: auto;
}

.force-align-left{
    text-align: left;
}

.force-align-bottom {
    position: absolute;
    bottom: 0;
}

.force-full-width {
    width: 100% !important;
}

/* a tag override */
.ui.items .item .date a,
.ui.header a,
.image.date a
{
    color: rgba(0, 0, 0, .87);
}

.scroll-events
{
    height: 200px;
    overflow-y: auto;
}

.event-date {
  width: 200px;
}

.directory-social-medias {
    line-height: 300%;
}

/* publication */
figure {
    margin: 0 !important;
    padding: 0 !important;
}

.figcaption {
    color: #999;
    font-size: 13px;
}

figcaption {
    color: #999;
    font-size: 13px;
    text-align: right;
}

.content-text iframe,
.content-text img,
.content-text table
{
    max-width: 100% !important;
}

.content-text img,
.content-text table
{
    height: auto;
}

.content-text table
{
    width: 100% !important;
}

/* NAVBAR */
.nav-logo {
    height: 77px !important;
    width: 297px !important;c.min.c
}

.nav-menu {
    padding-right: 0px !important;
    padding-top: 13px !important;
    margin-left: -15px !important;
    margin-bottom: -24px !important;
}

.ui.menu .nav-menu-item {
    border-radius: 0 !important;
    border-right-width: 0 !important;
}

.ui.menu .nav-menu-selector {
    width: auto !important;
    display: inline-block !important;
}

@media only screen and (min-width: 960px) {
    /* tablet and computer */
    .nav-menu-search-form {
        display: inherit !important;
        margin-top: -8px !important;
        margin-bottom: -7px !important;
    }
}

@media only screen and (max-width: 959px) {
    /* mobile */
    .nav-menu-search-form {
        display: inherit !important;
        width: 100%;
    }
}

.nav-menu-mobile-search {
    padding-top: 0 !important;
}

.nav-menu-mobile-sidebar {
    padding-top: 3px !important;
}

.nav-menu-search input {
    height: 34px !important;
}

.nav-menu-search .icon {
    height: 33px !important;
}

@media only screen and (min-width: 960px) {
    /* tablet and computer */
    .nav-menu-size {
        width: 500px;                      /** older browsers fixed good value **/
        width: -webkit-calc(100% - 315px); /** Safari 6, Chrome 19-25 **/
        width: -moz-calc(100% - 315px);    /** FF 4-15  **/
        width: calc(100% - 315px);
    }
}

@media only screen and (max-width: 959px) {
    /* mobile */
    .nav-menu-size {
        width: -webkit-calc(100% - 42px);  /** Safari 6, Chrome 19-25 **/
        width: -moz-calc(100% - 42px);     /** FF 4-15  **/
        width: calc(100% - 42px);
    }
}

.nav-menu-item {
    min-height: auto !important;
    background-color: #E0E1E2 !important;
    box-shadow: none !important;

}

.nav-menu-item .item {
    color: rgba(0,0,0,.6) !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
}

.secondary-menu-pie a {
    color: rgba(0,0,0,.87);
    padding: 8px 10px 10px 10px;
    line-height: 1 !important;
}

.secondary-menu-pie .dropdown a {
    color: rgba(0,0,0,.87);
    padding: 8px 0px 10px 10px;
}

.secondary-menu-pie a:hover {
    background-color: rgb(243, 243, 243);
    box-shadow: inset 0 0px 0px rgba(0,0,0,.05);
}

.sidebar .title a {
    color: rgba(255,255,255,.9);
}

.inline-search {
    flex-wrap: nowrap !important;
}

.ui.ribbon.label {
    margin-left: -1%;
}

/* FOOTER */
.footer.segment {
    margin-top: 2rem !important;
}

.pusher {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.pusher > .footer {
    flex: 1;
}

/* OTHERS */
.keep-inside {
    overflow: hidden;
}

.keep-inside img {
    max-width: 100% !important;
    object-fit: scale-down !important;
}

.ie-width-fix {
    width: 100% !important;
}

/* MEDIA */
@media only screen and (min-width: 960px) and (max-width: 1199px) {
    /* tablet */
    .nav-logo {
        height: 77px !important;
        width: 77px !important;
    }

    .nav-menu-size {
        width: 500px;
        width: -webkit-calc(100% - 95px);
        width: -moz-calc(100% - 95px);
        width: calc(100% - 95px);
    }

    .ui.pagination {
        font-size: 10px;
    }

    .masonry.grid {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .computer-only {
        display: none !important;
    }
}

@media only screen and (max-width: 960px) {
    /* mobile */
    .nav-logo {
        height: 38px !important;
        width: 38px !important;
    }

    .ui.pagination {
        font-size: 9px;
    }

    .masonry.grid {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    .computer-only {
        display: none !important;
    }
}

@media only screen and (min-width: 1200px) {
    /* computer */
    .force-justified {
        text-align: justify;
        text-justify: inter-word;
    }

    .ui.pagination {
        font-size: 12px;
    }

    .masonry.grid {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media only screen and (min-width: 960px) {
    /* tablet and computer */
    .publication-shared-buttons {
        float: right;
    }

    .mobile-only {
        display: none !important;
    }
}

.masonry.grid > .column {
min-height: initial;
overflow: hidden;
    width: 100% !important;
}

/* MASONRY GRID */
.masonry.grid {
    min-height: initial;
    overflow: hidden;
    display: block;
}

.search-input {
    width: 150px;
}
