.custom-icon-menu {
    position: fixed;
    top: 35vh;
    margin: 10px;
    z-index: 1020;
    border-radius: 8px;
}

.custom-icon-menu img {
    max-height: 40px;
    border-radius: 10px;
    border: 2px solid #110e71b2;
    border-radius: 60%;
    border: 2px solid #fff;
    box-shadow: 0 0 3px #000;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    text-decoration: none;
    display: block;
    padding: 10px 10px 10px 20px;
    width: 300px;
    background: linear-gradient(
        -45deg,
        #234567 10%,
        #bbbbff 70%,
        #aaaaee 10%,
        #aaaaee 10%,
        #234567
    );
    margin-bottom: 1px;
    color: #000;
    transition: all 0.3s !important;
    position: relative;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.closebtnCustom {
    color: white;
}

#main {
    transition: margin-left 0.5s;
    padding: 16px;
}

.sidenav a {
    font-size: 18px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
}

.sidenav a:hover {
    text-decoration: none;
    color: #fff;
    transform: translate3d(6px, 0, -10px);
    box-shadow: 0 0 2px #000;
    background: linear-gradient(
        45deg,
        #502 10%,
        #090909 70%,
        #000 10%,
        #000 10%,
        #502
    );
}

.heading-1 {
    width: 100%;
    text-align: center;
}

.size-20 {
    font-size: 20px !important;
}

.margin_bottom_10 {
    margin-bottom: 10px !important;
}

.white {
    color: #fff !important;
}

#back-to-top {
    position: fixed;
    bottom: -100px;
    right: 20px;
    z-index: 9999;
    transition: bottom 0.3s ease-in-out;
}

#back-to-top.show {
    bottom: 20px;
}

.custom-btn-style {
    padding: 3px 13px;
    background: #d2d2d2;
    color: #403535;
    font-size: 20px;
    border-radius: 8px;
}

.rslides img {
    height: 220px;
}

.cabinet-portal-gov-bd .meganizr > li > a {
    font-size: 18px !important;
}

.right-side-bar .block ul li a {
    font-size: 14px;
}

#notice-board ul a {
    font-size: 14px;
}

@media screen and (min-width: 1400px) {
    .mainwrapper .box {
        margin-right: 13px;
    }
}

#right-content .block {
    display: block !important;
}

/* Slideshow container */

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/*use popupImage class while uploadig a image in block body*/

/*use image size must be 600X600*/

.black_overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #00000099;
    z-index: 10000;
}

.content_overlay {
    position: fixed;
    width: 55%;
    height: 90%;
    left: 22%;
    top: 5%;
    transition: all 0.4s;
    z-index: 10000;
}

.close_block {
    padding: 3px 9px;
    background-color: #440257;
    color: #fff;
    border-radius: 20px;
    position: absolute;
    right: -12px;
    top: -9px;
    cursor: pointer;
    z-index: 999;
    border: 2px solid;
}

.float-right {
    float: right !important;
}

.cur_content_block {
    max-height: 450px;
}

.popupImage {
    width: 100%;
    position: absolute;
    border-radius: 5px;
    border: 5px solid #fff;
}

.autoCloseMSG {
    text-align: center;
    float: right;
    color: #fff;
    position: absolute;
    right: -350px;
    top: -25px;
}

@media only screen and (max-width: 480px) {
    .popupImage {
        height: 300px;
        width: 300px;
        border-radius: 5px;
        border: 5px solid #fff;
    }
    .content_overlay {
        left: 14%;
        top: 20%;
    }
    .close_block {
        right: -87px;
        position: relative;
        top: -12px;
        padding: 1px 7px 1px 7px;
    }
    .autoCloseMSG {
        right: 0px;
        top: 100px;
        position: relative;
    }
}

.ad-gallery .ad-info {
    width: 200px;
}

.ad-thumb-list {
    list-style: none !important;
}

.ad-gallery {
    width: 100% !important;
}

.ad-image {
    width: 100% !important;
    top: 0px !important;
    height: 432px !important;
}

.ad-image img {
    width: 100% !important;
    height: 432px !important;
}

.ad-image .ad-image-description {
    width: 100% !important;
}

.ad-gallery .ad-image-wrapper {
    height: 432px;
}

.ad-thumbs {
    height: 70px;
}

.bitac-portal-gov-bd .ad-gallery .ad-image-wrapper {
    height: 300px;
}

.bitac-portal-gov-bd .ad-image {
    height: 100% !important;
}

.bitac-portal-gov-bd .ad-image img {
    height: 100% !important;
}

.ad-image-description p span {
    display: none;
}

.ad-image > p > span {
    display: none;
}

@media only screen and (min-width: 320px) and (max-width: 959px) {
    .ad-image img {
        height: unset;
    }
}

.ad-image-description span {
    display: none;
}
.title {
    margin-bottom: 12px;
    margin-top: 12px;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

table.bordered td,
table.bordered th {
    vertical-align: middle;
    padding: 13px !important;
    line-height: 1.2em;
    border: 1px solid #999;
    text-align: center;
}

/* Responsive Menu */

@media (width: 960px) {
    #site-name-wrapper {
        line-height: 1;
        width: 69%;
        margin-top: 7%;
    }
}

@media (max-width: 959px) {
    #logo img {
        width: 70px;
    }

    #site-name-wrapper {
        line-height: 1;
        width: 59%;
        margin-top: 9%;
    }

    #site-name {
        font-size: 22px;
    }
    #div-lang {
        font-size: 18px;
        font-weight: bold;
        float: right;
        position: absolute;
        right: 5%;
    }
}

@media (max-width: 800px) {
    #logo {
        display: inline-block !important;
    }
}

@media (max-width: 799px) {
    /* #site-name-wrapper {
        position: relative;
        top: -113px;
        text-align: center;
        left: 90px;
    }
    .logo-right {
        border-radius: 50%;
        top: 4px;
        left: 82%;
    } */
}

@media (width: 768px) {
    #site-name-wrapper {
        width: 61%;
        left: 25%;
        top: 3px;
    }
}

@media (max-width: 767px) {
    #jmenu {
        display: none;
    }
    .menu {
        display: block;
    }
    .menu.active {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .openbtn {
        background: #10568f;
        width: 50px;
        height: 50px;
        border-radius: 5px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }
    .openbtn .openbtn-area {
        transition: all 0.4s;
    }
    .openbtn span {
        position: absolute;
        background: #fff;
        display: inline-block;
        border-radius: 3px;
        left: 13px;
        height: 3px;
        transition: all 0.4s;
        width: 50%;

        &:nth-of-type(1) {
            top: 16px;
        }

        &:nth-of-type(2) {
            top: 24px;
        }

        &:nth-of-type(3) {
            top: 32px;
        }
    }
    .openbtn.active .openbtn-area {
        transform: rotatex(360deg);
    }
    .openbtn.active span {
        &:nth-of-type(1) {
            width: 45%;
            top: 18px;
            left: 14px;
            transform: translateY(6px) rotate(-135deg);
        }

        &:nth-of-type(2) {
            opacity: 0;
        }

        &:nth-of-type(3) {
            width: 45%;
            top: 30px;
            left: 14px;
            transform: translateY(-6px) rotate(135deg);
        }
    }
    .mobile-menu {
        display: none;
        transition: all 3s ease;
    }
    .menu.active {
        display: block;
        transition: 0.5ms all ease;
    }
    .container {
        width: 100% !important;
        padding: 5px;
    }
    .container .one.column,
    .container .one.columns,
    .container .two.columns,
    .container .three.columns,
    .container .four.columns,
    .container .five.columns,
    .container .six.columns,
    .container .seven.columns,
    .container .eight.columns,
    .container .nine.columns,
    .container .ten.columns,
    .container .eleven.columns,
    .container .twelve.columns,
    .container .thirteen.columns,
    .container .fourteen.columns,
    .container .fifteen.columns,
    .container .sixteen.columns,
    .container .one-third.column,
    .container .two-thirds.column {
        width: 100% !important;
    }

    .logo-right {
        /* position: absolute; */
        top: 0;
        right: 0;
    }

    .logo-left {
        left: 22px;
    }

    #logo {
        display: block;
        margin: 0 0 10px 15px;
        /* position: absolute; */
        top: 22px;
    }

    #site-name-wrapper {
        position: absolute;
        width: 61%;
        left: 25%;
        top: 3px;
    }
    #site-name {
        font-size: 23px;
    }

    #slogan {
        font-size: 17px;
    }
}

@media (max-width: 734px) {
    #site-name-wrapper {
        width: 62%;
    }
    #site-name {
        font-size: 22px;
    }
}
@media (max-width: 718px) {
    #site-name {
        font-size: 21px;
    }
}

@media (max-width: 700px){
    #site-name-wrapper {
        position: unset;
        width: 56%;
    }
}

@media (max-width: 690px) {
    #site-name-wrapper {
        left: 22%;
        top: 17%;
    }
    #site-name {
        font-size: 20px;
    }
}


@media (max-width: 650px) and (min-width: 621px) {
    #site-name-wrapper {
        top: 17%;
        margin-left: -5px;
        margin-top: 11%;
    }
}

@media (max-width: 637px) and (min-width: 600px) {
    #site-name-wrapper {
        margin-top: 11%;
    }
    #site-name {
        font-size: 19px;
    }
    #slogan {
        font-size: 16px;
    }
}
@media (max-width: 620px) and (min-width: 600px) {
    #site-name-wrapper {
        margin-top: 11%;
        position: absolute;
        left: 33%;
    }
    #site-name {
        font-size: 19px;
    }
    #slogan {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    #logo {
        position: absolute;
    }
    #site-name-wrapper {
        text-align: center;
        float: right;
        left: -50px;
        width: 100%;
        position: absolute;
        top: 87px;
        padding: 3px 0 0px 23px;
    }

    #logo img {
        width: 77px;
    }

    .logo-right {
        border-radius: 50%;
        position: absolute;
        top: 0 !important;
        left: 48%;
    }

    .logo-left {
        left: 21%;
        top: 0 !important;
    }

    #site-name {
        font-size: 20px;
        font-weight: bold;

        text-shadow: none;
    }

    #slogan {
        font-size: 16px;
        margin-top: -5px;
        line-height: 15px;
        position: relative;
        text-shadow: none;
    }

    #div-lang-sel {
        position: absolute;
        right: 18px;
    }

    a.submenu.sub-menu {
        background: floralwhite;
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 436px) {
    #site-name-wrapper {
        left: -28px;
        top: 95px;
    }

}
@media (max-width: 430px) {
    #header-site-info {
        top: 15px;
    }
}

@media (max-width: 400px) {
    #site-name-wrapper {
        left: -4%;
    }
}
@media (max-width: 390px) {
    .logo-right {
        left: 48%;
    }
    #site-name {
        font-size: 18px;
    }
    #slogan {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    #site-name-wrapper {
        left: -6%;
        margin-top: 12%;
    }
}
@media (max-width: 350px) {
    .logo-right {
        left: 50%;
    }
    .logo-left {
        left: 21%;
    }
}

@media (max-width: 360px) {
    #logo {
        position: absolute;
    }
    #site-name {
        font-size: 16px;
        margin-bottom: 0 !important;
    }

    #slogan {
        font-size: 14px;
        margin-top: 7px !important;
        line-height: 11px;
        text-shadow: none;
    }
}

@media (max-width: 320px) {
    #site-name {
        font-size: 15px;
    }
    #slogan {
        font-size: 13px;

    }

}
