:-moz-focusring {
    outline: none !important;
    /*color: transparent !important;*/
    /*text-shadow: 0 0 0 #000 !important;*/
}

/* select drop arrow fix hack (firefox) */
.select-wrapper {
    position: relative;
    flex-grow: 1;
}

.select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 20px !important;
}

.select-wrapper select ~ svg {
    position: absolute;
    right: 8px;
    top: 12px;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

/*.select-wrapper::after {*/
    /*content: '\f0dd';*/
    /*font-family: FontAwesome !important;*/
    /*display: block;*/
    /*position: absolute;*/
    /*top: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    /*line-height: 32px;*/
    /*padding-right: 6px;*/
    /*pointer-events: none;*/

/*}*/

.btn {
    background-color: #dcdcdc;
}

.form-control {
    padding: .375rem !important;
}

.btn.btn-primary-lens {
    color: white !important;
}

nav[aria-label="breadcrumb"] {
    display: block !important;
}

nav[aria-label="breadcrumb"] > ol {
    background: none !important;
    margin: 0 !important;
    /*font-size: 0.8em !important;*/
    padding: 0 0 10px 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\00BB" !important; /* equivalent of the >> unicode character */
}

/*@media (min-width: 1200px) {*/
/*.container,*/
/*.main-nav-menu.fixed-menu {*/
/*max-width: 1024px !important;*/
/*}*/
/*}*/

/*@media (min-width: 992px) {*/
/*.container,*/
/*.main-nav-menu.fixed-menu {*/
/*max-width: 960px !important;*/
/*}*/
/*}*/

@media (min-width: 992px) {
    .col-lg-2-custom {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 calc(100% - 768px) !important;
        flex: 0 0 calc(100% - 768px) !important;
        max-width: calc(100% - 768px) !important;
    }

    .col-lg-10-custom {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 768px !important;
        flex: 0 0 768px !important;
        max-width: 768px !important;
    }
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-15 {
    margin-top: 15px !important;
}

.col-lg-10-custom {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.nav-lens-logo {
    height: 20px;
}

.row {
    margin: 0 !important;
}

.col-797 {
    width: 797px;
}

.col-lft {
    width: calc(100% - 797px);
}

.gutter {
    width: 15px;
    height: 15px;
}

.gutter-10 {
    width: 10px;
    height: 10px;
}

.gutter-h {
    height: 15px;
}

.gutter-w {
    width: 15px;
}

/* fix pre bootstrap 4.1 */
.flex-grow-1 {
    flex-grow: 1 !important;
}

.flex-grow-0 {
    flex-grow: 0 !important;
}

html, body {
    height: 100%;
    background: #587799; /* can prevent 'white flash' on page reload */
    min-width: 320px;
}

body {
    overflow-y: scroll; /* overlay prevent scrollbar taking width (dont work in ff), scroll always show*/
    /* scrollbar-gutter: stable; /* prevent scrollbar taking width next standard*/
}

.container {
    min-height: 100%;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.15);
}

.container.nav-container {
    box-shadow: none;
    padding: 10px !important;
}

.navbar button,
.navbar button *,
.navbar button:focus,
.navbar button *:focus {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.main-content {
    flex: 1;
}

.nav-container {
    flex-direction: row;
}

body {
    color: #959595;
    /*background: #4491cf !important;*/
    background: #587799 !important; /* Old browsers */
    /*background: -moz-linear-gradient(top, #587799 0%, #4d90c6 27%, #4092d6 50%, #579dd6 72%, #a2c8e5 100%); !* FF3.6+ *!*/
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #587799), color-stop(27%, #4d90c6), color-stop(50%, #4092d6), color-stop(72%, #579dd6), color-stop(100%, #a2c8e5)); !* Chrome,Safari4+ *!*/
    /*background: -webkit-linear-gradient(top, #587799 0%, #4d90c6 27%, #4092d6 50%, #579dd6 72%, #a2c8e5 100%); !* Chrome10+,Safari5.1+ *!*/
    /*background: -o-linear-gradient(top, #587799 0%, #4d90c6 27%, #4092d6 50%, #579dd6 72%, #a2c8e5 100%); !* Opera11.10+ *!*/
    /*background: -ms-linear-gradient(top, #587799 0%, #4d90c6 27%, #4092d6 50%, #579dd6 72%, #a2c8e5 100%); !* IE10+ *!*/
    /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#587799', endColorstr='#a2c8e5', GradientType=0); !* IE6-9 *!*/
    /*background-attachment: fixed;*/
}

.development-alert{
    /*background: #ad4949 !important;*/
    background-image: url("/static/images/test-background.png") !important;
    /*background-image: url("/static/images/unknown.png");*/
    background-repeat: repeat;
}

#development-bar {
    text-align: center;
    font-weight: bold;
    font-size: large;
    color: white;
    background: black;
}
#development-bar a {
    color: #4796ea;
}

.content-parent {
    flex: 1;
    word-break: break-all;
    background: #f9f9f9;
}

.flex-base {
    display: flex;
    /*align-items: center;*/
    /*justify-content: center;*/
    align-items: flex-start;
    justify-content: flex-start;
    text-align: center;
    /*height: 50px;*/
    /*background: #f9f9f9;*/
    /*outline: 1px solid #a2a2a2;*/
}

.section-title {
    font-size: 1.3rem;
    color: #136480;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #136480;
}

.section-paragraph-title {
    font-size: 1.0rem;
    color: #000000;
    margin-bottom: 5px;
    font-weight: 400;
}

.news-detail-title {
    font-size: 1.5rem;
    color: #136480;
    /*margin-bottom: 5px;*/

    padding-bottom: 2px;
    margin-bottom: 1rem;
    border-bottom: 2.5px solid #22637f;
    padding-top:1.5rem!important
}
.seminar-title {
    font-size: 1.5rem;
    color: #136480;
    margin-bottom: 5px;
    
}

.seminar-lecturer {
    font-size: 1.0rem;
    color: #000000;
    margin-bottom: 5px;
    font-weight: 400;
}

.seminar-date{
    font-style: italic;
}

/*temporary content style*/
.flex-base.content {
    text-align: left;
    word-break: break-word;
    font-size: 0.8rem;
    padding: 10px;
    flex: 1;
}

.lens-hr {

    font-size: 1.2rem;
    color: #136480;
    padding-bottom: 2px;
    margin-bottom: 1rem;
    border-bottom: 2.5px solid #22637f;
    padding-top:1.5rem!important

}

@media (min-width: 992px) {
    .nav-menu {
        height: 56px;
    }

    /*nav {*/
    /*display: none !important;*/
    /*}*/
}

@media (max-width: 991px) {
    body {
        padding-top: 50px;
    }

    /* for navbar */
    .nav-menu,
    #nav-menu-large,
    .banner-container {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .nav-container {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

nav.navbar {
    background: white;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    min-height: 50px;
    padding: 0;
}

nav.navbar button {
    height: 30px;
    padding-left: 0;
    padding-right: 0;
}

nav.navbar button:focus {
    /*outline: none !important;*/
}

.main-nav-menu {
    background: #136480;
}

.main-nav-menu.fixed-menu {
    position: fixed;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
    padding-bottom: 16px;
}

.main-nav-menu.fixed-menu > div.col {
    box-shadow: 0 -10px 10px 10px #00000078;
}

.nav-menu > div {
    display: flex;
}

.nav-menu .nav-menu-entry {
    display: flex;
    /*text-align: center;*/
    /*height: 50px;*/
    width: 100%;
    /*background: #136480;*/
    /*outline: 1px solid #a2a2a2;*/
    font-style: normal;
    font-weight: normal;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
}

.nav-menu .nav-menu-entry a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    box-sizing: content-box;
    /*border-top: 6px solid transparent;*/
    /*border-bottom: 6px solid transparent;*/
}

.nav-search {
    background: #136480;
    color: white;
    height: 56px;
    padding: 0 10px;
    justify-items: center;
    align-items: center;
}

.nav-menu .nav-menu-entry.active {
    background: #ffcc00;
    color: black;
}

.nav-menu .nav-menu-entry.active a {
    color: black !important;
}

.nav-menu .nav-menu-entry a,
.nav-menu .nav-menu-entry a:visited,
.nav-menu .nav-menu-entry a:hover,
.nav-menu .nav-menu-entry a:active {
    color: white;
    text-decoration: none !important;
    cursor: pointer;
}

.nav-menu .nav-menu-entry a:hover {
    /*border-bottom: 6px solid #ffcc00;*/
    box-shadow: inset 0 -4px 0 #ffcc00;
}

/* add left shadow to search form */
.nav-search::before {
    content: " ";
    display: block;
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    box-shadow: inset 10px 0 10px -10px #0000003b;
    z-index: 1;
}

.right-menu-row, .right-menu-col {
    display: flex;
    flex: auto;
}

/* menu left shadow */
.row.right-menu-row {
    position: relative;
    height: 100%;
}

.row.right-menu-row:before {
    content: " ";
    display: block;
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    box-shadow: inset 10px 0 10px -10px #0000003b;
    z-index: 1;
}

/* --- end --- */

.right-menu {
    height: initial;
    flex: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    background: #c2c6c7;
}

.right-menu .right-menu-buttons {
    padding: 13px 12px;
    text-align: center;
    display: none;
}

.right-menu .right-menu-group-title {
    color: white;
    font: bold 18px Verdena sans-serif;
    background: #6e8fb8;
    padding: 8px 12px;
    /*border-top: 1px solid white;*/
    /*word-break: break-all;*/
    word-break: break-word;
}

.right-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    word-break: break-all;
}

.right-menu ul li {
    display: flex;
    flex-direction: column;
}

.right-menu ul li a {
    font: normal 12px/1.8em Arial, Helvetica, sans-serif;
    line-height: 21px;
    /*border-top: 1px solid white;*/
    /*border-bottom: 1px solid white;*/
    color: black;
    text-decoration: none;
    padding: 6px 12px 3px 12px;
    /*text-transform: capitalize;*/
    margin-bottom: -1px; /* temporary hack for overlapping borders */
}

.right-menu ul li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.right-menu ul li a:hover {
    color: #01487e;
    font-weight: bold;
}

.right-menu ul li a.active-entry {
    background-color: lightgray;
    font-weight: bold;
}

.right-menu ul li.submenu a {
    background-color: #eee;
    padding-left: 24px;
}

.right-menu ul li.subsubmenu a {
    background-color: #fff;
    padding-left: 36px;
}

.banner {
    height: 141px;
    justify-content: space-between;
    align-items: flex-start;
    background-image: url("/static/images/banner.png");
    background-position-x: 100%;
    background-repeat: no-repeat;
    background-color: white;
}

.banner .logo {
    margin: 10px 0 0 25px;
}

.banner .login-space.to-logout {
    margin: 12px;
    color: white;
    background-color: #12637f;
    border-radius: 4px;
    padding: 1px 8px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.banner .login-space.to-login {
}

.banner .login-space.to-login a {
    color: white;
    display: inline-flex;
    padding: 10px;
    opacity: 0;
    transition: opacity .15s ease-in-out;
}

.banner .login-space.to-login:hover a {
    opacity: 1 !important;
}

.banner .login-space.to-logout a {
    text-decoration: underline !important;
    color: #fde891;
}

.banner .login-space.to-login a {
    text-decoration: none !important;
}

/* for testing purpose */
/*.content {
    min-height: 600px;
}*/

.nav-search .right-inner-addon {
    position: relative;
    width: 100%;
}

.nav-search .right-inner-addon .search-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    font-size: 18px;
    right: 0;
    height: 100%;
    pointer-events: none;
    top: 0;
    justify-content: end;
}

.nav-search .right-inner-addon .search-icon svg {
    height: 100%;
    width: auto;
    padding: 6px 0;
}

.nav-search .right-inner-addon .people-search-form-control:not(:placeholder-shown) {
    color: white !important;
}

.nav-search .right-inner-addon .people-search-form-control:not(:placeholder-shown) + .search-icon {
    color: white !important;
}

.nav-search .right-inner-addon .people-search-form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.nav-search .right-inner-addon .people-search-form-control {
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    color: white;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    padding: 3px 22px 3px 0;
    border-radius: unset;
    box-shadow: none;
}

.nav-search .right-inner-addon .people-search-form-control:focus {
    outline: none;
    border-color: unset;
    box-shadow: unset;
}

.footer-container {
    /* fixes the outline going 1px below the end of the document */
    /*margin-bottom: 1px !important;*/
}

#footer_resize {
    margin: 0 auto;
    padding: 5px 0;
    width: 100%;
    color: #959595;
    background: #01487e;
}

.h-5 {
    font: normal 11px/1.5em Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    color: white;
    border: 1px hidden gray;
    text-align: center;
}

.clr {
    clear: both;
    padding: 0;
    margin: 0;
    width: 100%;
    font-size: 0;
    line-height: 0;
}

#login-name {
    text-decoration: none !important;
    color: unset;
}

.az-container {
    display: flex;
    justify-content: center;
    /*width: 100%;*/
    padding: 15px 0 !important;
    margin: 0 -10px;
}

ul.list-group.list-group-horizontal {
    flex-direction: row;
    width: 100%;
    background: #136480;
}

ul.list-group-horizontal .list-group-item {
    display: inline-block;
    margin: 0;
    padding: 0;
    width: 25px;
    height: 40px;
    box-sizing: content-box;
    flex: 1;
    background: #136480;
    border: none;
}

ul.list-group-horizontal .list-group-item .list-group-item-letter {
    margin: 0;
    padding: 0;
    text-decoration: none;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: white;
    background: #136480;
}

ul.list-group-horizontal .list-group-item .list-group-item-letter.active-letter {
    color: black;
    background: #ffcc00;
}

ul.list-group-horizontal .list-group-item a.list-group-item-letter:hover:not(.active-letter) {
    /*color: black;*/
    /*background: #ffcc00;*/
    box-shadow: inset 0 -4px 0 #ffcc00;
}

ul.list-group-horizontal .list-group-item .list-group-item-letter.inactive-letter {
    color: #b7b7b7;
    cursor: default;
}

ul.list-group-horizontal .list-group-item:first-child {
    border-radius: 0;
}

ul.list-group-horizontal .list-group-item:not(:last-child) {
    border-right: 0;
}

ul.list-group-horizontal .list-group-item:last-child {
    border-radius: 0;
}

/*.inner-content {*/
/*width: 100%;*/
/*text-align: left;*/
/*word-break: break-word;*/
/*font-size: 0.85em;*/
/*}*/

/*.inner-content > * {*/
/*padding: 0 15px;*/
/*}*/

.inner-content .title {
    font-size: 1.8em;
}

.inner-content .text-body {
    /*font-size: 0.85em;*/
    text-align: justify;
}

.user-details {
    border-bottom: 1px dashed;
}

.address-book-entry > div:not(:last-child) {
    margin-right: 15px;
}

.address-book-entry {
    display: flex;
    flex-direction: row;
    padding-bottom: 15px;
}

.address-book-entry:not(:last-child) {
    border-bottom: 1px solid lightgray;
    margin-bottom: 15px;
}

.address-book-entry:last-child {
    padding-bottom: 0;
}

.user-image-thumbnail{
    display:inline-block;
    max-width:100%;
    height:auto;
    /*padding:4px;*/
    /*line-height:1.42857143;*/
    /*background-color:#fff;*/
    border: 1px solid #000;
    /*border-radius:4px;*/
    -webkit-transition:all .2s ease-in-out;
    -o-transition:all .2s ease-in-out;
    transition:all .2s ease-in-out;
    margin: 2px;
}


.user-image {
    width: 120px;
    height: 120px;
    background: #c2c6c7;
    box-sizing: border-box;
    flex-shrink: 0;
}

.user-image:after {
    content: " ";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-shadow: 1px 1px 0 inset black, -1px -1px 0 inset black;
    pointer-events: none;
}

.user-image img {
    width: 100%;
    height: 100%;
}

.address-book-entry .user-work-data {
    width: 240px;
    flex-shrink: 0;
}

/* bootstrap version */
.address-book-entry .row .user-work-data {
    margin-left: 10px;
    width: 200px;
}

.address-book-entry .user-data-container {
    flex-grow: 1;
}

.row.address-book-entry:not(:last-child) {
    margin-bottom: 10px !important;
}

.address-book-entry .data-title {
    display: none;
}

.address-book-entry .room-phone-list .room-type {
    width: 60px !important;
}

.address-book-entry .room-phone-list .phone-type {
    width: 60px !important;
    flex-shrink: 0;
}

.address-book-entry .contact-info {
    margin-right: 0 !important;
    font-size: 1.0em;
    font-weight: bold;
    /*margin-bottom: 5px !important;*/
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 300;
    line-height: 1.2;
    color: inherit;
}

@media (max-width: 767px) {
    .address-book-entry .user-data-container {
        margin-top: 10px;
    }

    .address-book-entry .row .user-work-data {
        width: unset;
    }

    .address-book-entry .user-info-container {
        width: 100%;
    }
    .carousel-caption h5 a {
        font-size: 0.9rem !important;
    }
}

/* end */

.address-book-entry .user-work-data .user-name {
    font-weight: bold;
    font-size: 1.1em;
}

.address-book-entry .user-work-data .user-groups .group-title {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

.address-book-entry .user-location-data {
    flex-grow: 1;
}

.address-book-entry .user-location-data .user-entity {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #236584;
    font-weight: bold;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .room-phone-list {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 5px 0;
    margin-top: 5px;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .workplace-name:first-child {
    margin-top: 15px;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .room-phone-list:not(:last-child) {
    margin-bottom: 5px;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .room-phone-list .room-phone-item {
    display: flex;
    flex-direction: row;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .room-phone-list .room-type {
    width: 80px;
    flex-shrink: 0;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .room-phone-list .room-number {
    width: 50px;
    flex-shrink: 0;
    font-weight: bold;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .room-phone-list .phone-type {
    width: 80px;
    flex-shrink: 0;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .room-phone-list .phone-number {
    flex-grow: 1;
    text-align: right;
}

.address-book-entry .user-location-data .user-rooms-phones .user-workplace .room-phone-list .phone-number .phone-suffix {
    font-weight: bold;
}

/* temporary css for dummy faces in about page*/

.page-container {
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
    word-break: break-word;
    font-size: 0.8rem;
}

.page-container .title {
    font-size: 1.3rem;
    color: #136480;
    margin-bottom: 5px;
}

.page-container .text-content {
    text-align: justify;
}

.about-faces {
    padding: 0 0 2px 0;
    margin: -10px -10px 10px -10px;
}

.about-faces .row {
    padding-right: 3px; /*2px + 1px for outline compensation...*/
}

.about-faces .col.face {
    padding: 2px 0 0 2px;
    margin: 0;
    width: 100%;
}

.about-faces .col.face img.dummy-face,
.about-faces .col.face div.random-face {
    width: 100%;
    padding-top: 100%;
    background: #ffcc00;
    box-shadow: 1px 1px 0 inset black, -1px -1px 0 inset black;
}

/* css for the main research page */

.research-container {
    text-align: justify;
}

.research-container .group-container {
    padding: 0;
}

.area-container {
    padding: 10px 0;
}

.area-container:first-child {
    padding-top: 0;
}

.area-container:last-child {
    /*border-bottom: none;*/
    margin-bottom: 15px;
}

.research-area-container {
    padding: 0;
    /*border-bottom: 1px dashed;*/
}

.research-area-container:first-child {
    padding-top: 0;
}

.research-area-container:last-child {
    border-bottom: none;
}

.research-area-container .area-list {
    margin-bottom: 15px;
}

/* custom carousel indicators*/
ol.carousel-indicators {
  position: absolute;
  bottom: 0;
  margin: 0;
  left: 0;
  right: 0;
  width: auto;
}

ol.carousel-indicators li,
ol.carousel-indicators li.active {
  float: left;
  width: 33.333%;
  height: 5px;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.carousel-control-prev {
    width: 10% !important;
}
.carousel-control-next {
    width: 10% !important;
}

ol.carousel-indicators li.active {
  background: #ffcc00;
}
/*.carousel-indicators.custom-indicators li {*/
/*    width: 10px;*/
/*    height: 10px;*/
/*    border-radius: 100%;*/
/*    margin: 0 4px;*/
/*    opacity: 0.5;*/
/*    cursor: pointer;*/
/*}*/

/*.carousel-indicators.custom-indicators li.active {*/
/*    opacity: 1;*/
/*}*/

/* home style */

.carousel-container {
    margin: -10px -10px 10px -10px;
}


#top-activity-carousel .carousel-caption {
    left: 0;
    right: 0;
    /*background: rgba(0, 0, 0, 0.5);*/
    bottom: 0;
    padding-bottom: 0;
    background: rgb(2,0,36);
    background: -moz-linear-gradient(0deg, rgba(2,0,36,0.8701855742296919) 0%, rgba(1,0,6,0.7973564425770308) 55%, rgba(0,0,3,0.48363095238095233) 84%, rgba(0,0,0,0.2231267507002801) 93%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(2,0,36,0.8701855742296919) 0%, rgba(1,0,6,0.7973564425770308) 55%, rgba(0,0,3,0.48363095238095233) 84%, rgba(0,0,0,0.2231267507002801) 93%, rgba(255,255,255,0) 100%);
    background: linear-gradient(0deg, rgba(2,0,36,0.8701855742296919) 0%, rgba(1,0,6,0.7973564425770308) 55%, rgba(0,0,3,0.48363095238095233) 84%, rgba(0,0,0,0.2231267507002801) 93%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024",endColorstr="#ffffff",GradientType=1);
}

#top-activity-carousel .control-spacer {
    margin-bottom: 20px;
}

#top-activity-carousel .carousel-caption h5 {
    margin-bottom: 0;
    text-transform: uppercase;
}

#top-activity-carousel .carousel-caption h5 a {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
}

#top-activity-carousel .carousel-caption p {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.news-container {
    /*padding: 10px 0;*//**/
    border-bottom: 1px solid lightgray;
    /*margin-bottom: 20px;*//**/

    margin: 0 -10px;
    padding: 10px;
}

.news-container:first-child {
    padding-top: 0;
}

.news-container:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* news list in home */

@media (max-width: 767px) {
    .news-container .news-image {
        /*margin-bottom: 10px;*/
        /*display: none;*/
    }
}

.news-container .news-image {
    margin-right: 10px;
    text-align: center;
}

.news-container .news-image img {
    width: 64px;
    height: 64px;
}

.news-container .news-title a {
    font-size: 1.1rem;
    /*color: #136480;*/
    text-decoration: none;
    color: black;
    font-weight: bold;
    line-height: 1;
}

.news-container .icon {
    margin-right: 4px;
}

.news-container .icon svg {
    height: 0.7rem;
}

.news-container .text {
    padding: 0;
    font-size: 0.75rem;
    text-align: left;
}

.news-container .text .valign {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.news-container .news-date {
    margin-top: 2px !important;
}

.news-container .news-date .text {
    color: gray;
}

.news-container .date-image {
    width: 64px;
    height: 64px;
    background: #136480;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    line-height: 1.2;
}

.news-container .news-image.model-seminar .date-image {
    background: #08a22b;
}

.news-container .date-image .day {
    font-size: 1.8rem;
}

.news-container .date-image .month {
    text-transform: uppercase;
    font-size: 1rem;
}

.news-container .news-date {
    text-transform: uppercase;
    color: #a2a2a2;
}

.news-container .date-image .year {
    position: absolute;
    width: 100%;
    z-index: 0;
    color: lightgray;
    text-shadow: 0.5px 0.5px 0.5px rgba(255, 255, 255, 0.75), -0.5px -0.5px 0.5px rgba(0, 0, 0, 0.75)
}

/* news style */
.news-display-container .news-title {
    font-weight: bold;
    font-size: 2em;
}

.news-display-container .news-created {
    font-size: 0.95em;
    color: gray;
}

.news-display-container .news-content {
    font-size: 1em;
    margin-top: 10px;
    text-align: justify;
}

/* event seminar style */
.seminar-year-list,
.news-year-list {
    margin: 15px -10px 0;
    padding: 0;
    background: #136480;
    color: white;
}


.seminar-year-list ul,
.news-year-list ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.seminar-year-list li,
.news-year-list li {
    list-style: none;
    display: flex;
}

.content .news-year-list a {
    color: white;
}

.seminar-year-list a,
.seminar-year-list span,
.news-year-list a,
.news-year-list span {
    color: white ! important;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
}

.seminar-year-list span,
.news-year-list span {
    opacity: 0.5;
    cursor: default;
}

.seminar-year-list a:hover,
.news-year-list a:hover {
    box-shadow: inset 0 -3px 0 #ffcc00;
    color: white;
    text-decoration: none;
}

.seminar-year-list a.active,
.news-year-list a.active {
    background: #ffcc00;
    color: #136480 ! important;
    text-decoration: none;
}

.seminar,
.news {
    margin: 0 -10px 5px;
    padding: 0 10px 5px;
    border-bottom: 1px solid #eee;
}

.seminar:first-child,
.news:first-child {
    margin-top: 5px;
}

.seminar:last-child,
.news:last-child {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.seminar .seminar-title,
.news .news-title {
    font-weight: bold;
    position: relative;
    font-size: 1.1em;
}

.seminar .date-text,
.news .date-text {
    font-style: italic;
    color: gray;
}

.row.justify-content-center div {
    flex: 1 0 1px;
    white-space: nowrap;
    max-width: 70px;
}

.seminar .grid-container {
    display: grid;
    grid-template-columns: 22px auto;
    grid-template-rows: auto;
    grid-template-areas: "user-icon user-text" "date-icon date-text" "location-icon location-text" "tag-icon tag-text";
}

.seminar .grid-container .user-icon {
    grid-area: user-icon;
}

.seminar .grid-container .date-icon {
    grid-area: date-icon;
}

.seminar .grid-container .location-icon {
    grid-area: location-icon;
}

.seminar .grid-container .tag-icon {
    grid-area: tag-icon;
}

.seminar .grid-container .user-text {
    grid-area: user-text;
}

.seminar .grid-container .date-text {
    grid-area: date-text;
}

.seminar .grid-container .location-text {
    grid-area: location-text;
}

.seminar .grid-container .tag-text {
    grid-area: tag-text;
}

.seminar .seminar-abstract,
.news .seminar-abstract {
    margin-top: 5px;
}


.news .grid-container {
    display: grid;
    grid-template-columns: 22px auto;
    grid-template-rows: auto;
    grid-template-areas: "user-icon user-text" "date-icon date-text" "tag-icon tag-text";
}


.news .grid-container .user-icon {
    grid-area: user-icon;
}

.news .grid-container .date-icon {
    grid-area: date-icon;
}

.news .grid-container .tag-icon {
    grid-area: tag-icon;
}

.news .grid-container .user-text {
    grid-area: user-text;
}

.news .grid-container .date-text {
    grid-area: date-text;
}

.news .grid-container .tag-text {
    grid-area: tag-text;
}

/* administration style */
.transparent-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* research group style  */
.research-area-description {
    margin-bottom: 25px;
}

.research-area-manager {
    margin-bottom: 5px;
    font-size: 1.0rem;
}

.research-area-manager span {
    font-weight: bold;
}

.group-content {
    margin-bottom: 0;
}

.group-content .group-name {
    font-size: 1.1rem;
    color: #136480;
    margin-bottom: 2px;
}

.group-content > li:not(:last-child) {
    margin-bottom: 25px;
}

.group-content .group-member-collapsible {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.group-content .group-member-collapsible :nth-child(1) {
    order: 3;
    margin-left: 5px;
}

.group-content .group-member-collapsible :nth-child(2) {
    order: 2;
}

.group-content .group-member-collapsible :nth-child(3) {
    order: 1;
}

.group-content .group-member-collapsible a.collapsed ~ .fa-plus-square {
    display: inline;
}

.group-content .group-member-collapsible a:not(.collapsed) ~ .fa-plus-square {
    display: none;
}

.group-content .group-member-collapsible a.collapsed ~ .fa-minus-square {
    display: none;
}

.group-content .group-member-collapsible a:not(.collapsed) ~ .fa-minus-square {
    display: inline;
}

/* research area svg style */
.area-pie {
    width: 95%;
    margin-right: 5px;
}

.area-pie svg {
    width: 95%;
    height: 95%;
}

.area-pie svg path#slice1:hover {
    fill: url(#linearGradient1-1) !important;
}

.area-pie svg path#slice2:hover {
    fill: url(#linearGradient2-1) !important;
}

.area-pie svg path#slice3:hover {
    fill: url(#linearGradient3-1) !important;
}
.area-list {
    width: 100%;
    margin-left: 5px;
}

form input,
form button,
form select {
    font-size: 1em !important;
}

form .input-group * {
    border-radius: 0 !important;
}

form .alert.alert-danger {
    border-radius: 0 !important;
}

.form-row:not(:last-child):not(.no-margin-bottom) {
    margin-bottom: 10px;
}

/* bootstrap mod form style */
.btn {
    border: none !important;
    border-radius: 0 !important;
    transition: none !important;
    padding: 7px 13px !important;
}

.btn.btn-primary-lens {
    color: #fff;
    background-color: #136480;
}

.btn.btn-primary-lens:hover,
.btn:hover {
    box-shadow: inset 0 -4px 0 #ffcc00;
}

.btn-danger:hover,
.btn-danger:active {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.custom-control.custom-checkbox.lens-checkbox > label.custom-control-label::before {
    border-radius: 0;
}

.custom-control.custom-checkbox.lens-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #136480;
}

.form-row input[type=text],
.form-row input[type=number],
.form-row select {
    border-radius: 0 !important;
    min-height: 35px; /* TODO: check if it's breaks anything else */
}

.form-row .select-entry input.select-value:not([disabled]) {
    background-color: #fff;
    cursor: pointer;
}

input:not([disabled]).jquery-datepicker,
.timepicker {
    background-color: white !important;
    user-select: none !important;
    cursor: pointer !important;
}

.jquery-datepicker::selection,
.timepicker::selection {
    background-color: transparent !important;
}

.ui-datepicker.ui-widget {
    z-index: 10 !important;
}

.wickedpicker {
    height: unset !important;
}

.wickedpicker__close {
    top: 6px !important;
    right: 0 !important;
    padding: 3px 8px !important;
}

.form-row select[multiple] {
    display: block;
    width: 100%;
    min-height: 35px;
    background: white;
    border: 1px solid #ced4da;
}

/*.form-row select[multiple] option {*/
/*padding-left: 0.375rem*/
/*}*/

.form-row select[multiple]:active,
.form-row select[multiple]:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, .25);
    outline: none;
}

.form-row textarea {
    font-size: 1em;
    border-radius: 0;
    resize: none;
}

a.formset-add.disabled {
    color: gray;
    text-decoration: none;
    cursor: default;
}

.table-fit-to-width {
    white-space: nowrap;
}

.table-expand {
    width: 99%;
}

.table-actions-ellipsis {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* tiny mce */
.mce-text, .mce-txt {
    font-family: sans-serif !important;
    font-size: 0.8rem !important;
}

.mce-panel {
    border-color: #d9d9d9 !important;
}

.mce-tinymce {
    box-shadow: none !important;
    border: 1px solid #ced4da !important;
}

.mce-top-part::before {
    content: unset !important;
}

/* pagination style */
.page-item.active .page-link {
    background-color: #136480 !important;
    border-color: #136480 !important;
}

.page-item:not(.active) .page-link {
    color: #136480 !important;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.page-item.disabled .page-link {
    color: lightgray !important;
}

.thead-dark-lens th {
    color: #f9f9f9;
    background-color:  #136480;
    border-color: #000;
}
.table-chifacosa-description {
    text-transform: lowercase;
    font-style: italic;
}

/* ra table with actions */
table.table-actions thead tr th {
    border-top: none;
    border-bottom-width: 1px;
    border-color: #ced4da;
    font-size: 1.1em;
    line-height: 1;
}

table.table-actions tbody {
    text-transform: uppercase;
}

table.table-actions th.actions {
    text-align: center;
}

table.table-actions td.actions {
    width: 0.1%;
    white-space: nowrap;
}

table.table-actions td.actions a {
    color: #136480;
}

table.table-actions tr:nth-child(2n) {
    background-color: white;
}

table.table-actions td {
    border: none;
}

/* modal dialog and button no round border fix */
.modal-content,
.btn {
    border-radius: 0 !important;
}

.modal-dialog .modal-content {
    background-color: #f9f9f9 !important;;
}

.modal-dialog .modal-header {
    background-color: #136480 !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 10px !important;
}

.modal-dialog button.close {
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    line-height: 1rem !important;
}

.modal-dialog button.close span {
    text-shadow: none !important;
    color: white !important;
}

.modal-dialog .modal-body {
    padding: 10px !important;
    min-height: 100px !important;
}

.modal-dialog .modal-footer {
    padding: 10px !important;
}

.modal-dialog .modal-footer button.btn,
.modal-dialog .modal-footer a.btn {
    font-size: 1em !important;
}

/* action message */
.action-status {
    padding: 10px !important;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid;
}

.action-status.action-success {
    background: #90ee90a1;
    border-color: #90ee90;
}

.action-status.action-error {
    background: #ff0000a1;
    border-color: #ff0000;
}

.action-status > a {
    position: absolute;
    right: 0;
    top: 0;
    line-height: 1;
    padding: 5px 7px;
    color: black;
    text-decoration: none !important;
}

/* model add dialog */
.model-add-dialog #model-search-field {
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 1em; /* Increase font-size */
    padding: 0 68px 0 12px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
    height: 35px;
    line-height: 35px;
}

.model-add-dialog .model-choice {
    /* Remove default list styling */
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: 300px;
    overflow-y: auto;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.model-add-dialog .model-choice li a {
    border: 1px solid #ddd; /* Add a border to all links */
    margin-top: -1px; /* Prevent double borders */
    padding: 0 12px; /* Add some padding */
    text-decoration: none; /* Remove default text underline */
    font-size: 1em; /* Increase the font-size */
    color: black; /* Add a black text color */
    display: block; /* Make it into a block element to fill the whole list */
    height: 35px;
    line-height: 35px;
    /* truncate long lines */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.model-add-dialog .model-choice li.last a {
    border-bottom: none;
}

.model-add-dialog .model-choice li a:focus {
    z-index: 2;
    outline: 0.2rem solid rgba(0, 123, 255, .25);
    outline-offset: -0.2rem;
}

.model-add-dialog .model-choice li a:hover:not(.header) {
    background-color: #eee; /* Add a hover effect to all links, except for headers */
}

.model-add-dialog .model-choice li.even {
    background: white;
}

.model-add-dialog .search-container {
    position: relative;
    margin-bottom: 12px;
}

.model-add-dialog .search-container::after {
    content: attr(data-content);
    display: block;
    position: absolute;
    top: 0;
    right: 10px;
    border: 0;
    height: 100%;
    line-height: 35px;
    font-size: 0.9em;
    color: gray;
}

.model-add-dialog .search-container input {
    border-radius: 0;
}

.model-add-dialog .empty-search {
    height: 300px;
}

.select-entry .input-group > .clear-select,
.select-entry .input-group > .angle-select {
    position: absolute;
    line-height: 1;
    right: 0;
    top: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 10;
}

.select-entry .input-group > .clear-select {
    padding: 12px;
}

.select-entry .input-group > .angle-select {
    padding: 12px 14px 12px 10px;
}

.select-entry .input-group > .angle-select {
    pointer-events: none;
}

.select-entry .input-group > input.select-value {
    padding-right: 35px !important;
}

/* sitemap style */
.sitemap-container .sitemap {
    flex-grow: 1;
    border-top: 1px solid #dadada;
    font-size: 0.8rem;
    padding: 10px 30px;
    background-color: #eeeeee;
    display: flex;
    justify-content: space-between;
}

.sitemap-container .sitemap .section:first-line {
    font-weight: bold;
    color: #4e4e4e;
}

.sitemap-container .sitemap .section ul {
    margin: 0;
    padding: 0;
}

.sitemap-container .sitemap .section ul li {
    list-style: none;
    padding: 3px 0;
}

.sitemap-container .sitemap .section ul li a {
    color: #4e4e4e;
    font-size: 0.95em;
}

/* temporary fix for calendar title bottom margin */
.fc-toolbar.fc-header-toolbar {
     margin-bottom: 0 !important;
}

/* dashed border around formset entries */
.formset-entries-row {
    border: 1px dashed #ced4da;
}


/* NOT FOUND STYLE*/

#status-error .status-error {

    padding-top: 20%;
}

.status-error {
  max-width: 767px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
  padding: 15px;
}


.status-error .notfound-404 h1 {
  font-family: 'Kanit', sans-serif;
  font-size: 100px;
  font-weight: 200;
  margin: 0px;
  background: linear-gradient(130deg, #cfeaef, #136480);
  color:transparent;
  -webkit-background-clip: text;
  text-transform: uppercase;
}


.status-error .forbidden-403 h1 {
  font-family: 'Kanit', sans-serif;
  font-size: 100px;
  font-weight: 200;
  margin: 0px;
  background: linear-gradient(130deg, #ef8085, #800001);
  color:transparent;
  -webkit-background-clip: text;
  text-transform: uppercase;
}


.status-error h2 {
  font-family: 'Kanit', sans-serif;
  font-size: 33px;
  font-weight: 200;
  text-transform: uppercase;
  margin-top: 0px;
  margin-bottom: 25px;
  letter-spacing: 3px;
}

.status-error p {
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: 200;
  margin-top: 0px;
  margin-bottom: 25px;
}

.content a {
    color: #136480
}

.status-error a {
  font-family: 'Kanit', sans-serif;
  color: #136480;
  font-weight: 200;
  text-decoration: none;
  border-bottom: 1px #136480;
  border-radius: 2px;
}

/* FIX popover calendar flickering */
.popover {
    pointer-events: none;
}

.lens-menu-item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    text-align: center;
}

.lens-menu-item a {
    padding-left: 1px;
    padding-right: 1px;
}

.lens-home-menu-item a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}


.separator {
    display: flex;
    align-items: center;
    text-align: center;
}
  
.separator::before,
.separator::after {
    content: '';
    flex: 1;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,.1);
}
  
.separator:not(:empty)::before {
    margin-right: .25em;
}
  
.separator:not(:empty)::after {
    margin-left: .25em;
}

.datatable-stripe-lens {
    /*background-image: linear-gradient(45deg, #e0aab4 21.43%, #ffffff 21.43%, #ffffff 50%, #e0aab4 50%, #e0aab4 71.43%, #ffffff 71.43%, #ffffff 100%);*/
    background-image: linear-gradient(45deg, #e0aab4 21.43%, #ffffff 21.43%, #ffffff 50%, #e0aab4 50%, #e0aab4 51.43%, #ffffff 51.43%, #ffffff 100%);
    background-size: 49.50px 49.50px;
}

.datatable-draft-alert{
    /*background: #ad4949 !important;*/
    background-image: url("/static/images/draft_large.png") !important;
    background-size: contain;
    /*background-image: url("/static/images/test-background.png") !important;*/
    /*background-image: url("/static/images/unknown.png");*/
    background-repeat: repeat;
}


/*.datatable-draft-alert2{*/
/*    position: relative;*/
/*    z-index: 0;*/
/*    background: white;*/
/*    display: block;*/
/*    min-height: 40%;*/
/*    min-width: 100%;*/
/*    color: yellow;*/
/*    border: 2px solid black;*/
/*    height: 200px;*/
/*}*/

/*p{margin:0}*/

.datatable-draft-alert2:after{
    content: "DRAFT";
    color: steelblue;
    font-size: 2em;
    font-weight: bold;
    /* text-align: center; */
    position: absolute;
    /*top: 50%;*/
    left: 50%;
    transform: translate(-50%, 0%);
    opacity:0.3
}

/* diplay link news in carousel over the next/previous buttons */
/* .carousel-item .carousel-caption {
    z-index: 1;
} */
.carousel-item {
    perspective: none !important; 
}