/* 
 * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
 * See LICENSE in the project root for license information.
 */

 /* Variables */
 :root {
  --zoom-level: 100%;
  --primary-blue: #2F6BC8;
  --hover-primary: #3D7BDC;
  --darker-primary: #316DCA;
  --lighter-primary: #4990D9;

  --text-primary: #224166;
  --lighter-text-primary: #3C536E;
}
/* Scroll bar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0,0,0,0.1);
}
::-webkit-scrollbar-thumb{
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb:hover{
    background: rgba(0,0,0,0.4);
}
::-webkit-scrollbar-thumb:active{
    background: rgba(0,0,0,.5);
}

/* General CSS */
 html,
 body {
     width: 100%;
     height: 100%;
     margin: 0;
     padding: 0;
     zoom: var(--zoom-level);
     font-size: 0.95rem;
     overflow-x:hidden;     
 }
 
 ul {
     margin: 0;
     padding: 0;
 }
 
 .ms-welcome__header {
    padding: 20px;
    padding-bottom: 30px;
    padding-top: 100px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    align-items: center;
 }

 .ms-welcome__main {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex: 1 0 0;
    flex: 1 0 0;
    padding: 10px 20px;
 }
 
 .ms-welcome__main > h2 {
     width: 100%;
     text-align: center;
 }
 
 .ms-welcome__features {
     list-style-type: none;
     margin-top: 20px;
 }
 
 .ms-welcome__features.ms-List .ms-ListItem {
     padding-bottom: 20px;
     display: -webkit-flex;
     display: flex;
 }
 
 .ms-welcome__features.ms-List .ms-ListItem > .ms-Icon {
     margin-right: 10px;
 }
 
 .ms-welcome__action.ms-Button--hero {
     margin-top: 30px;
 }
 
.ms-Button.ms-Button--hero .ms-Button-label {
  color: #0078d7;
}

.ms-Button.ms-Button--hero:hover .ms-Button-label,
.ms-Button.ms-Button--hero:focus .ms-Button-label{
  color: #005a9e;
  cursor: pointer;
}

b {
    font-weight: bold;
}
/* Standardisation */

.primary-button{
  background-color: var(--primary-blue);
  color: white;
}
.primary-button:hover{
  color:white;
  background-color: var(--hover-primary);
}

.border-button{
  border: 1px solid var(--darker-primary) !important
}

/* Page Templating */
.main-container{
  box-shadow: 0 1rem 2.5rem #cac7c7 ;
  margin: 1%;
  margin-top: 0;
  padding:1%;
  position: relative;
  overflow-y:scroll;
  overflow-x:hidden;
  position:fixed;
  height: 94%;
  top: 54px;
  padding-top: 10px
}
.page-header{
  margin-left:0%;
  font-weight: 550;
  color: var(--text-primary);
  font-size: 25px
}

.row-level-2{
  height: 20px
}
.update-text{
  font-size:14px;
  margin-right:4%;
  font-weight:650;
  color: var(--lighter-text-primary);
}
.update-toggle{
  margin-top:1%;
  text-align:end;
}

.filter-headers{
  font-weight: 550;
  font-size:14px;
}

.table-header{
  font-weight: 550;
}



/* Login */
.login-container {
    background: url('https://images.unsplash.com/photo-1562240020-ce31ccb0fa7d?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=687&q=80');
    background-size: 100%;
    background-position: center top;
    position:absolute;
      top:0;
      bottom:0;
      left:0;
      right:0;
      overflow:hidden;
  }

  .login {
    border-radius: 25px;
    padding: 25px;
    margin: auto;
    width: 80%;
    background-color: white;
    box-shadow: 0 0 10px #9a9fa3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .loginLogo{
    background-image: url('https://machgroup.co.uk/MACH_GROUP.png');
    background-size: contain;
    background-repeat: no-repeat, repeat;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
  }
  @media (max-width: 576px) {
  
    .loginLogo {     
      height: 70px;
      max-width: 150px;
    }
  }
  
  @media (min-width: 576px) {
  
    .loginLogo {
      height: 80px;
      max-width: 200px;
    }
  }
 
  .login-label{
      font-weight:bolder;
      font-size:15px;
  }

/* Navbar */

.top-navbar {
  z-index: 1000;
  background-color: #316DCA;
  width: 100%;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
  position: absolute;
}

.department-select{
  font-weight: 550;
  font-size: 14px;
  text-align: left;
  width: 175px;
}

.navbar-dropdown{
  color: #FBFBFB;
  position: fixed;
  left: 175px;
}
.nav-link{
  color: #FBFBFB !important
}
.dropdown-item{
  padding: 3px 3px !important
}
.dropdown-link{
  text-decoration: none !important;
  color: #212529 !important
}
.user-profile{
  border: 1.5px solid #E0E8F6;
  border-radius: 50%;
  width: 36px;
  height: 35px;
  color: #E0E8F6;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}

.user-profile:hover{
  background-color: #285caa;
}

.user-popover{
  width: auto;
  height: auto;
  margin:0 !important
}
.logout-row{
  width: 100%;
  padding: 6px 0px ;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer
}
.logout-row:hover{
  color: #596470;
}


.user-role-icon-user{
  background-color: #316DCA !important;
  border: 1px solid #2963b9 !important;
}

.user-role-icon-admin{
  background-color: #1852a8 !important;
  border: 1px solid #0f4392 !important;
}

.department-chip-icon{
  color: #f4f4f5 !important;
  font-size: 17px;
}
.zoom-text{
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 14px
}
.logout-icon{
  font-size: 15px;
  color: #303030;
  margin-top: 4px !important;
  margin-right: 7px !important;
  margin-left: 9px !important
}
/* Logout */
@media (min-width: 768px){
    .logout{
        margin: 4px 0 0 20% !important; 
    }
}
.logout{
    margin: 0 0 2% 0;    
}

/* Sections and Templates */
.section-buttons{
  text-align: right;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.fee-button{
  margin-left: 10px;
}

.category-buttons{
    margin:0 1% 0 0;
}
.xl-button{
    font-size:16px;
    font-weight:bolder
}

.categories-row{
  padding-right: 10px;
  height: 40px
}
.categories-container{
  overflow: hidden;
  margin-right: 0;
}
.category-button-group{
  height: 38px;
}
.category-button{
  font-size: 0.8rem !important;
}
.category-selected{
  font-size: 0.8rem !important;
  background-color: #104f97 !important;
}
.left-scroll-button{
  width: 25px;
  height: 25px;
  border-radius: 0;
  padding:0
}

.left-scroll-icon{
  margin-left: -2px
}

.right-scroll-button{
  z-index:5;
  width: 25px;
  border-radius: 0;
  padding:0;
}

.table-buttons-container{
  padding: 0;
  width: 100%;
  text-align: center
}
.insert-button{
  padding: 5px 10px;
}
.insert-edit-container{
  text-decoration: underline;
  cursor: pointer;
}

.insert-edit-container:hover{
  color: #464e57 !important
}
.insert-edit-toggle-buttons{
  padding:0 3px;
  margin:0;
  display: inline-block;
  width: 13px
}

/* Modal */
.backdrop {
  width: 250vw;
  height: 250vh;
}

.modal-header{
  color:white;
  background-color: var(--primary-blue);
}
.modal-header-edit{
  color:white;
  background-color: var(--lighter-primary);
}
.form-label{
  font-weight: 550;
}

.modal-footer{
  background-color: #DEDEDE ;
}
.no-category{
  font-size:15px;
  color:red;
  font-weight: 550;
}

/* Tagify */
.tagify{
  width: 100%
}
.tags-look .tagify__dropdown__item{
  display: inline-block;
  border-radius: 3px;
  padding: .3em .5em;
  border: 2px solid #BBBDC1;
  background: #CED0D5;
  margin: .2em;
  font-size: .85em;
  color: black;
  transition: 0s;
  font-weight:bolder;
}

.tags-look .tagify__dropdown__item--active{
  color: black;
}

.tags-look .tagify__dropdown__item:hover{
  background: #B5CEFA;
  border-color: #79A7F8;
}

/* General */
.bolder{
  font-weight:bolder;
}

/* ICONS */
.all-font-icons{
  margin: 0;
  padding:0;
  font-size: 15px
}

.info-icon{
  position:absolute;
  margin-left: 64.5%;
  margin-top:1.5%;
  font-size: 80%;
}
.no-tags{
  margin-right: 8px;
}
.info-icon:hover{
  color:#DBDDDF
}

@media screen and (max-width: 480px){
  .info-icon{
    position:absolute;
    margin-left: 55% !important;
    margin-top:2% !important;
    font-size: 90% !important ;
  }

@media screen and (max-width: 400px){
  .info-icon{
    position:absolute;
    margin-left: 45% !important;
    margin-top:3% !important;
    font-size: 90% !important ;
  }
}
@media screen and (max-width: 330px){
  .info-icon{
    position:absolute;
    margin-left: 35% !important;
    margin-top:3% !important;
    font-size: 90% !important ;
  }
}

@media screen and (max-width: 300px){
  .info-icon{
    display:none !important;
  }
}

