.bg-layer.open {
    display: block;
    background-color: #000e27;
    opacity: 0.8;
    filter: alpha(opacity=80);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 8;
}
.bg-layer {
    display: none;
}

.card:hover .img-wr img {
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.speakers{display: flex;justify-content: center;align-content: space-around;flex-wrap: wrap;}
.speakers .card {
    width: 220px;
    text-align: center !important;
    margin: 15px;
    cursor: pointer;
}
.speakers .img-wr {
    margin-bottom: 25px;
    border: 1px solid #b99161;
    padding: 3px;
}

    
.speakers-details {
    display: none;
}
.details-text {
        overflow-y: scroll;
        width: 500px;
        padding: 30px;
}
.details-photo {
        width: 200px;
        background-color: #000e27;
}	
.details-photo img {
        width: 145px;
        margin: 25px auto;
        border: 1px solid #b99161;
        padding: 3px;
}	


@media screen and (min-width: 1024px) {
.speakers-details.open {
        display: flex;
        position: fixed;
        top: 25%;
        width: 700px;
        height: 435px;
        background-color: #fff;
        left: calc(50% - 350px);
        z-index: 9;
        border-bottom: 15px solid #b99161;
        border-top: 2px solid #b99161;
        border-left: 2px solid #b99161;
        border-right: 2px solid #b99161;
    }
}

@media screen and (max-width: 1022px) and (min-width: 700px) {

    .speakers-details.open {
        display: flex;
        position: fixed;
        top: 25%;
        width: 700px;
        height: 435px;
        background-color: #fff;
        left: calc(50% - 350px);
        z-index: 9;
        border-bottom: 15px solid #b99161;
        border-top: 2px solid #b99161;
        border-left: 2px solid #b99161;
        border-right: 2px solid #b99161;
    }
}


@media screen and (max-width: 699px) and (min-width: 401px) {
    .speakers-details.open {
        display: flex;
        flex-direction: column-reverse;
        position: fixed;
        top: 10%;
        width: 90%;
        height: 435px;
        background-color: #fff;
        left: 5%;
        z-index: 9;
        border-bottom: 15px solid #b99161;
        border-top: 2px solid #b99161;
        border-left: 2px solid #b99161;
        border-right: 2px solid #b99161;
    }
	
	    .details-text {
        overflow-y: scroll;
        width: 100%;
        padding: 5px;
    }
	
	    .details-photo {
        width: 100%;
        background-color: #000e27;
    }
	
	    .details-photo img {
        width: 145px;
        margin: 25px auto;
        border: 1px solid #b99161;
        padding: 3px;
    }
}