/*!
 * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 * Modifications par 1pagesurleweb.com (http://1pagesurleweb.com)
 */

/* STYLES GENERAUX */

body {
  overflow-x: hidden;
  font-family: "Nunito", sans-serif;
}

.adresse:after {
  content: "Mél : contact\40 capergo.fr";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: uppercase;
  font-weight: 700;
}

p {
  font-size: 14px;
  line-height: 1.75;
}

p.large {
  font-size: 16px;
}

h4.large {
  font-size: 1.2em;
}

a,
a:hover,
a:focus,
a:active,
a.active {
  outline: 0;
}

a {
  color: #172152;
}

a:hover,
a:focus,
a:active,
a.active {
  color: #172152;
}

h1.heading {
}

section {
  padding: 80px 0;
}

section h2.section-heading {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 30px;
}

section h3.section-subheading,
section p.section-subheading {
  margin-bottom: 75px;
  text-transform: none;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 768px) {
  section {
    padding: 100px 0;
  }
}

.text-muted {
  color: #777;
}

.text-primary {
  color: #2c1f68;
}

.text-special {
  color: #222;
}

.text-blanc {
  color: #ffffff;
}

.text-bleu {
  color: #172152;
}

.img-centered {
  margin: 0 auto;
}

.bg-light-gray {
  background-color: #f7f7f7;
}

.bg-darkest-gray {
  background-color: #222;
}

.btn-primary {
  border: 2px solid #7770b0; /* Update border color to match new theme */
  text-transform: uppercase; /* Keep text in uppercase */
  font-weight: 700; /* Bold text */
  color: #fff; /* Keep text color white for contrast */
  background-color: #7770b0; /* Change background color to the new color */
  padding: 10px 20px; /* Add padding for better clickability */
  border-radius: 5px; /* Optional: Add border-radius for rounded corners */
  transition: background-color 0.3s, border-color 0.3s; /* Smooth transitions */
}

.btn-primary:hover {
  background-color: #2c1f68; /* Darker shade for hover effect */
  border-color: #2c1f68; /* Update border color on hover */
  cursor: pointer; /* Change cursor on hover */
}

.btn-primary:focus {
  outline: none; /* Remove outline */
  box-shadow: 0 0 5px rgba(124, 124, 255, 0.5); /* Optional: add focus effect */
}

.btn-xl {
  padding: 10px; /*20px 40px*/
  border-color: #fff;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 12px; /*18px*/
  font-weight: 700;
  color: #fff;
  background-color: transparent;
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
  border-color: #fff;
  color: #fff;
  background-color: transparent;
}

.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
  background-image: none;
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
  border-color: #2c1f68;
  background-color: #2c1f68;
}

.btn-xl .badge {
  color: #2c1f68;
  background-color: #fff;
}

/*SECTION ACCROCHE */

section#intro {
  background: #2c1f68; /* #172152;*/
  padding: 80px;
}

p.accroche {
  font-size: 1.5em;
  color: #ffffff;
  font-style: italic;
}

/* SECTION MISSIONS */

section#missions {
  background-image: url(../img/pt_02.jpg);
  background-position: center center;
  background-repeat: none;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

section#missions div.bloc-missions {
  margin: 20px;
  padding: 0;
  border: 1px solid #222;
  background: white;
  box-shadow: 3px 3px 7px #222;
  min-height: 390px;
}

section#missions div.hauteur {
  height: 370px;
}

div.bloc-missions li {
  padding: 10px;
  list-style-type: none;
  text-align: left;
  margin-left: -30px;
}

.missions-heading {
  margin: 0;
  text-transform: none;
  background: #2c1f68; /*#2c5a7c;*/
  color: #ffffff;
  line-height: 40px;
}

@media (max-width: 991px) {
  .espace {
    margin-top: 40px;
  }
}

/* SECTION SECTEURS */

section#secteurs {
}

section#secteurs .liste_a {
  line-height: 80px;
  margin-bottom: 10px;
}

section#secteurs .liste_l {
  padding: 30px 20px;
  text-align: right;
}

section#secteurs .liste_r {
  padding: 10px 20px;
  text-align: left;
  vertical-align: middle;
}

section#secteurs .liste_r span {
  font-size: 1.3em;
}

section#secteurs .liste_r p {
  font-size: 1.1em;
}

@media (max-width: 767px) {
  section#secteurs .liste_l {
    text-align: left;
    padding-bottom: 0;
  }
  section#secteurs .liste_l {
    padding-top: 0;
  }
  section#secteurs .liste_a {
    line-height: 60px;
  }
}

@media (min-width: 1200px) {
}

/* SECTION A PROPOS */

.team-member {
  margin-bottom: 50px;
  text-align: center;
}

.team-member img {
  margin: 0 auto;
  border: 7px solid #fff;
}

.team-member h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}

.team-member p {
  margin-top: 0;
}

/*SECTION CONTACT */

section#contact {
  background-color: #7770b0; /*#172152;*/

  /*   background-image: url(../img/fond_raye.png);
   background-position: center;
    background-repeat: repeat;*/
}

section#contact .section-heading {
  color: #fff;
}

section#contact .form-group {
  margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
  padding: 20px;
}

section#contact .form-group input.form-control {
  height: auto;
}

section#contact .form-group textarea.form-control {
  height: 236px;
}

section#contact .form-control:focus {
  border-color: #2c1f68;
  box-shadow: none;
}

section#contact::-webkit-input-placeholder {
  text-transform: uppercase;
  font-weight: 700;
  color: #bbb;
}

section#contact:-moz-placeholder {
  text-transform: uppercase;
  font-weight: 700;
  color: #bbb;
}

section#contact::-moz-placeholder {
  text-transform: uppercase;
  font-weight: 700;
  color: #bbb;
}

section#contact:-ms-input-placeholder {
  text-transform: uppercase;
  font-weight: 700;
  color: #bbb;
}

section#contact .text-danger {
  color: yellow;
  font-weight: bold;
}

section#contact .text-danger :before {
}

section#contact .localisation {
  margin: 0px 20px 0;
}

@media (max-width: 768px) {
  div.margehaute {
    margin-top: 50px;
  }
}

/* FOOTER */

footer {
  padding: 25px 0;
  text-align: center;
}

footer span.copyright {
  text-transform: uppercase;
  text-transform: none;
  line-height: 20px;
}

footer ul.quicklinks {
  margin-bottom: 0;
  text-transform: uppercase;
  text-transform: none;
  line-height: 40px;
}

footer ul.quicklinks a {
  text-decoration: none;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  font-size: 20px;
  line-height: 40px;
  outline: 0;
  color: #fff;
  background-color: #172152;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
  background-color: #2c06bc;
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
  outline: 0;
}

/*FENETRES MODALES */

.portfolio-modal .modal-content {
  padding: 100px 0;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  text-align: center;
  background-clip: border-box;
  -webkit-box-shadow: none;
  box-shadow: none;
  text-align: center; /*AJOUTE*/
  margin: 70px auto; /*AJOUTE*/
}

@media (max-width: 1024px) {
  .portfolio-modal .modal-content {
    width: 90%; /* AJOUTE*/
  }
}
.portfolio-modal .modal-content h2 {
  margin-bottom: 15px;
  font-size: 3em;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  margin: 20px 0 30px;
  font-size: 16px;
  font-style: italic;
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  background-color: transparent;
  cursor: pointer;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  background-color: #222;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
  z-index: 1052;
  width: 1px;
  height: 75px;
  background-color: #222;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

::-moz-selection {
  text-shadow: none;
  background: #2c1f68;
}

::selection {
  text-shadow: none;
  background: #2c1f68;
}

img::selection {
  background: 0 0;
}

img::-moz-selection {
  background: 0 0;
}

body {
  webkit-tap-highlight-color: #2c1f68;
}
