/* FONT */
@font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400;
    src: local('EB Garamond'), local('EBGaramond'), url('/portal/images/fonts/EBGaramond-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Gudea';
    font-style: normal;
    font-weight: 400;
    src: local('Gudea'), url('/portal/images/fonts/Gudea-Regular.ttf') format('truetype');
}

/* @import url(http://fonts.googleapis.com/css?family=Gudea:300,400,600, 700,400italic|EB+Garamond); */
/* FONT end*/

/* GLOBALS */
* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: "Gudea", Arial, Helvetica, Verdana;
    font-size: 0.9em;
    line-height: 1.3em;
    background: #fff;
    color: #333;
}

font {
    font-family: "Gudea", Arial, Helvetica, Verdana;
}

div.errors {
    background-color: #F7DBC3;
    color: #F73B00;
    float: left;
    width: 100%;
    padding: 4px;
    font-weight: bold;
    margin-bottom: 30px;
}

#wrapper {
    overflow: hidden;
    min-height: 100%;
}

.centering {
    max-width: 1000px;
    margin: 0 auto;
    clear: both;
    position: relative;
}

.hide {
    display: none;
}

ul {
    display: block;
}

li {
    display: block;
}

#interessen_asi li, ul.disc li {
    display: list-item;
    margin-left: 20px;
}

.msg_-1 {
    color: #900;
}

.msg_0 {
    color: #000;
}

.msg_1 {
    color: #090;
}

ul.messages {
    margin: 0 0 1em 0;
    padding: 0 0 0.5em 1.5em;
    border-bottom: 1px solid #044294;
}

.tooltip-box {
    position: absolute;
    background: #f0f0f0 !important;
    border: 3px solid #6a8a53;
    padding: 10px;
    margin-top: 30px;
    pointer-events: none;
    z-index: 999;
}

.content-div div.tooltip-box {
    text-align: left;
    font-size: 0.9em;
}

.fields_list div.tooltip-box {
    margin-top: 220px;
}

.l-side, .r-side {
    box-sizing: border-box;
}

article main .l-side li {
    float: none;
}

article main .l-side li > a {
    color: #333;
    display: block;
}

article main .l-side .sub-nav ul.dropdown-select li > a {
    display: inline;
    position: relative;
    top: -2px;
}

article main .l-side .sub-nav li > a {
    padding: 20px 0;
}

article main .l-side .sub-nav li li a {
    padding: 2px 0;
}

article main .l-side .sub-nav li li ul.dropdown-select {
    display: none;
    padding: 3px 0 8px 0;
    font-size: 0.94em;
}

article main .l-side .sub-nav li li ul.dropdown-select input {
    margin: 2px 7px 3px 0;
}

article main .l-side .sub-nav li li ul.dropdown-select.open {
    display: block;
}

.dropdown-select li a {
    margin-left: -20px;
}

.dropdown-select li {
    display: inline-block;
    margin-left: 20px;
}

.lazy_loading_icon {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

article main li span {
    width: 18px;
    height: 11px;
    margin: 0 5px 0 0;
    display: inline-block;
    margin-bottom: -1px;
}

article main > .l-side li span, span.list-arrow {
    background: url('/portal/images/media/arrow_list.png') no-repeat;
    background-size: cover;
}

a, img {
    border: 0;
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #e46803;
    font-weight: bold;
}

a.active {
    cursor: default;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

h1 {
    font-size: 1.65em;
    line-height: 1.55em;
    color: #444;
    margin: 6px 0;
}

h2 {
    color: #5b5b5b;
    font-size: 1.2em;
    font-weight: 600;
    margin: 6px 0;
}

h3 {
    font-size: 1.3em;
    font-weight: bold;
}

h4 {
}

h5 {
}

h6 {
}

.LargeText {
    font-size: 1.46em !important;
    line-height: 1.15em !important;
    color: #222 !important;
}

.OrangeText {
    color: #f56e00;
}

.GreenSuccessText {
    color: #2a5808;
}

.GreyText {
    color: #888 !important;
}

.clearer {
    clear: both;
}

/* GLOBALS end*/

header {
    background: #fefded;
}

.menuline,
footer,
li#dropdown-btn {
    background: #2a5808 !important;
    clear: both;
    color: #fff;
    display: block;
}

.menuline {
    height: 34px;
}

footer {
    padding: 15px 0 16px 0;
    text-transform: uppercase;
}

footer a,
nav a {
    color: #fff;
    font-weight: bold;
}

nav li {
    float: left;
    list-style: none;

}

nav a {
    padding: 8px 9px 7px;
    display: block;
}

article main .l-side li > a:hover,
footer a:hover {
    color: #f78b33;
}

#logo {
    width: 367px;
    height: auto;
    margin: 2px 0 4px 0;
    max-height: 70px;
}

#toplabel {
    /*font-size: 24px;*/
    /*text-transform: uppercase;*/
    /*float:right;*/
    /*color: #444;	*/
    /*font-weight: 300;*/
    /*margin: 31px 0 0 0;*/
    /*display: table;*/
    display: none;
}

header .tan {
    color: #b5c5a9;
    float: right;
    padding: 7px 0 0 9px;
}

header .tan form.logout {
    display: inline;
    margin: 0 7px 0 0
}

header .tan button,
header .tan input {
    padding: 0 5px 1px 7px;
    background: #6a8a53;
    color: #fff;
    box-sizing: border-box;
    height: 20px;
}

header .tan button {
    background-color: #F78B33;
    float: left;
    border: 0;
    padding: 0 6px 1px;
    font-size: 0.7em;
}

header .tan button:hover {
    background: #333;
}

header .tan input::-webkit-input-placeholder {
    color: #b5c5a9 !important;
}

header .tan input.submit-input {
    width: 110px;
}

header .tan input.submit-button {
    background: url('/portal/images/media/arrow_submit.png') #6a8a53 no-repeat center;
    padding: 0 16px 1px 16px;
    float: right;
    margin: 0 0 0 2px;
}

header .tan input.submit-button:hover {
    background: url('/portal/images/media/arrow_submit_white.png') #7f9b6b no-repeat center;
}

header .tan .bar {
    float: right;
    width: 100px;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 5px;
    position: relative;
}

header .tan .bar .inner {
    float: left;
    background: rgba(255, 255, 255, 0.2);
    height: 20px;
}

header .tan .bar .text {
    position: absolute;
}

nav ul.main-nav li {
    background: #557939;
    border-right: 1px solid #fff;
}

nav ul.main-nav li#dropdown-btn,
.dropdown-subnav-wrap {
    display: none;
}

nav ul.main-nav li#dropdown-btn a {
    display: table;
    font-weight: normal;
}

nav ul.main-nav li#dropdown-btn span {
    width: 25px;
    height: 14px;
    margin: 0 8px 0 0;
    top: 1px;
    position: relative;
    background: url('/portal/images/media/menu-icon.png') no-repeat;
    background-size: cover;
    display: inline-block;
    margin-bottom: -1px;
}

nav ul.main-nav li:nth-child(2) {
    border-left: 1px solid #fff;
}

nav ul.main-nav a:hover,
nav ul.main-nav li#dropdown-btn.active a {
    background: #6a8a53
}

nav ul.main-nav li.active a {
    background: #f78b33;
}

nav.nav-buttons {
    margin-top: 20px;

}

nav.nav-buttons a {
    font-size: 0.85em;
    display: block;
    padding: 6px;
}

article.grey {
    background: #e6e6e6;
    background: -webkit-radial-gradient(center center, closest-side, #fafafa 38%, #e6e6e6 90%);
    margin: 10px 0;
}

article main {
    padding: 34px 10px;
    display: block;
    min-height: 340px;
}

article main .l-side {
    float: left;
    width: 18%;
    position: relative;
    margin-top: 18px;
}

body.profil article main .l-side {
    margin-top: 0;
}

article main .r-side {
    float: right;
    width: 80%;
    position: relative;
}

nav ul.foot-nav {
    margin-left: -6px;

}

nav ul.foot-nav li.active a {
    color: #f78b33;
}

nav ul.service-nav {
    float: right;
}

nav ul.service-nav a.totop {
    padding: 8px 9px 9px 17px;
    background: url('/portal/images/media/arrow_top.png') no-repeat left 11px;
}

nav ul.service-nav a.totop:hover {
    background: url('/portal/images/media/arrow_top-act.png') no-repeat left 11px;
}

.next, .SendBar input[type="submit"], input[type="submit"].next {
    background: #e46803;
    display: table;
    text-align: center;
    color: white;
    margin-top: 15px;
    margin-bottom: 15px;
    top: 10%;
    padding: 6px 30px;
    font-weight: bold;
    border: 0 none;
    line-height: 1.3em;
    font-size: 1.2em;
    -webkit-appearance: none;
    border-radius: 0;
}

.next a {
    color: #fff;
}

.back {
    background: #ababab;
    display: table;
    color: white;
    margin-top: 15px;
    margin-bottom: 15px;
    top: 10%;
    padding: 6px 30px;
    font-weight: bold;
}

.next:hover, .back:hover, .SendBar input[type="submit"]:hover, input[type="submit"].next:hover {
    background-color: #2a5808;
    -webkit-appearance: none;
    border-radius: 0;
}

a.ajaxNavProfile {
    margin-top: 25px;
}

.min-logo img {
    margin: 10px 0 5px 0;
    width: 250px;
    max-height: 30px;
}

nav a.Current {
    background-color: #f78b33;
}

.forgotTanLink {
    display: inline-block;
    font-size: 0.6em;
    font-weight: normal;
    line-height: 0;
    position: absolute;
    margin-left: -270px;
    margin-top: 45px;
}

#backendAdminMenu {
    width: 30%;
    float: left;
}

.studycourses_faehigkeiten td {
    padding: 12px 0;
    width: 1%;
}

ul.Line, div.Card {
    width: 60%;
    float: right;
}

ul.Line > li {
    border: 1px solid green;
    float: left;
    margin-right: 10px;
    padding: 2px;
    width: 75px;
}

.prn-hover {
    background-color: #f78b33;
    border: 0 solid #2a5808;
    border-radius: 0;
    color: #fff;
    padding: 4px 10px;
    position: absolute;
    z-index: 9;
}

.smartphoneNotice {
    display: none;
}

.printTan, .printPrn {
    display: none;
}

@media (max-width: 1024px) {

    .smartphoneNotice {
        display: block;
        font-weight: bold;
        color: #c00;
        width: 300px;
    }

    .Question > table {
        width: 100%;
    }

    .centering {
        width: 97.4%;
    }

    .SendBar input[type="submit"] {
        margin-top: 10px;
        -webkit-appearance: none;
        border-radius: 0;
    }

    article main {
        padding: 0px 10px;
    }
}

@media (max-width: 840px) {

    body {
        font-size: 0.7em;
    }

    h1 {
        width: 93%;
        line-height: 130%;
    }

    .forgotTanLink {
        margin-left: -200px;
    }

    .centering {
        width: 98%;
    }

    #toplabel {
        font-size: 24px;
        line-height: 0.94em;
    }

    header .tan {
        padding: 7px 0 0 9px;
    }

    .menuline {
        height: 33px;
    }

    nav a {
        padding: 8px 7px 9px 7px;
    }

    nav ul.service-nav a.totop {
        background: url('/portal/images/media/arrow_top.png') no-repeat left 10px;
    }

    nav ul.service-nav a.totop:hover {
        background: url('/portal/images/media/arrow_top-act.png') no-repeat left 10px;
    }

}

@media (max-width: 760px) {

    .centering {
        width: 97.4%;
    }

    #toplabel {
        display: none;
    }

    .tan {
        padding: 8px 0 0 9px;
        position: absolute;
        top: -47px;
        right: 1.3%;
        color: #2a5808 !important;
    }

    main .content-div {
        width: 33%;
    }

    main .content-div .draggable {
        font-size: 1.0em;
    }

    #explanations {
        display: none;
    }

}

@media all and (max-width: 670px) and (min-width: 50px) {

    #logo {
        width: 323px;
        width: 50%;
        height: auto;
        margin: 4px 0 5px 15px;
        max-height: none;
    }

    #toplabel {
        display: none;
    }

    .tan_in_test {
        display: none;
    }

    header .tan form.logout {
        margin: 0;
    }

    header .tan form.logout button {
        float: none;
        display: block;
        padding: 0 15px 1px;
    }

    nav li {
        float: none;
    }

    .menuline {
        height: auto !important;
    }

    nav ul.main-nav li:nth-child(2) {
        border-left: 0;
        border-top: 0;
    }

    nav ul.main-nav li {
        display: block;
        border-bottom: 1px solid #fff;
        border-right: 0;
        display: none;
    }

    nav ul.main-nav li a {
        padding: 5px 5px;
    }

    nav ul.main-nav li.open {
        display: block;
    }

    nav ul.main-nav li#dropdown-btn {
        display: block;
        border-left: 0;
        border-bottom: 0px solid #fff;
        padding: 0;
    }

    nav ul.main-nav li#dropdown-btn a {
        display: table;
        font-weight: normal;
    }

    nav ul.main-nav li#dropdown-btn span {
        width: 25px;
        height: 14px;
        margin: 0 8px 0 0;
        top: 1px;
        position: relative;
        background: url('/portal/images/media/menu-icon.png') no-repeat;
        background-size: cover;
        display: inline-block;
        margin-bottom: -1px;
    }

    nav a {
        padding: 4px 0px;
    }

    nav ul.service-nav a.totop {
        padding: 4px 0px;
        padding-left: 16px;
        background: url('/portal/images/media/arrow_top.png') no-repeat left 6px;
    }

    nav ul.service-nav a.totop:hover {
        background: url('/portal/images/media/arrow_top-act.png') no-repeat left 6px;
    }

    nav.nav-buttons {
        margin: 0 0 20px 0px;

    }

    nav.nav-buttons a {
        width: 98%;
        font-size: 0.75em;
        float: none;
        padding: 2px;
        margin: 5px 1% 0 1%;
        box-sizing: border-box;
    }

    .dropdown-subnav-wrap {
        margin-top: 10px;
    }

    footer {
        padding: 7px 0 8px 0;
    }

    nav#footernav ul {
        display: table;
    }

    nav ul.foot-nav {
        margin: 0;
    }

    nav ul.service-nav,
    nav ul.service-nav li {
        text-align: right;
    }

    .min-logo img {
        margin: 10px 0 0 3px;
        width: 220px;
        max-height: none;
    }
}

@media (max-width: 414px) {

    body {
        font-size: 0.6em;
    }

    body.startseite article .centering {
        width: 92%;
    }

    body.startseite article .icon-link,
    body.startseite article div.link a,
    body.startseite article .taneingabe td {
        font-size: 1.6em !important;
    }

    body.startseite article span {
        width: 34px;
        height: 34px;
    }

    body.empfehlung main > .l-side {
        margin: 0px 0 10px 0;
    }

    #logo {
        width: 70%;
        margin-left: 0;
        max-height: none;
    }

    nav.nav-buttons a {
        width: 48%;
        font-size: 0.75em;
        float: left;
        padding: 2px;
        margin: 0 1% 0 1%;
        box-sizing: border-box;
    }
}