/* styles.css */
/*
.cbFormDataCell, .cbFormDataCellNumberDate{
  background-color: #3F9BF8 !important;
}
*/

:root {
    --Color1: #1D69E5;
    --Color1Highlight: #3F9BF8;
    --Color1Contrast: White;
    --Color2: #FFFFFF;
    --Color2Contrast: Black;
    --Color2Highlight: #333333;
    --Color3: #1D69E5;
    --Color3Highlight: #3F9BF8;
    --Color3Contrast: #ffffff;
    --ColorGrrenConfirm: #A6B727;
    --ColorGrrenConfirmHighlight: #D9EA5A;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main-header {
    background-color: var(--Color2);
    color: var(--Color2Contrast) ;
    padding: 10px;
    text-align: center;
    display: block;
    position: relative; /* Ensure the header is a positioned container for absolute positioning */

}

.main-header-title
{
  display: flex;
  justify-content: space-between;
}

main-header img {
  max-width: 300px; /* Adjust the max-width as needed */
  margin-right: 10px; /* Adjust the margin as needed */
}

.main-header-text-container {
    flex-grow: 1; /* Allow the container to grow and take up remaining space */
    text-align: left; /* Center the text horizontally */
    margin-left: 50px;
    
}


.main-header-border
{
    background-color: var(--Color1) !important;
    height: 40px;
}


main {
    display: flex;
    justify-content: center;     
    max-width: 1280px;
    width:100%;
    margin: 0 auto;
    flex-grow: 1;
}

.cbResultSetNavigationTable {
    background-color: transparent;
}

section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

section H2{
    background-color:var(--Color1);
    color: #ddd;
    padding: 5px;
    border-radius: 5px; 
}

section H4{
    background-color:var(--Color1);
    color: #ddd;
    padding: 5px;
    border-radius: 5px; 
}

.pagefooter {
    background-color: var(--Color3);
    color: var(--Color3Contrast);
    padding: 10px;
    text-align: center;
    min-height: 100px;
    background-size:contain;
    text-align: center;
}

.pagefooter p {
    color: var(--Color3Contrast);
    width:fit-content;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
}

#code-section1,
#code-section2 {
    padding: 20px;
    box-sizing: border-box;  
}

/* styles for the styled button */
.styled-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    border-style: none;
    background-color: var(--Color3);
    color: var(--Color3Contrast) !important;
    
    transition: background-color 0.3s;
}

.styled-button:hover {
  background-color: var(--Color3Highlight);
}


.small-button {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
  border-style: none;
  background-color: var(--Color3);
  color: var(--Color3Contrast) !important;  
  transition: background-color 0.3s;
}

.vsmall-button {
  display: inline-block;
  padding: 0px 3px;
  font-size: 6px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 3px;
  border-style: none;
  background-color: var(--Color3);
  color: var(--Color2Contrast) !important;  
  transition: background-color 0.3s;
}

.small-button:hover {
  background-color: var(--Color3Highlight);
}

#home-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh; /* Adjust the height as needed */
}

.home-content {
    text-align: center;
}

.home-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.split-container {
    display: flex;
}

.split-div {
    flex: 1;
    padding: 20px;
}

.split-div-connected {
  
}


.center-vertically {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%; /* Set the height of the container div */
    color: var(--ColorGrrenConfirm);
  }



/* Style for the Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Style for the Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* Adjusted margin */
    padding: 30px; /* Adjusted padding */
    border: 1px solid #888;
    width: 80%;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5); /* Added shadow */
    border-radius: 10px; /* Rounded corners */
}

/* Style for the Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/*style for warnings in tabular reports for caspio*/
.greenConfirmation{
  background-color: var(--ColorGrrenConfirm);
  color: whitesmoke;
  padding:4px;
  border-radius: 4px;
}

.amberWarning{
    background-color:#FFA600 ;
    padding:4px;
    border-radius: 4px;
}

.redWarning{
    background-color:#960019 ;
    color: whitesmoke;
    padding:4px;
    border-radius: 4px;
}


.cbAuthBox a {
    color:#373873 !important;
}




/* style tabs*/
.tabs {
    display: flex;
  }

  .tab {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    background-color: var(--Color1Highlight);
    border-bottom: 1px solid #fff;
    color: var(--Color1Contrast);
    border: 1px solid #ccc;    
    border-radius: 5px 5px 0 0;
  }

  .tab.active {   

    background-color: var(--Color1);
    border-bottom: none;
  }

  .tabsection {
    display: none; /* Hide sections by default */
    padding: 20px;
    border: 1px solid var(--Color1);
    border-radius: 0 0 5px 5px;
  }

  .tabsection.active {
    display: block;
  }
  

.cbFormCommonError{
  color: #ddd;
}

  /* Style the navigation bar */
.navbar {
    overflow: hidden;
    background-color: var(--Color1);    
    color: #ccc;
  }
  
  /* Limit the max width of the navigation section */
.nav-section {
    max-width: 1280px; /* Maximum width of 1280px */
    margin: 0 auto; /* Center the navigation section */
  }

  /* Navigation bar links */
  .navbar a {
    float: left;
    display: block;
    color: var(--Color1Contrast);
    text-align: center;
    padding: 5px 20px;
    text-decoration: none !important;
    border-right: solid;
    border-width: 1px;
    border-right-color: #ddd;
  }

    /* Change color of links on hover */
    .navbar a:hover {
        background-color: var(--Color1Highlight);
        color: var(--Color1Contrast);
      }
  
  /* Dropdown container */
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  /* Dropdown button */
  .dropdown .dropbtn {
    border: none;
    outline: none;
    color: var(--Color1Contrast);
    padding: 5px 20px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    border-right: solid;
    border-width: 1px;
    border-right-color: #ddd;
  }

    /* Add down arrow to the dropbtn */
    .dropdown .dropbtn::after {
      content: ' ▼';
      font-size: 12px;
    }
  
  /* Dropdown content */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--Color1);
    min-width: 160px;
    z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    float: none;
    color: var(--Color1Contrast);
    padding: 5px 16px;
    text-decoration: none!important;
    display: block;
    text-align: left;
 
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {
    background-color: var(--Color1Highlight);
  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }






