@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css";

#RR__alert {
    width: 100%;
    text-align: center;
    padding: 20px 30px;
}

#RR__alert > * {
    display: block;
    margin: 0 auto;
}

#RR__docs {
    /*
    background: #fff;
    border: 1px solid #ccd7dc !important;
    */
    max-width: 790px;
    margin: 0 auto 0;
    line-height: normal !important;
    white-space: initial !important;
}

#RR__docs .rr_head {
    position: relative;
}

#RR__docs .rr_head .lines {
    width: 100%;
    height: initial !important;
}

#RR__docs .rr_head_title {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#RR__docs .rr_head_title .cert,
#RR__docs .rr_head_title img {
    max-width: 72% !important;
    margin-top: -21% !important;
    margin-bottom: 0 !important;
}

#RR__docs .rr_head_title .cert_info {
    height: auto;
    width: 45%;
    margin-top: 20px;
    font-size: initial;
}

#RR__docs .m-0 {
    /*font-family: tahoma, serif !important;*/
    padding: 0 40px 60px 40px;
    background: url(/img/certyfikat/line-bg.png) bottom center repeat-x !important;
    table-layout: auto;
}

#RR__docs .m-0 > tbody > tr:first-of-type > td {
    font-size: 15pt !important;
    padding-bottom: 10px !important;
}

#RR__docs .m-0 td[colspan='11'] {
    padding: 25px 0 5px 0 !important;
}

#RR__docs table td {
    border: 0 !important;
    text-align: justify;
    padding: 3px 20px 3px 0 !important;
    /*font-family: tahoma, serif !important;*/
    font-size: 10pt !important;
    /*color: #6f6f6f !important;*/
    width: auto !important;
    word-break: normal;
    white-space: initial !important;
}

#RR__docs table td .black {
    color: #fff !important;
}

#RR__docs .black {
    background-color: #000 !important;
    color: #fff !important;;
}

#RR__docs .m-0 tr:last-of-type td {
    padding-bottom: 24px !important;
}

/* ROZETA */
#RR__docs .rr_head.ukryjrozete {
    display: none;
}

/* BUTTONS */

.rr_buttons_box {
    position: relative;
    float: right;
    margin-right: -28px;
    width: 28px;
}

.rr_buttons_1 {
    -webkit-transition: 0.1s linear;
    -moz-transition: 0.1s linear;
    -o-transition: 0.1s linear;
    transition: 0.1s linear;
}

.rr_buttons_1 {
    margin-top: 275px;
}

.rr_buttons_box.is_stuck {
    margin-top: -100px;
}

.rr_buttons_1 a {
    float: left;
    margin-top: 7px;
}

.rr_buttons_1 a:first-child {
    margin-top: 0;
}

.rr_buttons_1 > a {
    background: rgb(0, 38, 62);
    background: linear-gradient(184deg, rgba(0, 38, 62, 1) 10%, rgba(0, 44, 73, 1) 50%, rgba(0, 46, 76, 1) 90%);
    border-radius: 0 10px 10px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 12px 5px 12px 7px;
    position: relative;
    color: #fff;
}

.rr_buttons_1 > a:nth-of-type(2) {
    background: rgb(75, 95, 42);
    background: linear-gradient(184deg, rgb(43, 50, 21) 10%, rgb(73, 92, 41) 50%, rgb(83, 104, 48) 90%);
}

.rr_buttons_1 > a:hover {
    cursor: pointer;
    text-decoration: none;
    opacity: 0.9;
}

.rr_buttons_bottom {
    display: none;
}

.rr_buttons_bottom > a {
    background: rgb(0, 38, 62);
    background: linear-gradient(184deg, rgba(0, 38, 62, 1) 10%, rgba(0, 44, 73, 1) 50%, rgba(0, 46, 76, 1) 90%);
    padding: 10px 5px 12px 7px;
    position: relative;
    color: #fff;
    width: 100%;
    text-align: center;
    border-right: 1px #fff solid;
}

.rr_buttons_bottom > a:nth-of-type(2) {
    background: rgb(75, 95, 42);
    background: linear-gradient(184deg, rgb(43, 50, 21) 10%, rgb(73, 92, 41) 50%, rgb(83, 104, 48) 90%);
}

.rr_buttons_bottom > a:hover {
    cursor: pointer;
    text-decoration: none;
    opacity: 0.9;
}

#regulaminRR tr {
    border: 0;
    /*background-color: #fff;*/
}

#RR__docs img {
    float: none !important;
}

.rr_buttons_box {
    padding: 0 !important;
}

#rr_xss_cert img {
    margin: initial;
    padding: 0;
}

#RR__docs .rr_head_title .cert, #RR__docs .rr_head_title img {
    position: absolute;
    height: auto !important;
}

@media only screen and (max-width: 768px) {
    .rr_buttons_bottom {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        z-index: 2;
    }

    .rr_buttons_box {
        display: none;
    }

    table.m-0,
    table.m-0 thead,
    table.m-0 tbody,
    table.m-0 th,
    table.m-0 tr {
        display: block;
    }

    #RR__docs .m-0 {
        padding: 0 5px 12px 5px;
    }

    #RR__docs .m-0 td[colspan='11'] {
        display: block;
    }
}

#RR__docs.sepia .rr_buttons_1 a:first-child,
#RR__docs.sepia .rr_head .lines,
#RR__docs.sepia .m-0 {
    filter: grayscale(1);
}

table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    /*background-color: #fff!important;*/
}

table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    /* background-color: #fff!important;*/
}

table tbody tr:hover > th {
    /*background-color: #fff!important;*/
}
