*{
  margin: 0;
  padding: 0;
}


body{
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height:25px;
  background-color: #24292C;
  background-image: url(images/bglogo.png);
  background-attachment: fixed;
  background-position:right bottom;
  background-repeat: no-repeat;
  background-size: 30% auto;
}
body.login{
  background-position:center bottom;
}


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

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

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: 700;
  color: #fff;
  font-size: 18px;
  line-height: 22px;
  margin-top: 20px;
  background-color: #144874;
  padding: 10px 40px;
}

h2:first-child, h3: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;
  border-right: 10px solid #222729;
}
.sidebar #logo{
  display: block;
  padding: 20px;
}
.sidebar #logo img{
  width: 80%;
}
.sidebar p{
  margin: 20px;
  border-top: 3px solid #394145;
  color: #717C8E;
  text-transform: uppercase;
  font-weight: 700;
  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: 0 auto 30px auto;
  position:relative;
}

.header{
  background-color: #144874;
  position:relative;
  padding: 22px 40px;
  box-sizing: border-box;
  min-height: 117px;
  margin-bottom: 20px;
}
.header #core{
  position:absolute;
  top: 3px;
  right: -25px;
}

.header .breadcrumbs{
  font-weight: 700;
  text-transform:uppercase;
  color: #8AA4BA;
  font-size: 16px;
  line-height:16px;
  margin-bottom:10px;
}
.header .breadcrumbs a{
  color: #8AA4BA;
}
.header .breadcrumbs a:hover{
  color:#FFF !important;
}

.header h1{
  font-weight:900;
  font-size: 40px;
  line-height: 48px;
  margin:0;
  color:#FFFFFF;
  text-shadow: 1px 1px 4px #335076;
}
.header h1 .fa{
  margin-right: 10px;
}

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

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

.footer{
  margin-bottom: 15px;
}
.footer .version{
  float:right;
  color: #666;
  font-size: 13px;
  line-height: 20px;
  text-align:right;
}
.footer .logo{
  opacity: .3;
  transition: 2s opacity;
}
.footer .logo:hover{
  opacity: .6;
  transition: .3s opacity;
}
.footer .logo img{
  width: 100px;
}

.buttons{
  margin: 0 0 25px 0;
}
.buttons a, .button{
  font-family: 'Lato', sans-serif;
  display: inline-block;
  background-color: #4B4B4B;
  
  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: #144874 !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: #144874;
  font-weight: 700;
  color:#FFFFFF;
}

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

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

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

.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: 'lato', 'arial';
  font-size: 14px;
  color:#606060;
  background-color:#FFFFFF;
}
.textarea{
  height: 90px;
}

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

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

.loginbox.logingone{
  display: none;
}




.pageblocklink{
  display:block;
  background-color:#f1f1f1;
  padding: 15px;
  margin-bottom:20px;
  color:#606060;
}
.pageblocklink .block-type{
  float:right;
}


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


.flex{
  display:flex;
}
.flex .quarter{
  width:25%;
}
.flex .quarter .input, .flex .quarter .select{  
  height: 35px;
}


.blockgroup{
  background-color:#f1f1f1;
  padding: 20px;
  margin: 30px 0 10px 0;
  position:relative;
}

.blockgroupadd{
  display:block;
  margin: 0 0 50px 20px;
}

.pageblock-order{
  position:absolute;
  right:25px;
  top:10px;
}
.pageblock-order a{
  margin-left: 10px;
}