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


body{
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height:20px;
  background-color: #24292C;
}
body.login{
  background-color: #1F265E;
}


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

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


h1{
  font-weight: 600;
  color: #606060;
  font-size: 35px;
  line-height: 35px;
  margin-bottom: 15px;
}
h2{
  font-weight: 300;
  color: #606060;
  font-size: 25px;
  line-height: 25px;
  margin-bottom: 15px;
  margin-top: 40px;
}
h2:first-child{
  margin-top:0;
}
h2.sectionheading{
  background-color: #8BA0C5;
  font-weight:400;
  font-size: 20px;
  line-height: 25px;
  color:#FFF;
  padding: 10px 30px;
  margin:0 !important;
}
h2.sectionheading.focus{
  background-color:#941DAF;
}
h2.sectionheading i{
  margin-right: 10px;
}
h2.sectionheading a{
  float:right;
  color:#FFF;
}

h3{
  font-weight: 600;
  color: #8BA0C5;
  font-size: 18px;
  line-height: 20px;
  margin-bottom: 15px;
  margin-top: 40px;
}


h4{
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 10px;
  margin-top: 20px;
}
h3:first-child, h4:first-child{
  margin-top:0;
}

.bold{
  font-weight: 600;
}

.strike{
  text-decoration:line-through !important;
}

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

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: 20px;
}
.sidebar #logo img{
  max-width: 100%;
}
.sidebar p{
  margin: 20px 0 5px 20px;
  border-top: 3px solid #394145;
  color: #717C8E;
  text-transform: uppercase;
  font-weight: 300;
  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: 16px;
  font-weight: 300;
}
.sidebar ul li i{
  display:inline-block;
  width: 30px;
  opacity: .6;
}
.sidebar ul li a.current{
  background-color: #394145;
}
.sidebar ul li a.current i{
  opacity:1;
}
.sidebar ul li a:hover{
  background-color: #2F373C;
  color:#FFFFFF !important;
}


.container{
  margin-left: 250px;
}

.main{
  width: 94%;
  max-width: 1700px;
  margin: 0 auto 30px auto;
  position:relative;
}

.header{
  background-color: #1F265E;
  position:relative;
  padding: 22px 40px;
  box-sizing: border-box;
  min-height: 117px;
  margin-bottom: 20px;
}


.header .breadcrumbs{
  font-weight: 400;
  text-transform:uppercase;
  color: #fff;
  font-size: 16px;
  line-height:16px;
  margin-bottom:10px;
  opacity:.5;
}
.header .breadcrumbs a{
  color: #fff;
}
.header .breadcrumbs a:hover{
  color:#fff !important;
  opacity:1;
}

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

.content{
  background-color:#FFFFFF;
  position:relative;
  margin-bottom: 20px;
  overflow:hidden;
}
.content + .content{
  margin-top: 40px;
}

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

.margined{
  margin: 50px auto;
}
.margined:first-child{
  margin-top:0;
}
.tinymargin{
  margin: 0 0 8px 0;
}

.footer{
  display:flex;
  align-items:flex-end;
  width:100%;
  margin-bottom: 15px;
  margin-top: 40px;
}
.footer .version{
  color: #666;
  font-size: 13px;
  line-height: 20px;
  width:50%;
  text-align:right;
}
.footer .logo{
  width:50%;
  opacity: .3;
  transition: 2s opacity;
}

.footer .logo img{
  max-width: 250px;
}

.headerbutton{
  position:absolute;
  right: 0;
  bottom: 10px;
}
.buttons{
  margin: 0 0 25px 0;
}
.buttons a, .button, .headerbutton a{
  font-family: 'Lato', sans-serif;
  display: inline-block;
  background-color: #1F265E;
  border-radius: 5px;
  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, .headerbutton a:hover{
  background-color: #F40CA6 !important;
  border-color: #F40CA6 !important;
  color:#FFFFFF !important;
  transition: .3s background-color;
}
.button.topmargin{
  margin-top:10px;
}
.button.current{
  background-color: #8BA0C5;
}
.button.grey{
  background-color: #666;
}

.headerbutton a{
  background-color: #8BA0C5;
  border: none;
}
.headerbutton a:hover{
  background-color:#333;
}

.data{
  border-collapse: collapse;
  padding:0;
  min-width:50%;
}

.data tr td{
  padding: 5px 10px;
  border-bottom: 1px solid #CCCCCC;
  transition:.3s background-color;
}
.data tr:nth-child(2n+2) td{
  background-color: #f1f1f1;
}

.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 tr td.heading{
  background-color: #8BA0C5;
  font-weight: 400;
  color:#FFFFFF;
}


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

.label{
  color: #606060;
  margin-top: 15px;
}
.label:first-child{
  margin-top:0;
}
.headinglabel{
  color: #8BA0C5;
  margin-top: 25px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
}
.headinglabel:first-child{
  margin-top:0;
}
.flex .third .headinglabel i{
  font-size: 30px;
  line-height: 35px;
}

.select, .input, .textarea,.flatpickr-input{
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: 1px solid #9B9B9B;
  border-radius: 5px;
  font-family: 'lato', 'arial';
  font-size: 14px;
  color:#606060;
  background-color:#FFFFFF;
}
.textarea{
  height: 90px;
}

.checkboxlabel{
  display:block;
  margin-bottom: 8px;
}

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


.note{
  position:fixed;
  z-index:9;
  top:0;
  left:0;
  width: 100%;
  background-color: #53AC67;
  color:#FFFFFF;
  padding: 10px;
  font-size: 20px;
  line-height: 25px;
  text-align:center;
  animation-name: vanish;
  animation-duration: 1.5s;
  animation-delay: 5s;
  animation-iteration-count:1;
  animation-fill-mode: forwards;
}
.note.error{
  animation-delay: 10s;
}
@keyframes vanish{
  from{
    top:0;
  }
  to{
    top: -80px;
  }
}
.note .fa{
  font-size: 25px;
  line-height:25px;
  vertical-align:middle;
  margin-right: 5px;
}
.note.error{
  background-color:#BF312F;
}

.clear{ clear: both; }

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




.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: 300;
  font-size: 25px;
  margin: 15px 0 50px 0;
}
.logincontainer .loginbox{
  background-color:#FFFFFF;
  border-top: 8px solid #CCC1A2;
  border-radius: 5px;
  text-align:left;
  overflow:hidden;
}
.logincontainer .loginbox .padding{
  padding: 20px;
}
.logincontainer .grey{
  background-color:#f1f1f1;
  padding: 10px 20px;
}
.logincontainer .button{
  background-color: #8BA0C5;
  float:right;
}

.loginbox.logingone{
  display: none;
}




.pageblocklink{
  display:block;
  background-color:#FFF;
  border-radius:5px;
  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;
}


.clients{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
}
.clients .client{
  width: 23%;
  margin-right: 2.666666666666667%;
  margin-bottom: 30px;
  text-align:center;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition:.7s box-shadow;
}
.clients .client:hover{
  box-shadow: rgba(99, 99, 99, 0.5) 0px 2px 8px 0px;
  transition:.3s box-shadow;
}
.clients .client:nth-child(4n+4){
  margin-right:0;
}

.clients .client .client-photo{
  display:block;
  width:100%;
  width: calc(100% - 10px);
  margin: 5px auto;
}
.clients .client .name{
  display:block;
  padding: 10px 10px 5px 10px;
  color:#000;
}
.clients .client .contacts{
  display:block;
  padding: 0 10px;
  color:#666;
  font-size: 12px;
  line-height: 20px;
}
.clients .client .contacts span{
  display:block;
}
.clients .client .updated{
  display:block;
  background-color:#f1f1f1;
  padding: 5px 10px;
  color:#666;
  font-size: 12px;
  line-height: 14px;
  margin-top: 10px;
}

.contactlink:hover{
  color:#FFF;
  background-color: #CCC1A2 !important;
}


.flex{
  display:flex;
}
.flex.vert{
  align-items:center;
}
.flex.wrap{
  flex-wrap:wrap;
}
.flex .third{
  width: calc(100% / 3);
  text-align:center;
  padding: 0 15px;
  overflow-wrap: break-word;
}
.flex .third:nth-child(2){
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
}
.flex .third.noborder{
  border: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;
}

.full{
  width: 100%;
  margin-bottom: 15px;
}


.clientphoto{
  float:right;
  max-width: 30%;
}

.notes{
  display:block;
  padding: 15px 30px;
  position:relative;
}
.notes:nth-child(2n+2){
  background-color:#f1f1f1;
}
.notes.heading{
  background-color: #8BA0C5;
  font-weight: 400;
  color:#FFFFFF;
  padding: 5px 30px;
}

.notes.error{
  background-color:#EB3157;
  color:#FFF;
}
.notes .time{
  display:block;
  color:#666;
  font-size: 12px;
  line-height: 14px;
  margin-bottom: 5px;
}
.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:hover .deletenote{
  opacity: 1;
  transition:.3s opacity;
}
.notes.current{
  background-color:#CCC1A2;
}


.topborder{
  border-top: 3px solid #8BA0C5;
}
.bottomborder{
  border-bottom: 3px solid #8BA0C5;
}

.link{
  display:block;
  padding: 15px 30px;
}

.gallery{
  display:flex;
  flex-wrap:wrap;
}
.gallery div{
  width: 49%;
  margin-right: 2%;
  margin-bottom: 10px;
  padding: 5px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition:.7s box-shadow;
  position:relative;
}
.gallery div.main{
  width: 100%;
  margin-right:0;
}
.gallery div:nth-child(2n+2){
  margin-right:0;
}

.gallery div .photo{
  display:block;
}

.gallery .delete, .gallery .mainphoto{
  position: absolute;
  right: 15px;
  bottom: 10px;
  color:#FFF;
  opacity: .5;
}
.gallery .mainphoto{
  right: auto;
  left: 15px;
}
.gallery .delete:hover, .gallery .mainphoto:hover{
  opacity: 1;
}

.hassidebar{
  width: 67%;
}
.issidebar{
  width: 30%;
  margin-left: 3%;
}

.todo{
  border: 3px dashed red;
  text-align:center;
  margin: 20px 0;
  padding: 20px;
  color:Red;
  background-color:#FFF;
}

.setting{
  display: block;
  background-color:#f1f1f1;
  padding: 10px;
  margin-bottom: 15px;
}
.setting i{
  width: 25px;
}

.indented{
  margin-left: 5px;
  margin-bottom: 30px;
  border-left: 5px solid #1F265E;
  padding: 10px 15px;
  background-color:#f1f1f1;
}

.modal{
  min-width: 300px;
}

.alert{
  background-color:#BF312F;
  color:#FFF;
  margin: 20px 0;
  text-align:center;
  color:#FFFFFF;
  padding: 10px;
  font-size: 20px;
  line-height: 25px;
}

.dashboard{
  margin-bottom: 20px;
  margin-top: -20px;
}

.dashboard a{
  flex:1;
  background-color: #CCC1A2;
  color:#FFF;
  text-align:center;
  margin: 0 10px;
  padding: 30px 10px;
  font-size: 18px;
}
.dashboard a .count{
  display:block;
  font-size: 50px;
  line-height: 60px;
  font-weight: 600;
}
.dashboard a:first-child{
  margin-left:0;
}
.dashboard a:last-child{
  margin-right:0;
}
.dashboard a:hover{
  background-color:#F40CA6;
}


.dashboard a.smallcount{
  font-size: 12px;
  line-height: 16px;
}
.dashboard a.smallcount .count{
  font-size: 25px;
  line-height: 30px;
}

.leadframe{
  border:0;
  width:100%;
  height: 1500px;
}

.right{
  text-align:right;
}

.blocklabel{
  display:block;
  margin-top: 15px;
}

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

.float{
  float:right;
}


.flex .servicelist{
  width: 30%;
  margin-right: 5%;
}
.flex .servicelist:nth-child(3n+3){
  margin-right:0;
}