@font-face {
    font-family: 'Sansita_Regular';
    src: url(/fonts/Sansita_Regular.ttf);
}
@font-face {
    font-family: 'Lato_Regular';
    src: url(/fonts/Lato_Regular.ttf);
}
@font-face {
    font-family: 'OpenSans_Light';
    src: url(/fonts/OpenSans_Light.ttf);
}
@font-face {
    font-family: 'Roboto_Regular';
    src: url(/fonts/Roboto_Regular.ttf);
}
/* ..........................Header styling Scada Live-x --------start */
.fix__Nav {
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    background-color: #fbfbfb;
}
.Nav-MainContainer {
    padding: 5px;

    display: grid;
    grid-template-columns:auto 1fr auto auto auto ;
    grid-template-rows: auto auto;
    grid-template-areas:
                        "Logo DummyBox Username Username Avatar"
                        "Logo DummyBox DateTime LoginBtn Avatar";
                        
    grid-gap: 5px;
    position: relative;
}
.Nav-MainContainer .avatar-box {
    display: none;
    place-items: center;
    grid-area: Avatar;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
}
.Nav-MainContainer .avatar-box .avatar {
    display: block;
    -webkit-background-size: 35px 35px;
    background-size: 35px 35px;
    border: 0;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin: 0;
    position: relative;
    height: 35px;
    width: 35px;
    z-index: 0;
}
.item-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.Nav-Logo {
    grid-area: Logo;
}
.Nav-Logo a {
    border-right: 1px solid;
    border-image: linear-gradient( rgba(0, 0, 0, 0), #607D8B, rgba(0, 0, 0, 0) ) 1 100%;
}
.Nav-Logo img {
    display: block;
    width: 100px;
    padding: 5px;
}
.Nav-Logo header {
    padding-left:10px;
    font-family: 'Sansita_Regular';
    font-size: 20px;
    letter-spacing: .1em;
    color: rgba(0, 0, 0, 0.5);
    line-height:28px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.Nav-Logo header p {
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0em;
    display: grid;
    place-items: flex-start;
}
.Nav-Username {
    grid-area: Username;

    display: none;
    /* display: flex;
    align-items: center;
    justify-content: flex-end; */
}
.Nav-Username i {
    margin-right: 5px;
    font-size: 12px;
    color:#0a9903;
    /* visibility: hidden; */
}
.Nav-Username a {
    font-family: 'Lato_Regular';
    margin-right: 15px;
    text-decoration: none;
    font-size: 12px;
    color:#505050;
    
}
.Nav-Dummy-Area {
    grid-area: DummyBox;
    /* border: 1px solid grey; */
}

.Nav-DateTime {
    grid-area: DateTime;
    /* border: 1px solid blue; */
}
.Nav-DateTime a {
    font-family: 'Sansita_Regular';
    letter-spacing: .5px;
    font-size: 20px;
    font-weight: 100;
    color: #58595B;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}
.Nav-DateTime span {
    margin: 0 5px;
    color: #f72424;
}
#dateTime-seperator {
    display: none;
}
#AmPm-part {
    margin-left: 3px;
    color:rgba(88, 89, 91, 0.529);
    font-size: 16px;
    letter-spacing: .5px;
    align-self: flex-start;
}
/* Nav Login Button CSS work and hover animation */
.Nav-Login {
    grid-area: LoginBtn;
    /* border: 1px solid blueviolet; */
}
.btnLogin {
    font-family: 'Lato_Regular';
    font-size: 1.5em;
    padding: 5px;
    width: 60px;
    margin-right: 5px;
    background: none;
    color: #009688;
    border: 0px solid #009688;
    border-radius: 3px;
    transition: .3s;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    outline: none;  
}
.btnLogout {
    /* display: none; */
    font-family: 'Lato_Regular';
    font-size: 13px;
    padding: 5px 0px;
    width: 60px;
    margin-right: 5px;
    background: none;
    color: #c91d17;
    border: 1px solid #338033;
    border-radius: 3px;
    transition: .2s;
    overflow: hidden;
}
.btnLogin:focus,
.btnLogout:focus {
    outline: none;
}
.btnLogin:hover {
    /* background: #007b6e;
    border: 1px solid #f2f2f2; */
    cursor: pointer;
    color: #f2f2f2;
}
.btnLogout:hover {
    background: #e11919;
    border: 1px solid #f2f2f2;
    cursor: pointer;
    color: #f2f2f2;
}
/* .btnLogin:hover:before {
    transform: translateX(300px) skewX(-15deg);
    opacity: .6;
    transition: .7s;
}
.btnLogin:hover:after {
    transform: translateX(300px) skewX(-15deg);
    opacity: 1;
    transition: .7s;
} */
/* this is for startup hidden */
#login-icon {
    /* visibility: hidden; */
}
#login-name {
    /* display: none; */
}
#SignIn {

}
#SignOut {
    display: none;
}
/* Scrolling effect for Nav background */
.fix__Nav.black {
     /* FF3.6-15 */
    background: -moz-linear-gradient(45deg, #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-linear-gradient(45deg, #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%);
}
/* Media query for Responsive Mobile first ..............*/
/* Less than 768, then apply the style. i.e (< 768) */
@media only screen and (max-width: 768px) {
    .Nav-MainContainer {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        grid-template-rows: auto auto auto;
        grid-template-areas:
                            "Logo Username Username Avatar"
                            "Logo DummyBox LoginBtn Avatar"
                            "Logo DummyBox LoginBtn Avatar";
    }
    /* Nav Username */
    .Nav-Username a{
        margin-right: 7px;
        font-size: 10px;
    }
    /* Nav Top Date and Time */
    .Nav-DateTime {
        display: none;
    }
    /* Company Logo & Header */
    .Nav-Logo img {
        width: 85px;
        padding: 0;
        margin-right: 5px;
    }
    .Nav-Logo header {
        padding-left: 0;
        margin-left: 5px;
        font-size: 18px;
        line-height:18px;
        text-align: center;
    }
    .Nav-Logo header p {
        font-size: 10px;
        line-height: 15px;
        letter-spacing: .2em;
      }
    .btnLogout {
        font-size: 12px;
        width: 60px;
    }
}

