body {
  color: #333;
}
body.gradient {
  min-height: 500px; padding-bottom: 2em;
  background: #2da5c2;
  background: -moz-linear-gradient(top, rgba(0, 145, 181, 1) 0, rgba(255, 255, 255, 1) 90%);
  background: -webkit-gradient(left top, left bottom, color-stop(0, rgba(0, 145, 181, 1)), color-stop(90%, rgba(255, 255, 255, 1)));
  background: -webkit-linear-gradient(top, rgba(0, 145, 181, 1) 0, rgba(255, 255, 255, 1) 90%);
  background: -o-linear-gradient(top, rgba(0, 145, 181, 1) 0, rgba(255, 255, 255, 1) 90%);
  background: -ms-linear-gradient(top, rgba(0, 145, 181, 1) 0, rgba(255, 255, 255, 1) 90%);
  background: linear-gradient(to bottom, rgba(0, 145, 181, 1) 0, rgba(255, 255, 255, 1) 90%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0091b5', endColorstr='#ffffff', GradientType=0 );
  background-repeat: no-repeat; background-attachment: fixed;
}
body { background-color: #333; }

::-webkit-input-placeholder { font-style: italic; }
:-moz-placeholder { font-style: italic; }
::-moz-placeholder { font-style: italic; }
:-ms-input-placeholder { font-style: italic; }

/*input,
input:active,
input:focus,
button,
button:active,
button:focus {
  outline:0 !important;
  appearance: none; -webkit-appearance: none;
}*/

p { margin: 1em 0; }

header { background-color: white; padding: 1em 0 0 0; }
a#logo {
  display: inline-block;
  height: 4.5rem;
  margin-top: -5px;
  width: 23rem;
  background-image: url('../images/eurolysine.svg');
  background-size: contain; background-repeat: no-repeat;
}

.login a#logo {
  display: block; height: 10rem; width: 23rem;
  background-image: url('../images/eurolysine.svg');
  background-size: contain; background-repeat: no-repeat; background-position: center center; margin: 0 auto;

}

.navbar { min-height: 40px; }

h1, h2 {
  margin: 0 0 1em 0; padding: 0;
  color: white; font-size: 1.6em; letter-spacing: -0.01em;
}
h2 { color: #e3000f; line-height: 1.6em; }

footer {
  margin: 1em;
  text-align: right;
}
body.login footer { color: #ccc; }

.container-fluid { max-width: 1330px; }
.main-container {
  padding: 1em;
  background-color: rgba(255, 255, 255, .6);
  -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
}

.blue { color: #0091b5; }
.green { color: #a0bc5f; }
.red { color: #e3000f; }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.clear { clear: both; }
hr.clear { height: 0; border: none; }
.block { display: block; }

/* buttons & dropdowns */

.btn {
  border: solid 1px rgba(0, 0, 0, .15);
  outline: 0;
}
.btn:hover,
.btn:focus {
  -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .1);
  box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .1);
  border: solid 1px rgba(0, 0, 0, .3);
}
.btn:active,
.btn.active,
.open > .dropdown-toggle.btn:focus,
.open > .dropdown-toggle.btn:hover {
  -webkit-box-shadow: inset 0 3px 3px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 3px rgba(0, 0, 0, .125);
}

.btn-default { color: #666; background-color: white; }
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open > .dropdown-toggle.btn-default.focus,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default:hover { color: #0091b5; background-color: white; }

.btn-primary { background-color: #a0bc5f; }
.btn-primary:hover,
.btn-primary:focus {
  background-color: #a0bc5f;
  -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .2);
  box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .2);
  border: solid 1px rgba(0, 0, 0, .3);
}
.btn-primary:active,
.btn-primary.active,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover { background-color: #abc966; }
.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary[disabled].focus,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary.focus,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:hover {
  background-color: #abc966;
  -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .2);
  box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .2);
  border: solid 1px rgba(0, 0, 0, .3);
}

.btn-success { background-color: #a0bc5f; }
.btn-success:hover,
.btn-success:focus {
  background-color: #abc966;
  -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .2);
  box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .2);
  border: solid 1px rgba(0, 0, 0, .3);
}
.btn-success:active,
.btn-success.active,
.btn-success.active.focus,
.btn-success.active:focus,
.btn-success.active:hover,
.btn-success:active.focus,
.btn-success:active:focus,
.btn-success:active:hover,
.open > .dropdown-toggle.btn-success.focus,
.open > .dropdown-toggle.btn-success:focus,
.open > .dropdown-toggle.btn-success:hover { background-color: #abc966; }
.btn-success.disabled.focus,
.btn-success.disabled:focus,
.btn-success.disabled:hover,
.btn-success[disabled].focus,
.btn-success[disabled]:focus,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success.focus,
fieldset[disabled] .btn-success:focus,
fieldset[disabled] .btn-success:hover {
  background-color: #abc966;
  -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .2);
  box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .2);
  border: solid 1px rgba(0, 0, 0, .3);
}

.btn-danger { background-color: #e3000f; }
.btn-danger:hover,
.btn-danger:focus {
  background-color: #f20010;
  -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .3);
  box-shadow: inset 0px -1px 1px rgba(0, 0, 0, .3);
  border: solid 1px rgba(0, 0, 0, .3);
}
.btn-danger:active,
.btn-danger.active,
.btn-danger.active.focus,
.btn-danger.active:focus,
.btn-danger.active:hover,
.btn-danger:active.focus,
.btn-danger:active:focus,
.btn-danger:active:hover,
.open > .dropdown-toggle.btn-danger.focus,
.open > .dropdown-toggle.btn-danger:focus,
.open > .dropdown-toggle.btn-danger:hover { background-color: #f20010; }

.btn.disabled,
.btn.disabled:hover,
.btn.disabled:focus,
.btn.disabled:active,
.btn.disabled.active,
.btn.disabled.active.focus,
.btn.disabled.active:focus,
.btn.disabled.active:hover,
.btn.disabled:active.focus,
.btn.disabled:active:focus,
.btn.disabled:active:hover {
  font-style: italic; color: black; opacity: .5;
}

.btn-main {
  position: relative;
  background: rgb(165,193,98);
  background: -moz-linear-gradient(top,  rgba(165,193,98,1) 0%, rgba(147,170,87,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(165,193,98,1) 0%,rgba(147,170,87,1) 100%);
  background: linear-gradient(to bottom,  rgba(165,193,98,1) 0%,rgba(147,170,87,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a5c162', endColorstr='#93aa57',GradientType=0 );
  padding: .5em 2em; font-size: 1.2em;
  border: solid 1px rgba(0, 0, 0, .2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
              0 2px 2px -1px rgba(0, 0, 0, .5),
              0 1px 0 rgba(255, 255, 255, .3) inset;
}
.btn-main::after {
  position: absolute;
  left: .2em; right: .2em; top: .2em; bottom: .2em;
  border: solid 1px white;
}
.btn-main:hover,
.btn-main:focus {
  background: rgb(173,201,102);
  background: -moz-linear-gradient(top,  rgba(173,201,102,1) 0%, rgba(155,178,92,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(173,201,102,1) 0%,rgba(155,178,92,1) 100%);
  background: linear-gradient(to bottom,  rgba(173,201,102,1) 0%,rgba(155,178,92,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#adc966', endColorstr='#9bb25c',GradientType=0 );
  border: solid 1px rgba(0, 0, 0, .2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3),
              0 2px 2px -1px rgba(0, 0, 0, .5),
              0 1px 0 rgba(255, 255, 255, .3) inset;
}

.btn-main:active,
.btn-main.active,
.btn-main.active.focus,
.btn-main.active:focus,
.btn-main.active:hover,
.btn-main:active.focus,
.btn-main:active:focus,
.btn-main:active:hover,
.open > .dropdown-toggle.btn-main.focus,
.open > .dropdown-toggle.btn-main:focus,
.open > .dropdown-toggle.btn-main:hover {
  background: rgb(173,201,102);
  background: -moz-linear-gradient(top,  rgba(173,201,102,1) 0%, rgba(166,191,99,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(173,201,102,1) 0%,rgba(166,191,99,1) 100%);
  background: linear-gradient(to bottom,  rgba(173,201,102,1) 0%,rgba(166,191,99,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#adc966', endColorstr='#a6bf63',GradientType=0 );
  border: solid 1px rgba(0, 0, 0, .2);
}

.btn-main i.fa {
  margin-right: .1em;
  font-size: 1.5em; vertical-align: middle;
}

.dropdown-menu > li > a { padding: .2em .7em; }
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  background-color: #0091b5; color: white;
}
.dropdown-menu > li.active > a {
  background-color: #0091b5; color: white;
}
.dropdown-menu > li.active > a:focus,
.dropdown-menu > li.active > a:hover {
  background-color: #0091b5; color: white;
}

/* navbar */

.navbar-main-container { margin-top: 1em; background-color: #0091b5; }
nav.navbar-main { padding: 0; border: none; background-color: transparent; color: white; }
nav.navbar-main .navbar-brand { color: #e3000f; }
nav.navbar-main .navbar-collapse input { border: none; }
nav.navbar-main .navbar-collapse input.search {
  width: 11em; margin-left: .5em; opacity: .9;
  -webkit-transition: width 0.1s ease-in-out;
  -moz-transition: width 0.1s ease-in-out;
  -o-transition: width 0.1s ease-in-out;
  transition: width 0.1s ease-in-out;
}
nav.navbar-main .navbar-collapse input.search:focus { width: 15em; opacity: 1; }
nav.navbar-main .navbar-collapse ul.navbar-nav > li { border-right: solid 1px #0081a1; }
nav.navbar-main .navbar-collapse ul.navbar-nav > li:first-child { border-left: solid 1px #0081a1; }
nav.navbar-main .navbar-collapse ul.navbar-nav > li > a { color: white; }
nav.navbar-main ul.navbar-nav > li > a i { margin-right: .7em; }
nav.navbar-main .navbar-collapse ul.navbar-nav > li:hover > a { background-color: #0081a1; }
nav.navbar-main .navbar-collapse ul.navbar-nav > li.active > a { background-color: #0081a1; }
nav.navbar-main .navbar-collapse ul.navbar-nav > li.active:hover > a { color: #fff; }

nav.navbar-main .navbar-collapse ul.navbar-nav > .open > a,
nav.navbar-main .navbar-collapse ul.navbar-nav > .open > a:focus,
nav.navbar-main .navbar-collapse ul.navbar-nav > .open > a:hover {
  background-color: #0081a1; color: white;
}

nav.navbar-main .navbar-extended form { border: none; padding: .5em 0; margin: 0; color: #666; }
nav.navbar-main .navbar-extended input { margin: .5em 0; }
nav.navbar-main .navbar-extended > ul > li { font-weight: bold; border-bottom: solid 1px #ddd; }
nav.navbar-main .navbar-extended > ul > li:first-child { border-top: solid 1px #ddd; }

/* table */

table.table.main-table {
  background-color: white;
  -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
}
table.table.main-table > thead > tr > th {
  padding: .8em 1em; vertical-align: middle;
  color: #666;
}
table.table.main-table th.cell-main { background-color: #99d3e2; }
table.table.main-table.table-bordered { border: none; }
table.table.main-table.table-bordered > thead > tr > th {
  border: none; border-bottom: solid 2px #ddd;
}
table.table.main-table.table-bordered > tbody > tr > td {
  border-left: none; border-right: none;
}
table.table.main-table > tbody > tr > td {
  padding: .4em .5em; vertical-align: middle;
  white-space: nowrap; color: #666;
}
table.table.main-table .cell-center { text-align: center; }
table.table.main-table .cell-right { text-align: right; }
table.table.main-table td.cell-main { background-color: #e8f3f5; }
table.table.main-table tr:nth-of-type(odd) td.cell-main { background-color: #dff1f5; }
table.table.main-table tr:hover td { background-color: #dff1f5; }
table.table.main-table tr:hover td.cell-main { background-color: #99d3e2; }

table.table.main-table .btn { padding: .3em .6em; min-width: 40px; }
table.table.main-table .fa-check { color: #a0bc5f; }
table.table.main-table .fa-times { color: #e3000f; }
table .dropdown-menu { left: auto; right: 0; }

/* pagination */

ul.pagination { margin: 0; }
ul.pagination li > a { color: #666; }
ul.pagination li.active > a { background-color: #0091b5; }
ul.pagination li.active > a:focus,
ul.pagination li.active:hover > a { background-color: #009bc1; }

/* breadcrumb */

ol.breadcrumb { background-color: rgba(255, 255, 255, .6);  }
ol.breadcrumb li.active { color: #666; font-weight: bold; }
ol.breadcrumb li::before {
  content: "\f105";
  font-family: FontAwesome; color: #666;
}
ol.breadcrumb li:first-child::before { content: ""; }
ol.breadcrumb li > a { color: #666; }

/* modals */

body.modal-open { overflow: auto; }
.modal-content {
  border: none;
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
  -webkit-border-radius: 7px; -moz-border-radius: 7px; border-radius: 7px;
  -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
  -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px;
  border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;
}
.modal-header {
  padding: .7em 1em;
  background-color: #0081a1; color: white;
  border: solid 1px #0081a1;
  -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
  border-top-left-radius: 5px; border-top-right-radius: 5px;
}
.modal-footer { padding: .7em 1em; }

/* panels */

.panel { border: none; }

/* alerts & notices */

p.alert { padding: .5em 1em; }
p.alert-danger {
  background-color: #e3000f; border-color: transparent;
  color: white;
}

/* lists */

ul.list-summary {
  display: table; margin: 1em 0 0 0;
  border: solid 2px #ddd; border-collapse: separate; border-spacing: 10px;
  -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
  background-color: #e8f3f5; color: #666;
}
ul.list-summary li {
  display: table-cell; max-width: 16em; margin: 1em; padding: .2em 1em;
  border-right: solid 2px #ddd; text-align: center;
}
ul.list-summary li:last-child { border-right: none; }
ul.list-summary li strong {  display: block; margin-bottom: .5em; }

/* form */

form input.error, form textarea.error, form select.error {
  border-color: rgba(217, 83, 79, 0.8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(217, 83, 79, 0.6);
  outline: 0 none;
}

.login-form {
  margin-top: 10%; padding: 2em;
  background-color: white;
  -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.3);
}
.login-form #logo { display: block; }
.login-form h1 { margin-top: 1em; color: #e3000f; }
.login-form form { margin-top: 2em; }
.login-form button[type=submit] { padding-left: 2em; padding-right: 2em; }

textarea.message {  resize: none; height: 250px; }

/* icons */

.fa-light { opacity: .3; }

/* responsive stuff */

@media screen and (max-width: 768px) {
  header { padding: 0 1em; margin: 0; }
  .main-container { padding: .5em; }
  .navbar-main-container { margin: 0 0 2em 0; background-color: white; }
  nav.navbar-main { margin: 0; }
  .btn-main { width: 100%; text-align: left; padding: .5em 1em; }
  ul.list-summary { display: block; border-spacing: 0; padding: .5em 1em;}
  ul.list-summary li {
    display: block; max-width: none; margin: 0; padding: .2em .5em;
    text-align: left; border-right: none; border-bottom: solid 2px #ddd;
  }
  ul.list-summary li:last-child { border: none; }
  ul.list-summary li strong { display: inline-block; margin-right: .5em; }
  footer { text-align: left; }
}
@media screen and (max-width: 992px) {
  table.table.main-table > thead > tr > th,
  table.table.main-table > tbody > tr > td {
    padding-left: .4em; padding-right: .4em;
    padding-top: .4em; padding-bottom: .4em;
  }
}
@media screen and (min-width: 1200px) {
  nav.main-nav { margin: 0 auto 1em auto; width: 1190px; }
}

.nav>li>a { padding: 10px!important; }