html {
    overflow:hidden;
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    display: block;
}





.section-label{
    width: auto;
    height: auto;
    text-align: left;
    font-family: arial;
    font-size: 11px;
    display: inline-block;
    color: #857f7b;
    /* box-shadow: 0 0 3px rgba(0,0,0,0.14), 0 1px 3px rgba(0,0,0,.28); */
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    /* padding-left: 5px; */
    color: rgba(0,0,0,0.54);
    font: 500 13px Roboto,sans-serif;
    letter-spacing: .5px;
    margin-left: 12px;
    /* padding: 2px 0; */
    text-transform: uppercase;
}




/*  LOGIN PAGE  */
.login {
    background-size: 103% 102%;
    background-image: linear-gradient(10deg, pink, purple);
    width: 100%;
    height: 100%;
    /* margin-bottom: 33px; */
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
}

.login h1 {
    text-align: center;
    font-variant: normal;
    color: white;
    width: auto;
    font-size: 50px;
}

.login fieldset {
    width: 92%;
    height: 320px;
    color: #FFFFFF;
    /* border-radius: 5px; */
    border-style: none;
    background: rgba(255, 255, 255);
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    display: flex;
    flex-direction: column;
}

#email, #password {
    width: 80%;
    font-size: 1rem;
    /*margin-top: 10px;*/    
    box-sizing: border-box;
    padding: 10px;
    outline: none;
    border: #0a0a0a;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    margin: auto;
    background-color: rgb(255, 255, 255);
}


.text-field {
    /*width: 80%;*/
    font-size: 1rem;
    margin-top: 10px;
    box-sizing: border-box;
    padding: 10px;
    outline: none;
    border: #0a0a0a;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    margin: auto;
    background-color: rgb(255, 255, 255);

    margin-top: 1px;
    margin-bottom: 1px;
}


.btn-login {
    outline: none;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    width: 25%;
  
    background-color: #052779;
    font-weight: 700;
    font-family: 'Arial';
    color: white;
    cursor: pointer;
    border-radius: 30px;
    margin: auto;
    top: 50px;
    margin-bottom: 0px;
    transition: ease-in 0.7s;
}

.btn-login:hover{
    background-color: #350e5a;
}



/*  CONTENT PAGE  */
.navigation {
    width: 100vw;
    height: 100%;
    color: white;
    background-image: linear-gradient(0deg, rgb(3, 188, 235), rgb(20, 95, 207));
    font-size: 1.1rem;
    align-items: center;
    justify-content: space-between;
    display: -webkit-inline-box;
    padding: 10px;
}

.navigation a {
    margin-left: 14px;
    color: rgb(255, 250, 250);
    font-size: 20px;
    font-weight: 600;
    transition: all 0.5s ease-in-out;
	
}

.navigation a:hover {
    color: #ffa154;

}
.navigation i {
    transition: all 0.5s ease-in-out;

}

.navigation i:hover {
    color: #ffa154;

}



.menu {
    width: 45vh;
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu h1 {
    font-size: 30px;
}

.home, .products, .contact, .user {
    cursor: pointer;
}

.section-1 {
    background-color: #212b2e;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    align-items: center;
    justify-content: center;
    
}

.section-2 {
    background-color: #ffffff;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    align-items: center;
    justify-content: center;
    
}

.section-3 {
    background-color: #1368d2;
    width: 100vw;
    height: 40vh;
    overflow: auto;
    align-items: center;
    justify-content: center;
    
}

/*.div-container {
    width: 80%;
    height: 74vh;
    margin-left: 10%;
    margin-top: 7%;
    color: #FFFFFF;
    box-shadow: -3px 7px 11px 2px rgb(0 0 0 / 28%);
    padding-top: 2%;
    overflow: auto;
}*/

.div-container {
    /* width: 80%; */
    /*height: 74vh;*/
    /* margin-left: 10%; */
    /* margin-top: 7%; */
    color: #FFFFFF;
    box-shadow: -3px 7px 11px 2px rgb(0 0 0 / 28%);
    padding-top: 2%;
    overflow: auto;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 96%;
    margin-left: 20px;
}

.header-section2 {
    background-color: rgb(222, 243, 243);
}
  
td, th {
    border-bottom: 1px solid #3b91db;
    text-align: left;
    padding: 8px;
}
  


.glyphicon-triangle-top {
    color: #8ecdd5;
    left: 16px;
}

.checked {
    color: orange;
  }

.tick {
    color: green;
    font-size: 1.2em;
    margin-left: 10px;
}



.ex {
    color: red;
    font-weight: bolder;
    font-size: 26px;
    margin-left: 10px;
    
 }

 .sync-off-label {
    color: red;
 }

 .sync-on-label {
    color: green;
    font-weight: bold;
}

.sync-on {
    color: green;
    font-size: 1.4em;
    margin-left: 10px;
}
.sync-on:hover {
    cursor: pointer;
    font-size: 1.8em;
}


.sync-off {
    color: red;
    font-weight: bolder;
    font-size: 1.4em;
    margin-left: 10px;
 }

 .sync-off:hover {
    cursor: pointer;
    font-size: 1.8em;
}

.sort-icon{
    position: relative;
}

.numup {
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    display: block;
    width: 12px;
    height: 12px;
    transform: rotate(-136deg);
    position: relative;
    left: 5px;
}

.numup:hover{
    border-bottom-color: rgb(212, 147, 104);
    border-right-color: rgb(212, 147, 104);;
}

.numdown {
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    display: block;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    position: relative;
    left: 5px;
}

.numdown:hover{
    border-bottom-color: rgb(212, 147, 104);;
    border-right-color: rgb(212, 147, 104);;
}

.intervalnumber {
    width: 70px;
    /*height: 22px;*/
    /*margin-top: 2px;
    margin-bottom: 2px;
    text-align: center;
    font-weight: 700;*/
}

input::placeholder{
    color: black;
}

input:disabled {
    background: white;
}

.timeup{
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    display: block;
    width: 12px;
    height: 12px;
    transform: rotate( -136deg);
    position: relative;
    left: 44px;
    bottom: 49px;
}

.timeup:hover{
    border-bottom-color: rgb(212, 147, 104);
    border-right-color: rgb(212, 147, 104);;
}

.timedown {
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    display: block;
    width: 12px;
    height: 12px;
    transform: rotate( 45deg);
    position: relative;
    left: 44px;
    bottom: 45px;
}

.timedown:hover{
    border-bottom-color: rgb(212, 147, 104);
    border-right-color: rgb(212, 147, 104);;
}

#intervaltime {
    width: 22px;
    height: 22px;
    /*display: block;
    position: relative;
    left: 39px;
    bottom: 48px;
    text-align: center;
    font-weight: 700;*/
}

.user {
    font-size: 40px;
    margin-right: 50px;
    position: relative;
}

.logout {
    display: none;
    width: 80px;
    padding: 6px;
    border-radius: 10px 0 10px 10px;
    font-size: 16px;
    background-color: #470950;
    color: white;
    position: absolute;
    right: 0;
    z-index: 1;
    transition: background 0.5s linear 0.1s , color 0.5s linear 0s;
}

.logout:hover {
    background: rgb(163, 157, 187);
    color: rgb(0, 0, 0);
}



.form-content {
    width: 600px;
    margin: auto;
    padding: 20px;
}

.form-content fieldset {
    width: 500px;
    height: 800px;
    /*border-radius: 5px;*/
    border-style: none;
    background: rgba(255, 255, 255);
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    margin: 10px;
    padding: 20px;
    align-items: stretch;

}

.form-content h1 {
    text-align: center;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 40px;
    line-height: 22px;
    margin-left: -32px;
    /* position: relative; */
    /* left: -76px; */
    /* font-size: 31px; */
}


#dialogoverlay{
	display: none;
	opacity: .8;
	position: fixed;
	top: 0px;
	left: 0px;
	background: #FFF;
	width: 100%;
	z-index: 10;
}
#dialogbox{
	display: none;
	position: fixed;
	background: #000;
	border-radius:7px; 
	width:550px;
	z-index: 10;
}
#dialogbox > div{ background:#FFF; margin:8px; }
#dialogbox > div > #dialogboxhead{ background: #666; font-size:19px; padding:10px; color:#CCC; }
#dialogbox > div > #dialogboxbody{ background: #333; padding:20px; color:#FFF; }
#dialogbox > div > #dialogboxfoot{ background: #666; padding:10px; text-align:right; }






/*  FOOTER  */
footer {
    height: 4vh;
    width: 100vw;
    bottom: 0;
    font-size: .8rem;
    color: #ccc;
    background: #3C4041;
    display: flex;
    align-items: center;
    justify-content: center;
}


.loader {
    display: none;
    position: fixed;
    right: 40%;
    bottom: 5%;
    z-index: 1;
    border: 16px solid #f3f3f300;
    border-radius: 50%;
    border-top: 16px solid rgb(73, 69, 69);
    border-bottom: 16px solid rgb(73, 69, 69);;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1s linear infinite;
}
  
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



@media only screen and (min-width:425px){
    .content {
        width: 100%;
        height: 100vh;
        
    }

    #nav_menu {
        width:100%;
    }
    
    
    

    

    
    .form-content{
       
    }

    .login {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .login fieldset {
        width: 95%;
        height: 245px;
        color: #FFFFFF;
        /* border-radius: 5px; */
        border-style: none;
        background: rgba(255, 255, 255);
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
        display: flex;
        flex-direction: column;
    }

    #email, #password, #btn-login {
        margin-top: 20px;
        margin-bottom: 10px;
    }

}

@media only screen and (min-width:600px){
    .content {
        width: 100%;
        height: 100vh;
    }

    #nav_menu {
        width:100%;
    }
    
    
    
    
    
    .form-content{
        
    }

    .login {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #email, #password, #btn-login {
        margin-top: 20px;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width:900px){
    .content {
        width: 100%;
        
    }

    #nav_menu {
        width:100%;
    }
    
    
    

    
    

    .login {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #email, #password, #btn-login {
        margin-top: 20px;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width:1125px){
    .content {
        background-color: #212b2e;
        width: 100%;
        overflow: auto;
    }

    #nav_menu {
        width:100%;
    }
    
    
    

    
    .login {
        width: 100%;
        height: 102%;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background-image: url(../img/supermarketcart_main.jpg);
        background-position: left center;
    }

    .login fieldset {
        width: 100%;
        height: 50vh;
        justify-content: center;
        color: #FFFFFF;
        /* border-radius: 5px; */
        border-style: none;
        background: rgba(255, 255, 255);
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
        display: flex;
        flex-direction: column;
        /*height: fit-content;*/
    }

    .login h1 {
        position: fixed;
        right: 129px;
        top: 20px;
        text-align: center;
        font-variant: normal;
        color: #052779;
        width: auto;
        font-size: 50px;
    }


    #email, #password, #btn-login {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .navigation a {
        margin-left: 44px;
        color: rgb(255, 250, 250);
        font-size: 20px;
    }
}

.autocomplete {
        /* margin: 10px; */
        position: relative;
        /* right: -50px; */
        margin: auto;
        margin-top: 1px;
        margin-bottom: 1px;
}

.autocomplete-items-multi {
    width: min-content;
    position: fixed;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 1;
}

.autocomplete-items-multi div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #d4d4d4; 
}


.autocomplete-items {
    width: fit-content;
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    overflow-y: auto;
    max-height: 200px;
}
  
  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #d4d4d4; 
  }
  
  .autocomplete-items div:hover {
    background-color: #e9e9e9; 
  }
  
  /*when navigating through the items using the arrow keys:*/
  .autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
  }