/* version=1.7 */
html,
body {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    margin-bottom: -233px;
}

.darkMode {
    background-color: black !important;
    color: white !important;
}

/*------------------------------------------------- header ------------------------------------------------*/

menu {
    position: fixed;
    left: 0px;
    bottom: 0px;
}

menu li {
    list-style-type: none;
    margin: 5px 7px;
    background-color: aliceblue;
    padding: 6px;
    border-radius: 100%;
    border: 2px solid black;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    menu li {
        margin: 5px 1px;
    }

}

menu li:hover {
    filter: drop-shadow(2px 4px 0px black);
}

menu a li img {
    margin: -1px -1px 0px 0px;
    height: 25px;
    width: 25px;
}


menu li#nav_toggle_btn span {
    font-size: 20px;
    margin: 2px;
}

menu li#fontSetting_toggle_btn span {
    font-size: 25px;
    margin: -1px 0px 0px;
}

menu li#go_to_up {
    display: none;
}

menu li#go_to_up span {
    font-size: 21px;
    margin: 1px;
}

/*------------------------------------------------- nav & font setting ------------------------------------------------*/

nav,
#font_setting {
    position: fixed;
    display: none;
    background-color: aliceblue;
    padding: 6px;
    border-radius: 0px 28px 23px 0px;
    left: 48px;
    border: 1px solid #b8daf8;
}

nav {
    bottom: 9px;
}

nav ol {
    list-style-type: circle;
    list-style-position: inside;
}

nav ol li {
    padding: 4px 2px;
    font-size: 1.3em;
    color: #428bca;
    cursor: pointer;
}

nav ol li:hover {
    list-style-type: disc;
}

#font_setting {
    bottom: 17px;
    padding: 13px;
}

#font_setting button {
    display: block;
    margin: 4px 0px;
    width: 100%;
}

#font_setting button span {
    float: left;
}

#font_setting button span.glyphicon-chevron-up,
#font_setting button span.glyphicon-chevron-down {
    font-size: 0.5em;
    margin-right: 8px;
}

/*------------------------------------------------- article ------------------------------------------------*/
body.article {
    width: 100%;
    height: 100%;
    background-image: url("../images/international/Nasir-ol-Molk-Mosque.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

article {
    margin: 1% 0% 10%;
    padding: 7%;
    background-color: rgba(240, 248, 255, 0.8);
}

article p {
    text-align: justify;
}

article #in_the_name_of_god {
    font-size: 4em;
}

.article_img {
    display: block;
    margin: 25px auto;
    max-width: 500px;
    padding: 1px;
    border: 2px solid #515151;
    border-radius: 10px;
}

/*------------------------------------------------- language selector ------------------------------------------------*/

#language_selector {
    text-align: center;
}

#language_selector h1 {
    margin: 0px 0px 30px;
    padding-top: 30px;
}

#language_selector #language_box {
    display: block;
    margin: 10px auto 80px;
    max-width: 230px;
    border-radius: 5px;
    background-color: #ffffff;
    padding: 10px 0px;
}

#language_selector #language_box a {
    display: block;
    padding: 5px 0px;
    border: 2px solid white;
    border-right: 7px solid #e7e7e7;
    border-left: 7px solid #e7e7e7;
    margin: 0px;
}

#language_selector #language_box a:hover {
    border-color: #e7e7e7;
}

#language_selector #language_box a:hover {
    text-decoration: none;
}

#language_selector #language_box h4 {
    margin: 4px;
    display: inline-block;
    color: #6f6f6f;
    min-width: 80px;
}

#language_selector #language_box img {
    margin: 7px 5px -4px;
    width: 29px;
}

/*-------------------------------------------------footer ------------------------------------------------*/

footer {
    text-align: center;
    padding-top: 11px;
    background-color: white;
}

footer h2 {
    margin: 2px 0px 3px;
}

footer,
.push {
    height: 233px;
}

footer img {
    width: 100px;
}

footer p {
    margin: 0px 9% 5px;
    font-size: large;
}

@media screen and (max-width: 767px) {
    footer {
        padding-top: 0px;
    }

    footer p {
        margin: 0px 5% 5px;
    }

    footer img {
        margin-top: -28px;
    }
}

footer span {
    font-size: small;
    margin: 0px 0px 12px;
    color: #dfac1b;
}

footer span::before {
    position: absolute;
    left: -20px;
    bottom: -4px;
    font-size: medium;
}

/*-------------------------------------------------media query for ie ------------------------------------------------*/

.ie_message {
    background-color: #ff1515;
    padding: 6px;
    text-align: center;
    border-radius: 0px 0px 5px 5px;
    display: none;
    font-size: small;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .starting_onload_cover {
        display: none;
    }

    .ie_message {
        display: block !important;
    }
}