/* importing google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
#m_search {
    margin: 4px 0 0 0;
    padding: 0 2px 0 2px;
}
#m_search #msearchq_area {
    margin-top: -0.5px;
    margin-right: 32px;
}
#search_suggest {
    MARGIN-left: -3.5px;
    MARGIN-TOP: 28px;
    width: 492px;
}
#header_menu li a {
    margin:0 -1px 0 0;
    padding:13px 10px;
    font:bold 11px Tahoma, sans-serif;
}
#header_menu li a span {
    float: left;
    margin-bottom: -3px;
}
#header_menu ul{
    margin:39px -1px 0 0;
    padding:5px 0px;
}
#header_menu ul li a {
    padding: 6px;
    margin: -1px 0 0 0;
}
#header_menu li:hover a.drop {
    padding-bottom:13px;
}

body {
    background-color: #f0f2f5;
    background-image: url("bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
}
.new_footer_area {
    display: none;
}

.que_form {
    display: none;
}
.que_txt {
    min-width: 100%;
    height: 40px;
    font-size: 16px;
}
.que_cmd {
    display: block;
    float: right;
    padding: 5px 10px;
    background: firebrick;
    color: #fff;
    border-radius: 3px;
}
fieldset .que_cmd {
    background: midnightblue;
}
.que_cmd:hover {
    background: rgb(252, 1, 1);
    color: #fff;
}
.facebook-auto {
    margin-top: 0px;
    margin-left: 0px;
}
fieldset {
    border: 1.5px solid #ddd;
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}
legend {
    margin: 0;
    padding: 0 5px;
    font-weight: bold;
}
legend span {
    font-size: 16px;
    color: red;
}
legend a {
    display: none;
    margin-left: 10px;
    font-weight: normal;
}
fieldset:hover > legend a {
    display: inline-block;
}
.ans_list {
    margin: 0 -5px;
    padding: 0;
    display: grid;
}
.ans_item {
    margin: 5px;
    text-align: center;
}
.ans_item .ans_img {
    margin-bottom: 5px;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}
.ans_item .ans_img img {
    border: none;
    width: 100%;
}
.ans_item .ans_action {
    margin: -35px 0 5px 0;
    background: #343a40;
    opacity: 0.7;
    display: none;
}
.ans_item .ans_action a {
    display: inline-block;
    padding: 5px;
    color: yellow;
}
.ans_item:hover > .ans_action {
    display: block;
}
.post_photo {
    display: inline-block;
    padding: 3px 5px;
    background: orange;
    border-radius: 3px;
    margin-top: 4px;
}
.ans_more {
    display: block;
    padding: 5px 0;
    width: 100px;
    text-align: center;
    margin: 10px auto 0 auto;
    border: 1px solid #343a40;
}
.ans_more {
    border: 1px solid red;
}

::selection{
    color: #fff;
    background: #007bff;
}

#wrap .start_btn,
#wrap .info_box,
#wrap .rank_box,
#wrap .quiz_box,
#wrap .result_box{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#wrap .quiz_box1 {
    margin-top: 10px;
}

#wrap .info_box.activeInfo,
#wrap .rank_box.activeRank,
#wrap .quiz_box.activeQuiz,
#wrap .result_box.activeResult{
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

#wrap .start_btn button{
    font-size: 25px;
    font-weight: 500;
    color: #007bff;
    padding: 15px 30px;
    outline: none;
    border: none;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

#wrap .info_box {
    background: #fff;
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.info_box .info-title{
    height: 60px;
    width: 100%;
    border-bottom: 1px solid lightgrey;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-radius: 5px 5px 0 0;
    font-size: 20px;
    font-weight: 600;
}
.info_box .info-list{
    padding: 15px 30px;
}
.info_box .info-list .info{
    margin: 10px 0;
    font-size: 17px;
    text-align: justify;
}
.info_box .info-list .info span{
    font-weight: 600;
    color: #007bff;
}
.info_box .buttons{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px;
    border-top: 1px solid lightgrey;
}
#wrap .info_box .buttons button{
    margin: 0 5px;
    height: 40px;
    width: 100px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #007bff;
    transition: all 0.3s ease;
}

#wrap .rank_box {
    background: #fff;
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.rank_box .rank-title{
    height: 60px;
    width: 100%;
    border-bottom: 1px solid lightgrey;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-radius: 5px 5px 0 0;
    font-size: 20px;
    font-weight: 600;
}
.rank_box .rank-list {
    counter-reset: li; /* Initiate a counter */
    list-style: none; /* Remove default numbering */
    *list-style: decimal; /* Keep using default numbering for IE6/7 */
    font: 15px 'trebuchet MS', 'lucida sans';
    padding: 0;
    margin: 10px 10px 10px 25px;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.rank_box .rank-list li span {
    display: inline-block;
    float: right;
    padding: 1px 7px;
    margin-top: -1px;
    border-radius: 5px;
    background: tomato;
    font-weight: bold;
}
.rank_box .rank-list a{
    position: relative;
    display: block;
    padding: .4em .4em .4em 2em;
    *padding: .4em;
    margin: .5em 0;
    background: #ddd;
    color: #444;
    text-decoration: none;
    border-radius: .3em;
    transition: all .3s ease-out;
}
.rank_box .rank-list a:hover{
    background: violet;
}

.rank_box .rank-list a:hover:before{
    transform: rotate(360deg);
}
.rank_box .rank-list a:before{
    content: counter(li);
    counter-increment: li;
    position: absolute;
    left: -1.3em;
    top: 50%;
    margin-top: -1.3em;
    background: #87ceeb;
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: .3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 2em;
    transition: all .3s ease-out;
}
.rank_box .buttons{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 5px;
    border-top: 1px solid lightgrey;
}
#wrap .rank_box .buttons button{
    margin: 0 5px;
    height: 40px;
    width: 100px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #007bff;
    transition: all 0.3s ease;
}

.quiz_box{
    background: #fff;
    border-radius: 5px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.quiz_box header{
    position: relative;
    z-index: 2;
    height: 70px;
    padding: 0 30px;
    background: #fff;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.1);
}

.quiz_box header .title{
    font-size: 20px;
    font-weight: 600;
}

.quiz_box header .timer{
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
    height: 45px;
    padding: 0 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 145px;
}

.quiz_box header .timer .time_left_txt{
    font-weight: 400;
    font-size: 17px;
    user-select: none;
}

.quiz_box header .timer .timer_sec{
    font-size: 18px;
    font-weight: 500;
    height: 30px;
    width: 45px;
    color: #fff;
    border-radius: 5px;
    line-height: 30px;
    text-align: center;
    background: #343a40;
    border: 1px solid #343a40;
    user-select: none;
}

.quiz_box header .time_line{
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 3px;
    background: #007bff;
}

section{
    padding: 25px 30px 20px 30px;
    background: #fff;
}

section .que_text{
    font-size: 18px;
    line-height: 20px;
    color: navy;
    text-align: justify;
}

section .que_text img {
    max-width: 100%;
}

section .option_list{
    padding: 20px 0px 10px 0;
    display: block;   
}

section .option_list .option{
    background: aliceblue;
    border: 1px solid #84c5fe;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 17px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section .option_list .option:last-child{
    margin-bottom: 0px;
}

section .option_list .option:hover{
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
}

section .option_list .option.correct{
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

section .option_list .option.incorrect{
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

section .option_list .option.disabled{
    pointer-events: none;
}

section .option_list .option .icon{
    height: 26px;
    width: 26px;
    border: 2px solid transparent;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    pointer-events: none;
    transition: all 0.3s ease;
    line-height: 24px;
    padding-top: 4px;
}
.option_list .option .icon.tick{
    color: #23903c;
    border-color: #23903c;
    background: #d4edda;
}

.option_list .option .icon.cross{
    color: #a42834;
    background: #f8d7da;
    border-color: #a42834;
}

footer{
    height: 60px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid lightgrey;
}

footer .total_que span{
    display: flex;
    user-select: none;
    font-size: 17px;
}

footer .total_que span p{
    font-weight: 500;
    padding: 0 5px;
}

footer .total_que span p:first-child{
    padding-left: 0px;
}

footer button{
    height: 40px;
    padding: 0 13px;
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    background: #007bff;
    border: 1px solid #007bff;
    line-height: 10px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

footer button:hover{
    background: #0263ca;
}

footer button.show{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.result_box{
    background: #fff;
    border-radius: 5px;
    display: flex;
    padding: 25px 30px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.result_box .icon{
    font-size: 100px;
    color: #007bff;
    margin-bottom: 10px;
}

.result_box .complete_text{
    font-size: 20px;
    font-weight: 500;
}

.result_box .score_text span{
    display: flex;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
}

.result_box .score_text span p{
    padding: 0 4px;
    font-weight: 600;
}

.result_box .buttons{
    display: flex;
    margin: 20px 0;
}

.result_box .buttons button{
    margin: 0 10px;
    height: 45px;
    padding: 0 20px;
    font-size: 18px;
    line-height: 18px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #007bff;
    transition: all 0.3s ease;
}

.buttons button.restart {
    color: #fff;
    background: #007bff;
}
.buttons button.restart:hover{
    background: #0263ca;
}

.buttons button.quit{
    color: #007bff;
    background: #fff;
}
.buttons button.quit:hover{
    color: #fff;
    background: #007bff;
}

@media screen and (min-width: 600px) {
    .photo_list {
        grid-template-columns: 1fr 1fr 1fr;
    }
    section .que_text img {
        margin-top: 10px;
    }
    .info_box, .rank_box {
        width: 540px;
    }
    .quiz_box{
        width: 550px;
    }
    .result_box{
        width: 450px;
    }
}
@media screen and (min-width: 800px) {
    .ans_list {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    section .que_text img {
        margin-top: 10px;
    }
    .quiz_box{
        width: 750px;
    }
}
@media screen and (min-width: 1000px) {
    .ans_list {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    section .que_text img {
        margin-top: 10px;
    }
}
@media screen and (max-width: 999px) {
    .box {
        margin: 10px;
    }
}
@media screen and (max-width: 799px) {
    #header_menu li a span {
        margin-bottom: 4px;
    }
    .ans_list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
@media screen and (max-width: 599px) {
    .ans_list {
        grid-template-columns: 1fr 1fr 1fr;
    }
    section .que_text img {
        margin-top: 10px;
    }
    #header_info {
		margin-left: 5px;
	}
    #header_menu li:hover a.drop {
		padding-bottom:13px;
	}
    #header_menu ul{
		margin:39px -1px 0 0;
		padding:5px 0px;
	}
    .dropdown-box {
		margin-top:38px;
		padding:5px;
	}
    .header_menu_hamburger {
        margin-right: 0.6em;
        margin-left: 0.6em;
    }
    .header_menu_hamburger:before {
        top: 0.3em;
        left: 0px;
    }
    .info_box, .rank_box, .quiz_box, .result_box {
        width: 95%;
    }
}
@media screen and (max-width: 400px) {
    .ans_list {
        grid-template-columns: 1fr 1fr;
    }
    .info_box .info-title {
        padding: 0 10px;
    }
    .info_box .info-list {
        padding: 15px 10px;
    }
    .info_box .buttons {
        padding: 0 10px;
    }
    .rank_box .rank-title {
        padding: 0 10px;
    }
    .quiz_box header {
        padding: 0 10px;
    }
    section{
        padding: 25px 10px 20px 10px;
    }
    section .que_text img {
        margin-top: 10px;
        max-height: 100px;
    }
    footer{
        padding: 0 10px;
    }
}

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar * {
    background:transparent;
}
::-webkit-scrollbar-thumb {
    background: #d6dee1 !important;
    border-radius: 20px;
}