@font-face {
  font-family: 'Averta_Light';
  src: url("../fonts/Averta_Light.woff") format("woff"); }

@font-face {
  font-family: 'Averta_Black';
  src: url("../fonts/Averta_Black.woff") format("woff"); }

html {
  height: 100%;
  box-sizing: border-box; }

html, button, input, select, textarea,
.pure-g [class*="pure-u"] {
  /* Set your content font stack here: */
  font-family: 'Lato', sans-serif; }

*, *:before, *:after {
  box-sizing: inherit; }

.wrapper {
  display: -webkit-box;
  display: flex;
  min-height: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column; }

.content {
  -webkit-box-flex: 1;
          flex: 1; }

body {
  background: url('../images/ignasi_pattern_s.png');
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  height: 100%;
  min-height: 100%; }

.cols-5 {
	-webkit-columns : 5 90px;
	-moz-columns    : 5 90px;
	columns         : 5 90px;

	-webkit-column-gap: 3px;
	-moz-column-gap: 3px;
	column-gap: 3px;
}
.cols-5 img {
	max-width: 100%;
	max-height: 150px;
	margin: 0 auto;
	display: block;
	border-radius: 5px;
}
.trip-progress-bar {
	background-color: orange;
}
/* FRONT BLOG */
#photos img, .blog-entry img {
  /* Just in case there are inline attributes */
  width: 100% !important;
  height: auto !important; }

.blog-entry-link {
  text-decoration: none;
  color: #222; }

.blog-entry {
  background-color: white;
  opacity: 1;
  -webkit-transition: opacity 0.1s linear;
          transition: opacity 0.1s linear; }
  .blog-entry p {
    color: #111; }

.blog-entry:hover img, .blog-entry:hover {
  opacity: .8;
  -webkit-transition: opacity 0.3s linear;
          transition: opacity 0.3s linear; }

.blog-date {
  margin-top: 0;
  color: grey; }

.blog-in-entry {
  padding: 1em;
  box-shadow: 0 1px 1px #333; }

.author {
  font-weight: bold;
  font-size: .8em; }

/* FOOTER */
.footer {
  width: 100%;
}
footer {
  z-index: 51;
  background-image: url("../images/back-pattern/zwartevilt.png");
  position: relative;
  clear: both;
  color: #aaa; }
  footer section.address {
    text-align: center;
    width: 100%; }
    footer section.address .tac-cookies-links ul li {
      display: inline-block;
      margin: 0 !important;
      font-weight: normal !important;
      font-size: 14px !important; }
      footer section.address .tac-cookies-links ul li a:visited, footer section.address .tac-cookies-links ul li a:link, footer section.address .tac-cookies-links ul li a:hover {
        color: white;
        text-decoration: none; }
      footer section.address .tac-cookies-links ul li a {
        padding: 0 1em; }
    footer section.address .tac-cookies-lilnks ul li:first-child {
      color: white !important; }
    footer section.address hr.separator {
      border: 0;
      margin-bottom: 0;
      height: 1px;
      background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
      background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)); }
    footer section.address ul {
      list-style-type: none;
      padding-left: 0; }
      footer section.address ul li:first-child {
        font-weight: bold;
        font-size: 1em;
        color: red;
        margin-bottom: 1em;
        margin-top: 4em; }
      footer section.address ul li {
        display: block;
        margin-bottom: .7em;
        font-size: smaller; }


/* LOGIN FORM */
.pure-form-aligned {
	margin-top: 2em;
}

/* NAVIGATION */

nav {
	height: 80px;
  z-index: 51; }

nav ul {
  float: right;
  margin-right: 20px; }

nav li a.thinner {
  width: 55px; }

div#mhlogo img {
  display: inline-block;
  float: left;
  max-height: 50px;
  z-index: 200;
  position: relative;
  }

.container {
  background: #111111;
  margin: 0 auto;
  overflow: hidden; }
.container-lpad {
  padding-left: 3.8em;
  padding-right: 3.8em; }
.b-white {
  background-image: url("../images/back-pattern/debut_light.png");
  color: black; }
  .title-line {
    width: 100%;
    padding-left: 0; }
.title-line {
  position: relative;
  width: 100%;
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
          align-items: center;
  box-shadow: 0 2px 2px -2px rgba(201, 201, 201, 0.7); }
.post-title {
  display: inline-block;
  vertical-align: middle; }

.post-date {
  margin-right: 1em;
  color: #111;
  display: inline-block;
  vertical-align: middle; }

hr {
    margin: 3rem 0;
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
.progress_outer {
	background-color: white;
	border: 1px solid #ddd;
}
.progress {
	width: 1%;
	background: maroon;
	height: 5px;
}

.section-create-post, .section-edit-post {
	width: 100%;
    padding: 0 1em;

}
/*
 * NiceFileUpload
 */

.nice {
	border: solid #369 1px;
	background: #fff;
	margin-top: .35em;
	display: block;
	width: 100%;
	max-width: 360px;
	box-shadow: 0 0 0 2px #fff;
}
#_submit {
	height: 39px;
}

.nice .NFI-button {
	height: 40px;
	line-height: 40px;
	background: #369;
	color: #fff;
	width: 30%;
}
.nice .NFI-filename {
	display: block;
	width: 70%;
	height: 40px;
	margin: 0 !important;
	padding: 0;
	border: none;
}

.file-upload-wrapper {
	padding: 0 .8em 1em .8em;
}
.file-upload-wrapper input {
	margin-top: 1em;
	display: block;
}

#image-container .thumb {
    border: 3px solid white;
    box-shadow: 2px 2px 5px #555;
    display: block;
    max-width: 100%;
}
.message {
    background: #1F8DD6 none repeat scroll 0% 0%;
    padding: 0.3em 1em;
    border-radius: 3px;
    color: #FFF;
}
.message p { font-size: 1.125em; }

table {
    width: 100%;
    background: white;
}

.right-floated { float: right;}

td a {
    display: inline-block;
    line-height: 1em;
}
td.td_e, td.td_t { text-align: center;}
td.td_cre, td.td_upl { color: #555; font-style: italic; font-size: smaller;}

a.edit, a.trash {
    /* text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); */
    font-size: x-large;
	opacity: .8;
}
a.edit i, a.trash i {
    vertical-align: middle;
}
a.trash i {
    padding-bottom: 2px;
}
a.edit {
    text-align: center;
    color: #333;
}
a.trash {
    color: maroon;
}
.vex-dialog-button { width: auto !important;}
a.pure-button i {
    vertical-align: middle;
    margin-right: 1rem;
}
.page-title i {
	color: white;
}
.page-title {
    background: rgba(8, 8, 8, 0.54);
    padding: 20px;
    text-align: left;
    box-shadow: 0 1px 5px -3px #333;
}
.panel-name {
	display: -webkit-box;
	display: flex;
}
.page-title span {
    font-size: 1rem;
	align-self: center;
}
.inset-text {
    /* Shadows are visible under slightly transparent text color */
    color: white;
    color: rgba(255, 255, 255, 1);
}
/* Don't show shadows when selecting text */
::-moz-selection { background: #5af; color: #fff; text-shadow: none; }
::selection { background: #5af; color: #fff; text-shadow: none; }
.page-title i {
    margin-right: 1rem;
}

.button-success,
.button-error,
.button-warning,
.button-secondary {
    font-size: larger;
    color: white;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.button-success {
    background: rgb(28, 184, 65); /* this is a green */
}

.button-error {
    background: rgb(202, 60, 60); /* this is a maroon */
}

.button-warning {
    background: rgb(223, 117, 20); /* this is an orange */
}

.button-secondary {
    background: rgb(66, 184, 221); /* this is a light blue */
}
.admin-controls {
    margin: 1em 0;
}
.admin-controls + table {
	margin-bottom: 2em;
}
.isa_info, .isa_success, .isa_warning, .isa_error {
    margin: 10px 0;
    padding: 0.2em 0;
}
.isa_info {
    color: #00529B;
    background-color: #BDE5F8;
}
.isa_success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.isa_warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.isa_error {
    color: #D8000C;
    background-color: #FFBABA;
}
.isa_info i, .isa_success i, .isa_warning i, .isa_error i {
    margin:10px 22px;
    font-size:2em;
    vertical-align:middle;
}

/* DASHBOARD */

.dashboard {
	width: 80%;
	margin: 0 auto;
}
.dash-flex-container {
	max-width: 100%;
	padding-left: 0;
	list-style-type: none;
	display: -webkit-box;
	display: flex;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	        justify-content: space-around;
	-webkit-box-align: stretch;
	        align-items: stretch;
}
.dash-flex-container li {
	display: -webkit-box;
	display: flex;
	text-align: center;
	-webkit-box-flex: 0;
	        flex: 0 0 300px;
}
.dash-flex-container li a {
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
	/* -webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); */
	/*         transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); */
}
.dash-flex-container li a:hover {
	-webkit-transform: scale(1.25, 1.25);
	        transform: scale(1.25, 1.25);
}
.dash-flex-container li a::after {
	content: "";
	border-radius: 5px;
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	box-shadow: 0 4px 11px rgba(0,0,0,0.3);
	opacity: 0;
	-webkit-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.dash-flex-container li a:hover::after {
	opacity: 1;
}
.title { display: block;}
/* comment */
@media screen and (min-width: 767px) {
	.dash-flex-container li {
		-webkit-box-flex: 0;
		        flex: 0 0 300px;
	}
}
.dash-flex-container > li a {
	display: block;
	background-color: white;
	text-decoration: none;
	border: 1px solid #ddd;
	width: 100%;
	padding: 1.5em;
	margin: 1em;
	color: #333;
}
.dash-flex-container > li a img {
	max-width: 64px;
	margin-bottom: 1em;
}

.auth_user {
	font-size: larger;
	font-weight: bold;
	color: #222;
}
.flexcontainer {
	display: -webkit-box;
	display: flex;
	-webkit-box-align: center;
	        align-items: center;
	-webkit-box-pack: justify;
	        justify-content: space-between;
}
.logout.button {
	border: 1px solid white;
	padding: .4em 1em;
	text-decoration: none;
	color: white;
	font-weight: bold;
}
