/* raleway */
@font-face {
    font-family: 'Raleway';
    src: url('/static/fonts/Raleway-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900 !important; /* Define weight range for variable font */
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Raleway';
    src: url('/static/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900 !important; /* Define weight range for variable font */
    font-style: italic;
    font-display: swap;
}

/* source serif */
@font-face {
    font-family: 'Source Serif';
    src: url('/static/fonts/SourceSerif4-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900 !important; /* Define weight range for variable font */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif';
    src: url('/static/fonts/SourceSerif4-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900 !important;
    font-style: italic;
    font-display: swap;
}




/* #fbfbfb would be default, general background color, close to white.
#db4d5b is the red colour, this red.
#161616 would be default font color, close to black.
#d9dad9 is the aluminum steel color.
#a0a0a0 used if a non-particular gray color is needed.*/


/* blue color: teal */
/* brown color: #3c280d. used by about esp. */


/* source serif for all? */
/* raleway for "copy to clipboard" and for the alerts */

html, body {
    height: 100%;
    display: flex; /* flex, so for footer */
    flex-direction: column; /* flex, so for footer. */
}

html, body {
    overflow-x: hidden; /* Prevents side scrolling */ /* otherwise, footer at left shows whitespace on scroll to left in some. */
    max-width: 100vw;   /* Ensures nothing exceeds the viewport */
    scrollbar-width: thin;
}

html, body, button {
    font-family: 'Source Serif', Georgia, Book Antiqua, Palatino Linotype, serif;
    font-size: 0.98rem;
    color: #161616;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fbfbfb;
}



/* remove margin that comes by default with p.<br> be used instead. */
p {
    margin: 0;
}


/* Accent-color for all checkboxes and radio Use accent-color for modern browsers */
input[type="checkbox"] {
    accent-color: teal;
}
  
input[type="radio"] {
    accent-color: teal;
}

select {
    display: none !important;
    visibility: hidden !important;
}
select option {
    display: none !important;
    visibility: hidden !important;
} 


/* defaults ended */





/* NAV:: */

/* General styles for the navbar */
.grid-container {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fbfbfb;
    padding: 0.16rem 0.16rem;
    border-bottom: 0.0218rem solid #c9c9c9;
    z-index: 10;
    /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); */
    height: 3.24rem;
    display: grid;
    grid-template-columns: 14% 35% 15% 32%; /* 5% rem, taken from the last; 5% taken from the second. 1% added to the first. */
    align-items: left; /* Vertically align items */
    gap: 1%;
}

nav {
     margin-bottom: 3.2rem;
}


.logo img {
    height: 2.8rem;
    width: 2.8rem;
    align: center;
    border-radius: 25%;
    margin-top: 0.2rem;
    margin-left: 0.1rem;
    border: 0.0214rem solid #eee;
}

/* First link styles */
.link a {
    display: block;
    text-align: left;
    font-size: 0.54rem;
    margin-top: 1.60rem;
    margin-left: 0.385rem;
    text-decoration: none; /* Remove underline */
    color: #211214;
}

/* Button and below-link group */
.button-link {
    display: flex;
    flex-direction: column; /* Stack button and link vertically */
    align-items: center; /* Center both horizontally */
    justify-content: flex-start; /* Align content to the top */
}

.button-link button {
    font-size: 0.72rem; /* Button font size */
    padding: 0.12rem 0.12rem; /* Adjust padding for the button */
    border: none;
    align-content: right;
    text-align: center;
    cursor: pointer;
    margin-top: 0.611rem; /* At least 25% margin from the top */
    font-weight: 580;
}

.button-link .aN {
    border-radius: 16%;
    background-color: #EAE6E6; /* Button background color */
    color: #288686;    
}

.button-link .bN {
    border-radius: 5%;
    background-color: #288686; /* Button background color */
    color: #fbfbfb;
}



.button-link a {
    font-size: 0.4rem; /* Font size for link below button */
    margin-top: 0.1rem; /* 0.1rem space below button */
    text-decoration: none; /* Remove underline */
    color: #211214; /* Link color */
    text-align: center; /* Center the text */
    align-content: center;
    transition: font-size 0.2s ease;
}
.button-link a:hover {
    font-size: 0.5rem;
}

/* Add hover effects */
.fixed-nav a:hover,
.fixed-nav button:hover {
    opacity: 0.8;
}


/* NAV css COMPLETED;; */


/* body-wrapper default. body-wrapper for main/middle of nav and footer content. */

.body-wrapper {
    flex: 1; /* flex to 1, so footer goes to button regardless of small body-wrapper content. */
    width: 92%;
    margin: 0 auto; /* Center it horizontally */
    padding: 0 2px;
    text-align: left;
    word-break: keep-all;
    /* overflow-y: auto; /* to add scroll bar if content overflows vertically. *//*    this overflow-y is uncomplimentary with footer and flexbox need. */
}

/* body-wrapper default, that up */





/* FOOTER:: */

footer {
    background: linear-gradient(#0b0b0f, #479494fb);
    background-blend-mode: soft-light;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    color: #eee;
    margin: 2.5rem 0 0 0;
    font-weight: 455;
    font-size: 0.63rem;
    padding: 0.7rem 0.35rem 0.13rem 0.35rem;
}

footer a {
    text-decoration: none;
    color: #cfcfcf;
    max-width: max-content;
}

footer button {
    color: #161616;
    font-weight: 455;
    font-size: 0.78rem;
}

footer .subscribe {
    margin-bottom: 0.96rem;
    font-size: 0.74rem;
}

footer .subscribe input {
    background-color: #f0f0f0;
    font-family: 'Source Serif';
    font-style: italic;
    width: 45%;
    max-width: 43.2rem;
    border: 0.084rem solid #a0a0a0;
    border-radius: 0.71rem;
    margin-right: 0.12rem;
    display: inline-block;
}

/* footer .subscribe select {
    /* these are additions to prior, to hide default appearance */
    /* padding: 1.5px 3.5px 0px 3.5px;
    border: 1px solid #ccc;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    /* additions end, below are the priors */
    /* color: #db4d5b;
    background-color: #ffffff10;
    font-family: 'Source Serif';
    font-style: italic;
    width: 30%;
    max-width: 28.8rem;
    border: 0.084rem solid #a0a0a0;
    border-radius: 0.71rem;
    cursor: pointer;
    margin-right: 0.12rem;
} */

footer .subscribe button {
    width: 15%;
    max-width: 14.4rem;
    border: 0.084rem solid #a0a0a0;
    border-radius: 0.6rem;
    margin: 0 0 0 0.22rem;
    cursor: pointer;
}

footer .one, footer .two {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 1.5%;
}

footer .one .oneA, footer .one .remOneB, footer .two .twoA, footer .two .twoB {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.11rem;
}

footer .one button {
    margin-top: 0.4rem;
    margin-bottom: 1.1rem;
    border: none;
    border-radius: 0.25rem;
    background-color: #18181bce;
    color: #fbfbfb;    
    padding: 0.1rem 0.25rem; 
    text-align: center;
    margin-left: 10%;
}

footer .two {
    border-top: 0.04rem dashed #fbfbfb;
    padding-top: 0.2rem;
}
footer .twoA a {
    text-decoration: underline;
    font-style: italic;
    font-weight: 680;
}
footer .three {
    font-size: 0.53rem;
    text-align: center;
    margin: 0 0.3rem;
}
footer .three a {
    padding: 0.13rem;
    color: #fbfbfb;
}

footer .smPic {
    height: 0.88rem;
    width: 0.88rem;
    background-color: #cfcfcf7f;
    border-radius: 0.14rem;
    margin-left: 0.25rem;
    margin-right: 0.75rem;
}


/* Footer's single-select dropdown: on */


/* select primary box covered in its own css, above. */
/*   #category::after {
    content: " ▼"; /* Dropdown Arrow */
    /*float: right;
  } */
  
  /* Hide default dropdown */
  /* #category option {
    display: none;
  }*/
  
  footer .subscribe .cstmSngle {
    color: #adffff;
    background-color: #ffffff10;
    font-family: 'Source Serif';
    font-style: italic;
    width: 30%;
    max-width: 28.8rem;
    border: 0.084rem solid #a0a0a0;
    border-radius: 0.71rem;
    cursor: pointer;
    margin-right: 0.12rem;
    padding: 1.5px 3.5px 0px 3.5px;
    display: inline-block;
  }
  
  /* Floating dropdown box */
  .select-modal {
    display: none;
    position: absolute;
    width: 100%;
    background: #f4f4f4;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    max-height: 15rem; /* Set scrollable height */
    overflow-y: auto;
    padding: 0;
    z-index: 10;
    scrollbar-width: thin;
  }
  
  /* Style for options */
  .select-modal label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px;
    cursor: pointer;
  }
  
  /* Radio button */
  .select-modal input[type="radio"] {
    margin-left: 2px;
  }
  
  
  /* Accent-color for all checkboxes and radio Use accent-color for modern browsers *//* Already in defaults although, but ok also here */
  input[type="checkbox"] {
    accent-color: teal;
  }
  
  input[type="radio"] {
    accent-color: teal;
  }
    


/* FOOTER css COMPLETED */















/* HOMEPAGE / JOBS CSS */
.orj {
    font-size: 1.92rem;
    text-align: center;
    font-weight: 700;
    padding-top: 1.42rem;
    padding-bottom: 0.42rem;
    background-color: #e9ff9908;
    border-radius: 0.2rem;
    font-family: 'Raleway';
}
.orjsp {
    color: #f0f0f0;
    background-color: #37a8a8;
    font-style: italic;
    border-radius: 0.41rem;
    font-size: 0.8rem;
    padding: 0.41rem 0.55rem 0.54rem 0.55rem;    
}

.orjsp {
    animation: shine 7.2s infinite;
}
.orjsp .brp {
    height: 0.51rem;
}

@keyframes shine {
    0% {
        opacity: 0.96;
    }
    50% {
        opacity: 1;
        background-color: #37a8a8;
        /* font-weight: 525; */
        /* text-decoration: underline;
        text-decoration-color: #cfcfcf;   */    
    }
    100% {
        opacity: 0.93;
    }
}

.jbjl {
    font-size: 1.49rem;
    text-align: center;
    font-weight: 700;
    color: #3c280d;
}


.jl .categories {
    text-align: center;
    margin-bottom: 0.5rem;
    background-color: #db4d5b10;
    padding: 0.5rem 0;
    border-radius: 0.3rem;
}
.jl .category {
    background-color: #18181bfb;
    color: #fbfbfb;
    margin: 0 0.12rem;
    font-size: 0.81rem;
    font-weight: 600;
    padding: 0.1rem 0.24rem;
    border: none;
    border-radius: 0.2rem;  
}
.category.active {
    background-color: #cfcfcf;
    color: #3c280df6;
    filter: brightness(1.18);
    font-size: 0.9rem;
    border-radius: 0.3rem;
    border: 0.16rem solid #18181be2;
}

/* useful for botton-like, and where it has a click listener already. */
.button-style {
  display: inline-block;
  background-color: #f0f0f0;
  text-align: center;
  cursor: pointer;
}
/* .button-style:hover {
  background-color: #ebebeb;
} */
/* useful for botton-like, and where it has a click listener already. */

.bncatg {
    display: grid;
    place-items: center;
    font-size: 0.55rem;
}

.srch {
    width: 85%;
}
#search {
    width: 100%;
    margin: 0.3rem 0 0.5rem 0;
    border-radius: 0.25rem;
    font-family: 'Source Serif';
    border: 0.06rem dashed #161616;
    font-size: 0.75rem;
    line-height: 1rem;
    background-color: #d7ffffa3;
}

.filter-toggle {
    color: #df0000;
    text-decoration: underline;
    cursor: pointer;
    text-align: left;
    display: block;
    width: 85%;
    padding-bottom: 10px;
    font-size: 0.6rem;
    transition: color 0.2s ease-in-out;
}

.filter-toggle:hover {
    color: #ff0000;
}



.jl .fltl1 {
    width: 65%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1%;
}

.jl .lksrt {
    display: flex;
    font-size: 0.75rem;
    flex-direction: column;
    margin: 0 0.2rem;
}


.jl .srt, .jl .lksrt {
    display: flex;
    flex-direction: column;
    margin: 0 0.2rem;
}
/* .jl .fltl1 select {
    font-family: 'Source Serif';
    font-size: 0.55rem;
    width: 100%;
    border-radius: 0.15rem;
    background-color: #3c280d16;
} */



/* .jl .fltl1 select {
    /* these are additions to prior, to hide default appearance */
    /* appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative; */
    /* additions end, below are the priors */
    /*padding: 1px 1.5px;
    border: 0.063rem solid teal8a;
    cursor: pointer;
    font: 0.55rem 'Source Serif';
    width: 100%;
    border-radius: 0.15rem;
    background-color: #d7ffff;
}*/


.jl .fltl2 {
    font-size: 0.65rem;
    margin-top: 0.2rem;
    text-align: left;
    margin-left: 7.5%;
    margin-bottom: 1.48rem;
}
.jl .button-style {
    padding: 0.06rem 0.18rem;
    border: 0.01rem solid #161616;
    font-size: 0.48rem;
}
.jl .fltl2 .button-style {
    background-color: #d7ffffd3;
}
.jl .srt .button-style {
    border-radius: 0.15rem;
    width: max-content;
}

/* useful for botton-like, and where it has a click listener already. */
.button-style {
  display: inline-block;
  background-color: #f0f0f0;
  text-align: center;
  cursor: pointer;
}
/* .button-style:hover {
  background-color: #ebebeb;
} */
/* useful for botton-like, and where it has a click listener already. */
/* each job container */

.jobs {
    color: #18181bd2;
}

.job-container {
    padding: 0.7rem 0.8rem 0.92rem 0.8rem;
    font-size: 0.81rem;
    border-bottom: 0.08rem solid #000a42;
    border-radius: 0.4rem;
    margin-bottom: 0.6rem;
    margin-top: 1rem;
    background-color: #e9ff9911;
    line-height: 1.2rem;
}
.job-container .button-style {
    font-size: 0.81rem;
    margin-top: 0.3rem;
}
.job-container a {
    text-decoration: none;
    color: #18181b;
}
.job-container .reqd {
    display: grid;
    grid-template-columns: 12% 67% 21%;
    gap: clamp(1%, 2vw, 3rem); /* sets min (10px), max (30px), and preferred (5% viewport width) gap values */
    justify-content: space-between;
}
.job-container .alsojobcont {
    display: grid;
    grid-template-columns: 13.5% 86.5%;
}
.job-container .aptv {
    display: grid;
    grid-template-columns: 13.5% 66.5% 21%;
}

.job-container .jclogo {
    display: grid;
    place-items: center; /* if was flex, align-items */
}
.job-container img {
    height: 1.7rem;
    width: 1.7rem;
    border-radius: 50%;
    align-self: left;
}
.job-container .jctext, .job-container .jcdates, .job-container .alsojobcount .usediv {
    display: inline-block;
}
.job-container .aptv .usediv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    margin-top: 0.25rem;
}
.applbtn .button-style, .viewbtn .button-style {
    width: 100%;
    border: 0.05rem solid #a0a0a0;
}
.jcdates .dot {
    font-size: 0.3rem;
}
.jcdates {
    font-size: 0.67rem;
}
.job-container b {
    font-size: 0.94rem;
}
.job-container .emp {
    font-weight: 510;
}
.applbtn .button-style {
    border-radius: 0.42rem;
    background-color: #e4d8e42f;
    /* color: #a0a0a0; */
    /* background-color: #a0a0a0; */
}
.viewbtn .button-style {
    background-color: #a0a0a0;
    border-radius: 0.1rem;
    font-weight: 500;
}
.applbtn a {
    color: teal;
}
.viewbtn a {
    color: #18181b;
}


/* style for overflowly scrollable locations */
.jclocat {
    display: flex;
    align-items: baseline;
    width:98%;
}
.scroll-container{
    overflow-x: auto;
    /* width: 84%; */
    white-space: nowrap;
    position: relative;
    scrollbar-width: none;
}
.ellipsis {
    position: relative;
    font-style: italic;
    font-weight: bold;
    font-size: 0.45rem;
}
/* style for overflowy, ends. */

/* style for pagination */
/* Center the pagination */
#pagination {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin-top: 2.8rem;
    width: 98%;
    font-size: 0.93rem;
}
/* General styling for pagination buttons */
#pagination li {
    color: #211214;
    margin: 0 0.4rem;
    cursor: pointer;
    transition: color 0.3s ease;
}
/* Style for the page numbers (1, 2, 3, etc.) */
#pagination li:nth-child(n) {
    text-decoration: underline;
}
/* Active page styling */
#pagination li.active {
    text-decoration: none;
    background-color: #211214;
    color: #f0f0f0;
    border: 2px solid #161616;
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.93rem;
}
/* Hover effect for all pagination controls */
#pagination li:hover:not(.active) {
    color: #cfcfcf;
}
/* Prevent hover styling on the active page */
#pagination li.active:hover {
    color: #f0f0f0;
}

/* style for pagination ends. */

.zeroIn {
    font-size: 1.35rem;
    text-align: center;
    font-weight: 510;
    font-family: 'Raleway';
    margin-top: 8rem;
    margin-bottom: 8rem;
}






/* The single-select dropdown: on */

/* select primary box covered in their own css, above. */
/* .singleSelects::after {
    content: " ▼"; /* Dropdown Arrow */
    /* float: right;
  }
*/ /* dropdown arrow not needed. */
    
  /* Hide default dropdown */
  .singleSelects option {
    display: none;
  }

 
.jl .fltl1 .cstmSngle {
    padding: 0px 0.5px 0px 1.5px;
    border: 0.063rem solid #18181b8a;
    cursor: pointer;
    font: 0.65rem 'Source Serif';
    line-height: 1rem;
    width: 100%;
    border-radius: 0.25rem;
    background-color: #d7ffff;
}
/* .cstmSngle::after {
    content: " ▼"; /* Dropdown Arrow */
    /*float: right;
  }    */



    
  /* Floating dropdown box; For all single-select */
  .select-modal {
    display: none;
    position: absolute;
    width: 100%;
    background: #f4f4f4; /* set in js although */
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    max-height: 15rem; /* Set scrollable height */
    overflow-y: auto;
    padding: 0;
    z-index: 10;
    scrollbar-width: thin;
  }
    
  /* Style for options */
  .select-modal label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px;
    cursor: pointer;
  }
    
  /* Radio button */
  .select-modal input[type="radio"] {
    margin-left: 2px;
  }
  
  
  
  /* Multiple-selects dropdown: on */
  /* Hide default multiple-select completely*/
  .multipSelects {
      position: absolute;
      width: 0;
      height: 0;
      opacity: 0;
      pointer-events: none;
  }
  .multipSelects option {
      display: none;
  }
  
  /* replcR select box */
  .CustomForMultip {
      cursor: pointer;
      padding: 0px 0.5px 0 1.5px;
      display: inline-block;
      text-align: left;
      border: 0.063rem solid #18181b8a;
      font: 0.65rem 'Source Serif';
      line-height: 1rem;
      background-color: #d9dad9;
      width: 100%;
      border-radius: 0.25rem;
      background-color: #d7ffff;
      overflow-x: hidden;
      text-overflow: ellipsis;
  }
  
  .CustomForMultip::after {
      content: " ▼";
      color: #18181bD2;
      float: right;
      margin-top: 2px;
      padding-right: 5px;
      font: 0.45rem 'Source Serif';
  }
  
  /* Floating dropdown box */
  .select-modal {
    display: none;
    position: absolute;
    width: 100%;
    background: #f4f4f4;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    max-height: 15rem; /* Set scrollable height */
    overflow-y: auto;
    padding: 0;
    z-index: 10;
    scrollbar-width: thin;
  }
  
  
  /* Style for options */
  .select-modal label {
    display: flex;
    justify-content: space-between; /* Moves checkbox to the right */
    align-items: center;
    padding: 4px;
    cursor: pointer;
  }
  
  /* Checkbox aligned to the right */
  .select-modal input[type="checkbox"] {
    margin-left: 2px;
  }
  



/* For loading indicator */

.spinner {
    border: 0.2rem solid #3c280d3f;
    border-left-color: #0181bf;
    border-radius: 500%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-indicator {
    display: none;
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* For loading indicator ends. */



/* HOMEPAGE / JOBS css COMPLETED. */


 



























/* media responsiveness here: */


html {
    font-size: 17px; /*3.472222222px; /* Base size for mobile devices (default) */ /* change back to 10px by the way. The 3.4722 is to scale iphonexr:the 288 default emulator. */
}

/* For small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    html {
        font-size: 18px; /* Slightly larger for small tablets and landscape phones */
    }
}


/* For medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 19px; /* Default size for tablets */
    }
}

/* For large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    html {
        font-size: 20px; /* Larger for desktops */
    }
}

/* For extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    html {
        font-size: 21px; /* Largest for extra large screens */
    }
}

/* For extra extra large devices (very large screens, 1600px and up) */
@media (min-width: 1600px) {
    html {
        font-size: 22px; /* Even larger for very large screens */
    }
}



/* responsiveness for editor */
@media (min-width: 620px) {
    .pfrm .editor-container {
        max-width: 55vw; /* Largest for extra large screens */
    }
}

@media (min-width: 720px) {
    .pfrm .editor-container {
        max-width: 45vw; /* Largest for extra large screens */
    }
}



