/* Override default styles from template */
html {
  font-size: 14px;
}

/* _Layout.cshtml styles */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* End: _Layout....      */

@media (min-width: 768px) {
    
    html { font-size: 16px; }

    /* Begin - Main Menu */
    .navigation-row {
        display: flex;
        justify-content: center;
        float: unset;
    }
    #nav li a {
        font-size: 18px !important;
    }
    /* End - Main Menu */

    /* Begin - Header */
    #header .container {
        width: 100% !important;
    }
    /* End - Header */

    /* Begin - Top Menu */
    .top-menu {
        margin-top: 20px !important
    }
    /* Search Button at top */
    .search-holder {
        padding-top: 13px !important;
    }
    /* End - Top Menu */

    /* Begin - Home Page */
    .heading-center strong.title {
        font: 400 35px / 18px 'Poppins', sans-serif;
    }
    /* End - Home Page */
}

@media (max-width: 767px) {
    /* Begin - Home Page */
    .heading-center strong.title {
        font: 400 25px / 18px 'Poppins', sans-serif;
    }
    /* End - Home Page */
}

@media (min-width: 1199px) {
    /* Begin - Owl-Carousel (Rotating Images) on home page */
    #banner .owl-carousel .owl-nav button.owl-next {
        top: 100px;
    }
    #banner .owl-carousel .owl-nav button.owl-prev {
        top: 100px;
    }
    /* End - Owl-Carousel (Rotating Images) on home page */
}

/* Begin - Prayer Timings Section */

.timing-box .text-holder {
    padding: 20px 0 0 0;
    line-height: 2;
}
.timing-box .shape-1:before {
    transform: rotate(90deg) !important
}
.timing-box .shape-1:after {
    transform: rotate(90deg) !important;
    background-color: #f5deb3 !important;
}
/* End - Prayer Timings Section */

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

    html {
        position: relative;
        min-height: 100%;
    }

    body {
        margin-bottom: 60px;
    }

    /* Begin - Home Gallery styles on Home Page */

    .home-gallery .dx-tileview {
        position: relative;
        margin: auto;
        left: 60px;
        /*right: 0;
    width: 50%;*/
    }

    /*.dx-tileview-wrapper*/


    .home-gallery .dx-widget {
        line-height: unset !important;
    }

    .home-gallery .dx-scrollable-container {
        height: unset !important;
        /*background: url(../images/our-vision-bg.jpg) no-repeat left top/cover;*/
        background: url(../images/our-vision-bg.jpg);
    }

    .home-gallery .dx-scrollable-content {
        background: url(../images/our-vision-bg.jpg);
    }

    .home-gallery .gallery-widget-container {
        margin-right: 240px;
    }

    #gallery {
        margin: auto;
        max-width: 450px;
    }

    .home-gallery .dx-tile-content {
        height: 100%;
        padding: 0;
        position: relative;
    }

        .home-gallery .dx-tile-content .image {
            height: 100%;
            width: 100%;
            background-position: center;
            background-size: cover;
            padding: 10px;
            display: block;
        }

    .home-gallery .dx-tile {
        border: 1px solid #999;
    }

        .home-gallery .dx-tile.dx-state-hover {
            border-color: #eee;
        }

    .home-gallery .dx-tile-content .gallery-img-title {
        font-size: 12px;
        position: absolute;
        background-color: black;
        color: white;
        opacity: 0.6;
        padding: 2px;
        left: 9px;
        top: 9px;
    }

    .dx-gallery .dx-gallery-nav-button-next, .dx-gallery .dx-gallery-nav-button-prev {
        height: 10% !important;
        top: 45% !important;
    }

        .dx-gallery .dx-gallery-nav-button-next.dx-state-hover:after, .dx-gallery .dx-gallery-nav-button-prev.dx-state-hover:after {
            /*background-color: rgba(51,122,183,.5)*/
            background-color: #ffad05 !important;
        }

    #photo-gallery {
        /* min-height: 20em; */
        overflow: hidden;
    }

        #photo-gallery .dx-gallery-item-image {
            /* min-height: 100%; */
            /* min-height: 20em; */
            max-height: 100%;
            min-height: 1px;
            max-width: 100%;
            height: auto;
            margin: auto;
        }

        #photo-gallery .dx-gallery-item-content {
            align-items: center;
        }

    /* End - Home Gallery styles on Home Page */

    /* Begin - Recaptcha Styles */
    .contact-form-recaptcha {
        float: right;
        padding-bottom: 15px;
    }
    /* End - Recaptcha Styles */

    /* Begin - Error/Message/Display */
    .message-content-block {
        width: 100%;
        margin: 5px;
        padding-bottom: 15px;
    }
    .message-content-block button {
        height: 25px !important;
        float: right;
    }
    /* End - Error/Message/Display */

    /* Begin - DevExtreme Popup Styles */
    .dx-popup-title.dx-toolbar {
        background-color: #ffad05;
    }

    .dx-popup-content {
        background-color: #ccc;
    }

    /* End = DevExtreme Popup Styles */

    /* Begin - Details Section on multiple pages e.g. Announcement, Events */
    #details-section {
        border-color: transparent;
    }
    /*#details-section .dx-htmleditor {
        border-color: transparent;
    }*/
    #details-section img {
        max-width: 99%;
        height: auto;
        width: auto\9; /* ie8 */
    }
    /* End - Details Section on multiple pages e.g. Announcement, Events */

    /* Begin - Events Page */
    .event-img {
        max-width: 99%;
        height: auto;
        width: auto\9; /* ie8 */
    }
    /* End - Events Page */

    /* Begin - Common */
    .cf-box .frame span.weekday {
        font-size: 20px;
    }
    .cf-box .frame span.datenum {
        font-weight: bolder;
        font-size: 45px;
        color: #ffad05;
    }
    .cf-box .frame span.monthofyear {
        font-size: 20px;
    }
    /* End - Common */