/* original */
@font-face { font-family: 'icomoon'; src: url('../fonts/icomoon.eot?e1blvf'); src: url('../fonts/icomoon.eot?#iefixe1blvf') format('embedded-opentype'), url('../fonts/icomoon.woff?e1blvf') format('woff'), url('../fonts/icomoon.ttf?e1blvf') format('truetype'), url('../fonts/icomoon.svg?e1blvf#icomoon') format('svg'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'typicons'; src: url("../fonts/typicons.eot"); src: url("../fonts/typicons.eot?#iefix") format('embedded-opentype'), url("../fonts/typicons.woff") format('woff'), url("path/fonts/typicons.ttf") format('truetype'), url("../fonts/typicons.svg#typicons") format('svg'); font-weight: normal; font-style: normal; }
[class^="icon-"], [class*=" icon-"] { font-family: 'icomoon'; content: attr(data-icon); speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; 
}



body { font-weight: 100; line-height: 1.8em; letter-spacing: 0.07em; background: #ffffff; -webkit-font-smoothing: antialiased; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004); color: #404040; font-size: 12px; }
.container h1 { font-weight: 100; padding-bottom: 22.5px; margin-bottom: 30px; font-size: 21.6px; }
.container h2 { font-weight: 100; padding-bottom: 15px; margin-bottom: 15px; font-size: 20px; }
.container h3, .container h4 { font-size: 15.6px; }
.top-space { margin-top: 15px; }
header .top-header { padding: 20px; }
header .top-header .logo { max-width: 177px; }
header .top-header .contact { padding-top: 60px; text-align: right; }
header .top-header .contact a { color: #d5d5d5; font-size: 1.5em; }

@media screen and (max-width: 768px) {
header .top-header .logo { margin: 0 auto; }
header .top-header .contact { text-align: center; }
}

header .top-header .icon-twitter:before { content: "\e605"; font-size: 1.5em; }
header .top-header .icon-facebook:before { content: "\e604"; font-size: 1.5em; }
header .top-header .phone { top: 15px; }
header .top-header .phone a { color: #ffffff; background: #d5d5d5; padding: 5px; }
header .navbar-inverse .navbar-nav > li > a { font-size: 14px; color: #e6e6e6; text-transform: uppercase; }
.navbar-span { left: 0; right: 0; margin-bottom: 0; border: none; }
.icon-test:before { content: "\e600"; font-size: 5.5em; }

@media screen and (min-width: 768px) {
.carousel-caption { left: 10% !important; right: 50% !important; }
.carousel-caption h3 { font-weight: 300; text-transform: uppercase; }
.carousel-caption h3, .carousel-caption h4 { font-size: 36px; }
}

.slide-wrap .carousel-caption { background: rgba(0, 0, 0, 0.5); border-right: 8px solid #40668c; padding: 20px; bottom: 0; text-align: left; padding-left: 37.5px; }
.slide-wrap .button { background: #40668c; border: none; border-radius: 0; margin-top: 30px; }

.supply-type { text-align: center; padding: 45px 15px; }
.supply-type .icon-house:before, .supply-type .icon-office:before, .supply-type .icon-library:before { font-size: 5.5em; color: #d5d5d5; }
.supply-type .icon-house:before { content: "\e600"; }
.supply-type .icon-office:before { content: "\e602"; }
.supply-type .icon-library:before { content: "\e601"; }
.supply-type h2 { font-size: 20px; font-weight: 500; text-transform: uppercase; }

.formblock { background: #f4f4f4; padding: 10px; }
.formblock label { color: #000; }
.formblock .contact-form { background: #003366 !important; }

.content-wrap { /*background: url(../../images/marble-bg.jpg);*/ padding-top: 20px; }
.content-wrap h2 { border-bottom: 2px solid #003366; padding-bottom: 15px; text-transform: uppercase; /*text-align: right;*/ font-size: 21px; }
.content-wrap img { margin-right: 10px; margin-bottom: 10px; }

.main-content { padding-top: 20px; padding-bottom: 20px; }

.product-range-wrap h2 { border-bottom: 2px solid #003366; padding-bottom: 15px; text-transform: uppercase; font-size: 16.8px; }
.product-range-wrap .caption { position: absolute; bottom: 0px; text-align: center; background: rgba(255, 255, 255, 0.4); padding-left: 0; padding-right: 0; }
.product-range-wrap .caption h3 { margin-top: 0px; margin-bottom: 10px; width: 211px; font-size: 16.8px; color: #003366; }
.product-range-wrap .thumbnail { display: inline-block; top: 15px; margin-bottom: 0px; line-height: 1.428571429; background-color: #ffffff; border: none; border-radius: 4px; -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }

.left-col { background: #f4f4f4; margin-top: 30px; padding: 27px 0; font-size: 14px; }
.left-col li { color: #003366; line-height: 2.8em; list-style-type: square; }

.blog-menu { background: #f4f4f4; margin-top: 30px; padding: 10px 30px 27px 30px; font-size: 14px; }
.blog-menu li { color: #003366; list-style-type: square; }
.blog-menu li a { padding-left: 0; }

@media (max-width: 767px) {
.fields input:focus, .fields select:focus, .fields textarea:focus, .fields button:focus { padding-left: 30px; }
.fields input, .fields select { line-height: 30px; padding: 5px 5% 8px 12% !important; }
.col-md-4 { margin-bottom: 50px; }
}

footer { background: #000000; color: #ffffff; padding-top: 20px; }
footer a:active, footer a:link, footer a:visited, footer a:hover { color: #ffffff; }
footer h2 { font-size: 21px; border-bottom: none; padding-bottom: 15px !important; margin-bottom: 15px !important; font-weight: 500 !important; text-transform: uppercase; }
@media (max-width: 767px) { footer h2 { font-size: 21px; border-bottom: none; padding-bottom: 10px !important; margin-bottom: 10px !important; font-weight: 500 !important; } }
footer h3 { font-size: 16.8px; }
footer .copyright-wrap { background: #000000; margin-top: 30px; padding: 10px 0; font-size: 14px; }
footer .blog-list { margin-bottom: 15px; }
footer .blog-list h3, footer .blog-list h4 { margin-top: 0px; }
footer .blog-list .col-md-2 { background: #40668c; padding: 10px; }
footer .blog-list .date { text-align: center; font-size: 14px; line-height: 1.3em; }
@media (max-width: 767px) { footer .blog-list h3 { margin-top: 10px; } }

/* Carousel */
#myCarousel .nav a small { display: block; }
#myCarousel .nav { background: rgba(0, 0, 0, 0.9); }
.nav-justified > li > a { border-radius: 0px; color: #ffffff; border-left: 1px solid #ffffff; }
.nav-pills > li[data-slide-to="0"].active a { background-color: rgba(0, 0, 0, 0.5); }
.nav-pills > li[data-slide-to="1"].active a { background-color: rgba(0, 0, 0, 0.5); }
.nav-pills > li[data-slide-to="2"].active a { background-color: rgba(0, 0, 0, 0.5); }
.nav-pills > li[data-slide-to="3"].active a { background-color: rgba(0, 0, 0, 0.5); }
.nav-pills > li:hover a { background-color: rgba(0, 0, 0, 0.5); }
.product-info { position: absolute; top: 10em; background: rgba(0, 0, 0, 0.8); width: 220px; color: #ffffff; padding: 15px; margin: 20px; }
.space { margin-bottom: 20px; }
.carousel-caption { background: rgba(0, 0, 0, 0.6); color: #ffffff; padding: 10px; font-weight: 100; }

.header h1 { text-align: center; font-size: 2em; margin-bottom: 1px black; }
.gallery { position: relative; }
.gallery .gallery-caption { background: rgba(0, 0, 0, 0.6); color: white; bottom: 0; padding: 19px 0; text-align: center; position: absolute; width: 100%; display: block; }
.medium-product { position: relative; }
.medium-product .medium-size-product-caption { background: rgba(0, 0, 0, 0.6); color: white; bottom: 0; padding: 19px 0; text-align: center; position: absolute; width: 100%; display: block; }
.navbar-brand { margin-top: -10px; }
.home-large-image { position: relative; margin-bottom: 30px; }
.home-large-image .text-overlay, .home-large-image .title-overlay { position: absolute; background: rgba(0, 0, 0, 0.8); color: #ffffff; padding: 25px; }
.home-large-image .text-overlay { bottom: 15px; position: absolute; background: rgba(0, 0, 0, 0.8); color: #ffffff; width: 260px; margin-left: 15px; padding: 25px; }
.home-large-image .text-overlay h2 { border-bottom: 2px solid #ffffff; }
.home-large-image .title-overlay { bottom: 0; /*font-size: 11.2px;*/ width: 100%; color: #ffffff; }
.link-tab-wrap .link-tab { background: #000000; padding: 25px; text-transform: uppercase; text-align: center; }
.link-tab-wrap .link-tab a { color: #ffffff !important; }
.link-tab-wrap h2 { border-bottom: none; }
.product-nav { border-bottom: 1px solid black; border-top: 1px solid black; padding: 10px; }
.design-page-content img { height: 400px; width: 100%; }
.design-page-content h3 { margin-bottom: 0; }
.center-text { text-align: center; }
.center-text .header-text { font-size: 3.5em; font-weight: 100; }












/* sidrablue overwrites */
.emspace {font:10px/10px arial;height:10px;overflow:hidden;} .emspace.h1 {height:1px;} .emspace.h5 {height:5px;} .emspace.h20 {height:20px;} .emspace.h30 {height:30px;} .emspace.h40 {height:40px;} .emspace.h50 {height:50px;} .emspace.h60 {height:60px;} .emspace.h70 {height:70px;} .emspace.h80 {height:80px;} .emspace.h90 {height:90px;}
.floatc { clear: both; }
img.resp { max-width: 100%; height: auto; } @media \0screen { img.resp { width: auto; /* for ie 8 */ } }

body { margin: 0; padding: 0; font-size: 14px; }
.row { margin: 0; }
.content-wrap .row { margin: 0 -15px; }

#fot { color: #878787; background: #222; }
#fot a { color: #ccc; }
#fot a.btn { color: #fff; background-color: #71b62c; }
#fot a.btn:hover { background-color: #777; }
@media (max-width: 767px) { #fot .emspace.h90, #fot .emspace.h30 { display: none; } #fot .col-md-4 { margin-bottom: 0; } }

#hed { position: fixed; top: 0; left: 0; z-index: 999; width: 100%; padding: 10px 0; background-color: #222; }
#hed, .navbar, .navbar-header { min-height: 60px; }

.navbar-nav > li > a { padding: 20px 11px; }
@media (max-width: 1199px) { .navbar-nav > li > a { padding: 20px 10px; } }
@media (max-width: 800px) { .navbar-nav > li > a { padding: 7px; } }

.navbar-nav li { list-style: none; }
.navbar-nav li a#active { background: #000; }
.navbar-nav li ul { /*visibility: hidden;*/ position: absolute; left: 0; z-index: 999; width: 200px; margin: 0; padding: 0; text-align: left;

	display: none;
}
.navbar-nav li ul li { width: 200px; padding: 0; }
.navbar-nav li ul li a { display: block; /*height: 21px;*/ line-height: 21px; padding: 7px 14px; font-weight: 400; text-align: left; color: #fff; background: #000; }
.navbar-nav li ul li a:hover, .navbar-nav li ul li a.active, .navbar-nav li ul li a#active, .navbar-nav li ul li a#active:hover { color: #71b62c; text-decoration: none; }
.navbar-nav li ul li a#active {  }
@media (max-width: 767px) { .navbar-nav li ul { display: block; width: auto; } .navbar-nav li ul li a { background: none; padding-left: 20px; padding-right: 0; } }

.home-content { width: 100%; margin: 0; padding: 0; }
.home-content .container { width: 100%; margin: 0; padding: 0; }
.home-content .content-wrap { width: 1170px; margin: 0 auto; position: relative; height: 100%; padding: 0 30px; }
@media (min-width: 768px) { .home-content .content-wrap { width: 750px; } }
@media (min-width: 992px) { .home-content .content-wrap { width: 970px; } }
@media (min-width: 1200px) { .home-content .content-wrap { width: 1170px; } }
@media (max-width: 767px) { .home-content .content-wrap { width: 94%; padding: 0 6px; } }



#bann { width: 100%; height: 561px; /*overflow: hidden;*/ position: relative; z-index: 1; }
#bann .hbn { width: 100%; height: 100%; background: center no-repeat; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.cycle-slideshow .cycle-prev, .cycle-slideshow .cycle-next { position: absolute; top: 190px; z-index: 998; width: 48px; height: 48px; background: #fff; cursor: pointer;

	display: none;
}
.cycle-slideshow .cycle-prev { left: -30px; }
.cycle-slideshow .cycle-next { right: -30px; }
.cycle-slideshow .disabled { display: none; }

.carousel-caption { background: rgba(0, 0, 0, 0.8); left: 45px !important; }
@media only screen and (max-width: 767px) { .carousel-caption { left: 25px !important; } }

.carousel-inner .item { height: 840px; background-position: center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
@media only screen and (max-width: 1920px) { .carousel-inner .item, #bann { height: 788px; } }
@media only screen and (max-width: 1600px) { .carousel-inner .item, #bann { height: 657px; } }
@media only screen and (max-width: 1366px) { .carousel-inner .item, #bann { height: 561px; } }
@media only screen and (max-width: 1280px) { .carousel-inner .item, #bann { height: 525px; } }
@media only screen and (max-width: 1024px) { .carousel-inner .item, #bann { height: 420px; } }
@media only screen and (max-width: 960px) { .carousel-inner .item, #bann { height: 394px; } }
@media only screen and (max-width: 800px) { .carousel-inner .item, #bann { height: 328px; } }
@media only screen and (max-width: 767px) { .carousel-inner .item, #bann { height: 315px; } }
@media only screen and (max-width: 414px) { .carousel-inner .item, #bann { height: 170px; } }

/* homepage left side large image section */
.content-wrap .container .col-md-8.homie .home-large-image { height: 496px; }
.content-wrap .container .col-md-8.homie .home-large-image .img-responsive { width: 100%; height: 100%; }

.home-large-image .text-overlay { text-align: center; }

.container.subpban { width: 100%; padding: 0; }
.container.subpban, .container.subpban .item { height: 340px; }

.home-large-image .title-overlay {
	padding: 5px 25px;
	bottom: -10px;
}
@media only screen and (max-width: 800px) {
	.col-md-4 .home-large-image { width: 400px; margin: 0 auto 30px auto; }
}
@media only screen and (max-width: 414px) {
	.col-md-4 .home-large-image { width: 100%; }
}



/* subpage banner cycle */
#subpcycle { width: 100%; overflow: hidden; position: relative; height: 300px; color: #fff; }
#subpcycle .hbn { width: 100%; height: 100%; }
#subpcycle.cycle-slideshow .cycle-prev, #subpcycle.cycle-slideshow .cycle-next { position: absolute; top: 40%; z-index: 999; font-weight: bold; font-size: 48px; cursor: pointer; }
#subpcycle.cycle-slideshow .cycle-prev { left: 0px; }
#subpcycle.cycle-slideshow .cycle-next { right: 0px; }

#subpcycle .container { margin: 0; padding: 0; }
#subpcycle .container .col-md-6 { padding: 20px; }
#subpcycle .container .col-md-6 .ccon { margin: 0 40px; text-align: center; }
#subpcycle .container .col-md-6 .ccon .home-large-image { margin: 0; padding: 0; height: 220px; }
#subpcycle .container .col-md-6 .ccon .home-large-image img { width: 100%; height: 100%; }



/* gallery */
.gall.mpg, .gall.mpg p, .gall, .gall p { margin: 0; padding: 0; text-align: center; }
.gall.mpg p, .gall.mpg p.nono.fst { width: 125px; height: 90px; margin: 5px; float: left; clear: none; }
@media only screen and (max-width: 479px) { .gall.mpg p, .gall.mpg p.nono.fst { width: 108px; height: 80px; } }
@media only screen and (max-width: 375px) { .gall.mpg p, .gall.mpg p.nono.fst { width: 95px; height: 74px; } }
@media only screen and (max-width: 360px) { .gall.mpg p, .gall.mpg p.nono.fst { width: 90px; height: 70px; } }
@media only screen and (max-width: 360px) { .gall.mpg p, .gall.mpg p.nono.fst { width: 76px; height: 60px; } }
.gall.mpg p.fst, .gall p.fst, .gall p.fst img { width: 100%; height: auto; margin: 10px 0; float: none; }
.gall.mpg p.fst img { max-width: 100%; height: auto; }
.gall.mpg p.nodisp.fst { display: none; }
.gall.mpg p img { cursor: pointer; display: block; overflow: hidden; width: 100%; height: 100%; }

/* formidable form */
.formidable { width: 80%; margin: 20px auto 0 auto; }
@media only screen and (max-width: 800px) { .formidable { width: 100%; } }
.formidable .label { white-space: normal; }
.formidable .label span { display: none; }
.formidable input[type="text"], .formidable input[type="url"], .formidable input[type="tel"], .formidable input[type="number"], .formidable input[type="email"], .formidable textarea, .formidable select, .formidable input[type="password"] { margin-top: 4px; }

/* WYSIWYG overwrites */
.text-left { text-align: left; }



/* swatches */
.colwrp { width: 100%: overflow: hidden; } .coltre, .colfor, .colfiv { float: left; } .coltre { width: 33%; } .coltre.mid { width: 34%; } .coltre.dbl { width: 66%; } .colfor { width: 25%; } .colfor.dbl { width: 50%; } .colfiv { width: 20%; }
@media only screen and (max-width: 800px) { .colfor { width: 50%; } }
@media only screen and (max-width: 667px) { .colfor, .coltre, .coltre.mid, coltre.dbl { width: 100%; float: none; display: block; } .colfor, .coltre, .colfor.tright, .coltre.tright { text-align: center; } }

.ccm-layout-col-spacing { text-align: center; }
.ccm-layout-col-spacing img { max-width: 100%; height: auto;

	display: block; margin: 0 auto;
}

.ccm-layout.ccm-layout-table.ccm-layout-name-SingleColumn-Layout-2 {
	margin: 20px auto 10px auto;
}



/* 150323 amends */
body { font: 300 14px/20px 'Open Sans',arial,sans-serif; }
.carousel-caption { display: none; }

.googleMapCanvas { width: 400px; height: 400px; margin-top: 30px; float: left; background: #ccc; }
.formidable { width: 680px; float: right; }
@media only screen and (max-width: 1024px) { .googleMapCanvas { width: 220px; } }
@media only screen and (max-width: 800px) { .googleMapCanvas, .formidable { width: 100%; float: none; display: block; } .googleMapCanvas { height: 300px; } }
@media only screen and (max-width: 767px) { .subpban { display: none; } .googleMapCanvas { display: none; } }

#pnum { position: absolute; top: 20px; right: 0; color: #fff; font-weight: bold; }
@media only screen and (max-width: 1199px) { #pnum { display: none; } }



.hmcta { margin: 0; padding: 40px 0 20px 0; text-align: center; }
.hmcta a.btn { margin: 0 10px; padding: 10px 30px; color: #fff; background-color: #777; border: 1px solid #707070; -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.15); box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2); }
.hmcta a.btn:hover { background-color: #6ab320; border-color: #eee; }
.hmcta a.btn .fa { margin-right: 5px; }

















/* Magnific Popup v0.9.3 */
.mfp-bg { position:fixed;top:0;left:0;z-index:1042;width:100%;height:100%;overflow:hidden; opacity:0.9;filter:alpha(opacity=90); /**/ background: #000; }
.mfp-wrap { position:fixed;top:0;left:0;z-index:1043;width:100%;height:100%;outline:none !important;-webkit-backface-visibility:hidden; }
.mfp-container { position: absolute; left: 0; top: 0; width: 100%; height: 100%; padding: 0 8px; text-align: center; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.mfp-container:before { content: ''; display: inline-block; vertical-align: middle; height: 100%; }
.mfp-align-top .mfp-container:before { display: none; }
.mfp-content { position:relative;z-index:1045;display:inline-block;vertical-align:middle;margin:0 auto;padding:0;text-align:left; }
.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 { position: absolute; top: 50%; right: 8px; left: 8px; z-index: 1044; width: auto; margin-top: -0.8em; text-align: center; /**/ color: #ccc; }
.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 { z-index: 1046; padding: 0; display: block; overflow: visible; background: transparent; border: 0; cursor: pointer; }
button::-moz-focus-inner { padding: 0; border: 0; }
.mfp-close { position: absolute; top: 0; right: 0; font-style: normal; font-family: arial,monospace; text-align: center; text-decoration: none; opacity: 0.65; /**/ width: 44px; height: 44px; padding: 0 0 18px 10px; font-size: 28px; line-height: 44px; color: #fff; }
.mfp-close:hover, .mfp-close:focus { opacity: 1; }
.mfp-close:active { top: 1px; }
.mfp-close-btn-in .mfp-close { /**/ color: #fff; background: #000; }
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { right: -6px; width: 100%; padding-right: 6px; text-align: right; /**/ color: #fff; }
.mfp-counter { position: absolute; top: 0; right: 0; font-size: 12px; line-height: 18px; /**/ color: #ccc;

	right: 10px;
	padding: 5px 10px;
	/*background: #000; -webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;*/
}
.mfp-arrow { position: absolute; top: 50%; margin: 0; padding: 0; opacity: 0.65; /**/ width: 90px; height: 110px; margin-top: -55px; }
.mfp-arrow:active { /**/ margin-top: -54px; }
.mfp-arrow:hover, .mfp-arrow:focus { opacity: 1; }
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a { position: absolute; left: 0; top: 0; content: ''; display: block; width: 0; height: 0; border: medium inset transparent; /**/ margin-top: 35px; margin-left: 35px; }
.mfp-arrow:after, .mfp-arrow .mfp-a { /**/ top: 8px; border-top-width: 13px; border-bottom-width: 13px; }
.mfp-arrow:before, .mfp-arrow .mfp-b { /**/ border-top-width: 21px; border-bottom-width: 21px; }
.mfp-arrow-left { left: 0; }
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a { /**/ margin-left: 31px; border-right: 17px solid #fff; }
.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 { /**/ margin-left: 39px; border-left: 17px solid white; }
.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-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; }
.mfp-iframe-holder .mfp-close { /**/ top: -40px; }
img.mfp-img { width: auto; /*max-width: 100%;*/ height: auto; margin: 0 auto; display: block; line-height: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; /**/ padding:0; }
.mfp-figure:after { /*shadow*/ display: none; }
.mfp-figure { line-height:0; }
.mfp-bottom-bar { position: absolute; top: 100%; left: 0; width: 100%; cursor: auto; /**/ margin-top: -36px; }
.mfp-title { line-height: 18px; text-align: left; word-break: break-word; /**/ padding-right: 36px; color: #f3f3f3; }
.mfp-figure small { display: block; /**/ font-size: 12px; line-height: 14px; color: #bdbdbd; }
.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) {
.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-bottom-bar { position: fixed; top: auto; bottom: 0; margin: 0; padding: 3px 5px; background: rgba(0, 0, 0, 0.6); -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 { top: 3px; right: 5px; }
.mfp-img-mobile .mfp-close { position: fixed; top: 0; right: 0; padding: 0; width: 35px; height: 35px; line-height: 35px; text-align: center; background: rgba(0, 0, 0, 0.6); }
.mfp-img-mobile .mfp-figure small { display: inline; margin-left: 5px; }
}
@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 { left: 50%; width: 600px; margin-top: 5px; margin-left: -300px; 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; }

/* overwrites */
.mfp-close-btn-in .mfp-close { background: none; }
.mfp-figure { overflow: auto; }
.mfp-figure figure { margin: 0; padding: 0; }

.mfp-img { max-width: 1200px; }
