a,
a:hover,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
}

#nav-book {
    position: fixed;
    z-index: 999;
    display: block;
    width: 100%;
    background-color: white;
    top: 0;
    left: 0;
}

.display {
    height: 100vh;
    width: 100%;
    position: relative;
    display: block;
}

.display-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.display-top {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.display-middle.fix {
    position: fixed !important;
    width: 50%;
    top: 25%;
    left: auto;
    transform: none !important;
    -ms-transform: none !important;
}

.display-bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.bg-gd {
    background-image: url(asset/Register.JPG);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.bg-home {
    background-image: url(bookbuddy/bg.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}

.box-head {
    text-align: center;
    position: relative;
    width: 100%;
}

.box-head span {
    background-color: white;
    display: inline-block;
    padding: 6px 18px;
    z-index: 9;
}

.box-head::after {
    content: '';
    border-top: 1px solid #ccc;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    display: block;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.box-head span {
    background-color: white;
    display: inline-block;
    padding: 6px 18px;
    z-index: 9;
}

.box-head span img {
    height: 70px;
}

.content {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.owl-carousel {
    padding: 18px 56px;
    position: relative;
}

.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(-0%, -50%);
}

.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(-0%, -50%);
}

.owl-carousel .owl-nav .owl-prev img,
.owl-carousel .owl-nav .owl-next img {
    height: 70px;
}

.sm-hide {
    display: initial;
}

.md-hide {
    display: none;
}

.logo {
    height: 46px;
}

.menu-sm {
    min-height: 120px;
    position: absolute;
    z-index: 9;
}

.input-reg {
    background-color: unset;
    border: 2px #ccc solid;
    border-radius: 16px;
}

.input-reg::placeholder {
    color: white;
    opacity: 1;
}

.main-page {
    padding-top: 75px;
}

.profile-main {
    background-image: url('bookbuddy/my profile/tab.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    /* width: 100%; */
    left: 0;
    /* top: 0; */
    display: block;
    color: white;
}

.profile-form {
    width: 75%;
}

.p-btn {
    height: 50px;
}

.btn-book {
    color: #fff;
    border: 1px solid #b4cfe3;
    background-color: rgb(180, 207, 227);
    background-image: linear-gradient(25deg, #b4cfe3 20%, #d59dbb 80%);
    /* text-transform: uppercase; */
    transition: 0.5s;
    background-size: 200% auto;
    font-weight: 500;
}

.btn-book:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.dis-table {
    width: 100%;
    display: table;
}

.dis-fix-50 {
    width: 50%;
    display: table-cell;
    vertical-align: middle;
}

.pointer {
    cursor: pointer;
}

@media (max-width:600px) {
    .sm-hide {
        display: none;
    }
    .md-hide {
        display: initial;
    }
    .logo {
        height: 24px;
    }
    .main-page {
        padding-top: 70px;
    }
    .profile-main {
        background-image: none;
        position: relative;
        color: black;
    }
    .profile-form {
        width: 100%;
        background-image: url('bookbuddy/my profile/tab.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
    }
    .p-btn {
        height: 30px;
    }
    .dis-table {
        width: 100%;
        display: table;
    }
    .dis-fix-50 {
        width: 100%;
        display: block;
        vertical-align: middle;
    }
    .display {
        height: 50vh;
        width: 100%;
        position: relative;
        display: block;
    }
    .display-middle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }
    .display-middle.fix {
        position: absolute !important;
        width: 100%;
        top: 15%;
        left: auto;
        transform: none !important;
        -ms-transform: none !important;
    }
}

.select2-container .select2-selection--single {
    height: 35.59px;
}

.select2-container--default .select2-selection--single {
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px;
    right: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
}