html {
    height: 100%;
    overflow-x: hidden; 
    overflow-y: auto;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;

}
* {
    position:relative;
    box-sizing: border-box;
}

*:focus {
    outline:0;
}

img {
    max-width: 100%;
}

div {
    /*border:1px solid green;*/
}

.nim_body {
    height: 100%; 
    margin: 0px; 
    padding:10px;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-weight:400;
    align-items: center;
    color: #FEE4C4;
    background: #136F67;
    transition: 1s; 
}

.nim_topmenu{
    display: flex; 
    flex-direction:row; 
    justify-content:space-between;
    width:100%;
    margin-bottom: 10px;
}

.nim_header{
    display: flex; 
    flex-direction:column; 
    justify-content:center;
    align-items:center;
}

.nim_maincontent{
    width:100%;
    font-family: 'Open Sans';
    margin-bottom: 40px;
}

.nim_cardtext{
    color: inherit;
    background: inherit;
    padding:20px;
    font-size: 3.6vw;
    text-align: left;
    max-width: 800px;
    margin: auto;

}

.nim_cardimg{
    text-align: center;
}
.nim_cardimg img{
    width: auto;
  /*  max-height: 70vh;*/
}


.nim_cmd{
    cursor:pointer;
}

.nim_rewbutton,.nim_fwdbutton{
    font-family: 'Material Icons';
    font-feature-settings: 'liga';
    position: fixed;
    z-index: 100;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 40px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.50);
    border: 0px;
    opacity:0.5;
    bottom: 0px;
    top: auto;
}

.nim_fwdbutton:before {
    content:'navigate_next';
}
.nim_rewbutton:before {
    content:'navigate_before';
}

.nim_rewbutton:hover,.nim_fwdbutton:hover{
    opacity:1;

}
.nim_rewbutton{
    left:5px;
}
.nim_fwdbutton{
    right:5px;
}
.nim_footer{
    position:fixed;
    bottom: 0px;
    top: auto;
    left: 0;
    display: flex; 
    flex-direction:row; 
    justify-content:center;
    align-items:center;
    font-size: 10px;
    color: #FFFFFF;
    padding:0px;
    width:100%;
    z-index:50;
    height:35px;
    background:inherit;
    color: inherit;
}

.nim_hidden,.nim_hiddento{
    display:none;
}
.nim_navdisabled{
    opacity:0.5;
    pointer-events: none;
    background:red;

}

.nim_inactive{
    pointer-events: none;
    color:silver;
}
.nim_progressbox{
    width:320px;
    height:10px;
    border:none;
    background: rgba(255,255,255,0.20);
    border-radius: 8px;
    margin: 14px;
}
.nim_progress{
    border-radius: 8px;
    width:1%;
    height:100%;
    background: #FFFFFF;

}
.nim_icon::before{
    font-family: 'Material Icons';
}
.nim_icon_menu:before{
    content:'menu';
    color:white;
    font-size: 22px;


}
.nim_icon_menu {
    cursor: pointer;
    display: inline-block;

}

.nim_rub1{           
    font-size: 18px;
    letter-spacing: 1.33px; 
    font-weight: 700;
    text-transform:  uppercase;
}

.nim_goto_cmd{
    cursor:pointer;
}

.nim_page{
    border: 1px solid white;
    border-radius: 10px;
    overflow: hidden;
    min-height: calc(100vh - 100px);
    background: rgba(0, 0, 0, 0.1);
}

.nim_pageelements{
    flex-direction:column;
    width:100%;
    align-items: center;
    min-height: 100%;

}

.nim_pageelements>div{
    width:100%;
}
#nim_index {
	position: absolute;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	background: orange;
	z-index: 100;
   display:none;
   padding:20px;
   text-align:center;
   border-radius: 10px;
}
.nim_changesite{
    cursor: pointer;
    display:inline-block;
    /*font-size:40px;*/
    margin:20px;
}
@media only screen and (min-width : 800px) {
    .nim_cardtext{
        font-size: 1.9vw;
    }
    .nim_cardimg img{
        border-radius: 10px;
    }
    

}
@media only screen and (min-width : 1100px) {
    .nim_cardtext{
        max-width: 900px;
            font-size:26px;

    }
    
}   

@media only screen and (max-width : 450px) {

    .nim_page {
        word-wrap: anywhere;
        overflow-wrap: break-word;
        word-wrap: break-word;
        -ms-word-break: break-all;
        word-break: break-all;
        word-break: break-word;

    }
    .nim_progressbox {
        width: 200px;
        height: 7px;
    }

}


