﻿/* Safari disable bounce */
body,
html {
    position: fixed;
}

button {
    background-color: #e4e4e4;
    border: solid 1px #e6e6e6;
    border-radius: 2px;
    white-space: nowrap;
    padding: 6px 8px;
}

a.button {
    display: block;
    display: inline-block;
    padding: 6px 8px;
    background-color: #e4e4e4;
    border: solid 1px #e6e6e6;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
}

    a.button:visited, a.button:hover {
        text-decoration: none;
        color: black;
    }

a.buttonlarge {
        display: block;
        padding: 20px;
}

.hidden {
    display: none !important;
}

#bodywrapper {
    /*height: 100vh;*/
    height: 100%;
    max-height: 100%;
    width: 100vw;
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.applicationheader {
    background-color: #64320e;
}

#standaloneshim {
    display: none;
}

.standalone #standaloneshim {
    display: block;
    min-height: 18px;
    max-height: 18px;
    background-color: #64320e;
}

/* toolbar / buttons */
.toolbar {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    justify-content: center;
    margin: 10px 0;
}

.toolbarbutton {
    padding: 10px 8px;
    margin: 10px;
}

@media (min-width: 768px) {
    /* Desktop styling */
    .toolbar {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -ms-flex-direction: row;
        -webkit-flex-direction: row;
        flex-direction: row;
        justify-content: flex-end;
    }

    .toolbarbutton {
        padding: 5px 8px;
    }
}

/* Carousel */
.carousel-caption {
    z-index: 10 !important;
}

    .carousel-caption p {
        font-size: 20px;
        line-height: 1.4;
    }

@media (min-width: 768px) {
    .carousel-caption {
        z-index: 10 !important;
    }
}

.body-content {
    /* iPad scrolling does not work if we have scolling on a contain that have scrolling
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    */
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    flex: 1;
}

footer p {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

.anonymouslink, .anonymouslink:visited, .anonymouslink:hover {
    text-decoration: none;
    color: black;
}

    .anonymouslink:hover {
        color: #64320e;
    }

.no-gutter {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 992px) {
    .no-guttersmall {
        padding-left: 0;
        padding-right: 0;
    }

        .no-guttersmall .row {
            margin-left: 0;
            margin-right: 0;
        }

        .no-guttersmall col-xs-1,
        .no-guttersmall .col-sm-1,
        .no-guttersmall .col-md-1,
        .no-guttersmall .col-lg-1,
        .no-guttersmall .col-xs-2,
        .no-guttersmall .col-sm-2,
        .no-guttersmall .col-md-2,
        .no-guttersmall .col-lg-2,
        .no-guttersmall .col-xs-3,
        .no-guttersmall .col-sm-3,
        .no-guttersmall .col-md-3,
        .no-guttersmall .col-lg-3,
        .no-guttersmall .col-xs-4,
        .no-guttersmall .col-sm-4,
        .no-guttersmall .col-md-4,
        .no-guttersmall .col-lg-4,
        .no-guttersmall .col-xs-5,
        .no-guttersmall .col-sm-5,
        .no-guttersmall .col-md-5,
        .no-guttersmall .col-lg-5,
        .no-guttersmall .col-xs-6,
        .no-guttersmall .col-sm-6,
        .no-guttersmall .col-md-6,
        .no-guttersmall .col-lg-6,
        .no-guttersmall .col-xs-7,
        .no-guttersmall .col-sm-7,
        .no-guttersmall .col-md-7,
        .no-guttersmall .col-lg-7,
        .no-guttersmall .col-xs-8,
        .no-guttersmall .col-sm-8,
        .no-guttersmall .col-md-8,
        .no-guttersmall .col-lg-8,
        .no-guttersmall .col-xs-9,
        .no-guttersmall .col-sm-9,
        .no-guttersmall .col-md-9,
        .no-guttersmall .col-lg-9,
        .no-guttersmall .col-xs-10,
        .no-guttersmall .col-sm-10,
        .no-guttersmall .col-md-10,
        .no-guttersmall .col-lg-10,
        .no-guttersmall .col-xs-11,
        .no-guttersmall .col-sm-11,
        .no-guttersmall .col-md-11,
        .no-guttersmall .col-lg-11,
        .no-guttersmall .col-xs-12,
        .no-guttersmall .col-sm-12,
        .no-guttersmall .col-md-12,
        .no-guttersmall .col-lg-12 {
            padding-left: 0;
            padding-right: 0;
        }

    .form-horizontal .form-group {
        margin-right: 0;
        margin-left: 0;
    }
}

.no-margin {
    margin-left: 0;
    margin-right: 0;
}



@media (max-width: 767px) {
    .container {
        margin-left: 0;
        margin-right: 0;
    }
}

.avatar {
    background-color: #BFBFBF;
    flex: 0 0 auto;
    margin: 1px;
    /*border-radius: 15rem;*/
    border-radius: 2px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    /*Ensure children img is centered*/
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
}

.avatarsmall img {
    height: 20px;
    width: 20px;
    /*border-radius: 15rem;*/
    border-radius: 2px;
}

.avatar img {
    height: 40px;
    width: 40px;
    /*border-radius: 15rem;*/
    border-radius: 2px;
}

    .avatar img.avatar-icon {
        /*height: 25px;
    width: 25px;*/
        height: 40px;
        width: 40px;
        border-radius: 0;
    }

.avatarlarge {
    height: 90px;
    width: 90px;
}

    .avatarlarge img {
        height: 90px;
        width: 90px;
        /*border-radius: 15rem;*/
        border-radius: 2px;
    }

.avatarsuperlarge {
    height: 180px;
    width: 180px;
}

    .avatarsuperlarge img {
        height: 180px;
        width: 180px;
        /*border-radius: 15rem;*/
        border-radius: 2px;
    }

.avatar a, .avatar a:visited, .avatar a:hover {
    text-decoration: none;
    color: black;
    display: block;
    /*border-radius: 15rem;*/
    border-radius: 2px;
}

    .avatar a:hover {
        background-color: red;
    }

.avatartext {
    flex: 0 0 auto;
    padding: 0;
    overflow: hidden;
    width: 45px;
    height: 45px;
    background-color: #ECECEC;
}

.pageheadercontainer {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #e2e2e2db;
    min-height: 36px;
}

.pagefirmheadercontainer {
    background-color: #46c2d4;
    /*height: 3.6rem;*/
    /*max-height: 3.6rem;*/
}

.pagetitlecontainer {
    background-color: #B5B5B5;
    height: 3.6rem;
    max-height: 3.6rem;
}

.pageheader--firm {
}

    .pageheader--firm h1 {
        font-size: 1.8rem;
        margin: 0;
        /* padding: 10px; */
    }

.pageheader--title {
    background-color: #e4e4e4;
}

    .pageheader--title h1 {
        font-size: 1.5rem;
        margin: 0;
        /* padding: 10px; */
    }

.cardlistcontainer {
    /*iPad does not work if we have overflow inside a container that also have overflow auto/scroll
        overflow: auto;
        */
    flex: 1;
    flex-basis: auto; /* IE 11 comp*/
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    /*margin-top: 0.5rem;
    margin-bottom: 2rem;*/
    /*border: solid 1px #BDBDBD;*/
    /*border-top: none;*/
}


    .cardlistcontainer.horizontal {
        border: none;
        margin-top: 0;
    }

    .cardlistcontainer.main {
        border: none;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    .cardlistcontainer.cardlistcontainermarginmedium {
        margin-top: 0.5rem;
        margin-bottom: 2rem;
    }

/*.cardlistcontainer.main h1 {
            display: none;
        }*/

.cardlistheadercontainer {
    /*border: solid 1px #BDBDBD;
    border-top: none;*/
    /*margin-bottom: 10px;*/
}

    .cardlistheadercontainer .cardlistcontainertitle {
        background-color: transparent;
    }

.cardlistsubcontainer {
    margin-bottom: 1rem;
}

.cardlistcontainer--title {
    background-color: #B5B5B5;
    height: 3.6rem;
    max-height: 3.6rem;
}

    .cardlistcontainer--title h1 {
        font-size: 1.5rem;
        margin: 0;
        padding: 10px;
    }

.cardlistcontainer--title--switch {
    margin: 0 5px;
    line-height: 42px;
}

    .cardlistcontainer--title--switch span {
        padding: 4px 8px;
    }

        .cardlistcontainer--title--switch span.selected {
            border-bottom: solid 2px #505050;
        }

.cardlistcontainertitle {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: normal;
    margin: 0;
    padding: 0 10px;
    height: 3.6rem;
    /*line-height: 2.8rem;*/
}

/*.pageheadercontainer .cardlistcontainertitle {
    height: 100%;    
}*/


.cardlistcontainersubtitle {
    font-size: 1.5rem;
    font-weight: normal;
    margin: 0;
    /*padding: 6px 5px 6px 5px;*/
    padding: 8px 10px;
    background-color: #e2e2e2;
}

/*TODO: Remove padding as we need to let content decide how it should manage whitespace */
.cardlistcontainerbody {
    font-size: 1.4rem;
    margin: 0;
    background-color: white;
    overflow-y: auto; /* TODO: Verify that this works ok on iPhone when content is higher than screen*/
}

.cardlistcontainerbodypadding {
    /*padding: 6px 5px 6px 5px;*/
    padding: 10px;
}

.cardlistcontainerfooter {
    padding: 2px 5px;
    background-color: white;
}

.cardlistcontainerspacer {
    margin: 5px;
}

.cardlist {
    /* iPad scrolling does not work if we have scolling on a contain that have scrolling
        overflow: auto;

    */
    flex: 1;
    flex-basis: auto; /* IE 11 comp*/
}

    .cardlist ul {
        list-style-type: none;
        padding: 0;
        margin-bottom: 0;
    }

.cardlistlimited {
    max-height: 35rem; 
    overflow-y: auto; /*works on ipad because it is of limited height */
}

@media (max-width: 768px) {
    .cardlistlimited {
        max-height: none;
        overflow-y: visible;
    }
}

.summarycard {
    border-bottom: solid 1px #dbdbdb;
    padding: 0;
    margin: 0 0 0 0;
    /*border-left: solid 3px #cbcbcb;*/
}

    .summarycard a, .summarycard a:visited, .summarycard a:hover {
        text-decoration: none;
        color: black;
    }

@media (min-width: 992px) {
    .summarycard:hover {
        background-color: rgba(0, 85, 206, 0.04);
    }
}


.summarycardcontent {
    padding: 0 5px;
    /* iPad scrolling does not work if we have scolling on a contain that have scrolling
        overflow: auto;
        */
    position: relative;
    flex: 1;
}

    .summarycardcontent a, .summarycardcontent a:visited, .summarycardcontent a:hover {
        text-decoration: none;
        color: black;
        display: block;
    }

.summarycardpremaininfo {
    font-size: 1.1rem;
}

    .summarycardpremaininfo .bold {
        font-weight: bold;
    }

.summarycardmaininfo {
    font-size: 1.4rem;
    text-overflow: ellipsis;
    color: #5a5a5a;
}

.summarycardsubinfo {
    font-size: 0.9rem;
}

    .summarycardsubinfo span, .summarycardpremaininfo span {
        margin-right: 0.3rem;
    }

.orglist {
    /* iPad scrolling does not work if we have scolling on a contain that have scrolling
    overflow: auto;
    */
}

.orglistcardcontainer {
}

    .orglistcardcontainer a, .orglistcardcontainer a:visited, .orglistcardcontainer a:hover {
        text-decoration: none;
        color: black;
    }

.orglistcard {
    height: 95px;
    /*min-height: 125px;
    max-height: 125px;*/
    width: 95px;
    min-width: 95px;
    max-width: 95px;
    overflow: hidden;
    background-color: white;
    background-color: transparent;
    border: none;
    padding: 5px 2px;
    margin: 0;
    font-size: 1.2rem;
}

    .orglistcard a, .orglistcard.a:visited, .orglistcard a:hover {
        color: black;
        text-decoration: none;
    }

.orgimage img {
    width: 55px;
    height: 55px;
    border-radius: 30px;
    background-color: white;
}

.orgtitle {
    font-size: 1.0rem;
    text-align: center;
    margin-top: 0.4rem;
}

.teamlist {
    /* iPad scrolling does not work if we have scolling on a contain that have scrolling
        overflow:auto;
    */
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    flex: 1;
}

.teamlistitem {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    align-items: center;
    flex: 1 0 auto;
    margin: 5px;
    /*margin: 2px 0;*/
}

    .teamlistitem:last-child {
    margin-bottom: 0;
    }

    .teamlistitem.selected a {
        margin-left: 0px;
        border-left: 2px solid rgba(56, 72, 95, 0.55);
        background-color: rgba(56, 72, 95, 0.11);
    }

    .teamlistitem.active {
        background-color: #FDFBD9;
    }

    .teamlistitem.deleted {
        text-decoration: line-through;
    }

    .teamlistitem.unpaid {
        background-color: #ff8989;
    }

.teamlistitembody {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    flex: 1 0;
    /*padding: 5px;*/
    /*margin: 3px 0;*/
    position: relative;
}

    .teamlistitembody a, .teamlistitembody a:visited, .teamlistitembody a:hover {
        color: black;
        padding: 10px;
        margin-left: 5px;
        text-decoration: none;
        /*line-height: 30px; not good if we have multiple rows inside a link*/
        width: 100%;
        transition: 0.2s;
    }

        .teamlistitembody a:hover {
            background-color: whitesmoke;
            transition: 0.2s;
        }

.teamlistitembodypadding {
    padding: 5px;
}

.teamlistgroup {
    margin: 5px;
}

.teamlistgroupheader {
}

.teamlistgroupbody {
    background-color: #e8e8e8;
    padding: 2px;
}

.teamlistcard {
    height: 100px;
    min-height: 100px;
    max-height: 100px;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    overflow: hidden;
    background-color: #dedede;
    border: solid 1px #b3b3b3;
    margin: 4px;
    position: relative;
}

.teamlistcardtitle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2px 5px;
    background-color: rgba(80, 80, 80, 0.4);
    color: white;
}

.teamlistcardgroup > h2 > a {
    color: #505050;
}

.teamlistcardgroupflex {
    flex: 1;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.teamlistcardgrouptabstrip {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    justify-content: space-evenly;
}

.teamlistcardgrouptab {
    border-bottom: solid 2px tranparent;
}

    .teamlistcardgrouptab.selected {
        border-bottom: solid 2px blue;
    }

    .teamlistcardgrouptab a {
        padding: 5px;
    }

.teamlistcarditemcontainer {
    margin-bottom: 10px;
}

.teamlistcardgroupheader {
    padding: 5px;
    background-color: silver;
    margin-bottom: 5px;
}

.groupdlistcard {
    height: 40px;
    min-height: 40px;
    max-height: 125px;
    width: 225px;
    min-width: 225px;
    max-width: 250px;
    overflow: hidden;
    background-color: #DADADA;
    border: solid 1px #BBBBBB;
    padding: 5px;
    margin: 0 10px 10px 10px;
}

.pageheadercontainer.events, .cardlistcontainerx.events {
    background-color: #e97a43;
}

.pageheadercontainer.messages, .cardlistcontainerx.messages {
    background-color: #49b6b6;
}

.events .cardlistcontainertitle {
    background-color: #e97a43;
}

.messages .cardlistcontainertitle {
    background-color: #49b6b6;
}



.eventlist {
}

.eventlistcard {
    background-color: #FBFBFB;
    border-left: 2px solid #38585f;
    margin-bottom: 5px;
}

    .eventlistcard.active {
        background-color: rgba(0,85,206,0.1);
    }

.teamlistitem .eventcanceled, .summarycardcontent .eventcanceled {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #ff00004f;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eventcanceled h1 {
    font-size: 20px;
    background-color: transparent;
}

.messagelist {
}

.messagelistcard {
    /*min-height: 125px;
    min-width: 250px;*/
    background-color: #FBFBFB;
}

.message {
}

    .message hr {
        margin: 5px 0;
    }

.read .messagelistcard {
    /*background-color: pink;*/
}

.unread .messagelistcard {
    background-color: #EEEEB4;
}

.messageheader {
    background-color: #F0F0F0;
    margin-bottom: 10px;
}

    .messageheader h1 {
        font-size: 1.7rem;
        font-weight: bold;
        /*margin: 5px 0 0;*/
    }

.messagesendinfo {
    margin: 0 15px;
}

.messagesendtime {
    font-size: 10px;
    color: #535353;
}

.messagesender {
    font-size: 16px;
    color: #535353;
    margin: 5px 0;
}

.messagesenderemail {
    margin-left: 15px;
}

.messageto {
    font-size: 10px;
    max-height: 43px;
    overflow-y: auto; /*OK as it is a small container that does not impact iPad */
}

    .messageto span {
        font-weight: bold;
        margin-right: 5px;
    }

    .messageto ul {
        display: inline;
        padding: 0;
    }

    .messageto li {
        display: inline;
        margin: 1px;
    }

        .messageto li:not(:last-child):after {
            content: ";";
        }

/*Container element for a list of attachments*/
.listattachment {
}

    .listattachment ul {
        list-style-type: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .listattachment a[href $=".pdf"] {
        background: transparent url(/images/appbar.page.pdf.text.png) no-repeat center left;
        background-size: 25px 25px;
        padding-left: 25px;
    }

    .listattachment video {
        max-height: 480px;
        /*height: calc(100vh - 400px);*/
        width: 100%;
        object-fit: contain;
    }

    .listattachment h2 {
        font-size: 24px;
        padding: 10px 5px;
        margin: 0;
    }

.attachmentlist {
    font-size: 14px;
    list-style-type: none;
    padding-left: 0;
    background-color: white;
}

.attachmentlist-item {
    padding: 8px 5px;
    border-bottom: solid 1px #e6e6e6;
}

    .attachmentlist-item ul {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
        padding-left: 15px;
        list-style-type: none;
    }

        .attachmentlist-item ul li {
            list-style-type: none;
            padding: 5px 2px;
        }

    .attachmentlist-item a, .attachmentlist-item a:visited {
        display: block;
        text-decoration: none;
        color: black;
        padding: 3px 5px;
        background-color: #eaeaea;
        border-radius: 4px;
    }

        .attachmentlist-item a:hover {
        }

.messageattachment {
    font-size: 11px;
    background-color: white;
    padding: 5px;
}

    .attachmentlist, .messageattachment a {
        margin-left: 0;
        font-size: 13px;
    }

.messagebody {
    /*margin: 10px 0;*/
    padding: 5px;
    padding-bottom: 25px;
    background-color: white;
    overflow-x: auto;
}

.messagefooter {
    background-color: forestgreen;
}

.messageavatar {
    background-color: #BFBFBF;
    width: 70px;
    height: 70px;
}

.messagereply {
    position: relative;
    margin: 10px 0;
    border: solid 1px #CBCBCB;
}

.messagereplyinput {
    width: 100%;
    min-height: 98px;
    padding: 5px;
    border: none;
}

    .messagereplyinput:focus {
        background-color: #EEEEB4;
        /*height: 170px;*/
    }

.messagereplysave {
    position: absolute;
    right: 0;
    margin: 1.5rem;
}

.messagereplies {
}

.messagereplyread {
    background-color: white;
}

.messagereplybody {
    padding: 7px 5px;
}

.messagereplyauthor {
    color: #535353;
    background-color: #f7f7f7;
    font-size: 1.3rem;
    font-weight: bold;
    border-bottom: solid 1px #CBCBCB;
    padding: 6px 5px;
}

.messagereplyauthortime {
    color: #535353;
    font-weight: normal;
    margin-left: 5px;
}

.mewebinfo {
    background-color: antiquewhite;
    margin-right: 10px;
    margin-left: 10px;
    width: 350px;
    min-width: 350px;
    max-width: 350px;
}

    .mewebinfo h1 {
        font-size: 1.3rem;
        color: black;
    }

@media (max-width:700px) {
    .mewebinfo {
        display: none;
    }
}

.infocardcontainer {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.infocardwrapcontainer {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.infocard {
    /*margin: 5px;*/
    background-color: white;
    padding: 10px;
    /*border: solid 1px lightgrey;*/
    border-radius: 2px;
    min-height: 75px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 600px) {
    .infocard {
        width: 100vw;
        max-width: initial;
        margin: 0 0 0 0;
        min-height: initial;
    }
}



.infotable {
    margin: 0 5px;
    background-color: white;
    padding: 0 5px;
    border: solid 1px lightgrey;
    border-radius: 2px;
}


@media (min-width: 600px) {
    .infocard250 {
        width: 250px;
        max-width: 250px;
    }

    .infocard300 {
        width: 300px;
        max-width: 300px;
    }
}

.infocardmargin {
    margin: 10px;
}

.infocardfourinarow {
    margin: 5px;
    background-color: white;
    padding: 5px;
    border: solid 1px lightgrey;
    border-radius: 2px;
    min-height: 75px;
    width: 224px;
    max-width: 224px;
    width: 240px;
    max-width: 240px;
    ;
}

@media (max-width:700px) {
    .infocardfourinarow {
        width: 100vw;
        max-width: initial;
        margin: 0 0 0 0;
        min-height: initial;
        padding: 0 5px;
    }

        .infocardfourinarow .avatar {
            height: 36px;
            width: 36px;
            */ background-color: #BFBFBF;
            /*flex: 0 0 20px;*/
            margin: 2px;
            /*border-radius: 15rem;*/
            border-radius: 2px;
            overflow: hidden;
        }

            .infocardfourinarow .avatar img {
                /*height: 20px;
                width: 20px;*/
            }

                .infocardfourinarow .avatar img.avatar-icon {
                    height: 13px;
                    width: 13px;
                    border-radius: 0;
                }
}

.infocardheader {
}

    .infocardheader h1 {
        font-size: 18px;
    }

.infocardcontent {
    font-size: 1rem;
    padding: 7px 5px;
    overflow: hidden;
    width: 100%; /*20161108*/
}

.infocardcontentcenter {
    align-self: center;
}

.infotable .infocardcontent {
    padding: 2px 5px;
}

.infocardcontentmultiline {
    font-size: 1rem;
    padding: 1px 5px;
    overflow: hidden;
}

.infocardcontentmain {
    /*font-weight: bold;*/
    font-size: 1.5rem;
    /* ensure we get one line with ellipsis*/
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.infocardcontentcheckbutton {
    font-size: 1.3rem;
    color: black;
    background-color: white;
    border: none;
    padding: 2px 10px 4px 15px;
}

    .infocardcontentcheckbutton.button {
        background-color: #c5c5c5;
        border: solid 1px #acacac;
        border-radius: 2px;
        padding: 1px;
        margin-right: 10px;
        margin-left: 10px;
        margin-bottom: 5px;
    }

    .infocardcontentcheckbutton.warning {
        color: red;
    }

    .infocardcontentcheckbutton.ok {
        color: green;
    }

    .infocardcontentcheckbutton i {
        font-size: 1.8rem;
        padding: 3px 7px;
    }

    .infocardcontentcheckbutton span {
        padding: 5px;
    }

.infocardvote {
}

    .infocardvote button {
        background-color: white;
        font-size: 1rem;
        padding: 0.4rem;
        border: none;
    }

    .infocardvote i {
        font-size: 2rem;
    }

.infocardvotepositive {
    color: green;
}

.infocardvotenegative {
    color: red;
}

.infocardextracontainer {
    position: relative;
}

.infocardextra {
    display: none;
    font-size: 1.2rem;
    padding: 5px;
}

@media (min-width: 768px) {
    .infocardextra {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        background-color: white;
        border: solid 1px #DEDEDE;
    }
}

.infocardextra > div {
    margin-bottom: 5px;
}

.infocardextra.expanded {
    display: block;
}

.infocardextrabutton .expandbutton {
    padding: 6px 10px;
    font-size: 18px;
}

.infocardextrasubitem {
    padding: 5px 0;
    border-top: solid 1px #CBCBCB;
    margin: 0;
}

.nobordertop {
    border-top: none;
}

.simpletilecontainer {
    margin: 0 30px;
}

    .simpletilecontainer a, .simpletilecontainer a:visited, .simpletilecontainer a:hover {
        text-decoration: none;
        color: black;
    }

.simpletile {
    background-color: white;
    margin: 15px;
    padding: 5px;
    border: solid 1px lightgrey;
    border-radius: 2px;
    height: 40px;
    width: 120px;
    text-align: center;
    line-height: 28px;
}

.btn-login {
    background-color: #64320e;
    color: white;
}

.footertoolbar {
    background-color: #CECECE;
    border-top: solid 1px #B5B5B5;
}

    .footertoolbar a {
        background-color: transparent;
        color: black;
        padding: 0.7rem 2.5rem;
        border: none;
        font-size: 2rem;
    }

    .footertoolbar .homepage {
        color: #64320e;
        border-right: solid 1px #B9B9B9;
    }

.mobileactions {
    white-space: nowrap;
}

    .mobileactions a {
        margin: 5px 10px;
        line-height: 25px;
    }

    .mobileactions i {
        font-size: 18px;
        line-height: 18px;
    }


.scroll {
    /* ensure not used when there is a parent element that also have overflow:auto/scroll
        as iPad scrolling does not work if we have scolling on a contain that have scrolling*/
    overflow-x: hidden;
}

.scrolly {
    overflow-y: auto;
}

.prettytable {
    /*width: 100%;*/
}

    .prettytable td, .prettytable th {
        /*padding: 0 3px 0 3px;*/
        padding: 3px 8px;
        border-bottom: solid 1px #f7f7f7;
        white-space: nowrap;
    }

        .prettytable td span, .prettytable th span {
            padding: 4px;
        }

    .prettytable.prettytable-border tr {
        border-bottom: solid 1px #f1f1f1;
    }

    .prettytable.prettytable-rowmedium tr {
        line-height: 30px;
    }

    .prettytable.prettytablecompact td {
        padding: 0 3px;
    }

.tableinfo {
    position: relative;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    align-items: center;
}

    .tableinfo label {
        font-weight: normal;
        padding: 3px 0;
        margin: 0;
        min-width: 70px;
    }

    .tableinfo span {
        padding: 5px;
    }

    .tableinfo input, .tableinfo select, .tableinfo textarea {
        padding: 3px;
        border: solid 1px #efefef;
        margin: 3px;
        flex: 1;
    }

.archiveentity .tableinfo label {
    min-width: 150px;
    font-size: 95%;
    line-height: 1.5em;
}

#bodycontentrow {
    position: relative;
}


.kpiwrapper {
    width: 55px;
    height: 55px;
    overflow: hidden;
    font-size: 12px;
    position: relative;
    white-space: nowrap;
    background-color: #E0E0E0;
    border: solid 1px #BBBBBB;
    padding: 5px;
    border-radius: 3px;
    margin: 3px;
}

    .kpiwrapper .kpinumerator {
        position: absolute;
        top: 3px;
        left: 5px;
        color: forestgreen;
    }

    .kpiwrapper .kpidenominator {
        position: absolute;
        top: 25px;
        left: 25px;
    }

    .kpiwrapper .kpicaption {
        position: absolute;
        top: 39px;
        left: 5px;
        font-size: 10px;
    }

.kpinumerator:after {
    position: absolute;
    content: '';
    bottom: -15px;
    left: 27px;
    height: 38px;
    width: 1px;
    border-bottom: 1px solid #a7a7a7;
    border-right: 1px solid #a7a7a7;
    -webkit-transform: skew(-45deg);
    -moz-transform: skew(-45deg);
    transform: skew(-45deg);
    /*z-index: -1;*/
}

.cardlistcontainer.imagegallery {
}

    .cardlistcontainer.imagegallery img {
        /*width: 300px;*/
        max-width: 100%;
    }

.imagegallerycontent {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
    /*align-items: center;*/
    box-sizing: border-box;
}

    .imagegallerycontent > div {
        box-sizing: border-box;
        width: calc(100% / 3 - 10px);
        /*border: solid 1px red;*/
        border-radius: 3px;
        margin: 5px;
    }

    .imagegallerycontent a, .imagegallerycontent a:hover, .imagegallerycontent a:visited {
        color: black;
        text-decoration: none;
    }

.imagegalleryimage {
    /*display: flex;*/
}

.imagegalleryimagedescription {
    min-height: 40px;
    padding: 5px;
    font-size: 12px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

.imagegalleryimageborder {
    background-color: white;
    border: solid 1px #cccccc;
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
}

.imagegalleryimage textarea {
    width: 100%;
    border: none;
    min-height: 65px;
}

.imagegalleryimage label {
    font-weight: normal;
    margin-right: 10px;
    font-size: 80%;
}

.imagegalleryimage button {
    font-weight: normal;
    margin: 10px 0 10px 10px;
    background-color: white;
    border: none;
    border-radius: 3px;
}

@media (max-width: 750px) {
    .imagegallerycontent > div {
        width: calc(100% / 2 - 10px);
    }
}

@media (max-width: 500px) {
    .imagegallerycontent > div {
        width: 100%;
    }
}


.documenttree ul {
    padding-left: 20px;
}

.documenttree .directory {
    cursor: pointer;
}

    .documenttree .directory.collapsed > ul {
        display: none;
    }

.documenttree li {
    padding: 4px 0;
    list-style-type: none;
}

    .documenttree li > a > i {
        margin-right: 10px;
    }

.swDetailsView {
    width: 100%;
}

.swDetailsViewRow {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap; /*causes columns to be stacked on small devices*/
    width: 100%;
}

.swDetailsViewColumn {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
    /*padding: 0 5px; HACK: Should have gutter between columns in two column mode*/
}

.swDetailsViewField {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    /*padding: 3px 0 2px 4px;*/
    /*color: #333333;*/
    /*background-color: White;*/
    vertical-align: middle;
    min-height: 1.4em; /* ADDED for Firefox */
}

.swDetailsViewSectionHeader {
    background-color: silver;
    margin-top: 5px;
    padding: 5px;
}

    .swDetailsViewSectionHeader h1 {
        font-size: 15px;
    }

.DetailsView-HeaderField {
    min-width: 80px;
    margin-right: 8px;
    padding: 5px;
    padding-left: 0;
}

.DetailsView-DataField {
    position: relative;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 8px;
}

    .DetailsView-DataField label {
        font-weight: normal;
        margin-right: 10px;
        min-width: 100px;
        margin-bottom: 0;
    }

    .DetailsView-DataFieldCtrl,
    .DetailsView-DataField span,
    .DetailsView-DataField select,
    .DetailsView-DataField input,
    .DetailsView-DataField textarea {
        padding: 3px 5px;
        border: solid 1px #efefef;
        flex: 1;
        font-size: 16px;
    }

    .DetailsView-DataField span {
        min-height: 28px; /* span does not have height if empty. Height = lineheight 22 + 3* 2 padding */
    }

    .editmode .DetailsView-DataFieldCtrl,
    .DetailsView-DataField.editmode select,
    .DetailsView-DataField.editmode input,
    .DetailsView-DataField.editmode textarea {
        padding: 7px 5px;
        border: solid 1px #efefef;
        background-color: #f7f7f7;
        flex: 1;
        font-size: 16px;
    }

    .DetailsView-DataField.primaryfield span,
    .DetailsView-DataField.primaryfield input,
    .DetailsView-DataField.primaryfield select,
    .DetailsView-DataField.primaryfield textarea {
        border-left: solid 2px #55baea;
    }

@media (max-width: 650px) {
    .swDetailsViewRow {
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
    }
}

.fg-green {
    color: #358235;
}

.fg-red {
    color: red;
}

.statuspanel {
    font-size: 20px;
    background-color: silver;
    padding: 10px;
}

.statuspanel-primary {
    font-size: 20px;
    background-color: #63b8d8;
    padding: 10px;
}

.statuspanel-green {
    font-size: 20px;
    background-color: #64c564;
    padding: 10px;
}

.statuspanel-red {
    font-size: 20px;
    background-color: #ff8989;
    padding: 10px;
}

.alignright {
    text-align: right;
}

.tilefourinarow {
    margin: 5px;
    background-color: white;
    padding: 5px;
    border: solid 1px lightgrey;
    border-radius: 2px;
    /* 3:5 144:240*/
    min-height: 144px;
    max-height: 144px;
    width: 224px;
    max-width: 224px;
    width: 240px;
    max-width: 240px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 700px) {
    .tilefourinarow {
        width: 100vw;
        max-width: initial;
        margin: 0 0 0 0;
        min-height: initial;
        padding: 0 5px;
    }
}

.tilefourinarow .tile {
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.tilefourinarow .tile__icon {
    height: 100px;
    max-height: 100px;
    max-width: 100%;
    width: auto;
    height: auto;
}

.tilefourinarow .tilecontent {
    /* Allow for a single line of text*/
    height: 25px;
    max-height: 25px;
    overflow: hidden;
}

.tilefourinarow .tilecontentmain {
    font-size: 14px;
}

.cardlistcontainerfooterblack {
    background-color: black;
    color: white;
    padding: 10px;
}

    .cardlistcontainerfooterblack a,
    .cardlistcontainerfooterblack a:visited,
    .cardlistcontainerfooterblack a:hover {
        color: white;
        padding: 5px 10px;
        text-decoration: none;
        border: solid 1px #313131;
        border-radius: 2px;
    }

        .cardlistcontainerfooterblack a:hover {
            background-color: #4e4e4e;
        }

.imagelist {
}

.imagelist--imagewrapper {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    /*display: grid;*/
}

.imagelist--item {
    margin-bottom: 20px;
}

.imagelist--itemcontent {
    border: solid 1px silver;
}

.imagelist--image {
}

    .imagelist--image img {
        width: 100%;
    }

.imagelist--meta {
    border-top: solid 1px silver;
    background-color: white;
}

.imagelist--meta--title {
}

.imagelist--meta--subtitle {
}


.swTeamTab {
    margin-top: 10px;
    margin-left: 5px;
    border-bottom: solid 2px #e0e0e0;
    position: sticky;
    top: 0;
    z-index;
    1;
}

.swTeamTab_Tab {
    margin-right: 20px;
}

.swTeamTab a {
    padding: 5px 1px 3px 1px;
    text-decoration: none;
    color: #2020fb;
    border-bottom-color: #5558af;
    color: #5558af;
}

    .swTeamTab a:visited, .swTeamTab a:hover {
        text-decoration: none;
    }

    .swTeamTab a:hover {
        background-color: #dedede;
    }

.swTeamTab_Tab.selected {
    border-bottom: solid 3px #0101c5;
}

.swTeamChat {
    margin: 0;
    padding: 0;
}

.swTeamChat_Thread {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.swTeamChat_Thread_content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

.swTeamChat_Thread_replies {
    margin-left: 20px;
    padding: 5px 10px;
    background-color: silver;
}

.swTeamChat_Thread_reply {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.card-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,.06);
    border-radius: 4px;
}

.card-body {
}

.card-padding-container {
    padding: 20px;
}

.grid-space-medium > .grid-row {
    padding-top: 10px;
    padding-bottom: 10px;
}


.dialog-shell {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    min-height: 100vh;
}

.dialog-shell-small {
    max-width: 400px;
}

@media (min-width: 750px) {
    .dialog-shell {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        justify-content: center;
    }
}

.login-shell-full-login-shell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

.login-shell-login-shell {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    min-height: 100vh;
}

.login-shell-full-left-col {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 100%;
    padding: 40px;
    background-color: #0078d7;
    color: #fff;
    box-sizing: border-box;
    background-image: url(/images/loginimage4.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: right 20px bottom 40px;
    display: none;
}

.login-shell-full-right-col {
    background-color: #fff;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 100%;
    flex: 1 0 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.login-shell-full-right-col-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 320px;
    width: 100%
}

.login-shell-full-header {
    font-size: 18px;
    line-height: 24px;
    margin: 33px 0 24px;
}

.login-shell-full-bullets {
    font-size: 15px;
    line-height: 20px;
    list-style: none;
    padding-left: 25px;
    max-width: 420px;
    margin: 0;
}

    .login-shell-full-bullets li {
        margin-bottom: 20px;
        position: relative;
    }

login-shell-card card-card {
}

login-shell-links-area {
}

.login-shell-full-login-form {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media (min-width: 500px) {
    .login-shell-login-shell {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media (min-width: 1100px) {
    .login-shell-full-login-shell {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .login-shell-full-banner {
        display: none;
    }

    .login-shell-full-left-col {
        display: block;
    }

    .login-shell-full-right-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 380px;
        flex: 0 0 380px;
        padding: 40px;
    }

    .login-shell-full-right-col-wrapper {
        max-width: none;
    }
}

.loginbackground {
    background: url('/images/loginimage.jpg') no-repeat;
    background-size: 100vh 100vw;
}

.card-dialog-title {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    color: rgba(0,0,0,.9);
}

.card-dialog-subtitle {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(0,0,0,.59);
}

.flex-vertically-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}



.swTeamMessage {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    .swTeamMessage .swTeamMessage_Message {
        border-bottom: solid 1px #f7f7f7;
    }

    .swTeamMessage .swTeamMessage_Message_ContentContainer {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }

.swTeamChat_Thread_avatar {
    background-color: silver;
    height: 45px;
    width: 45px;
}

    .swTeamChat_Thread_avatar img {
        width: 100%;
    }

.swTeamMessage .swTeamMessage_Message_Content {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 5px 10px;
}

.swTeamMessage_Message_author {
    font-size: 12px;
    color: silver;
}

.swTeamMessage_Message_Message {
    color: #191919;
}

.swTeamMessage_Message_Date {
    font-size: 10px;
    color: #9a9a9a;
}

.swTeamMessage_Message a, .swTeamMessage_Message a:visited {
    color: black;
    text-decoration: none;
    flex: 1;
}

    .swTeamMessage_Message a:hover {
        background-color: #ececec;
    }


.survey {
}

.surveyheader {
    padding: 5px 10px;    
    border-bottom: solid 1px silver;
}

    .surveyheader h1 {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 2.0rem;
    }

.surveybuttonrow {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

.surveybutton a, .surveybutton a:visited, .surveybutton a:hover {
    font-size: 20px;
    margin: 20px;
    padding: 15px 20px;
    color: white;
    background-color: green;
    border: solid 1px #006500;
    border-radius: 4px;
    text-decoration: none;
}

    .surveybutton a:hover {
        background-color: #00b700;
        border: solid 1px #01a901;
    }

.SurveyQuestionDescription {
    font-weight: normal;
    padding: 5px;
    margin-bottom: 10px;
    background-color: #efefef;
    border: solid 1px #e8e8e8;
    border-radius: 4px;
}

    .SurveyQuestionDescription span {
        font-size: 1.3rem;
        border: none;
        color: #0094b5;
        padding: 0;
    }

.surveynotdelivered {
    background-color: #ffc3c3;
}

    .surveynotdelivered.selected {
        background-color: #ffa7a7;
    }


.supportcontainer {
}

.supportheader {
}

    .supportheader h1 {
        font-size: 2.0rem;
        padding: 10px;
        margin: 0;
        background-color: lightgrey;
    }

.supportwrapper {
}

.supportbody {
    font-size: 1.4rem;
    margin: 20px 10px;    
}

    .supportbody textarea {
        width: 100%;
        min-height: 300px;
        border: solid 1px lightgrey;
        padding: 10px;
        font-size: 1.4rem;
        height: 100%;
        width: 100%;
    }

.supportcommentlist {
    list-style-type: none;
    padding-inline-start: 0;
}

.supportcomment {

}

    .supportcomment h1 {
        background-color: #e2e2e2;
        padding: 8px;
        margin: 0;
        font-size: 1.6rem;
    }

    .supportcomment textarea {
        width: 100%;
        min-height: 140px;
        border: solid 1px lightgrey;
        padding: 10px;
        font-size: 1.4rem
    }

    .supportcomment .supportcommentcontent {
        padding: 10px;
    }

.supportattachmentlistcontainer {
    margin-top: 15px;
}

.supportattachmentlist {
    list-style-type: none;
    padding-inline-start: 0;
}

    .supportattachmentlist .supportattachment {
        padding: 4px 12px;
        background-color: white;
    }

        .supportattachmentlist .supportattachment h2 {
            font-size: 16px;
    }

.supportopen {
    background-color: lightblue;
}

.DetailsView-ValidationErrorContainer {
    padding: 10px;
    background-color: #ffc2c2;
    border: solid 1px #ffa0a0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.swValidationSummary {
    color: white;
    background-color: #e04a4a;
    margin-bottom: 10px;
    padding: 10px 0 1px;
}

.swValidationSummary {
    display: none;
}

    .swValidationSummary.validation-summary-errors {
        display: block;
    }

.swGrid {
    display: grid;
    white-space: nowrap;
}

    .swGrid .swGridHeaderCell {
        background-color: #f1f1f1;
        line-height: 30px;
        padding: 0 10px;
    }

    .swGrid .swGridCell {
        line-height: 40px;
        padding: 0 10px;        
    }

    .swGrid .swGridImageLinkCell a {
        display: inline-block;
        padding: 0 12px;
    }

.mobile .swGrid .swGridHeaderCell {
    padding: 10px 12px;
}

.naked-ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
}

/* React Root div styling */
#root {
    color: #525252;
}

    /*----block-tags----*/
    #root h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    }

    #root p, span, small, a, button, label, input, textarea, strong, div {
    font-family: 'Lato', sans-serif;
    }






/*----FixedGrids----*/

.grid__sidebar--right {
    display: grid;
    grid-template-columns: 1fr 300px;
}

.grid__md--2-8_4 {
    display: grid;
    grid-template-columns: 8fr 4fr;
    grid-gap: 15px;
    margin-bottom: 15px;
}
.grid__sm--2-8_4 {
    display: grid;
    grid-template-columns: 8fr 4fr;
    grid-gap: 15px;
}


.grid__sm--4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

.grid__md--3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
}

.grid__sm--3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
}

.grid__sm--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

@media only screen and ( max-width: 768px ) {
    .grid__md--2-8_4 {
        grid-template-columns: 1fr;
    }

    .grid__sm--4 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 15px;
    }

    .grid__md--3 {
        grid-template-columns: 1fr;
    }

    .grid__sm--3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and ( max-width: 576px ) {
    .grid__sm--2-8_4 {
        grid-template-columns: 1fr;
    }

    .grid__sm--4 {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }

    .grid__sm--3 {
        grid-template-columns: 1fr;
    }

    .grid__sm--2 {
        grid-template-columns: 1fr;
    }

}

.grid-shotcuts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 10px;
    margin: 10px;
}

.grid-shotcuts--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media only screen and ( max-width: 1024px ) {
    .grid-shotcuts {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and ( max-width: 768px ) {
    .grid-shotcuts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and ( max-width: 576px ) {
    .grid-shotcuts {
        grid-template-columns: repeat(2, 1fr);
    }
}


.teamlistlink {
    display: block;
    padding: 10px;
    background-color: whitesmoke;
    color: #464646;
    transition: 0.2s;
}

    .teamlistlink:hover {
        transition: 0.2s;
        text-decoration: none;
        background-color: #e2e2e2;
    }

    .teamlistlink:hover, .teamlistlink:focus {
    text-decoration: none;
    color: #464646;
    }

.teamlistcta {
    background-color: #e2e2e2;
    border-radius: 5px;
    text-align: center;
    color: grey;
    padding: 3px 0;
}

.grid-teamlist-heading {
    display: grid;
    grid-template-columns: 1fr 22px;
    align-items: center;
    grid-gap: 5px;
}


/*----containers----*/
.container--lg {
    margin: auto;
    width: 1024px;
}

@media only screen and ( max-width: 1384px ) {
    .container--lg {
        width: 100%;
    }
}

.container--md {
    max-width: 768px;
    margin: 15px;
    margin-bottom: 40px;
}

@media only screen and ( max-width: 768px ) {
    .container--md {
        width: auto;
        max-width: 100%;
    }
}

@media only screen and ( max-width: 650px ) {
    .container--md {
        margin: 15px 0 30px 0;
    }
}



/*----card-panel----*/
.card-panel {
    /*    margin: 10px;*/
    height: 100%;
    background-color: #fbfbfb;
    width: 100%;
    border: 1px solid #efefef;
}

.card-panel__header {
        display: flex;
        align-items: center;
        background-color: #efefef;
        color: #4e4e4e;
        padding: 5px;
        min-height: 50px;
}

.card-panel__icon {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 20px;
}

.card-panel__heading {
        font-size: 1.8rem;
        padding: 0 10px;
    margin: 0;
}

.card-panel__placeholder-text {
        text-align: center;
        font-weight: 600;
        color: #656565;
        margin: 0;
        padding: 10px;
}

   

.card-panel__body {
        padding: 10px;
    /*        background-color: #fbfbfb;*/
        margin-bottom: 10px;
}

    .card-panel__body:last-child {
        margin-bottom: 0;
    }

.card-panel__item {
        background-color: white;
}

.overflow--ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
   

/*----StyledLinks----*/
.large-link {
        padding: 5px;
        padding-left: 10px;
        border: 0;
        display: block;
        transition: 0.2s;
        margin-bottom: 10px;

        border-left: 2px solid #e4e4e4;
        color: #4c4c4c;
}

        .large-link:hover {
            color: #505050;
            text-decoration: none;
            transition: 0.2s;
            box-shadow: 0 0 5px 0 rgba(0,0,0,0.15);
        }

        .large-link:last-child {
            margin-bottom: 0;
        }

.button-link {
            width: 100%;
            padding: 10px;
            text-align: center;
            border: 1px solid lightgrey;
            display: block;
            color: grey;
            transition: 0.2s;
            margin-bottom: 10px;
            background-color: transparent;
}

    .button-link:hover {
            transition: 0.2s;
            text-decoration: none;
            background-color: lightgrey;
            color: #565656;
        }

    .button-link:last-child {
           margin-bottom: 0;
        }

/*----article-card----*/
.article-card {
        height: 100%;
        position: relative;
        background-color: whitesmoke;
        border: 1px solid whitesmoke;
        display: flex;
        flex-direction: column;
}

    .article-card:hover, .article-card:focus {
        text-decoration: none;
    }
    
.article-card__img-container {
        width: 100%;
        margin: 0;
        padding-top: 66%;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 50%;
        position: relative;
        background-color: white;
}

.article-card__img {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        vertical-align: top;
        background-color: #ececec;
}

.article-card__body {
        display: flex;
        flex-direction: column;
        color: #585858;
        padding: 10px;
}

.article-card__heading {
        font-size: 1.65rem;
        font-weight: bold;
        padding-bottom: 0;
        font-weight: bold;
        color: #505050;
        margin-top: 0;
        margin-bottom: 5px;
}

.article-card__footer {
        display: flex;
        margin-top: auto;
        padding: 10px;
}

.article-card__link {
        display: block;
        width: 100%;
        text-align: right;
        text-decoration: none;
        color: grey;
}

        .article-card__link:hover {
            text-decoration: none;
            color: grey;
        }




.article-card-table {
    display: grid;
    grid-template-columns: auto 1fr 60px;
    grid-gap: 15px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    color: inherit;
    border-bottom: 1px solid #38485f0f;
}

.article-card-table:last-child{
    border-bottom: 0;
    margin: 0;
    padding: 0;
}


.article-card-table:hover {
    text-decoration: none;
    color: inherit;
}



.article-card-table__image {
    height: 40px;
    width: 40px;
    object-fit: cover;
}


.article-card-table__heading {
    margin: 0;
    font-size: 1.65rem;
    font-weight: bold;
    padding-bottom: 0;
    font-weight: bold;
    color: #505050;
}

/*----hero-image-fixed----*/
.hero-image-fixed {
    overflow: hidden;
    height: 400px;
    position: relative;
    display: flex;
}

.hero-image-fixed__bg {
        background-position: 50%;
        background-size: cover;
        background-repeat: no-repeat;
        width: 110%;
        filter: blur(15px);
        position: absolute;
        top: -10px;
        right: -10px;
        bottom: -10px;
        left: -10px;
}

.hero-image-fixed__bg-main-container {
        overflow: visible;
        display: flex;
        z-index: 0;
        margin-left: auto;
        margin-right: auto;
}

.hero-image-fixed__bg-main {
        margin-top: auto;
        background-position: 50%;
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        height: 350px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

.hero-image-fixed__overlay-text-container {
        color: white;
        background-color: #dedede;
        padding: 15px;
        margin-top: auto;
        width: 100%;
}

.hero-image-fixed__overlay-text {
        margin: 0;
        font-size: 2rem;
        line-height: 2rem;
        color: #2d2d2d;
}


@media only screen and ( max-width: 768px ) {
        .hero-image-fixed {
            height: 300px;
        }

        .hero-image-fixed__bg-main {
            height: 300px;
        }
}





/*----article----*/
.article__header {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

.article__heading {
    font-size: 1.8rem;
    margin-top: 15px;
    margin-bottom: 15px;
}


.article__publisher-container {
    display: flex;
}

.article__publiser-img {
    height: 40px;
    width: 40px;
    border-radius: 2px;
    background-color: whitesmoke;    
}

.article__text-small {
    color: grey;
}


.article__list-summary {
    margin-top: auto;
    padding-top: 15px;
}

.article__list-summary-image {
    height: 70px;
    width: 70px;
    object-fit: cover;
}

.article__list-summary-text {
    font-weight: 600;
    color: #505050;
    margin: 0;
}

.article__info-container {
    display: flex;
}

    .article__info-container:hover {
    text-decoration: none;
    }

.article__text-small {
    color: grey;
}




/*----SideBarMenu----*/
.sidebarmenu {
}

.sidebarmenu__heading {
    background-color: lightgray;
    text-align: center;
    font-size: 1.8rem;
    color: #5a5a5a;
}



/*----rik-tekstbox-normalizer----*/
.htmlbox {
    overflow-x: auto;
    font-size: 1.45rem;
}

@media only screen and (max-width: 576px) {
    .htmlbox {
        font-size: 1.6rem;
    }
}

.htmlbox img {
    max-width: 100% !important;
    height: auto !important;
    vertical-align: top;
}

.htmlbox .layoutrow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

    .htmlbox .layoutrow > div {
        margin: 15px;
    }

.htmlbox .layoutrow--align-left {
    justify-content: flex-start;
}

.htmlbox .layoutrow--col-100 > div {
    width: 100px;
}

.htmlbox .layoutrow--col-150 > div {
    width: 150px;
}

.htmlbox .layoutrow--col-200 > div {
    width: 200px;
}

.htmlbox .layoutrow--col-250 > div {
    width: 250px;
}

.htmlbox .layoutrow--col-300 > div {
    width: 300px;
}

.htmlbox .layoutrow--col-350 > div {
    width: 350px;
}

.htmlbox .layoutrow--col-400 > div {
    width: 400px;
}

.htmlbox .layoutrow--col-450 > div {
    width: 450px;
}

.htmlbox .layoutrow--col-500 > div {
    width: 500px;
}

.htmlbox .layoutrow--col-550 > div {
    width: 550px;
}

.htmlbox .layoutrow--col-600 > div {
    width: 600px;
}

.htmlbox .border {
    border: 1px solid whitesmoke;
    border-radius: 5px;
    overflow: hidden;
}

.htmlbox a {
    color: #1a80b6;
    text-decoration: none;
}

    .htmlbox a:hover {
        cursor: pointer;
        text-decoration: underline;
    }

    .htmlbox a.button {
        padding: 10px 15px 10px 15px;
        background-color: whitesmoke;
        border: 1px solid lightgrey;
        border-radius: 5px;
        color: #545454;
        text-decoration: none;
        display: inline-block;
        transition: 0.3s;
        margin-bottom: 15px;
    }

        .htmlbox a.button:hover {
            cursor: pointer;
            background-color: lightgrey;
            transition: 0.3s;
        }

.htmlbox iframe {
    border: 0;
}

.htmlbox .panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid whitesmoke;
    border-radius: 5px;
}

.htmlbox .panel-info > .panel-heading {
    margin: 0;
    color: #545454;
    background-color: whitesmoke;
    border-color: whitesmoke;
    padding: 10px 15px;
    border-bottom: 1px solid whitesmoke;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.htmlbox .panel-body {
    padding: 15px;
}

.htmlbox .ml-auto {
    margin-left: auto;
}

.htmlbox .mr-auto {
    margin-right: auto;
}

.htmlbox .mrl-auto {
    margin-right: auto;
    margin-left: auto;
}

.htmlbox .margin-15 {
    margin: 15px;
}

.htmlbox .padding-15 {
    padding: 15px;
}

.htmlbox .pt-15 {
    padding-top: 15px;
}

.htmlbox .pr-15 {
    padding-right: 15px;
}

.htmlbox .pb-15 {
    padding-bottom: 15px;
}

.htmlbox .pl-15 {
    padding-left: 15px;
}

.htmlbox p {
    margin-top: 15px;
    margin-bottom: 15px;
}

.htmlbox .article-imagelist-image img {
    width: 100%;
    height: auto;
}

.article-imagelist-image img {
    width: 100%;
    height: auto;
}

.htmlbox-attachment-listheader {
    border-bottom: 2px solid grey;
    display: inline-block;
    font-weight: 600;
    padding: 30px 0 10px 0;
    color: #333333;
}





/*----modals----*/
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.modal--hidden {
    display: none;
}

.modal__box {
    width: 768px;
    background-color: white;
    max-height: calc( 100vh - 10% );
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.modal__box--medium {
    width: 600px;
}

@media only screen and (max-width: 375px) {
    .modal__box--medium {
        width: 100%;
    }
}

.modal__box--small {
    width: 375px;
}

@media only screen and (max-width: 375px) {
    .modal__box--small {
        width: 100%;
    }
}

.modal__header {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 15px;
    border-radius: 5px 5px 0 0;
}

.modal__header--less-padding {
    padding: 15px;
}

@media only screen and (max-width: 576px) {
    .modal__header {
        padding: 10px;
    }
}

.modal__heading {
    color: #505050;
    font-size: 2rem;
    margin: 0;
    font-weight: 500;
}

.modal__icon-close {
    margin-left: auto;
    font-size: 25px;
    color: #505050;
}

    .modal__icon-close:hover {
        cursor: pointer;
    }

.modal__body {
    background-color: white;
    padding: 15px;
    padding-top: 0;
    max-height: 100%;
    overflow: auto;
}

@media only screen and (max-width: 576px) {
    .modal__body {
        padding: 10px;
        padding-top: 0;
    }
}

.modal__body:last-child {
    border-radius: 0 0 5px 5px;
}

.modal__body--less-padding {
    padding: 15px;
    padding-top: 0;
}



.image-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    max-height: 100vh;
    max-width: 100vw;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.image-modal__inner {
    position: relative;
    height: auto;
    max-width: 86%;
    max-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-modal--show {
    display: flex;
}

.image-modal__image {
    height: auto;
    max-width: 100%;
    height: auto;
    max-height: 85vh;
    user-select: none;
}

.image-modal__chevron-left {
    position: absolute;
    top: 45%;
    left: 40px;
    color: white;
    font-size: 60px;
    margin-right: 30px;
    z-index: 10;
}

@media only screen and (max-width: 576px) {
    .image-modal__chevron-left {
        left: 5px;
        top: 47%;
        font-size: 40px;
    }
}

.image-modal__chevron-left:hover {
    cursor: pointer;
}

.image-modal__chevron-right {
    position: absolute;
    top: 45%;
    right: 40px;
    color: white;
    font-size: 60px;
    margin-left: 30px;
    z-index: 10;
}

@media only screen and (max-width: 576px) {
    .image-modal__chevron-right {
        right: 5px;
        top: 47%;
        font-size: 40px;
    }
}

.image-modal__chevron-right:hover {
    cursor: pointer;
}

.image-modal__description {
    margin-top: 15px;
    color: white !important;
    margin: 0;
}

    .image-modal__description * {
        color: white !important;
    }

.image-modal__close-icon {
    position: absolute;
    top: 15px;
    right: 40px;
    color: white;
    font-size: 40px;
    margin-left: 30px;
}

@media only screen and (max-width: 576px) {
    .image-modal__close-icon {
        right: 15px;
        top: 10px;
        font-size: 40px;
    }
}

.image-modal__close-icon:hover {
    cursor: pointer;
}


/*----album-detail----*/

.album-detail__item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-detail__image {
    width: 100%;
    height: auto;
    user-select: none;
}

    .album-detail__image:hover {
    cursor: pointer;
    }



/*----side-bar----*/
.sidebar--right {
    position: fixed;
    top: 36px;
    right: 0;
    bottom: 0;
    width: 300px;
    border-left: 1px solid #e4e4e4;
}

.sidebar__main-button {
    width: 100%;
    padding: 10px;
    text-align: center;
    display: block;
    color: grey;
    transition: 0.2s;
    margin-bottom: 10px;

    background-color: transparent;
    border: 1px solid #e4e4e4;
    border-left: 0;
    border-top: 0;
    margin-right: 0;
    margin: 0;
}

.sidebar__main-button--right {
   border-right: 0;
}


/*----breadcrumbs----*/
.breadcrumb--white {
    background-color: transparent;
    margin-bottom: 0;
    border-bottom: 1px solid #e4e4e4;
}



/*----sidebar----*/
.sidebar-pane__button-container {
    width: 100%;
    display: flex;
    padding: 10px;
    border-bottom: 1px solid #e4e4e4;
    background-color: whitesmoke;
}

.sidebar-pane__button {
    width: 50%;
    padding: 10px 0 10px 0;
    border: 1px solid lightgrey;
    border-radius: 5px 0 0 5px;
    background-color: whitesmoke;
    color: grey;
}


.sidebar-pane__button--right {
    border: 1px solid lightgrey;
    border-left: 0;
    border-radius: 0 5px 5px 0;
}

.sidebar-pane__button--active {
    background-color: white;
    color: black;
}


/*----hidden----*/

@media only screen and ( max-width: 768px ) {
    .hidden--md {
        display: none;
    }
}


/*----images----*/
.img-fixed__2-3-container {
    width: 100%;
    margin: 0;
    padding-top: 150%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50%;
    position: relative;
    background-color: white;
}


.img-fixed__3-2-container {
    width: 100%;
    margin: 0;
    padding-top: 66%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50%;
    position: relative;
    background-color: white;
}


.img-fixed__image {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    vertical-align: top;
}

.img-intranet--hidden {
    display: none;
}

.img__show-more {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: whitesmoke;
    color: grey;
    font-weight: 600;
    transition: 0.2s;
    text-align: center;
    border: 0;
    white-space: normal;
}

    .img__show-more:hover {
    transition: 0.2s;
    cursor: pointer;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
    }


.documents-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 10px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 10px;
}

@media only screen and ( max-width: 1240px ) {
    .documents-grid {
        grid-template-columns: repeat(6, 1fr);
    }

}

@media only screen and ( max-width: 1024px ) {
    .documents-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and ( max-width: 768px ) {
    .documents-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/*----tiles----*/
.tile-button {
    height: 120px;
    padding: 15px;
    background-color: white;
    border: 1px solid lightgrey;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #5a5a5a;
    font-size: 1.8rem;
    text-align: center;
    transition: 0.2s;
}


    .tile-button > i {
    font-size: 25px;
    margin-bottom: 5px;
    }

    .tile-button:hover {
    text-decoration: none;
    transition: 0.2s;
        color: #5a5a5a;
    cursor: pointer;
    box-shadow: 0 0 5px 0 rgb(136 136 136 / 36%);
    }

    .tile-button:focus {
    text-decoration: none;
    color: #5a5a5a;
    }

/*---org-footer----*/
.org-footer {
    color: #383838;
    margin-top: 15px;
    margin-top: auto;
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 2px solid whitesmoke;
    background-color: white;
}

@media only screen and (max-width: 576px) {
    .org-footer {
        flex-direction: column;
    }
}

.org-footer__copyright {
    text-align: center;
    color: #383838;
}

.org-footer__content {
    margin-right: 20px;
    margin-left: 20px;
    text-align: left;
    min-width: 150px;
}

@media only screen and (max-width: 576px) {
    .org-footer__content {
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 576px) {
    .org-footer__content--facebook {
        margin-left: 5px;
        margin-right: 5px;
    }
}

.org-footer__content span {
    display: block;
}

.org-footer__content-heading {
    font-weight: 600;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 0;
    color: #585858;
}

.org-footer__link {
    color: #383838;
    text-decoration: none;
}

    .org-footer__link:hover, org-footer__link:focus {
    color: #383838;
    text-decoration: none;
    }


/*----board-members----*/

.board-member {
    height: auto;
    display: flex;
    flex-direction: column;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
}

    .board-member img {
        min-height: auto;
        width: 100px;
        height: 100px;
        border-radius: 75px;
        margin: auto;
        display: block;
        object-fit: cover;
        background-color: white;
    }


.board-member__top {
    padding: 15px;
    background-image: linear-gradient(135deg, white 0%, #dadada 100%);
    border-radius: 5px 5px 0 0;
    height: 225px;
}

.board-member__tile {
    padding: 10px;
    border: 2px solid #f1f1f1;
    margin: 0;
    margin-bottom: 0 !important;
    flex-direction: column !important;
}

.board-member__role {
    color: grey;
    margin-top: 0 !important;
    font-size: 1.5rem;
    margin: 0;
    display: block;
    text-align: center;
}

    .board-member__role:last-child {
        margin-bottom: 10px !important;
    }

.board-member__name {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 10px 0 0 0;
    text-align: center;
    color: #585858;
}

.board-member__contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.board-member__contact-item {
    display: block;
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid whitesmoke;
    color: black;

}

    .board-member__contact-item:hover {
    text-decoration: none;
    }

.board-member__contact-item--email {
    margin-top: auto;
}

.board-member__contact-item:last-child {
    border-bottom: 0;
}

.board-member__icon {
    color: grey;
    font-size: 20px;
    margin-right: 10px;
}


/*----input----*/
.user-input {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    transition: 0.2s;
}

    .user-input:last-child {
      margin-bottom: 0;
    }

.user-input--required {
    color: red;
}

.user-input--mb0-desktop {
    margin-bottom: 0;
}

.user-input__required {
    color: red;
}

.user-input__label {
    position: absolute;
    top: 15px;
    left: 10px;
    color: grey;
    user-select: none;
    transition: 0.2s;
    line-height: 1.4;
    z-index: 1; /*HACK: We use z-index here since the label gets placed underneath textarea on ios...*/
}

.user-input__label--small {
    transition: 0.2s;
    top: 2px;
    font-size: 1.2rem;
}

.user-input__input {
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    min-height: 50px;
    transition: 0.2s;
    background-color: white;
    color: #424242;
    -webkit-appearance: none;
}

    .user-input__input:disabled {
        background-color: #ececec;
        color: dimgrey;
    }


.user-input__input--small {
    line-height: 1;
    padding-bottom: 0px;
    transition: 0.2s;
}

.user-input__input--small-width {
    max-width: 512px;
}


.user-input__input--simple:focus {
        transition: 0.2s;
        border-bottom: 2px solid grey;
}

        .user-input__input--simple:focus + .donate-simple__currency {
            transition: 0.2s;
            border-bottom: 2px solid grey;
        }

.user-input__input--large-font {
    font-size: 1.6rem;
    font-weight: 500;
}

.user-input__select {
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    min-height: 50px;
    transition: 0.2s;
    -webkit-appearance: none;
    background-color: white;
}

.user-input__select--small {
    line-height: 1;
    padding-bottom: 0px;
    transition: 0.2s;
}

.user-input__textarea {
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    min-height: 200px;
    resize: vertical;
    transition: 0.2s;
    display: block;
    font-size: 1.6rem;
    background-color: white;
}

.user-input__textarea--small {
    transition: 0.2s;
    padding-top: 20px;
}

.user-input__input--simple {
    background-color: white;
    border: 0;
    border-bottom: 2px solid lightgrey;
    border-radius: 0;
    outline: none;
    transition: 0.2s;
}


.theme-button {
    background-color: whitesmoke;
    border: 2px solid #9EAEC5;
    color: #526279;
    padding: 10px 15px;
    transition: 0.2s;
    font-weight: 600;
    user-select: none;
    display: inline-block;
}

    .theme-button:hover, .theme-button:focus {
        transition: 0.2s;
        background-color: #9EAEC5;
        color: #05152C;
        text-decoration: none;
    }

@media only screen and ( max-width: 650px ) {
        .theme-button__container {
            margin: 0 10px;
        }
}
  

.alert-secondary {
    font-size: 2rem;
    margin: 0;
    /*    color: #383d41;
    background-color: #e2e3e5;*/
    border-color: #d6d8db;
    margin-bottom: 10px;
    background-color: #d3d3d3;
    color: #2d2d2d;
}


/*----documents----*/
.documents-attachment {
    height: 100%;
    transition: 0.2s;
    overflow: hidden;
}

    .documents-attachment:hover {
    cursor: pointer;
    transition: 0.2s;    
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.25);
    }


.article-attachment {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: whitesmoke;
    border: 1px solid #eaeaea;
    border-radius: 3px;
    color: #636363;
    transition: 0.2s;
    font-weight: 600;
}

    .article-attachment > i {
    font-size: 20px;
    }

    .article-attachment:hover,
    .article-attachment:focus {
    transition: 0.2s;
    text-decoration: none;
    color: #636363;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
    }




/*----CARD----*/
.membership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    /*margin: 15px;*/
    /*margin-top: 10px;*/
}
@media only screen and ( max-width: 768px ) {
    .membership-grid {
        max-width: 100%;
    }
}

@media only screen and ( max-width: 650px ) {
    .membership-grid {
        grid-template-columns: 1fr;
        margin: 15px 0 15px 0;
    }
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: normal;
    margin: 0;
    padding: 10px;
    background-color: #eaeaea;
    /*margin: 15px;*/
    margin-bottom: 10px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e2e2;
    font-weight: 600;
    color: #585858;
    position: relative;
}

@media only screen and ( max-width: 650px ) {
    .section-heading {
        /*        margin: 10px 0;
*/        border-radius: 0;
    }
}

.card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

@media only screen and ( max-width: 650px ) {
    .card {
        border-radius: 0;
        box-shadow: none;
    }
}
.card:last-child {
   margin-bottom: 0;
}


.card__header {
    display: flex;
    padding: 10px;
    padding-bottom: 0;
    height: 50px;
}

.card__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    padding: 10px;
    font-size: 1.6rem;
    color: #5a5a5a;
    border-radius: 10px 0 0 10px;
    margin: 0;
    width: 100%;
    position: relative;
}

@media only screen and ( max-width: 650px ) {
    .card__heading {
        border-radius: 5px 0 0 5px;
    }
}

.card__edit-btn {
    position: absolute;
    right: 0;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: grey;
    font-weight: normal;
    font-size: 1.4rem;
    margin: 5px;
    user-select: none;
}

.card__edit-btn {
    position: absolute;
    right: 0;
    top: 7px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: grey;
    font-weight: normal;
    font-size: 1.4rem;
    margin: 5px;
    transition: 0.2s;
}
    .card__edit-btn:hover, .card__edit-btn:focus {
        text-decoration: none;
        transition: 0.2s;
        color: #585858;
    }



.card__edit-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 50px;
    background-color: #e6e6e6;
    border-radius: 0 10px 10px 0;
    color: #545454;
    transition: 0.2s;
}

@media only screen and ( max-width: 650px ) {
    .card__edit-icon {
        border-radius: 0 5px 5px 0;
    }
}

.card__edit-icon:hover, .card__edit-icon:focus {
        transition: 0.2s;
        text-decoration: none !important;
        color: #545454 !important;
        background-color: #d6d6d6;
}


.card__heading:last-child {
    background-color: #f7f7f7;
    padding: 10px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #5a5a5a;
    border-radius: 10px;
}


.card__img-link {
    position: relative;
    display: block;
    transition: 0.2s;
}

    .card__img-link:hover > .card__img-overlay {
        transition: 0.2s;
        background-color: rgba(0,0,0,0.4);
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        width: 100%;
        border-radius: 10px;
    }

        .card__img-link:hover > .card__img-overlay > span {
            display: block;
        }

.card__img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        background-color: whitesmoke;
}

.card__img-overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.2s;
        position: absolute;
        top: 5px;
        left: 5px;
        background-color: rgba(0,0,0,0.4);
        padding: 5px;
        border-radius: 20px;
        color: white;
        font-weight: 600;
        text-align: center;
        height: 30px;
        width: 30px;
}

    .card__img-overlay > span {
        display: none;
    }

.card__body {
    padding: 10px;
}

.card__body--2-col {
    display: grid;
    grid-template-columns: 83px 1fr;
    grid-gap: 10px
}

.card__info-item {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid whitesmoke;
}
    .card__info-item > label {
        margin-bottom: 0;
        font-size: 1.2rem;
        color: grey;
        white-space: nowrap;
    }

    .card__info-item > span, .card__info-item > a {
        font-weight: 600;
        color: #525252;
        margin-left: auto;
        display: inline-block;
        /*word-break: break-word;*/
        /*white-space: break-spaces;*/
        text-align: right;
        white-space: nowrap;
        overflow: auto;
        width: 100%;
    }
    
    .card__info-item:first-child {

    }

    .card__info-item:last-child {
        margin-bottom: 0;
        border-bottom: 1px solid whitesmoke;
    }

.card__info-item--fixed-lable {
    grid-template-columns: 80px 1fr;
}

    .card__info-item--fixed-lable > span, .card__info-item--fixed-lable > a {
        text-align: left;
    }

.card__info-item--fullborder:first-child {
    border-top: 1px solid whitesmoke;
}

.card__info-item--fullborder:last-child {
    border-bottom: 1px solid whitesmoke;
    padding-bottom: 10px;
}


/*----grid-table----*/

.grid-table {
    display: flex;
    flex-direction: column;
    display: grid;
    border: 1px solid #eaeaea;
    overflow: auto;
}

.grid-table--2 {
    grid-template-columns: repeat(2, minmax(auto, min-content)) 1fr;
    white-space: nowrap;
}
.grid-table--3 {
    grid-template-columns: repeat(3, minmax(auto, min-content)) 1fr;
    white-space: nowrap;
}

.grid-table--4 {
    grid-template-columns: repeat(4, minmax(auto, min-content)) 1fr;
    white-space: nowrap;
}

.grid-table--5 {
    grid-template-columns: repeat(5, minmax(auto, min-content)) 1fr;
    white-space: nowrap;
}

.grid-table--6 {
    grid-template-columns: repeat(6, minmax(auto, min-content)) 1fr;
    white-space: nowrap;
}

.grid-table__head {
    background-color: #f1f1f1;
    padding: 8px 10px;
    color: #757474;
}

.grid-table__body {
    padding: 8px 10px;
    background-color: white;
}

.loading-container {
    background-color: transparent;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
    color: #4a4a4a;
    /*position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

/*----invoice----*/

.invoice-container {
    display: grid;
    grid-template-columns: 300px auto;
    border: 1px solid #eaeaea;
    border-radius: 15px;
}

@media only screen and ( max-width: 767px ) {
    .invoice-container {
        grid-template-columns: 1fr;
    }
}

.invoice__detail-overview {
    background-color: rgba(56, 72, 95, 0.11);
    border-radius: 15px 0 0 15px;
}

.invoice__detail {
    padding: 15px;
    border-top: 1px solid #38485f17;
}

.invoice__detail--hidden-lg {
        display: none !important;
}

.invoice__detail:first-child {
        border: 0;
}

.invoice__detail-heading {
    color: #38485fb0;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    /*font-weight: 600;*/
}

    .invoice__detail-heading > i {
    margin-right: 5px;
    }


.invoice__detail-body {
    margin: 0;
    font-weight: 600;
    color: #5f5f5f;
    font-size: 1.4rem;
}


.invoice__payment-details {
    background-color: white;
    border-radius: 0 15px 15px 0;
    /*padding: 15px;*/
}

.invoice__payment-details--hidden-sm {
    display: block;
}

.invoice__payment-details-heading {
    background-color: #38485f0d;
    padding: 15px;
    font-size: 1.4rem;
    color: #6d6d6d;
    margin: 0;
    border-radius: 0 15px 0 0;
}

.invoice__payment-details-item {
   border-bottom: 1px solid whitesmoke;
   display: grid;
   grid-template-columns: 1fr auto;
   grid-gap: 15px;
   align-items: center;
   padding-bottom: 10px;
   margin-bottom: 10px;
}

.invoice__payment-details-item-heading {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #5d5d5d;
    margin-bottom: 5px;
}

    .invoice__payment-details-item-heading:last-child {
    margin: 0;
    }


.invoice__payment-details-item-body {
    display: flex;
    flex-direction: column;
    color: grey;
    font-size: 1.2rem;
}


.invoice__status--red {
    color: #e05d5d;
}

.invoice__icon-status--alert {
    font-size: 25px;
    color: #dc3545db;
}

.invoice__icon-status--success {
    font-size: 25px;
    color: #28a745;
}

.invoice__payment-option {
    background-color: whitesmoke;
    border: 1px solid #ececec;
    display: flex;
    align-items: center;
    text-align: left;
    border-radius: 15px;
    width: 100%;
    color: #4a4a4a;
    font-size: 1.6rem;
    transition: 0.2s;
    min-height: 50px;
    margin-bottom: 15px;
    padding: 10px;
    color: #5d5d5d;
    user-select: none;
    white-space: normal;
}

    .invoice__payment-option:hover {
        transition: 0.2s;
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
    }

    .invoice__payment-option:last-child {
        margin-bottom: 0;
    }

.invoice__button-contianer {
    padding: 15px;
    border-radius: 0 0 15px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.invoice__alert {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.invoice__payment-status-section-heading {
    text-align: center;
    width: 102px;
    padding: 5px !important;
    background-color: #ffffff !important;
    border: 1px solid #e4e4e4;
    border-bottom: 1px solid #ececec;
    color: #7b7b7b;
    font-size: 1.2rem !important;
    margin: 5px 5px 0 5px !important;
    border-radius: 30px;
    margin: 10px auto 5px 5px !important;
}

.invoice__payment-mobile {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    box-shadow: 0 0 10px 0 rgba(144, 144, 144, 0.28);
}

.invoice__payment-mobile-amt-container {
    padding: 20px;
    font-size: 25px;
    text-align: center;
    background-color: whitesmoke;
    border-radius: 9px 9px 0 0;
    position: relative;
}

.invoice__payment-mobile-amt-heading {
    font-size: 1.4rem;
    margin: 0;
    color: grey;
    margin-bottom: 5px;
}

.invoice__payment-mobile-info-icon {
   position: absolute;
   top: 5px;
   right: 5px;
   background-color: transparent;
   border: 0;
   font-size: 25px;
   color: grey;
}

.invoice__payment--mobile-button-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.invoice__payment--mobile-button {
    background-color: transparent;
    border: 0;
    border-top: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #4c4c4c;
    padding: 10px;
    transition: 0.2s;
    min-height: 55px;
    width: 100%;
}

.invoice__payment--mobile-button-form {
    border-right: 1px solid #eaeaea;
}
.invoice__payment--mobile-button:hover {
    background-color: #efefef;
    transition: 0.2s;
    min-height: 55px;
}

.invoice__payment--mobile-button:last-child {
    border-right: 0;
}

.icon-red {
    color: #e23f3f;
}

.icon-green {
    color: #4a9e4a;
}

.invoice__payment-amt {
    margin: 0;
    height: 100%;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #545454;
    border-radius: 5px;
    flex-direction: column;
    padding: 5px;
    border: 1px solid #eaeaea;
}

    .invoice__payment-amt > span {
        font-size: 1rem;
        color: grey;
    }

.invoice__payment-amt--warn {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
    .invoice__payment-amt--warn > span {
        color: inherit;
    }

.invoice__payment-amt--danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
    .invoice__payment-amt--danger > span {
        color: inherit;
    }


@media only screen and ( max-width: 767px ) {
    .invoice-container {
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .invoice__detail-overview {
        border-radius: 0;
        margin-bottom: 15px;
    }

    .invoice__detail-heading {
        margin-bottom: 5px;
    }

    .invoice__detail {
        border-radius: 0;
        padding: 10px;
    }

    .invoice__payment-details-heading {
        border-top: 1px solid #eaeaea;
        border-radius: 0;
    }

    .invoice__payment-details {
        border-radius: 0;
    }

    .invoice__payment-details--hidden-sm {
        display: none;
    }

    .invoice__detail--hidden-lg {
        display: block;
    }
}

@media only screen and ( max-width: 576px ) {
    .invoice__button-contianer {
        grid-template-columns: 1fr;
    }

    .invoice__detail-overview {
        background-color: white;
    }

    .invoice__payment-mobile {
        margin: 10px;
    }

    .invoice__payment--mobile-button-container {
        grid-template-columns: 1fr;
    }

    .invoice__payment--mobile-button {
        display: grid;
        grid-template-columns: 60px 1fr;
        grid-gap: 10px;
        text-align: left;
    }
    .invoice__payment--mobile-button-form {
        border-right: 0;
    }

    .invoice__alert {
        margin: 10px;
        margin-bottom: 15px;
    }
}


.btn--small {
    padding: 5px;
    background-color: whitesmoke;
    margin: auto;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    color: #676666;
    text-align: center;
    user-select: none;
}

.btn--grey {
    padding: 10px;
    color: grey;
    border: 1px solid #eaeaea;
    background-color: white;
    text-align: center;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    user-select: none;
}

.btn--grey-blue {
    background-color: transparent;
    border: 1px solid #38485f38;
    padding: 10px;
    color: #38485fb8;
    width: 100%;
    display: inline-block;
    text-align: center;
    transition: 0.2s;
    margin-bottom: 10px;
    user-select: none;
}

    .btn--grey-blue:last-child {
    margin-bottom: 0;
    }

    .btn--grey-blue:hover, btn--grey-blue:focus {
        transition: 0.2s;
        background-color: #38485f38;
        text-decoration: none;
        color: inherit;
    }

.btn--grey:hover {
    transition: 0.2s;
    text-decoration: none;
    background-color: whitesmoke;
}

.btn--grey:focus {
    text-decoration: none;
}


.teamlistitem--hidden {
    display: none;
}
