@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i");html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display: block
}

body {
    line-height: 1
}

ol,ul {
    list-style: none
}

blockquote,q {
    quotes: none
}

blockquote:before,blockquote:after,q:before,q:after {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

img {
    max-width: 100%
}

* {
    box-sizing: border-box
}

.clearfix,.group {
    zoom:1}

.clearfix:before,.clearfix:after,.group:before,.group:after {
    content: "";
    display: table
}

.clearfix,.clearfix:before,.clearfix:after,.group,.group:before,.group:after {
    clear: both
}

.buttons {
    padding: 15px 0
}

.btn,button,input[type=submit],.gform_wrapper .gform_footer input[type=submit],.gform_wrapper .gform_footer input[type=button],.gform_wrapper .gform_footer input[type=reset],.gform_wrapper .gform_footer button {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    opacity: 1;
    border: 0;
    padding: 10px 15px;
    font-size: 17px;
    line-height: 20px;
    text-transform: uppercase;
    transition: opacity 400ms ease-in-out;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    background-color: #666;
    color: white;
    -webkit-appearance: none;
    border-radius: 0
}

.btn:hover,button:hover,input[type=submit]:hover,.gform_wrapper .gform_footer input[type=submit]:hover,.gform_wrapper .gform_footer input[type=button]:hover,.gform_wrapper .gform_footer input[type=reset]:hover,.gform_wrapper .gform_footer button:hover {
    text-decoration: none;
    opacity: .8
}

.btn.green,button.green,input.green[type=submit],.gform_wrapper .gform_footer input.green[type=submit],.gform_wrapper .gform_footer input.green[type=button],.gform_wrapper .gform_footer input.green[type=reset],.gform_wrapper .gform_footer button.green {
    background-color: #806cb6
}

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    margin: 0;
    color: #444;
    background: #ccc;
    font-size: 14px;
    line-height: 100%
}

@media only screen and (min-width: 768px) {
    body {
        font-size:16px;
        line-height: 100%
    }
}

h1,h2,h3,h4,h5,h6,p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    line-height: 1.5em
}

h1 {
    font-size: 2.6em;
    line-height: 1.4em;
    color: #674ea7
}

h1 span {
    opacity: .7
}

h2 {
    font-size: 2.1em
}

h3 {
    font-size: 1.6em
}

h4 {
    font-size: 1.4em
}

p {
    padding: 8px 0
}

@media only screen and (min-width: 768px) {
    p {
        padding:12px 0
    }
}

strong {
    font-weight: bold
}

a {
    color: #674ea7;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

img.alignleft {
    float: left;
    margin: 0 10px 10px 0
}

img.alignright {
    float: right;
    margin: 0 0 10px 10px
}

img.aligncenter {
    display: block;
    margin: 0 auto
}

code,pre {
    font-family: monospace;
    background-color: #eee;
    padding: 5px 10px;
    font-size: 1.1em;
    line-height: 1.4em
}

pre {
    max-width: 100%;
    overflow: auto;
    margin: 15px 0;
    font-size: 1em;
    min-height: 35px
}

.text-center {
    text-align: center
}

.text-right {
    text-align: right
}

.paginate {
    border-top: 1px solid #b3b3b3;
    padding: 15px 0;
    text-align: center;
    font-size: 15px;
    line-height: 15px;
    background: #bfbfbf;
    font-family: "Open Sans", sans-serif;
    font-weight: 400
}

@media only screen and (min-width: 768px) {
    .paginate {
        padding:40px 0
    }
}

.paginate a {
    padding: 7px 12px;
    background: #666;
    color: white;
    text-decoration: none;
    display: inline-block
}

.paginate a:hover {
    background: #737373
}

.paginate .current {
    padding: 7px 12px;
    display: inline-block;
    background: #737373
}

.quarter,.third,.half,.two-third,.three-quarter,.twenty,.forty,.thirty {
    padding: 20px
}

@media only screen and (min-width: 768px) {
    .quarter,.third,.half,.two-third,.three-quarter,.twenty,.forty,.thirty {
        float:left
    }

    .quarter {
        width: 23%;
        margin: 0 1%
    }

    .third {
        width: 31%;
        margin: 0 1%
    }

    .two-third {
        width: 65%;
        margin: 0 1%
    }

    .half {
        width: 48%;
        margin: 0 1%
    }

    .three-quarter {
        width: 73%;
        margin: 0 1%
    }

    .twenty {
        width: 18%;
        margin: 0 1%
    }

    .forty {
        width: 38%;
        margin: 0 1%
    }

    .thirty {
        width: 28%;
        margin: 0 1%
    }
}

.text-field,input[type=text],input[type=search],select,.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),.gform_wrapper textarea {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    display: inline-block;
    padding: 6px 8px;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5em;
    border: 3px solid #ddd
}

.gform_wrapper .short-form .gfield {
    margin: 10px 0 !important
}

.gform_wrapper .short-form .gfield .ginput_container {
    margin-top: 5px !important
}

.gform_wrapper .short-form .gfield .gfield_description {
    padding-top: 0
}

.gform_wrapper .short-form .gfield ::-moz-placeholder {
    color: #ddd
}

.gform_wrapper .short-form .gfield :-ms-input-placeholder {
    color: #ddd
}

.gform_wrapper .short-form .gfield ::placeholder {
    color: #ddd
}

.gform_wrapper .short-form .gfield.field_description_below.gsection {
    margin: 50px 0 10px !important
}

@media only screen and (min-width: 768px) {
    .gform_wrapper .short-form .gfield.field_description_below.gsection {
        margin:80px 0 15px !important
    }
}

.gform_wrapper .short-form .gfield.field_description_below.gsection:first-child {
    margin: 0 0 15px !important
}

@media only screen and (min-width: 768px) {
    .gform_wrapper .short-form .gfield.field_description_below.gsection:first-child {
        margin:0 0 15px !important
    }
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,.gform_wrapper textarea:focus {
    border: 3px solid #674ea7;
    outline: none
}

.gform_wrapper .gsection_description {
    font-size: .9em
}

.gform_wrapper span.ginput_total {
    font-size: 1.5em;
    font-weight: bold;
    color: #674ea7
}

.gform_wrapper .gfield.inline-radio .gfield_radio,.gform_wrapper .gfield.donate-amount .gfield_radio {
    width: auto !important
}

.gform_wrapper .gfield.inline-radio .gfield_radio li,.gform_wrapper .gfield.donate-amount .gfield_radio li {
    background: #e6e6e6;
    padding: 7px 13px 10px !important;
    margin-right: 5px;
    border-radius: 5px
}

@media only screen and (min-width: 768px) {
    .gform_wrapper .gfield.inline-radio .gfield_radio li,.gform_wrapper .gfield.donate-amount .gfield_radio li {
        float:left
    }
}

.gform_wrapper .gfield.conditional-note {
    font-size: .8em;
    margin-top: -20px !important;
    margin-bottom: 20px !important
}

.gform_wrapper .gform_footer input[type=submit],.gform_wrapper .gform_footer input[type=button],.gform_wrapper .gform_footer input[type=reset],.gform_wrapper .gform_footer button {
    background-color: #674ea7;
    color: white
}

header {
    position: relative
}

header .logo {
    padding: 20px
}

@media only screen and (min-width: 768px) {
    header .logo {
        padding:20px 30px
    }
}

@media only screen and (min-width: 1024px) {
    header .logo {
        padding:20px 40px
    }
}

@media only screen and (min-width: 1150px) {
    header .logo {
        padding:25px 50px
    }
}

header nav {
    zoom:1;position: relative
}

header nav:before,header nav:after {
    content: "";
    display: table
}

header nav,header nav:before,header nav:after {
    clear: both
}

header nav button {
    position: absolute;
    right: 10px;
    top: -60px;
    width: 40px;
    height: 40px;
    border: 0;
    padding: 0;
    background: white;
    color: transparent;
    background: url(../img/icon-menu.png) center center no-repeat;
    overflow: hidden;
    text-indent: 1000px
}

@media only screen and (min-width: 400px) {
    header nav button {
        right:20px
    }
}

@media only screen and (min-width: 768px) {
    header nav button {
        display:none
    }
}

header nav .nav-menu {
    display: none;
    background: #999;
    position: relative;
    z-index: 1000;
    padding: 0 20px
}

@media only screen and (min-width: 768px) {
    header nav .nav-menu {
        padding:0 30px
    }
}

@media only screen and (min-width: 1024px) {
    header nav .nav-menu {
        padding:0 40px
    }
}

@media only screen and (min-width: 1150px) {
    header nav .nav-menu {
        padding:0 50px
    }
}

@media only screen and (min-width: 768px) {
    header nav .nav-menu {
        display:block;
        zoom:1}

    header nav .nav-menu:before,header nav .nav-menu:after {
        content: "";
        display: table
    }

    header nav .nav-menu,header nav .nav-menu:before,header nav .nav-menu:after {
        clear: both
    }
}

@media only screen and (min-width: 768px) {
    header nav .nav-menu li {
        box-shadow:none;
        position: relative;
        display: inline-block
    }
}

header nav .nav-menu li a {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    display: block;
    padding: 15px 5px;
    font-size: 20px;
    line-height: 24px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    transition: 400ms background-color ease-in-out;
    background-color: transparent;
    text-align: center
}

@media only screen and (min-width: 768px) {
    header nav .nav-menu li a {
        display:inline-block;
        text-align: left;
        padding: 15px 10px
    }
}

@media only screen and (min-width: 1024px) {
    header nav .nav-menu li a {
        font-size:22px;
        padding: 15px 15px
    }
}

header nav .nav-menu li:hover a,header nav .nav-menu li.open a {
    background-color: #666
}

@media only screen and (min-width: 768px) {
    header nav .nav-menu li:hover ul.sub-menu,header nav .nav-menu li.open ul.sub-menu {
        display:block
    }
}

header nav .nav-menu li ul.sub-menu {
    display: none;
    margin-bottom: 3px;
    box-shadow: 0 20px 20px rgba(153,153,153,0.4);
    opacity: .9
}

@media only screen and (min-width: 768px) {
    header nav .nav-menu li ul.sub-menu {
        position:absolute;
        left: 0;
        top: 54px;
        width: 100%;
        background-color: #666;
        zoom:1}

    header nav .nav-menu li ul.sub-menu:before,header nav .nav-menu li ul.sub-menu:after {
        content: "";
        display: table
    }

    header nav .nav-menu li ul.sub-menu,header nav .nav-menu li ul.sub-menu:before,header nav .nav-menu li ul.sub-menu:after {
        clear: both
    }
}

header nav .nav-menu li ul.sub-menu li {
    display: block;
    width: 100%
}

header nav .nav-menu li ul.sub-menu li a {
    font-size: 15px;
    line-height: 18px;
    display: block;
    padding: 10px 5px
}

@media only screen and (min-width: 768px) {
    header nav .nav-menu li ul.sub-menu li a {
        padding:10px
    }

    header nav .nav-menu li ul.sub-menu li a:hover {
        background-color: gray
    }
}

@media only screen and (min-width: 1024px) {
    header nav .nav-menu li ul.sub-menu li a {
        padding:10px 15px
    }
}

.showcase {
    position: relative;
    overflow: hidden;
    height: 0;
    transition: height 300ms ease-in-out;
    background: #eee;
    z-index: 0
}

.showcase .slide {
    position: absolute;
    top: 0;
    left: 100%;
    right: -100%;
    opacity: 0;
    transition: left 400ms ease-in-out, right 400ms ease-in-out, opacity 400ms ease-in-out
}

.showcase .slide.visible {
    left: 0;
    right: 0;
    opacity: 1;
    z-index: 0
}

.showcase .slide.hide-left {
    left: -100%;
    right: 100%;
    opacity: 0
}

.showcase .slide a {
    display: block;
    zoom:1}

.showcase .slide a:before,.showcase .slide a:after {
    content: "";
    display: table
}

.showcase .slide a,.showcase .slide a:before,.showcase .slide a:after {
    clear: both
}

.showcase .slide img {
    width: 100%;
    height: auto !important;
    display: block
}

.showcase .slide .slide-content {
    position: absolute;
    top: 10%;
    right: 60px;
    left: 60px;
    background: white;
    opacity: .8;
    padding: 12px;
    border-radius: 15px;
    border-top-left-radius: 0
}

@media only screen and (min-width: 768px) {
    .showcase .slide .slide-content {
        top:15%;
        left: 10%;
        right: 50%;
        padding: 25px
    }
}

.showcase .slide h1 {
    font-weight: 700;
    padding: 0;
    font-size: 18px
}

@media only screen and (min-width: 768px) {
    .showcase .slide h1 {
        font-size:22px
    }
}

.showcase .slide h2 {
    font-weight: 400;
    padding: 0;
    font-size: 13px;
    line-height: 20px
}

.showcase .slide:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 650px;
    height: 650px;
    z-index: 100
}

.showcase .showcase-nav a {
    position: absolute;
    top: 50%;
    margin-top: -40px;
    cursor: pointer;
    width: 50px;
    height: 80px;
    text-indent: -300px;
    overflow: hidden;
    opacity: .7;
    color: black
}

.showcase .showcase-nav a:hover {
    opacity: 1
}

.showcase .showcase-nav a.previous {
    left: 0;
    background: transparent url(../img/slider-arrow-left.png) right center no-repeat;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

.showcase .showcase-nav a.next {
    right: 0;
    background: transparent url(../img/slider-arrow-right.png) left center no-repeat;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.content-style ol,.content-wide ol,.content-style ul,.content-wide ul {
    padding: 5px 0 5px 35px
}

.content-style ol li,.content-wide ol li,.content-style ul li,.content-wide ul li {
    padding: 3px 0;
    line-height: 1.5em
}

.content-style ul,.content-wide ul {
    list-style-type: disc
}

.content-style ol,.content-wide ol {
    list-style-type: decimal
}

.content-style blockquote,.content-wide blockquote {
    padding: 0 25px;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 1.2em;
    line-height: 1.5em;
    color: #666;
    border-left: 3px solid #e6e6e6;
    margin: 10px 0 10px 20px
}

.content-style hr,.content-wide hr {
    border: 0;
    border-bottom: 3px solid #e6e6e6;
    padding: 0;
    margin: 10px 0
}

@media only screen and (min-width: 600px) {
    .content-style hr,.content-wide hr {
        margin:20px 0
    }
}

@media only screen and (min-width: 1024px) {
    .content-style hr,.content-wide hr {
        margin:30px 0
    }
}

.content-style .postmeta,.content-wide .postmeta {
    margin-top: 15px;
    padding: 15px 0;
    border-top: 1px solid #ccc
}

.content-style .quiet,.content-wide .quiet {
    color: #999;
    font-style: italic
}

.content-style .quiet a,.content-wide .quiet a {
    color: #777
}

.content-style table,.content-wide table {
    width: 100%
}

.content-style table tr td,.content-wide table tr td {
    vertical-align: top;
    padding: 6px 10px
}

.container {
    min-width: 320px;
    max-width: 1220px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 50px #999;
    border: 1px solid #666;
    border-top: 0;
    border-bottom: 0;
    z-index: 100
}

.wrap {
    max-width: 1220px;
    margin: 0 auto
}

.content-wide {
    zoom:1;padding: 20px
}

.content-wide:before,.content-wide:after {
    content: "";
    display: table
}

.content-wide,.content-wide:before,.content-wide:after {
    clear: both
}

@media only screen and (min-width: 768px) {
    .content-wide {
        padding:20px 30px
    }
}

@media only screen and (min-width: 1024px) {
    .content-wide {
        padding:20px 40px
    }
}

@media only screen and (min-width: 1150px) {
    .content-wide {
        padding:25px 50px
    }
}

@media only screen and (min-width: 1150px) {
    .content-wide {
        padding-top:40px;
        padding-bottom: 60px
    }
}

.content-wide .quarter,.content-wide .three-quarter {
    padding: 0
}

@media only screen and (min-width: 768px) {
    .content-wide .quarter {
        width:23%;
        margin: 0 2% 0 0
    }

    .content-wide .three-quarter {
        width: 75%;
        margin: 0
    }
}

@media only screen and (min-width: 768px) {
    .quarter.sidebar {
        padding-top:20px;
        margin-right: 3%;
        width: 21%
    }
}

.quarter.sidebar .widget-title {
    font-size: 1em;
    line-height: 1em;
    padding: 3px;
    border-bottom: 3px solid #ddd
}

.quarter.sidebar .widget_nav_menu {
    padding-bottom: 25px
}

.quarter.sidebar .widget_nav_menu ul {
    list-style: none;
    padding: 0
}

.quarter.sidebar .widget_nav_menu ul li {
    padding: 0
}

.quarter.sidebar .widget_nav_menu ul li a {
    display: block;
    padding: 4px;
    border-bottom: 3px solid #eee;
    color: #666;
    transition: color 400ms ease-in-out
}

.quarter.sidebar .widget_nav_menu ul li a:hover {
    text-decoration: none;
    color: #674ea7
}

footer {
    zoom:1;padding: 20px;
    background: #444;
    color: white;
    line-height: 1.5em
}

footer:before,footer:after {
    content: "";
    display: table
}

footer,footer:before,footer:after {
    clear: both
}

@media only screen and (min-width: 768px) {
    footer {
        padding:20px 30px
    }
}

@media only screen and (min-width: 1024px) {
    footer {
        padding:20px 40px
    }
}

@media only screen and (min-width: 1150px) {
    footer {
        padding:25px 50px
    }
}

footer a {
    color: #999
}

footer .copyright {
    color: #666
}

.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;
    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: zoom-out
}

.mfp-zoom {
    cursor: pointer;
    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;
    -ms-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;
    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: transparent
}

.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
}

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

.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) {
    .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;
        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 {
        transform:scale(0.75)
    }

    .mfp-arrow-left {
        transform-origin: 0
    }

    .mfp-arrow-right {
        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
}
