div {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

form div {
	-webkit-box-sizing: content-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: content-box;    /* Firefox, other Gecko */
	box-sizing: content-box;         /* Opera/IE 8+ */
}

/* FLEX-BOXEN */
.flexcontainer {
  /* basic styling */
  width: 100% !important;
  
  /* flexbox setup */
  align-items: stretch !important;
  
  display: -webkit-box !important;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box !important;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox !important;      /* TWEENER - IE 10 */
  display: -webkit-flex !important;     /* NEW - Chrome */
  display: flex !important;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flexhorizontal {
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;    
}

.flexvertical {
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}

.flexaligncenter {
}

.flexme {
  -webkit-box-flex: 1 !important;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1 !important;         /* OLD - Firefox 19- */
  -webkit-flex: 1 !important;          /* Chrome */
  -ms-flex: 1 !important;              /* IE 10 */
  flex: 1 !important;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
