/* The base rule for new home screen is 10.1 resolution */
:root {
    --margin-top: 8.5rem;
    --nav-height: 8.5rem;
    --iframe-top-margin: 8rem;
    --top-nav-height: 8rem;
}

html,
body {
    /* overflow-x: hidden; */
    font-family: 'Roboto', sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    user-select: none;
}

#toolbar-paid {
    display: none;
    font-size: 50px;
    justify-content: center;
}
#tabList {
    display: flex;
}

.monetization_icon_size {
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
}
.loginicon {
    width: 3rem;
    margin-left: 1rem;
    height: 3rem;
}
#newlogout{
    display: none;
}
.container {
    height: 100%;
    display: flex;
    /* margin: 0 13px; */
}

.fixedDiv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem;
    z-index: 1000;
}

/* we are adding margin-top css rule when value is not reading until js file is loaded  */
#iframeContainer {
    display: none;
    border-top: 0.1rem solid #646464;
    flex: 1;
    /* overflow: auto; */
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#tabContainer {
    display: none;
    align-items: center;
    padding: 0;
    justify-content: center;
}

.tab {
    display: inline-flex;
    border: 0.1rem solid #ccc;
    cursor: pointer;
    /* text-align: center; */
    color: #ffffff;
    font-size: 2.5rem;
    border-radius: 1rem;
    width: 25.5rem;
    height: 7.7rem;
    margin: 0rem 2rem 0rem 0rem;
    padding: 1rem 0rem;
    align-items: center;
    justify-content: center;
}


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

.yellow_txt {
    color: yellow;
    font-size: 2rem;
    font-weight: 600;
}

.white_txt {
    font-size: 2rem;
    color: white;
}

.newlogin {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    border: none;
}

.newlogin.active,
.newlogin:hover {
    background: transparent
}

.newlogin:focus {
    outline: none;
}

.nav-backbtn {
    background: transparent;
    border: none;
    border-right: 0.1rem solid #646464;
    padding-right: 2.5rem;
    height: 4.5rem;
}

.screentitle {
    display: flex;
    color: #ffffff;
    align-items: center;
    margin: 0 1rem;
    font-size: 3rem;
    width: 94rem;
}
#vimage {
    margin-top: 0.5rem;
    width: 12.72rem;
    height: 6.5rem;
}

#allaps {
    margin: 1rem 1rem;
}

.loader {
    display: flex;
    align-items: center;
    animation: rotation 1s linear infinite;
    justify-content: center;
    height: 100%;
}

.nav-backbtn:hover {
    background-color: transparent;
}
.nav-backbtn:focus {
    outline: none;
}

.fullscreen iframe#iFrame {
    position: fixed;
    /* Fixed position to stay in place */
    top: 0;
    left: 0;
    width: 100vw;
    /* Full viewport width */
    height: 100vh;
    /* Full viewport height */
    z-index: 9999;
    /* High z-index to be on top of other elements */
}

/* Spinner style  */
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
#waiter {
    display: none;
    position: absolute;
    top: 29%;
    left: 41%;
    z-index: 99999;
    font-size: xx-large;
    text-align: -webkit-center;
    font-family: "Roboto";
}

#loadinganim{
    animation: rotation 1s infinite linear;
    width: 16rem;
    height: 16rem;
    margin: 0 auto;
}

#updatingtext{
    position: relative;
    right: 1rem;
}
/* Spinner style ends here  */

.vimage{
    margin-right: 1.5rem;
}

#navigationbar {
    align-items: center;
}

/* Driver distraction related CSS */
#ddDialog {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 9999;
}

.ddDialog-full-screen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 1);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ddDialog-content {
    background-color: #181818;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    width: 104rem;
    height: 52.7rem;
    box-sizing: border-box;
    overflow: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ddDialog-close-img {
    position: absolute;
    top: 2.7rem;
    right: 10rem;
    border: none;
    z-index: 1;
    color: #ffffff;
}

.ddDialog-content p {
    margin: 0;
    font-size: 3rem;
    font-family: 'Roboto', 'sans-serif';
    color: #ccc;
}

.ddDialog-close-button {
    background-color: rgba(69, 123, 226, 1);
    color: #ffffff;
    text-align: center;
    border-radius: 0.8rem;
    margin-top: 4rem;
    padding: 0.5rem 2.2rem;
    border: 0.2rem solid rgba(69, 123, 226, 1);
    width: 29.5rem;
    height: 8rem;
    font-size: 2.5rem;
}
/* Driver distraction related CSS end*/

/* End of The base rule for new home screen is  10.1 resolution */

/* CSS Media Query Rules Starts here */

/* 8.4 L  => (1024px x 562px)*/
@media screen and (min-width: 1000px) and (max-width: 1100px) and (min-height: 400px) and (max-height: 700px) {
    :root {
        --margin-top: 6rem;
        --nav-height: 6rem;
        --iframe-top-margin: 6rem;
        --top-nav-height: 6rem;
    }
    iframe{
        height: 99%;
    }
    .tab {
        width: 13.5rem;
        height: 5rem;
        margin: 0rem 1rem 0rem 0rem;
        font-size: 1.3rem;
    }
    .newlogin {
        width: 4rem;
        height: 4rem;
    }
    .screentitle {
        width: 44rem;
        font-size: 2.2rem;
    }
    #loadinganim {
        width: 9rem;
        height: 9rem;
    }
    #vimage, .nav-backbtn {
        margin-top: 0rem;
    }
    .vimage {
        height: 6rem;
    }
    #tabList {
        margin-top: 0.5rem;
    }
    #toolbar-paid, #noapps_message {
        font-size: 1.5rem;
    }
    .ddDialog-content {
        width: 60.2rem;
        height: 34rem;
    }
    .ddDialog-close-img {
        height: 3rem;
        width: 3rem;
        top: 1.5rem;
        right: 3.5rem;
    }
    .ddDialog-content p {
        font-size: 2.3rem;
    }
    .ddDialog-close-button {
        width: 19.3rem;
        height: 6rem;
        font-size: 2rem;
        margin-top: 2.5rem;
    }
    .loginicon {
        width: 2.5rem;
        margin-left: 0.5rem;
        height: 2.5rem;
    }
    .monetization_icon_size {
        width: 2.5rem;
        height: 2.5rem;
    }
    #vimage {
        width: 9.45rem;
        height: 6rem;
    }
}

/* 10.25 L / 12.3 L => (1724px x 618px)   */
@media screen and (min-width: 1650px) and (max-width: 1800px) {
    :root {
        --margin-top: 7.5rem;
        --nav-height: 7.5rem;
        --iframe-top-margin: 6rem;
        --top-nav-height: 6rem;
    }
    .container{
        height: 99%;
    }
    .tab {
        width: 22rem;
        height: 7rem;
        font-size: 2.25rem;
        margin: 0rem 2rem 0rem 0rem;
    }
    .screentitle {
        width: 82rem;
        font-size: 2.5rem;
        height: 6rem;
    }
    #navigationbar {
        height: 3rem;
    }
    .ddDialog-content {
        width: 104rem;
        height: 37rem;
    }
    .ddDialog-close-img {
        height: 3.5rem;
        width: 3.5rem;
        top: 2.5rem;
        right: 4rem;
    }
    .ddDialog-content p {
        font-size: 2.3rem;
    }
    .ddDialog-close-button {
        height: 6rem;
        font-size: 2rem;
    }
    #vimage {
        width: 9.5rem;
    }
}

/* 12 P  => (800px x 1050px)  */
@media screen and (min-width: 800px) and (max-width: 900px) and (max-height:1050px) {
    :root {
        --margin-top: 5rem;
        --nav-height: 5rem;
        --iframe-top-margin: 6rem;
        --top-nav-height: 6rem;
    }
    .container{
        height: 99%;
    }
    .tab {
        width: 10rem;
        padding: 2rem 1.6rem;
        height: 2.5rem;
        font-size: 1rem;
        margin: 0rem 0.5rem;
        border-radius: 0.4rem;
        border: 0.05rem solid #ccc;
    }

    #loadinganim{
        width: 8rem;
        height: 8rem;
    }
    .screentitle {
        width: 28rem;
        font-size: 2rem;
        height: 5rem;
    }
    #toolbar-paid{
        font-size: 1.5rem;
    }
    #vimage, .vimage {
        height: 5rem;
    }
    #vimage {
        margin-top: 0rem;
        width:6.35rem;
    }
    .vimage {
        margin-right: 1rem;
    }
    .ddDialog-content {
        width: 46rem;
        height: 59.3rem;
    }
    .ddDialog-close-img {
        height: 2.7rem;
        width: 2.7rem;
        top: 4.5rem;
        right: 3.8rem;
    }
    .ddDialog-content p {
        font-size: 1.8rem;
    }
    .ddDialog-close-button {
        width: 18rem;
        height: 6rem;
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    .loginicon {
        width: 2rem;
        margin-left: 0.5rem;
        height: 2rem;
    }
    .monetization_icon_size {
        width: 3rem;
        height: 3rem;
    }
}

/* 12.1 => (1200px - 1574px)   */
@media screen and (min-width: 1150px) and (max-width: 1300px) {
    :root {
        --margin-top: 8rem;
        --nav-height: 8rem;
        --iframe-top-margin: 6rem;
        --top-nav-height: 6rem;
    }
    .container{
        height: 99%;
    }

    .tab {
        width: 16rem;
        padding: 2rem 2.9rem;
        height: 6.5rem;
        font-size: 1.5rem;
        margin: 1rem 0.5rem;
        border-radius: 0.6rem;
        border: 0.05rem solid #ccc;
    }
    .screentitle{
        width: 53rem;
        font-size: 2.3rem;
    }
    #toolbar-paid{
        font-size: 1.9rem;
    }
    .ddDialog-content {
        width: 67rem;
        height: 87.4rem;
    }
    .ddDialog-close-img {
        height: 3.5rem;
        width: 3.5rem;
        top: 7.8rem;
        right: 6.3rem;
    }
    .ddDialog-content p {
        font-size: 2.3rem;
    }
    .ddDialog-close-button {
        width: 22.5rem;
        height: 6.5rem;
        font-size: 2rem;
    }
    .monetization_icon_size {
        width: 3.5rem;
        height: 3.5rem;
    }
    .loginicon {
        width: 2.5rem;
        margin-left: 0.5rem;
        height: 2.5rem;
    }
}

/* 10.1 => (1920px x 894px)   */
@media screen and (min-width: 1845px) {
}

/* 14.6 => (1024px x 1410px)   */
@media screen and (min-width: 1000px) and (max-width: 1100px) and (min-height: 1200px) and (max-height: 1500px) {
    :root {
        --margin-top: 7rem;
        --nav-height: 7rem;
        --iframe-top-margin: 5.7rem;
        --top-nav-height: 5.7rem;
    }
    .tab {
        width: 13.5rem;
        height: 6rem;
        margin: 0rem 0.8rem 0rem 0rem;
        font-size: 1.6rem;
    }
    .screentitle {
        width: 40rem;
        font-size: 2.15rem;
    }
    .nav-backbtn {
        margin-top: 0rem;
    }
    #navigationbar {
        height: 5rem;
    }
    #toolbar-paid{
        font-size: 1.3rem;
    }
    .ddDialog-content {
        width: 60rem;
        height: 80.2rem;
    }
    .ddDialog-close-img {
        height: 3.2rem;
        width: 3.2rem;
        top: 6rem;
        right: 4.7rem;
    }
    .ddDialog-content p {
        font-size: 2.1rem;
    }
    .ddDialog-close-button {
        width: 20.6rem;
        height: 6rem;
        font-size: 1.9rem;
    }
    .loginicon {
        width: 2.3rem;
        margin-left: 0.5rem;
        height: 2.3rem 
    }
    .monetization_icon_size {
        width: 3rem;
        height: 3rem;
    }
}

/* CSS Media Query Rules Ends here */
