/**
 * @file
 * Feuille de style dédiée aux éléments HTML de base.
 */

/*
 * TAGS
 */

body {
  background: #fff;
  color: #232425;
  font-family: 'soleil-regular';
  font-size: 100%;
  line-height: 1.2;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body * {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.1;
  font-weight: normal;
  font-family: 'soleil-regular';
}
p {
  margin: 0 0 1em 0;
}
p strong {
  font-family: 'soleil-bold';
  font-weight: normal;
}
a {
  color: #232425;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
  outline: 0;
}
img {
  /* Avoid image title displaying on rollover */
  pointer-events: none;
}

/*
 * ELEMENTS
 */

/*** TABLES ***/

table td,
table th {
  padding: 0 3px;
}

/*** MENUS ***/

ul.menu {
  margin: 0;
}
.menu-item {
  padding-top: 0;
}
ul.menu a.is-active {
  color: #232425;
}

/*** CHAMPS ***/

input.form-text,
textarea.form-textarea {
  padding: .3em .4em .3em .5em;
  width: 100%;
  border: 1px solid #d8d8d8;
  background: #fff;
  font-size: 1em;
}
.field--type-text-with-summary p a,
.field--type-text-long p a {
  text-decoration: underline;
}
.field--type-text-with-summary p a:hover,
.field--type-text-long p a:hover {
  text-decoration: none;
}

/*** BOUTONS ***/

input.form-submit {
  padding: .5em 1.5em;
  border: 1px solid #232425;
  background-color: #232425;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  color: #ffffff;
}
input.form-submit:hover {
  background-color: #fff;
  color: #232425;
}
.form-actions input.form-submit {
  background-color: #232425;
}
.form-actions input.form-submit:hover {
  background-color: #fff;
  color: #232425;
}

/*** BLOCKS ***/

.block-title {
  margin-bottom: 60px;
  font-family: 'soleil-regular';
  text-align: center;
  font-size: 1.8em;
  font-weight: normal;
}
.block-title .inner {
  display: inline-block;
  padding: 0 1em;
}

/* Better local tasks (module) */

.block-local-tasks-block {
  top: 400px;
  z-index: 1200;
}
.block-local-tasks-block ul.blt-tabs li.is-active {
  background: #999;
}
.block-local-tasks-block ul.blt-tabs li:hover {
  left: calc(100% - 80px);
}

/*** VIEWS ***/

.views-field .field-content p a,
.views-field .field-content ul li a {
  text-decoration: underline;
}
.views-field .field-content p a:hover,
.views-field .field-content ul li a:hover {
  text-decoration: none;
}
a.tabledrag-handle .handle {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

/*** AJAX PROGRESS THROBBER ***/

.ajax-progress,
.ajax-progress-throbber,
.ajax-progress-fullscreen {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  opacity: 1;
  background: rgba(255, 255, 255, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  overflow: hidden;
  text-indent: -99999em;
}
.ajax-progress-throbber:before,
.ajax-progress-fullscreen:before {
  content: " ";
  display: block;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 0.8s infinite linear;
  animation: spin 0.8s infinite linear;
  border-radius: 120px;
  border-width: 10px;
  border-style: solid;
  border-color: #232425 transparent #232425 transparent;
  overflow: hidden;
  text-indent: -99999em;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
@-webkit-keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*** ADMIN TOOLBAR ***/

#toolbar-bar {
  z-index: 9999;
}
.toolbar-bar .toolbar-icon-toolbar-menu::before {
  background-image: url(../images/commun/favicon.png);
}
.menu-item a:focus {
  background: none;
}

/**
 * RESPONSIVE
 */

/*--------- <= 1360px ---------*/

@media only screen and (max-width: 1360px) {

  .block-local-tasks-block .inner {
    right: 2%;
  }

}

/*--------- <= 680px ---------*/

@media only screen and (max-width: 680px) {

  body {
    font-size: 90%;
  }

}

/*--------- <= 460px ---------*/

@media only screen and (max-width: 460px) {

  body {
    /*font-size: 85%;*/
  }

}

