/* ############################################################
        font import
############################################################ */

@font-face {
    font-family: 'RobotoLight';
    src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
}
@font-face {
    font-family: 'RobotoRegular';
    src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'RobotoBold';
    src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
}


/* ############################################################
        general styles
############################################################ */

body {
    font-family: Roboto, Arial;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: RobotoRegular, Arial;
    font-weight: normal;
}

h1 {
    font-family: RobotoBold, Arial;
    line-height: 55px;
    color: #0E3F96;
    font-size: 42px;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
}

.itb-pageTitle {
    margin-top: 40px;
    margin-bottom: 40px;
}

b, strong {
    font-family: RobotoBold, Arial;
    font-weight: normal;
}

a {
    color: #0E3F96;
}

a:hover {
    color: #7da8f3;
    text-decoration: none;
}


/* ############################################################
        bootstrap overwrite styles
############################################################ */

.text-primary {
    color: #0E3F96 !important;
}

.bg-primary {
    background-color: #0E3F96 !important;
}

.itb-bg-grey {
    background-color: #ececec !important;
}

.itb-bg-white {
     background-color: #ffffff !important;
 }

.btn {
    border-radius: 0;
}

.btn.btn-primary,
a.btn.btn-primary {
    color: #fff;
    background-color: #0E3F96;
    border-color: #0E3F96;
    text-decoration: none;
}

.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary.active,
.btn.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
a.btn.btn-primary:hover,
a.btn.btn-primary:active,
a.btn.btn-primary.active,
a.btn.btn-primary:focus,
a.btn-primary:not(:disabled):not(.disabled).active,
a.btn-primary:not(:disabled):not(.disabled):active{
    color: #0E3F96;
    background-color: #fff;
    border-color: #0E3F96;
    text-decoration: none;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0rem;
    border-bottom-left-radius: 0rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 0rem;
}

.page-link {
    color: #0E3F96;
    background-color: #fff;
    border-color: #0E3F96;
    text-decoration: none;
    margin-right: 0.2rem;
    padding-left: 10px;
    padding-right: 10px;
}

.page-item {
    padding-left: 0;

}
.page-link:hover {
    color: #fff;
    background-color: #0E3F96;
    border-color: #0E3F96;
}

div.page-link.itb-page-link-disabled {
    color: #9d9d9d !important;
    background-color: #f5f5f5 !important;
    border-color: #ddd;
    margin-right: 0.2rem;
}
div.page-link.itb-page-link-disabled:hover {
    color: #9d9d9d !important;
    background-color: #f5f5f5 !important;
    border-color: #ddd;
}

.form-control {
    border-radius: 0;
}

.alert {
    border-radius: 0;
}


/* ############################################################
        navigation styles
############################################################ */

.itb-nav-container {
    height: 100px;
    margin: 0 auto;
    padding: 0 15px 0 25px;
    overflow: visible;
}

ul.nav li.nav-item a.nav-link,
dl dt a.inactive{
     color: #000;
    font-family: RobotoBold, Arial;
}

ul.nav li.nav-item a.nav-link:hover,
ul.nav li.nav-item a.nav-link.active {
    color: #7da8f3;
}

.nav-link {
    padding: 1rem;
}

.itb-vglogo-container {
    z-index: 999;
    width: 25%;
}

.itb-vglogo-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    background: #FEED01;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.itb-scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

.itb-scrollToTop {
    display: inline-block;
    background-color: #FFE600;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 25px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s, bottom 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.itb-scrollToTop:hover {
    cursor: pointer;
    bottom: 35px;
    -webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.16);
    transition: bottom 0.3s;
}

.itb-scrollToTop:after {
    content: "\f077";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #000;
}

/* ############################################################
        header styles
############################################################ */

.itb-vgheader {
    width: 100%;
    height: 400px;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.itb-vgheader-overlay {
    width: 100%;
    /*height: 100px;*/
    position: absolute;
    z-index: 998;
    background: rgba(48, 72, 154, 1) 0% 0% no-repeat padding-box;
    opacity: .7;
}

.itb-vgheader-overlay-container {
    font-size: 18px;
    color: #fff;
    padding-left: 40%;
    margin: 0;
}


/* ############################################################
        footer styles
############################################################ */

footer {
    color: #6A6A6A;
    background-color: #ECECEC;
}

.itb-footer-seperator {
    background-color: #0E3F96;
    height: 72px;
    padding: 0 25px;
}

a.itb-footer-link {
    color: #6A6A6A;
}

a.itb-footer-link:hover {
    /*color: #7da8f3;*/
    text-decoration: none;
}


/* ############################################################
        autocomplete styles
############################################################ */

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
    width: 100%;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}


.iframe {
    overflow: auto;
    border: 1px solid #c6c6c6;
    background: #ffffff;
    height: 180px;
}

.text2html, .text-to-html{
    white-space: pre-line;
}

/* Merkliste */
div.divMerklisteFrameBottom {
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding-top: 5px;
}
