/* NXT full page design */
/* required:
 * jsplus.js
 * design.js
 * elements.css
*/

/* offline material design icons */
/* fallback */
@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&subset=latin-ext');
@import url('mobile.css');
@import url('colors.css');
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('material-icons.woff2') format('woff2');
  }


  .material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
  }

/* UI DESIGN */
:root {
    --primary: #3F51B5;
    --dark-primary :#28358E;
}
body {
  background: #eee;
}
header {
    background: rgba(255,255,255,1);
    width: 100%;
    height: 450px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    vertical-align: middle;
    color: #444;
    font-size: 75px;
    transition: left .4s, color .7s;
    border-bottom: 1px solid #aaa;
}
header[transparent] {
    /*for standalone apps, old style*/
    background:var(--primary) !important;
    border:none !important;
    box-shadow:none !important;
    /* width: 200px; */
    color:white !important;
    /* margin: 10px; */
    /* border-radius: 8px; */
    /* border: 2px solid rgba(255,255,255,.4) !important; */
    background: #FFFFFF22 !important;
    box-shadow: 0px 0px 3px #222 inset !important;
}

nav header {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    font-size: 30px;
    height: 59px;
    z-index: 99;
    z-index: 99;
    animation: scrollIn .2s;
    /* box-shadow: 0px 3px 4px #444; */
}

header>span {
    display: block;
    padding-top: 179px;
}

nav {
    font-family: 'Montserrat', sans-serif;
    background: var(--primary);
    height: 35px;
    padding-top: 25px;
    display: block;
    color: #FEFEFE;
    z-index: 0;
    letter-spacing: 1px;
    opacity: 1;
}
nav , [app-drag] , #linkBack {
    -webkit-app-region: drag;
}
holder * {
    -webkit-app-region: no-drag;
}
nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  right: 0;
  box-shadow: 0px 2px 2px #aaa;
}

nav header div {
    padding-top: 10px;
    font-weight: bold;
}

holder > container.on,
holder > div.on {
    animation-delay: .3s;
    animation: slideUpCard .4s;
    animation-fill-mode: forwards;
    z-index: 99;
}

holder {
    transition: opacity .15s, left .4s;
    margin-top:120px !important;
}

/* UI ELEMENTS */


container.sidebar {
    position: fixed;
    width: 299px;
    bottom: 0;
    top: 10px;
    left: 0;
    margin-left: 1px;
    overflow-y: scroll;
    background: #fefefe;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin: none !important;
    z-index: 10;
    border-radius:0px;
    overflow-x: hidden;
}


.omenu {
    font-size: 18px;
    padding: 8px 20px;
    transition: border 0.2s, background 0.3s, opacity .4s, height .4s, padding .3s, color .2s;
    min-height: 23px;
    overflow: hidden;
    overflow-y:;
    margin: 5px 10px;
    border-radius: 4px;
    /* opacity: 0.5; */
    border: 1px solid transparent;
}

.omenu:hover {
    background: var(--primary);
    cursor: pointer;
    color: #fff;
}

.otitle {
    margin-top: 20px;
    text-align: center;
    padding-left: 20%;
    padding-right: 20%;
    font-size: 20px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    color: white;
    transition: all 200ms 0ms;
}

.otitle div {
    padding: 6px;
    border-radius: 3px;
    box-shadow: 0px 1px 1px #7771;
    background: var(--primary);
}

.o-expanded .omenu {
    display: none;
}

.o-expanded .otitle {
    margin: 0px;
    margin-bottom: 0px;
    border-radius: 0px;
    padding: 0;
    cursor: pointer;
    font-size: 25px;
}

.o-expanded .otitle div {
    border-radius: 0px;
    box-shadow: none;
    padding: 30px 5px;
}
#tfill2 { /*Tapcalk6 compatibility*/
  display:none;
}
#tfill,
.card, #tfill2 {
    opacity: 1;
    /* width: 805px; */
    margin: 50px auto;
    padding: 10px 25px 25px 25px;
    max-width: 750px;
    box-shadow: 0 1px 3px #999;
    background: white;
    border-radius: 4px 4px 2px 2px;
    /* max-width: 600px; */
    min-height: 0;
}

.sidebar .omenu::before {
    content: '';
    height: 9px;
    width: 9px;
    position: absolute;
    margin-top: 6px;
    margin-left: 215px;
    border-radius: 6px;
    transition: all .2s;
}

.sidebar .omenu.on::before {
    background: #666;
}

.sidebar .omenu.on:hover::before {
    background: white;
}



#pageTitle {
  display: block;
  font-size: 24px;
   margin-left: 350px;
  margin-top: -12px;
  text-transform: uppercase;
  transition: .2s;

}

/*for top nav*/
#additional-icons {
    position: absolute;
    margin-top:-36px;
    right:70px;
    font-size:32px;
}

/*material icons*/

@keyframes slideUp {
    0% {
        opacity: 0;
        margin-top: 30px;
    }
    100% {
        opacity: 1;
        margin-top: -40px;
    }
}

@keyframes showUp {
    0% {        opacity: 0;    }
    100% {      opacity: 1;    }
}

@keyframes slideUpCard {
    0% {
        opacity: 0.2;
        margin-top: 100px;
    }
    100% {
        opacity: 1;
        margin-top: 20px;
    }
}

/* RTS NXT integration*/
#NineDotMenu {
    position: fixed;
    color: white;
    top: 1px;
    z-index: 99;
    font-size: 32px;
    right: 7px;
-webkit-app-region: no-drag;
}

#NineDotMenu.on::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 99;
    height: 100%;
    opacity: 1 !important;
    border-top: 140px solid transparent;
    background: linear-gradient(#EEE, white);
    animation: NineDotMenuUp .6s;
    animation-fill-mode: forwards;
}

#NineDotMenu.on::before {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 97 !important;
    height: 100%;
    opacity: 0;
    background: #444;
    border-radius: 0px !important;
    animation: NineDotMenuBlack .6s;
}
body.NineDotMenuTransition .sidebar {
  opacity: 0 !important;
}

.ctrls-l , .ctrls-x , .ctrls-m{
    display: block !important;
    -webkit-app-region: no-drag;
    position: fixed;
    top: 8px;
    right: 80px;
    color: white;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid var(--light-primary);
    transition:all .1s;
}
.ctrls-l {
    right:140px;
}
.ctrls-m {
    right:200px;
}
.ctrls-l:hover , .ctrls-x:hover , .ctrls-m:hover  {
    background:var(--light-primary);
    box-shadow:0px 0px 2px #222;
}
@keyframes NineDotMenuUp {
    0% {
        top: 100%;
    }
    100% {
        top: 0%;
        box-shadow: 0px -5px 20px #444;
    }
}

@keyframes NineDotMenuBlack {
    0% {
        background: #999;
        opacity: 0;
    }
    100% {
        background: #444;
        opacity: .8;
    }
}

body.full-covered-active nav {
   height:300px;
   z-index: -1;
}
body.full-covered-active holder > div:not(#splash).on {
       border-radius: 6px 6px 0px 0px;
       box-shadow: 0 1px 3px #444;
}
body.full-covered-active holder > div.on .card {
    box-shadow: 0 1px 3px #444;
}
