/** b4 breakpoints https://getbootstrap.com/docs/4.0/layout/grid/#variables **/

html, body {
    height: 100%;
    width: 100%;
    color: #fff !important;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans', sans-serif;
}

.langlink {
    text-align: center;
}

.langlink ul {
    list-style: none;
}
.langlink ul li {
    display: inline-block;
}


@media (max-width: 767px) {
    html, body {
        background-color: #1a2914 !important;
    }

    .bg {
    }

    .middlebox {
        margin: 0 auto;
        width: 90%;
        padding-top: 20px;
    }

    .h1ti {
        font-size: 1.25rem;
        font-weight: bold;
        line-height: 2rem;
    }

    .h2ti {
        font-size: 1em;
        line-height: 1.5rem;
    }

    .buttong {
        border-color: #fff;
        background: transparent;
        border-style: solid;
        border-width: 1px;
        padding: 20px;
        display: block;
        width: 100%;
        margin-top: 5px;
    }

    .buttong:hover, .buttong:active {
        background-color: #7eba32;
    }

    .texter {
        text-align: left;
    }

    .bottom {
        padding-bottom: 10px;
    }

    .toper {
    }

    .padder {
        padding: 20px 10px;
        background: rgba(126, 186, 5, 0.5);
        margin-bottom: 30px;
    }

    .langlink a {
        color: #fff;
        line-height: 2em;
        padding: 5px 10px;
        text-decoration: none;
    }

    .langlink a:hover {
        color: #fff;
        text-decoration: none;
        background: rgba(126, 186, 5, 0.5);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    html, body {
        background: #1a2914 url(/img/photo/railcc-ukraine-01.jpg) no-repeat center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .bg {
    }

    .middlebox {
        margin: 0 auto;
        width: 90%;
        max-width: 720px;
        padding-top: 50px;
    }

    .h1ti {
        font-size: 2em !important;
        font-weight: bold;
    }

    .h2ti {
        font-size: 1.25em !important;
    }

    .buttong {
        border-color: #fff;
        background: transparent;
        border-style: solid;
        border-width: 1px;
        padding: 20px;
        display: block;
        width: 100%;
    }

    .buttong:hover, .buttong:active {
        background-color: #7eba32;
    }

    .texter {
        text-align: left;
    }

    .bottom {
        padding-bottom: 10px;
    }

    .toper {
        padding: 20px;
        background: rgba(0, 0, 0, 0.35);
    }

    .padder {
        padding: 20px;
        background: rgba(126, 186, 5, 0.5);
    }

    .langlink a {
        color: #fff;
        line-height: 2em;
        padding: 5px 10px;
        text-decoration: none;
    }

    .langlink a:hover {
        color: #fff;
        text-decoration: none;
        background: rgba(126, 186, 5, 0.5);
    }
}

@media (min-width: 1024px) {
    html, body {
        background: #1a2914 url(/img/photo/railcc-ukraine-01.jpg) no-repeat center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .bg {
    }

    .middlebox {
        margin: 0 auto;
        width: 90%;
        max-width: 1200px;
        padding-top: 100px;
    }

    .h1ti {
        font-size: 2em;
        font-weight: bold;
    }

    .h2ti {
        font-size: 1.25em !important;
    }

    .buttong {
        border-color: #fff;
        background: transparent;
        border-style: solid;
        border-width: 1px;
        padding: 20px;
        display: block;
        width: 100%;
    }

    .buttong:hover, .buttong:active {
        background-color: #7eba32;
    }

    .texter {
        text-align: left;
    }

    .bottom {
        padding-bottom: 10px;
    }

    .toper {
        padding: 20px;
        background: rgba(0, 0, 0, 0.35);
    }

    .padder {
        padding: 20px;
        background: rgba(126, 186, 5, 0.5);
    }

    .langlink a {
        color: #fff;
        line-height: 2em;
        padding: 5px 10px;
        text-decoration: none;
    }

    .langlink a:hover {
        color: #fff;
        text-decoration: none;
        background: rgba(126, 186, 5, 0.5);
    }
}