@font-face {
font-family: 'droid_serif';
src: url('../fonts/droidserif-regular.woff2') format('woff2'),
url('../fonts/droidserif-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'droid_serif';
src: url('../fonts/droidserif-italic.woff2') format('woff2'),
url('../fonts/droidserif-italic.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'droid_serif';
src: url('../fonts/droidserif-bold.woff2') format('woff2'),
url('../fonts/droidserif-bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
src: url('../fonts/droidserif-bolditalic.woff2') format('woff2'),
url('../fonts/droidserif-bolditalic.woff') format('woff');
font-weight: bold;
font-style: italic;
}

@font-face {
font-family: 'open_sans';
src: url('../fonts/opensans-light.woff2') format('woff2'),
 url('../fonts/opensans-light.woff') format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'open_sans';
src: url('../fonts/opensans-regular.woff2') format('woff2'),
url('../fonts/opensans-regular.woff') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'open_sans';
src: url('../fonts/opensans-semibold.woff2') format('woff2'),
url('../fonts/opensans-semibold.woff') format('woff');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'open_sans';
src: url('../fonts/opensans-bold.woff2') format('woff2'),
 url('../fonts/opensans-bold.woff') format('woff');
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: 'icomoon';
src: url('../fonts/icomoon.woff?p3i987') format('woff');
font-weight: normal;
font-style: normal;
}

[class*="icon"],
a:before,
a:after {
font-family: 'icomoon' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
}




html {
box-sizing: border-box;
font-size: 18px;
}

*, *:before, *:after {
box-sizing: inherit;
}

body {
margin: 0;
padding: 0;
font-family: 'open_sans', serif;
font-weight: 400;
line-height: normal;
color: #000;
background-color: #dadada;
hyphens: manual;
-ms-hyphens: manual;
-webkit-hyphens: manual;
}


#wrap {
padding: 0 40px 0 0;
}
.album #wrap {
padding: 0;
}
.site-width {
width: 100%;
max-width: 1600px;
}

main {
display: flex;
flex-flow: row nowrap;
}

nav {
flex: 1 1 25%;
background-color: #999;
}

article {
flex: 1 1 55%;
font-family: 'droid_serif', sans-serif;
font-size: 1.056rem;
line-height: 1.6;
padding: 185px 80px 70px 80px;
background-color: #fff;
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.4);
z-index: 10;
}
.album article {
flex: 1 1 75%;
}
aside {
flex: 1 1 20%;
padding-top: 194px;
}


#site-title {
height: 194px;
padding: 40px 18px 0 40px;
font-weight: 300;
font-size: 56px;
line-height: 64px;
color: #fff;
text-transform: uppercase;
text-align: right;
}
#site-title span {
display: block;
}
#site-title a {
color: #fff;
}
#site-title a:hover {
color: #000;
}
#title-image {
width: 100%;
}
#title-image-smallscreen {
display: none;
}


/*** navmain ***/

a#navmaintrigger {
display: none;
padding: 0 20px;
text-transform: uppercase;
font-size: 16px;
font-weight: 700;
line-height: 50px;
color: #000;
background-color: #FFDC51;
}
a#navmaintrigger:before {
content: '\e20e';
display: block;
float: left;
font-size: 28px;
line-height: 50px;
margin-right: 10px;
}


a#navmaintrigger:hover {
color: #fff;
background-color: #000;
}

a#navmaintrigger.close:before,
a#navmaintrigger.close:focus {
content: '\e90c';
}

#navmain {
position: relative;
margin-left: 40px;
padding-top: 30px;
font-weight: 600;
text-align: right;
line-height: 1.5;
color: #fff;
}


#navmain-content a {
display: block;
color: #fff;
}
.nav-author, 
.nav-subtitle {
display: block;
font-weight: 300;
}
.nav-title {
display: block;
margin: 5px 0;
}

#navmain-content a:hover {
color: #000;
}
#navmain-content a:hover .nav-author,
#navmain-content a:hover .nav-subtitle {
color: #fff;
}
#navmain-content p {
margin: 0 0 17px;
padding: 0 20px 17px 0;
border-bottom: 1px dotted #f0f0f0;
}
#navmain-content p:last-of-type {
border-bottom: none;
}
#navmain-content p.current a,
#navmain-content p.current a .nav-title {
color: #000;
}
#navmain-content p.current a .nav-author,
#navmain-content p.current a .nav-subtitle {
color: #fff;
}

/*** end navmain ***/













a {
text-decoration: none;
outline: none;
}
img {
display: block;
border: none;
}
.squeeze {
width: 100%;
}

h1, h2, h3, h4, h5 {
font-family: 'open_sans';
margin: 2em 0 1em;
line-height: 1.2;
}
h1 {
font-size: 2rem;
font-weight: 400;
margin: 0;
}
h2 {
font-size: 1.444rem;
font-weight: 600;
}
h3 {
font-size: 1.222rem;
font-weight: 600;
}
h2 span {
font-size: 1.222rem;
}
h3 span {
font-size: 1.111rem;
}

.zerotop {
margin-top: 0;
}
.bottomspace {
margin-bottom: 40px;
}
.centered {
margin-left: auto;
bargin-right: audo;
}
p {
margin: 1em 0;
}

.author {
font: 300 1.333rem "open_sans",sans-serif;
margin: 0 0 20px;
}

.subtitle {
font: 300 1.333rem "open_sans",sans-serif;
margin: 10px 0 40px 0;
}


.quote {
width: 75%;
}

.footnotes {
display: none;
}

.aster {
margin-top: 60px;
}








/*** home ***/

body.home {
background-color: #999;
}
.home #wrap {
padding: 0;
}
.home .site-width {
width: 100%;
max-width: 1600px;
margin: 0 auto; 
}
.home header {
padding: 50px;
margin: 0;
font-weight: 300;
color: #fff;
text-align: center;
}
.home header a {
color: #fff;
}
.home header a:hover {
color: #000;
}

.home header h1 {
margin: 0;
font-size: 68px;
line-height: 76px;
font-weight: 300;
text-transform: uppercase;
}
.home h1 span {
display: inline;
}
.home header p {
margin: 20px 0 0;
font-size: 22px;
}

#homenav {
margin: 50px 50px 80px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-auto-rows: 1fr;
gap: 1px;
}

#homenav a {
display: block;
min-height: 100%;
padding: 20px;
font-weight: 600;
color: #fff;
background-color: #777;
}
#homenav a:hover,
#homenav a:focus {
background-color: #000;
}

/*** end home ***/


.pagecount {
display: block;
font-weight: 700;
font-size: 0.889rem;
margin: 10px 0 25px;
}
#album {
margin-top: 50px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 2px;
}
.thumbset {
position: relative;
border: 1px solid #dadada;
}
.thumbset::before {
content: "";
padding-top: 100%;
display: block;
}
.thumbset a {
display: block;
width: 100%;
height: 100%;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.thumbset img {
width: 100%;
height: 100%;
object-fit: contain;
border: 20px solid transparent;
}



.thumbset-aside {
margin-bottom: 10px;
background-color: #fff;
}
.thumbset-aside a {
display: block;
padding: 40px;
}
.thumbset-aside img {
width: 100%;
}



#jumpmenu {
padding: 40px 0;
font-size: 16px;
background-color: #fff;
margin-bottom: 10px;
}
#jumpmenu h3 {
font-size: 1.111rem;
font-weight: 300;
margin: 0 0 1.5em 0;
padding: 0 20px 0 30px;
}
#jumpmenu p {
margin: 10px 0 0;
padding: 0 20px 10px 30px;
border-bottom: 1px dotted #ccc;
}
#jumpmenu p:last-child {
padding: 0 20px 0 30px;
border-bottom: none;
}
#jumpmenu a {
display: inline;
width: auto;
padding: 0;
margin: 0;
color: #BB7204;
background-color: transparent;
}
#jumpmenu a:hover,
#jumpmenu a:focus {
color: #000;
}

#jumpmenu.mobile {
display: none;
padding: 0;
font-family: 'open_sans';
font-size: 1rem;
margin: 40px 0;
}
#jumpmenu.mobile a {
display: block;
padding: 15px;
background-color: #f4f4f4;
border-top: 1px solid #fff;
}
#jumpmenu.mobile a#jumpmenu-trigger {
padding: 0 15px;
color: #000;
text-transform: uppercase;
font-size: 15px;
font-weight: 700;
line-height: 50px;
background-color: #eee;
border: none;
}
#jumpmenu.mobile a#jumpmenu-trigger:hover {
color: #fff;
background-color: #000;
}

a#jumpmenu-trigger:before {
display: block;
float: left;
content: '\e20e';
font-size: 28px;
line-height: 50px;
margin-right: 10px;
}

a#jumpmenu-trigger.close:before,
a#jumpmenu-trigger.close:focus {
content: '\e90c';
}


.rule {
position: relative;
margin: 1.5em 0 1em;
text-align: center;
}
.rule:before {
content: '* * *';
}
.target {
position: relative;
}
.rule a,
.target a {
position: absolute;
top: -70px;
}

.paletitle {
font-weight: 400;
color: #999;
}
.light {
font-weight: 300;
}

.page_intro {
max-width: 600px;
}


.popup-bg {
position: fixed;
width: 480px;
top: 40px;
left: 50%;
margin: 0 auto 0 -240px;
padding: 50px 40px 40px;
background-color: #fff;
box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}
.popup-bg b {
font-weight: 600;
}
.popup-bg a {
color: #BB7204;
}
.popup-bg a:hover {
color: #000;
}

.inner {
display: inline-block;
padding: 40px;
background-color: #fff;
box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);

}



/*** pagenav ***/
.pagenav {
position: fixed;
width: 40px;
top: 50%;
margin-top: -40px;
text-align: center;
z-index: 100;
}
.pagenav a {
display: block;
height: 80px;
font-size: 30px;
line-height: 80px;
color: #999;
background-color: #FFDC51;
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.4);
}
.pagenav a:hover,
.pagenav a:focus {
color: #fff;
background-color: #000;
}
.prev {
left: 0;
}
.prev a {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.next {
right: 0;
}
.next a {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
/*** end pagenav ***/




/**** tooltip ****/
a.hastip {
display: inline-block;
width: 24px;
text-align: center;
vertical-align: middle;
margin: 0 0 0 3px;
font: 700 11px/24px 'open_sans', sans-serif;
color: #000;
background-color: #dadada;
border-radius: 12px;
}
a.hastip:hover,
a.hastip:focus {
background-color: #FFDC51;
}
/**** end tooltip ****/




/** to top **/
.fixed {
display: none;
height: 40px;
position: fixed;
bottom: 0;
right: 0;
z-index: 100;
}

.fixed a {
display: block;
width: 80px;
height: 40px;
line-height: 40px;
font-size: 28px;
color: #fff;
text-align: center;
background-color: #000;
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.4);
border-top-left-radius: 3px;
}
.fixed a:hover {
color: #999;
background-color: #FFDC51;
}
/** end to top **/



@media screen and (max-width: 1400px){

article {
padding: 185px 60px 70px;
}

}

@media screen and (max-width: 1280px){

#wrap {
padding: 0 20px 0 0;
}
article {
padding: 185px 40px 70px;
}
aside a {
padding: 30px 0;
}

}









@media screen and (max-width: 1279px){

#wrap {
padding: 0;
}
#site-title {
height: 174px;
padding: 30px 18px 0 0;
font-size: 50px;
line-height: 60px;
}
main {
display: flex;
flex-flow: row wrap;
}

nav {
flex: 1 1 30%;
}
article, .album article {
flex: 1 1 70%;
padding: 165px 60px 70px;
box-shadow: 0 -10px 20px 0 rgba(0, 0, 0, 0.4);
}
aside {
flex: 1 0 auto;
}

aside {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 5px;
padding: 40px 40px 70px;
}
aside.empty {
display: none;
}
.thumbset-aside {
position: relative;
margin: 0;
}
.thumbset-aside::before {
content: "";
padding-top: 100%;
display: block;
}
.thumbset-aside a {
display: block;
width: 100%;
height: 100%;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
padding: 30px;
}
.thumbset-aside img {
width: 100%;
height: 100%;
object-fit: contain;
}


#jumpmenu {
display: none;
}
#jumpmenu.mobile {
display: block;
position: relative;
}
#jumpmenu-content {
display: none;
position: absolute;
width: 100%;
z-index: 20; 
box-shadow: 0 16px 16px rgba(0, 0, 0, 0.4);
}

.page_intro {
max-width: none;
}

}




@media screen and (max-width: 1023px){


main {
flex-flow: column nowrap;
}

.pagenav {
position: fixed;
width: 50%;
top: 0;
margin-top: 0;
text-align: left;
padding: 0 20px;
background-color: #000;
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.4);
}
.pagenav a {
height: 40px;
font-size: 30px;
line-height: 40px;
color: #999;
background-color: #000;
box-shadow: none;
}
.next {
text-align: right;
}

#site-title {
display: flex;
flex-flow: column nowrap;
justify-content: flex-end;
height: 50vw;
padding: 0 20px;
text-align: left;
font-size: 7vw;
line-height: 100%;
background: url(../images/layout/mladen5.jpg) no-repeat scroll right 40px;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

.home header {
padding: 70px 0 30px;
}
.home header h1 {
font-size: 60px;
line-height: 68px;
}
.home header p {
font-size: 20px;
margin: 10px 0 0;
}

#site-title a {
display: block;
padding-bottom: 30px;
}
#site-title a:hover {
color: #FFDC51;
}
#site-title span {
display: inline;
}


#title-image {
display: none;
}




a#navmaintrigger {
display: block;
}
#navmain {
max-width: none;
padding: 0;
margin-left: 0;
text-align: left;
}

#navmain-content {
display: none;
padding: 30px 20px 13px;
position: absolute;
width: 100%;
z-index: 30; 
background-color: #999;
box-shadow: 0 16px 16px rgba(0, 0, 0, 0.4);
}


.article #navmain a .nav-author,
.article #navmain a .nav-title,
.article #navmain a .nav-subtitle {
display: inline;
}
.article #navmain a .nav-author,
.article #navmain a .nav-subtitle {
font-weight: 400;
}
.article .nav-author:after {
content: ':';
}
.article .nav-title:after {
content: '.';
}
.article #navmain a .nav-author,
.article #navmain a .nav-title {
padding-right: .25em;
}
.article #navmain a:hover .nav-author,
.article #navmain a:hover .nav-subtitle {
color: #000;
}
.article #navmain p.current a,
#navmain p.current a .nav-author,
#navmain p.current a .nav-subtitle {
color: #000;
}


article, .album article {
padding: 50px 20px 70px;
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.4);
}
article {
padding: 50px 60px 70px;
}

}



@media screen and (max-width: 700px){

#homenav {
grid-auto-rows: auto;
}
.nav-author,
.nav-title,
.nav-subtitle {
display: inline;
}
.nav-subtitle {
font-weight: 400;
}
.nav-author:after {
content: ':';
}
.nav-title:after {
content: '.';
}
.nav-author,
.nav-title {
padding-right: .25em;
}

}





@media screen and (max-width: 680px){

html {
font-size: 16px;
}
.home header {
padding: 70px 20px 30px;
}
.home header h1 {
font-size: 50px;
line-height: 58px;
}

#site-title {
font-size: 10vw;
padding-left: 20px;
}
article {
padding: 50px 40px 70px;
/*font-size: 17px;*/
}

h2, h3, h4, h5 {
margin: 1.5em 0 1em;
}
/*h1 {
font-size: 28px;
}
h2 {
font-size: 24px;
}
h3, .author, .subtitle {
font-size: 22px;
}*/

}




@media screen and (max-width: 480px){

#homenav {
margin: 0;
}
article {
padding: 40px 20px 60px;
}
aside {
padding-left: 20px;
padding-right: 20px;
}
.popup-bg {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
margin: 0;
padding: 50px 20px 40px;
background-color: #fff;
box-shadow: 0 0 0 transparent;
overflow: scroll;
}

}




@media screen and (max-width: 479px){


ul {
padding-left: 1.25em;
}

.home header h1 {
font-size: 40px;
line-height: 48px;
}
/*.home header p {
font-size: 18px;
}*/

}






@media screen and (max-width: 460px){

#site-title {
height: 74vw;
font-size: 12.5vw;
}
#site-title a {
padding-bottom: 20px;
}

.subtitle {
margin: 10px 0 25px;
}
.quote {
width: auto;
margin-bottom: 25px;
}

}


/*** Tooltipster ***/

.tooltipster-default {
color: #fff;
background-color: #000000;
box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.4);
}
.tooltipster-default .tooltipster-content {
max-width: 550px;
font-family: 'droid_serif', serif;
font-size: 15px;
line-height: 150%;
padding: 15px 25px;
overflow: hidden;
}
.tooltipster-default p, 
.tooltipster-default ul {
margin: 10px 0;
}
.tooltipster-base {
padding: 0;
font-size: 0;
line-height: 0;
position: absolute;
left: 0;
top: 0;
z-index: 15;
pointer-events: none;
width: auto;
overflow: visible;
}
.tooltipster-base .tooltipster-content {
overflow: hidden;
}
.tooltipster-content a {
color: #079753;
}
.tooltipster-content a:hover {
color: #e24882;
}
.tooltipster-arrow {
display: block;
text-align: center;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.tooltipster-arrow span, .tooltipster-arrow-border {
display: block;
width: 0; 
height: 0;
position: absolute;
}
.tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span {
border-left: 8px solid transparent !important;
border-right: 8px solid transparent !important;
border-top: 8px solid;
bottom: -7px;
}
.tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border {
border-left: 9px solid transparent !important;
border-right: 9px solid transparent !important;
border-top: 9px solid;
bottom: -7px;
}

.tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span {
border-left: 8px solid transparent !important;
border-right: 8px solid transparent !important;
border-bottom: 8px solid;
top: -7px;
}
.tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
border-left: 9px solid transparent !important;
border-right: 9px solid transparent !important;
border-bottom: 9px solid;
top: -7px;
}
.tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border {
left: 0;
right: 0;
margin: 0 auto;
}
.tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span {
left: 6px;
}
.tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
left: 5px;
}
.tooltipster-arrow-top-right span,.tooltipster-arrow-bottom-right span {
right: 6px;
}
.tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border {
right: 5px;
}
.tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border {
border-top: 8px solid transparent !important;
border-bottom: 8px solid transparent !important; 
border-left: 8px solid;
top: 50%;
margin-top: -7px;
right: -7px;
}
.tooltipster-arrow-left .tooltipster-arrow-border {
border-top: 9px solid transparent !important;
border-bottom: 9px solid transparent !important; 
border-left: 9px solid;
margin-top: -8px;
}
.tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border {
border-top: 8px solid transparent !important;
border-bottom: 8px solid transparent !important; 
border-right: 8px solid;
top: 50%;
margin-top: -7px;
left: -7px;
}
.tooltipster-arrow-right .tooltipster-arrow-border {
border-top: 9px solid transparent !important;
border-bottom: 9px solid transparent !important; 
border-right: 9px solid;
margin-top: -8px;
}
.tooltipster-fade {
opacity: 0;
-webkit-transition-property: opacity;
-moz-transition-property: opacity;
-o-transition-property: opacity;
-ms-transition-property: opacity;
transition-property: opacity;
}
.tooltipster-fade-show {
opacity: 1;
}
.tooltipster-content-changing {
opacity: 0.5;
-webkit-transform: scale(1.1, 1.1);
-moz-transform: scale(1.1, 1.1);
-o-transform: scale(1.1, 1.1);
-ms-transform: scale(1.1, 1.1);
transform: scale(1.1, 1.1);
}


/* Magnific Popup CSS */

.mfp-bg {
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1042;
overflow: hidden;
position: fixed;
background: #000;
opacity: 0.75;
}

.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 {
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;
color: #999;
background-color: transparent;
border: 0;
-webkit-appearance: none;
display: block;
outline: none;
padding: 0;
z-index: 1046;
box-shadow: none;
touch-action: manipulation;
}
button.mfp-close {
background-color: #FFDC51;
}
.mfp-ajax-holder button.mfp-close:hover,
.mfp-ajax-holder button.mfp-close:focus {
color: #fff;
background-color: #000;
}
button::-moz-focus-inner {
padding: 0;
border: 0;
}
.mfp-close {
width: 40px;
height: 40px;
line-height: 40px;
position: absolute;
right: 0;
top: 0;
text-decoration: none;
text-align: center;
color: #FFF;
font-style: normal;
font-size: 28px;
font-family: 'open_sans', Arial, Baskerville, monospace; 
font-weight: 600;
}
.mfp-close-btn-in .mfp-close {
color: #999;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
color: #FFF;
right: -6px;
text-align: right;
padding-right: 6px;
width: 100%; 
background: transparent;
}
.mfp-counter {
display: none;
color: #fff;
font-size: 12px;
line-height: 18px;
text-align: center;
white-space: nowrap;
}
.mfp-arrow {
position: absolute;
opacity: 0.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;
}
.mfp-arrow:before,
.mfp-arrow:after {
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 {
border-top-width: 13px;
border-bottom-width: 13px;
top: 8px;
}
.mfp-arrow:before {
border-top-width: 21px;
border-bottom-width: 21px;
opacity: 0.7;
}
.mfp-arrow-left {
left: 0;
}
.mfp-arrow-left:after {
border-right: 17px solid #FFF;
margin-left: 31px;
}
.mfp-arrow-left:before {
margin-left: 25px;
border-right: 27px solid #3F3F3F;
}
.mfp-arrow-right {
right: 0;
}
.mfp-arrow-right:after {
border-left: 17px solid #FFF;
margin-left: 39px;
}
.mfp-arrow-right:before {
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 10px 20px 0 rgba(0, 0, 0, 0.3);
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 10px 20px 0 rgba(0, 0, 0, 0.3);
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: center;
font-size: 0.833rem;
line-height: normal;
color: #F3F3F3;
word-wrap: break-word;
padding: 15px;
}
.mfp-image-holder .mfp-content {
max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
cursor: pointer;
}
.mfp-zoom-in {
.mfp-with-anim {
opacity: 0;
transition: all 0.6s ease-in-out; 
transform: scale(0.8); 
}
&.mfp-bg {
opacity: 0;
transition: all 0.4s ease-out;
}

/* animate in */
&.mfp-ready {
.mfp-with-anim {
opacity: 1;
transform: scale(1); 
}
&.mfp-bg {
opacity: 0.8;
}
}
&.mfp-removing {
.mfp-with-anim {
transform: scale(0.8); 
opacity: 0;
}
&.mfp-bg {
opacity: 0;
}
}
}
.mfp-zoom-in.mfp-bg {
opacity: 0;
-webkit-transition: opacity 0.4s ease-out; 
-moz-transition: opacity 0.4s ease-out; 
-o-transition: opacity 0.4s ease-out; 
transition: opacity 0.4s ease-out;
}
.mfp-zoom-in.mfp-ready.mfp-bg {
opacity: 0.75;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
opacity: 0;
}
@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 {
-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;
}
}