/* Grids */
table.grid {
    width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
    color: #333333 !important;
    background-color: #FFF;
    font-weight: 300;
}

    table.grid td.altcolor {}

    table.grid thead tr {}

    table.grid td {
        box-sizing: border-box;
        white-space: pre; /* CSS 2.0 */
        white-space: pre-wrap; /* CSS 2.1 */
        white-space: pre-line; /* CSS 3.0 */
        white-space: -pre-wrap; /* Opera 4-6 */
        white-space: -o-pre-wrap; /* Opera 7 */
        white-space: -moz-pre-wrap; /* Mozilla */
        white-space: -hp-pre-wrap; /* HP Printers */
        word-wrap: break-word; /* IE 5+ */
        padding: 20px;
        text-align: left;
    }

    table.grid thead a, table.grid thead span {
        display: inline-block;
        color: #333;
    }

        table.grid thead a:hover {
            text-decoration: underline;
        }

    table.grid thead span {
        color: #0995f3;
    }

    table.grid thead tr th {
        text-align: left;
        border-bottom: solid 1px #888888;
        vertical-align: bottom;
        font-weight: 500;
        font-size: 1.1em;
        font-family: 'Poppins', sans-serif;
        padding: 20px;
    }

    table.grid tbody tr {}

        table.grid tbody tr td {
            border-bottom: 1px solid #888888;
            vertical-align: middle;
        }

.responsivegridheader {
    display: none;
    font-weight: 300;
    color: #FFFFFF;
    background-color: #0995f3;
    box-sizing: border-box;
    border-bottom: none !important;
}

    .responsivegridheader td {
        box-sizing: border-box !important;
        padding: 5px !important;
        display: inline-block !important;
        width: auto !important;
        font-size: 20px !important;
    }

        .responsivegridheader td a {
            color: #FFFFFF !important;
        }

table.grid span.selection{
    width: 100%;
}

table.grid .select2-selection__arrow {
    display: none;
}

.gridsmalltext {
    font-size: 12px;
}

.griduserphotocontainer {
    border-radius: 50%;
    background-color: #FFFFFF;
    display: inline-block;
    vertical-align: middle;
    height: 55px;
    width: 55px;
    /*border: solid 1px #333333;
    box-shadow: rgba(0, 0, 0, 0.9) 0px 3px 5px;*/
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 3px;
}

table.popupgrid {
    width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
    color: #333333 !important;
    background-color: #FFF;
    font-weight: 300;
}

    table.popupgrid td.altcolor {
    }

    table.popupgrid thead tr {
    }

    table.popupgrid td, table.popupgrid th {
        box-sizing: border-box;
        white-space: pre; /* CSS 2.0 */
        white-space: pre-wrap; /* CSS 2.1 */
        white-space: pre-line; /* CSS 3.0 */
        white-space: -pre-wrap; /* Opera 4-6 */
        white-space: -o-pre-wrap; /* Opera 7 */
        white-space: -moz-pre-wrap; /* Mozilla */
        white-space: -hp-pre-wrap; /* HP Printers */
        word-wrap: break-word; /* IE 5+ */
        padding: 20px;
        text-align: left;
    }

    table.popupgrid thead a, table.popupgrid thead span {
        display: inline-block;
        color: #333;
    }

        table.popupgrid thead a:hover {
            text-decoration: underline;
        }

    table.popupgrid thead span {
        color: #0995f3;
    }

    table.popupgrid thead tr td {
        text-align: left;
        border-bottom: solid 1px #888888;
        vertical-align: bottom;
        font-weight: 500;
        font-size: 1.2em;
        font-family: 'Poppins', sans-serif;
    }

    table.popupgrid tbody tr {
    }

        table.popupgrid tbody tr td {
            border-bottom: 1px solid #888888;
            vertical-align: middle;
        }

table.statementgrid {
    width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
    color: #333333 !important;
    background-color: #ececec;
    font-weight: 300;
}

    table.statementgrid td.altcolor {
        background-color: #eaeaea;
    }

    table.statementgrid thead tr {
        background-color: #FFFFFF;
    }

    table.statementgrid td {
        box-sizing: border-box;
        white-space: pre; /* CSS 2.0 */
        white-space: pre-wrap; /* CSS 2.1 */
        white-space: pre-line; /* CSS 3.0 */
        white-space: -pre-wrap; /* Opera 4-6 */
        white-space: -o-pre-wrap; /* Opera 7 */
        white-space: -moz-pre-wrap; /* Mozilla */
        white-space: -hp-pre-wrap; /* HP Printers */
        word-wrap: break-word; /* IE 5+ */
        padding: 20px;
        text-align: left;
    }

        table.statementgrid td img {
            max-width: 100% !important;
        }

    table.statementgrid thead a, table.statementgrid thead span {
        display: inline-block;
    }

        table.statementgrid thead a:hover {
            text-decoration: underline;
        }

    table.statementgrid thead span {
        color: #0995f3;
    }


    /*table.statementgrid thead tr td {
        border-bottom: solid 1px #333333;
        vertical-align: bottom;
        font-weight: 300;
    }*/

    table.statementgrid tbody tr {
        border-bottom: solid 1px #FFF;
        border-top: solid 1px #6d6e71;
    }

        table.statementgrid tbody tr td {
            border-bottom: 1px solid #888888;
            vertical-align: top;
            font-size: 14px;
        }



table.listgrid {
    width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
    color: #333333 !important;
    background-color: #ececec;
    font-weight: 300;
}

    table.listgrid td {
        box-sizing: border-box;
        white-space: pre; /* CSS 2.0 */
        white-space: pre-wrap; /* CSS 2.1 */
        white-space: pre-line; /* CSS 3.0 */
        white-space: -pre-wrap; /* Opera 4-6 */
        white-space: -o-pre-wrap; /* Opera 7 */
        white-space: -moz-pre-wrap; /* Mozilla */
        white-space: -hp-pre-wrap; /* HP Printers */
        word-wrap: break-word; /* IE 5+ */
        padding: 20px;
        text-align: left;
    }

    table.listgrid tbody tr {
        border-bottom: solid 1px #FFF;
        border-top: solid 1px #6d6e71;
    }

        table.listgrid tbody tr td {
            border-bottom: 1px solid #888888;
            vertical-align: middle;
        }




table.controlsgrid tbody td {
    background-color: rgba(0, 0, 0, 0.2);
}

.gridpager {
    text-align: right;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

    .gridpager a, .gridpager span {
        display: inline-block;
        color: #888;
        padding: 1px 8px;
        margin: 0px 2px;
        border-radius: 5px;
    }

.gridpagerleft {
    text-align: left;
}

.prevpage, .nextpage {
    font-size: 20px;
}

.currentpage {
    background-color: #f7f7f7;
}

.gridbutton {
    height: 25px;
    width: 25px;
    display: inline-block;
}

    .gridbutton img {
        height: 100%;
        width: 100%;
    }

.gridlink {
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
    background-color: #0995f3;
    color: #FFFFFF !important;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none !important;
    transition: all linear 0.25s;
    width: 100%;
    box-sizing: border-box;
    font-weight: 300 !important;
    border: 1px solid #0995f3;
    position: relative;
    border-radius: 3px;
}

    .gridlink:hover {
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 2px;
        text-decoration: none;
        border: solid 1px #333333;
    }

    .gridlink:last-of-type {
        margin-bottom: 0px;
    }

.gridlinkdark {
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
    color: #FFFFFF !important;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none !important;
    transition: all linear 0.25s;
    width: 100%;
    box-sizing: border-box;
    font-weight: 300 !important;
    border: 1px solid #0995f3;
    position: relative;
    background-color: #0995f3;
}

    .gridlinkdark:hover {
        box-shadow: rgba(0, 0, 0, 0.4) 0px 5px 10px;
    }

    .gridlinkdark:last-of-type {
        margin-bottom: 0px;
    }

.gridredlink {
    border: solid 1px #bc0400;
    background-color: #bc0400;
}
.gridGreylink {
    border: solid 1px grey;
    background-color: grey;
}

    .gridredlink:hover {
    }

.gridgreenlink {
    border: solid 1px #39aa23;
    background-color: #39aa23;
}

    .gridgreenlink:hover {
    }

.griddisabledlink {
    border: solid 1px #666666;
}

    .griddisabledlink:hover {
        background-color: #666666;
    }

.participantgridbutton {
    display: flex;
    align-items: center;
}

.participantgridbutton img {
    display: inline-block;
    margin-right: 10px;
    height: 20px;
}

table.order {
    margin: 10px auto 20px;
}

    table.order tbody tr {
        border-bottom: solid 1px #CCC;
    }

        table.order tbody tr:last-child {
            border-bottom: none;
        }

        table.order tbody tr td {
            font-size: 1.6em;
            padding: 10px 20px;
            border-right: solid 1px #CCC;
        }

            table.order tbody tr td:first-child {
                font-size: 2em;
                font-weight: bold;
                text-align: right;
            }

            table.order tbody tr td:last-child {
                border-right: none;
            }

.ordertotal {
    font-size: 2em;
}

.responsivegridlabel {
    display: none;
}

.gridcount {
    font-size: 16px;
    font-weight: 400;
}
/* Panel Grid */
.panelcontainer {
    justify-content: center;
    display: flex;
    flex-flow: row wrap;
}

.panelitem {
    margin: 0px 3px 15px;
    min-width: 30%;
    width: 30%;
    flex-basis: 30%;
    position: relative;
    border-top: 3px solid #0995f3;
    background-color: #ececec;
    color: #333333;
    box-sizing: border-box;
    flex: 1;
    display: flex;
    flex-flow: column;
}

    .panelitem p {
        margin-bottom: 10px;
    }

.panelfilters {
    padding: 20px 20px 0px;
    position: relative;
    border-bottom: solid 1px #CCC;
}

.panelitemtransparent {
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding: 20px 0px;
}

.panelitem100 {
    flex-basis: 100% !important;
    width: 100%;
}

.panelitem50 {
    flex-basis: 40% !important;
    width: 40%;
}

.panelsubheader {
    border-top: solid 1px #FFFFFF;
    background-color: #0995f3;
    text-align: left;
    padding: 5px 20px;
    color: #FFFFFF;
    font-weight: 300;
    font-size: 16px;
}

.panelhero {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    background-color: #333;
    height: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
    overflow: hidden;
}

.panelhero-price {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-bottom-left-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.2) -1px 1px;
    font-weight: 300;
}

.panelhero-admininfo {
    width: 200px;
    position: absolute;
    left: -200px
}


    .panelhero-admininfo div {
        background-color: rgba(255,255,255, 0.9);
        font-size: 14px;
        text-align: left;
        padding: 5px 10px;
        margin-bottom: 5px;
        padding: 10px 20px;
        border-bottom-right-radius: 5px;
        box-shadow: rgba(0, 0, 0, 0.2) 1px 1px;
        font-weight: 300;
    }

.panelitem:hover .panelhero-admininfo {
    transition: all linear 0.15s;
    left: 0px;
}

.paneldetails {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    font-weight: 300;
    padding: 20px 20px 10px;
    text-align: left;
    z-index: 1;
    background-color: #FFFFFF;
    font-size: 14px;
    flex-grow: 1;
}

    .paneldetails h3 {
        font-size: 1.1em;
    }

.paneldetailsflex {
    justify-content: space-around;
    display: flex;
    flex-flow: row wrap;
    padding: 80px 20px;
}

.paneldetailitem {
    border-style: solid;
    border-width: 2px 1px 1px;
    border-color: #0995f3 #ececec #ececec;
    padding: 20px 20px 15px;
    background-color: #f7f7f7;
    box-sizing: border-box;
}

    .paneldetailitem h4 {
        margin-top: 0px;
        padding-bottom: 10px;
        border-bottom: 1px solid #0995f3;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
    }

    .paneldetailitem p {
        font-weight: 300;
        font-size: 14px;
    }

.paneldetailsflex .paneldetailitem {
    flex-basis: 30%;
    width: 30%;
}

.paneldetailitemicon {
    border: 1px solid #858585;
    border-radius: 300px;
    background-color: #FFFFFF;
    width: 80px;
    height: 80px;
    margin: -60px auto 20px;
    position: relative;
}

    .paneldetailitemicon img {
        width: 40px;
        height: 40px;
        position: absolute;
        left: 50%;
        margin-left: -20px;
        top: 50%;
        margin-top: -20px;
    }

.paneldetailsdisplayimage {
    display: inline-block;
    width: 49%;
    box-sizing: border-box;
    vertical-align: top;
    text-align: center;
    position: relative;
    height: 250px;
}

    .paneldetailsdisplayimage div img {
        max-width: 190px;
        max-height: 500px;
    }

.paneldetailsbadgecontainer {
    display: block;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -125px;
    height: 250px;
}

    .paneldetailsbadgecontainer img {
        height: 100%;
    }

.paneldetailsuserphotocontainer {
    border-radius: 50%;
    background-color: #FFFFFF;
    display: block;
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -110px;
    height: 250px;
    padding: 7px 10px;
    border: solid 1px #CCC;
}

    .paneldetailsuserphotocontainer img {
        height: 100%;
    }

#imgUserPhoto {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

    #imgUserPhoto.thumbimage {
        z-index: 3;
        height: 50px;
        width: 44.35px;
        margin-left: 50px;
        top: 150px;
    }

    #imgUserPhoto.focusimage {
        height: 180px;
        width: 180px;
        padding: 20px 30px;
        z-index: 2;
    }

#imgIndividualBadge.thumbimage {
    z-index: 3;
    height: 80px;
    margin-left: 50px;
    top: 150px;
}

#imgIndividualBadge.focusimage {
    z-index: 2;
}

.paneldetailsdisplaydescription {
    display: inline-block;
    width: 49%;
    box-sizing: border-box;
    vertical-align: middle;
}

.panelname {
    text-align: left;
    position: relative;
    margin: 0px 0px;
    padding: 14px 20px;
    box-sizing: border-box;
    z-index: 2;
    display: block;
    color: #FFFFFF;
    background-color: #494949;
    font-size: 18px;
    font-weight: 300;
    height: 55px;
}

    .panelname a {
        color: white;
    }

.infoicon {
    max-height: 25px;
    float: right;
}

.panelnametoggle {
    float: right;
    border: solid 1px #FFFFFF;
    border-radius: 50%;
    height: 13px;
    width: 13px;
    margin-top: 4px;
    margin-right: 5px;
    background-color: #414141;
}

.panelnametogglegreen {
    background-color: #26a72b;
}

.panelnametogglered {
    background-color: #bd0000;
}

.panelnametoggle:first-of-type {
    margin-right: 0px;
}

.panelname img {
    height: 35px;
    width: 30px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 10px;
}

.panelname span {
    vertical-align: middle;
    display: inline-block;
}

.panellinks {
    padding: 10px 15px 15px;
    border-top: solid 2px #CACACA;
    font-size: 16px;
}

.paneladmininfo {
    text-align: left;
    margin-bottom: 20px;
}

.paneladmininfoitem {
    box-sizing: border-box;
    border-bottom: solid 1px #CCC;
    margin-bottom: 7px;
    padding-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.9);
}

.panelinfoitemdescription {
    box-sizing: border-box;
    margin-bottom: 7px;
    padding-bottom: 10px;
    background-color: #FFFFFF;
    line-height: 15px;
}

.paneladmininfoitem span {
    color: #0995f3;
    font-weight: 400;
}

.paneldetailsfield {
    margin-bottom: 10px;
    border-bottom: 1px solid #d3d3d3;
    padding-bottom: 10px;
}

.paneldetailsfieldlabel {
    display: block;
    margin-bottom: 0px;
    text-align: left;
    font-weight: 400;
    font-size: 16px;
}

.paneldetailsfieldspan {
    font-weight: 300;
    font-size: 14px;
}

.panelnotice {
    background-image: url('https://icabmedia.s3.ca-central-1.amazonaws.com/images/Icons/notification.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 18px;
    right: 10px;
    height: 25px;
    width: 25px;
    text-align: center;
    z-index: 2;
}

.paneldetailsbuttonnotice {
    background-image: url('https://icabmedia.s3.ca-central-1.amazonaws.com/images/Icons/notification.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 7px;
    right: 10px;
    height: 18px;
    width: 18px;
    text-align: center;
    z-index: 2;
}


.filterpanel {
    margin: 20px auto 25px;
    width:85%;
    position: relative;
    border-top: 3px solid #0995f3;
    background-color: #fafafa;
    color: #333333;
    justify-content: space-around;
    display: flex;
    flex-flow: row wrap;
}

    .filterpanel h1, .filterpanel h2 {
        text-align: left;
        position: relative;
        margin: 0px 0px;
        padding: 14px 20px;
        z-index: 2;
        display: block;
        color: #FFFFFF;
        background-color: #494949;
        font-size: 18px;
        font-weight: 300;
        width: 100%;
    }

        .filterpanel h1 img:first-of-type, .filterpanel h2 img:first-of-type {
            height: 35px;
            width: 30px;
            vertical-align: middle;
            display: inline-block;
            margin-right: 10px;
        }

        .filterpanel h1 img:last-of-type, .filterpanel h2 img:last-of-type {
            height: 30px;
            width: 30px;
            vertical-align: middle;
            display: inline-block;
            margin-right: 10px;
            float: right;
        }

        .filterpanel h2 a {
            color: #FFFFFF;
            text-decoration: none;
            width: 100%;
            display: block;
        }

        .filterpanel h1 span, .filterpanel h2 span {
            vertical-align: middle;
            display: inline-block;
        }

.filterpaneldetails {
    width: 100%;
    position: relative;
    font-weight: 400;
    padding: 20px;
    text-align: left;
    z-index: 1;
}

/*.filterpanelfeature {
    width: 30%;
    background-image: url('https://icabmedia.s3.ca-central-1.amazonaws.com/images/Layout/logo-ICAB-globe.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #FFFFFF;
}*/

.filterpanel h3 {
    text-align: right;
    color: #0995f3;
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 5px;
}

    .filterpanel h3 img {
        display: none;
    }

    .filterpanel h3 br {
        display: none;
    }

.filterpanel-standalone {
    padding: 20px 0px;
}

/* Observation Grid */
.observationratinggrid {
    width: 100%;
    border: none;
}


    .observationratinggrid tr td:first-of-type {
        font-weight: 400;
        padding: 10px 15px;
        box-sizing: border-box;
    }

        .observationratinggrid tr td:first-of-type a {
            height: 100%;
            width: 100%;
            font-weight: 400;
            display: block;
            text-decoration: none !important;
        }

    .observationratinggrid tr td:last-of-type {
        padding-left: 20px;
    }

/* Filter grid */
table.filtergrid {
    width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
    color: #333333 !important;
    background-color: #FFF;
    font-weight: 300;
}

    table.filtergrid tbody tr {
        display: flex;
        align-items: center;
        margin: 10px 0px;
    }

    table.filtergrid tbody td {
        box-sizing: border-box;
        white-space: pre; /* CSS 2.0 */
        white-space: pre-wrap; /* CSS 2.1 */
        white-space: pre-line; /* CSS 3.0 */
        white-space: -pre-wrap; /* Opera 4-6 */
        white-space: -o-pre-wrap; /* Opera 7 */
        white-space: -moz-pre-wrap; /* Mozilla */
        white-space: -hp-pre-wrap; /* HP Printers */
        word-wrap: break-word; /* IE 5+ */
        padding: 0px;
        text-align: left;
        display: flex;
        align-items: center;
    }

        table.filtergrid tbody tr td {
            vertical-align: middle;
        }

@media (max-width: 1100px) {
    .paneldetailsdisplayimage {
        display: block;
        margin: 0px auto;
        width: 100%;
    }

    .paneldetailsdisplaydescription {
        display: block;
        width: 100%;
    }

    .paneldetails {
        padding: 20px 10px 10px;
    }

    .paneldetailsflex {
        padding: 80px 10px;
    }

    .panellinks {
        padding: 10px;
    }
}

@media (max-width: 990px) {
    .responsivegridlabel {
        display: block;
        margin-bottom: 5px;
        font-weight: 400;
        font-size: 1em;
    }

    table.grid {
        margin-top: 20px;
    }

        table.grid thead {
            display: none;
        }

        table.grid tbody tr {
            display: block;
            border-bottom: solid 30px #FFFFFF;
            border-top: none;
            text-align: left;
            box-sizing: border-box;
            padding: 10px;
        }

            table.grid tbody tr:last-of-type {
                border-bottom: none;
            }

        table.grid tr td {
            border-bottom: none !important;
            vertical-align: top !important;
            box-sizing: border-box;
            display: inline-block;
            padding: 10px;
            /*overflow-wrap: break-word;
            word-wrap: break-word;
            -ms-word-break: break-all;
            word-break: break-all;
            word-break: break-word;
            -ms-hyphens: auto;
            -moz-hyphens: auto;
            -webkit-hyphens: auto;
            hyphens: auto;*/
        }

            table.grid tr td .gridlink:first-of-type {
                margin-top: 20px;
            }

            table.grid tr td:last-of-type {
                padding-bottom: 30px;
                width: 100%;
                margin-right: 0px;
            }

    .responsivegridheader {
        display: block;
    }

    .responsivegridhide {
        display: none !important;
    }

    .panelitem {
        min-width: 40%;
        width: 40%;
        flex-basis: 40%;
    }
}

@media all and (max-width: 720px) {
    .filterpanel {
        margin: 20px auto 25px;
    }

        .filterpanel h3 {
            text-align: left;
            background-color: #FFFFFF;
            padding: 20px;
            font-size: 24px;
            margin: -20px -20px 20px;
            line-height: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

    .filterpaneldetails {
        width: 100%;
        position: relative;
        box-sizing: border-box;
        font-weight: 400;
        padding: 20px;
        text-align: left;
        z-index: 1;
    }

    .filterpanelfeature {
        display: none;
    }

    .filterpanel h3 img {
        display: block;
        height: 130px;
        float: right;
    }

    .filterpanel h3 br {
        display: block;
    }
}

@media (max-width: 640px) {
    .panelitem {
        min-width: 100%;
        width: 100%;
        flex-basis: 100%;
    }

    .paneldetailsflex .paneldetailitem {
        padding: 20px 10px;
    }

    .paneldetailsflex .paneldetailitem {
        width: 100%;
        flex-basis: 100%;
        margin-bottom: 80px;
    }

        .paneldetailsflex .paneldetailitem:last-of-type {
            margin-bottom: 0px;
        }
}
