@font-face {
    font-family: 'JosefinSansL';
    src: url('../../fonts/JosefinSans-Light.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'JosefinSansR';
    src: url('../../fonts/JosefinSans-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'JosefinSansB';
    src: url('../../fonts/JosefinSans-SemiBold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'GloriaHallelujaL';
    src: url('../../fonts/GloriaHallelujah-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'GloriaHallelujaR';
    src: url('../../fonts/GloriaHallelujah-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'GloriaHallelujaB';
    src: url('../../fonts/GloriaHallelujah-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'BalsamiqSansR';
    src: url('../../fonts/BalsamiqSans-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'BalsamiqSansB';
    src: url('../../fonts/BalsamiqSans-Bold.ttf') format('truetype');
    font-display: swap;
}

/*@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400&display=swap');*/

html {
    overflow: hidden;
    width: 100%;
}

*{
    font-family: 'GloriaHallelujaL', sans-serif;
    font-weight: 200;
}

body{
    position: fixed;
    margin:0;
    padding:0;
    height: 100%;
    width:100%;
    overflow-y: scroll;
    overflow-x: hidden;
    color: #D0021B;
    background: #000;
}

.container {
    position: absolute;
    width: 100%;
    heigh: 100%;
    text-align: center;
    top: 40%;
    left: 0;
    margin: 0 auto;
}
.container p {
    font-size: 20px;
}
.container a {
    display: inline-block;
    position: relative;
    text-align: center;
    color: #D0021B;
    text-decoration: none;
    font-size: 20px;
    overflow: hidden;
    top: 5px;
}
.container a:after {
    content: "";
    position: absolute;
    background: #D0021B;
    height: 2px;
    width: 0%;
    transform: translateX(-50%);
    left: 50%;
    bottom: 0;
    transition: 0.35s ease;
}
.container a:hover:after, .container a:focus:after, .container a:active:after {
    width: 100%;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'GloriaHallelujaB', sans-serif !important;
    position: relative;
    font-weight: 400;
}

h1{
    margin-top: 0.50em;
    margin-bottom: 0.67em;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
}
header > h1 {
    text-align: center;
}
header > .button_container {
    position: absolute;
}

.button_container {
    left: 5%;
    height: 27px;
    width: 35px;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.25s ease;
}
/*.button_container:hover {*/
/*opacity: 0.7;*/
/*}*/
.button_container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: #D0021B;
}
.button_container.active .middle {
    opacity: 0;
    background: #D0021B;
}
.button_container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: #D0021B;
}
.button_container span {
    background: #D0021B;
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.35s ease;
    cursor: pointer;
}
.button_container span:nth-of-type(2) {
    top: 11px;
}
.button_container span:nth-of-type(3) {
    top: 22px;
}

.overlay {
    position: fixed;
    background: #000;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s, height 0.35s;
    /*overflow-x: hidden;*/
    /*overflow-y: auto;*/
    z-index: 1;
}
.overlay.open {
    opacity: 0.97;
    visibility: visible;
    height: 100%;
}
.overlay.open li {
    animation: fadeInRight 0.5s ease forwards;
    animation-delay: 0.35s;
}
.overlay.open li:nth-of-type(2) {
    animation-delay: 0.4s;
}
.overlay.open li:nth-of-type(3) {
    animation-delay: 0.45s;
}
.overlay.open li:nth-of-type(4) {
    animation-delay: 0.5s;
}
.overlay nav {
    position: relative;
    height: 88%;
    /*top: 18%;*/
    font-size: 28px;
    /*text-align: center;*/
    left: 5%;
    /*margin-left: 5%;*/
    /*margin-top: 10%;*/
}
.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    box-sizing: content-box;
    /*padding-right: 17px;*/
    width: 100%;
}

::-webkit-scrollbar {
    width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(193, 193, 193,0.8);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(193, 193, 193,0.4);
}

.overlay ul li {
    display: block;
    height: auto;
    min-height: 60px;
    position: relative;
    opacity: 0;
    /*width: max-content;*/
}
.overlay ul li a {
    position: relative;
    color: #D0021B;
    text-decoration: none;
    overflow: hidden;
    font-family: 'GloriaHallelujaR', sans-serif;
    font-weight: 300;
}
.overlay ul li{
    color: #D0021B;
    text-decoration: none;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
    width: 100%;
}
.overlay ul li a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 1px;
    background: #D0021B;
    transition: 0.35s;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

.nav-item.icons {
    display: inline-flex;
    margin-bottom: 70px;
    margin-top: -10px;
}

.dispLine{
    padding-top: 15px;
    padding-right: 20px;
}

.dispLine img{
    width: 48px;
}

.overlay ul li .dispLine:after {
    background: transparent !important;
}

hr{
    width: 40%;
    float: left;
    color: #D0021B;
    border: 0.5px solid #D0021B;
    margin-top: 0;
    margin-bottom: 10px;
}

/*@media only screen*/
/*and (min-device-width: 320px)*/
/*and (max-device-width: 480px) {*/
/*.overlay-menu {*/
/*font-size: 80px !important;*/
/*}*/
/*.overlay ul li{*/
/*min-height: 100px;*/
/*}*/
/*}*/


.ug-gallery-wrapper.ug-lightbox{
    background: transparent !important;
}

.ug-lightbox .ug-lightbox-overlay{
    background: rgba(0,0,0,0.97) !important;
}

.ug-lightbox .ug-lightbox-top-panel-overlay{
    background-color: #000 !important;
}

.ug-lightbox .ug-lightbox-numbers{
    color: #D0021B !important;
}

.ug-lightbox .ug-textpanel-title, .ug-lightbox .ug-textpanel-description{
    color: #D0021B !important;
    text-align: center !important;
}

.ug-thumb-overlay{
    left: 0px;
}

.header-img {
    width: 64px;
    margin-right: 10px;
    margin-top: 0px;
}

.social-icons{
    right: 4%;
    position: absolute;
}

.social-icons ul li.nav-item.icons{
    margin-bottom: 0px;
}

.social-icons ul li.nav-item.icons .dispLine img{
    width: 24px;
}

@media (min-width: 280px) and (max-width: 340px) {
hr{
width: 70%;
}
h1{
font-size: 20px;
font-family: GloriaHallelujaB !important;
font-weight: 600 !important;
}
body{
font-family: GloriaHallelujaL !important;
font-weight: 300 !important;
}
.overlay ul li a {
font-family: GloriaHallelujaR !important;
font-weight: 400 !important;
}

.header-img{
width: 32px;
margin-left: 35px;
margin-top:5px;
}
}

@media (min-width: 341px) and (max-width: 400px) {
hr{
width: 70%;
}
h1{
font-size: 2em;
font-family: GloriaHallelujaB !important;
font-weight: 600 !important;
}
body{
font-family: GloriaHallelujaL !important;
font-weight: 300 !important;
}
.overlay ul li a {
font-family: GloriaHallelujaR !important;
font-weight: 400 !important;
}

.header-img{
width: 40px;
margin-left: 35px;
margin-top:5px;
}
}

@media (min-width: 401px) and (max-width: 480px) {
    hr{
        width: 70%;
    }
    h1{
        font-size: 30px;
        font-family: GloriaHallelujaB !important;
        font-weight: 600 !important;
    }
    body{
        font-family: GloriaHallelujaL !important;
        font-weight: 300 !important;
    }
    .overlay ul li a {
        font-family: GloriaHallelujaR !important;
        font-weight: 400 !important;
    }

    .header-img{
        width: 56px;
        margin-left: 40px;
    }
}

a, a:hover, a:visited, a:active, a:focus {
    color: #D0021B;
}

footer {
    text-align: center;
    margin-bottom: 20px;
    margin-left: 5%;
    max-width: 100%;
    margin-right: 5%;
}

@media (min-width: 320px) and (max-device-width: 480px) and (orientation: landscape) {

    .overlay nav {
        top: 20%;
    }
    h1{
        margin-left: 5px;
    }
}

.foot-hr{
    margin: 2% 5%;
    max-width: 100%;
    position: relative;
    height: 5px;
}

.foot-hr hr{
    width: 100%;
    margin-top: 8px;
}

@media (min-width: 240px) and (max-width: 767px) {
    .social-icons{
        display: none;
    }
}

h1 a{
    text-decoration: none !important;
}