html {
    position: relative;
    min-height: 100%;
}

body {
    height: 100%;
    font-size: 16px;
    font-family: Nunito, sans-serif;
    background: url('/images/bg-twn.jpg') no-repeat fixed center;
    background-size: cover;
    margin-bottom: 200px;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: #333;
}

.navbar-header {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.navbar-button:hover {
    text-decoration: none;
    color: #333;
}

.navbar-button {
    display: block;
    float: left;
    padding: 15px;
    color: #555;
}

.navbar-button.active {
    background-color: #e7e7e7;
}

.navbar-header .media-object {
    height: 40px;
    margin: 7px 10px 6px 5px;
}

.my-statistics {
    margin: 0;
    padding: 0;
    display: flex;
}

.my-statistics li {
    list-style: none;
    text-align: center;
    padding: 5px 8px;
    border-right: 1px solid #ddd;
    flex-grow: 1;
}

.my-statistics li:last-child {
    border: none;
}

.my-statistics .value {
    font-size: 14px;
    font-weight: bold;
}

.my-statistics .title {
    font-size: 12px;
    color: #777;
}

.panel {
    border-radius: 10px;
}

.panel-heading,
.list-item-header {
    border-radius: 9px 9px 0 0;
}

.panel-footer {
    border-radius: 0 0 9px 9px;
}

@media (max-width: 991px) {
    .affix {
        position: relative;
    }

    .affix-top {
        position: relative;
    }

    .affix-bottom {
        position: relative;
    }
}

.affix {
}

.affix-top {
}

.affix-bottom {
    position: absolute;
}

.chat-message {
    margin-bottom: 1rem;
    background: #f5f5f5;
    border-radius: 5px;
    padding: 1rem 1.5rem 0.5rem;
}

.media-object {
    height: 40px;
    border-radius: 50%;
    border: 1px solid #cecece;
    padding: 1px;
}

.media-body {
    /*width: 160px;*/
}

.intro {
    font-size: 18px;
}

.text-tip {
    color: #777777;
    font-size: 14px;
}

.navbar-link {
    float: left;
    border-left: 1px solid #e7e7e7;
    padding: 15px;
    text-align: center;
    height: 50px;
    font-size: 18px;
}

.user-stats {
    padding: 5px 15px;
    float: left;
    white-space: nowrap;
    border-left: 1px solid #e7e7e7;
    text-align: center;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.overflow-hidden {
    overflow: hidden !important;
}

.border {
    border: 1px solid #ddd;
}

.border-right {
    border-right: 1px solid #e7e7e7;
}

.border-bottom {
    border-bottom: 1px solid #e7e7e7;
}

.border-0 {
    border: 0 !important;
}

.rounded {
    border-radius: 4px;
}

.font-12 {
    font-size: 12px;
}

.font-14 {
    font-size: 14px;
}

.font-18 {
    font-size: 18px;
}

.font-20 {
    font-size: 20px;
}

.nobr {
    white-space: nowrap;
}

.w-22 {
    width: 25px;
}

.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.m-0 {
    margin: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.m-1 {
    margin: .5rem !important;
}

.mt-1 {
    margin-top: .5rem !important;
}

.mr-1 {
    margin-right: .5rem !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.ml-1 {
    margin-left: 0.5rem !important;
}

.m-2 {
    margin: .75rem !important;
}

.mt-2 {
    margin-top: .75rem !important;
}

.ml-2 {
    margin-left: 0.75rem !important;
}

.mr-2 {
    margin-right: 0.75rem !important;
}

.mb-2 {
    margin-bottom: .75rem !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-2 {
    margin-top: .75rem !important;
    margin-bottom: .75rem !important;
}

.m-3 {
    margin: 1.5rem !important;
}

.mt-3 {
    margin-top: 1.5rem !important;
}

.my-2 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

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

.p-0 {
    padding: 0 !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.p-03 {
    padding: .15rem !important;
}

.p-05 {
    padding: .25rem !important;
}

.p-1 {
    padding: .5rem !important;
}

.pt-1 {
    padding-top: .5rem !important;
}

.px-1 {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

.py-1 {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

.px-2 {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
}

.p-2 {
    padding: .75rem !important;
}

.pt-2 {
    padding-top: .75rem !important;
}

.pb-2 {
    padding-bottom: .75rem !important;
}

.pr-2 {
    padding-right: .75rem !important;
}

.pl-2 {
    padding-left: .75rem !important;
}

.pl-3 {
    padding-left: 1rem !important;
}

.pl-4 {
    padding-left: 1.25rem !important;
}

.pl-5 {
    padding-left: 1.5rem !important;
}

.navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-nav .open .dropdown-menu {
    position: absolute;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.d-none {
    display: none !important
}

@media (min-width: 576px) {
    .d-sm-none {
        display: none !important
    }

    .d-sm-inline {
        display: inline !important
    }

    .d-sm-inline-block {
        display: inline-block !important
    }

    .d-sm-block {
        display: block !important
    }

    .d-sm-table {
        display: table !important
    }

    .d-sm-table-row {
        display: table-row !important
    }

    .d-sm-table-cell {
        display: table-cell !important
    }

    .d-sm-flex {
        display: flex !important
    }

    .d-sm-inline-flex {
        display: inline-flex !important
    }
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important
    }

    .d-md-inline {
        display: inline !important
    }

    .d-md-inline-block {
        display: inline-block !important
    }

    .d-md-block {
        display: block !important
    }

    .d-md-table {
        display: table !important
    }

    .d-md-table-row {
        display: table-row !important
    }

    .d-md-table-cell {
        display: table-cell !important
    }

    .d-md-flex {
        display: flex !important
    }

    .d-md-inline-flex {
        display: inline-flex !important
    }
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none !important
    }

    .d-lg-inline {
        display: inline !important
    }

    .d-lg-inline-block {
        display: inline-block !important
    }

    .d-lg-block {
        display: block !important
    }

    .d-lg-table {
        display: table !important
    }

    .d-lg-table-row {
        display: table-row !important
    }

    .d-lg-table-cell {
        display: table-cell !important
    }

    .d-lg-flex {
        display: flex !important
    }

    .d-lg-inline-flex {
        display: inline-flex !important
    }
}

@media (min-width: 1200px) {
    .d-xl-none {
        display: none !important
    }

    .d-xl-inline {
        display: inline !important
    }

    .d-xl-inline-block {
        display: inline-block !important
    }

    .d-xl-block {
        display: block !important
    }

    .d-xl-table {
        display: table !important
    }

    .d-xl-table-row {
        display: table-row !important
    }

    .d-xl-table-cell {
        display: table-cell !important
    }

    .d-xl-flex {
        display: flex !important
    }

    .d-xl-inline-flex {
        display: inline-flex !important
    }
}

@media (min-width:576px){.font-sm-12{font-size:12px!important}}
@media (min-width:768px){.font-md-12{font-size:12px!important}}
@media (min-width:992px){.font-lg-12{font-size:12px!important}}
@media (min-width:1200px){.font-xl-12{font-size:12px!important}}


.py-2 {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
}

.p-3 {
    padding: 1.5rem !important;
}

.pt-3 {
    padding-top: 1.5rem !important;
}

.py-3 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.px-3 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.d-flex {
    display: flex !important;
}
.flex-fill{flex:1 1 auto !important}
.col-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}
.col-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}
.col-3{flex:0 0 25%;max-width:25%}
.col-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}
.col-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}
.col-6{flex:0 0 50%;max-width:50%}
.col-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}
.col-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}
.col-9{flex:0 0 75%;max-width:75%}
.col-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}
.col-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}
.col-12{flex:0 0 100%;max-width:100%}

.d-inline-block {
    display: inline-block !important;
}

.col {
    flex-basis: 0;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
}

.u-dashed {
    border-bottom: 1px dashed;
}

.u-dashed:hover, .u-dashed:focus {
    text-decoration: none;
}

.bg-light {
    background-color: #f5f5f5;
}

.border-top {
    border-top: 1px solid #eeeeee;
}

.border-bottom {
    border-bottom: 1px solid #eeeeee;
}

.border-left {
    border-left: 1px solid #eeeeee;
}

.label-light {
    background-color: #f5f5f5;
    color: #777777;
    border: 1px solid #ddd;
}

.label-white {
    background-color: #ffffff;
    color: #777777;
    border: 1px solid #ddd;
}

.rating-avatar {
    display: inline-block;
    max-width: 70px;
    position: relative;
}

.rating-name {
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-weight: bold;
}

.rating-value {
    text-align: center;
    width: 100%;
    font-weight: bold;
}

.rating-medal {
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 25px;
    text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff;
}

.text-dark {
    color: #333;
}

main#main {
    /*height: 100%;*/
}

.list-group {
    margin-bottom: 0;
}

.panel-default .lead {
    font-weight: 200;
}

.clan-title {
    text-align: center;
    font-size: 60px;
    font-weight: 300;
    color: #0a6c39;
    text-shadow: 0 0 5px #c4c4c4;
}

main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .text-md-left {
        text-align: left;
    }

    .text-md-right {
        text-align: right;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.inactive:hover .d-flex {
    opacity: 1;
}
.inactive .d-flex {
    opacity: 0.3;
}