﻿body {
    font-family: KorolevLiUMedium, sans-serif;
}

@media screen and (max-width:767px) {
    #mobilecontainer {
        width: 100%;
    }

    #grid {
        display: none;
    }

    .pushme {
        display: none;
    }

    .DDL_Libname {
        width: 95%;
        height: 2.5em;
        margin-top: 1em;
        margin-left: 2.5%;
        margin-right: auto;
        margin-bottom: 1.5em;
        background-color: #ffffff;
        color: #000000;
        font-size: 1.1em;
        padding: 0.5em;
    }

    select {
        -webkit-appearance: none;
        background: url(///www2.bibl.liu.se/cms/sitecore/bilder/caret-down.svg) no-repeat 97%;
    }

    .date {
        text-align: center;
        margin-bottom: 0.7em;
    }

    .OH {
        text-align: center;
        margin-bottom: 1.0em;
        margin-top: -0.5em;
        font-size: 1.3em;
    }

    .group {
        display: none;
    }

    #ExceptionalOH {
        text-align: center;
        color: #000000;
    }

    /*a.external{
            color: #000000;
        }*/
}

@media screen and (min-width: 768px) {

    #mobile {
        display: none;
    }

    .pushme {
        background: #000000;
        color: #ffffff;
        display: inline-block;
        clear: both;
        float: right;
        margin-right: 2rem;
        margin-bottom: 15px;
        margin-top: 15px;
        font-size: 1.2em;
        padding: 10px;
        border: none;
    }


    #ExceptionalOH {
        margin-left: 1em;
        margin-top: 2em;
        color: #000000;
        text-decoration: none;
    }

    /*a.external {
        color: #000000;
        text-decoration:none;
    }*/

    a.external:hover {
        text-decoration: underline;
    }


    /* Ny css efter omgjord visning av tider november 2019*/
    .gridcontainer {
        display: grid;
        /*grid-gap: 5px;*/
        padding: 5px;
        grid-template-columns: 18% 26% 26% 15% 15%;
    }

    .OHItems {
        /*background-color: rgba(106, 126, 145, 1);*/
        text-align: center;
        padding: 8px;
        font-size: 1.2em;
        color: white;
    }

    .CNBItem {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 3;
        /*background-color: rgba(106, 126, 145, 1);*/
        text-align: center;
        padding: 8px;
        font-size: 1.2em;
        color: white;
    }

    .MBItem {
        grid-column-start: 3;
        grid-column-end: 4;
        grid-row-start: 1;
        grid-row-end: 3;
        /*background-color: rgba(106, 126, 145, 1);*/
        text-align: center;
        padding: 8px;
        font-size: 1.2em;
        color: white;
    }

    .vallaItem {
        grid-column-start: 4;
        grid-column-end: 6;
        grid-row-start: 1;
        grid-row-end: 1;
        /*background-color: rgba(106, 126, 145, 1);*/
        text-align: center;
        padding: 8px;
        font-size: 1.2em;
        color: white;
    }

    #floor3-6 {
        grid-row-start: 2;
        grid-row-end: 2;
        grid-column-start: 4;
        grid-column-end: 5;
        /*background-color: rgba(106, 126, 145, 1);*/
        text-align: center;
        padding: 8px;
        font-size: 1em;
        color: white;
    }

    #vbm {
        grid-row-start: 2;
        grid-row-end: 2;
        grid-column-start: 5;
        grid-column-end: 6;
        /*background-color: rgba(106, 126, 145, 1);*/
        text-align: center;
        padding: 8px;
        font-size: 1em;
        color: white;
    }

    .rowToday {
        grid-row-start: 3;
        grid-row-end: 3;
    }

    .day2 {
        grid-row-start: 4;
        grid-row-end: 4;
    }

    .day3 {
        grid-row-start: 5;
        grid-row-end: 5;
    }

    .day4 {
        grid-row-start: 6;
        grid-row-end: 6;
    }

    .day5 {
        grid-row-start: 7;
        grid-row-end: 7;
    }

    .day6 {
        grid-row-start: 8;
        grid-row-end: 8;
    }

    .day7 {
        grid-row-start: 9;
        grid-row-end: 9;
    }

    #cnblink {
        text-decoration: none;
        color: inherit;
    }

        #cnblink:hover {
            text-decoration: underline
        }

    #mblink {
        text-decoration: none;
        color: inherit;
    }

        #mblink:hover {
            text-decoration: underline
        }

    #cvlink {
        text-decoration: none;
        color: inherit;
    }

        #cvlink:hover {
            text-decoration: underline
        }

    .datecolumns {
        color: black;
        text-align: center;
        padding: 5px;
        font-size: 1.2em;
    }

    .day2, .day3, .day4, .day5, .day6, .day7 {
        display: none;
    }

    /*Kantlinje top*/
    .OHItems, .datecolumns, .CNBItem, .vallaItem, .MBItem, #floor3-6, #vbm {
        border-top-style: solid;
        border-top-color: #fff;
        border-top-width: 8px;
        color: #000;
    }

    /*Kantlinje höger*/
    #cv, #vbm, .OHItems, .MBItem, .CNBItem, #floor3-6, .vallaItem {
        border-right: solid;
        border-right-color: #fff;
        border-right-width: 8px;
    }

    /*Kantlinje vänster*/
    .CNBItem, .datecolumns {
        border-left: solid;
        border-left-color: #fff;
        border-left-width: 8px;
    }

    /*Kantlinje nedre*/
    .bottomBorder {
        border-bottom: solid;
        border-bottom-color: #fff;
        border-bottom-width: 8px;
    }

    /*Kantlinje vänster som läggs till för andra kolumnen från vänster*/
    .leftBorder {
        border-left: solid;
        border-left-color: #fff;
        border-left-width: 8px;
    }

}

/*CSS för Chatt-widget. */
/*Svensk version*/
#lcs_slide_out_button-8335 {
    text-decoration: none;
    font-size: 1.5em;
}
/*Engelsk version*/
#lcs_slide_out_button-8525 {
    text-decoration: none;
    font-size: 1.5em;
}
/*Gäller båda språkversionerna*/
.lcs_slide_out-b {
    right: 0.5em;
}

@media screen and (max-width: 767px) {
    .lcs_slide_out-b.open { height: 565px; }
    .lcs_slide_out-b { width: 85%; }
}


#s-lch-dataNotice {
    font-size: 0.5em;
}

#s-lch-login-form {
    margin-top: 1.5em;
    margin-left: 1em;
    margin-right: 1em;
}
