@import url("./style.css");

.home-image.admin-home-image {
  background-image: url(../img/Food-Processing-Unit\ 1.jpg);
}

.navbar.admin-navbar {
  padding: 3.24vh 7.916vw 4.167vh 6.6vw;
}

.admin .home-info {
  padding: 9vh 11vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin .home-info-text{

}


#adminLoginForm input[type="text"].form-control,
#adminLoginForm input[type="password"].form-control,
#adminLoginForm input[type="tel"].form-control,
#adminLoginForm input[type="number"].form-control,
#adminLoginForm input[type="email"].form-control,
#adminLoginForm input[type="url"].form-control{
  max-width: unset;
}

.loginForm input[type="text"].form-control,
.loginForm input[type="password"].form-control,
.loginForm input[type="tel"].form-control,
.loginForm input[type="number"].form-control,
.loginForm input[type="email"].form-control,
.loginForm input[type="url"].form-control{
  max-width: unset;
}

#adminLoginForm input::placeholder {
  font-family: var(--heading-font-family);
  font-style: italic;
  font-weight: normal;
  font-size: var(--body-text);
  line-height: 1.23;
  color: #6d6e71;
}

#adminLoginForm .form-group {
  margin-bottom: 1vh;
}

.login-button{
  font-family: var(--heading-font-family);
  font-style: normal;
  font-size: var(--body-text);
  line-height: 1.23;
  color: #ffffff;
  background: #007e3b;
  border: none;
  padding: 2.5vh 6.72vw;
  text-transform: uppercase;
  width: 100%;
  margin-top: 2.31vh;
  margin-bottom: 2.31vh;
}

#adminLoginForm input[type="submit"] {
 
}

.password-reset {
  font-family: var(--heading-font-family);
  font-size: var(--body-text);
  text-decoration-line: underline;
  color: #8c8c8c;
  text-align: center;
  display: flex;
  justify-content: center;
  margin-bottom: 3vh;
}

.admin .maps-content{
  padding: 9.259vh 13vw 0 13vw;
  position: relative;
}

.admin-maps-intro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.518vh;
  position: relative;
}

.admin-maps-welcome {
  font-family: var(--heading-font-family);
  font-weight: bold;
  font-size: var(--h1-font-size);
  line-height: 1.219;
}

.create-user-link {
  background-color: var(--orange-color) ;
  border-radius: 50%;
  width: 6.041vw;
  min-width: 48px;
  height: 6.041vw;
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -3vw;
}
.create-user-link img{
  width: 80%;
}

.admin-maps-summary{
  display: flex;
  flex-direction: row;
}

.admin-maps-summary p:first-child{
  margin-right: 2vw;
}

.assistance-table{
  border: 1px solid #DFE0EB;
      box-sizing: border-box;
      border-radius: 8px;
      border-collapse: unset;
      padding: 1.2vw 1.2vw 0.1vw;
      margin-bottom: 3vh;
  }


  .assistance-table thead td{
    padding-bottom: 1.3vh;
  }
  
  
.assistance-table thead td:first-of-type{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.assistance-table thead td:last-of-type{
vertical-align: initial;
}

  
.assistance-table thead td:first-of-type{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 26.35vw;
} 



.assistance-table thead td:first-of-type{
display: flex;
flex-direction: column;
}
.assistance-table .table-title{
  font-weight: 700;
font-size: var(--body-text);
line-height: 1.22;
letter-spacing: 0.4px;
margin-bottom: 0.8vh;
}

.assistance-table .table-date{
  font-size: var(--link-text);
line-height: 1.16;
letter-spacing: 0.1px;
color: #9FA2B4;
}

.assistance-table .table-export{
text-align: right;
letter-spacing: 0.2px;
color: var(--primary-color);
font-weight: 700;
font-size: var(--link-text);
}

.assistance-table tbody td{
  padding: 1vh 0;
}

.assistance-table tbody td:nth-of-type(2n+1){
  font-weight: 700;
font-size: var(--link-text);
}

.assistance-table tbody td:nth-of-type(2n){
  font-weight: 700;
font-size: var(--link-text);
color: #9FA2B4;
}


#createUserForm input[type="submit"] {
  font-weight: bold;
  font-size: var(--big-text);
  padding: 1.85vh 6.72vw;
  float: right;
  margin-bottom: 1vh;
  margin-bottom: 3vh;
  border-radius: 0.7vw;
}

.create-user-content {
  padding: 8vh 13vw;
}

.admin-filter {
  padding: 0 1.51vw 3vh 1.84vw;
  margin-top: 3vh;
}

.filter-title {
  font-family: var(--heading-font-family);
  font-weight: bold;
  font-size: var(--body-text);
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: #6d6e71;
  margin-bottom: 1.203vh;
  margin-left: 0.8333vw;
}

.filter-scroll{
  max-height: 35vh;
  margin-bottom: 2vh;
  padding-right: 6px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #888888 #e5e5e5;
}

.filter-scroll::-webkit-scrollbar {
  width: 10px;
}

.filter-scroll::-webkit-scrollbar-track {
  background:#e5e5e5;
  border-radius: 8px;
}
.filter-scroll::-webkit-scrollbar-thumb {
  background-color: #888888;
  border-radius: 8px;
  height: 50px; 
}

.filter-btn {
  color: #ffffff;
  width: 100%;
  background: #007e3b;
  border-radius: 10px;
}

.filter-btn,
.reset-btn {
  font-family: var(--heading-font-family);
  font-weight: bold;
  font-size: var(--body-text);
  line-height: 1.2;
  letter-spacing: 0.2px;
  padding: 1.2vh;
}

input.reset-btn {
  margin: 0.9vh auto;
  margin-left: auto;
  color: #777777;
  text-transform: capitalize;
  background-color: transparent;
  text-align: center;
  display: block;
  border: none;
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid #9c9c9c;
  border-radius: 14px;
  padding: max(0.677vw,8px);
  margin-bottom: 2.5vh;
}
.control {
  font-family: var(--body-font-family);
  display: block;
  position: relative;
  padding-left: max(1.2vw,15px);
  margin-bottom: 0.5vh;
  cursor: pointer;
  font-size: var(--link-text);
  letter-spacing: 0.3px;
  font-weight: 500;
  color: #b5b5b5;
  width: 100%;
  text-transform: capitalize;
}

.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.control__indicator {
  position: absolute;
  top: 0px;
  left: 0;
  height: 0.77vw;
  width: 0.77vw;
  min-height: 10px;
  min-width: 10px;
  background: transparent;
  border: 1px solid #c4c4c4;
}

.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
  border: 0.14vw solid #777;
  transition: all 1s;
}
.control input:checked ~ .control__indicator {
  background: var(--primary-color);
}
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
  background: var(--primary-color);
}
.control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
.control__indicator:after {
  content: "";
  position: absolute;
  display: none;
}
.control input:checked ~ .control__indicator:after {
  display: block;
}
.control--checkbox .control__indicator:after {
  left: 25%;
  top: 10%;
  width: 0.3vw;
  height: 0.75vh;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}

#createUserForm .control {
  font-family: var(--heading-font-family);
  padding-left: max(3.2vw, 40px);
  margin-bottom: 0.5vh;
  font-size: var(--big-text);
  letter-spacing: 0.3px;
  font-weight: 400;
  color: #000000;
}

#createUserForm .control__indicator {
  top: -0.4vw;
  left: 0;
  width: 2.5vw;
  min-width: 30px;
  height: 2.5vw;
  min-height: 30px;
  border: 3px solid #c4c4c4;
  border-radius: 10px;
}

#createUserForm  .control--checkbox .control__indicator:after {
  left: 33%;
  top: 10%;
  width: 0.6vw;
  height: 2vh;
  border: solid #fff;
  border-width: 0 max(0.26vw,3px) max(0.26vw,3px) 0;
  transform: rotate(45deg);
}

#createUserForm .control:hover input ~ .control__indicator,
#createUserForm .control input:focus ~ .control__indicator {
  border: 0.25vw solid #777;
  transition: all 1s;
}

.privacy-check{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: flex-end;
}

.privacy-link {
  font-family: var(--heading-font-family);
  font-size:var(--body-text);
  line-height: 1.22;
  text-decoration: underline;
  color: #8C8C8C;
  margin: 1.2vh 6.25vw; 
}


.modal{
  z-index:10000;
}

.modal-content {
  font-family: var(--body-font-family);
  text-align: center;
}

.modal-title{
font-size: var(--h3-font-size);
margin-top: 4vh;
}

.modal-text{
  margin: 3vh 0 0vh;
}

.modal-footer{
  border: none;
}

.big-modal .modal-content {
  background: rgba(0, 0, 0, 0.91);
  border-radius: 19px;
  color: white;
  font-family: var(--body-font-family);
  width: max(58vw, 550px);
  padding: 4vh 4.2vw;
  margin: auto;
  text-align: left;
}
.big-modal .modal-dialog{
  width:unset;
  min-width: 100vw;
}

.big-modal .close{
  position: absolute;
  top: 3.7vh;
  right: 2.5vw;
  opacity: 1;
  color: #7D7D7D;
}


#moreInfoModal .modal-body{
  height: 60vh;
  max-height: 550px;
  overflow: auto;
  margin-top: 20px;
}


#moreInfoModal .modal-body div{
 margin-bottom: 4vh ;
}

#moreInfoModal .modal-body h1{
    font-size: var(--h2-font-size);
 }

#moreInfoModal .modal-body h2{
  margin-bottom: 4vh ;
    font-size: var(--h3-font-size);
 }

 #moreInfoModal .modal-body h6{
  font-weight: 400;
  text-transform: uppercase;
  font-size: var(--body-text);
 }

 #moreInfoModal .modal-body p{
  font-weight: 500;
  font-size: var(--body-text);
  margin-top: 1vh;
 overflow-wrap: anywhere;
 }
 

 #moreInfoModal .modal-body::-webkit-scrollbar
{
    width: 9px;
  }
  #moreInfoModal .modal-body{
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
  }


  #moreInfoModal .modal-body::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
    border-radius: 7px;
  }

  #moreInfoModal .modal-body::-webkit-scrollbar-thumb{
    background-color: var(--thumbBG) ;
    border-radius: 5px;
    height: 20px; 
  }

.pop-info-link {
  font-size: var(--link-text);
  cursor: pointer;
  margin-top: 0.75rem;
  margin-left: -3.425vw;
}

.modal-header button span:first-child {
  border-radius: 50%;
  border: 3.3px solid ;
  width: 40px;
  height: 40px;
  display: inline-table;
  color: inherit;
  font-size: 40px;
  text-shadow: none;
}


.request-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4vh;
}

.company-info > h2,
.request-info> h2{ 
  font-size: var(--big-text);
  font-weight: 400;
}

.company-info > h2{
    width: 12vw;
    min-width: 250px;
    padding-top: 5px

}

.company-info > .customer-info,
.company-info > .product-info{
	margin-top:0.5vh;
overflow-y: auto;
	max-height: 35px;}


.company-info > .customer-info::-webkit-scrollbar,
.company-info > .product-info::-webkit-scrollbar{
    width: 9px;
  }
.company-info > .customer-info,
.company-info > .product-info {
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
  }

.company-info > .customer-info::-webkit-scrollbar-track,
.company-info > .product-info::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
    border-radius: 7px;
  }


.company-info > .customer-info::-webkit-scrollbar-thumb, 
.company-info > .product-info::-webkit-scrollbar-thumb{
    background-color: var(--thumbBG) ;
    border-radius: 5px;
    height: 20px; 
  }


.request-info> h2{
  width: 18vw;
  text-align: right;
  margin-left: auto;
	min-width: 250px;
}

.request-title{
  font-weight: bold;
font-size: var(--h2-font-size);
margin-bottom: 1vh;
width: 20vw;
min-width: 250px;
margin-left: auto;
text-align: right;
}

.company-info>img{
	max-width: 80px;
	margin-bottom:1vh
}

.request-article{
  font-weight: 400;
font-size: var(--body-text);
text-align: justify;
}

.request-question{
  font-size: var(--big-text);
  text-align: right;
}

.action-btn{
  font-weight: bold;
font-size: var(--body-text);
color: #FFFFFF;
text-align: center;
padding: 1.67vh 5.2vw;
margin-left: 1.5vw;
}

.action-btn:first-of-type{
  background-color: #20AAB3;
}

.action-btn:last-of-type{
  background-color: #B32037;  
}


@media (max-width: 991.98px) { 
  #createUserForm .control--checkbox .control__indicator:after {
    left: 35%;
    top: 0%;
    width: max(1vw,7px);
    height: max(1.7vh,10px);
  }
  .control--checkbox .control__indicator:after {
    left: 25%;
    top: -20%;
    width: max(0.3vw,5px);
    height: max(0.3vw,8px);
  }

 }



@media (max-width: 767.98px) {   


  .admin .home-info{
    top:80px;
    padding: 6vh 8vw;
  }

  .admin.login .home-main{
    min-height: 750px;
  }

 .admin.login .home-info {
  padding: 3.5vh 4.5vw 0;
  }
  
  .home-image.admin-home-image {
    background: linear-gradient(rgba(24, 24, 24, 0.6), rgba(24, 24, 24, 0.6)) ,  url(../img/Food-Processing-Unit\ 1.jpg) center center;
  }

  .admin-maps-summary{
    display: flex;
    flex-direction: column;
  }

  .assistance-table{
    margin-bottom: 4vh;
  }

 .admin.login .home-info-title,
.admin.login .home-info-text{
  margin-bottom: 1vh;
}

#adminLoginForm input[type="text"].form-control,
#adminLoginForm input[type="password"].form-control,
#adminLoginForm input[type="tel"],
#adminLoginForm input[type="number"].form-control,
#adminLoginForm input[type="email"].form-control,
#adminLoginForm input[type="url"].form-control {
background-color: transparent;
color: #FFFFFF;
}

#adminLoginForm input::placeholder {
  color: #FFFFFF;
}

.password-reset{
  color: #FFFFFF;
}


.create-user-content {
  padding: 5vh 8vw;
}


#createUserForm .control {
  font-size: var(--body-text);
}

.admin .maps-content{
  padding: 5vh 8vw;
}

.create-user-link img{
  width: 90%;
}

.admin-maps-welcome { 
  font-size: var(--h2-font-size);
  max-width: 90%;
}

.admin-maps-intro { 
  margin-bottom: 4vh;
}

.big-modal .modal-content { 
  width: 100vw;
  height: 100%;
  min-height: 100vh;
  border-radius: 0;
}

.company-info{
  align-self: flex-start;
  margin-bottom: 3vh;
}

.request-header{
  flex-direction: column;
}

.request-article{
  font-size: var(--link-text);
  max-height: 33vh;
  overflow-y: scroll;
  margin-bottom: 2vh;
}

.request-question{
  font-size: var(--body-text);
}

#createUserForm .control--checkbox .control__indicator:after {
  top: 16%;
}
}