.clicked-legislation {
    position: relative;
}

.clicked-legislation-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/6.jpg)no-repeat center bottom;
    background-size: cover;
    background-attachment: fixed;
}

    .clicked-legislation-header h3 {
        color: #FFF;
        margin: 0;
        padding: 50px 0 40px 0;
        text-align: center;
        font-size: 20px;
    }

.clicked-legislation-body {
    width: 95%;
    margin: 20px auto 80px auto
}

/* show and hide for the navbar*/
.hide-show-collapse {
    display: none;
}

.hide-show-block {
    display: block;
}

#LegislationLaw .nav-link {
    font-size: 12px;
}
/* ===================clicked legislation navbar================== */
.clicked-legislation-navbar {
    position: sticky;
    top: 0;
    background-color: #406ba2 !important;
}

    .clicked-legislation-navbar li {
        border-bottom: 1px solid #7195c9
    }

    .clicked-legislation-navbar a {
        color: white;
    }

        .clicked-legislation-navbar a:hover {
            color: #333;
        }

.li-give-space {
    transition: 1s;
    background-color: #E9E9E9;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    -o-transition: 1s;
}

/* =====================clicked legislation content================= */
.clicked-legislation-content {
    border: 1px solid #406ba2;
    padding: 20px;
    background-color: #f7f7f7;
}

.clicked-legislation-content-header {
    border-bottom: 1px solid #406ba2;
}

.clicked-legislation-content-body {
    padding: 20px;
}

    .clicked-legislation-content-body hr {
        background-color: #7195c9;
        width: 50%;
    }

.article-content {
    width: 80%;
}

    .article-content, .article-content * {
        /*font-size: 12pt !important;*/
        font-weight: normal !important;
        /*font-family: serif !important;*/
        text-decoration: none !important;
        line-height: normal !important;
        color: #777777 !important;
        background-color: transparent !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }



.article-box ul {
    margin: 0
}

.article-box .badge {
    font-size: 0.9em;
}

.nav-link {
    padding: 0.5rem .8rem;
}

#legislation-modified th, #legislation-modified td {
    text-align: center;
}



/*============modal===============*/
.modal-dialog {
    min-width: 90%;
    margin: 0 auto;
    margin-top: 50px
}

.modal-header {
    background-color: #406ba2
}

.modal-body {
    color: #777777;
}

.table {
    margin: 0;
}

.modal-footer {
    background-color: rgb(243, 243, 243);
}

.modal-title {
    color: white;
}

.modal-header .close {
    color: white;
    position: absolute;
    top: 16px;
    left: 15px;
}

.modal-header .closeEn {
    right: 15px;
    left: auto;
}

/* media */
@media(max-width:767px) {

    /*  hide the right side navbar  */
    .hide-show-block {
        display: none;
    }

    /* show the navbar in the top of the clicked-legislation-body */
    .hide-show-collapse {
        display: block;
    }
}

@media(max-width:425px) {

    .article-content {
        width: 100%;
    }

    .article-box {
        float: none !important;
        padding-bottom: 10px;
        border-bottom: 1px solid #777777;
    }

        .article-box li {
            display: inline;
        }

    .article-content {
        padding-top: 20px;
    }
}

/* print style */
@media print {

    @font-face {
        font-family: 'ge_dinar_twomedium';
        src: url('../fonts/gedinartwo-medium/gedinartwo-medium.woff2') format('truetype');
        font-weight: bold;
        font-style: normal;
    }


    .LegPrintInfo {
        display: flex !important;
    }

    #LegInfo {
        display: none !important;
    }

    a[href]:after {
        content: none !important;
    }

    .LegislationNumberCol {
        float: right;
        text-align: right;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .LegislationNameCol {
        float: none;
        text-align: center;
        margin: auto;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .LegislationNameYear {
        text-align: left;
        float: left;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }



    .LegislationLegNameCol {
        float: none;
        text-align: center;
        margin: auto;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    #legislation-print {
        border: none;
        font-size: 14.5px !important;
        font-family: 'ge_dinar_twomedium', sans-serif !important;
    }

        #legislation-print * {
            font-family: 'ge_dinar_twomedium', sans-serif !important;
            font-size: 14.5px;
        }
    /*********************************************/
    .body {
        -webkit-print-color-adjust: exact;
    }

    @page {
        size: A4; /* auto is the initial value */
        margin-bottom: 5mm; /* this affects the margin in the printer settings */
        margin-top: 5mm;
        margin-right: 5mm;
        margin-left: 5mm;
        border-left: 1px solid #406ba2 !important;
        border-bottom: 1px solid #406ba2 !important;
        border-top: 1px solid #406ba2 !important;
        border-right: 1px solid #406ba2 !important;
        -webkit-print-color-adjust: exact;
        border-collapse: separate;
    }
}
