@media (min-width: 1200px) {.mf-back-container { max-width:1096px; }}
@media (max-width: 1199px) {.mf-back-container { max-width: 656px; }}
/*@media (max-width: 767px)  {.mf-back-container { text-align:center !important;}}	*/

.mf-grid {
	list-style: none;
	padding: 20px 0;
	margin: 0 auto;
	text-align: left;
}

.mf-grid li {
	display: inline-block;
	margin: 10px 5px 0 5px;
	vertical-align: top;
	height: 100px;
}

.mf-grid li > a,
.mf-grid li > a img {
	border: none;
	outline: none;
	display: block;
	position: relative;
}

.mf-grid li.mf-expanded > a::after {
	top: auto;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #343a40;
	border-width: 15px;
	left: 50%;
	margin: -20px 0 0 -15px;
}

.mf-expander {
	position: absolute;
	background: #343a40;
	top: auto;
	left: 0;
	width: 100%;
	margin-top: 10px;
	text-align: left;
	height: 0;
	overflow: hidden;
}

.mf-expander-inner {
	padding: 10px 10px;
	height: 100%;
}

.mf-close-bg {
	position: absolute;
    background-color: #777;
    border-radius: 5px;
    width: 35px;
	height: 35px;
	top: 20px;
	right: 25px;
    cursor: pointer;
    z-index: 1;
}

.mf-close {
	position: absolute;
    width: 35px;
	height: 35px;
	top: 20px;
	right: 25px;
    cursor: pointer;
    z-index: 1;
}

.mf-close::before,
.mf-close::after {
	content: '';
	position: absolute;
	width: 100%;
	top: 50%;
/*	height: 1px;*/
	background: #343a40;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
    padding: 1px;
}

.mf-close::after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.mf-close:hover::before,
.mf-close:hover::after {
	background: orange;
}

.mf-fullimg {
/*	width: 50%;*/
/*	float: left;*/
	height: 100%;
	overflow: hidden;
	position: relative;
    margin-top: 0px;
}

.mf-fullimg {
	text-align: center;
}

.mf-fullimg img {
/*	display: inline-block;*/
	max-height: 100%;
	max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mf-load { margin: 0 auto; }

@media screen and (max-width: 830px) {

	.mf-expander h3 { font-size: 32px; }
	.mf-expander p { font-size: 13px; }
	.mf-expander a { font-size: 12px; }

}

@media only screen and (max-width: 767px) {
.mf-grid { text-align: center; }

.mf-close-bg {
    border-radius: 3px;
    width: 25px;
	height: 25px;
	top: 20px;
	right: 15px;
    }

.mf-close {
    width: 20px;
	height: 20px;
	top: 20px;
	right: 15px;
    }    
}