@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

html, body {
  height: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1em;
  background-color: #f0f0f0;
  color: #000;
}

form {
  margin: 0;
}

p {
  margin: 0;
}

a, a:hover, a:focus {
    color: dimgrey;
    text-decoration: none;
}
a.underline:hover {
  text-decoration: underline;
}

textarea {
  resize: vertical;
}

td {
  vertical-align: middle;
}

/* Surcharge Alpaca */

.alpaca-field-object {
  padding: 0;
}

.btn-default.active, .btn-default:active, .open>.dropdown-toggle.btn-default {
  border-color: #000;
  box-shadow: none;
  background-color: #f9f9f9;
}

.alpaca-field-select .btn-group button.multiselect:hover {
  background-color: #f9f9f9;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;  
}

.btn-default.active, .btn-default:active, .open>.dropdown-toggle.btn-default {
  color: #000 !important;
  background-color: #f9f9f9 !important;
  border-color: #000 !important;
}

.alpaca-autocomplete {
  padding-bottom: 10;
}
.alpaca-control-label {
  margin-bottom: 0px;
}

.alpaca-icon-required {
  font-family: 'OpenSans';
  font-weight: inherit;
}
.alpaca-icon-required::before{
  content: '*';
  color: #c1222f;
}

.alpaca-control.radio {
  margin-left: 0;
}

.help-block {
  text-align: left;
  word-break: break-word;
  font-size: 0.8em;
  color: #888;
}

/* G�n�ral */
.rotating {
  animation: rotating 2s linear infinite;
}

.fancy-content {
  display: none;
}

.no-padding {
  padding: 0 !important;
}

#link {
  margin-top: 40px;
}
#link.container {
  margin-bottom: 40px;
}

p.link img {
  margin-right: 15px;
}

p.link {
  margin: 0;
  text-align: right;
  color: #000;
  text-transform: uppercase;
  font-size: 1em;
}

p.link a {
  color: #000;
}

p.info {
  margin: 5px 0;
}

a.delete,
a.delete:hover {
  color: red;
}

.break-word {
  word-wrap: break-word;
}

.hidden, .fancy-hidden {
  display: none;
}

.red {
  color: #c1222f;
}

.btn-none {
  padding: 0;
  border: none;
  vertical-align: top;
  background-color: transparent;
}

/* Help */

.help-section {
  margin-bottom: 50px;
}

.help-section ul {
  list-style: none;
  padding: 0;
}


/* Login */

body.auth {
  padding: 0;
  margin: 0;
}

body.auth #link {
  /*bottom: 0;*/
  padding: 0 50px 30px 50px;
  display: inline-block;
  /*position: absolute;*/
  margin-top: 0;
}

body.auth #link p.link {
  text-transform: none;
  font-size: 14px;
  text-align: center;
}

.vertical-half, .vertical-half .row, .vertical-half .row > * {
  /*padding: 0;*/
  height: 100%;
}

.auth-img-background {
  background: #38B9B5 url('../img/auth_background.jpg') no-repeat center center;
}

.right-side {
  text-align: center;
  background-color: #fff;
}

.right-side form {
  padding: 30px;
}

.right-side form .btn {
  width: 100%;
  color: #fff;
  text-transform: uppercase;
  padding: 7px;
  cursor: pointer;
  border-radius: 40px;
  margin-top: 30px;
}
.right-side form .btn:hover {
  color: #fff;
  background-color: #870000;
}

.debug {
  background-color: red;
  color: white;
}

/* Surcharge Bootstrap */
.navbar {
  background-color: #fff;
}

/* surcharge datatables */
table.table.dataTable>:not(caption)>*>* {
  background-color: #fff;
}

.trhover {
  cursor:pointer;
}
.table>*>tr.trhover:hover>td {
  transition: 0.1s;
  background-color: rgb(204, 204, 204);
  color: #000;
}


/* Titres et styles */

.title {
  text-transform: uppercase;
}

div.title {
  padding-top: 60px;
  padding-bottom: 20px;
}

p.title {
  margin-bottom: 20px;
}

div.title p.current,
div.title span.current {
  display: inline;
  width: 100%;
  font-size: 1em;
  margin: 0;
  border-bottom: 2px solid #aaa;
}

span.border {
  display: inline-block;
  width: 20px;
  margin: 0 0 -5px 5px;
  top: 5;
}

div.title2 {
  padding: 0;
  margin: 0;
}

div.title2 .text {
  display: inline-block;
  width: 100%;
  font-size: 1.5em;
  margin: 0 0 15px 0;
  border-bottom: solid 1px #DDD;
}

p.success {
  font-weight: bold;
  color: green;
  text-align: left;
  margin-bottom: 20px;
}

p.error,
p.delete {
  font-weight: bold;
  color: red;
  margin-top: 20px;
}

p.info {
  font-weight: bold;
  color: blue;
  margin-top: 20px;
}

.green {
  color: green;
}

.btn a {
  color: white;
  padding: 0 20px;
  text-decoration: none;
}

.svg-wrapper {
  position: relative;
}

.svg-wrapper span {
  position: absolute;
  left: 0;
  right: 0;
  width: 46px;
  top: 0;
  bottom: 0;
  height: 25px;
  margin: auto;
}


@media (max-width: 1200px) {

}

@media (min-width: 992px) {
  .navbar-expand-lg .offcanvas {
    flex-direction: row;
  }
}

@media (max-width: 769px) {
  .row.first_row {
    display: block;
  }

  .col {
    border-right: none;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .container {
    width: 100%;
  }
}