
:root {
  --primary: #1F3151;
  --secondary: #F6931F;
  --light: #97A3B6;
  --white: #FFFFFF; 
  --black: #000000; 
}


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-color: #0C1421;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color:var(--white); 
}

img{
  border: 0;
  max-width:100%;
}

a{
  text-decoration: none;
  cursor:pointer;
  transition:.7s color, .7s background-color, .3s opacity;
  color:var(--primary);
}
a:focus{
  outline: none;
}
a:hover, .button:hover{
  color: var(--secondary); 
  transition:.3s color, .3s background-color, .3s opacity;
}

h2{
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 900; 
  margin-bottom: 15px; 
}


h3{
  color:var(--white);
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 10px;
}


h4{
  font-size: 1.2rem;
  font-weight: 600;
  margin: 30px 0 5px 0;
}

h3:first-child, h4:first-child{
  margin-top:0;
}

p{
  margin-bottom: 15px;
}
p:last-child{
  margin-bottom:0;
}

ul, ol{
  margin: 0 0 15px 30px;
}

.large{
  font-size: 1.2rem;
}
.small{
  font-size: 0.8rem;
}

.light{
  font-weight:300;
}
.semi{
  font-weight: 600;
}

.clear{ clear: both; }

.container{
  margin: 0 auto;
  width: 96%;
  max-width: 1600px;
  position:relative;
}
.container.narrow{
  max-width: 850px;
}

.flex{
  display:flex;
}
.flex.wrap{
  flex-wrap:wrap;
}
.flex.end{
  align-items:flex-end;
}
.flex.vert{
  align-items:center;
}
.flex .full{
  width: 100%;
}
.flex .half{
  width: 47%;
  margin-right: 6%;
}
.flex .half:nth-child(2n+2){
  margin-right:0;
}

.flex .third{
  width: 32%;
  margin-right: 2%;
}
.flex .third:nth-child(3n+3){
  margin-right:0;
}

.flex.swap{
  flex-direction: row-reverse;
}

.flex.swap .half{
  margin-right:0;
  margin-left:6%;
}
.flex.swap .half:nth-child(2n+2){
  margin-left:0;
}

.grid-6{
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 10px; 
}

.grid-5{
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px; 
}

.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-gap{
  gap: 50px !important;
}

.grid-tight{
  gap: 10px !important; 
}
.grid-vert{
  align-items: center; 
}

.grid-swap div:first-child{
  order: 2;
}
.grid-swap div:last-child{
  order:1;
}


.span-1 {
  grid-column: span 1;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.span-5 {
  grid-column: span 5;
}


.margined{
  margin: 75px auto;
}
.margined-med{
  margin: 50px auto;
}
.margined-small{
  margin: 20px auto;
}

.topmargin{
  margin-top: 75px;
}
.bottommargin{
  margin-bottom: 75px;
}

.padded{
  padding: 50px;
}
.padded-small{
  padding: 10px;
}

.left{
  text-align:left;
}
.center{
  text-align:center;
}
.right{
  text-align:right;
}

.relative{
  position:relative;
}



.inline{
  display:inline;
}

.inlineblock{
  display:inline-block;
}

.block{
  display:block;
}
img.block{
  width:100%;
}

.bgcover{
  background-size:cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.v50{ height: 50vh; }
.v80{ height: 80vh; }
.v100{ height: 100vh; }

.aspect-square{ aspect-ratio: 1/1; }
.aspect-video{ aspect-ratio: 16/9; }
.aspect-photo{ aspect-ratio: 4/3; }

.bg-primary{ background-color: var(--primary); }
.bg-secondary{ background-color: var(--secondary); }

.text-primary{ color: var(--primary); }
.text-secondary{ color: var(--secondary); }
.text-black{ color: var(--black); }
.text-white{ color: var(--white) !important; }
.text-light{ color: var(--light); }

.dev-error{
  border: 2px solid #BF312F;
  background-color: #FCDFDF;
  color:#BF312F;
  padding: 10px;
  margin: 20px 0;
  font-size: 13px; 
  line-height: 15px; 
}



.logincontainer{
  width: 90%;
  max-width: 500px;
  box-sizing: border-box;
  margin: 40px auto;
  text-align:center;
}

.logincontainer .logo{
  margin: 0 auto;
  height: 80px; 
  max-height: 100px !important;
  max-width: 250px !important;
}
.logincontainer h2{
  color:var(--secondary);
  font-weight:900;
  font-size: 25px;
  margin: 15px 0 50px 0;
}
.logincontainer .loginbox{
  background-color:#FFFFFF;
  border-top: 8px solid var(--secondary);
  
  text-align:left;
  overflow:hidden;
}
.logincontainer .loginbox .padding{
  padding: 20px;
}
.logincontainer .grey{
  background-color:#f1f1f1;
  padding: 10px 20px;
}


.loginbox.logingone{
  display: none;
}

.register{
  display:block;
  margin-top: 20px;
  background-color: var(--primary);
  color:#FFF; 
  padding: 10px; 
  text-align:center; 
  border-radius: 0 0 10px 10px; 
}
.register:hover{
  color:#FFF;
  background-color: var(--secondary);
}



.label{
  color: #606060;
  margin-top: 15px;
}
.label:first-child{
  margin-top:0;
}

.select, .input, .textarea,.flatpickr-input{
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: 1px solid #9B9B9B;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color:#606060;
  background-color:#FFFFFF;
}
.textarea{
  height: 90px;
}

.buttons{
  margin: 0 0 25px 0;
}
.buttons a, .button, .inline-buttons a{
  font-family: "DM Sans", sans-serif;
  display: inline-block;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 8px 15px;
  margin-right: 15px;
  font-weight:500;
  border:0;
  transition: .7s background-color;
  cursor:pointer;
  font-size: 17px;
  border-radius: 8px; 
}
.buttons a i, .button i{
  margin-right:5px;
}
.buttons a:hover, .button:hover, .inline-buttons a:hover{
  background-color: var(--secondary) !important;
  color:#FFFFFF !important;
  transition: .3s background-color;
}
.inline-buttons a{
  margin-bottom: 5px; 
  margin-right:0;
}


.button.topmargin{
  margin-top:10px;
}

.note{
  background-color: #53AC67;
  color:#FFFFFF;
  padding: 10px 40px;
  text-align:center; 
  margin: 0 auto 15px auto;
}
.note .fa{
  font-size: 25px;
  line-height: 25px;
  vertical-align:middle;
  margin-right: 5px;
}
.note.error{
  background-color:#BF312F;
}

.header, .footer{
  padding: 10px 50px;
}

.logo{
  display:block;
  height: 35px; 
}

.header .user-settings{
  display:inline-block;
  color:#FFF;
  line-height:1;
}

.header .user-company{
  display:block;
  font-size: 0.7rem;
  line-height:1;
  margin-top: 3px; 
}
.header .user-settings i{
  transition: color .5s;
}

.header .user-settings:hover i{
  color:var(--secondary);
}

.content{
  background-color:#FFF;
  padding: 50px; 
  border-radius: 15px; 
}

.hire{
  border: 2px solid #21212B;
  background-color: #111627;
  border-radius: 15px;
  overflow:hidden; 
  font-size: 0.9rem;
  color:var(--light); 
  transition: border .7s, color .7s;
}

.hire .padded{
  padding: 15px 20px;
}
.hire .padded i{
  display:inline-block;
  width: 16px;  
}
.hire:hover{
  color:#FFF; 
  border: 2px solid var(--secondary);
  transition: border .3s, color .3s;
}
.hire:hover .padded i{
  color:var(--secondary);
}

.hire-image{
  aspect-ratio: 16/9;
  position:relative; 
}

.time{
  position:absolute;
  z-index: 3;
  top:0;
  right:0;
  background-color: var(--primary);
  color:#FFF;
  padding: 5px 15px; 
  font-size: 0.7rem;
  border-bottom-left-radius: 15px;
  opacity:.7;
  transition: opacity .5s;
}
.time:empty{
  opacity: 0;
}

a:hover .time{
  opacity: 1;
}

.hire-image img{
  display: block;
  width:100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  position:relative;
  z-index: 1;
}
.hire .tag{
  display:inline-block; 
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 10px 15px; 
  border-radius: 6px; 
  background-color: #111627;
  font-size: 0.8rem;
  text-align:center;
}


.loader {
  position:absolute;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid;
  border-color: var(--secondary) #0000;
  animation: l1 1s infinite;
}
@keyframes l1 {to{transform: rotate(.5turn)}}


.list{
  border: 2px solid #21212B;
  background-color: #111627;
  border-radius: 15px;
  overflow:hidden; 
  font-size: 0.9rem;
  color:var(--light); 
  transition: border .7s, color .7s;
}

.list .row{
  border-bottom: 1px solid #21212B;
  padding: 15px 15px;
  color:var(--light); 
}
.list .row:last-child{
  border:none;
}

.list .row i{
  margin-right: 8px; 
}

.list a.row:hover{
  color:#FFF;
}
.list a.row:hover i{
  color: var(--secondary);
}


#map{
  width: 100%;
  aspect-ratio: 1/1;
}

.round{
  border-radius: 15px;
  overflow:hidden; 
}

.pill{
  display:inline-block; 
  padding: 0 20px;
  border-radius: 8px; 
  background-color: #F6931F33;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}

.pill.green{
  background-color: #53AC6733;
  color: #53AC67;
  border: 1px solid #53AC67;
}

.pill.red{
  background-color: #BF312F33;
  color: #BF312F;
  border: 1px solid #BF312F;
}

.divider{
  margin: 50px 0;
  border-bottom: 2px solid #21212B;
}

.tl-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 20, 33, 0.9);
    z-index: 9999;
    animation: tl-fade-in 0.2s ease-out;
}
.tl-modal-overlay.tl-open { display: block; }

.tl-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111627;
    border: 2px solid #21212B;
    width: 600px;
    height: 500px;
    max-width: 95%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.tl-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: var(--primary);
    color: #FFF;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    transition: background-color .3s;
}
.tl-modal-close:hover { background: var(--secondary); }

.tl-modal-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #111627;
}

@keyframes tl-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

body.tl-modal-locked { overflow: hidden; }

    #tl-status {
        display: none;
        margin-top: 20px;
    }

    #tl-bar-outer {
        width: 100%;
        height: 6px;
        background: #21212B;
        border-radius: 3px;
        margin-top: 10px;
    }

    #tl-bar {
        width: 0;
        height: 100%;
        background: var(--secondary);
        border-radius: 3px;
        transition: width 0.5s;
    }

    #tl-message { color: var(--light); }
    #tl-message.error { color: #BF312F; }

