﻿
@font-face {
    font-family: "Prompt";
    src: url("/fonts/Prompt-Regular.ttf") format('truetype');
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
}

@font-face {
    font-family: "Prompt";
    src: url("/fonts/Prompt-Medium.ttf") format('truetype');
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
}


@font-face {
    font-family: "Kanit";
    src: url("/fonts/Kanit-Regular.ttf") format('truetype');
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
}

@font-face {
    font-family: "Kanit";
    src: url("/fonts/Kanit-Bold.ttf") format('truetype');
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
}

* {
    font-family: Prompt !important;
}

body {
    font-size: 0.9375rem;
    color: #000000;
}

span {
    font-family: Kanit !important;
}

p {
    margin: 0 !important;
}

img {
    vertical-align: middle !important;
    display: inline-block !important;
}

i.icon {
    font-family: Icons !important;
}

a {
    cursor: pointer;
}

.arrow-right:before {
    content: "\f061";
}

table {
    border-collapse: inherit;
}

    table > thead > tr th, table > tbody > tr > td {
        text-align: center;
    }

.left {
    margin-right: auto;
}

.right {
    margin-left: auto;
}

.ui.grid {
    margin: auto !important;
}



.title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
}

.detail {
    font-size: 1rem;
    font-weight: normal;
    color: #fff;
    line-height: 1.5;
    margin: auto 0;
}

.topic {
    font-weight: bold;
    font-size: 1.75rem;
    color: #fff;
}

.nobottomPadding {
    padding-bottom: 0px !important;
}

.notopPadding {
    padding-top: 0px !important;
}

.noPadding {
    padding: 0px !important;
}

.color1 {
    color: #ff3378;
}

.main-side {
    max-width: none;
    padding-bottom: 0px;
    background: #2b114a;
}

.chevron.down.icon {
    color: #fff;
    margin-top: -3px !important;
}


.ui.container {
    width: 90%;
    margin: auto;
    position: initial;
}

.ui.menu {
    border: none;
    box-shadow: none;
    margin: auto;
    background-color: transparent;
    border-radius: 0px;
}

    .ui.menu.header {
        width: 100%;
        padding: 15px 0em;
    }



    .ui.menu .item {
        padding: 0px;
    }



.right.menu .item {
    padding-right: 0px !important;
}

.ui.modal {
    width: auto !important;
    margin: auto !important;
    position: initial !important;
    background-color: transparent;
    min-width: 300px;
}



    .ui.modal > .header {
        font-size: 1.125rem !important;
        color: #fff;
        font-weight: normal;
        text-align: left;
        position: relative;
        padding: 1rem 1rem .5rem 1rem !important;
        min-width: 300px;
        height: 70px;
        background: #1c1c1c;
        border-bottom: 1px solid #fff;
        border-radius: 0px !important;
    }

        .ui.modal > .header > .close {
            position: absolute;
            text-align: right;
            color: black;
            cursor: pointer;
            top: 0.5rem !important;
            right: 0.3rem !important;
        }

    .ui.modal .header .close .close.icon {
        color: #fff;
    }

    .ui.modal > .content {
        font-size: 1rem;
        padding: 1rem;
        background: #1c1c1c;
        color: #fff;
        max-height: 500px;
        overflow-y: auto;
    }

    .ui.modal .content .descrition {
        margin: 30px 0px;
    }

        .ui.modal .content .descrition .title {
            font-size: 1rem;
            margin-bottom: 10px !important;
            font-weight: bold;
        }

        .ui.modal .content .descrition .detail {
            font-size: 0.875rem
        }

    .ui.modal > * a {
        cursor: pointer;
    }

    .ui.modal > .actions > * {
        font-size: 0.875rem;
    }

.ui.checkbox label, .ui.checkbox + label {
    color: #fff !important;
}

.ui.modal > .actions {
    background-color: #1c1c1c;
    border-top: none;
    padding: .5rem 1rem 2rem 1rem !important;
    color: #fff !important;
}

.ui.modal > .content > * {
    font-size: 0.875rem;
}

.ui.modal.progress-bar {
    position: fixed !important;
}

.btn1 {
    background: #ffc048;
    color: #000 !important;
    font-size: 1.4rem;
    border-radius: 20px;
    line-height: initial !important;
    border: none !important;
}

.btn2 {
    background-color: #393939;
    color: #a0a0a0 !important;
    border: none !important;
}

.btn3 {
    background: transparent;
    border: solid 1px #fff;
    color:#fff;
}

.btn1[disabled] {
    background: #393939;
    color: #a0a0a0 !important;
    border: none !important;
}

.btn_short {
    padding: 12px 60px;
    height: 48px;
    border-radius: 26px;
    font-weight: bold;
}

.btn_long {
    width: 95%;
    height: 3.3em;
    border-radius: 26px;
    font-weight: bold;
    margin: 10px;
}


.btnlogin {
    background: #FFCC22;
    color: #000 !important;
    font-size: 0.875rem;
    font-weight: bold;
    padding: 6px 32px;
    border-radius: 20px;
    line-height: initial !important;
}




.icon {
    font-size: 15px !important;
}



.navbarUserImage img {
    height: 40px !important;
    width: 40px !important;
    border-radius: 40px;
    border: 2px solid #ffffff;
    margin-right: 10px !important;
}

.navbarUserImage .name {
    font-size: 0.9375rem;
    color: #fff;
    font-weight: bold;
    padding-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui.selection.dropdown, .ui.selection.active.dropdown, .ui.selection.active.dropdown .menu {
    border: 1px solid #c05066 !important;
}



.ui.menu .ui.dropdown .menu > .item {
    border-radius: 8px !important;
    box-shadow: 0 2px 10px 0 rgb(0 0 0 / 20%) !important;
    font-size: 0.875rem !important;
    background-color: #ffffff !important;
    color: #000000 !important;
}

.navbarUserImage .profilemenu {
    border-radius: 8px !important;
    border: 1px solid #101236 !important;
    min-width: 100px !important;
    border: none !important;
}

.navbarUserImage {
    display: block !important;
}

.moreDetails {
    max-width: 800px;
}

.ui.modal.share > .header, .ui.modal.share > .header {
    border: none;
    height: 40px;
}


    .ui.modal.gametype > .header > *, .ui.modal.share > .header > * {
        text-align: center;
        font-size: 0.9375rem;
        font-weight: bold;
        color: #823366 !important;
    }

.ui.modal.gametype > .content, .ui.modal.share > .content {
    text-align: center;
}

    .ui.modal.gametype > .content > p, .ui.modal.share > .content > p {
        color: #b2b2b2;
        font-size: 0.75rem;
        margin-top: 10px !important;
        text-align: left;
    }

    .ui.modal.gametype > .content > button, .ui.modal.share > .content > button {
        margin-top: 20px;
    }




.masthead .container {
    padding: 65px 0px 10px 0px !important;
}

.masthead .grid .column {
    vertical-align: middle;
}

.masthead .introduction .topic {
    font-size: 1.75em;
    color: #fff;
    font-family: Kanit !important;
}

.masthead .introduction .description {
    font-size: 1.4em;
    color: #fff;
    font-family: Kanit !important;
}

.masthead .howto {
    border-radius: 20px;
    text-align: center;
    background-image: url('/images/event/academy/bg_howto.png');
    background-position: center;
    background-repeat: repeat;
    background-color: #1c1c1c;
    margin: 20px 0px 30px 0px !important;
    padding: 20px 0px 40px 0px !important;
}

    .masthead .howto > * {
        text-align: center !important;
    }

    .masthead .howto .description {
        margin: 0px 10px auto 10px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .masthead .howto .icon {
        width: 100px;
        height: 100px;
        margin-top: 36px;
    }

.masthead .carousel .icon {
    border-radius: 20px;
}

.masthead .howto .title {
    margin-top: 20px !important;
}

.masthead .howto .detail {
    margin-top: 15px !important;
    font-family: Kanit !important;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 20px !important;
    }

.ui.dimmer {
    line-height: normal;
}

.intro {
    text-align: center;
}



    .intro .topic {
        text-align: center;
    }

    .intro .ui.grid {
        margin: auto;
        max-width: 900px;
    }

        .intro .ui.grid .row .column {
            padding: 0.5em !important;
        }

    .intro .card {
        display: flex;
        background-image: url('/images/event/academy/bg_detail1.png');
        background-position: center;
        background-repeat: repeat;
        background-size: cover;
        border-radius: 20px;
        padding: 20px;
        max-width: 450px;
        height: 250px;
        margin: 20px auto;
        position: relative;
    }



        .intro .card > div:first-child {
            width: 70%;
        }

        .intro .card > div:nth-child(2) {
            width: 30%;
            text-align: right;
        }

        .intro .card .description {
            text-align: left;
        }

        .intro .card .title {
            font-size: 1.2rem;
        }

        .intro .card .detail {
            margin-top: 15px !important;
            font-size: 0.95rem;
        }

        .intro .card .link {
            position: absolute;
            bottom: 15px;
        }

    .intro .btn {
        margin-top: 20px;
    }

.link {
    color: #ffcc22 !important;
    font-size: 1.2em;
    margin-bottom: 0px;
}

    .link > span {
        text-decoration: underline;
    }




.announcement {
    text-align: center;
}



    .announcement .icon {
        margin-top: 24px;
    }

    .announcement .detail {
        margin-top: 20px !important;
    }

.story {
    text-align: center;
    background: #000;
}

    .story .topic, .story .detail {
        text-align: center;
    }

    .story .detail {
        margin-top: 15px !important;
    }

    .story .card {
        /*  margin: 15px 12px;*/
        padding: 15px 12px;
    }


        .story .card .icon {
            width: 100%;
            border-radius: 10px;
            object-fit: cover;
        }

        .story .card .title {
            font-size: 1rem;
            color: #fff;
            margin-top: 10px !important;
        }

        .story .card .subtitle {
            font-size: 0.875rem;
            color: #a0a0a0;
            margin-top: 5px !important;
        }

        .story .card .btn {
            width: 100%;
            padding: 12px;
            margin-top: 15px;
        }

        .story .card .category {
            margin-top: 10px;
            margin-bottom: 20px;
        }

            .story .card .category > span {
                border-radius: 15px;
                border: solid 1px #a0a0a0;
                padding: 6px 6px;
                color: #a0a0a0;
                font-size: 0.75rem;
            }

.user.segment {
    text-align: center !important;
}

    .user.segment .topic {
        text-align: center;
    }

    .user.segment .carousel {
        text-align: center;
    }

        .user.segment .carousel .slick-slide img {
            width: 140px;
            height: 140px;
            border-radius: 100%;
        }

        .user.segment .carousel .title {
            font-size: 1rem;
            margin-top: 10px !important;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .user.segment .link {
        font-size: 1rem;
    }

.footer.segment {
    background-color: #1c1c1c;
}

    .footer.segment .row > div {
        text-align: center;
    }

.footer * {
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: normal;
}

.carousel {
    margin: 0px auto;
}

.slick-slide {
    margin: 10px;
}

    .slick-slide img {
        width: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

.wrapper .slick-dots li button:before {
    font-size: 20px;
    color: white;
}


.slick-dots li.slick-active button:before {
    color: #fff !important;
}

.slick-dots li button:before {
    color: #fff !important;
}


.album.segment {
    text-align: center;
    background: #000;
}

    .album.segment .detail {
        font-size: 0.75rem;
    }


.segment {
    padding: 20px 0px;
}

.vote.modal {
    width: 300px;
}

    .vote.modal .content {
        text-align: center;
    }

    .vote.modal .topic {
        font-size: 1.25rem;
    }

    .vote.modal .detail {
        font-size: 1rem;
    }

    .vote.modal .action {
        margin-top: 15px;
    }

    .vote.modal .close {
        position: absolute;
        text-align: right;
        color: #fff;
        cursor: pointer;
        top: -15px !important;
        right: -5px !important;
    }

.mainalbum {
    text-align: center;
    margin-top: 10px;
}

    .mainalbum .grid-item {
        width: 20%;
        float: left;
        padding: 10px;
        cursor: pointer;
        -moz-animation: fadein 1.5s; /* Firefox */
        animation: fadein 5s;
        -webkit-animation: fadein 1.5s;
    }

        .mainalbum .grid-item img {
            display: block;
            width: 100%;
            border-radius: 10px;
            object-fit: contain;
        }



.ui.secondary.pointing.menu .item {
    font-size: 1rem;
    color: #fff !important;
}

.ui.secondary.pointing.menu .active.item, .ui.secondary.pointing.menu .active.item:hover {
    color: #ff3378 !important;
    border: none;
}

.ui.secondary.pointing.menu .item:first-child {
    margin-left: auto;
}

.ui.secondary.pointing.menu .item:last-child {
    margin-right: auto;
}

.ui.segment[class*="bottom attached"] {
    border: 0;
}

.ui.secondary.pointing.menu {
    border: none;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

#btntotop {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 0px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}



    #btntotop:hover {
        opacity: .5;
    }

.progress {
    width: 100px;
    border-radius: 20px;
}



.ui.checkbox label::before {
    border-radius: 0;
    border-color: #ff3378 !important;
    width: 20px;
    height: 20px;
}

.ui.checkbox input[type=checkbox] {
    top: 10px;
    left: 2px;
}

.ui.checkbox input:checked ~ label:after, .ui.checkbox.custom input:checked ~ .box:after {
    color: #fff !important;
    top: 1px;
    left: 1px;
    font-size: 15px;
}

.ui.progress .bar {
    height: 10px;
    background-color: #ff2886;
    min-width: inherit !important;
    border-radius: 5px;
}

.ui.progress.success .bar {
    background-color: #ff2886 !important;
}


.ui.progress {
    background-color: #2d2f57;
    margin: 0 !important;
    width: 100%;
}

.scoreVote {
    margin-top: auto;
}

    .scoreVote > .result {
        margin-top: 10px;
    }

        .scoreVote > .result > .percent {
            color: #FF3378;
            font-size: 1rem;
            display: flex;
            font-weight: bold;
            margin-left: auto;
        }

        .scoreVote > .result > .total {
            font-size: 12px;
            display: flex;
            margin-left: auto;
        }




.imgDonwload {
    max-height: 300px;
}

.overflow-dots {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.back {
    margin-top: 50px;
    border-radius: 26px;
    border: solid 1px #fff;
    color: #fff !important;
    padding: 8px 50px 8px 51px;
}

.banner {
    margin: auto;
    border-radius: 20px;
}

    .banner.segment {
        text-align: center;
        border-radius: 0px;
    }

.slick-prev {
    left: 0;
    z-index: 10;
}

.slick-next {
    right: 0;
    z-index: 10;
}

.workshop.segment {
    text-align: center;
    max-width: 1024px;
    margin: auto;
}

    .workshop.segment .tab > a {
        padding: 5px 20px;
        border-radius: 20px;
        border: solid 1px #fff;
        color: #fff;
        font-size: 1rem;
        margin-bottom: 15px;
        display: inline-block;
    }



    .workshop.segment .row {
        display: flow-root;
    }

    .workshop.segment .header{
        width:90%;
        margin:auto;
    }

    .workshop.segment .header .name {
        font-size: 1.75rem;
        background: -webkit-linear-gradient(#ffcc22, #ff6aab);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: bold;
    }

  

    .workshop.segment .header .title, .workshop.segment .header .subtitle, .workshop.segment .header .description {
        font-size: 1rem;
        color: #fff;
    }

    .workshop.segment .header .title {
        padding-top: 11px;
    }

    .workshop.segment .header .description {
        padding-top: 25px
    }

.workshop.segment .row.content {
    width:90% !important;
    margin:auto;

}

    .workshop.segment .topaward {
        background-image: linear-gradient(to bottom, #ff2886, rgba(255, 40, 134, 0.58) 39%, rgba(255, 40, 134, 0.06) 75%, rgba(255, 40, 134, 0));
        height: 500px;
        width: 100%;
        position: absolute
    }

    .workshop.segment .card-vertical {
        margin: 10px 10px 20px 10px;
    }


        .workshop.segment .card-vertical > img {
            max-height: 180px;
            width: 100%;
            border-radius: 10px;
            margin-top: 60px;
        }

  
            .workshop.segment .card-vertical.no1 > img {
                margin-top: 0px;
            }

   

        .workshop.segment .card-vertical > * {
            display: block;
        }

        .workshop.segment .card-vertical .rank {
            margin-top: 10px !important;
            font-size: 1.1rem;
            color: #fff;
            font-weight: bold;
        }

        .workshop.segment .card-vertical.no1 .rank {
            color: #ffcc22 !important;
        }

    .workshop.segment .title {
        font-size: 1rem;
        color: #fff;
        margin-top: 5px !important;
        display: block;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .workshop.segment .subtitle {
        font-size: 0.875rem;
        color: #a0a0a0;
        margin-top: 5px !important;
    }

    .workshop.segment .category {
        margin-top: 10px;
    }

    .workshop.segment .card-vertical .category > ul {
        display: contents;
    }

        .workshop.segment .card-vertical .category > ul > li {
            border-radius: 20px;
            border: solid 1px #7f7f7f;
            padding: 3px 16px;
            color: #7f7f7f;
            font-size: 0.625rem;
            display: table;
            margin: 10px auto;
        }

    .workshop.segment .line {
        border: solid 1px #a0a0a0;
        width: 100%;
        margin: 20px 0px;
    }

    .workshop.segment .card-horizontal {
        text-align: left;
        display: flex;
        background-color: #333333;
        border-radius: 30px;
        margin: 10px 0px;
        padding: 5px 15px;
    }

        .workshop.segment .card-horizontal > * {
            padding: 10px 15px;
        }

        .workshop.segment .card-horizontal > img {
            height: 130px;
        }


        .workshop.segment .card-horizontal .category > div {
            border-radius: 20px;
            border: solid 1px #7f7f7f;
            padding: 3px 16px;
            color: #7f7f7f;
            font-size: 0.625rem;
            margin-right: 10px;
            display: inline-block;
        }

        .workshop.segment .card-horizontal .rank {
            color: #fff;
            font-size: 1.5rem;
            margin: auto 0px !important;
        }

.remark > p {
    color: #fff;
    font-size: 0.75rem;
    font-style: italic;
}

.workshop.segment .spcial .card-vertical > img, .workshop.segment .spcial .card-horizontal > img {
    border-radius: 100px !important;
    max-height:140px;
}



@media screen and (max-width: 430px) {
    .mainalbum .grid-item {
        width: 100%;
    }
}

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

    .banner.mobile, .carousel.mobile {
        display: block !important;
    }

    .banner.desktop, .carousel.desktop {
        display: none !important;
    }

    .mainalbum .grid-item {
        width: 50%;
    }

    .logo-icon {
        height: 40px;
        width: auto !important;
    }

    .ui.scrolling.modal {
        margin-left: 0.9375rem !important;
        margin-right: 0.9375rem !important;
    }


    .navbarUserImage .name {
        display: none !important;
    }



    .ui.menu {
        width: 100%;
    }

        .ui.menu .ui.container {
            width: 90% !important;
            padding-top: 10px !important;
            padding-bottom: 10px !important;
            margin: auto !important;
        }



    .navbarUserImage .name {
        display: none !important;
    }


    .ui.modal {
        padding: 10px;
    }

        .ui.modal > .content {
            max-height: none;
        }
}

@media only screen and (min-width:430px) {

    .banner.desktop, .carousel.desktop {
        display: block !important;
    }

    .banner.mobile, .carousel.mobile {
        display: none !important;
    }

    .workshop.segment .card-vertical > img {
        width: auto;
    }
}

@media only screen and (min-width:520px) {
}

@media only screen and (min-width: 813px) {



    .table {
        overflow-x: initial;
    }



    .ui.menu {
        width: 100%;
    }


    .footer .ui.grid > div:first-child {
        text-align: left;
    }

    .footer .ui.grid > div:nth-child(2) {
        text-align: right;
    }



    #btntotop {
        right: 30px;
    }
}

@media only screen and (min-width: 1024px) {
    .footer.segment .row > div:first-child {
        text-align: left;
    }

    .footer.segment .row > div:last-child {
        text-align: right;
    }
}
