@font-face {
    font-family: "DB-Adum-X-Bold";
    src: url("../fonts/WinX9/DB-Adman-X-Bd.ttf");
}

@font-face {
    font-family: "Mitr-L";
    src: url("../fonts/Mitr/Mitr-Light.ttf");
}

.img-fix {
    max-width: 350px;
    padding-bottom: 10%;
}

.img-1 {
    width: 100%;
}

@media only screen and (min-width: 768px) {
    /* For desktop: */
    .img-fix {
        max-width: 500px;
        padding-bottom: 0%;
    }
    .img-1 {
        width: 70%;
    }
}


/***** Wrapper *****/

.wrapper {
    display: block;
    font-family: "Mitr-L";
    font-size: 12pt;
    background-image: url("../images/element/bg.png");
    background-position: center;
    background-size: cover;
}


/***** Sidebar *****/

.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 60px;
    right: -255px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffc107;
    transition: all 0.3s;
    box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.5);
    text-align: left;
}

.sidebar.active {
    right: 0;
}


/***** Content *****/

.content {
    width: 100%;
    transition: all 0.3s;
}


/***** Dark overlay *****/

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(51, 51, 51, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

.open-menu {
    position: fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    right: 0;
    z-index: 997;
    box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.2);
}

.open-menu.btn-customized,
.open-menu.btn-customized:hover,
.open-menu.btn-customized:active,
.open-menu.btn-customized:focus,
.open-menu.btn-customized:active:focus,
.open-menu.btn-customized.active:focus,
.open-menu.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active,
.open-menu.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: 3px 3px 3px rgba(51, 51, 51, 0.2);
}


/* Style for all buttons with the class btn-customized */

a.btn-customized {
    padding: 0.75rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    border: 0;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    box-shadow: none;
}

a.btn-customized:hover,
a.btn-customized:active,
a.btn-customized:focus,
a.btn-customized:active:focus,
a.btn-customized.active:focus,
a.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #000;
    /* for browsers that don't recognize rgba */
    background-color: rgba(0, 0, 0, 0.7);
    border: 0;
    color: #fff;
    box-shadow: none;
}

.dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all 0.3s;
    background: #444;
    border-radius: 4px;
    text-align: center;
    line-height: 35px;
    cursor: pointer;
    border: 1px solid #ffc107;
}

.dismiss:hover,
.dismiss:focus {
    background: #555;
    color: #fff;
}

.sidebar .logo {
    padding: 60px 15px 15px 20px;
    border-bottom: 1px solid #444;
    transition: all 0.3s;
}

.sidebar .logo a {
    display: inline-block;
    width: 172px;
    height: 34px;
    border: 0;
    text-indent: -999999px;
}

.sidebar ul.menu-elements {
    padding: 10px 0;
    border-bottom: 1px solid #444;
    transition: all 0.3s;
}

.sidebar ul li a {
    display: block;
    padding: 10px 20px;
    border: 0;
    color: #fff;
}

.sidebar ul li a:hover,
.sidebar ul li a:focus,
.sidebar ul li.active>a:hover,
.sidebar ul li.active>a:focus {
    outline: 0;
    background: #555;
    color: #fff;
    text-decoration: none;
}

.sidebar ul li a i {
    margin-right: 5px;
}

.sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #ffc107;
}

.sidebar ul ul a {
    background: #444;
    padding-left: 30px;
    font-size: 14px;
}

.sidebar ul ul li.active>a {
    background: #555;
}

.sidebar a[data-toggle="collapse"] {
    position: relative;
}

.sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.sidebar .to-top {
    text-align: center;
}

button.to-top {
    width: 60px;
    height: 60px;
    background-color: #444444;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 300;
    box-shadow: none;
}

button.to-top:hover,
button.to-top:active,
button.to-top:focus,
button.to-top:active:focus,
button.to-top.active:focus,
button.to-top.btn.btn-primary:not(:disabled):not(.disabled):active,
button.to-top.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #555;
    border: 0;
    color: #ffc107;
    box-shadow: none;
}

a.btn-customized-3 i {
    margin-right: 5px;
}

.sidebar .dark-light-buttons {
    padding: 10px 20px 30px 20px;
    text-align: center;
}

a.btn-customized-4 {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 0 3px;
    padding: 0;
    background: #444;
    border: 0;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    box-shadow: none;
    text-indent: -999999px;
}

a.btn-customized-4.btn-customized-dark {
    background: #222;
}

a.btn-customized-4.btn-customized-light {
    background: #fff;
}

a.btn-customized-4.btn-customized-dark:hover,
a.btn-customized-4.btn-customized-dark:active,
a.btn-customized-4.btn-customized-dark:focus,
a.btn-customized-4.btn-customized-dark:active:focus,
a.btn-customized-4.btn-customized-dark.active:focus,
a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #555;
    border: 0;
    color: #fff;
    box-shadow: none;
}

a.btn-customized-4.btn-customized-light:hover,
a.btn-customized-4.btn-customized-light:active,
a.btn-customized-4.btn-customized-light:focus,
a.btn-customized-4.btn-customized-light:active:focus,
a.btn-customized-4.btn-customized-light.active:focus,
a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active,
a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #555;
    border: 0;
    color: #fff;
    box-shadow: none;
}

section#header {
    background-image: url("../images/element/bg_Mo.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 30px;
}

.btn-register,
.btn-login {
    font-family: "DB-Adum-X-Bold";
    font-size: 14pt;
    background-color: black;
    border-radius: 50px;
    border: 2px solid #d9bf4f;
    color: aliceblue;
    min-width: 165px;
}

.btn-register:hover,
.btn-login:hover {
    color: #d9bf4f;
    text-decoration: none;
}

.border-line-gold {
    border: 1px solid #d9bf4f;
    border-image: radial-gradient( circle, rgba(249, 186, 69, 1) 0%, rgba(247, 203, 126, 1) 50%, rgba(251, 185, 61, 1) 100%);
    border-image-width: 100%;
}

.border-line-gold-2 {
    border: 2px solid #d9bf4f;
    border-image: radial-gradient( circle, rgba(249, 186, 69, 1) 0%, rgba(247, 203, 126, 1) 50%, rgba(251, 185, 61, 1) 100%);
    border-image-width: 100%;
}

.topic-border {
    border: 4px solid #ffc107;
    padding: 10px 10px;
    border-radius: 50px;
    max-width: 300px;
    background-color: #000;
    color: #ffc107;
    font-size: 18pt;
}

hr.border-gold {
    border: 1px solid #ffc107;
}

.bg-pro-detail {
    background-color: rgba(219, 164, 94, 0.6);
}


/* Slideshow container */

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}


/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}