.mfp-content {
    background-color: #FFFFFF;
    padding: 0 0px;
    margin-top:20px;
    margin-bottom:20px;
    overflow:hidden;

    font-family: arial;
    font-size: 12px;
    line-height: 18px;
}

.mfp-content p {
    color:#555555;
    margin:12px 0;
}

.mfp-content h1,
.mfp-content h2,
.mfp-content h3 {
    color: #111111;
    font-weight: normal;
    margin: 0;
    font-family: arial;
}

.mfp-figure,
.mfp-figure:after {
    box-shadow:none;
    position:relative;
    line-height:normal;
    margin:0px 10px;
}

.mfp-image-container {
    margin-bottom:10px;
    position:relative;
}

img.mfp-img {
    padding:50px 0px 35px 0px;
    position:relative;
    top:-40px;
    margin-bottom:-90px;
}

.mfp-image-container.mfp-caption-img img.mfp-img {
    padding:50px 0px 100px 0px;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
  opacity: 0.01;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.89;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}

.mfp-arrow-right-bottom {
    display:block;
    float:right;
    border:0;
    color:#000;
    width:70px;
    height:16px;
    cursor:pointer;
    text-align:right;
    padding: 5px 0px 10px;
}

.mfp-arrow-left-bottom {
    display:block;
    float:left;
    border:0;
    color:#000;
    width:70px;
    height:16px;
    cursor:pointer;
    padding: 5px 0px 10px;
}

.mfp-arrow-right-middle {
    margin-bottom:15px;
    position:absolute;
    top:50%;
    right:0;
    border:0;
    background-image:url("//media.freeola.com/images/gallery/Right-Arrow-Icon.png");
    background-color:transparent;
    text-indent:-9999px;
    width:30px;
    height:30px;
    cursor:pointer;
}

.mfp-arrow-left-middle {
    margin-bottom:15px;
    position:absolute;
    top:50%;
    left:0;
    border:0;
    background-image:url("//media.freeola.com/images/gallery/Left-Arrow-Icon.png");
    background-color:transparent;
    text-indent:-9999px;
    width:30px;
    height:30px;
    cursor:pointer;
}

.mfp-close {
    display:none !important;
}

.mfp-custom-close {
    position:absolute;
    top:10px;
    right:0;
    display:block;
    color:#444;
    border:0;
    background-image:url("//media.freeola.com/images/gallery/Close-Viewer-Icon.png");
    background-color:transparent;
    height:30px;
    width:30px;
    text-indent:-9999px;
    z-index:1;
    cursor:pointer;
}

.mfp-bottom-bar {
    position:relative;
    margin-top:0px;
    z-index:1;
    min-height: 10px;
}

.mfp-caption {
    position:static;
    color:#000;
    padding-bottom:5px;
    min-height:60px;
}

.mfp-caption h3 {
    padding-bottom:0px !important;
    padding-top:8px !important;
    font-weight:bold;
    color:#000;
    word-wrap:break-word;
}

.mfp-caption p {
    margin: 5px 0px;
    color:#000;
    word-wrap:break-word;
}


.mfp-counter {
    position:static;
    text-align:center;
    color:#000;
    padding: 3px 0px 12px;
    height:16px;
}

.mfp-inline-holder .mfp-content{
    width:auto;
}

#magnific_heading_slide {
    position:relative;
    margin:0px 10px;
}

.mfp-heading-container {
    min-width:300px;
    min-height:100px;
}

.mfp-heading-text {
    text-align:center;
    max-width:400px;
    min-height:150px;
    padding:20px 50px;
    position:relative;
    cursor:pointer;
    word-wrap:break-word;
}

.mfp-heading-text #mfp-heading-title {
    padding: 20px;
}
