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


body{
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height:22px;
  background-color: #24292C;
}
body.login{
  background-position:center bottom;
}


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

a{
  text-decoration: none;
  cursor:pointer;
  transition: .7s color, .7s background-color, .7s opacity;
  color: #c20d19;
}
a:focus{
  outline: none;
}
a:hover{
  transition: .3s color, .3s background-color, .3s opacity;
  color:#0072BC;
}

h1{
  font-weight: 600;
  color: #606060;
  font-size: 35px;
  line-height: 35px;
  margin-bottom: 15px;
}
h2{
  font-weight: 600;
  color: #606060;
  font-size: 25px;
  line-height: 25px;
  margin-bottom: 15px;
  margin-top: 40px;
}
h2:first-child{
  margin-top:0;
}


h2.sectionheading{
  padding: 15px 30px;
  background-color: #000;
  color:#FFF;
}
h2.sectionheading a{
  color:#FFF;
}

h3{
  color:#FFF;
  background-color: #c20d19;
  padding: 8px 30px;
  font-weight: 400;
  font-size: 19px;
  line-height: 25px;
  margin-top: 40px;
}

h3 a, h3 i, h2 i{
  float:right;
  color:#FFF;
  font-size: 20px;
  font-style:normal;
  font-weight:300;
  margin-left: 10px;
}

h4{
  font-weight: 600;
  color: #c20d19;
  font-size: 20px;
  line-height: 20px;
  margin-bottom: 0;
  margin-top: 40px;
}
h4:first-child{
  margin-top:0;
}

p{
  margin-bottom: 15px;
}

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

.sidebar{
  position:fixed;
  left:0;
  top:0;
  width: 250px;
  height:100%;
  box-sizing: border-box;
  background-color: #2C3237;
  overflow-y: auto;
}
.sidebar #logo{
  display: block;
  padding: 15px 40px 0 40px;
}
.sidebar #logo img{
  display:block;
  width:100%;
}
.sidebar p{
  margin: 20px;
  border-top: 3px solid #394145;
  color: #717C8E;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  padding-top: 5px;
}
.sidebar ul{
  list-style-type: none;
  margin:0 0 40px 0;
}
.sidebar ul li a{
  display: block;
  padding: 7px 20px;
  color: #C4CBD7;
  font-size: 20px;
}
.sidebar ul li a.current{
  background-color: #394145;
}
.sidebar ul li a:hover{
  background-color: #2F373C;
  color:#FFFFFF !important;
}

.container{
  margin-left: 250px;
}

.main{
  width: 94%;
  max-width: 1500px;
  margin: 15px auto;
  position:relative;
}

.header{
  background-color: #c20d19;
  position:relative;
  padding: 22px 40px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.header .breadcrumbs{
  font-weight: 600;
  text-transform:uppercase;
  color: #fff;
  font-size: 14px;
  line-height:16px;
  margin-bottom:10px;
}
.header .breadcrumbs a{
  color: #fff;
}
.header .breadcrumbs a:hover{
  color:#fff;
}

.header h1{
  font-weight: 600;
  font-size: 30px;
  line-height: 30px;
  margin:0;
  color:#FFFFFF;
}
.header h1 .fa{
  margin-right: 10px;
}

.content{
  background-color:#FFFFFF;
  position:relative;
  overflow:hidden;
}


.padding{
  padding: 30px;
}
.padding.grey{
  background-color: #f1f1f1;
}
.padding:empty{ display:none; background-color:red; padding:0; }

.footer{
  margin-top: 15px;
  padding-bottom: 15px;
}
.footer .version{
  float:right;
  color: #A7A9A9;
  font-size: 13px;
  line-height: 20px;
  text-align:right;
}
.footer .logo{
  opacity: .3;
  transition: 2s opacity;
}
.footer .logo:hover{
  opacity: 1;
  transition: .3s opacity;
}

.buttons{
  margin: 0 0 25px 0;
}
.buttons a, .button{
  font-family: 'Lato', sans-serif;
  display: inline-block;
  background-color: #c20d19;
  color: #FFFFFF;
  padding: 8px 15px;
  margin-right: 15px;
  font-weight: 600;
  border:0;
  transition: .7s background-color;
  cursor:pointer;
  font-size: 17px;
}
.buttons a i, .button i{
  margin-right:5px;
}
.buttons a:hover, .button:hover{
  opacity: .8;
  transition: .3s opacity;
  color:#FFF !important;
}
.button.topmargin{
  margin-top:10px;
}


.data{
  padding:0;
  min-width:50%;
  border-collapse: separate; /* not collapse */
  border-spacing: 0; 
}
.data.topborder{
  border-top: 1px solid #CCCCCC;
}
.data tr td, th{
  padding: 5px 10px;
  border-bottom: 1px solid #CCCCCC;
  transition:.3s background-color;
}
.data tr:nth-child(2n+2) td{
  background-color: #f1f1f1;
}
.data .heading{
  background-color: #c20d19 !important;
  font-weight: 600;
  color:#FFFFFF;
  text-align:left;
}
.data tr td.subheading{
  background-color:#FFF;
  padding-left:0;
  border:0;
}

.data tr td.iconcol{
  width:20px;
}

.data a{
  display: block;
  color:#000000;
}
.data tr:hover td{
  background-color: #CCC;
  transition:.3s background-color;
}
.delete:hover{
  color: #BF312F !important;
}

.data .fa{
  font-size: 18px;
}

.data thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.label{
  color: #606060;
  margin-top: 25px;
}
.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: 'lato', 'arial';
  font-size: 14px;
  color:#606060;
  background-color:#FFFFFF;
}
.select2{
  width:100%;
}

.textarea{
  height: 90px;
}

.save{
  clear: both;
  margin-top: 15px;
  background-color: #F5F5F5;
}
.save .button{
  background-color: #c20d19;
}

.note{
  background-color: #53AC67;
  color:#FFFFFF;
  padding: 10px 30px;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 25px;
}
.note .fa{
  font-size: 35px;
  line-height:35px;
  vertical-align:middle;
  margin-right: 15px;
}
.note.error{
  background-color:#BF312F;
}
.note.active{
  background-color:#FFF;
  color:#000;
  font-size: 15px;
}

.warning{
  color:#BF312F;  
  border: 2px dashed #BF312F;
  padding: 10px;
  background-color:#FFF;
  margin: 10px 0;
}
.warning a{
  color:#BF312F;
  font-weight: 800;
}

#list ul{
  list-style-type:none;
  margin:0;
  border: 1px solid #CCCCCC;
}
#list ul li{
  border-bottom: 1px solid #CCCCCC;
  cursor:grab;
  padding: 10px;
}
#list ul li:nth-child(2n+2){
  background-color:#f1f1f1;
}
#list ul li:last-child{
  border-bottom:0;
}
#list ul li i{
  opacity: .3;
  margin-right:10px;
  transition: .7s opacity;
}
#list ul li .button i{
  opacity: .7;
}
#list ul li:hover i{
  opacity: 1;
  transition: .3s opacity;
}
#list.gallerylist ul{
  border:0;
}
#list.gallerylist ul li{
  border:0 !important;
  background-color:#FFFFFF;
}

.clear{ clear: both; }

.line{
  border-bottom: 1px solid #CCCCCC;
  height: 30px;
  margin-bottom:30px;
}
.line + h2{
  margin-top:0;
}


.gallery{
  list-style-type:none;
  margin:0;
}
.galleryimage{
  float: left;
  width:25%;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.galleryimage .image{
  display: block;
  height: 186px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #f1f1f1;
  border: 1px solid #CCCCCC;
}
.galleryimage .options{
  display: block;
  float:right;
  text-align:right;
  padding-top: 5px;
  width: 70px;
}
.galleryimage .options a{
  color:#5C5C5C;
  margin-left: 10px;
  font-size: 25px;
}
.galleryimage .caption{
  display:block;
  margin-right: 60px;
  line-height: 30px;
  height:30px;
  overflow:hidden;
  font-size: 13px;
}

.editphoto{
  max-width:50%;
  max-height: 370px;
}


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

.logincontainer .logo{
  max-height: 100px;
  max-width: 250px;
}
.logincontainer h2{
  color:#FFFFFF;
  font-weight: 600;
  font-size: 25px;
  margin: 15px 0 50px 0;
}
.logincontainer .loginbox{
  background-color:#FFFFFF;
  border-top: 8px solid #c20d19;
  text-align:left;
  overflow:hidden;
}
.logincontainer .loginbox .padding{
  padding: 20px;
}
.logincontainer .grey{
  background-color:#f1f1f1;
  padding: 10px 20px;
}
.logincontainer .button{
  background-color: #c20d19;
  float:right;
}

.loginbox.logingone{
  display: none;
}




.pageblocklink{
  display:block;
  background-color:#FFF;
  padding: 15px 40px;
  margin-bottom:20px;
  color:#606060;
}

.deletepageblock{
  float:right;
  color:#666;
}
.deletepageblock:hover{
  color:red !important;
}

.gone{ display:none; }
.here{ display:block; }

#list.pageblocklist ul{
  border:0;
}
#list.pageblocklist ul li{
  border:0;
  padding:0;
}

#response{
  position:Fixed;
  top:0;
  left:0;
  width:100%;
  box-sizing:border-box;
  text-align:center;
  padding: 0 10vw;
  z-index:99;
}

.pagelink{
  display:block;
  background-color:#f1f1f1;
  padding: 15px;
  text-align:center;
}

.todo{
  border:2px dashed red;
  padding: 30px;
  color:Red;
}

.productline{
  background-color:#f1f1f1;
  padding: 15px;
  margin-bottom: 20px;
}

.pagination{
  text-align:center;
  padding-top: 40px;
}

.topmargin{
  margin-top: 30px;
}



.notes{
  display:block;
  padding: 15px 30px;
  position:relative;
  font-size: 14px;
  line-height: 18px;
  overflow:auto;
}
.notes:nth-child(2n+2){
  background-color:#f1f1f1;
}

.notes.error{
  background-color:#EB3157;
  color:#FFF;
}
.time{
  display:block;
  color:#666;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 5px;
}
.time:last-child{
  margin-top: 5px;
  margin-bottom:0;
}

.notes .price{
  float:right;
  text-align:right;
  margin-left: 15px;
}
.notes .label{
  display: block;
  font-size: 13px;
}
.notes .deletenote{
  position:absolute;
  right: 5px;
  top:10px;
  opacity:0;
  transition:.7s opacity;
}
.notes .deletenote i{
  font-size: 16px; 
}
.notes:hover .deletenote{
  opacity: 1;
  transition:.3s opacity;
}
.notes.current{
  background-color:#CCC1A2;
}

.notes .icon{
  float:right;
  opacity:.6;
  transition:1s opacity;
  margin-left: 15px; 
}
.notes a:hover .icon{
  opacity: 1;
  transition:.3s opacity;
  color:#000;
}
.notes .icon.red{
  opacity:.8;
  color:red;
}
.notes .icon.green{
  opacity: .8;
  color: #53AC67; 
}

.notes .alert{
  display:block;
  color:red;
}

.notes .attachments{
  display:flex;
  flex-wrap:wrap; 
  align-items:center;
  gap: 15px; 
  margin-top: 10px; 
}
.notes .attachments img{
  width: 120px;
  height: 120px; 
  object-fit: cover;
  border-radius: 5px; 
}

.notes .attachments .notes-file{
  width: 120px;
  height: 120px;
  line-height: 120px;
  border: 1px solid #CCC;
  border-radius: 5px; 
  text-align:center;

}

.notes .attachments i{
  font-size: 20px; 
  float:none;
  margin:0;
}

.flex{
  display:flex;
}
.flex.vert{
  align-items:center;
}
.flex.wrap{
  flex-wrap:wrap;
}
.flex .third{
  width: calc(100% / 3);
  padding: 0 15px;
  overflow-wrap: break-word;
  border-bottom: 1px solid #f1f1f1;
}
.flex .third.padding{
  padding: 15px;
}

.flex .thirdrest{
  width: calc(100%/1.5);
}

.flex .third:nth-child(2){
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
}
.flex .third.noborder{
  border:0;
}
.flex .quarter{
  width: 25%;
  padding: 0 15px;
  overflow-wrap: break-word;
  border-right: 1px solid #f1f1f1;
}
.flex .quarter:last-child{
  border-right:0;
}

.flex .auto{
  flex: 1;
  margin-right: 20px; 
}
.flex .auto:last-child{
  margin-right:0;
}

.flex .col{
  width: 32%;
  margin-bottom: 40px;
}
.flex .col:nth-child(3n+2){
  margin-left: 2%;
  margin-right: 2%;
}

.flex .half{
  width: 49%;
  margin-right: 2%;
}
.flex .half:nth-child(2n+2){
  margin-right:0;
}

.flex .col{
  flex:1;
}

.headinglabel{
  color: #c20d19;
  margin-top: 25px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
}

.flex .third .headinglabel i{
  font-size: 30px;
  line-height: 35px;
}


.timeline .stage{
  flex: 1;
  text-align:center;
  background-color: #000;
  color:#FFF;
  margin-right: 20px;
  opacity: .3;
  padding: 10px;
}
.timeline .stage:last-child{
  margin-right:0;
}
.timeline .stage.complete{
  opacity: 1;
}
.timeline a.stage:hover{
  opacity: .9;
  color:#FFF;
}

.topbuttons{
  position:absolute;
  bottom: 10px;
  right: 30px;
}
.topbuttons .button{
  border: 1px solid #FFF;
}


.qr{
  max-width: 125px;
}

.margined{
  margin: 20px 0;
}


.link{
  display:block;
  background-color:#f1f1f1;
  border: 1px solid #CCC;
  padding: 10px;
  margin-bottom: 15px;
}


.cancel-hire{
  display:inline-block;
  margin-top: 15px;
  color:#666;
}
.cancel-hire:hover{
  color: #BF312F;
}


#modalcontainer{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height: 100%;
  z-index: 98;
  align-items: center;
  justify-content: center;
  display:none;
} 

#modalcontainer #modalinner{
  background-color:#FFF;
  padding: 30px;
  position:relative;
  z-index: 99;
  min-width: 400px;
  box-shadow: 0 0 10px #000;
}

#modalcontainer.here{
  display:flex;
}
#modalcontainer .modalclose{
  display:block;
  position:absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background:rgba(0,0,0,.6);
  z-index: 98;
  cursor:auto;
}


.center{
  text-align:center;
}

.overflow{
  width: 100%;
  overflow-x: auto;
}



.calendar .day{
  border: 1px solid #CCC;
  min-height: 100px;
}   
.calendar .day.pad{
  border:0;
}
.calendar .day .day-heading{
  background-color: #24292C;
  color:#FFF;
  padding: 5px; 
  text-align:center; 
  display:block;
}

.calendar .day .notes{
  padding: 10px; 
  font-size: 12px; 
  line-height: 14px; 
  color:#000;
}
.calendar .day .notes.complete{
  opacity: .3; 
}

.calendar .day.dropping{
  border: 2px solid red; 
}

.calendar .calendar-item{
  display:flex;
  margin-top: 5px; 
}
.calendar .calendar-item i{
  width: 25px;
  font-weight: 400; 
}
.calendar .calendar-item span{
 width: calc(100% - 25px); 
}




.report-scroll{
  max-height: calc(100vh - 200px);
  overflow-y:auto; 
}



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

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

.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-vert{
  align-items: center; 
}
.grid-top{
  align-items:start;
}

.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;
}
