﻿.layer {
    display: none;
    position: fixed;
    _position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
}
.mlayer {
    display: none;
    position: fixed;
    _position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
}
    .layer .bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .5;
        filter: alpha(opacity=50);
    }

    .layer .pop-layer {
        display: block;
    }

.pop-layer {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    height: auto;
    background-color: #fff;
     border-top:3px var(--bs-main) solid;
    z-index: 10;
	box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.1)  ;
}

    .pop-layer .pop-container {
        padding: 16px 16px 16px 16px;
    }

    .pop-layer p.ctxt {
        color: #666;
        line-height: 25px;
    }

    .pop-layer .btn-r {
        width: 100%;
        margin: 10px 0 20px;
        padding-top: 10px;
        border-top: 1px solid #DDD;
        text-align: right;
    }

a.cbtn {
    display: inline-block;
    height: 25px;
    padding: 0 14px 0;
    border: 1px solid #304a8a;
    background-color: #3f5a9d;
    font-size: 13px;
    color: #fff;
    line-height: 25px;
}

    a.cbtn:hover {
        border: 1px solid #091940;
        background-color: #1f326a;
        color: #fff;
    }
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: none;
}

.submenuop {
    max-height: 600px;
   
}

.top_down_menu_wrap {
    display: none;
}

.fadeIncss {
    animation: diagonalFadeIn 0.3s ease-out;
}

@keyframes diagonalFadeIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.fadeOutcss {
    animation: diagonalFadeOut 0.3s ease-out;
}

@keyframes diagonalFadeOut {
    from {
        transform: translateY(0);
        opacity: 0;
    }

    to {
        transform: translateY(-50px);
        opacity: 1;
    }
}