/*------------- body----------------*/

body {
    font-family: 'Noto Sans TC', 'Arial', 'Verdana', sans-serif;
    color: #FFFFFF;
    font-size: 15px;
    background-color: #333333;
}

a {
    text-decoration: none;
}

a:link {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Noto Sans TC', 'Arial', 'Verdana', sans-serif;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 25px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 15px;
}

h6 {
    font-size: 10px;
}

.btn-primary {
    color: #000000;
    background-color: #6BD3FE;
    border: 0;
}

.btnSaveMaker {
    width: 100%;
    height: 44px;
    background-color: #6BD3FE;
    font-size: 20px;
    border-radius: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 2px black;
    border: 0;
    text-align: center;
    line-height: 44px;
}

.btnSaveMaker:hover {
    background-color: #ffffff;
    color: #000000;
}

.container {
    background: #333333;
}

.container a {
    color: #6BD3FE;
}

.container a:hover {
    color: #FFFFFF;
}

.loginbtn {
    margin-top: 25px;
    background: none;
    font-size: 20px;
    color: #fff;
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
}

.loginbtn:hover {
    opacity: 0.5;
}

.loginheadbtn {
    margin-top: 25px;
    font-size: 20px;
    color: #fff;
    padding: 10px 20px 10px 20px;
}

.dropdown-item {
    width: 100%;
    font-size: 17px;
    color: #555;
    display: inline-block;
    padding: 8px 10px;
}

.dropdown-item:hover {
    background: #6BD3FE;
    color: #ffffff;
}

.dropdown-item-logout {
    width: 100%;
    font-size: 17px;
    color: #555;
    display: inline-block;
    padding: 8px 10px;
}

.dropdown-item-logout:hover {
    background: #ffffff;
}

/* .dropdown-item:hover {
    color: #6BD3FE;
} */

.tagbutton {
    padding: 10px 20px 10px 20px;
    border: 1px solid #fff;
    background: #3c3c3c;
    color: #FFF;
}

.tagbutton:hover {
    background: #FFF;
    color: #3c3c3c;
}

.form-group {
    margin-top: 12px;
    margin-bottom: 30px;
}


/*------------- side bar----------------*/

.index-sidebar .item {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0.9;
    padding: 4px 0;
}

.index-sidebar .item a {
    color: #FFFFFF;
}

.index-sidebar .item:hover {
    font-size: 17px;
    opacity: 1;
    color: #6BD3FE;
}


/*------------- search ----------------*/

.index-search input {
    outline: none;
    border: 0;
    font-size: 15px;
    padding: 5px;
    height: 30px;
}

.index-search button {
    height: 30px;
    background: url("../img/icon/search_white.png") no-repeat;
    background-color: #6BD3FE;
    padding: 10px 18px;
    background-position: 8px;
}


/*------------- navbar ----------------*/

.nav-in li {
    font-size: 17px;
}

.nav-in li:hover {
    background: #6BD3FE;
    -webkit-transition: .2s linear;
    -moz-transition: .2s linear;
    -ms-transition: .2s linear;
    -o-transition: .2s linear;
    transition: .2s linear;
}

.nav-in>li a {
    padding: 20px 15px;
    color: #555;
}

.navbar-default .navbar-nav>li>a:hover{
    color: #ffffff;
}

.navbar-nav {
    text-align: center;
}

.navbar-nav>li {
    display: inline-block;
    margin: 0 10px;
}

@media screen and (max-width: 767px) {
    .navbar-nav>li {
        display: inline;
        margin: 8 0px;
    }
    .nav-in>li a {
        padding: 0px 0px;
        color: #555;
    }
    .navbar-default .navbar-nav>li>a:hover{
        color: #6BD3FE;
    }
}


/*------------- fqa ----------------*/


/* .fqatitle {
    color: #ffffff;
    font-size: 25px;
} */

.titlecontent {
    margin-top: 20px;
    color: #6BD3FE;
    /*#577712*/
    cursor: pointer;
    font-size: 20px;
}

.titlecontent:hover {
    color: #fbfbfb;
    /*#577712*/
}

.answercontent {
    /* border-bottom: thin solid #CBCBCB; */
    width: 90%;
    font-size: 17px;
    margin: 10px 28px;
}


/*------------- owl slider ----------------*/

.owl-wrapper-outer{
    background: #242424;
}

#owl-example {
    cursor: pointer;
    text-align: center;
}

#owl-example img {
    max-width: 100%;
    max-height: 600px;
    margin: auto;
}


/*------------- category ----------------*/

#btn_categorydropdown {
    color: #6BD3FE;
}

#btn_categorydropdown:hover {
    opacity: 0.8;
}

#btn_gamegenredropdown {
    color: #6BD3FE;
}

#btn_gamegenredropdown:hover {
    opacity: 0.8;
}

.category-title {
    font-size: 34px;
    color: #6BD3FE;
}

.category-block {
    text-align: left;
    height: 380px;
    margin-left: 10px;
    margin-right: -5px;
}

.category-block img {
    width: 100%;
}

.catagotie-block-up {
    font-size: 25px;
    opacity: 0.9;
}

.catagotie-block-up:hover {
    opacity: 1;
}

.catagotie-img {
    height: 46%;
    max-height: 200px;
    overflow: hidden;
    justify-content: center;
    display: flex;
}

@media screen and (max-width:1000px) {
    .catagotie-img {
        height: 56%;
        min-height: 46%;
        overflow: hidden;
        justify-content: center;
        display: flex;
    }
}

/* 專欄 */

.catagotie-img-column {
    height: 46%;
    max-height: 200px;
    overflow: hidden;
    justify-content: center;
    display: flex;
}

@media screen and (max-width:1000px) {
    .catagotie-img-column {
        height: 56%;
        min-height: 46%;
        overflow: hidden;
        justify-content: center;
        display: flex;
    }
}

.catagotie-img-column img {
    width: auto;
    height: 100%;
}





/* .category-block .btn-outline-primary {
    background: #ffffff;
    border: 2px solid #ffffff;
    color: rgb(121, 79, 60);
}

.category-block .btn-outline-primary:hover {
    background: rgb(255, 196, 169);
} */

.category-gametitle {
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-gametitle:hover {
    color: #6BD3FE;
}

.category-classification {
    color: #FFFFFF;
    font-size: 18px;
}

.info {
    color: #FFFFFF;
    font-size: 14px;
    margin: 0;
}

.info p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 4px 0;
}

/*------------- search ----------------*/

.pagination>.active>span{
    background: #6BD3FE;
    border-color: #6BD3FE;
}

.pagination{
    font-size: 18px;
}

.pagination>li>a{
    padding: 6px 16px;
}

.pagination>li>a:hover{
    background: #428bca;
}



/*------------- project ----------------*/

.sideblock {
    margin-bottom: 20px;
    padding: 10px 10px 10px 10px;
    background: #333333;
}

.btn-download {
    width: 100%;
    height: 80px;
    background: #6BD3FE;
    color: #ffffff;
    font-size: 30px;
    border-radius: 50px;
    border: solid 2px #ffffff;
    text-shadow: 1px 2px 1px #000000;
}

.btn-download:hover {
    color: #000000;
    background: #F8F8F8;
    text-shadow: 0;
}

.btn-download-outsite {
    width: 100%;
    height: 80px;
    background: #F8F8F8;
    color: #6BD3FE;
    font-size: 30px;
    border-radius: 50px;
    border: solid 2px #6BD3FE;
    text-shadow: 0;
}

.btn-download-outsite:hover {
    color: #ffffff;
    background: #6BD3FE;
    text-shadow: 1px 2px 1px #000000;
}

/* 加入最愛 */
#btn_favorite{
    text-align: right;
}

@media screen and (max-width: 991px) {
    #btn_favorite{
        text-align: left;
    }
}

.favoritebtn {
    min-width: 100px;
    height: 44px;
    line-height: 22px;
    text-align: center;
    margin-bottom: 10px;
    background: #ff7681;
    border: 2px solid #ff7681;
    font-size: 16px;
    color: #fff;
    padding: 10px 0;
    border-radius: 10px;
}

.favoritebtn:hover {
    background: #ff93a2;
    border: 2px solid #ff93a2;
}

.loginheadbtn {
    margin-top: 25px;
    font-size: 20px;
    color: #fff;
    padding: 10px 20px 10px 20px;
}

.info_pro {
    color: #FFFFFF;
    font-size: 16px;
}

.info_pro p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info_pro img {
    max-width: 100%;
}


/*------------- profile image ----------------*/

.profileCircle {
    width: 180px;
    height: 180px;
    margin: auto;
    border-radius: 180px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
}


/* ------------- Check Box ---------------- */


/* Customize the label (the container) */

.containerCheckBox {
    width: 100%;
    display: block;
    position: relative;
    padding-left: 30px;
    margin: 12px 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */

.containerCheckBox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.containerCheckBox a {
    color: #6BD3FE;
}


/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}


/* On mouse-over, add a grey background color */

.containerCheckBox:hover input~.checkmark {
    background-color: #ccc;
}


/* When the checkbox is checked, add a blue background */

.containerCheckBox input:checked~.checkmark {
    background-color: #6BD3FE;
}


/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.containerCheckBox input:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.containerCheckBox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/*------------- 以下為後端 ----------------*/

.shadowblock {
    padding: 40px 16px 20px 16px;
    border-radius: 10px;
    font-size: 24px;
    text-align: center;
    /* -moz-box-shadow: 4px 4px 12px -2px rgba(20%, 20%, 40%, 0.5);
    -webkit-box-shadow: 4px 4px 12px -2px rgba(20%, 20%, 40%, 0.5);
    box-shadow: 4px 4px 12px -2px rgba(20%, 20%, 40%, 0.5); */
}


/*------------- creation ----------------*/

.creation_title {
    text-align: left;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin: 16px 0;
}

.creation_subtitle {
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    margin: 4px;
}

.creation_page {
    border-top: 10px solid #bbd3b8;
    border-radius: 10px;
    height: 1px;
    width: 13%;
    overflow: hidden;
    margin-left: 5px;
    margin-right: 5px;
}

.creation_page_active {
    border-top: 10px solid #6CD300;
    border-radius: 10px;
    height: 1px;
    width: 13%;
    overflow: hidden;
    margin-left: 5px;
    margin-right: 5px;
}

.radiobtn input[type="radio"] {
    display: none;
}

.radiobtn input[type="radio"]+label {
    font-size: 20px;
    display: inline-block;
    background-color: #ccc;
    color: #000000;
    cursor: pointer;
    padding: 10px 30px;
    border-radius: 10px;
}

.radiobtn input[type="radio"]:checked+label {
    background-color: #6BD3FE;
}

.textinput {
    width: 60%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 16px
}

.textinput:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6)
}

.textinputIcon {
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 16px
}

.textinputIcon:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6)
}


/*------------- library ----------------*/

.nav-tabs li {
    font-size: 20px;
}

.nav-tabs li a{
    border: 0;
}

.nav-tabs li a:hover {
    color: #ffffff;
    background: #6BD3FE;
}

.nav-tabs>li a {
    /*padding: 20px 15px;*/
    color: #6BD3FE;
}

#myTab .active a {
    font-size: 25px;
    color: #000000;
    background-attachment: #000;
}


/* CKEditor */

.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,
.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners {
    height: 400px;
    color: #000000;
}

.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused) {
    height: 400px;
    color: #000000;
}


/* bootstrap */

.col-xs-1 {
    width: 14%;
}

input[type="file"] {
    max-width: 260px;
    margin-top: 8px;
}

label {
    font-size: 16px;
    font-weight: 100;
    margin-bottom: 8px;
    margin-top: 4px;
}

/* FB */
.fb_iframe_widget iframe{
    border-radius: 6px;
}