/*! normalize.css v1.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:'';content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html, button, input, select, textarea { color: #222;}
html { font-size: 1em; line-height: 1.4; }
::-moz-selection { background: #b3d4fc; text-shadow: none; }
::selection { background: #b3d4fc; text-shadow: none; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
audio,canvas,img,video { vertical-align: middle; }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical; }

/* zerres styles */

html, body, #wrapper  { margin: 0; padding: 0;	font-size: 95%; height: 100%; font-family: 'Open Sans', sans-serif; font-weight: 400; color: #59595c; background-color: #fff; -webkit-text-size-adjust: 100%;}
main { width: 91.52%; padding-right: 4.24%; padding-left: 4.24%; }
#wrapper {line-height:1.8em;}
a.handle:focus {
    outline: 0px none;;
}
a { color: #e45e4f; }

header { position: relative; width: 100%; height: 18em;}
header .logo { display: block; width: 200px; height: 86px; margin: 0 auto; background-size: contain; text-indent: -9999px; }
header .logo a { display: block; width: 100%; height: 100%;}

header nav {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
header nav ul { margin: 0; padding: 0; width: 100%; }
header nav ul li {
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1.4em;
    margin: 0 0 2.5%;
    float: left;
    width: 43.76%;
    padding: 2.5% 0 2.5% 4.24%;
    height: 100%;
    background-color: #59595c;
    list-style-type: none;
}
li.p1, li.p3 {
    margin-right: 4%;
}
li span {
    display: block;
}
header nav ul li a { color: #fff; text-decoration: none; }
header nav ul li.p2 { background-color: #818486; }
header nav ul li.p3 { background-color: #9c867a; }
header nav ul li.p4 { background-color: #5a4a42; }
header nav ul li.home.desktop {
    display: none;
    background-color: transparent;
    padding-top: 1.5%;
}
header nav ul li.home.desktop a {
    position: absolute;
    right: 2.8%;
    color: #59595c;
}
header nav ul li.home.mobile {
    display: block;
    background-color: #ffffff;
    text-align: right;
    width: 98%;
    padding: 0 2% 0 0;
    /*clear: both;*/
}
header nav ul li.home a {
    color: #59595c;
}
main { clear: both; }
main aside {
    width: 100%;
    margin-right: 3.32%;
    margin-top: 0.6em;
    float: none;
}
ul.bxslider { margin: 0; padding: 0;}

.main-content, aside > div:last-child {
    padding-bottom: 40px;
}

main .main-content {
    width: 100%;
    float: none;
}
main h1 {
    margin: 0.7em 0 0.3em 0;
    padding: 0;
    color: #f47a61;
    font-size: 2em;
    line-height: 120%;
    text-transform: uppercase;
}
main h2 {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 0.4em;
    padding: 0;
}
main h3 {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 0.0em;
    padding: 0;
}
main p {
    margin:0 0 1em;
    padding:0;
    font-size: 1.1em;
}
main { position: relative; }
.bannercontainer {
    width: 100%;
    position:relative;
    padding: 0.3em 0 0 0;
}
aside .bannercontainer { padding: 0; margin: 0; }
aside .bannercontainer ul { padding: 0; margin: 0; }
.banner{
    width:100%;
    position:relative;
}

.caption1 {
    color: #fff;
    /*background: rgba(40,40,40,0.4);    */
    font-size: 4em;
    line-height: 2.8em;
    font-weight: 400;
}
.teaser-bar {
    position: relative;
    z-index: 100;
}

.teaser {
    position: relative;
    width: 43.81%;
    float: left;
    background-color: #f47a61;
    background-size: contain;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 300;
    padding: 4% 0 4% 4%;
    margin: 1em 4.37% 1.8em 0;
    cursor: pointer;
}
.teaser:first-child + div {
    margin-right: 0%;
}
.teaser h2 {
    font-size: 1.1em;
    margin-bottom: 0;
}
.teaser .text {
    position: relative;
    z-index: 300;
}
.icon-teaser {
    /*opacity: 0.6;*/
    /*height: 30%;*/
    width: 30%;
    z-index: 200;
    position: absolute;
    bottom: -15%;
    right: -0.8em;
}
.icon-pfeil {
    display: inline-block;
    width: 1.4em;
    height: 1.2em;
    background-size: contain;
    background-position: left bottom;
}
.clearer {
    clear: both;
}

footer {
    width: 91.52%; padding-right: 4.24%; padding-left: 4.24%;
    margin-top: 8%;
    margin-bottom: 3em;
}
footer address {
    clear: both;
    font-style: normal;
    font-size: 0.9em;
    line-height: 1.4em;
}
a.facebook-link, .slide-out-div { display: none; }
a.facebook-link .icon-facebook_70, a.facebook-link-mobile .icon-facebook_70 {
    width: 50px;
    height: 50px;
    background-size: contain;
}
.contact-links-mobile { clear: both; padding-top: 12px; }
.contact-links-mobile a { float: left; margin: 0 1em 1em 0; }
a.icon-buchen-mobile { background-image: url('../svg/buchen-mobile.svg'); background-size: contain; width: 133px; height: 50px; text-indent: -9999px; }
.anfrage-link-mobile { height: 50px; text-decoration: none; background-color: #b2c691; color: #fff; font-size: 1.5em; font-weight: 400; padding: 0 0.6em; letter-spacing: 0.2em; line-height: 50px; text-transform: uppercase; }
form {
    padding-top: 3em;
}

form p {
    width: 100%;
    padding: 0;
}
form p input {
    margin: 0; padding: 0;
    line-height: 1.4em;
    width: 60%;
}
form p textarea {
    width: 60%;
}
form p label {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 30%;
}
input#ort {
    width: 40%;
}
input#plz {
    width: 17%;
    margin-right: 3%;
}
ul.plist { margin: 0; padding: 0; }
.plist li {
    margin: 0 0 2em;
    display: block;
    line-height: 2em;
    background-color: #becee1;
    overflow: hidden;
    cursor: pointer;
}
.csc-frame-frame1 .plist li {
    background-color: #e5efdd;
}
.plist li div {
    float: left;
    width: 38%;
    padding-left: 2%;
}
.plist li div+div {
    position: relative;
    width: 60%;
    padding-left: 0%;
}
.plist a.icon-info {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 27px;
    height: 27px;
    text-indent : -9999px;
}
.plist li div+div span {
    width: 96%;
    background-color: grey;
    text-transform: uppercase;
    color: white;
    display: block;
    padding-left: 4%;
}
.plist li div.info {
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;
    border: 2px solid #becee1;
    padding: 2%;
    display: none;
}
.plist li div.info img {
    float: right;
    width: 30%;
    height: auto;
}
.csc-frame-frame1 .plist li div.info {
    border: 2px solid #e5efdd;
}

.icon-zerres-logo {
    background-image: url('../svg/logo-alpinhotel.svg') !important;
}

.prices-swap-season-link-desktop {
    display: none;
    font-size: 2.5em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1em;
}
.prices-swap-season-link-desktop a {
    color: #e47a61;
}
.prices-swap-season-link-mobile {
    display: block;
    margin-bottom: 1em;
}


@media screen and (max-width: 479px) {
	.csc-textpic-imagewrap {
		width: 100%;
	}
}

@media screen and (min-width: 479px)  {
    header { height: 6.5em; }
    header .logo.icon-wandern-mit-hund-logo {
        top: 13%;
    }
    header .logo {
        position: absolute;
        right: 0em;
        top: 3.75em;
        width: 40%;
    }
    header nav {
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
    }
    header nav ul li {
        font-size: 1.1em;
        margin: 0 2% 0 0 !important;
        width: 22%;
        padding: 3.5% 0 3.5% 1.5%;
    }
    #wrapper header nav ul li.p4 { margin-right: 0 !important;}
    /*header nav ul li.p1 { margin-left: 1% !important;}*/

    header nav ul li.home.desktop { display: block; }
    header nav ul li.home.mobile { display: none; }

    main h1 {
        margin: 0.7em 0 0.7em;
        font-size: 2em;
    }
    .bannercontainer {
        padding: 8em 0 0 0;
    }
    .teaser {
        width: 47%;
        padding: 2% 0 2% 2%;
        margin: 0.5em 2% 2em 0;
    }
}
@media screen and (min-width: 760px) {
    #wrapper { width: 86.59%; height: 100%; padding-right: 9.17%; padding-left: 4.24%; }

    header { width: 100%; padding-left:0; height: 10em; }
    /*header { height: 7em; }*/
    header .logo { position: relative; right: 0; top: 0; width: 23%; height: 107px; margin: 0 0 !important; }
    header nav { width: 75%; }
    header nav ul li {
        font-size: 1.1em;
        margin: 0 2.5% 0 0 !important;
        width: 20%;
        padding: 3.5% 0 3.5% 2.5%;
    }
    main, footer { width: 100%; padding: 0; }
    main h1 {
        margin: 0 0 0.7em;
        font-size: 2.5em;
    }
    .bannercontainer {
        width:98.33%;
        position:relative;
        padding: 0.5em 0 0;
    }
    aside .bannercontainer {
        width: 100%;
    }
    .teaser-bar {
        position: absolute;
        bottom: -18%;
        right: 0;
        width: 75%;
    }
    .teaser {
        position: relative;
        width: 42.5%;
        margin-right: 2.5%;
        letter-spacing: 0.15em;
        padding: 2.5%;
    }
    .teaser:first-child + div {
        margin-right: 2.5%;
    }
    .slide-out-div {
        display: block;
        top: 10em;
        margin-left: 200px;
        padding: 20px;
        width: 600px;
        background: #fff;
        border: #b2c691 3px solid;
        z-index: 1040;
    }
    .slide-out-div article {
        height: 100%;
        width: 100%;
        overflow-x: visible;
        overflow-y: scroll;
    }
    .handle {
        display: block;
        position : absolute;
        width: 50px;
        height: 167px;
        margin-left: -73px;
        margin-top: -23px;
        text-decoration: none;
        background-color: #b2c691;
        background-size: contain;
        text-indent : -9999px;
    }
    a.icon-buchen {
        width: 50px;
        height: 134px;
        display: block;
        position: fixed;
        right: 0;
        top: 22.6em;
        background-color: transparent;
        background-size: contain;
        text-indent : -9999px;
    }
    #overlay {
        display: none;
        opacity: 0.8;
        position: fixed;
        top:0;
        left:0;
        background-color: #000000;
        width: 100%;
        height: 100%;
        z-index: 1039;
    }
    a.facebook-link {
        display: block;
        position: fixed;
        /*top: 22.6em;*/
        top: 32.6em;
        right: 0;
    }
    a.facebook-link .icon-facebook_70 {
        width: 50px;
        height: 50px;
        background-size: contain;
    }
    .contact-links-mobile { display: none; }
    form {
        padding-top: 0;
    }
    form p {
        float: left;
        width: 44%;
        margin-right: 6%;
    }
    form p.third {
        width: 29%;
        margin-right: 4%;
    }
    form p.full {
        clear: both;
        width: 94%;
        margin-right: 6%;
    }
    form p label {
        width: 6em;
    }
    form p input {
        width: 10em;
    }
    form p textarea {
        width: 30.6em;
    }
    form p.medium input {
        width: 5em;
    }
    form p.third input {
        width: 3em;
    }
    input#ort {
        width: 6em;
    }
    input#plz {
        width: 3em;
        margin-right: 0.6em;
    }
    input.f3-form-error {
        background-color: #ffbea1;
        border: 1px #f47a61 solid;
    }

}
@media screen and (min-width: 900px) {
    header { height: 10em;}
    header nav {
        width: 66.68%
    }
    header nav ul li {
        /*font-size: 1.20em;*/
    }
    header .logo { height: 120px; }
    main aside {
        width: 48.34%;
        margin-right: 3.32%;
        margin-top: 0.6em;
        float: right;
    }
    main aside.pauschalen {
        float: left;
    }
    main .main-content {
        width: 48.34%;
        float: right;
    }
    main .main-content.pauschalen {
        float: left;
    }
    .teaser-bar {
        width: 66.68%;
    }
    main .main-content h1 { margin-top: 0; }
    .handle {
        width: 60px;
        height: 200px;
        margin-left: -83px;
        margin-top: -23px;
    }
    a.icon-buchen {
        width: 60px;
        height: 160px;
        top: 25.1em;
    }
    a.facebook-link {
        top: 37.2em;
    }
    a.facebook-link .icon-facebook_70 {
        width: 60px;
        height: 60px;
    }
    .prices-swap-season-link-desktop {
        display: block;
    }
    .prices-swap-season-link-mobile {
        display: none;
    }
}
@media screen and (min-width: 1200px) {
    header { height: 13.4em; }
    header nav ul li {
        font-size: 1.38em;
    }
    .teaser {
        font-size: 1.38em;
    }
    .slide-out-div {
        top: 13.4em;
    }
    .handle {
        width: 70px;
        height: 233px;
        margin-left: -93px;
        margin-top: -23px;
    }
    a.icon-buchen {
        width: 70px;
        height: 186px;
        top: 31em;
    }
    a.facebook-link {
        top: 45.3em;
    }
    a.facebook-link .icon-facebook_70 {
        width: 70px;
        height: 70px;
    }
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
    orphans: 3;
    widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



/* 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: #cccccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044; }
.mfp-preloader a {
    color: #cccccc; }
.mfp-preloader a:hover {
    color: white; }

.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: white;
    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: #333333; }

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

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

.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 white;
    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 white;
    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: black; }

/* 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: #444444; }
.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; }

div.csc-textpic-imagewrap[data-csc-cols="2"] .csc-textpic-imagerow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div.csc-textpic-imagewrap[data-csc-cols="2"]  .csc-textpic-imagerow .csc-textpic-imagecolumn {
    flex: 0 0 calc(50% - 10px);
    margin: 5px;
}


div.csc-textpic-imagewrap[data-csc-cols="2"]  .csc-textpic-imagerow .csc-textpic-imagecolumn img {
    width: 100%;
    height: auto;
}
.csc-textpic-image img {
    max-width: 100%;
    height: auto;
}