@font-face {
    font-family: iransans;
    src: url("/gallery/javax.faces.resource/iransans/IRANSansWeb_Light.woff.xhtml?ln=font") format("woff");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: iransans;
    src: url("/gallery/javax.faces.resource/iransans/IRANSansWeb.woff.xhtml?ln=font") format("woff");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: iransans;
    src: url("/gallery/javax.faces.resource/iransans/IRANSansWeb_Medium.woff.xhtml?ln=font") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

*:focus {
    box-shadow: none !important;
    outline: none !important;
}

body .ui-widget:not(.pi), body .ui-widget .ui-widget:not(.pi) {
    font-family: iransans, Tahoma, sans-serif !important;
}

body {
    direction: rtl;
    margin: 0;
    font-family: iransans, Tahoma, sans-serif !important;
    font-size: 18px;
}

.page-wrapper {
    display: block;
    width: 100%;
}

@media (min-width: 700px) {
    .page-wrapper {
        display: flex;
    }
}

aside {
    background-image: url("/gallery/javax.faces.resource/img/5.png.xhtml");
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0 40px;
}

@media (min-width: 700px) {
    aside {
        background-image: url("/gallery/javax.faces.resource/img/5.png.xhtml");
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        width: 50%;
        flex: 0 0 50%;
        padding: 0;
    }
}

h1,
.flourish {
    font-size: 6vw;
    text-align: center;
}

@media (min-width: 700px) {
    h1,
    .flourish {
        font-size: 4.5vw;
        margin: 10px 0;
        padding: 0 20px;
    }
}

h1 {
    text-transform: uppercase;
}

.flourish {
    font-weight: bold;
}

.bio {
    margin: 40px 20px 0;
    text-align: justify;
    line-height: 1.5;
}

@media (min-width: 1100px) {
    .bio {
        margin: 0 29px;
        text-align: justify;
        line-height: 1.7;
        font-size: 1.2em;
    }
}

article {
    margin: 0;
}

@media (min-width: 700px) {
    article {
        flex: 0 0 50%;
        margin-left: 50%;
        padding-top: 30px;
    }
}

.author,
.photographer {
    text-transform: uppercase;
    font-size: 0.7em;
    letter-spacing: 1px;
    color: #777;
    padding: 0 20px;
    margin: 0;
}

.author span,
.photographer span {
    color: rgba(0, 0, 0, 0.4);
    text-transform: capitalize;
}

@media (min-width: 700px) {
    .author,
    .photographer {
        padding: 0 60px;
    }
}

.image img {
    width: 100%;
    margin: 20px 0;
}

.text {
    columns: 2;
    column-width: 250px;
    column-gap: 2em;
    padding: 0 20px;
    text-align: justify;
}

.text p:first-child {
    margin-top: 0;
}

@media (min-width: 1100px) {
    .text {
        padding: 0 60px;
    }
}

footer {
    height: 40px;
}

.button {
    margin-top: 30px;
    font-weight: 800;
    background: #fff;
    color: #84c134;
    border: 1px solid white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 0.7em;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;

}

.button2 {
    margin-top: 30px;
    font-weight: 800;
    background: #fff;
    color: blue;
    border: 1px solid white;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 0.7em;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;

}

.blockItems {
    margin: 15px 25px;
    font-weight: 800;
    border: 1px solid blue;
    background: #fff;
    color: blue;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 0.7em;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;

}

.m0-auto {
    margin: 0 auto !important;
}

.button:hover {
    text-decoration: none;
    background-color: inherit;
    border-color: #84c134;
    cursor: pointer;
    color: #fff;
}

.button:hover, .button:focus, .button2:hover, .button2:focus, .blockItems:hover, .blockItems:focus {
    text-decoration: none;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

.ui-helper-hidden {
    max-width: 800px;
}

.ui-lightbox-nav-right, .ui-lightbox-nav-left {
    color: #000 !important;
}

.ui-lightbox-caption-text {
    float: right !important;
}

.ui-lightbox-close {
    float: left !important;
}