@font-face {
    font-family: 'Roboto';
    src:
        url('/fonts/roboto-regular.woff') format('woff'),
        /* Modern Browsers */ url('fonts/roboto-regular.ttf') format('truetype'); /* Safari, Android, iOS */
    font-display: swap;
}

@view-transition {
    navigation: auto;
}

body {
    padding-top: 50px;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

code {
    white-space: pre-line;
}

textarea {
    resize: vertical;
}

input {
    outline: 0 none !important;
}

#main-logo {
    height: auto;
}

.main-content {
    min-height: 335px;
    padding-top: 20px;
}

.top-search-control {
    background-color: transparent;
    border-top-style: none;
    border-left-style: none;
    border-right-style: none;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 25px;
    height: 35px;
    color: #999999;
    margin-bottom: 10px;
    width: 100%;
}

.top-search-form {
    padding-left: 0px;
}

.top-search-form .btn {
    width: 100%;
}

#main-footer {
    text-align: right;
    padding-right: 20px;
    padding-bottom: 10px;
    position: fixed;
    right: 0px;
    bottom: 0px;
}

.highlight {
    background: #ffeb3b !important;
}

.article-info {
    border-top-color: rgba(0, 0, 0, 0.117647);

    margin-top: 30px;
    margin-left: -35px;
    margin-right: -35px;
    border-top-style: solid;
    border-top-width: 1px;
    text-transform: uppercase;
    padding-top: 22px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 45px;
}

.article-info a,
time {
    padding-left: 10px;
}

.article-info a:hover {
    text-decoration: none;
}

.error-message {
    margin-top: 100px;
}

.side-navigation,
.cat-description {
    /*margin-top: 25px; */
    width: auto;
}

a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    border-color: #dddddd;
    background-color: #f5f5f5;
    color: black;
    font-weight: bold;
}

/* Very Small Screen Devices */
@media only screen and (min-width: 495px) {
    .article-info {
        padding-bottom: 15px;
    }
}

/* Small Screen Devices */
@media only screen and (min-width: 768px) {
    .top-search-control {
        margin-bottom: 0px;
        width: auto;
    }

    .top-search-form .btn {
        width: auto;
    }
}

/* Medium Devices, Desktops */

@media only screen and (min-width: 992px) {
    .side-navigation {
        width: auto;
        position: static;
    }

    code {
        white-space: pre;
    }
}
/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px) {
    .side-navigation {
        width: 262px;
        position: fixed;
    }

    code {
        white-space: pre;
    }
}

/* side navigation material */
.side-navigation .list-group,
.pagination {
    box-shadow:
        0px 3px 6px rgba(0, 0, 0, 0.157),
        0px 3px 6px rgba(0, 0, 0, 0.228);
}

.side-navigation .list-group .list-group-item:first-child {
    border-top-left-radius: 2px !important;
    border-top-right-radius: 2px !important;
}

.side-navigation .list-group .list-group-item:last-child {
    border-bottom-left-radius: 2px !important;
    border-bottom-right-radius: 2px !important;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    margin-left: 0px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
}

/* modal material */
.modal-content {
    box-shadow:
        0 19px 38px rgba(0, 0, 0, 0.3),
        0 15px 12px rgba(0, 0, 0, 0.22) !important;
    border-radius: 2px !important;
    border: none;
}

/* Buttons, Form material */
.btn,
.form-control,
.input-group-addon {
    border-radius: 0px;
}

/* article thumbnails */

.image-bar {
    background-color: white;
    overflow-x: hidden;
    height: 200px;
    margin-top: 35px;
    margin-left: -35px;
    margin-right: -35px;
}

.image-bar:empty {
    display: none;
    height: 0px !important;
}

.gallery {
    width: 5000px;
    transition: margin-left 0.5s ease-in-out;
}

/* gallery, but only one picture */
.gallery-light {
    background-color: #f5f5f5;
    border-width: 0px;
    border-style: solid;
    border-color: #cccccc;
    border-radius: 0px;
    border-top-width: 1px;
    border-bottom-width: 1px;
    overflow: hidden;
}

.gallery a {
    float: left;
    padding-right: 5px;
}

.gallery img {
    height: 200px;
}

.gallery button {
    background-color: rgba(255, 255, 255, 0.4);
    height: 200px;
    width: 50px;
    position: absolute;
    border-width: 0;
}

.gallery button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.gallery .prev {
    left: 15px;
}

.gallery .next {
    right: 15px;
}

.alert-box {
    padding-top: 15px;
}
.article-headline {
    margin-top: 0px;
}
/* for videos  */

iframe {
    padding-top: 20px;
}
/* mark external links */

article h2,
article h1 {
    font-size: 24px;
    padding-bottom: 32px;
    font-weight: normal;
    color: black;
}

article h2 a,
article h1 a {
    text-decoration: none;
    color: rgb(97, 97, 97);
}

article a {
    display: inline-block;
}
article a[href^="http://"]:after,
article a[href^="https://"]:after
{
    content: '\00a0\f08e';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
}
/* Strip from links to own domain or with class no_icon */

article a[href^="http://ragersweb.de"]:after,
article a[href^="http://www.ragersweb.de"]:after,
a.no_icon:after,
.article-info a:after {
    content: '' !important;
    padding-left: 0;
}
/* top navigation */

.container:first-child {
    margin-top: 0px;
}
/* modual fix scrollbar problem */

.modal {
    overflow-y: auto;
}
.modal-open {
    overflow: auto;
}
.container {
    margin-top: 20px;
}

/* material well */

.cat-description,
.comment,
article {
    border: 0px none currentColor;
    border-radius: 2px !important;
    box-shadow:
        0px 3px 6px rgba(0, 0, 0, 0.157),
        0px 3px 6px rgba(0, 0, 0, 0.228);
    padding: 20px;
    background-color: #ffffff;
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.843);
    padding-left: 35px;
    padding-right: 35px;
}

/* article comments */

article pre {
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: 0px;
    color: #333333;
    display: block;
    font-size: 13px;
    line-height: 1.43;
    margin: 0px -36px 10px;
    overflow-wrap: break-word;
    padding: 9.5px 35px 9.5px 35px;
}

/*material menu shadow */

.materialShadowOn {
    box-shadow:
        0px 5px 6px rgba(0, 0, 0, 0.4),
        0px 5px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
}

.materialShadowOff {
    box-shadow:
        0px 5px 6px rgba(0, 0, 0, 0),
        0px 5px 6px rgba(0, 0, 0, 0);
    transition: all 0.3s ease-in-out;
}

.comment h4 {
    padding-bottom: 20px;
}

/* cookie message */

.cookie-message {
    padding-left: 10px;
}

.cookie-link {
    margin-top: 15px;
    display: inline-block;
    margin-right: 11px;
}

.cookie-accept {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* for lightbox */

.lightbox {
    position: fixed;
    z-index: 10000;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);

    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.25s ease-in;
}

.lightbox .lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    display: block;
    font-weight: bold;
    color: white;
    font-size: 21px;

    cursor: pointer;
}

.lightbox-container {
    text-align: center;
}

.lightbox img {
    width: 95%;
    height: 95%;
    object-fit: scale-down;
}

.lightbox span {
    display: block;
    padding-top: 10px;
    font-weight: bold;
    color: white;
    text-align: center;
}
