﻿.grid-stack-item-content .dropdown-menu {
    color: black;
}

.grid-stack-item-content .tileIcon {
    position: absolute;
    top: calc(20%);
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 5em;
}

.grid-stack-item-content.tileIconTight .tileIcon {
    top: 50%;
    font-size: 8em;
    transform: translateY(-50%);
}


.grid-stack-item-content .tileIconSmall {
    position: absolute;
    top: calc(25%);
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 3em;
}

.grid-stack-item-content.tileIconTight .tileIconSmall {
    top: 50%;
    font-size: 4em;
    transform: translateY(-50%);
}

.grid-stack-item-content:hover {
    color: white;
}

.grid-stack-item-content .tileLabel {
    position: absolute;
    bottom: 0;
    left: 0.5em;
    right: 0.5em;
    font-size: 120%;
}

.grid-stack-item-content .upperTitle {
    font-size: 120%;
}


.grid-stack-item-content span.count {
    position: absolute;
    top: calc(100% - 2.5em);
    left: calc(100% - 2.5em);
    margin-right: 1em;
    padding: 0.5em;

}

.grid-stack-item-content a.tileUpperRight {
    position: absolute;
    top: 0.3em;
    left: calc(100% - 1.3em);
    z-index: 100;
    color: inherit;
}

.carousel-caption {
    bottom: auto;
}

.grid-stack-item-content {
    background-color: #006FAD;
    color: #CAE8F9;

}

.grid-stack-item-content-2 {
    background-color: white;
    /*background-color: #006FAD;
    color: #CAE8F9;*/
    color: #0366d6;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
    background-color: white;
    height: 100%;
    position: relative;
    padding: 0 2px;
}

.grid-stack-item-content-2 img {
    height: 140px;
}


.tileHeaderIcon {
    margin-right: 1em;
}

.dashboard-carousel-tile {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.dashboard-carousel-tile .dashboard-carousel,
.dashboard-carousel-tile .dashboard-carousel-inner {
    height: 100%;
}

.dashboard-carousel-tile .carousel-caption {
    top: 1em;
    right: 50px;
    bottom: 3.75em;
    left: 50px;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.dashboard-carousel-tile .tileSlide {
    position: relative;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding-bottom: 1.5em;
}

.dashboard-carousel-tile .tileSlide:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2.5em;
    pointer-events: none;
    background: linear-gradient(rgba(0, 111, 173, 0), #006FAD);
}

.dashboard-carousel-tile .tileLabel,
.dashboard-carousel-tile .carousel-indicators,
.dashboard-carousel-tile .carousel-play {
    z-index: 110;
}

.dashboard-carousel-tile .carousel-indicators {
    bottom: 0.8em;
    margin-bottom: 0;
}

.dashboard-carousel-tile .carousel-play {
    bottom: 0.35em;
}

.tileSlide .header, .tileSlide h1, .tileSlide h2, .tileSlide h3, .tileSlide h4, .tileSlide h5, .tileSlide h6 {
    font-size: large;
    color: white;
}

.tileSlide a {
    color: #f9f40c;
}

.tileList {
    list-style-type: none;
    color: white;
}

.tileList a {
    color: #f9f40c;
}

#NewsModal .modal-dialog {
    /*width: 50% !important;
        margin-left: auto;
        margin-right: auto;*/
    max-width: 800px;
}

#NewsModal .modal-dialog .container {
    max-width: 100%;
    padding: 0px;
}

.important-notice-separator {
    border-top: 1px solid #ddd;
    margin: 14px 0;
}

.important-notice-item h4 {
    align-items: baseline;
    display: flex;
    gap: 12px;
    margin-top: 0;
}

.important-notice-title {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 92px);
    overflow-wrap: anywhere;
}

.important-notice-date {
    color: #333333;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    white-space: nowrap;
}

.important-notice-item > :last-child {
    margin-bottom: 0;
}

#NewsModal .news-list-title {
    margin-bottom: 15px;
}

#NewsModal .news-section-incidents {
    margin-bottom: 0;
}

#NewsModal .news-section-incidents .news-section-label {
    margin: 0 15px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a5a00;
}

#NewsModal .news-section-rector {
    margin: 10px 15px;
    border: 1px solid #b8daff;
    border-left: 4px solid #31708f;
    background-color: #e7f3ff;
}

#NewsModal .news-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    border: 0;
    background: transparent;
    color: #31708f;
    text-align: left;
    transition: background-color 0.2s;
}

#NewsModal .news-section-toggle:hover,
#NewsModal .news-section-toggle:focus {
    background-color: #d1ecf1;
    text-decoration: none;
    outline: none;
}

#NewsModal .news-section-toggle-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

#NewsModal .news-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    background-color: #31708f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

#NewsModal .news-section-toggle-icon {
    margin: 0;
    transition: transform 0.2s;
}

#NewsModal .news-section-toggle[aria-expanded="true"] .news-section-toggle-icon {
    transform: rotate(180deg);
}

#NewsModal .news-section-rector .collapse.in {
    border-top: 1px solid #b8daff;
}

#NewsModal .news-section-rector .news-item + .news-item {
    border-top: 1px solid #b8daff;
}

#NewsModal .news-item {
    margin-bottom: 0;
    padding: 8px 0;
}

#NewsModal .news-item-incident {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    border: 1px solid #f0d9a7;
    border-left: 4px solid #c98a13;
    border-radius: 0;
    background-color: #fff8e8;
}

#NewsModal .news-section-incidents + .news-item,
#NewsModal .news-section-rector + .news-item,
#NewsModal .news-list > .news-item + .news-item {
    border-top: 1px solid #ddd;
}

#NewsModal .news-item-incident .news-content {
    color: #4f4432;
}

#NewsModal .news-content {
    padding: 6px 15px;
}

#NewsModal .news-content > :first-child {
    margin-top: 0;
}

#NewsModal .news-item-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

#NewsModal .news-item-title {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 92px);
    overflow-wrap: anywhere;
}

#NewsModal .news-item-date {
    flex: 0 0 auto;
    color: #333333;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    white-space: nowrap;
}

#NewsModal .news-body > :last-child {
    margin-bottom: 0;
}

#NewsModal .news-content:before, .news-item .news-content:after {
    content: "";
    display: table;
}

#NewsModal .news-content:after {
    clear: both;
}

@media (max-width: 767px) {
    .important-notice-item h4 {
        gap: 8px;
    }

    .important-notice-title {
        max-width: calc(100% - 84px);
    }

    #NewsModal .news-item-heading {
        gap: 8px;
    }

    #NewsModal .news-item-title {
        max-width: calc(100% - 84px);
    }

    .grid-stack-item-content .tileIcon {
        font-size: 7em;
    }

    .grid-stack-item-content .tileLabel {
        font-size: 1.5em;
    }

    .grid-stack-item-content .upperTitle {
        font-size: 1.5em;
    }

    .grid-stack > .grid-stack-item > .grid-stack-item-content {
        overflow-y: hidden;
    }

    .dashboard-carousel-tile .carousel-caption {
        top: 0.75em;
        right: 2em;
        bottom: 4.25em;
        left: 2em;
    }

    .dashboard-carousel-tile .tileSlide .header,
    .dashboard-carousel-tile .tileSlide h1,
    .dashboard-carousel-tile .tileSlide h2,
    .dashboard-carousel-tile .tileSlide h3 {
        font-size: 1.15em;
    }
}

.carousel-caption {
    left: 50px;
    right: 50px;
    text-align: left;
}

.moveCursor {
    cursor: move;
}

.VeryDarkBg {
    background-color: black;
}

@media (min-width: 767px) and (max-width: 1199px) {


    .grid-stack-item-content .tileLabel {
        font-size: unset;
    }

    .grid-stack-item-content .upperTitle {
        font-size: unset;
    }
}


@media (min-width: 767px) and (max-width: 992px) {


    .grid-stack-item-content .tileIconSmall {
        font-size: 2.5em;
    }
}

/*.tileSlide {
        cursor: pointer;
    }*/

.top-50 {
    margin-top: 50px;
}


.tooltip.top-left .tooltip-arrow {
    bottom: -5px;
    left: 5px;
    border-width: 5px 5px 0;
    border-top-color: black;
}

.tooltip.top-right .tooltip-arrow {
    bottom: -5px;
    right: 5px;
    border-width: 5px 5px 0;
    border-top-color: black;
}

.tooltip.bottom-left .tooltip-arrow {
    top: -5px;
    left: 5px;
    border-width: 0 5px 5px;
    border-bottom-color: black;
}

.tooltip.bottom-right .tooltip-arrow {
    top: -5px;
    right: 5px;
    border-width: 0 5px 5px;
    border-bottom-color: black;
}

.testHeight {
    height: 700px;
}

.NewsTable td {
    border: none !important;
    padding: 0 !important;
}

.NewsTable tr :first-child {
    padding-left: 10px !important;
}

.notOnXs {
    display: block;
}

@media (max-width: 640px) {
    .notOnXs {
        display: none;
    }
}

.appsContainer {
    display: block;
    border: 1px solid #006FAD;
    box-shadow: 2px 2px #006FAD;
    border-radius: 2px;
    margin-left: -15px;
    margin-right: -15px;
    padding-bottom: 15px;
}

.hoverableCol:hover {
    box-shadow: 0px 0px 3px 3px lightgray;
    border: 1px solid darkgray;
}

.hoverableCol2:hover {
    box-shadow: 0px 0px 3px 3px #006FAD;
}


.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.homeTile {
    display: block;
    /*margin-left: -15px;*/
    margin-right: -15px;
    padding-bottom: 15px;
    height: 100px;
    background-color: #006FAD;
    position: relative;
    margin-bottom: 15px;
}

.homeTileText {
    width: 100%;
    font-size: 18px;
    color: #CAE8F9;
    font-weight: bold;
}

.homeTile:hover {
    box-shadow: 0px 0px 3px 3px lightgray;
    border: 1px solid darkgray;
}

.homeTile:hover .homeTileText {
    color: white;
}

.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.videoContainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
