/**
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'font1';
    src: url(fonts/avenir.woff2);
}

@font-face {
    font-family: 'font2';
    src: url(fonts/brandon.woff2);
}

@font-face {
    font-family: 'big-caslon'; 
    src: url(fonts/big-caslon.woff2);
}

@font-face {
    font-family: "times"; 
    src: url(fonts/times.woff2);
} 

@font-face {
    font-family: 'Uthman Naskh';
    src: local('KFGQPC Uthman Taha Naskh'),
         url(fonts/UthmanTN1.woff2) format('woff2'),
         url(fonts/UthmanTN1.woff) format('woff');
}

@font-face {
    font-family: 'Uthman Naskh';
    font-weight: bold;
    src: local('KFGQPC Uthman Taha Naskh Bold'),local('KFGQPCUthmanTahaNaskh-Bold'),
         url(fonts/UthmanTN1B.woff2) format('woff2'),
         url(fonts/UthmanTN1B.woff) format('woff');
}
@font-face {
    font-family: 'Uthman Hafs';
    src: local('KFGQPC Uthmanic Script HAFS'),
         url(fonts/UthmanicHafs1.woff2) format('woff2'),
         url(fonts/UthmanicHafs1.woff) format('woff');
}

@font-face {
    font-family: 'QPC Symbols';
    src: local('KFGQPC Arabic Symbols 01'),
         url(fonts/Symbols.woff2) format('woff2'),
         url(fonts/Symbols.woff) format('woff');
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Thin.woff2')  format('woff2'),
         url('https://fonts.googleapis.com/css2?family=Lato:wght@100&display=swap');
    font-weight: normal;
    font-style: normal;
    font-weight: 100;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url(fonts/Lato-Light.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

body {
    display: grid;
    grid-template-areas: "header" "introduction" "latest" "detail" "activities" "objectives" "past-events" "quote-2" "hope-events" "upcoming-event" "quote-1" "hope-support" "support" "contact" "map" "footer";
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    background: #fff;
    color: #000;
    font-family: Helvetica, Arial;
    text-align: center;
    /*
    scroll to next section
    */
    /*scroll-snap-type: y proximity;
    scroll-snap-stop: always;
    overflow-y: scroll;*/
    
}

header {
    grid-area: header;
    background-color: #fff;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 10px;
}

header .wrapper {
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: left;
}

header a {
    text-decoration: none;
}

.heading {
    float: left;
}

.main {
    text-align: left;
    display: inline-block;
    vertical-align: middle;
}

#logo {
    display: inline-block;
    vertical-align: middle;
    width: 120px;
    height: 120px;
}

header .site-name {
    font-size: 1.5em;
    color: #181818;
    font-weight: normal;
    font-family: font1;
    font-size: 40px;
    font-kerning: auto;
    text-align: left;
    display: inline;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: start;
    line-height: 1.35em;
}

header .site-motto {
    left: 30px;
    color: #181818;
    letter-spacing: normal;
    font-size: 15px;
    font-family: font2, sans-serif;
    vertical-align: baseline;
    text-align: left;
    line-height: 1.875em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.clear {
    clear: both;
}

hr {
    border: none;
    height: 1px;
    color: #333;
    background-color: #333;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    margin-bottom: 10px;
}

.menu {
    line-height: 30px;
    color: #2F2F2F;
    transition: color 0.4s ease 0s;
    padding: 0 10px;
    font-size-adjust: none;
    line-height: 1.79em;
    font-kerning: auto;
    font-optical-sizing: auto;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    overflow: visible;
    white-space: nowrap;
    width: 100%;
    height: 100%;
    color: #181818;
    text-align: left;
    letter-spacing: normal;
    font-size: 14px;
    font-family: font2, sans-serif;
}

nav {
    list-style: none;
    list-style-position: outside;
    list-style-image: none;
    list-style-type: none;
}

body nav ul li {
    display: inline;
    font-size: 14px;
    font-family: font2, sans-serif;
    padding-left: 0.5%;
    padding-right: 0.5%;

    padding-bottom: 0;
    
}

nav ul li:hover {
    background: #eee /* #356bb2*/;
    border-radius: 5px;
}

nav ul li:hover a {
    background: #eee /* #356bb2*/;
    border-radius: 5px;
}

nav ul li:active {
    background: #356bb2;
    color: #fff;
    border-radius: 5px;
}

nav ul li a.selected {
    text-decoration: underline;
}

.social-contacts {
    float: right;
    text-align: right;
    padding-top: 0px;
    padding-right: 5px;
    padding-bottom: 0px;
    padding-left: 5px;
}


.social-contact img {
    filter: invert(100%);

    margin: 0 0.5em;
}

#facebook {
    width: 30px;
}

#facebook:hover, #facebook:active {
    background: none;
}

#facebook:hover > img, #facebook:active > img {
    filter: invert(37%) sepia(71%) saturate(4108%) hue-rotate(204deg) brightness(99%) contrast(92%);
}

#youtube {
    width: 50px;
}

#youtube:hover, #youtube:active {
    background: none;
}

#youtube:hover > img, #youtube:active > img {
    filter: invert(11%) sepia(84%) saturate(7489%) hue-rotate(358deg) brightness(96%) contrast(112%);
}


#phone {
    width: 100px;
}

#email {
    width: 180px;
}

#acronym {
    font-family: times;
}


/* Hide Menu bar for responsive design */

#menuShowHide {
    position: absolute;
    left: -999em;
}

/* Responsive design */

@media screen and (max-width:600px) {
    body {
        padding: 0;
    }
    #mainMenu {
        display: none;
        overflow: hidden;
        /* wrap floats and margins */
        position: fixed;
        background-color: #fff;
        width: 100%;
        height: 100%;

        top: 4em;
        right: 0;

        opacity: 0.93;
    }
    #mainMenu li {
        float: left;
        width: 50%;
        opacity: 1!important;
    }
    #mainMenu a {
        display: block;
        padding: 0.75em;
        margin: 0.25em;
        background: #eee;
        opacity: 1!important;
    }
    #menuShowHide+label {
        position: fixed;
        top: 10px;
        right: 10px;
        float: right;
        padding: 0.5em;
        /*
        margin:-4.75em 0.5em 0;
        */
        border: 2px solid #FFF;
        background: #356bb2;
        color: #FFF;
        border-radius: 0.5em;
        z-index: 99;
    }

    #menuShowHide+label:after, #menuShowHide+label:before {
        content: "";
        display: block;
        width: 2em;
        height: 0.5em;
        border: solid #FFF;
        border-width: 0.25em 0;
    }

    #menuShowHide+label:after {
        border-top: 0;
    }
      
    #menuShowHide:checked~#mainMenu {
        display: block;
    }
    
    #logo {
        height: 50px;
        width: 50px;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
    h1 {
        font-size: 20px;
    }
    body h1 {
        font-size: 28px !important;
    }
    body h3 {
        line-height: 1.25em;
        font-size: 18px !important;
    }
    body h4 {
        line-height: 1.25em;
        font-size: 18px !important;
    }
    body p {
        line-height: 1.875em;
        font-size: 14px !important;
    }
    body ul li {
        line-height: 1.875em;
        font-size: 14px !important;
    }
    header .site-name {
        display: block;
        font-size: 20px;
        text-align: center !important;
        line-height: 1.35em;
        word-wrap: break-word;
        padding-top: 1em;
    }
    header .site-motto {
        font-size: 14px;
        text-align: center;
        line-height: 1.875em;
        padding-top: 2em;
    }
    .wrapper {
        max-width: 275px;
    }
    .menu > hr {
        display: none;
    }
    td {
        line-height: 1.875em;
        font-size: 14px !important;
    }
    .pointer {
        width: 20px !important;
        height: 20px !important;
    }
    .ongoing-activities {
        grid-template-areas: "activity-heading" "activity1-image" "activity1" "activity2-image" "activity2" "activity3-image" "activity3" "activity4-image" "activity4" /*"activity5-image" "activity5" "activity6-image" "activity6"*/!important;
        grid-template-columns: 1fr!important;
    }
    .upcoming-events {
        grid-template-areas: "upcoming-event-heading" "upcoming-event-1" "upcoming-event-2" "upcoming-event-3"!important;
        grid-template-columns: 1fr!important;
    }
    @media(hover:hover) and (pointer:fine){
        button:hover, button:active {
            background: #000;
            color: white;
        }
    }
    /* Responsive Program page styles - start */
    .hope-introductions {
        grid-template-areas: "hope-heading" "hope1" "hope2" "hope3" "hope4"!important;
        grid-template-columns: 1fr!important;
    }
    .hope-supports {
        grid-template-areas: "hope-support-heading" "hope-support1" "hope-support2" "hope-support3"!important;
        grid-template-columns: 1fr!important;
    }
    /* Responsive Program page styles - end */
    /* Responsive Aid page styles - start */
    .aid-highlights>img {
        display: list-item!important;
    }
    .aid-highlights>h3 {
        display: block!important;
        text-align: center!important;
    }
    .aid-highlights>ul>li {
        text-align: center!important;
    }
    .image-juxtapose {
        grid-template-areas: "image" "text"!important;
        grid-template-columns: 1fr!important;
    }
    .text-half>h3 {
        text-align: center!important;
    }
    .text-half>ul>li {
        text-align: center!important;
    }
    /* Responsive Aid page styles - End*/
    /* Slider properties - start  */
    .slide-wrap {
        max-width: 600px!important;
    }

    .upi-pay img {
        width: 300px;
    }

    #map-image img {

        width: 100vw; 
        height: 56.25vw;
        object-fit: contain;
    }

    #map-image .full-image {
        display: none!important;
    }

    #map-image .small-image {
        display: block!important;
    }

    .scroll-over {
        background-attachment: scroll;
        height: unset;
    }
    
}

/*

*/

h1 {
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: lighter;
}

h2 {
    margin: 20px 0;
}

p {
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.description {
    margin-bottom: 40px;
}

.content {
    margin-bottom: 40px;
}

.arabic {
    font-family: 'Uthman Naskh', serif;
    font-size: 22px;
}

body h1 {
    margin: 0 auto;
    text-align: center;
    font-family: 'font1';
    font-size: 72px;
    text-transform: uppercase;
    padding-right: 10px;
    padding-left: 10px;
    max-width: 780px;
}

body h3 {
    margin: 0 auto;
    text-align: center;
    font-family: 'Lato';
    font-size: 40px;
    font-weight: lighter;
    line-height: 1.35em;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 10px;
    padding-left: 10px;
    max-width: 780px;
}

body h4 {
    margin: 0 auto;
    text-align: center;
    font-family: 'font1';
    font-size: 40px;
    text-transform: uppercase;
    line-height: 1.35em;
    padding-top: 40px;
    padding-bottom: 40px;
    font-weight: lighter;
    max-width: 780px;
}

body p .subtitle {
    margin: 0 auto;
    text-align: center;
    font-family: 'font1';
    font-size: 20px;
    padding-bottom: 40px;
    padding-right: 10px;
    padding-left: 10px;
    max-width: 780px;
}

body p {
    margin: 0 auto;
    text-align: center;
    line-height: 1.67em;
    width: 100%;
    font-family: 'font2';
    font-size: 18px;
    padding-bottom: 40px;
    padding-right: 10px;
    padding-left: 10px;
    max-width: 780px;
}

body ul li {
    list-style-type: none;
    margin: 0 auto;
    text-align: center;
    line-height: 1.67em;
    width: 100%;
    font-family: 'font2';
    font-size: 18px;
    padding-bottom: 20px;
}

.introduction {
    grid-area: introduction;
    padding-top: 2em;
    background: #eee;
    scroll-snap-align: start;
}


.latest {
    grid-area: latest;
    padding-top: 5em;
    padding-bottom: 5em;
    padding-right: 10px;
    padding-left: 10px;
    background-color:  #fff;
    color: #000;
    scroll-snap-align: start;
}

.detail {
    grid-area: detail;
    padding-top: 5em;
    padding-bottom: 5em;
    padding-right: 10px;
    padding-left: 10px;
    background-color: #000;
    color: #fff;
    scroll-snap-align: start;
}

.activities {
    grid-area: activities;
    background-color: #fff;
    color: #000;
    scroll-snap-align: start;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-right: 10px;
    padding-left: 10px;
}

.ongoing-activities {
    display: grid;
    grid-template-areas: "activity-heading activity-heading" "activity1 activity1-image" "activity2-image activity2" "activity3 activity3-image" "activity4-image activity4" /*"activity5 activity5-image" "activity6-image activity6"*/;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2em;
    margin: 2em;
}

.ongoing-activity {
    background-color: #eee;
    color: #000;
    padding: 1em;
    scroll-snap-align: start;
}

.ongoing-activity p {
    max-width: 60%;
}

.ongoing-activity:nth-child(2n+0) {
    background-color: #000;
    color: #fff;
}

.activity-heading {
    grid-area: activity-heading;
}

.activity1 {
    grid-area: activity1;
}

.activity1-image {
    grid-area: activity1-image;
}

.activity2 {
    grid-area: activity2;
}

.activity2-image {
    grid-area: activity2-image;
}

.activity3 {
    grid-area: activity3;
}

.activity3-image {
    grid-area: activity3-image;
}

.activity4 {
    grid-area: activity4;
}

.activity4-image {
    grid-area: activity4-image;
}

.activity5 {
    grid-area: activity5;
}

.activity5-image {
    grid-area: activity5-image;
}

.activity6 {
    grid-area: activity6;
}

.activity6-image {
    grid-area: activity6-image;
}

.hope-activity {
    padding: 1em 2em;
}

.upcoming-event-section {
    grid-area: upcoming-event;
    background-color: #fff;
    color: #000;
    padding-right: 0.5em;
    padding-left: 0.5em;
    padding-top: 40px;
    padding-bottom: 80px;
    scroll-snap-align: start;
}

.upcoming-events {
    display: grid;
    grid-template-areas: "upcoming-event-heading upcoming-event-heading upcoming-event-heading" 
                            "upcoming-event-1 upcoming-event-2 upcoming-event-3";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.3em;
    margin: 1em;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

.upcoming-event {
    /*position: relative;*/
    background-color: #000000;
    color: #fff;
    padding-top: 5em;
    padding-bottom: 1em;
    scroll-snap-align: start;



    justify-content: space-between;
    flex-direction: column;

    display: flex;
}

.upcoming-event-title {
    max-width: 60%;
    padding-bottom: 1em;
    margin: 0 auto;

    text-align: center;
    line-height: 1.67em;
    font-family: 'font1';
    font-size: 28px;
}

.upcoming-event-description {

    display: none;
    max-width: 60%;
    margin-bottom: 1em;
    padding-bottom: 1em;

    margin: 0 auto;

    text-align: center;
    line-height: 1.67em;
    font-family: 'font2';
    font-size: 18px;
}

.upcoming-event-contact {

    max-width: 60%;
    margin-top: 1em;
    margin-bottom: 4em;
    padding-bottom: 1em;

    margin: 0 auto;

    text-align: center;
    line-height: 1.67em;
    font-family: 'font2';
    font-size: 18px;
}

.upcoming-event-date-time {

    max-width: 60%;

    margin-top: 4em;
    margin-bottom: 1em;

    padding-top: 1.5em;
    padding-bottom: 1.5em;

    margin: 0 auto;

    text-align: center;
    line-height: 1.67em;
    font-family: 'font2';
    font-size: 15px;

    white-space: pre-wrap;
}

/*
.upcoming-event-date {

    display: none;
    max-width: 60%;
    margin-bottom: 1em;
    padding-bottom: 1em;

    margin: 0 auto;

    text-align: center;
    line-height: 1.67em;
    font-family: 'font2';
    font-size: 18px;
}

.upcoming-event-time {

    display: none;
    max-width: 60%;
    margin-bottom: 1em;
    padding-bottom: 1em;

    margin: 0 auto;

    text-align: center;
    line-height: 1.67em;
    font-family: 'font2';
    font-size: 18px;
}
*/

.upcoming-event-title:hover + .upcoming-event-description {
    display: block;
    transition: 0.5;
}

/*
.upcoming-event>p {
    max-width: 60%;
    margin-bottom: 1em;

    transition: 0.5s;
}

/*
.upcoming-event-1 >p::before {
    content: 'Asma Wa Sifaat';

    transition: 0.5s;
}

.upcoming-event-1:hover >p::before {
    content: '';
    transition: 0.5s;
}
      
.upcoming-event-1:hover >p:after {
    content: 'Lessons on Asma Wa Sifaat by Shaikh Abu Quhafah Muadh Umri Nazeeri , every Saturday after Maghrib Salah';
    transition: 0.5;
}

.upcoming-event-2 >p::before {
    content: 'Fiqh ud Dawah';
}

.upcoming-event-2:hover >p::before {
    content: '';
}
      
.upcoming-event-2:hover >p:after {
    content: '“Fiqh ud Dawah” By Shaikh Dr Abdullah Jolum Madani , every Wednesday after Maghrib Salah';
}

.upcoming-event-3 >p::before {
    content: 'Mercy to Mankind';
}

.upcoming-event-3:hover >p::before {
    content: '';
}
      
.upcoming-event-3:hover >p:after {
    content: '“Mercy to Mankind” - Brief Biography of the Prophet , (Exclusively for Non Muslims) by Haafidh Labeeb , every Sunday , after Maghrib Salah';
}
*/

.upcoming-event a {
    text-decoration: none;
}
.upcoming-event button {
    color: #fff;
    border: solid rgba(255,255,255,1) 1px;

    justify-content: flex-end;
    display: flex;
}

.upcoming-event button:hover, .upcoming-event button:active {
    background-color: #fff;
    color: #000;
}

.upcoming-events-heading {
    grid-area: upcoming-event-heading;

    margin: 0 auto;

    font-family: 'font1';
    font-size: 40px;

    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

.upcoming-event-1 {
    grid-area: upcoming-event-1;
}

.upcoming-event-2 {
    grid-area: upcoming-event-2;
}

.upcoming-event-3 {
    grid-area: upcoming-event-3;
}

/* Initiatives page style - Start */

.hope {
    grid-area: activities;
    background-color: #eee;
    /*background-color: #0ac973;*/
    color: #000;
    scroll-snap-align: start;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-right: 10px;
    padding-left: 10px;
}

.hope-introductions {
    display: grid;
    grid-template-areas: "hope-heading hope-heading" "hope1 hope2" "hope3 hope4";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2em;
    margin: 2em;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
}

.hope-introduction {
    background-color: #fff;
    color: #000;
    padding-top: 20px;
    padding-bottom: 20px;
    scroll-snap-align: start;
}

.hope-introduction p {
    max-width: 60%;
}

.hope-heading {
    grid-area: hope-heading;
    
}

.hope1 {
    grid-area: hope1;
}

.hope2 {
    grid-area: hope2;
}

.hope3 {
    grid-area: hope3;
}

.hope4 {
    grid-area: hope4;
}

.hope-events {
    grid-area: hope-events;
    color: #fff;
    background-color: #000;
    padding-top: 40px;
    padding-bottom: 40px;
    scroll-snap-align: start;
}

.hope-supports {
    display: grid;
    grid-template-areas: "hope-support-heading hope-support-heading hope-support-heading" "hope-support1 hope-support2 hope-support3";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.3em;
    margin: 1em;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

.hope-support {
    /*position: relative;*/
    background-color: #eee;
    color: #000;
    padding-top: 5em;
    padding-bottom: 1em;
    scroll-snap-align: start;

    justify-content: space-between;
    flex-direction: column;

    display: flex;
}

.hope-support>p {
    max-width: 60%;
    margin-bottom: 3em;
}

.hope-support-section {
    grid-area: hope-support;
    background-color: #fff;
    color: #000;
    padding-right: 0.5em;
    padding-left: 0.5em;
    padding-top: 40px;
    padding-bottom: 80px;
    scroll-snap-align: start;
}

.hope-support-heading {
    grid-area: hope-support-heading;
}

.hope-support1 {
    grid-area: hope-support1;
}

.hope-support2 {
    grid-area: hope-support2;
}

.hope-support3 {
    grid-area: hope-support3;
}

/* Initiatives page style - End */



/*  School page style - Start */

.vision {
    background-color: #000;
    color: #fff;
}

.school-detail:nth-child(2n+0) {
    background-color: #eee;
}

.school-detail:nth-child(3n+0) {
    background-color: #000;
    color: #fff;
}

.school-cover { 
    background-image: url(../images/HOPE/cover.jpeg);
    opacity: 1;
}

.guidance {
    background-image: url(../images/HOPE/counseling-2.png);
}

.scroll-over {
    height: 100vh;
    
    background-attachment: fixed;
    background-size: cover;
    background-position: center top;

    opacity: 0.95;

    color: #fff;
}



.box {
    width: 100%;
    height: 600px;
    color: #fff;
    text-align: center;
}

.section-1 {
    height: 100vh;
    background-image: url(../images/HOPE/counseling.jpeg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}


/* School page style - End */

.caption-style-2 {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    
}

.caption-style-2 li{
    float: left;
    padding: 0px;
    position: relative;
    overflow: hidden;
}

.caption-style-2 li:hover .caption {
    opacity: 1;
    transform: translateY(-100px);
    -webkit-transform:translateY(-100px);
    -moz-transform:translateY(-100px);
    -ms-transform:translateY(-100px);
    -o-transform:translateY(-100px);

}


.caption-style-2 img {
    margin: 0px;
    padding: 0px;
    float: left;
    z-index: 4;
}


.caption-style-2 .caption {
    cursor: pointer;
    position: absolute;
    opacity: 0;
    top:300px;
    -webkit-transition:all 0.15s ease-in-out;
    -moz-transition:all 0.15s ease-in-out;
    -o-transition:all 0.15s ease-in-out;
    -ms-transition:all 0.15s ease-in-out;
    transition:all 0.15s ease-in-out;

}
.caption-style-2 .blur{
    background-color: rgba(0,0,0,0.7);
    height: 500px;
    width: 550px;
    z-index: 5;
    position: absolute;
}

.caption-style-2 .caption-text h1 {
    text-transform: uppercase;
    font-size: 18px;
}
.caption-style-2 .caption-text {
    z-index: 10;
    color: #fff;
    position: absolute;
    width: 550px;
    height: 500px;
    text-align: center;
    top:20px;
}

.content {
    margin-top: 100px;
    margin-left: 100px;
    width: 700px;
}
.content h1, .content h2 {
    font-family: "Source Sans Pro",sans-serif;
    color: #ecf0f1;
    padding: 0px;
    margin: 0px;
    font-weight: normal;
}

.content h1 {
    font-weight: 900;
    font-size: 64px;
}

.content h2 {
    font-size:26px;
}

.content p {
    color: #ecf0f1;
    font-family: "Lato";
    line-height: 28px;
    font-size: 15px;
    padding-top: 50px;
}

p.credit {
    padding-top: 20px;
    font-size: 12px;
}

p a {
    color: #ecf0f1;
}

/*  Aid page style - Start */

.aid-introductions {
    /*position: relative;*/
    background-color: #eee;
    color: #000;
    padding-top: 5em;
    padding-bottom: 1em;
    scroll-snap-align: start;
}

.aid-introduction>img {
    scroll-snap-align: start;
}

.aid-cover {
    height: 100vh;
    background-image: url(../images/aid-cover.jpeg);
    background-attachment: fixed;
    background-size: cover;

    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
}

.aid-highlights {
    /*position: relative;*/
    background-color: #000;
    color: #fff;
    overflow: auto;
    padding-top: 5em;
    padding-bottom: 1em;
    scroll-snap-align: start;
}

.aid-highlights>img {
    float: left;
}

#half-screen-image {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.aid-highlight-heading {
    padding-bottom: 40px;
}

.aid-highlights>h3 {
    text-align: left;
}

.aid-highlights>ul>li {
    text-align: left;
}

.image-juxtapose {
    display: grid;
    grid-template-areas: "image text";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 2em;
    margin: 2em;
}

.image-half {
    grid-area: "image";
}

.image-half>img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.text-half {
    grid-area: "text";
}

.text-half>h3 {
    text-align: left;
}

.text-half>ul>li {
    text-align: left;
}

/*  Aid page style - End */

/* Classes page  style - Start */

.dars {
    padding-top: 2em;
    margin: 0 auto;
    scroll-snap-align: start;
}

.dars:nth-child(2n+0) {
    background-color: #000;
    color: #fff;
}

.dars:nth-child(2n+0) .pointer {
    -webkit-filter: invert(100%);
    /* safari 6.0 - 9.0 */
    filter: invert(100%);
}

/* Classes page style - End */

/* Inter-faith page style - start */

.inter-faith-introduction-section {
    background-color: #eee;
    scroll-snap-align: start;
}

.inter-faith-event {
    padding: 4em 0.5em;
    scroll-snap-align: start;
}

.inter-faith-event:nth-child(2n+1) {
    background-color: #000;
    color: #fff;
}

.inter-faith-event:nth-child(2n+0) {
    background-color: #eee;
}

.guest-list {
    text-align: center;
}

/* Inter-faith page style - end */

.pointer {
    width: 40px;
    height: 40px;
    margin-right: 0.5em;
    vertical-align: middle;
}

.thumbnail {
    width: 300px;
    height: 300px;
    margin-right: 0.5em;
    vertical-align: middle;
}

.quote-1 {
    grid-area: quote-1;
    scroll-snap-align: start;
}

.objectives {
    grid-area: objectives;
    padding-right: 10px;
    padding-left: 10px;
    scroll-snap-align: start;
}

.quote-2 {
    grid-area: quote-2;
    scroll-snap-align: start;
}

.quote {
    background-color: #000;
    color: #fff;
    line-height: 1.41em;
    text-align: center;
    font-size: 22px;
    font-family: 'font1';
    padding-top: 120px;
    padding-bottom: 100px;
    padding-right: 10px;
    padding-left: 10px;
}

.quote p {
    font-family: 'font1';
    font-size: 22px;
}

.quote-reference {
    line-height: 1.75em;
    font-size: 20px;
    font-weight: 300;
    font-family: 'helveticaneuew01-55roma', 'helveticaneuew02-55roma', 'helveticaneuew10-55roma', 'helvetica neue', helvetica, arial, sans-serif;
}

.past-events-section {
    grid-area: past-events;
    color: #000;
    background: #eee;
    scroll-snap-align: start;
}

.video {
    width: 100%;
    display: inline-block;
}

.responsive-iframe {

    width: 100vw; 
    height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */
}

.support {
    grid-area: support;
    background-color: #fff;
    color: #000;
    /*position: relative;*/
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 40px;
    padding-bottom: 80px;
    scroll-snap-align: start;
}

/*
.zakat {
    background-color: #eee;
}
*/

table {
    margin-left: auto;
    margin-right: auto;
}

td {
    text-align: left;
    line-height: 1.67em;
    font-family: 'font2';
    font-size: 18px;
    padding-bottom: 20px;
    padding-right: 20px;
}

button {
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
    justify-content: center;
    background-color: transparent;
    border: solid rgba(0, 0, 0, 1) 1px;
    text-align: initial;
    align-items: center;
    border-radius: 100px;
    font: font2;
    font-size: 12px;
    transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s;
    transition-property: border-color, background-color;
    transition-duration: 0.4s, 0.4s;
    transition-timing-function: ease, ease;
    transition-delay: 0s, 0s;
    padding: 15px 32px;
    /*padding: 1em 2em;*/
}

button:hover, button:active {
    background-color: #000;
    color: white;
}

.contact {
    grid-area: contact;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
    scroll-snap-align: start;
}

.contact li {
    font-size: 15px;
    text-align: center;
}

.map {
    grid-area: map;
    scroll-snap-align: start;

    /*
    width: 100vw; 
    height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */

    /*
    frameborder: 0;
    border:0;
    allowfullscreen: '';
    aria-hidden: 'false';
    tabindex: '0';
    */
}

.upi-pay {
    object-fit: contain;
    display: flex;
    justify-content: center;
}


#map-image img {

    width: 100vw; 
    height: 56.25vw;
    object-fit: cover;

    display: flex;
    justify-content: center;

    background: #000;
}

#map-image .small-image {
    display: none;
}

/* Slider properties - start  */

.slide-wrap {
    width: 100%;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.slider {
    width: 100%;
    height: auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    height: auto;
}

.slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.slides > div {
    scroll-snap-align: start;
    scroll-behavior: smooth;
}

/* check
@supports (scroll-snap-type) {
    .slider > a {
        display: none;
    }
}*/

.slides > div:target {
    transform: scale(0.8);
}

/* Slide show - end*/

/* Form inputs */

input, textarea {
    background-color: #000;
    color: #fff;
    border-top: none;
    border-right: none;
    border-left: none;
    font-family: 'font2';
    font-size: 16px;
    width: 70%;
    height: 40px;
    margin: 10px;
    padding: 20px;
    transition: ease-in-out, width .35s ease-in-out;
}

textarea {
    height: 100px;
}

input[type="email"], input[type="tel"] {
    width: 34%;
}

input[type=submit] {
    background-color: #fff;
    border: none;
    color: black;
    padding: 16px 32px;
    text-decoration: none;
    margin: 20px;
    cursor: pointer;
    height: 60px;
}

/*
input:valid {
    border-color: green;
}

input:invalid {
    border-color: red;
}

input:focus {
    border-color: white
}
*/

footer {
    grid-area: footer;
    height: auto;
    width: 100%;
    background-color: #fff;
    color: #181818;
    text-align: center;
    font-size: 1.5em;
    font-weight: normal;
    font-family: 'font2';
    font-size: 14px;
    font-kerning: auto;
    left: 0px;
    bottom: 0px;
    height: 260px;
    width: 100%;
}

footer #footer-main {
    margin: 0 auto;
    color: #181818;
    text-align: center;
    font-family: 'font1';
    font-size: 22px;

    margin-bottom: 20px;
    padding-top: 50px;
    padding-bottom: 20px;
}

footer #footer-detail {
    margin: 0 auto;
    color: #181818;
    text-align: center;
    font-family: 'font2';
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

footer a:link {
    text-decoration: none;
}

footer #footer-links {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

footer #footer-copyright {
    font-size: 14px;
    margin-top: 20px;
}


@media only screen and (max-device-width: 1366px) {
    .scroll-over {
      background-attachment: scroll;
    }
}