@import url('https://fonts.googleapis.com/css?family=Open+Sans');

@font-face {
    font-family: "Palatino Linotype";
    src: url('../Fonts/pala.ttf');
}

@font-face {
    font-family: "Palatino Linotype";
    src: url('../Fonts/palab.ttf');
    font-weight: bold;
}


body {
    height: 100vh;
    font-size: 13px;
    line-height: 1.6em;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: #e3e7ea;
}

img {
    height: auto;
}


div.uzh-content-area img {
    max-width: 100%;
}

a {
    color: #dc6027;
}

ul.no-list-icon {
    list-style: none;
}

a:hover {
    color: #dc6027;
}

div.uzh-top-line {
    display: none;
    margin: auto;
    width: 100%;
    height: 30px;
    padding-top: 5px;
}

div.uzh-breadcrumbs {
    display: none;
    margin-left: 0;
    margin-top: 4px;
}

div.uzh-breadcrumbs a {
    color: #7b828a;
}

div.uzh-breadcrumbs a.current {
    font-weight: normal;
}

div.uzh-search {
    float: right;
    display: inline-block;
    padding: 0;
    height: 18px;
}

div.uzh-search input {
    height: 18px;
    padding: 1px 1px 1px 2px;
    width: 100px;
    margin-top: -8px;
    border: 1px solid #dadee2;
}

div.uzh-content-right>div>p,  div.uzh-content-right>div>div>p, div.uzh-content-right>*>p, div.uzh-content-right>p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.4;
}

div.uzh-content-right div, div.uzh-content-left div {
    font-size: 1em;
    border: 1px solid #dadee2;
    padding: 12px 14px 9px;
    margin: 0 0 20px 0;
}

div.uzh-content-right div h3, div.uzh-content-right h3, div.uzh-content-left h3, div.uzh-content-left div h3 {
    font-size: 1.2em;
    font-family: "Palatino Linotype", serif;
    color: #0028a5;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 8px;
}

div.uzh-content-right h2, div.uzh-content-right h1, div.uzh-content-left h2, div.uzh-content-left h1 {
    margin-top: 2px;
}

div.uzh-content-right div div, div.uzh-content-left div div {
    font-size: 1em;
    border: none;
    padding: 0;
    margin: 0;
}

div.uzh-content-right .csc-default, div.uzh-content-left .csc-default {
    background-color: #edeff1;
}

div.uzh-content-left {
    margin-top: 10px;
}

div.uzh-content-left ul {
    margin-left: -25px;
}

div.uzh-content-left p {
    margin: 0;
}

.csc-texpic {
    overflow: hidden;
}

.uzh-top-menu a.uzh-active {
    color: #0028a5;
}

.hidden {
    display: none;
}

.fill {
    min-height: calc(100vh - 30px);
    box-sizing: border-box;
}

/* Start: Removing standard settings from side menu */


.list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.list-group {
    box-shadow: none;
}

/* End: Removing standard settings from side menu */

.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 4px;
}

.uzh-content-stretch {
    min-height: 100%;
    display: block;
}

.topright-menu-uzh {
    position: absolute;
    font-size: 0.9em;
    color: #7b828a;
    right: 5px;
    top: 5px;
    text-align: right;
    display: inline-block;
}

span#views {
    margin-left: 16px;
    height: 10px;
}

.uzh-no-border {
    border: none;
}

div.search {
    text-align: right;
    margin-right: 0px;
}

div.search input {
    font-size: 0.8em;
}

input.search {
    position: relative;
    top: -3px;
}

input.searchbutton {
    border:none;
    padding:0;
    height:auto;
    width:auto;
    margin-top: 1px;
    position: relative;
    top: 1px;
}

.uzh-top-menu {
    margin-top: -18px;
}

.uzh-top-menu a {
    color: #000;
    display: inline-block;
    padding: 4px 10px;
    text-decoration: none;
}

.uzh-top-menu a:hover {
    text-decoration: none;
}

.container {
    background: #fff top right no-repeat;
    min-width: 95%;
    max-width: 980px;
}

.container-fluid {
    background: #fff top right no-repeat;
}

.jumbotron {
    background-color: #fff;
    padding: 0;
    width: 100%;
}

.uzh-footer {
    margin-top: 20px;
}

a.internal:before {
    position: relative;
    top: 2px;
    font-size: 1em;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 300;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e092";
    margin-right: 4px;
}

a.www:before {
    position: relative;
    top: 2px;
    font-size: 1em;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 300;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e095";
    margin-right: 4px;
}

.bold-left-a {
    font-weight: bold;
    margin-left: -16px;
}

a.uzh-internal {
    color: #333;
}

a.uzh-internal:before {
    position: relative;
    color: #dc6027;
    top: 2px;
    font-size: 1em;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 300;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e092";
    margin-right: 4px;
}

a.uzh-external {
    color: #333;
}

a.uzh-external:before {
    position: relative;
    color: #dc6027;
    top: 2px;
    font-size: 1em;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 300;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e095";
    margin-right: 4px;
}

.uzh-footer-top a:before {
    position: relative;
    top: 2px;
    font-size: 1em;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 300;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e093";
    margin-right: 4px;
}

.uzh-footer-text {
    padding-top: 0px;
    font-size: 0.89em;
    color: #333333;
}

.uzh-footer-top {
    margin-bottom: 0px;
    text-align: right;
    border-bottom: 1px solid silver;
}

.uzh-logo {
    position: absolute;
    top: 20px;
    left: 2px;
    height: 80px;
}

.uzh-title {
    position: absolute;
    top: 116px;
    left: 2px;
    padding-right: 6px;
    font-size: 1.5em;
    font-family: "Palatino Linotype", serif;
    color: #000;
    text-decoration: none;
    border-bottom: #0028a5 solid 4px;
    display: inline-block;
    font-weight: bold;
    margin: 0px;
    overflow: hidden;
}

.uzh-title a {
    color: #000;
}

.uzh-title a:hover, .uzh-title a:active {
    text-decoration: none;
}

.uzh-header {
    position: relative;
    height: 141px;
    width: 100%;
    margin-right: -20px;
    padding: 0px;
    border-bottom: 1px solid lightgrey;
    margin-bottom: 20px;
}

.uzh-white-font a {
    color: #7b828a;
}

/* legend {
    background-color: #0028a5;
    color: #fff;
    padding: 3px 6px;
} */

h1 {
    font-size: 1.92em;
    font-family: "Palatino Linotype", serif;
    color: #0028a5;
    font-weight: bold;
    margin-bottom: 30px;
    margin-top: 0px;
}

h2 {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 30px;
}

h3 {
    font-size: 1em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 5px;
}

h4 {
    font-size: 1em;
    font-weight: normal;
    color: #0077cc;
    margin-top: 30px;
    margin-bottom: 5px;
}

h5 {
    font-size: 1em;
    font-weight: normal;
    color: rgb(51, 170, 255);
    margin-top: 20px;
    margin-bottom: 0;
}

h6 {
    font-size: 1em;
    font-weight: normal;
    color: rgb(51, 170, 255);
    margin-top: 10px;
    margin-bottom: 0;
}

select {
    padding: 1px 6px;
    margin-right: 5px;
}

.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
    background: none;
    background-color: #edeff1;
    background-image: none !important;
    text-shadow: none !important;
    border-color: #dadee2 !important;
    border-left: none;
    border-right: none;
    color: #0028a5;
    font-weight: bold;
}

.list-group-item {
    border-left: none;
    border-right: none;
    font-size: 1.1em;
    padding-top: 1em;
    padding-bottom: 1em;
    border-radius: 0px;
}

.sub1 {
    padding-left: 2em;
}

.sub2 {
    padding-left: 3em;
}

.current, .current:focus, .current:active {
    color: #0028a5;
    font-weight: bold;
}

/* Mobile Menu */

.mobile-nav {
    background-color: #0028a5;
    margin-left: -15px;
    margin-right: -15px;
    text-align: left;
    padding-left: 15px;
    padding-top: 6px;
    padding-bottom: 6px;
    vertical-align: middle;
    color: white;
}

.mobile-nav a {
    vertical-align: middle;
    color: white;
}

.menu-btn {
    display: inline-block;
    text-align: left;
    height: 2em;
    width: auto !important;
}

.full-width {
    max-width: 100% !important;
}

.responsive-menu {
    display: none;
    padding-top: 0.2em;
}

.btn {
    font-size: 12px;
    padding: 6px 6px;
    line-height: 1.2;
    height: 30px;
    min-width: 30px;
}

.form-control {
    font-size: 12px;
    padding: 2px 6px;
    line-height: 1.2;
    height: 30px;
}

/* Defining some standard tags */

table:not('.table'):not('.table-striped'):not('.table-bordered'), .full-width-table {
    margin-top: 1em;
    margin-bottom: 1.5em;
    padding: 0.5em;
    border: 0;
    /* Following Part just for small Mobile Views */
    margin-left: -15px;
    margin-right: -15px;
    table-layout: fixed;
    word-wrap: break-word;
    width: calc(100% + 30px);
}

.not-full-width {
    width: unset;
    margin-left: unset;
    margin-right: unset !important;
}

table:not('.table'):not('.table-striped'):not('.table-bordered') tr td {
    vertical-align: top;
    padding: 0.444444em;
    font-size: 1em;
}

p {
    font-size: 1em;
}

textarea.form-control {
    padding: 6px;
}

li {
    font-size: 1em;
}

/* DBQ2 Table styles */

.striped {
    margin-top: 0.2em;
    margin-bottom: 0.4em;
}

tr.strip {
    padding: 2px 8px;
    border: 1px white solid;
}

tr.strip td {
    padding: 2px 8px;
    border: 2px white solid;
}

.striped tr td {
    padding: 2px 8px;
    min-height: 21px;
}

table.striped tr th {
    padding: 2px 8px;
    border: 2px solid white;
}

tr.strip {
    background-color: #edeff1;
}


@media (min-width: 360px) {

    div.uzh-content-right div, div.uzh-content-left div, div.uzh-content-right div div, div.uzh-content-left div div {
        font-size: 0.95em;
    }
}

@media (min-width: 580px) {
    #headerarea {
        background-image: url('../Images/header_math.png');
        background-size: auto 140px;
    }

    .uzh-white-font {
        color: white;
    }

    .uzh-white-font a {
        color: white;
    }

    .uzh-logo {
        top: 15px;
    }

    table {
        margin-left: 0px;
        margin-right: 0px;
        table-layout: fixed;
        word-wrap: break-word;
        width: 100%;
    }
}

@media (min-width: 768px) {

    body, html {
        font-size: 13px;
    }

    div.uzh-top-line {
        width: 750px;
    }

    .container-fluid {
        margin-left: 20px;
        margin-right: 20px;
    }

    .container {
        margin-top: 10px;
    }

    div.uzh-content-area {
        padding-top: 0;
    }

    div.uzh-content-right div, div.uzh-content-left div, div.uzh-content-right div div, div.uzh-content-left div div {
        font-size: 0.95em;
    }

}

@media (min-width: 992px) {

    .container-fluid {
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-nav {
        display: none;
    }

    .list-group-item:first-child {
        border-top: 1px solid #ddd;
    }

    .responsive-menu {
        display: block !important;
        opacity: 1;
    }

    div.uzh-top-line {
        display: block;
        width: 970px;
    }

    div.uzh-breadcrumbs {
        display: inline-block;
        margin-left: 10px;
        font-size: 0.8em;
        max-height: 20px;
        overflow-y: hidden;
    }

    div.uzh-content-area {
        padding-top: 30px;
    }

    .list-group-item {
        font-size: 0.98em;
        padding-top: 0.4em;
        padding-bottom: 0.4em;
    }
}

@media (min-width: 1200px) {

    .list-group-item {
        font-size: 0.98em;
        padding-top: 0.3em;
        padding-bottom: 0.3em;
    }

    .container {
        min-width: unset;
        margin-top: unset;
    }

    div.uzh-top-line {
        width: 980px;
    }

    div.uzh-breadcrumbs {
        margin-left: 21px;
    }

    div.uzh-content-area {
        padding-top: 40px;
    }

    .topright-menu-uzh {
        font-size: 0.9em;
    }

    div.uzh-breadcrumbs {
        font-size: 0.7em;
    }

    a.internal:before {
        position: relative;
        top: 2px;
        display: inline-block;
        font-family: 'Glyphicons Halflings';
        font-style: normal;
        font-weight: 400;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\e092";
        margin-right: 4px;
    }

    a.www:before {
        position: relative;
        top: 2px;
        display: inline-block;
        font-family: 'Glyphicons Halflings';
        font-style: normal;
        font-weight: 400;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\e095";
        margin-right: 4px;
    }

    .uzh-footer-top a:before {
        position: relative;
        top: 2px;
        display: inline-block;
        font-family: 'Glyphicons Halflings';
        font-style: normal;
        font-weight: 400;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\e093";
        margin-right: 4px;
    }
}

@media print {
    a[href]:after {
        content: none;
    }

    .uzh-header {
        display: none;
    }
}

/* Typo3 Image Classes */

.ce-textpic.ce-left.ce-intext > .ce-gallery {
    float: left;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-top: 5px;
}

.ce-textpic.ce-right.ce-intext > .ce-gallery {
    float: right;
    padding-left: 15px;
    padding-bottom: 15px;
    padding-top: 5px;
}

/* designed for UZH CD */
thead.qfq-sticky td { top: 45px; }
