/*  
    halkaBox.js , url: https://github.com/ahmednooor/halkaBox.js
    Version: 1.0.0
    Author: Ahmed Noor , url: https://github.com/ahmednooor
    License: MIT , url: https://opensource.org/licenses/MIT
*/

.hb-noscroll {
    overflow: hidden;
}

.hb-wrapper {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9990;
    opacity: 0;
    overflow: hidden;
    -webkit-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
    box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.hb-wrapper:before,
.hb-wrapper:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hb-wrapper *,
.hb-wrapper *:before,
.hb-wrapper *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, sans-serif;
}

.hb-wrapper .hb-main-container {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #fff;
    background-color: rgba(33, 35, 41, 0.9);
    z-index: 9991;
}

.hb-wrapper .hb-main-container button {
    background-color: transparent;
    border: none;
    outline: 0;
    box-shadow: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 0;
    opacity: 0.7;
    z-index: 9995;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}


.hb-wrapper .hb-main-container button:focus {
    background-color: transparent;
    border: none;
    outline: 0;
    box-shadow: 0;
}

.hb-wrapper .hb-main-container button:hover {
    cursor: pointer;
    opacity: 1;
}

.hb-wrapper .hb-main-container button svg {
    max-width: 100%;
    max-height: 100%;
    fill: #eac7c799;
}

.hb-wrapper .hb-image-container {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    z-index: 9993;
}

.hb-wrapper .hb-image-container div.hb-image-div {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    top: 50%;
    left: 50%;
    opacity: 1;
    padding: 0;
    padding: 30px;
    overflow: hidden;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    z-index: 9994;
}

.hb-wrapper .hb-image-container div.hb-image-div div.hb-loader {
    display: block;
    width: 35px;
    height: 35px;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 1000px;
    border-top: 5px solid #444;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: spinner 600ms linear infinite;
    animation: spinner 600ms linear infinite;
    z-index: 9998;
}

.hb-wrapper .hb-image-container div.hb-image-div img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    position: relative;
    top: 50%;
    opacity: 1;
    margin: 0 auto;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
    border: solid 1px #bcb9b9;
    border-radius: 8px;
    padding: 5px;
}

.hb-wrapper .hb-image-container div.hb-image-div p {
    display: block;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hb-wrapper .hb-image-container div.hb-image-div p.hb-caption {
    padding: 4px 12px 6px 12px;
    position: absolute;
    bottom: 0;
    left: -2px;
    right: -2px;
    margin: 0 auto;
    max-height: 100%;
    overflow: auto;
    top: auto;
    -webkit-transform: none;
            transform: none;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-user-select: auto;
       -moz-user-select: auto;
        -ms-user-select: auto;
            user-select: auto;
    z-index: 9995;
}

.hb-wrapper .hb-image-container div p.hb-caption span.hb-caption-text {
    display: block;
    margin: 0 auto;
}

.hb-wrapper .hb-image-container div p.hb-caption-white {
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
}

.hb-wrapper .hb-image-container div p.hb-caption-black {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
}

.hb-wrapper .hb-image-container div p.hb-err-text-white {
    color: white;
}

.hb-wrapper .hb-image-container div p.hb-err-text-black {
    color: black;
}

.hb-wrapper .hb-close-icon-container {
    width: 40px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 1;
    z-index: 9995;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.hb-wrapper .hb-left-icon-container {
    width: 65px;
    height: 65px;
    position: absolute;
    top: 50%;
    left: 40px;
    opacity: 1;
    z-index: 9995;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    border-radius: 5px;
    background-color: #ffffff1a;
}

.hb-wrapper .hb-right-icon-container {
    width: 65px;
    height: 65px;
    position: absolute;
    top: 50%;
    right: 40px;
    opacity: 1;
    z-index: 9995;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    border-radius: 5px;
    background-color: #ffffff1a;
}

.hb-wrapper .hb-close {
    padding: 8px;
    padding-left: 18px;
}

.hb-wrapper .hb-left,
.hb-wrapper .hb-right {
    padding: 8px;
}

.hb-wrapper .hb-main-container p.hb-counter {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    padding: 8px;
    height: 30px;
    z-index: 9995;
    font-family: Verdana, Geneva, sans-serif;
    font-weight: normal;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

@media only screen and (max-width: 960px) {
    .hb-wrapper .hb-image-container div.hb-image-div {
        padding: 0;
    }
    .hb-wrapper .hb-image-container div.hb-image-div img {
        position: absolute;
        top: 50%;
        left: 50%;
        opacity: 1;
        margin: 0 auto;
        -webkit-transition: opacity 0.3s ease-in-out;
        transition: opacity 0.3s ease-in-out;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    .hb-wrapper .hb-close-icon-container {
        width: 40px;
        height: 40px;
        right: 0;
        top: 0;
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
        background-color: #fff;
        background-color: rgba(255, 255, 255, 0.7);
    }
    .hb-wrapper .hb-left-icon-container,
    .hb-wrapper .hb-right-icon-container {
        width: 40px;
        height: 40px;
        top: 0;
        left: auto;
        bottom: auto;
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
        background-color: #fff;
        background-color: rgba(255, 255, 255, 0.7);
    }
    .hb-wrapper .hb-left-icon-container {
        right: 80px;
    }
    .hb-wrapper .hb-right-icon-container {
        right: 40px;
    }
    .hb-wrapper .hb-close {
        padding: 10px;
    }
    .hb-wrapper .hb-left {
        padding: 10px;
    }
    .hb-wrapper .hb-right {
        padding: 10px;
    }
    .hb-wrapper .hb-main-container p.hb-counter {
        height: 40px;
        background-color: #fff;
        background-color: rgba(255, 255, 255, 0.7);
    }
}


/* 
    --- Animations ---
*/

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0);
        transform: translate(-50%, -50%) rotate(0);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0);
        transform: translate(-50%, -50%) rotate(0);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hb-slidenextin {
    -webkit-animation: slideNextIn 0.3s ease-in-out forwards;
    animation: slideNextIn 0.3s ease-in-out forwards;
}

@-webkit-keyframes slideNextIn {
    0% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 50%;
        opacity: 1;
    }
}

@keyframes slideNextIn {
    0% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 50%;
        opacity: 1;
    }
}

.hb-slidenextout {
    -webkit-animation: slideNextOut 0.3s ease-in-out forwards;
    animation: slideNextOut 0.3s ease-in-out forwards;
}

@-webkit-keyframes slideNextOut {
    0% {
        left: 50%;
        opacity: 1;
    }
    100% {
        left: 0;
        opacity: 0;
    }
}

@keyframes slideNextOut {
    0% {
        left: 50%;
        opacity: 1;
    }
    100% {
        left: 0;
        opacity: 0;
    }
}

.hb-slidepreviousin {
    -webkit-animation: slidePreviousIn 0.3s ease-in-out forwards;
    animation: slidePreviousIn 0.3s ease-in-out forwards;
}

@-webkit-keyframes slidePreviousIn {
    0% {
        left: 0;
        opacity: 0;
    }
    100% {
        left: 50%;
        opacity: 1;
    }
}

@keyframes slidePreviousIn {
    0% {
        left: 0;
        opacity: 0;
    }
    100% {
        left: 50%;
        opacity: 1;
    }
}

.hb-slidepreviousout {
    -webkit-animation: slidePreviousOut 0.3s ease-in-out forwards;
    animation: slidePreviousOut 0.3s ease-in-out forwards;
}

@-webkit-keyframes slidePreviousOut {
    0% {
        left: 50%;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes slidePreviousOut {
    0% {
        left: 50%;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}


*, *:before, *:after {
            margin: 0;
            padding: 0;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }
        
        .wrapper {
            margin: 0 auto;
        }

        header h1 {
            text-align: center;
            margin-top: 30px;
        }
        
        header h1 a {
            color: black;
            text-decoration: none;
        }
        
        header h1 a:hover, header h1 a:focus {
            color: black;
            text-decoration: none;
        }
        
        header h1 code {
            font-size: 1.5rem;
            font-weight: normal;
        }
        
        header h1 code span {
            font-size: 1rem;
        }
        
        header .menu {
            text-align: center;
        }
        
        header .menu a {
            display: inline-block;
            padding: 10px;
            color: royalblue;
            text-decoration: none;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            border: 1px solid royalblue;
            line-height: 1;
            margin: 0 6px;
        }
        
        header .menu a:hover, header .menu a:focus {
            background-color: royalblue;
            color: white;
        }
        
        .gallery {
            margin: 0 auto;
            text-align: center;
        }

        .gallery .dscr {
            font-size: 1.5rem;
        }
        
        .gallery a {
            display: inline-block;
            width: 192px;
            height: 192px;
            border: 1px solid #dbe5ee;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            overflow: hidden;
            background-color: white;
        }

        .gallery a img {
            display: block;
            width: 190px;
            height: 190px;
            padding: 10px 10px;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            overflow: hidden;
            -o-object-fit: cover;
            object-fit: cover;
            -o-object-position: center;
            object-position: center;
        }
        
        .usage {
            max-width: 610px;
            padding: 0 10px;
        }
        
        .usage h2, .usage h4, .usage h3 {
            text-align: center;
        }
        
        .usage h4 code {
            font-size: 1.5rem;
            font-weight: normal;
        }
        
        .usage code a {
            color: royalblue;
            text-decoration: none;
        }
        
        .usage code a:hover, footer code a:focus {
            text-decoration: underline;
        }
        
        .usage h3 code {
            font-weight: normal;
        }
        
        .usage pre {
            display: block;
            max-width: 600px;
            width: auto;
            margin: 0 auto;
            color: darkblue;
            border: 1px dotted royalblue;
            padding: 10px;
            line-height: 1.4;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            overflow: auto;
            background-color: white;
        }
        
        .usage pre span {
            color: royalblue;
        }
        
        .usage pre span em {
            color: orangered;
            font-style: normal;
        }
        
        footer {
            text-align: center;
            padding-bottom: 20px;
        }
        
        footer code {
            font-size: 1rem;
            font-weight: normal;
        }
        
        footer code a {
            color: royalblue;
            text-decoration: none;
        }
        
        footer code a:hover, footer code a:focus {
            text-decoration: underline;
        }
        
        @media only screen and (max-width: 640px) {
            .gallery a {
                width: 142px;
                height: 142px;
            }

            .gallery a img {
                width: 140px;
                height: 140px;
                padding: 8px 8px;
            }
        }
        
        
        .gallery-preload {
            display: block;
            width: 150px;
            height: 150px;
            padding: 10px 10px;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            overflow: hidden;
            -o-object-fit: cover;
            object-fit: cover;
            -o-object-position: center;
            object-position: center;
        }
        
        .gallery-preload-text{
            top: 40%;
            position: absolute;
            width: 100%;
            background-color: #ffffff4d;
            color: black;
            padding: 5px;
            text-align: center;
        }