* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-family: Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif;
}

body {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

h3 {
    font-size: 1.4rem;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

h4 {
    font-size: 1.2rem;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}


/*Added responsive screen sizes  */

@media screen and (min-width: 544px) {
    body {
        max-width: 576px;
    }
}

@media screen and (min-width: 768px) {
    body {
        max-width: 720px;
    }
    h3 {
        font-size: 1.7rem;
    }
    h4 {
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 992px) {
    body {
        max-width: 972px;
    }
    h3 {
        font-size: 2rem;
    }
    h4 {
        font-size: 1.4rem;
    }
}

@media screen and (min-width: 1200px) {
    body {
        max-width: 1176px;
    }
}

#pLinkPanel {
    font-size: 14px;
    padding-bottom: 4px;
    margin-bottom: 2em;
    text-align: center;
}

#pLinkPanel a {
    text-decoration: none;
}

#pButton input,
.WildcardButton {
    border: 1px solid transparent;
    border-radius: .3rem;
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    padding: .75rem 1.25rem;
    text-align: center;
    text-transform: uppercase;
    transition: background-color .2s, border-color .2s, color .2s;
    vertical-align: middle;
    background-color: #f4d200;
    border-color: #f4d200;
    color: #000;
}

.WildcardTextBox {
    width: 100%;
    margin-bottom: 10px!important;
}

#tFilterTitle {
    /* text-align: center; */
    font-size: 1.6rem;
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.1;
    color: inherit;
}

@media screen and (min-width: 768px) {
    #tFilterTitle {
        font-size: 2.1rem;
    }
}

@media screen and (min-width: 992px) {
    #tFilterTitle {
        font-size: 2.4rem;
    }
}

.LinkButton,
.LinkButtonSelected {
    display: flex;
    background-color: #ffea6c;
    color: #000000;
    cursor: pointer;
    padding: 4px 4px 4px 10px;
    text-decoration: none;
    -moz-box-shadow: 0px 2px 5px 0px #ccc;
    -webkit-box-shadow: 0px 2px 5px 0px #ccc;
    box-shadow: 0px 2px 5px 0px #ccc;
    margin: 0px 0px;
    padding: 15px 18px;
}

@media screen and (min-width: 544px) {
    .LinkButton,
    .LinkButtonSelected {
        display: inline-block;
    }
}

.LinkButton:hover,
.LinkButtonSelected {
    background-color: #f4d200;
}

#lWildcard.DepartmentLabel {
    font-size: 14px;
    /* font-style: italic; */
    display: inline-table;
}

.DepartmentLabel {
    border-style: none;
    vertical-align: top;
    border-width: 0;
    font-size: 16px;
    font-weight: bold;
    display: block;
}

@media screen and (min-width: 768px) {
    .DepartmentLabel {
        display: table-cell;
        width: 10em;
        text-align: right;
        padding-right: 12px;
    }
}

@media screen and (min-width: 992px) {
    .DepartmentLabel {
        width: 11em;
    }
}

#pFilterTitle {
    margin-bottom: 1em;
    text-align: center;
}

.FilterPanel {
    vertical-align: top;
    min-height: 560px;
}

#ErrorPanel {
    min-height: 400px;
}

.ErrorTable {
    width: 400px;
    border-color: red;
    border-style: solid;
    border-width: thin;
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

.ErrorTitle {
    font-weight: bold;
    text-decoration: underline;
}

.TitlePanel {
    width: 100%;
    vertical-align: top;
}

.modfilterlabel {
    color: Red
}

.DepartmentTable {
    width: 100%;
}

.DepartmentTable td {
    padding-bottom: 15px;
}

.DepartmentFilter {
    width: 100%;
}

.ViewTimetableButton {
    margin-top: 1em;
}

.LoginBox {
    border: #636469 solid 1px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 30px;
    padding-left: 100px;
    text-align: right;
    background: #FFFFFF url(img/BallLeft.png) left no-repeat;
    border-radius: 10px;
    box-shadow: 5px 5px 5px #888;
    left: 38%;
    position: absolute;
    width: 450px;
}

.LoginInputBox {
    margin: 3px;
    border: #636469 solid 1px;
    height: 25px;
    border-radius: 5px;
    padding-left: 5px;
    width: 80%
}

.LoginButton {
    width: 150px;
}

.ErrorMessage {
    color: Red;
}

.TitleText {
    font-weight: bold;
}

.LoginText {
    font-weight: normal;
}

.ObjectInputErrorLabel {
    color: Red;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
    font-size: 16px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
    border: 2px solid #ddd;
    padding: 10px;
}

table td {
    display: block;
}

#pButton {
    text-align: center;
}