/* BASE LAYOUT */


html {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
	scroll-behavior: smooth;
}
body {
    background-color: #F6FAFB;
    min-height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: stretch; /*vertical stretch*/
    align-content: stretch; /*horizontal stretch */
}

body #waiting-div {
    position: fixed;
    z-index: 999;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.8) url('../img/loader.gif') center center no-repeat;
    display: none;
}
body.waiting #waiting-div {
    display: block;
}


.right-column {
    flex: 1 0 40em;
    background: #f6fafb;
}

.left-column {
    flex: 0 0 15em;
    transition: 1s;
    position: relative;
}


.new_item a {
    height: 3em;
    line-height: 3em;
    vertical-align: middle;
    background: #46b692;
    display: inline-block;
    padding: 0 1em 0 1em;
    margin-bottom: 2em;
    border-radius: 1.5em;
    color: #fff;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: .9em;
    text-transform: uppercase;
    transition: .5s;
}
    .new_item a:before {
        content: '+';
        font-size: 3em;
        float: left;
        margin-right: .3em;
    }
    .new_item a:hover {
        background: #424952
    }





/* LEFT COLUMN */

.left-column {
    background: #366F8E;
    color: #fff;
    padding: 1em;
}

.left-column h1 {
    font-size: 1em;
    height: 6em;
    margin-bottom: 2em
}
    .left-column h1 img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        max-height: 100%;
    }


.left-column nav ul {
    list-style: none;
    padding: 0;
}
    .left-column nav li {
    }
    .left-column nav ul a {
        display: block;
        height: 2em;
        line-height: 2em;
        vertical-align: middle;
        padding: .75em .5em .5em .5em;
        font-family: 'Quicksand', sans-serif;
        font-weight: 500;
        font-size: 1.15em;
        text-decoration: none;
        text-transform: uppercase;
        color: #fff;
        background-color: transparent;
        border-radius: .75em;
        margin-bottom: .5em;
    }
    .left-column nav ul a:hover {
        background-color: #3f7c9d;
    }
    .left-column nav ul a img {
        margin: -.5em .5em auto 0;
        vertical-align: middle; 
        display: inline-block;
        height: 2em;
    }
    .left-column nav ul li.line {
        height: 1px;
        overflow: hidden;
        border-bottom: 2px solid white;
        margin: 1em 3em;
    }

/* TOP BAR */


.top-bar {
    background-color: white;
    padding: 1em 2em 1em 1em;
    border: 1px solid #eaeeef;
    -webkit-box-shadow: 3px 3px 5px -5px #aaa;
    -moz-box-shadow: 3px 3px 5px -5px #aaa;
    box-shadow: 3px 3px 5px -5px #aaa;
}
    .top-bar ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: flex-end;
    }
    .top-bar li {
        height: 2em;
        line-height: 2em;
        font-size: .9em;
        font-family: 'Quicksand', sans-serif;
        font-weight: 500;
        text-transform: uppercase;
        color: #3f7c9d;
        margin-left: .5em;
    }
    .top-bar li a {
        color: #3f7c9d;
        text-decoration: none;
    }
    .top-bar li a.quitimpersonate {
        color: #fff;
        background: red;
        text-decoration: none;
        padding: .5em;
        border-radius: .2em;
    }
    .top-bar li a:hover span {
        text-decoration: underline;
    }
    .top-bar img {
        vertical-align: middle; 
        display: inline-block;
        height: 2em;
    }



/* RIGHT COLUMN */


/* CONTENT */

.content {
    padding: 2em;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 1em;

}
.box {
    background-color: #fff;
    padding: 2em;
    margin-bottom: 2em;
    border: 1px solid #eaeeef;
    -webkit-box-shadow: 3px 3px 5px -5px #aaa;
    -moz-box-shadow: 3px 3px 5px -5px #aaa;
    box-shadow: 3px 3px 5px -5px #aaa;
}
    .box p {
        margin-bottom: 1em;
    }
    .box p:last-child {
        margin-bottom: 0;
    }
    .box p:first-child {
        margin-top: 0;
    }
    .box h3, 
    .box h4 {
        margin-bottom: 1em;
        font-size: 1.5em;
        font-weight: 300;
        margin-top: 0;
        text-transform: uppercase;
    }
    .box h4 { font-size: 1.2em }



/* TABLES */



.styled-table {
    border-collapse: collapse;
}
.styled-table thead td,
.styled-table thead th {
    color: #000;
    background-color: #e9f2f4;
    text-align: left;
    vertical-align: middle;
}
.styled-table thead th[colspan] {
    text-align: center;
}
.styled-table thead th a {
    color: #000;
    text-decoration: none;
}
.styled-table thead th a:hover {
    text-decoration: underline;
}
table tbody tr:nth-child(even) td {
    background-color: #f6fafb;
}
.styled-table th,
.styled-table td {
    border: 0;
    margin: 0;
    padding: 1em .75em;
    vertical-align: middle;
    border: 0;
    vertical-align: top;
}
    .styled-table td a {
        color: #000;
        text-decoration: underline;
    }
    .styled-table td a:hover {
        text-decoration: none;
    }
.styled-table tbody tr:hover td,
.styled-table tfoot tr:hover td {
    background-color: #e9f2f4;
}
.styled-table thead  {
    border-bottom: 1px solid #d2dadc;
}

.styled-table button {
    display: inline-block;
    font-size: .7em;
    line-height: 1em;
    margin: 0 .5em
}
.styled-table td input[type=text],
.styled-table td select {
    margin: 0 0 .25em 0;
}
.styled-table tfoot  {
    border-top: 2px solid #d2dadc;
}
.styled-table tfoot td {
    font-weight: 500;
}

.styled-table .fs td {
    font-size: .9em;
}
.styled-table .fs-header td {
    font-weight: 900;
}
.styled-table .fs td:nth-child(2) {
    border-left: 2px solid black;
}
.styled-table tbody tr.inactive-user td {
	color: #ccc;
}
.styled-table tbody tr.splitter td {
	border-top: 2px solid #d2dadc;
	padding: 0;
	height: 1px;
	font-size: 0;
	overflow: hidden;
}

.table-icon {
    height: 1em;
    margin: 0 .5em;
}


/* PAGINATOR */


.pagination {
    margin: 0 0 2.85em 0;
    font-size: .7em;
}
.pagination a,
.pagination span {
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    border-radius: 3px;
    display: inline-block;
    line-height: 3em;
    vertical-align: middle;
    text-align: center;
    width: 3em;
    height: 3em;
    margin: .25em;
    text-decoration: none;
}
.pagination a:hover {
    border: 1px solid #366F8E;  
}
.pagination a.active {
    border: 1px solid #366F8E;
    color: #366F8E;
    font-weight: 900;
}



/* ITEM SELECTOR */



.item-selector {
    margin: 0;
    padding: 0;
    list-style: none;
}
.item-selector li {
    margin-bottom: 1em;
}
.item-selector li:last-of-type {
    margin-bottom: 0;
}
.item-selector a,
.item-selector label {
    display: inline-block;
    min-height: 2.5em;
    border: 1px solid #d2dadc;
    line-height: 2.5em;
    color: black;
    text-decoration: none;
    border-radius: 3px;
    padding: 0 .5em;
}
    .item-selector a:hover,
    .item-selector label:hover {
        text-decoration: underline;
    }
.item-selector img {
    margin-top: -5px;
    vertical-align: middle; 
    display: inline-block;
    margin-left: .5em;
}
    .item-selector.db-graph-selector {
        font-size: .8em;
        display: flex;
    }
    .item-selector.db-graph-selector li {
        margin: .5em .5em 0 0;
        color: red;
    }
/* PROGRESS STEPS */
.multi-steps {
	display: table;
	list-style: none;
	margin: 0;
	padding: 0;
}
.multi-steps > li {
	counter-increment: stepNum;
	text-align: center;
	display: table-cell;
	width: 12.5em;
	position: relative;
	color: #46b692;
	z-index: 1;
	font-size: .9em;
}
.multi-steps > li.is-active:before,
.multi-steps > li.is-active ~ li:before {
  content: counter(stepNum);
  font-family: inherit;
  font-weight: 700;
}
.multi-steps > li.is-active:after,
.multi-steps > li.is-active ~ li:after {
	background-color: #ededed;
}
.multi-steps > li:before {
	content: '\f00c';
	content: '\2713;';
	content: '\10003';
	content: '\10004';
	content: '\2713';
	display: block;
	margin: 0 auto 4px;
	background-color: #fff;
	width: 2em;
	height: 2em;
	line-height: 2em;
	text-align: center;
	font-weight: bold;
	border: 2px solid #46b692;
	border-radius: 50%;
	z-index: 10;
}
.multi-steps > li:after {
	content: '';
	height: 2px;
	width: 100%;
	background-color: #46b692;
	position: absolute;
	top: 1em;
	margin-top: 1px;
	left: 50%;
	z-index: -1;
}
.multi-steps > li:last-child:after {
	display: none;
}
.multi-steps > li.is-active:before {
	background-color: #46b692;
	border-color: #46b692;
	color: #fff;
}
.multi-steps > li.is-active ~ li {
	color: #808080;
}
.multi-steps > li.is-active ~ li:before {
	background-color: #ededed;
	border-color: #ededed;
}
.multi-steps > li a {
	color: #46b692;
	text-decoration: none;
}


/* FORM LIST STYLE */


.form-list label,
.form-table > div label {
	display: block;
	margin-bottom: .25em;
}
.form-list div.input,
.form-table > div.input  {
    margin-bottom: 1em;
}
.form-list input[type=text],
.form-list input[type=number],
.form-list input[type=password],
.form-list textarea,
.form-table > div input[type=text],
.form-table textarea  {
	padding: .3em;
	border-radius: 3px;
	border: 1px solid #ccc;
	width: 20em;
}

.form-list .error-message,
.form-table .error-message {
	border: 1px solid red;
	padding: .6em;
	display: table;
	position: relative;
    z-index: 1;
	margin-top: 1em;
	font-size: .8em;
	color: red;
	border-radius: 3px;
    background-color: #fff;
}
.form-table .error-message {
    padding: .3em;
    display: block;
    max-width: 9.375em;
}
.form-list .error-message:after, 
.form-list .error-message:before,
.form-table .error-message:after, 
.form-table .error-message:before {
	bottom: 100%;
	left: 2em;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
    z-index: 2;
}

.form-list .error-message:after,
.form-table .error-message:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #fff;
	border-width: 8px;
	margin-left: -8px;
    margin-bottom: -1px;
}
.form-list .error-message:before,
.form-table .error-message:before {
	border-color: rgba(255, 0, 0, 0);
	border-bottom-color: #ff0000;
	border-width: 9px;
	margin-left: -9px;
    margin-bottom: -1px;
}
.form-table .error-message:after,
.form-table .error-message:before {
    margin-bottom: 0;
}
.feeding-add .styled-table button {
    width: 2.75em;
    height: 2.75em;
    padding: 0;
    border: 1px solid #D2DADC;
    background: #fff;
    border-radius: 3px;
    cursor: pointer;
}
.feeding-add .styled-table button:hover {
    background: #D2DADC;
}


.form-list .input.radio label[for]  {
    display: table;
    height: 2.5em;
    border: 1px solid #d2dadc;
    line-height: 2.5em;
    color: black;
    text-decoration: none;
    border-radius: 3px;
    padding: 0 .5em;
    font-size: .9em;
    margin-bottom: .75em;
    cursor: pointer;
}
.form-list .input.radio label input {
	margin-right: .5em;
}
    .form-list .input.radio label[for]:hover {
        text-decoration: underline;
    }


/* FORM TABLE STYLE */



.form-table .styled-table th {
    padding: .5em .75em;
}
.form-table .styled-table td {
    padding: .75em .5em;
}
.form-table.multi-row div.input {
    margin-bottom: .25em;
}
.form-table .styled-table td input[type=text],
.form-table .styled-table td select {
    margin: 0;
}
.form-table input[type=text],
.form-table input[type=number] {
    padding: .3em;
    border-radius: 3px;
    border: 1px solid #ccc;
    width: 6em;
}
.form-table input.small-input[type=text],
.form-table input.small-input[type=number] {
    width: 4em;
}
.form-table select {
    padding: .2em;
    border-radius: 3px;
    border: 1px solid #ccc;
    margin: 0;
}
.form-table .delete-row {
    padding: .3em;
    display: inline-block;
}




/* FORM GENERAL STYLES */


.extra-row {
    font-size: .9em;
    text-transform: uppercase;
    padding: .65em .75em;
    margin-top: 1em;
    border: none;
    background: #e9f2f4;
    cursor: pointer;
    border-radius: 5px;
    vertical-align: middle;
}
.extra-row:hover { background: #f6fafb; }
.extra-row img { margin-right: .75em; height: 1.3em; }
[type=submit],
.submit-btn {
    height: 3em;
    border: none;
    line-height: 3em;
    vertical-align: middle;
    background: #46b692;
    display: inline-block;
    padding: 0 1em 0 1em;
    margin-top: 2em;
    border-radius: 1.5em;
    color: #fff;
    font-size: .9em;
    text-transform: uppercase;
    transition: .5s;
    cursor: pointer;
    text-decoration: none;
}


    [type=submit]:before,
    .submit-btn:before {
        content: "\2713 ";
        font-size: 2em;
        float: left;
        margin-right: .3em;
    }
    [type=submit]:hover,
    .submit-btn:hover {
        background: #424952
    }
    [type=submit].btn-disabled:hover,
    [type=submit].btn-disabled {
        background: #ccc;
    }
.submit-btn {
        margin-top: 1em;
        margin-right: 2em;
}

.delete-all-items {
    height: 3em;
    border: none;
    line-height: 3em;
    vertical-align: middle;
    background: #ccc;
    display: inline-block;
    margin-top: 1em;
    padding: 0 1em 0 1em;
    border-radius: 1.5em;
    color: #fff;
    font-size: .9em;
    text-transform: uppercase;
    transition: .5s;
    cursor: pointer;
    text-decoration: none;
}
    .delete-all-items:before {
        content: "\03a7";
        font-size: 1.5em;
        float: left;
        margin-right: .6em;
        margin-top: -.05em;
    }
    .delete-all-items:hover {
        background: #ff0000
    }
}
input[readonly],
input[disabled],
input[readonly]:focus,
input[disabled]:focus {
    border-color: #f90 !important;
    background: red !important;
}


/* HERD VIEW */
.status_actief,
.status_in_aflevering,
.status_afgeleverd { 
	font-weight: bold;
	color: green;
}
.status_in_aflevering {
	color: blue;
}
.status_afgeleverd {
	color: red;
}

.styled-table .thick-top-border {
    border-top: 2px solid #d2dadc;
}

.styled-table tbody tr .table-splitter:hover {
	background-color: transparent;
}

.styled-table .menutimetables-active td {
    font-weight: bold;
    color: green;
}
.styled-table .menutimetables-past td {
    color: #ccc;
}

.herd-shortnav {
	position: fixed;
	top: 7.5em;
	right: 0em;
	background: white;
	padding: .5em;
	min-width: 10em;
    background: #366F8E;
    color: #fff;

}
.herd-shortnav a, .herd-shortnav strong {
	display: block;
	padding: .25em .5em;
	margin-top: .2em;
	font-size: .9em;
	color: #fff;
	text-decoration: none;
	background-color: #366F8E;
}
	.herd-shortnav a:nth-child(even) {
		background-color: #3f7c9d;
	}
	.herd-shortnav a:hover {
		background-color: #fff;
		color: #366F8E;
	}


/* feeding table */
.styled-table.feeding-table tr:not(.fs-header) td {
    white-space: pre;
}
#total, #total_loaded {
    display: inline-block;
    padding: .3em;
    border-radius: 3px;
    border: 1px solid #ccc;
    width: 6em;
}
.form-list .input.radio label.active-feed-menu-parent {
    border-color: #46B692;
    color: #46B692;
}
#next-supp {
    background: #366F8E;
}
.form-table .styled-table td.btn-minus {
	text-align: center;
}

/* SORTABLE */
.sortable-placeholder,
table tbody tr.sortable-placeholder:nth-child(even) {
    border: 3px dashed #366F8E;
}
.sortable-placeholder,
table tbody tr.sortable-placeholder:nth-child(even) td {
    background-color: white;
}
.sort {
    cursor: ns-resize;
    text-align: center;
}
.styled-table #sortable .sortable-placeholder td {
	height: 1.725em;
}
.styled-table #sortable td {
	vertical-align: middle;
}


/* flash */
.flash {
    background-color: #FFFFDC;
    padding: 2em;
    margin-bottom: 2em;
    border-left: 4px solid #FFFF00;
    -webkit-box-shadow: 3px 3px 5px -5px #aaa;
    -moz-box-shadow: 3px 3px 5px -5px #aaa;
    box-shadow: 3px 3px 5px -5px #aaa;
    cursor: pointer;
}
	.flash h3 {
		margin-top: 0;
		margin-bottom: .5em;
		color: #d6d600
	}

.flash.flash_error { background: #fff0f0; border-left-color: #ff0000; }
.flash.flash_error h3 { color: #ff0000; }
.flash.flash_success { background: #f0fff0; border-left-color: #00FF00; }
.flash.flash_success h3 { color: #00d600; }



/* DASHBOARD */
.dashboard {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
.dashboard-box {
    background-color: #fff;
    margin: 0 2em 2em 0;
    border: 1px solid #eaeeef;
    -webkit-box-shadow: 3px 3px 5px -5px #aaa;
    -moz-box-shadow: 3px 3px 5px -5px #aaa;
    box-shadow: 3px 3px 5px -5px #aaa;
    width: 20em;
    min-height: 20em;
    padding: 1em;
}
.db-stats {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
}
    .db-stats > * {
    	margin: 0;
    	padding: 0;
    	flex: 0 0 auto;
		display: flex;
		align-items: center;
		padding: 0 .5em;
    }
    .dashboard-box > h3 {
    	margin: 0;
    	padding: 0 .5em;
    	height: 2em;
    	line-height: 2em;
	    background: #366F8E;
	    color: #fff;
    }
    .dashboard-box.db-articles > h3 {
        background: #368e64
    }
    .db-articles > div {
        padding: .25em 0;
        background-color: white;
    }
    .db-articles > div:nth-child(odd) {
        background-color: #f6fafb;
    }
    .db-articles-title {
        border-bottom: 1px solid #5db38a;
        font-weight: 900;
    }
    .db-articles-date {
        background: #5db38a;
        color: #fff;
        border-radius: .5em;
        padding: .1em .2em;
        font-size: .85em;
        font-weight: bold;
    }
    .db-articles-content {
        margin: .2em 0;
    }
    .db-articles-readmore {
    	text-align: right;	
    }
    .db-articles-readmore a {
    	font-size: .9em;
    	color: #5db38a;
    }
    .db-articles-readmore a:hover {
    	text-decoration: none;
    }
/*

Dashboard statistics 


*/
    .db-stats > div {
    	flex: 1 1 auto;
    	background-color: white;
    }
	.db-stats > div:nth-child(odd) {
	    background-color: #f6fafb;
	}
/*

Dashboard herddata 


*/
    .db-herddata table {
        width: 100%;
        table-layout: fixed;
    }
    .db-herddata td, .db-herddata th {
        padding: 1em 0;
        margin: 0;
        width: 19%;
    }
    .db-herddata td:first-child, .db-herddata th:first-child {
    	width: 43%;
    }
    .db-herddata th {
        text-align: left;
    }
    .db-herddata .db-herddata-name {
    	cursor: help;
    	overflow: hidden;
    	white-space: nowrap;
    	text-overflow: ellipsis;
    }
.break {
	flex: 0 0 100%;
	padding: 0;
	margin: 0;
	height: 0;
}
.dashboard-box.xl {
	width: 44em;
}
.db-graph {
	display: none;
	max-width: 100%;
}
.db-form {
    margin-top: 1em;
    max-width: 100%;
}
.db-form [type="submit"],
.db-form select {
    display: inline-block;
    height: 2.5em;
    border: 1px solid #d2dadc;
    line-height: 2.5em;
    color: black;
    text-decoration: none;
    border-radius: 3px;
    padding: 0 .5em;
    background-color: #fff;
    margin: .5em 0;
}
.db-form select {
    width: 100%;
}
.db-form [type="submit"]:before {
    display: none;
}

.db-stats {
/*    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;*/
}
.db-stats.db-stock > div {
    flex: 0 0 2em;
}
.db-stats.db-stock > * {
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}
.db-stock>div {
	padding: .5em 0;
}
.db-stock p {
	font-size: .8em;
	margin: 0;
	padding: 0;
}
	.db-progress {
		clear: both;
		height: .8em;
		border-radius: .4em;
		overflow: hidden;
		width: 98%;
		border: 2px solid #fff;
		margin-top: .2em; 
        -webkit-box-shadow: 0px 0px 0px 1px #aaa;
        -moz-box-shadow: 0px 0px 0px 1px #aaa;
        box-shadow: 0px 0px 0px 1px #366F8E;
    }	
    .db-progress div {
		width: attr(data-value);
		height: 100%;
		background: #5CB85C;
	}
	.db-progress.db-progress-20 div { background: #D9524F; }
	.db-progress.db-progress-40 div { background: #F0AD4E; }
	.db-progress.db-progress-60 div { background: #5BC0DE; }
	.db-progress.db-progress-0 { 
        border-color: red;
        -webkit-box-shadow: 0px 0px 5px 0px rgba(255,0,0,1);
        -moz-box-shadow: 0px 0px 5px 0px rgba(255,0,0,1);
        box-shadow: 0px 0px 5px 0px rgba(255,0,0,1);
    }
.circle {
    background: #366F8E url(../img/nav-herds.png) center center no-repeat;
    background-size: 75% 75%;
    display: inline-block;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    margin-right: .5em;
}
.supps { background-image: url(../img/nav-supps.png) }
.menus { background-image: url(../img/nav-menus.png) }
.feedings { background-image: url(../img/nav-feedings.png) }

.dashboard-box.db-feedlink {
    background-color: transparent;
    margin: 1em 2em 2em 0;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    
    min-height: .5em;
    padding: 0;
}
.dashboard-box.db-feedlink a {
    height: 3em;
    border: none;
    line-height: 3em;
    vertical-align: middle;
    background: #46b692;
    display: block;
    width: 100%;
    padding: 0 1em 0 1em;
    border-radius: 1.5em;
    color: #fff;
    font-size: 1em;
    text-transform: uppercase;
    transition: .5s;
    text-decoration: none;
    text-align: center;
}
    .dashboard-box.db-feedlink a:hover {
        background: #424952
    }


/* RANDOM STYLES */



.center         {text-align: center !important;}
.delete-row     {cursor: pointer;}
.margin-bottom-2em { margin-bottom: 2em; }
kbd {
    padding: 0.1em 0.6em 0.1em 0.55em;
    border: 1px solid #CCC;
    font-size: .7em;
    font-family: Arial,Helvetica,sans-serif;
    background-color: #F7F7F7;
    color: #333;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 2px #FFF inset;
    border-radius: 3px;
    display: inline-block;
    text-shadow: 0px 1px 0px #FFF;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer; 
    margin
}
.small { font-size: .85em; }
.pre { white-space: pre; }



.mobileOnly { display: none; }
.desktopOnly { display: block; }

#toggle-nav {
    font-size: 1em;
    display: none;
    position: absolute;
    top: 1em;
    left: 1em;
    border: 1px solid red;
}
/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
.hamburger {
    display: none;
    position: absolute;
    top: 1.75em;
    left: 1em;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    overflow: visible;
    border: 0;
    width: 4em;
    height: 4em;
}
.hamburger:hover,
.hamburger.is-active:hover { opacity: 0.7; }
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #fff;
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
.hamburger-inner::after {
    bottom: -10px;
}
.hamburger--elastic .hamburger-inner {
    top: 2px;
    transition-duration: 0.275s;
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}
.hamburger--elastic .hamburger-inner::before {
    top: 10px;
    transition: opacity 0.125s 0.275s ease; 
}
.hamburger--elastic .hamburger-inner::after {
    top: 20px;
    transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger--elastic.is-active .hamburger-inner {
    transform: translate3d(0, 10px, 0) rotate(135deg);
    transition-delay: 0.075s;
}
.hamburger--elastic.is-active .hamburger-inner::before {
    transition-delay: 0s;
    opacity: 0;
}
.hamburger--elastic.is-active .hamburger-inner::after {
    transform: translate3d(0, -20px, 0) rotate(-270deg);
    transition-delay: 0.075s;
}


.styled-table .td-vert-middle {
    vertical-align: middle;
}

/*****************************
 *
 *  RESPRONSIVE VIEW
 *  
 ****************************/

@media all and (max-width: 50em) {
    .mobileOnly { display: block; }
    .desktopOnly { display: none; }
    /*******************************
    *    BASE LAYOUT
    ********************************/
    body {
        width: 100%;
        padding: 0;
        display: block;
        padding-bottom: 2em;
        font-size: .9em;
    }
    .left-column h1 {
        font-size: 1em;
        height: 4em;
        margin-bottom: 1em
    }

    .hamburger {  display: block; }
    nav ul, .top-bar { display: none; }


    .content {
        padding: 1em;
    }
    .box {
        padding: 1em;
        font-size: 1.15em;
    }
	.top-bar {
	    padding: 1em 2em 1em 1em;

	}
    .top-bar ul {
        flex-direction: column-reverse;
    }
    .top-bar li {
        margin-left: 0;
        text-align: center;
        padding: .5em;
    }

    .form-list input[type=text],
    .form-list input[type=number],
    .form-list input[type=password],
    .form-table > div input[type=text]  {
        width: 80%;
    }
    .form-table .styled-table.styled-table-xxl td  {
        font-size: 1.2em;
    }
    .form-table .error-message {
        max-width: 80%;
    }
    .herd-shortnav { display: none; }
    .mobile-scroll {
        width: 100%;
        overflow: auto;
    }


	.dashboard-box {
	    width: 100%;
	    min-height: 5em;
	    margin-right: 0;
	}
	.db-stats {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
	}
	    .db-stats > * {
	    	padding: .75em .5em;
	    }
	.dashboard-box.xl {
		width: 100%;
	}

    .styled-table .btn-minus button,
    .styled-table .btn-plus button {
        display: inline-block;
        font-size: .95em;
        
        width: 3em;
        height: 3em;
        margin: 1em 0.5em 1em 0.5em;
    }

}




