@charset 'utf-8';

.overflowHidden1 {
	overflow: hidden !important;
}

.mgpop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999999;
    width: 100%;
    direction: ltr;
    text-align: left;
	opacity: 0;
	visibility: hidden;
	transition: 0.25s;
}
.mgpop.active {
	opacity: 1;
	visibility: visible;
}
.mgpop-div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000;
    z-index: 0;
    opacity: 0.5;	
}
.mgpop-scrolling {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    padding: 15px;
    overflow: auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: flex-start;
    -ms-flex-align: start;
    box-sizing: border-box;	
}
.mgpop-wrap {
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    max-height: 95%;
    flex: 0 0 auto;
    margin: auto;	
}
.mgpop-body {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    display: inline-block;
    max-width: 100%;
    min-width: 170px;
    max-height: 95%;
    box-sizing: border-box;
    vertical-align: middle;
    text-align: center;
    font-size: 0;
    padding: 20px;
    overflow: hidden;
    background: #303030;
}
.mgpop-body img {
	max-width: 100%;
    max-height: calc(90vh - 60px);
}
.mgpop-close {
    position: absolute;
    top: -15px;
    right: -15px;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    background: url(/static/images/close.png) 0 0 no-repeat;
    z-index: 10;
    cursor: pointer;	
}
.mobilerek img {
    max-width: 100%;
}
.mobilerek a {
    display: inline-block;
}

@media all and (max-width: 320px) {
    .mgpop-body {
        padding: 15px;
        max-width: 290px;
        font-size: 15px;
    }   
}

