html{height: 100%;}
body{padding-top: 70px;background-color: #dce1e4;}
body.full_bg{
    padding-top: 0;
    height: 100%;
    background: url(../images/bg.png) 50% 50%/cover no-repeat;
}
.navbar{
    background-color: #fff;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05) border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar-right{
    margin-right: 0 !important;
}
.navbar-nav>li.on a{
    color: #d30710;
    font-weight: bold;
}
.navbar-nav>li.on a:hover{
    color: #d30710;
}
h1,h2,h3,h4,h5,h6{
    margin: 0;
}
h4{
    font-size: 14px;
}
a, a:hover, a:active, a:focus{
    color: #333;
}
a,img,.btn{
    outline: none!important;
}
.panel-heading{
    font-size: 18px;
    padding: 15px;
    font-weight: bold;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: #ddd;
    color: #333;
}
.nav-pills>li>a{
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 10px 5px;
    font-size: 12px;
}
.nav-pills>li:last-child{
    width: 2%;
}
.btn-primary{
    background-color: #d30710;
    border-color: #d30710;
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    background-color: #b00910;
    border-color: #b00910;
    color: #fff;
}
.panel-primary{
    border: 0;
}
.text-danger{
    color: #d30710;
}
.panel-primary>.panel-heading {
    color: #fff;
    background-color: #d30710;
    border-color: #d30710;
}
.now_point{
    margin-bottom: 15px;
}
.now_point .btn{
    margin-top: 3px;
}
.tab-content .table{
    margin-top: 15px;
    text-align: center;
}
.tab-content .table th{
    text-align: center;
}
.tab-content .table-bordered thead{
    background-color: #eee;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
    font-size: 12px;
    vertical-align: middle!important;
}
.modal-footer{
  background-color: #f9f9f9;
}
#point_charge_modal p{
    font-size: 12px;
    margin: 5px 0;
}
#point_charge_modal .point_charge{
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
}
#point_charge_modal .point_charge+.point_charge{
    margin-top: 15px;
}
#apply_modal .table,
#point_charge_modal .table{
    margin-bottom: 0;
    border: 0;
    background-color: #fff;
}
#apply_modal .table th{
  background-color: #eee;
}
#apply_modal .modal-footer{
    text-align: center;
}
#datepicker{
    display: inline-block;
    width: 150px;
    vertical-align: middle;
    margin-right: 5px;
    font-size: 12px;
}
.ui-datepicker-trigger{
    font-size: 12px;
}
.table-bordered tr th{
    text-align: center;
    background-color: #eee;
}
.custom .table td:not(.text-left){
    text-align: center;
}
.custom .table td p{
    margin-bottom: 0;
}
.custom .table td p select{
    max-width: 200px;
    height: 24px;
}
.table{
    margin-bottom: 0;
}
.account_box{
    max-width: 350px;
    margin: 15% auto;
}
.account_box h1{
    text-align: center;
    margin: 0;
}
.account_box p{
    color: #fff;
    margin-top: 5px;
}
.account_box p a{
    color: #ddd;
}
.account_box p a:hover{
    color: #fff;
    text-decoration: none;
}
.account_box .panel{
    margin-top: 10px;
}
.account_box .panel h2{
    font-size: 16px;
}
.account_box .panel p{
    margin: 0;
}
.account_box .panel p a{
    color: #555;
}
.account_box .btn{
    margin-top: 23px;
    margin-bottom: 15px;
}
.append_icon{
    position: relative;
    margin-bottom:8px;
}
.append_icon:last-of-type{
    margin-bottom: 0;
}
.append_icon span{
    position: absolute;
    z-index: 1;
    right: 15px;
    top: 9px;
    color: #aaa;
}
.account{
    max-width: 400px;
    margin: auto;
}
.account fieldset{
    padding: 15px;
    margin: 15px 0;
    border: 1px dashed #d30710;
    position: relative;
}
.account fieldset legend{
    font-size: 13px;
    text-align: center;
    border: 0;
    margin: 0 auto;
    padding: 0 10px;
    background-color: #fff;
    display: inline-block;
    width: auto;
    position: absolute;
    left: 50%;
    top: -10px;
    margin-left: -105px;
    color: #d30710;
}
.board .table td:not(.text-left){
    text-align: center;
}
.sorting_disabled{
    padding: 8px!important;
}
div.dataTables_paginate{
    float: none;
}
.board_write label{
    width: 70px;
    font-size: 12px;
}
.board_write label[for="post_title"]{
    width: 35px;
}
.board_write input{
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}
#post_title {
    width: calc(100% - 40px);
    display: inline-block;
}
a.scrollup {
    display: none;
    background: #2B2E33;
    height: 32px;
    width: 32px;
    color: #fff;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    opacity: .5;
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    border-radius: 50% !important;
    border-radius: 16px;
}
.loader-overlay {
    -moz-opacity: 1;
    -moz-perspective: 10000;
    -moz-perspective: 10000px;
    -moz-transition: all 800ms ease-in-out;
    -o-transition: all 800ms ease-in-out;
    -webkit-opacity: 1;
    -webkit-perspective: 10000;
    -webkit-perspective: 10000px;
    -webkit-transition: all 800ms ease-in-out;
    background: #2D2E2F;
    bottom: 0;
    filter: alpha(opacity=100);
    left: 0;
    opacity: 1;
    overflow: hidden;
    perspective: 10000;
    perspective: 10000px;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 800ms ease-in-out;
    z-index: 10000;
    zoom: 1;
}
.loader-overlay.loaded {
    -moz-opacity: 0;
    -webkit-opacity: 0;
    filter: alpha(opacity=0);
    opacity: 0;
    visibility: hidden;
    zoom: 1;
}
.spinner {
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    bottom: 0;
    height: 2em;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    user-select: none;
    width: 10em;
}
.spinner > div {
    -moz-border-radius: 100%;
    -webkit-animation-fill-mode: both;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    -webkit-border-radius: 100%;
    animation-fill-mode: both;
    animation: bouncedelay 1.4s infinite ease-in-out;
    background-color: #ffffff;
    border-radius: 100%;
    display: inline-block;
    height: 1em;
    width: 1em;
}
.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
    margin-right: 1em;
}
.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
    margin-right: 1em;
}
@-webkit-keyframes bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
@keyframes bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
.board_header{
    background-color: #eee;
    border: 1px solid #ddd;
}
.board_header div{
    padding: 0 10px;
}
.board_header h2{
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}
.board_detail dl{
    display: inline-block;
    margin-bottom: 0;
    font-size: 13px;
}
.board_header .user_name{
    margin-right: 15px;
    padding-right: 15px;
}
.board_detail dl dt,
.board_detail dl dd{
    display: inline-block;
    padding: 5px;
}
.board_detail dl dd a{
    color: #999;
}
.board_body{
    padding: 15px;
    border: 1px solid #ddd;
    border-top: 0;
    min-height: 300px;
}
.board_footer{
    margin-top: 10px;
}
table.dataTable thead .sorting_asc:before {
    color: #383838;
    content: "\f0de";
    float: right;
    font-family: fontAwesome;
}
table.dataTable thead .sorting_desc:before {
    color: #383838;
    content: "\f0dd";
    float: right;
    font-family: fontAwesome;
}
table.dataTable thead .sorting:before {
    color: #DDDDDD;
    content: "\f0dc";
    float: right;
    font-family: fontAwesome;
    padding-left: 10px;
}
.table-striped thead th{
    padding-left: 8px!important;
}
.force-table-responsive {
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #E9E9E9;
    border: none;
    margin-bottom: 15px;
    overflow: auto;
    padding: 10px 5px;
    width: 100%;
}
.force-table-responsive .col-xs-6 label, .force-table-responsive .row {
    margin: 0;
}
.force-table-responsive .col-xs-6, .force-table-responsive .col-sm-12{
    padding: 0;
}
#editor {
    max-height: 250px;
    height: 250px;
    background-color: white;
    border-radius: 3px;
    padding: 12px;
    overflow: auto;
    outline: none;
}
div[data-role="editor-toolbar"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-bottom: 7px;
}
div[data-role="editor-toolbar"] .btn-group{
  float: none;
}
.btn_group{
  display: inline-block;
  position: relative;
  margin-left: 5px;
}
.input-append{
  padding: 5px;
  width: 240px;
}
[data-role=magic-overlay]{
  width: 41px!important;
  height: 34px!important;
  cursor: pointer;
}
.board_preview{
    padding: 15px;
}
.table-bordered {
    border: none;
}
.cmn-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.cmn-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  user-select: none;
}
input.cmn-toggle-round + label {
  padding: 2px;
  width: 60px;
  height: 30px;
  background-color: #dddddd;
  border-radius: 30px;
  margin-bottom: 0;
}
input.cmn-toggle-round + label:before,
input.cmn-toggle-round + label:after {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: "";
}
input.cmn-toggle-round + label:before {
  right: 1px;
  background-color: #f1f1f1;
  border-radius: 30px;
  transition: background 0.4s;
}
input.cmn-toggle-round + label:after {
  width: 27px;
  height: 27px;
  background-color: #fff;
  border-radius: 100%;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  transition: margin 0.4s;
}
input.cmn-toggle-round:checked + label:before {
  background-color: #5e8fb9;
}
input.cmn-toggle-round:checked + label:after {
  margin-left: 31px;
}
table .row .col-xs-3 + .col-xs-3{
    padding-left: 0;
}
.btn-white{
    background-color: #fff;
    border-color: #ccc;
}
table.dataTable thead > tr > th {
    padding-left: 8px;
    padding-right: 8px;
}

.table-responsive table.admin{
    table-layout: fixed;
    width: 100%;
}
.table-responsive table th,
.table-responsive table td{
    white-space: normal;
    word-break: break-word;
}
.table_title{
    width: 100px;
}
.table_price{
    width: 80px;
}
.table_ox{
    width: 70px;
}
.table_btn{
    width: 70px;
}
.fix_width{
    width: 260px;
}
.admin .table_title{
    width: 80px;
}
.admin .table_price{
    width:50px;
}
.admin .table_ox{
    width: 10px;
}
.admin .fix_width{
    width: 200px;
}
.admin .table_btn{
    width: 80px;
}
.visual_banner{
    margin-top: -20px;
}
.navbar-brand {
    width: 170px;
    padding: 10px 15px;
}
.visual_banner img{
    width: 100%;
}
.navbar-header img{
    max-width: 100%;
}
footer{
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    padding-top: 20px;
}
footer p{
    color: #aaa;
}
footer span,
footer a{
    font-size: 11px;
    color: #777;
    letter-spacing: -0.3px;
}
footer a{
    color: #2C8CA0!important;
    margin: 0 10px;
}
footer a:first-of-type{
    margin-left: 0;
}
.fake_dropdown{
    display: block;
    padding: 5px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    margin-top: -5px;
}
#point_charge_modal .input-group{
    margin-bottom: 5px;
}
@media screen and (max-width: 1199px) {
	.nav>li>a{
	    padding: 15px 5px;
	}
	.navbar-text{
	    margin: 15px 5px;
	}
}
@media screen and (max-width: 991px) {
    .nav>li>a{
        font-size: 12px;
    }
    .navbar-text{
        display: none!important;
    }
    .navbar-brand{
        width: 110px;
        padding: 18px 15px;
    }
}
@media screen and (max-width: 767px) {
    .navbar-brand {
        width: 170px;
        padding: 10px 15px;
    }
    .nav>li>a{
        font-size: 14px;
        padding: 10px 15px;
    }
    .nav-pills>li:last-child{
        width: 100%;
    }
    .navbar-nav {
        margin: 0 -15px;
    }
    .navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse{
        max-height: none;
    }
    .force-table-responsive table{
        min-width: 800px;
    }
}
@media screen and (max-width: 480px) {
    #apply_modal .table th,
    #apply_modal .table td{
        display: block;
        width: 100%;
    }
}
#datatable_paginate{
    text-align: center;
}
#datatable_paginate a {

    padding-left: 10px;
    padding-right: 10px;
}
#datatable_paginate span {
    padding-left: 10px;
    padding-right: 10px;
}
#datatable_paginate span .current{
    color: #337ab7;
}