body {
    font-family: oswald;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: oswald;
}

.btn {
    font-size: 16px;
}


.navbar .navbar-collapse.collapse.in,
.navbar .navbar-collapse.collapsing {
    max-height: fit-content;
}

/* table-borderless bootstrap */
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.mt-4 {
    margin-top: 1.5rem;
}

button.btn.ahm-button-big {
    margin-left: 0;
}

/* Medium Devices */
@media (max-width: 992px) {
    .group-class {
        text-align: center !important;
        margin-bottom: 30px;
    }

    .parallax.upcoming-class {
        height: 500px !important;
    }

    section .container.upcoming-class {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.detail-class {
    padding: 10px;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title p {
    color: #444;
}

/* Fix portfolio image di thumbnail kelas */
.ahm-round {
    font-size: 16px;
    padding: 5px;
    margin-top: 10px;
    min-width: 65%;
    width: 65%;
    min-height: 55px;
    white-space: normal;
    line-height: 1.25em;
    display: inline-grid;
    align-items: center;
}

    .ahm-round span {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

img.ahm-kelas {
    height: 85%;
    width: 85%;
    top: -15px;
    margin: 0 auto;
}

/*.portfolio-item:hover img {*/
/*-webkit-transform: none;*/
/*-moz-transform: none;*/
/*transform: none;*/
/*}*/

.portfolio-item {
    border: 1px solid #92DFF3;
}

    .portfolio-item .overlay-info {
        margin-top: 55px;
    }

@media only screen and (max-width: 720px) {
    .ahm-round {
        font-size: 14px;
    }
}

/* Fixing qr code footer */
img.ahm-code {
    top: 40px;
    margin: auto;
}

/* Fixing scroll calendar */
.fc-scroller {
    height: auto !important;
    overflow-y: auto;
}

.btn-usr, .btn-pwd {
    color: #333;
    height: 48px;
    top: -5px;
    left: -2px;
    background-color: #fff;
}

    .btn-pwd.focus, .btn-pwd:focus, .btn-pwd:hover {
        color: #FC0000;
        text-decoration: none;
    }

.round-left {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
    -moz-border-radius-topleft: 3px !important;
    -moz-border-radius-bottomleft: 3px !important;
    -webkit-border-top-left-radius: 3px !important;
    -webkit-border-bottom-left-radius: 3px !important;
}

.round-right {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    -moz-border-radius-topright: 3px !important;
    -moz-border-radius-bottomright: 3px !important;
    -webkit-border-top-right-radius: 3px !important;
    -webkit-border-bottom-right-radius: 3px !important;
}

/* Fixing icon home */
i.fa.fa-home {
    color: white;
    font-size: 20px;
    bottom: -15px;
    position: relative;
}

/* Fixing spacing caption parallax */
.intro .caption {
    padding: 100px;
}

    .intro .caption h3 {
        margin-bottom: 20px;
        line-height: 42px;
    }

@media only screen and (max-width: 767px) {
    .intro .caption {
        padding: 40px;
    }

        .intro .caption h3 {
            line-height: 32px;
        }
}

/* Fixing spacing caption container */
section .container {
    /**/
    padding-top: 100px;
    padding-bottom: 25px;
}

.section-title p {
    margin-bottom: 0;
}

/* Fixing title-class */
.section-title h2 {
    font-size: 40px;
}

/* Fixing btn detail-class */
.detail-class:focus, .detail-class:hover {
    color: #FE0021;
    text-decoration: none;
    cursor: pointer;
}

/* Fixing calendar title  */
.safety-form {
    left: 0px;
}

/* Fixing btn title login  */
.form-wrap form .button {
    padding: 10px;
}

/* Fixing icon logout  */
i.fa.fa-sign-out-alt {
    color: white;
    font-size: 20px;
    top: 5px;
    position: relative;
}

/* Fixing owl carousel  */
.owl-prev {
    background-color: transparent;
}

.owl-next {
    background-color: transparent;
}

/* Fixing btn scroll top  */
#scrollTop div {
    width: 37px;
    height: 37px;
}

/* Fixing ahm label and img on mobile view  */
.ahmLogo-sm {
    position: absolute;
    bottom: 6px;
    left: 15px;
}

.ahmLogo-sm-label {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.ahmLogo-sm-img {
    height: 20px;
}

#scrollTop {
    color: grey;
}

    #scrollTop:hover {
        color: white;
    }
