@font-face {
    font-family: 'Subscribe';
    src: url('/assets/iof/fonts/subscribe.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'TrailerTT';
    src: url('/assets/iof/fonts/TrailerTT.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

html {
    overflow-x: hidden;
}

body {

}

hr {
    color: #81dbcc;
    border-top: #ccc solid;
}

.font-tt {
    font-family: TrailerTT, sans-serif;
}

.font-subscribe {
    font-family: Subscribe, sans-serif;
}

.web-title {
    font-size: 50px;
    font-weight: 600;
    color: #555;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-area img {
    max-width: 300px;
}

.content-wrapper {
    flex-grow: 0;
}

.brand {
    margin-left: 6px;
    font-weight: 600;
    color: #444;
}

.item {
    width: 100%;
}

.btn-primary, .bg-soft-primary {
    background-color: #81abff !important;
}

.btn-primary {
    border-color: #81abff;
}

.btn-primary:hover {
    border-color: #81abff;
}

.iof-header {
    display: flex;
    justify-content: space-between;
}

.iof-header-right {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.iof-header-right .year{
    line-height: 15px;
    margin-right: 8px;
}

.request-btn {
    margin-left: 10px;
    padding: 5px;
    font-size: 30px;
    color: #81abff;
}

.iof-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.iof-filter-left, .iof-filter-right {
    display: flex;
    align-items: center;
}

.iof-filter-left .list-inline li a {
    font-size: 18px;
}

.iof-filter-right {
    justify-content: flex-end;
}

.iof-year, .iof-year:hover, .iof-year:active {
    background-color: #fff !important;
}

.iof-year.active {
    background-color: #fff;
    color: #81abff;
}

.iof-filter-holding {
    display: flex;
    margin-right: 10px;
    padding-left: 5px;
    padding-right: 5px;
    color: #fff;
}

.form-check-input:checked {
    background-color: #3f78e0;
    border-color: #bbb;
}

.iof-search {
    margin-right: 5px;
}

.iof-item {
    background-color: #fff;
    border: 5px solid #000;
    border-radius: 15px;
    margin-bottom: 15px;
}

.iof-item-img {
    position: relative
}

.iof-item-img img{
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.iof-item-img .iof-item-no {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: #fff;
    border: 2px solid #aaa;
    border-radius: 20px;
    color: #aaa;
    font-size: 12px;
    padding: 5px;
    min-width: 60px;
    text-align: center;
}

.iof-item-detail {
    padding-left: 14px;
    padding-right: 14px;
}

.iof-item-detail .name {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
}

.iof-item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.iof-item-info div {
    width: 50%;
}

.iof-item-info .iof-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.iof-item-info .iof-social img {
    max-width: 30px;
    max-height: 30px;
    margin-right: 8px;
    border-radius: 20px;
    border: 2px solid #000;
}

.tooltip {
    --bs-tooltip-padding-x: 0.5rem;
    --bs-tooltip-padding-y: 0.2rem;
    --bs-tooltip-color: #3f78e0;
    --bs-tooltip-bg: #e0e9fa;
    font-size: 14px;
}

.iof-item-info .iof-social a {
    color: inherit;
}

.iof-item-info .iof-social span.gray i::before {
    color: #ccc;
}

.iof-item-detail .iof-item-holding i:before {
    font-size: 14px;
    color: #fff;
}

.iof-item-detail .iof-item-holding div {
    background-color: #eee;
    padding: 5px;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

.iof-item-btn .btn {
    width: 100%;
}

div.dt-container div.dt-length select {
    min-width: 70px;
}

#iof-popup-head {
    display: flex;
    align-items: center;
}

#iof-popup-head-l {
    max-width: 150px;
}

#iof-popup-head-l img{
    border: 0px;
    border-radius: 5px;
}

#iof-popup-head-r {
    font-size: 16px;
    margin-left: 8px;
}

#iof-popup-row {
    display: flex;
    align-items: center;
}

#iof-popup-row-l {
    width: 50%;
}

#iof-popup-row-r {
    width: 50%;
}

#iof-popup-history {
    padding: 10px 0px;
}

#iof-popup-date {
    font-weight: 600;
}

#iof-popup-list {
    display: flex;
    justify-content: space-between;
}

#modal-history .modal-header {
    padding-top: 5px;
    padding-bottom: 5px;
}

.modal .submit-rules {
    margin-top: 10px;
    margin-bottom: 10px;
}

.modal .submit-btn-area {
    margin-top: 8px;
    margin-bottom: 8px;
}

.modal .request-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #efefef;
    margin-top: 24px;
}

.modal .request-bottom-left, .modal .request-bottom-right {
    padding-top: 20px;
    width: 50%;
}

.modal .request-bottom-left a, .modal .request-bottom-right a {
    color: inherit;
}

.modal .profile {
    display: flex;
    align-items: center;
    margin-top: 18px;
}

.modal .profile .pfp img {
    max-width: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.modal .profile .name {
    font-size: 14px;
    font-weight: 600;
}

.modal .profile .social i {
    color: #ccc;
}

.modal .owner .pfp img {
    max-width: 60px;
}

.modal .owner .profile .name {
    font-size: 20px;
}

@media (max-width: 992px) {
    
    .logo-area img {
        max-width: 240px;
    }
    
    .iof-filter {
        display: block;
    }
    
    .request-btn {
        font-size: 22px;
    }
    
    .iof-filter-right {
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .iof-search {
        order: 1;
        width: 100%;
        margin-bottom: 10px;
    }

    .iof-filter-holding {
        order: 3;
        width: 50%;
        margin-right: 0px;
        justify-content: flex-end;
    }

    .iof-sort {
        order: 2;
        width: 50%;
    }

    .iof-filter-right .iof-search {
        margin-right: 0px;
    }

    .iof-filter-right .iof-search, .iof-filter-holding, .iof-filter-right .iof-sort {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

}

@media (max-width: 767px) {
    .web-title {
        font-size: 38px;
    }
    
    .logo-area img {
        max-width: 200px;
    }
}

@media (max-width: 398px) {
    .year {
        display: none;
    }
}