
html {
  overflow-x:hidden;
}
body{
  
  font-family:  Arial, Helvetica, sans-serif;
  overflow-x:hidden;
}
#space{
  height: 115px;
}
#display{
  visibility:hidden ;
}

#content{
  width: 1115px;
  padding: 30px 0 30px 0;
  margin: 0 auto 0 auto;
  
}
#header{
  display: flex;
  font-size: 15px;

  margin-bottom: 27px;
}

#logo{
  height: 52.5px;
  margin: auto 0 auto 0;
  }

  #user{
    height: 25px;
    margin: 15px -125px auto 0;
    width:275px;
  }
  
  #userButton{
    margin: auto 125px auto -125px;
    background-color: white;
    border-width: 0;
    color: #28f;
  }
 #userButton:hover{
  color: #0056B3;
  }


 body, h1, h2, h3, h4, h5, h6, p, ul, ol {
    margin: 0;
    padding: 0;
}

/* Style the form container */
#contactForm {
  max-width: 100%;
  margin: 0 auto;
  font-size: 18px;
  padding: 0px;
  /*border: 1px solid #999;*/
  border-radius: 5px;
 /* background-color: #f5f5f5;*/
}

/* Style form labels */
#contactForm label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Style form inputs and select */
#contactForm input[type="text"], #contactForm select {
  width:90%;
  padding: 8px;
  font-size: 18px;
  height: 40px;
  margin-bottom: 10px;
  border: 1px solid #999;
  border-radius: 3px;

}

/* Style checkboxes */
#contactForm input[type="checkbox"] {
  margin-right: 5px;
}
.formCheckLabel input {
  display: none;
}

.checkBoxDisplay {
  height: 13.3px;
  width: 12.8px;
  border-width: 1.8px; 
  border-style: solid;
  border-color: #999;
  float: left;
  border-radius: 2.5px;
  margin-right: 10px;
}

.formCheckLabel:hover .checkBoxDisplay {
  border-color:  black;
}
.formCheckLabel:hover input:checked ~ .checkBoxDisplay {
  background-color: rgb(0, 80, 255)!important;
  border-color: rgb(0, 80, 255)!important;
}

.formCheckLabel input:disabled ~ #contactAuthBuyerDisplay {
  background-color: #ccc !important ;
  border-color: #bbb !important;

}
.checkMark{
  color:white;
 font-size: 10px;
 padding-left:1px;
 display:none;

}
.formCheckLabel input:checked ~ .checkBoxDisplay .checkMark {
  display:block;
}
.formCheckLabel input:checked ~ .checkBoxDisplay {
  background-color: rgb(0, 128, 255)!important;
  border-color: rgb(0, 128, 255) !important;
}

/* Style form submit button */
#contactForm input[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

/* Style links within labels */
#contactForm label a {
  color: #007bff;
  text-decoration: none;
}

/* Style checkboxes and their labels */
#contactForm .checkboxGroup {
  display: inline-flex;
  align-items: center;
  margin-bottom: 5px;
  width: 100%;
  font-size: 17px;
}

.formTooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Styles for the tooltip box */
.formTooltip .tooltipBox {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: normal;
  display: none;
  position: absolute;
  bottom:180%;
  left: -785%;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 3;
  width: 300px;
}
.checkboxGroup .formTooltip .tooltipBox {
  left: -830%;
}

/* Styles for the tooltip arrow */
.formTooltip .tooltipBox::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
  transform: translateX(-50%);
}

/* Show the tooltip on hover */
.formTooltip:hover .tooltipBox {
  display: block;
}

.checkboxGroup input[type="checkbox"] {
  margin-right: 5px;
}
.formFooter{
  font-size:14px;
  font-weight: 600px;
}
.checkboxGroup label {
  margin: 0;
}
/* Add spacing to the online access div */
#onlineAccessDiv {
  
  margin-left: 15px;
}



  #userLinks{
    margin: 12px 125px auto -125px;
    border-color:#DFE2E6;
    border-style: solid;
    border-width:1px;
    background-color:white;
    width: 270px;
    border-radius:5px;
  }
  .userLink{
    border-width:0;
    width: 270px;
    height: 35px;
    transition-duration: 0.2s;
    background-color:white;
    text-align:left;
    padding-left:20px;
  }
  .userLink:hover{
    background-color: #E9ECEF;
  }
#header-RD{
    display:flex;
    flex:1;
    justify-content: right;
  }

  #header-RM{
    display:none;
  }
 
  #menuButton{
    width: 50px;
    height: 40px;
    border-radius:5px;
    border-color:#DFE2E6;
    /*color:#DBE3E9;*/
    color:red;
    border-style: solid;
    border-width:1px;
    margin: 20px 20px auto auto;
    background-color:#F8F9FA;
    transition: color 0.2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
  }
  #menuButton:hover{
    background-color:#E2E6EA;
  }

  .headerButton{
    border-radius:5px;
    height: 40px;
    font-size: 17px;
    border-color:#DFE2E6;
    border-style: solid;
    border-width:1px;
    color: #194a8b;
    margin: 10px 0 auto 10px;
    background-color:#F8F9FA;
    transition: color 0.2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
  }
  .headerButton:hover{
    color: black;
    background-color:#E2E6EA;
  }

 

#contactHeader{
  width: 100%;
  height: 80px;
  margin: 140px 0 -215px;
  background-color:#E4EBF1;
  font-size: 30px;
  text-align: left;
  color: #194a8b;
  
  font-weight: bold;
  display: flex;
  align-items: center;
 
}


#headerText{
  margin: 0 auto 0 auto;
   width: 1115px;
}




#customer{

height: 67px;
margin: 10px 0 -10px 0;
font-size: 21px;
font-weight: 600;
line-height: 1.2;
text-align: left;
color: #194a8b;
}



#line{
  height:2px;
  border-width:0;
  color:gray;
  background-color:gray;
}

#contactText{
  font-size: 21px;
  margin-left: 0;
 
}

#searchBar{
  width: 480px;
  border-radius: 5px;
  border-style: solid;
  border-width: 1.5px;
  border-color: #CED4DA;
  height:40px;
  text-indent: 10px;
}

#lists{
 overflow-y:hidden;
  height: 412px;
  display: flex !important;
}

#contacts{
  margin: 10px auto 0 0;
  text-align: left;
  list-style-type:none;
  padding: 0;
 width: 480px;

 display: table;
}

.contact{
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom-width: thin;
  border-bottom-style: solid;
  border-bottom-color: #ced4da;
  padding-top: 0px;
  font-size:15px;
  height:50px;
}


.label{
  width: 390px;
  margin-right: 50px;
  cursor:hand;
  cursor:pointer;
}
.check{
  cursor:hand;
  cursor:pointer;
}
.listButton{
  background-color: white; 
  border-width: 0px; 
  height: 40px;
  width: 30px;
}


#selectedDiv{
  overflow-y:auto;
  height:400px;
  flex: 1;
  
  margin: 10px 25px 0 0;
  
}

#selected{
  font-size: 15px;
  text-align: left;
  list-style-type:none;
  padding: 0;
  display: table;
}

#selectedHeader{
  margin: 0 0 10px 10px;
  height:27px;
  font-weight: bold;
}

.deselect{
  background-color: white;
   border-width: 0; 
   margin: 0 10px 0 0; 
   height: 33px;
   width: 33px;
  color: #919191;
}

  .select{
    color: #919191;
    padding-top: 0px;
    height:33px;
  }

#pagination{ 
  font-size:15px;
  display:flex;
  font-weight:bold;
}
#pageButtons{
 width:150px;
 margin-right:250px;
  
}

.pageButton{
  border-width: 0px; 
  background-color:white;
  color:black;
  margin: 5px auto 5px auto;
  font-weight: bold;
}

#deselectAll{
  background-color: white;
   border-width: 0; 
   margin: 10px 10px 0 0px; 
   color: #28f;
}
#deselectAll:hover{
  color: #0056B3;
  }

 .buttons{
  height: 53px; 
  width: 500px;
  /*padding-left: 15px;*/
  display: flex;
}

.closeX{
  font-size:25px;
  background-color: transparent;
  border-style:none;
  color: red;
}

.footerButton{
  margin: 10px auto 0 auto;
}

.button{
  transition: color 0.2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
  font-weight: bold;
  margin: 10px 5px 0 5px;
  font-size: 17px;
  width: 176px;
  height: 35px;
  border-radius: 5px;
  border-color: #e8112d;
  border-style: solid;
  background-color: white;
  padding: 4px;
  color: #e8112d;
  margin: 10px auto 0 auto;
}
.button:hover{
  background-color: #e8112d;
  color:white;
}


.buttonDeactivated{
  font-weight: bold;
  margin: 10px 5px 0 5px;
  font-size: 17px;
  width: 176px;
  height: 35px;
  border-radius: 5px;
  border-color: #545454;
  border-style: solid;
  background-color: white;
  padding: 4px;
  color: #545454;
  margin: 10px auto 0 auto;
}


#add-body{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
}

.addInputDiv{
  display: flex;
}
.addInputContainer{
  margin: -3px auto 10px auto;
}
.addInput{
  margin-left: 10px;
  width: 250px;
  
}

.addMinus{
  height: 30px;
  background-color: white;
  color: #e8112d;
  width: 60px;
  height: 30px;
  border-radius: 5px;
  border-color: #e8112d;
  border-style:solid;
  margin-left: 10px;
  transition: color 0.2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
}

.addMinus:hover{
  background-color:#e8112d;
  color:white;
}

#addPlus{
  width: 250px;
  background-color: white;
  color: #5AC933;
  
  height: 30px;
  border-radius: 5px;
  border-color: #5AC933;
  border-style:solid;
  margin:5px auto auto 10px;
  transition: color 0.2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
}

#addPlus:hover{
  background-color:#5AC933;
  color:white;
}
#footer-1{
  height: 310px;
  padding-top: 50px;
  margin-top:50px;
  background-color: #242936;
  font-size:15px;
}
#links-1{
  display:flex;
  width: 1115px;
  margin: auto;
  height: 80%;
  color: white;

}

.returnButton{
  background-color: white;
  height: 40px;
  width: 150px;
  color: #194A8B;
  font-weight: bold;
  border-width:0;
  border-radius: 2.5px;
  margin-bottom: 15px;
  transition: color 0.2s ease-out, background-color .2s ease-out, border-color .2s ease-out;

}

.returnButton:hover{
 background-color: #E2E6EA;
 color: #212529;
}

#siteLinks{
  transition: color 0.2s ease-out, background-color .2s ease-out, border-color .2s ease-out;
  list-style: none;
}
.linksText{
margin: 5px 0 10px 0px;
}
.linksText2{
  margin: 20px 0 10px 15px;
  }
.linksText:hover{
  color: #CBD3DA;
}

#feedback{
  background-color: #4AA0B5;
  border-width: 0;
  border-radius: 2.5px;
  width: 170px;
  margin-left: 15px;
  height: 30px;
  color: white;
}
#footer-2{
  padding-top: 50px;
  height: 190px;
  background-color: #E4EBF1;
  font-size:14px;
}

#links-2{
  display: flex;
  width: 1115px;
  margin: auto;
  height: 75%;
  color: #3367B3;

}

.JS-Link{
  margin: auto 8px auto 0px;
}
.JS-link:hover{
  color: #0056B9;
  text-decoration:underline;
}


.linksL{
  width: 55%;
}
.linksR{
  width: 30%;
  margin-left: 15%;
}
#sideBar{
  background-color: #E4EBF1;
  height:100%;
  width: 360px;
  position: fixed;
  z-index: 2;
  display:none;
  top: 0;
  overflow-y: scroll;  
  transition: right .5s ;
}
#sideBarCloseButton{
  margin: auto 0 auto 35px; 
  border-width:0px; 
  background-color: inherit; 
  width: 40px; 
  height: 40px; 
  color: #727578;
}

.sideBarButton{
  color: black;
  font-size: 13px;
  text-align: left;
  width:100%; 
  background-color:#F8F8F5; 
  padding-left: 15px;
  height: 50px;
  border-width:0; 
  margin-bottom: 1.5px;
}

.sideBarButton:hover{
  background-color: #3B86D2;
  color: white;
  text-decoration: underline;
}

#userLinksMobile{
  height:150px;
  overflow:hidden;
  transition: height 0.3s ease-out;
  border-color:#DFE2E6;
  border-style: solid;
  border-width:1px;
  background-color:white;
  width: 100%;
  
}
#userLinkMobile{
  font-size: 13px;
  background-color:white;
  text-align:left;
  color: black;
  width:100%; 

  padding-left: 30px;
  height: 37.5px;
  border-width:0; 
  margin-bottom: 1.5px;
}
#userLinkMobile:hover{
  background-color: #3B86D2;
  color:white  !important;
  text-decoration: underline;
}
#disableClick {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  z-index: 9999; /* Ensure it's on top of everything */
  pointer-events: auto; /* Allow capturing clicks */
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
  display: none; 
}
.offScreen{

  right: -300%;
}
.onScreen{
  right:0;
}

.modal-body{
  font-size: 15px;
}
.mobile{
  display: none;
}

a{
  text-decoration:none;
  color:inherit;
}
.desktopWide{
  display:inline-block;
}
@media (max-width:1120px){

  body{
    position: relative;
  }

  #overlay{
    display:block;
  }
  #sideBar{
    display:block;
  }
  #content{
    width: 750px;
    padding: 30px 0 30px 0;
    
    margin: 0 auto 0 auto;
  }
  #header-RD{
      
    width:0px;
    flex:0;
  }
  /*#content{
    
    width: 100%;
    padding: 10px 0 30px 0;
 
  }*/
  #headerText{
    margin: 0 auto 0 auto;
     width: 750px;
  }
  #header-RM{
     
    
    display:flex;
    flex:1;
    justify-content: right;
  }
  #footer-1{
    height: 310px;
    padding-top: 50px;
    margin-top:50px;
    background-color: #242936;
    font-size:15px;
  }
  #links-1{
    display:block;
    width: 90%;
    margin: auto;
    height: 80%;
    color: white;
  
  }
  
  .returnButton{
    background-color: white;
    height: 40px;
    width: 170px;
    color: #194A8B;
    font-weight: bold;
    border-width:0;
    border-radius: 2.5px;
    margin-bottom: 5px;
  
  }
  .headerButton{
    margin: 20px 20px auto auto;
  }
  #siteLinks{
    list-style: none;
  }
  .linksText{
  margin: 5px 0 10px 0;
  }
  
  #footer-2{
    padding-top: 50px;
    height: 300px;
    background-color: #E4EBF1;
    font-size:14px;
  }
  
  #links-2{
    display: block;
    width: 90%;
    margin: auto;
    height: 75%;
    color: #3367B3;
  
  }
  
  .linksL{
    width: 80%;
  }
  .linksR{
    width: 80%;
    margin-left: 0;
  }
  
  .desktopWide{
    display:none;
  }
  .desktop{
    display: inline-block;
  }
}
  @media (max-width: 800px){
    
    #logo{
      height: auto;
      width:95%;

      
      margin: 25px auto 5px 15px;
    }
    #space{
      height: 100px;
    }
   
    #contactHeader{
      margin: 85px 0 -185px 0;
      padding: 10px 0 0 30px;
    }

    
    
    #content{
      width: 100%;
      padding: 10px 0 30px 0;
   
    }
    
    #display{
      width: 95%;
      margin: auto 2.5% auto 2.5%
    }
    #contactTitle{
      font-size: 20px;
      text-align: center;
       margin:0 0 -10px 0;
        width:100%;
    }

    #line{
      height:2px;
      border-width:0;
      width: 90%;
      color:gray;
      background-color:gray;
    }

    #contactText{
      font-size: 16px;
      text-align:center;
      margin: auto 5% auto 5%;
      width: 90%;
      max-width:370px;
    }

    #customer{
      width: 100%;
      /*height: 100px;*/
    margin: 10px 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
   
    color: #194a8b;
    }

    #pagination{ 
      width: 100%;

    /*margin-left: 71px;*/
  }
    .label{
    margin-top: 6px;
    width: 220px;
    margin-right: 20px;
  }

    #contacts{
    font-size: 1em;
    margin: 0px 0 0 0;
    text-align: left;
    list-style-type:none;
    padding: 0;
    width: 340px;
   display: table;

  }

  .contact{
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom-width: thin;
    border-bottom-style: solid;
    border-bottom-color: #ced4da;
    padding-top: 0px;
    font-size:13px;
    height: 50px;
  }
  
  #lists{
    max-width: 370px;
    width:95%;
    height: 300px;
    margin: auto 5% 0 5%;
   overflow-y: auto;
  
   
  }

  .button{
    flex:1;
    margin: 10px auto 0 auto;
    max-width:150px;
    width: 150px;
  }
  .buttonDeactivated{
   
    width: 150px;
    margin: 10px 2px 0 2px;
  }
    .buttons{
    height:60px; 
    width: 340px; 
    display: flex;
    margin: auto 5% auto 5%
  }

  #deselectAll{
    background-color: white;
     border-width: 0; 
     margin: 10px 10px 0 10px; 
     color: #28f;
  }


  .listButton{
    background-color: white; 
    border-width: 0px; 
    width: 40px;
  }
    #searchBar{
    max-width: 375px;
    width: 90%;
    margin: 0px 5% 15px 5%;
  }
    .footerButton{
    margin: 10px auto auto auto;
    width: 170px !important;
  }
 

  .addInputDiv{
    display: block;
  }
  .addInput{
    margin-left: 0px;
    width: 200px;
  }

  #addPlus{
    width: 200px;
    margin:15px auto auto auto;
  }

  .addInputContainer{
    margin: -10px auto 10px auto;
  }

  

  .desktop{
    display: none;
  }
  .mobile{
    display: inline-block;
  }

  
  }

  