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


body{
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height:25px;
  background-color: #f1f1f1;
  color:#000;
}
body.login{
  background-position:center bottom;
  background-color: #262262;
}


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

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

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

h3{
  font-weight: 900;
  color: #262262;
  font-size: 25px;
  line-height: 25px;
  margin-bottom: 15px;
  margin-top: 40px;
}

h4{
  font-weight: 900;
  color: #262262;
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 15px;
  margin-top: 40px;
}

h2:first-child,h3:first-child,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: #262262;
  overflow-y: auto;
  box-shadow: 0 0 15px #CCC;
}
.sidebar #logo{
  display: block;
  padding: 20px;
}
.sidebar #logo img{
  max-width: 80%;
  max-height: 100px;
}
.sidebar p{
  margin: 30px 0 10px 20px;
  border-top: 3px solid #717C8E;
  color: #717C8E;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  padding-top: 5px;
}
.sidebar ul{
  list-style-type: none;
  margin:0 0 20px 0;
}
.sidebar ul li a{
  display: block;
  padding: 7px 20px;
  color: #C4CBD7;
  font-size: 20px;
}

.sidebar ul li a:hover{
  background-color: #373391;
  color:#FFFFFF;
}
.sidebar ul li a.current{
  background-color: #FFF;
  color:#262262;
}

.sidebar .searchform{
  margin: 10px 20px;
}

.container{
  margin-left: 250px;
}

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

.header{
  background-color: #fff;
  position:relative;
  padding: 15px 40px;
  box-sizing: border-box;
  margin-bottom: 20px;
  box-shadow: 0 0 5px #CCC;
}
.header .addreminder{
  position:absolute;
  top:15px;
  right:15px;
  font-size: 20px;
}

.header .breadcrumbs{
  font-weight: 700;
  text-transform:uppercase;
  color: #666;
  font-size: 13px;
  line-height:13px;
  margin-bottom:10px;
}
.header .breadcrumbs a{
  color: #666;
}
.header .breadcrumbs a:hover{
  color:#666;
}

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

.content{
  background-color:#FFFFFF;
  position:relative;
  overflow:hidden;
  box-shadow: 0 0 5px #CCC;
}
.content + .content{
  margin-top: 20px;
}

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

.footer{
  margin: 20px 0;
}
.footer .version{
  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;
  border-bottom: 1px solid #CCC;
  padding-bottom: 15px;
}
.buttons a, .button{
  font-family: 'Lato', sans-serif;
  display: inline-block;
  background-color: #262262;
  border-radius: 5px;
  color: #FFFFFF;
  padding: 8px 15px;
  margin-right: 15px;
  font-weight:700;
  border:0;
  transition: .7s background-color;
  cursor:pointer;
  font-size: 17px;
}
.buttons a i, .button i{
  margin-right:5px;
}
.buttons a:hover, .button:hover{
  background-color: #0072bc !important;
  color:#FFFFFF !important;
  transition: .3s background-color;
}
.button.topmargin{
  margin-top:10px;
}


.data{
  border-collapse: collapse;
  padding:0;
  min-width:50%;
}
.data.topborder{
  border-top: 1px solid #CCCCCC;
}
.data tr td{
  padding: 5px 10px;
  border-bottom: 1px solid #CCCCCC;
}
.data tr:nth-child(2n+2) td{
  background-color: #f1f1f1;
}
.data tr td.heading{
  background-color: #262262;
  font-weight: 700;
  color:#FFFFFF;
}

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

.data a{
  display: block;
  color:#000000;
}
.data .inlinelinks a{
  display:inline;
}
.data a:hover{
  color:#0072bc;
}
.delete:hover{
  color: #BF312F !important;
}

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

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


.select, .input, .textarea,.flatpickr-input{
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  font-family: 'lato', 'arial';
  font-size: 14px;
  color:#606060;
  background-color:#FFFFFF;
}
.textarea{
  height: 90px;
}
.textarea.largetextarea{
  height: 250px;
}
.input + .input{
  border-top:0;
}


.save{
  clear: both;
  margin-top: 30px;
}

.note{
  background-color: #53AC67;
  color:#FFFFFF;
  padding: 10px 40px;
  border-radius: 5px;
  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;
}


#list ul{
  list-style-type:none;
  margin:0;
  border: 1px solid #CCCCCC;
  border-radius: 5px;
}
#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: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;
  border-radius: 5px;
}
.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;
  border-radius: 5px;
}


.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:900;
  font-size: 25px;
  margin: 15px 0 50px 0;
}
.logincontainer .loginbox{
  background-color:#FFFFFF;
  border-radius: 5px;
  text-align:left;
  overflow:hidden;
}

.logincontainer .loginbox .padding{
  padding: 20px;
}
.logincontainer .grey{
  background-color:#f1f1f1;
  padding: 10px 20px;
}
.logincontainer .button{
  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;
}

.pagination{
  margin-top: 40px;
  text-align:center;
}
.pagination a{
  display:inline-block;
  background-color:#F1f1f1;
  border: 1px solid #CCC;
  border-radius: 10px;
  padding: 0 10px;
  margin: 8px;
}
.pagination a.current{
  background-color: #262262;
  color:#FFF;
}

.tabs{
  margin:0 0 40px 0;
  border-bottom: 1px solid #666;
  display:flex;
  flex-wrap:wrap;
}
.tabs a{
  background-color: #f1f1f1;
  color:#666;
  padding: 5px 15px;
  margin-right: 15px;
  transition:.3s padding;
  transition:.7s background-color;
}

.tabs a:hover{
  background-color:#CCC;
  transition:.3s background-color;
}
.tabs a.current{
  background-color: #666;
  color:#FFF;
}
.action{
  display:block;
  background-color:#f1f1f1;
  margin-bottom: 10px;
  padding: 10px;
}
.action i{
  width: 30px;
}
.action .openhometime{
  display:block;
  font-size:13px;
}

.option{
  display:block;
  background-color:#f1f1f1;
  margin-bottom: 10px;
  padding: 10px;
  overflow:auto;
}
.option .select{
  float:right;
  width: 30%;
}

.alerts{
  display:flex;
  flex-wrap:wrap;
  font-size: 12px;
  line-height: 20px;
}

.alerts .alert_areas{
  width: 15%;
  margin-bottom: 30px;
  border: 1px solid #CCC;
  padding: 10px;
  margin-right: 2%;
}
.alerts .alert_areas:nth-child(6n+6){
  margin-right:0;
}

.flexfull{
  width:100%;
}

.alertbox{
  width: 32%;
  margin-right: 2%;
  margin-bottom: 30px;
  border:1px solid #CCC;
  padding: 10px;
}
.alertbox:nth-child(3n+3){
  margin-right:0;
}

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


.emailframe{
  width:100%;
  height: 50vh;
  margin-bottom: 50px;
}

#addclients.here{
  margin-bottom: 20px;
}



.homebuttons{
  display:flex;
  flex-wrap:wrap;
}

.homebuttons a{
  box-sizing:border-box;
  width: 24%;
  margin-right: 1.333333333333333%;
  margin-bottom: 15px;
  background-color:#f1f1f1;
  border:1px solid #CCC;
  padding: 10px;
  text-align:center;
  color:#262262;
  border-radius: 5px;
  font-size: 20px;
}
.homebuttons a:nth-child(4n+4){
  margin-right:0;
}

.homebuttons a span{
  display:block;
  font-size: 80px;
  line-height: 80px;
}

.bulkaction{
  margin-top: 50px;
  border-top: 1px solid #CCC;
  padding-top: 25px;
}
.bulkaction .select{
  width:auto;
}

#reminderbox{
  position:fixed;
  z-index:98;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,.5);
}
#reminderbox .reminderbox-inner{
  width: 90%;
  max-width: 500px;
  padding: 30px;
  margin: 20px auto 0 auto;
  background-color:#ffffff;
  position:relative;
  z-index: 99;
  box-shadow: 0 0 10px #666;
}

#reminderbox .reminderbox-close{
  position:absolute;
  right: 10px;
  top: 10px;
}

.reminder{
  background-color:#f1f1f1;
  margin-bottom: 20px;
  display:flex;
  align-items:center;
}
.reminder .reminder-main{
  width: 90%;
  padding: 10px;
  height:100%;
  color: #000;
}
.reminder h4{
  margin: 5px 0;
}
.reminder .date{
  text-transform:uppercase;
  color: #606060;
  font-size: 13px;
}
.reminder .date.overdue{
  color:red;
}

.reminder .reminder-complete{
  width: 10%;
  height:100%;
  padding: 10px;
  text-align:right;
  font-size: 20px;
  opacity:.3;
  transition:.7s opacity;
}
.reminder .reminder-complete:hover{
  opacity: 1;
  transition:.3s opacity;
}

.overflow{
  max-height: 150px;
  overflow-y:auto;
  background-color:#f1f1f1;
  padding: 5px;
}
