:root {
    --weduc-primary-colour: '#00B1B0';
    --weduc-secondary-colour: '#cccccc';
    --weduc-background-colour: #fff;
}
/** Global Styling */
.wd-hidden {
    display: none;
}

.wd-mb-1 {
    margin-bottom: 5px !important;
}

.wd-mb-3 {
    margin-bottom: 5px !important;
}

.wd-mb-5 {
    margin-bottom: 5px !important;
}

.wd-w-100 {
    width: 100%;
}

/* Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.wd-spin {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

/** Full Calendar Styling */
.weduc-fc {
    background-color:white;
    padding:10px;
    border-radius: 5px;
    width: 100% !important;
    font-family: 'arial';
}

/** River Feed Styling */

.weduc-loading-button {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.weduc-loading-button button {
    background-color: var(--weduc-primary-colour);
    color:white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.river-feed {
    background-color:rgba(230,230,230,0.49);
    padding:10px;
}

.river-post {
    padding: 10px;
    background-color: white;
    border-radius: 3px;
    /*margin-bottom: 5px;*/
    max-width: 700px;
    margin: 0 auto 10px;
}

.river-post .river-header {
    display: flex;
    flex-direction: row;
}

.river-post .avatar {
    align-self: center;
}

.river-post .avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

/*.river-post .river-title-container {*/
/*    margin-left: 8px;*/
/*}*/

.river-post .river-title-container .river-title {
    font-weight: 500;
    margin-bottom: 0px;
}

.river-post .river-title-container .river-sig {
    color: #6c757d!important;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0px;
}

.river-post .river-content{
    margin-top: 10px;
    margin-bottom: 10px;
}

.river-post .river-content img{
    border-radius: 3px;
    max-width: 100%;
}

.river-post .river-content .river-background {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    border-radius: 3px;
}

.river-post .river-content .river-background span {
    text-align: center;
    align-self: center;
    margin: 0 auto;
}

.river-post .river-media {
    column-gap: 0.75rem;
}

.river-post .river-media .card {
    box-shadow: rgb(0 0 0 / 16%) 0px 1px 4px;
    margin-top: 5px;
}

.river-post .river-media-1 {
    column-count: 1;
}

.river-post .river-media-2 {
    column-count: 2;
}

.river-post .card-embed {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 3px;
}

.river-post .card-embed iframe {
    border-radius: 3px;
    border: none;
}

.river-post .river-media .card-file {
    display: flex;
    flex-direction: column;
    border-radius: 3px;
}

.river-post .river-media .card-file a {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    color: #7A7A7A;
    text-decoration: none;
    font-size: 16px;
}

.river-post .river-media .card-file .card-file-logo {
    margin-top:10px;
}

.river-post .river-media .card-file .card-file-logo img {
    width: 56px;
    height: 56px;
}

.river-post .river-media .card-file .card-file-logo, .river-post .river-media .card-file .card-file-body {
    align-self: center;
}

.river-post .river-media img {
    border-radius: 3px;
    cursor: pointer;
}

.river-post .embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 3px;
}

.river-post .embed-responsive video {
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/** LightBox */

.wd-modal {
    position: fixed;
    z-index: 100000;
    padding: 10px 62px 0px 62px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.wd-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    padding: 50px 0 0 0;
    width: 80%;
    max-width: 1200px;
}

.wd-slide {
    display: none;
    text-align: center;
}

.wd-image-slide {
    max-width: 100%;
}

.wd-close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.wd-close:hover,
.wd-close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.wd-previous,
.wd-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.wd-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.wd-previous:hover,
.wd-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.wd-modal-article {
    background-color: white;
    padding: 20px;
}

/******************
Notices
*******************/
.weduc-top-notice {
    position: absolute;
    top:20%;
    right:10%;
    background-color: var(--weduc-primary-colour);
    padding: 0 10px 10px;
    border-radius: 5px;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    z-index: 10;
}

.weduc-top-notice .notice-close {
    width: 100%;
    text-align: right;
    display: inline-block;
    font-size: 35px;
    line-height: 30px;
}

.weduc-top-notice .notice-title {
    font-weight: bold;
}

.notice-close-btn:hover,
.notice-close-btn:focus {
    color: #ccc;
    text-decoration: none;
    cursor: pointer;
}

/**
Digital Library
*/
.weduc-files {
    list-style: none !important;
    border-radius: 5px;
    padding: 0 !important;
}
.weduc-files .weduc-files-item {
    padding: 10px 10px;
}

.weduc-files-item a:link, .weduc-files-item a:visited {
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7em;
    display: inline-block;
    padding: 16px 30px 16px 50px;
    color: #f7f5ff;
    border-radius: 40px;
    background-color: var(--weduc-primary-colour);
}

.weduc-files-item a:before {
    content: "\f15b";
    line-height: inherit;
    font-size: inherit;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
    font-family: 'FontAwesome';
    font-weight: 400;
    text-decoration: none;
    padding-right: 10px;
}

.weduc-files.black-text .weduc-files-item a:link,
.weduc-files.black-text .weduc-files-item a:visited,
.weduc-files.black-text .weduc-files-item a:before  {
    color: #000000;
}

.weduc-files.secondary-text .weduc-files-item a:link,
.weduc-files.secondary-text .weduc-files-item a:visited,
.weduc-files.secondary-text .weduc-files-item a:before {
    color: var(--weduc-secondary-colour);
}