.media_wrap {
    position: relative;
    max-width: 1280px;
    padding: 200px 20px 0 20px;
    margin: 0 auto 100px auto;
    overflow: hidden;
}

#media {
    padding: 100px 20px 100px 20px;
}

.media_content {
    /*float: left;
    width: 66%;*/
    box-sizing: border-box;
    border-right: 1px solid #DEDEDE;
    padding: 20px;
    margin-bottom: 20px;
}

.page-template-gallery-index-page .media_content {
    float: none;
    padding-right: 50px;
    width: initial;
}

.media_sidebar {
    /*float: right;
    width: 34%;*/
    box-sizing: border-box;
    padding: 20px;
    padding-top: 20px;
}

.page-template-gallery-index-page .media_sidebar {
    float: none;
    width: 100%;
}

.media_header {
    margin: 0 20px;
    padding-top: 12px;
    overflow: hidden;
    border-bottom: 1px solid #DEDEDE;
}

.media_sub_header {
    margin: 0 20px;
    padding-top: 12px;
    overflow: hidden;
    border-bottom: 1px solid #DEDEDE;
}

.media_header_inner {
    border-bottom: 1px solid #a6a094;
    width: 100%;
}

.media_header h1 {
    font-size: 48px;
}


/*.media_header h1, .media_header h2 {
    font-family: "colaborate-mediumregular", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 44px;
    margin: 0 0 14px 0;
    color: #2868f6;
}*/


/*.media_header h1 span, .media_header h2 span {
    color: #3d3834;
    font-weight: 400;
}*/


/*.sidebar_header {
    color: #3d3834;
    font-size: 24px;
    font-weight: 400;
}*/

.page-template-gallery-index-page #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:link, .page-template-gallery-index-page #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:visited {
    color: #f1582c;
}

.page-template-video-index-page #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:link, .page-template-video-index-page #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:visited {
    color: #f1582c;
}

.single-video #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:link, .single-video #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:visited {
    color: #f1582c;
}

.page-template-article-index-page #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:link, .page-template-article-index-page #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:visited {
    color: #f1582c;
}

.single-article #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:link, .single-article #navigation a[href='http://www.northlinkindustrialpark.com.au/#section-media-links']:visited {
    color: #f1582c;
}


/*---------------------------------------

	LANDING PAGES

-----------------------------------------*/

.page-template-seo-landing-page .main-content-background {
    margin: 0;
}

.landing_header {
    padding: 210px 20px 50px 20px;
    background: #2868f6;
    /* background-image: radial-gradient(#fe5300,#e24700);*/
    text-align: center;
}

.landing_header h1 {
    color: #FFF;
    font-size: 45px;
    line-height: normal;
    font-weight: 600;
    margin: 0 auto 40px auto;
    max-width: 800px;
    width: auto;
}

.landing_header p {
    color: #FFF;
    margin: 0 auto 22px auto;
    max-width: 900px;
}

.landing_gallery {
    position: relative;
    background: #FFF;
    padding: 30px 0 0 0;
}

.landing_gallery_container {
    position: relative;
    max-width: 1200px;
    padding: 60px 20px;
    margin: 0 auto;
    overflow: hidden;
}

.landing_gallery h2 {
    position: absolute;
    top: -25px;
    left: 50%;
    width: 250px;
    height: 50px;
    line-height: 54px;
    background: #FFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    text-align: center;
    color: #e24700;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 30px;
    margin: 0 0 0 -125px;
}

.landing_gallery h2 a:link, .landing_gallery h2 a:visited {
    color: #2868f6;
    text-decoration: none;
}

.landing_gallery h2 a:hover, .landing_gallery h2 a:active {
    color: #2868f6;
    text-decoration: none;
}

.landing_gallery ul {
    list-style: none;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.landing_gallery ul li {
    list-style: none;
    float: left;
    width: 33.3333%;
}

.landing_gallery ul a {
    display: block;
    margin: 0 20px;
}

.landing_gallery ul img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    opacity: 0.9;
}

.landing_gallery li:hover img {
    opacity: 1;
}

.landing_overview a {
    display: block;
}

.landing_overview img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.media_index {
    /*margin: 0 20px;*/
}

.media_index h1 {
    color: #333;
    margin-bottom: 30px;
}

.media_index ul {
    list-style: none;
    margin: 0 -15px;
}

.media_index ul li {
    position: relative;
    display: inline-block;
    width: 50%;
    vertical-align: top;
    margin-bottom: 30px;
}

.media_index.developer ul li {
    width: 33%;
}

.media_index a {
    position: relative;
    display: block;
    margin: 0 15px;
}

.media_index.developer a {
    margin: 0;
}

.media_index img {
    position: relative;
    display: block;
    max-width: 100%;
    z-index: 1;
}

.media_index img {
    max-width: 100%;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding-top: 18%;
}

.media_index li:hover div {
    background: #2868f6;
}

.media_index h3 {
    text-align: center;
    font-size: 36px;
    color: #FFF;
    margin: 0 20px 8px 20px;
}

.media_index p {
    text-align: center;
    font-size: 17px;
    line-height: 110%;
    font-weight: 400;
    color: #FFF;
    margin: 0 20px;
}


/*---------------------------------------

	GALLERY SECTION INDEX on HOME

-----------------------------------------*/

.gallery_index {
    list-style: none;
    margin: 0;
}

.gallery_index li {
    list-style: none;
    float: left;
    width: 33.3333%;
}

.gallery_index a {
    display: block;
    margin: 0 20px;
}

.gallery_index p {
    font-weight: 200;
}

.gallery_index img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    opacity: 0.85;
}

.gallery_index a:link, .gallery_index a:visited {
    color: #f05223;
    text-decoration: none;
}

.gallery_index a:hover, .gallery_index a:active {
    color: #f05223;
    text-decoration: none;
}

.gallery_index a:link p, .gallery_index a:visited p {
    color: #232323;
    text-decoration: none;
}

.gallery_index a:hover p, .gallery_index a:active p {
    color: #232323;
    text-decoration: none;
}

.gallery_index li:hover img {
    opacity: 1;
}


/*---------------------------------------

	VIDEO

-----------------------------------------*/

video {
    width: 100%;
    height: auto !important;
}

.single_video {
    width: 100%;
    overflow: hidden;
}

.single_video .sidebar {
    padding: 0 20px 0 0;
}

.the_video h1, .the_video h2 {
    color: #2868f6;
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 120%;
}

.the_video p {
    font-size: 16px;
    line-height: 140%;
}

.oembed_wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.oembed_wrap iframe, .oembed_wrap object, .oembed_wrap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video_list {
    list-style: none;
    margin: 0;
}

.video_list li {
    padding: 20px 0;
    border-bottom: 1px solid #DEDEDE;
}

.video_list a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.video_thumb {
    display: block;
    float: left;
    width: 40%;
    margin-right: 10px;
}

.video_thumb img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.video_list h4 {
    float: left;
    width: 50%;
    font-size: 19px;
    line-height: 120%;
}

.video_list a:link, .video_list a:visited, .video_list a:hover, .video_list a:active {
    text-decoration: none;
}

.video_list a:link h4, .video_list a:visited h4 {
    color: #2868f6;
    text-decoration: none;
}

.video_list a:hover h4, .video_list a:active h4 {
    color: #2868f6;
    text-decoration: none;
}

.video_list a:link img, .video_list a:visited img {
    opacity: 0.8;
}

.video_list a:hover img, .video_list a:active img {
    opacity: 1;
}


/*---------------------------------------

	PHOTO

-----------------------------------------*/

.single_photo {
    width: 100%;
    overflow: hidden;
}

.single_photo h1 {
    margin: 0 20px 18px 20px;
}

.image_gallery {
    width: 100%;
    overflow: hidden;
}

.photo_filter {
    list-style: none;
    font-size: 16px;
    letter-spacing: -1px;
    margin: 0 0 18px 0;
}

.photo_filter li {
    display: inline-block;
    margin-right: 8px;
}

.photo_filter a:link, .photo_filter a:visited {
    color: #232323;
    text-decoration: none;
}

.photo_filter a:hover, .photo_filter a:active, .photo_filter .active a:link, .photo_filter .active a:visited {
    color: #f05223;
}

.site_photos {
    list-style: none;
    margin: 0 -10px 80px -10px;
}

.site_photos li {
    width: 33.3333%;
}

.site_photos a {
    display: block;
    margin: 0 10px 20px 10px;
}

.site_photos img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.gallery_content {
    padding-top: 22px;
}

.site_photo_wrap {
    position: relative;
    margin-bottom: 22px;
    min-height: 497px;
}

.site_photo_wrap img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.site_photo_wrap a {
    display: block;
    margin-bottom: 10px
}

.site_photo_wrap h3 {
    color: #2868f6;
    font-size: 24px;
}

.site_photo_wrap p {
    font-size: 16px;
    line-height: 140%;
}

#photo_pager, #photo_pager_dev {
    list-style: none;
    margin: 0 -2px;
}

#photo_pager li, #photo_pager_dev li {
    display: inline-block;
    vertical-align: top;
    width: 32%;
    padding: 2px;
    box-sizing: border-box;
}

#photo_pager img, #photo_pager_dev img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    cursor: pointer;
}

#photo_pager img:hover, #photo_pager_dev img:hover {
    opacity: 1;
}


/*---------------------------------------

	NEWS

-----------------------------------------*/

.news {
    width: 100%;
    overflow: hidden;
}

.news .sidebar {
    padding: 0 20px 0 0;
}

.post_header {
    width: 100%;
    padding-top: 18px;
    margin-bottom: 18px;
    overflow: hidden;
}

.post_header_thumb {
    float: left;
    width: 14%;
    margin-right: 20px;
}

.post_header_thumb img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.post_header_content {
    float: left;
    width: 75%;
}

.post_header_content h1, .post_header_content h2 {
    margin-bottom: 5px;
    font-size: 24px;
    line-height: 110%;
}

.post_header_content p {
    font-size: 15px;
    margin: 0;
    line-height: normal;
}

.post_header a:link, .post_header a:visited {
    color: #0066ff;
    text-decoration: none;
}

.post_header a:hover, .post_header a:active {
    color: #233035;
    text-decoration: none;
}

.news_archives {
    list-style: none;
    margin: 0;
}

.news_archives li {
    border-bottom: 1px solid #a6a094;
    padding: 20px 0 10px 0;
    margin: 0;
}

.news_archives li:first-child {
    border-top: 1px solid #a6a094;
}

.news_archives a:link, .news_archives a:visited {
    color: #0066ff;
    text-decoration: none;
}

.news_archives a:hover, .news_archives a:active {
    color: #233035;
    text-decoration: none;
}

.news_archives h3 {
    margin: 0;
    font-size: 19px;
    line-height: 110%;
}

.news_archives p {
    font-size: 14px;
    margin: 0;
}

.post p {
    font-size: 16px;
    line-height: 140%;
}

.alignnone {
    display: block;
    max-width: 100%;
    /*width: 100%;*/
    height: auto;
}


/*---------------------------------------

	MISC

-----------------------------------------*/

.page-template-page-developer {
    padding: 150px 0;
    background: #FFF;
}

.page-template-page-developer h1 {
    color: #dc0933;
}

#developer_banner {
    background-image: url('_inc/img/developer_banner.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    height: 300px;
}

.developer_link {
    display: inline-block;
    line-height: 60px;
    padding: 0 25px 0 70px;
    background-image: url('_inc/img/developer_link_icon.png');
    background-position: 16px center;
    background-repeat: no-repeat;
    letter-spacing: 0;
}

.developer_link:link, .developer_link:visited {
    color: #FFF;
    text-decoration: none;
    background-color: #2868f6;
}

.developer_link:hover, .developer_link:active {
    color: #FFF;
    text-decoration: none;
    background-color: #3d3834;
}

.share {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid #DEDEDE;
    padding-top: 12px;
}

.share p {
    float: left;
    width: 45%;
}

.share-buttons {
    float: right;
    width: 50%;
    text-align: right;
    list-style: none;
    padding: 0;
}

.share-buttons li {
    display: inline;
    width: 32px;
    height: 32px;
    opacity: 0.8;
}

.share-buttons a, .share-buttons img {
    display: inline-block;
    width: 32px;
    height: 32px;
}

.share-buttons li:hover {
    opacity: 1;
}

hr {
    background: #DEDEDE;
    height: 1px;
    margin: 0 auto 60px auto;
    max-width: 1240px;
    border: none;
}

img {
    border: none;
}

a {
    outline: none;
}

@media screen and ( max-width: 800px) {
    .page-template-page-developer {
        padding: 110px 0;
    }
    #developer_banner {
        height: 140px;
    }
    .media_index {
        margin: 0;
    }
    .media_index ul {
        list-style: none;
        margin: 0;
    }
    .media_index ul li {
        width: 100%;
        margin: 0 0 12px 0;
    }
    .media_index a {
        position: relative;
        display: block;
        margin: 0;
    }
    .gallery_index li {
        float: none;
        width: 100%;
    }
    .gallery_index a {
        margin: 0;
    }
    .media_header {
        margin: 0;
    }
    /*.media_header h1, .media_header h2, .landing_header h1 {
        font-size: 27px;
    }*/
    .media_wrap {
        padding: 120px 16px 0 16px;
    }
    .media_content, .media_sidebar {
        float: none;
        width: auto;
        padding: 0;
        margin-bottom: 20px;
        border: none;
    }
    .media_content {
        border: none;
    }
    .news_archives {
        padding 0;
    }
    .news_archives li {
        padding: 20px 0;
    }
    .sidebar_inner {
        border: none;
    }
    .sidebar_header {
        padding: 20px 0 8px 0;
    }
    .landing_header {
        padding: 150px 20px 50px 20px;
    }
    .landing_gallery_container {
        padding: 20px;
    }
    .landing_gallery ul li {
        float: none;
        width: auto;
    }
}

.enquire_now {
    display: inline-block;
    text-indent: -9999px;
    width: 192px;
    height: 56px;
    background: url('/wp-content/uploads/2015/01/ENQUIRE-NOW_Animated.gif') no-repeat;
    float: right;
}

.enquire_now:link, .enquire_now:visited {
    color: #f05223;
    text-decoration: none;
}

.enquire_now:hover, .enquire_now:active {
    color: #f05223;
    text-decoration: none;
}

#recaptcha_table {
    margin-bottom: 12px !important;
}


/* Magnific Popup CSS */

.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

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

.mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

.mfp-preloader a {
    color: #CCC;
}

.mfp-preloader a:hover {
    color: #FFF;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close, button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    filter: alpha(opacity=65);
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100);
}

.mfp-close:active {
    top: 1px;
}

.mfp-close-btn-in .mfp-close {
    color: #333;
}

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    color: #FFF;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    filter: alpha(opacity=65);
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100);
}

.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}

.mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px;
}

.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px;
}

.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}


/* Main image in popup */

img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}


/* The shadow behind the image */

.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444;
}

.mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
       * Remove all paddings around the image on small screen
       */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }
    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }
    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }
    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }
    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }
    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }
    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }
    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }
    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }
    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.mfp-ie7 .mfp-img {
    padding: 0;
}

.mfp-ie7 .mfp-bottom-bar {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
    padding: 0;
}

.mfp-ie7 .mfp-content {
    padding-top: 44px;
}

.mfp-ie7 .mfp-close {
    top: 0;
    right: 0;
    padding-top: 0;
}