﻿body {
}

#background {
    margin-top: 300px;
    position: absolute;
    z-index: 0;
    background: white;
    display: block;
    min-height: 50%;
    min-width: 50%;
    color: yellow;
}

.previewPage {
    position: absolute;
    z-index: 1;
    min-width: 695px !important;
}

#bg-text {
    color: #efefef;
    font-size: 120px;
    transform: rotate(300deg);
    -webkit-transform: rotate(300deg);
}

/*.previewPage {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' transform= 'rotate(300deg)' height='100px' width='450px'><text x='0' y='50' fill='#efefef' font-size='50'>Only for preview</text></svg>");
}*/


div.dont-page-break {
    page-break-inside: avoid;
}

@media print {
    .titlename {
        color: #000000 !important;
    }

    .text-muted {
        color: #bdbcbc !important;
    }

    div.dont-page-break {
        page-break-inside: avoid;
    }

    .colored {
        color: #7ccbbf !important;
    }

    #background {
        margin-top: 300px;
        position: absolute;
        z-index: 0;
        background: white;
        display: block;
        min-height: 50%;
        min-width: 50%;
        color: yellow;
    }

    .previewPage {
        position: absolute;
        z-index: 1;
    }

    #bg-text {
        color: #efefef;
        font-size: 120px;
        transform: rotate(300deg);
        -webkit-transform: rotate(300deg);
    }

    .navDiv {
        display: none;
    }

    .heavyfont {
        font-family: 'RobotoBold', sans-serif;
        font-weight: 600;
        line-height: 1.5em;
        -webkit-font-smoothing: antialiased;
    }

    .floatright {
        float: right;
        text-align: right;
    }

    .floatleft {
        float: left;
        text-align: left;
    }

    .textcenter {
        text-align: center;
    }


    .letterprint > * p {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .underline {
        text-decoration: underline !important;
    }

    .row-divider-hr {
        border-top: 1px solid black !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }


    .leftside {
        padding-right: 20px !important;
    }

    .rightside {
        padding-left: 20px !important;
    }


    .signature {
        border-bottom: 2px solid black;
        margin-bottom: 0px !important;
    }

        .signature > span {
            margin-left: 10px !important;
        }


    body {
        margin: 0.65mm !important;
        height: 100% !important;
    }

    #logo {
        margin-top: 0.05mm !important;
        margin-bottom: 0.05mm !important;
        padding-top: 0.05mm !important;
        padding-bottom: 00.05mm !important;
        height: 70px !important;
    }

    @page {
        /*size: 85.60mm 53.98mm;*/
        size: auto;
        margin-top: 0.65mm !important;
        margin-left: 0.65mm !important;
        height: 100%;
    }

    .letterprint {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    #tophead {
        vertical-align: middle !important;
        font-size: 12px !important;
    }

    .medication-grid {
        border: solid;
    }


    .medication-row-head {
        display: inline-flex;
        margin-right: 0px;
        margin-left: 0px;
        border-bottom-style: solid !important;
        border-bottom-width: 2px;
        border-bottom-color: black;
    }

    .medication-row {
        display: inline-flex;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        border-bottom-color: black;
    }

    .table-bordered {
        border: 2px solid #7b7a7a !important;
    }
}

.table-bordered {
    border: 2px solid #7b7a7a !important;
}

.pagenavbtn {
    position: fixed;
    bottom: 50%;
    z-index: 99;
    width: 20px;
    padding-left: 5px;
    overflow: hidden;
    border: none;
    background-color: rgba(0, 0, 0, 0.31);
}

.titlename {
    color: #027f74;
}

.pagenavbtn > i {
    margin-right: 5px;
}

.pagenavbtn:hover {
    position: fixed;
    bottom: 50%;
    z-index: 99;
    width: auto;
    overflow: hidden;
    border: none;
    background-color: rgba(0, 0, 0, 0.80);
}

/*pageNavigation {
    position: fixed;
    bottom: 50%;
    overflow: hidden;
    left: 5px;
    z-index: 99;
    font-size: 14px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    width: 10px;
    height: 40px;
}

    .pageNavigation > span {
        color: white !important;
        float: left;
    }

    .pageNavigation:hover {
        position: fixed;
        bottom: 50%;
        left: 10px;
        z-index: 99;
        font-size: 14px;
        border: none;
        outline: none;
        background-color: black;
        color: white;
        cursor: pointer;
        padding: 10px;
        border-radius: 4px;
        width: auto;
        height: 40px;
    }*/
.heavyfont {
    font-family: 'RobotoBold', sans-serif;
    font-weight: 600;
    line-height: 1.5em;
    -webkit-font-smoothing: antialiased;
}

.colored {
    color: #7ccbbf !important;
}

.text-muted {
    color: #bdbcbc !important;
}

.floatright {
    float: right;
    text-align: right;
}

.floatleft {
    float: left;
    text-align: left;
}

.textcenter {
    text-align: center;
}

body {
    margin: 0.65mm !important;
    height: 100% !important;
}

.medication-grid {
    border: solid;
}


.medication-row-head {
    display: inline-flex;
    margin-right: 0px;
    margin-left: 0px;
    border-bottom-style: solid !important;
    border-bottom-width: 2px;
    border-bottom-color: black;
}

.medication-row {
    display: inline-flex;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: black;
}


/*@page {
    size: auto;
    margin-top: 0.65mm !important;
    margin-left: 0.65mm !important;
    height: 100%;
}*/

.letterprint > * p {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.underline {
    text-decoration: underline !important;
}

.row-divider-hr {
    border-top: 1px solid white !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}


.leftside {
    padding-right: 20px !important;
}

.rightside {
    padding-left: 20px !important;
    padding-right: 0px !important;
}

.titlename {
}

.signature {
    border-bottom: 2px solid black;
    margin-bottom: 0px !important;
}

    .signature > span {
        margin-left: 10px !important;
    }

#tophead {
    vertical-align: middle !important;
    margin-bottom: 10px !important;
    font-size: 12px !important;
}
