/**
 * @file
 * Subtheme specific CSS.
 */

/*
  Turquoise : #009EC0
  https://pinetools.com/darken-color
  http://colorsafe.co/
 */


/* Text */
.primary-color {
  color: #009EC0;
}

h1:before {
  border-bottom-color: #009EC0;
}

/* Navbar */
#header {
  background-color: #fff;
  /*border-bottom:3px solid #009EC0;*/
}

#navbar-main button.button {
  background-color: #009EC0;
}

#navbar-main button.navbar-toggler {
  background-color: #009EC0;
}

@media (min-width: 992px) {
  #navbar-main ul li:hover a.nav-link {
    color: #000000;
    border-bottom: 2px solid #009EC0;
  }

  #navbar-main ul li a.nav-link.is-active {
    border-bottom: 2px solid #009EC0;
  }

  #navbar-main ul li.dropdown a.nav-link:before {
    border-bottom-color: #009EC0;
  }

  footer.site-footer .site-footer__top .region {
    width: 20% !important;
  }

  footer.site-footer .region-footer-fifth>div {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  footer.site-footer .region-footer-fourth>div {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}

footer.site-footer .region-footer-fifth .field>div {
  display: inline-block;
}

/* Hero */
@media (min-width: 992px) {
  #hero:before {
    content: "";
    background: url("/sites/default/files/inline-images/confetti2.png");
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    background-position: bottom;
    width: 224px;
    height: 314px;
    left: 20px;
    top: 0;
    overflow: hidden;
  }

  #hero:after {
    content: "";
    background: url("/sites/default/files/inline-images/confetti1.png");
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    background-position: top;
    width: 248px;
    height: 245px;
    right: 20px;
    bottom: 10px;
    overflow: hidden;
  }
}

/* Link */
a {
  color: #00819E;
}

a:hover,
a:focus,
a:active {
  color: #009EC0;
}

.link {
  color: #00819E;
}

.link:hover,
.link:focus,
.link:active {
  color: #009EC0;
}

/* Button */
.btn-primary {
  background-color: #009EC0;
  color: #ffffff
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #009EC0;
  color: #ffffff
}

.btn-primary:active:focus {
  box-shadow: 0 0 0 0.2rem #009EC0;
}

.btn-secondary {
  background-color: #c7c9c7;
  color: #ffffff
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #009EC0;
  color: #ffffff;
}

.btn-secondary:active:focus {
  box-shadow: 0 0 0 0.2rem #009EC0;
}


/* Views */
.view-atoz-people .view-content.row .card {
  border-bottom-color: #009EC0
}

.view-atoz-people .view-content.row .card .card-info a:hover svg {
  color: #009EC0;
}

.view-atoz-people .view-content.row .card:hover .card-img-top img {
  border-color: #009EC0;
}

.paragraph--type--fullpage-media .field--name-field-title {
  color: #009EC0;
}

.taxonomy-term.vocabulary-key-people .card .card-info {
  text-align: center;
}

.taxonomy-term.vocabulary-key-people .card .card-body .card-info a:not(:hover) {
  color: #8A8D8F;
}

.taxonomy-term.vocabulary-key-people .card .card-info a svg {
  height: 24px;
  width: 24px;
  margin: 0 5px;
}

.taxonomy-term.vocabulary-key-people .card .card-info a:hover svg {
  color: #009EC0;
}

#views-exposed-form-atoz-people-page-1 {
  background-color: #fff;
}

#views-exposed-form-atoz-people-page-1 .form-item-board {
  display: none;
}

#views-exposed-form-atoz-people-page-1 .form-item-name,
#views-exposed-form-atoz-people-page-1 .form-item-sl,
#views-exposed-form-atoz-people-page-1 .form-item-rank {
  max-width: 270px;
  width: 100%;
}

#views-exposed-form-atoz-people-page-1 .form-item-name input {
  margin-top: 0;
}

.view-atoz-people .node--type-page .paragraph--type--one-column ul {
  list-style: none;
  padding: 0;
  margin-bottom: 5px;
  text-align: center;
}

.view-atoz-people .node--type-page .paragraph--type--one-column ul li {
  display: inline-block;
  text-align: left;
  font-family: "AvantGarde", Arial, sans-serif;
  text-transform: uppercase;
  width: auto;
  padding: 0 10px;
  font-size: 15px;
  height: 42px;
  vertical-align: top;
}

.view-atoz-people .node--type-page .paragraph--type--one-column ul li a {
  color: black;
}

.view-atoz-people .node--type-page .paragraph--type--one-column ul li:hover a {
  color: #009EC0;
}

.view-atoz-people .node--type-page .paragraph--type--one-column ul li:not(:last-child) {
  border-right: 1px solid black;
}

.view-atoz-people .view-filters {
  width: 100%;
}

.view-atoz-people .view-filters label {
  margin-bottom: 0;
}

.view-atoz-people .view-filters .form-row {
  margin: 0;
  max-width: 880px;
  width: 100%;
}

.view-atoz-people .view-filters .form-row .form-control {
  width: 100%;
  max-width: 400px;
}

.page-node-2 .paragraph--type--three-columns .field--type-text-long:hover {
  background-color: #009EC0;
  color: #ffffff
}

.page-node-2 .paragraph--type--three-columns .field--type-text-long:hover h2 {
  color: #ffffff
}

.page-node-94 .paragraph--type--four-column img {
  float: left;
  margin-left: -20px;
  width: 100px;
  height: 100px;
  margin: 6px 12px 6px 0;
  border-radius: 50%;
}

.page-node-94 .paragraph--type--three-columns {
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: .25rem;
}

.page-node-94 .paragraph--type--three-columns img {
  float: left;
  width: 100px;
  height: 100px;
  margin: 6px 12px 6px 0;
  border-radius: 50%;
}

.page-node-94 .paragraph--type--three-columns .field--type-text-long {
  min-width: 370px;
}

/* Table */
table tr th {
  background: #009EC0;
}

/* Fieldset */
form.webform-submission-form {
  visibility: visible !important;
}

form.webform-submission-form fieldset.webform-type-fieldset.fieldset-atozcolor {
  border: 3px solid #000;
  border-radius: 0;
}

form.webform-submission-form fieldset.webform-type-fieldset.fieldset-atozcolor>legend span {
  color: #009EC0;
  font-weight: bold
}

form.webform-submission-form fieldset.webform-type-fieldset.fieldset-atozcolor label.ui-checkboxradio-radio-label {
  padding: 10px 0;
  width: 16%;
  margin: 0 2%;
}

form.webform-submission-form fieldset.webform-type-fieldset.fieldset-atozcolor label.ui-checkboxradio-radio-label.ui-button:active {
  border: 1px solid #009ec0;
  background: #009ec0;
}

form.webform-submission-form fieldset.webform-type-fieldset.fieldset-atozcolor input.form-radio.form-check-input {
  width: auto;
  margin-top: 7px;
}

form.webform-submission-form fieldset.webform-type-fieldset.fieldset-atozcolor .form-type-textarea .form-textarea-wrapper {
  display: block;
  width: 100%;
}

/* Cookie */
div#sliding-popup {
  background: #009EC0;
}

.eu-cookie-compliance-default-button {
  color: #009EC0;
}

.eu-cookie-compliance-default-button:hover {
  color: #009EC0;
}

.eu-cookie-compliance-save-preferences-button {
  display: none;
}

.eu-cookie-compliance-buttons {
  width: auto !important;
}

.eu-cookie-withdraw-button {
  color: #009EC0;
  background-color: #ffffff;
  border: 1px solid transparent;
  font-size: 14px;
  margin-top: 20px;
}

/* Footer */
footer.site-footer [id^="block-footer"][id$="socialmedia"] .fontawesome-icon-inline a {
  border-color: #009EC0;
  color: #009EC0;
}

footer.site-footer h4:before {
  content: "";
  position: absolute;
  width: 50%;
  height: 1px;
  bottom: 0;
  left: 0;
  border-bottom: 2px solid #009EC0;
}

#return-to-top {
  color: #009EC0;
}


/* 
***
code by aymane
***
*/
/* page aviation-finance */
.paragraph--type--two-columns-67-33>div:nth-child(2)>p:nth-child(7)>a:nth-child(1)>img:nth-child(1) {
  width: 100%;
  height: auto;
  border-radius: 0%;
}

/* texte header */
#hero .field--name-field-quote p {
  text-align: center;
}

/* images pages */
.responsive.align-center {
  width: 100%;
}

/* block linkedin */
body.path-frontpage [id^="block-linkedinblock"] {
  display: inline-block;
  width: 100%;
}

@media (min-width: 1200px) {
  body.path-frontpage [id^="block-linkedinblock"] {
    max-width: 265px;
  }
}

@media (min-width: 576px) {
  body.path-frontpage [id^="block-linkedinblock"] {
    max-width: 540px;
    margin-left: 0px;
  }
}

@media (min-width: 768px) {
  body.path-frontpage [id^="block-linkedinblock"] {
    max-width: 220px;
    margin-top: 5px;
  }
}


/* hide block feed*/
.block_hide {
  height: 78px;
  background: white;
  margin-top: -162px;
  z-index: 0;
  position: relative;
}

/* footer */
.site-footer .row.region {
  padding-right: 25px !important;
}

/* linkedin block */
#block-linkedinblock .bg-card {
  position: absolute;
  height: 70px;
  width: 100%;
  background-image: url('https://www.atoz.lu/sites/default/files/media/image/1679307956469.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  border-radius: 10px 10px 0 0;
}

#block-linkedinblock .box {
  width: 220px;
  height: fit-content;
  border-radius: 10px;
  text-align: center;
  background: #ededed87;
  position: relative;
  box-shadow: 0px 0px 25px -2px rgba(150, 150, 150, 0.26);
  border: 1px solid rgba(150, 150, 150, 0.09);
  margin-top: -10px;
}

#block-linkedinblock .box .content {
  padding: 25px 10px;
  z-index: 2;
  position: relative;
}

#block-linkedinblock .image img {
  height: auto;
  width: 80px;
  border-radius: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  margin-top: 25px;
}

#block-linkedinblock .name {
  font-size: 1.25em;
  font-weight: bolder;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1;
}

#block-linkedinblock .job_title {
  font-size: 0.85em;
  font-weight: bolder;
  color: gray;
  margin-top: -2px;
  text-align: center;
  margin-bottom: 0px;
}

#block-linkedinblock .job_discription {
  font-size: 0.7em;
  color: gray;
  margin: 0px 5px 20px;
  text-align: justify;
}


#block-linkedinblock button.connect {
  width: 130px;
  height: 40px;
  border-radius: 10px;
  font-weight: bolder;
  background: #0A66C2;
  color: white;
}

#block-linkedinblock .button {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  margin: 20px 30px 0px;
}

#block-linkedinblock .button .connect {
  background-color: #000;
  color: #ededed;
  border: none;
}

#block-linkedinblock button.connect:hover {
  letter-spacing: 1px;
  transition: 0.5s;
}

#block-linkedinblock svg {
  position: absolute;
  text-align: left;
  left: 0;
  margin: 5px;
  width: 25px;
  height: 25px;
  color: #0A66C2;
}

/* End linkedin block */

.hide_desktop {
  display: none;
}

.hide_mobile {
  display: block;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  #hero .field--name-field-quote p {
    margin-bottom: -20px;
  }

  .block_hide {
    margin-top: -104px;
  }

  .navbar-nav .dropdown-menu {
    display: block;
    border: none;
    padding-top: 0px;
  }

  .navbar-nav .dropdown-menu .dropdown-item a {
    color: #8A8D8F !important;
  }

  .hide_desktop {
    display: block;
  }

  .hide_mobile {
    display: none;
  }

  #block-linkedinblock .box {
    width: 100%;
    margin: auto;
  }

  footer.site-footer .site-footer__top .region {
    min-width: auto;
    width: 50%;
    float: left;
    padding-right: 15px;
    box-sizing: border-box;
  }

  footer.site-footer .site-footer__top .region:nth-child(odd) {
    clear: left;
  }

  .row.region.region-footer-fifth {
    width: 100% !important;
    clear: both;
  }
}

/* button embed pdf */
.embed_pdf_filename {
  margin-top: 20px;
}

.embed_pdf_filename a {
  padding: 10px 30px;
  border: 1px solid;
  border-radius: 45px;
}

/* end button embed pdf */

/* testimonial carousel */
.client-testimonial-carousel .owl-dots button {
  height: 5px;
  background: #009ec0 !important;
  width: 20px;
  display: inline-block;
  margin: 5px;
  transition: .2s;
  border-radius: 2px;
}

.client-testimonial-carousel button.owl-dot.active {
  background: #000 !important;
  width: 30px;
}

.client-testimonial-carousel .owl-dots {
  text-align: center;
  margin-top: 10px
}

.single-testimonial-item {
  position: relative;
  margin: 2px;
  padding: 20px 40px;
  font-style: italic;
  border-radius: 20px 20px 20px 20px;
  box-shadow: 0px 0px 35px -13px rgba(150, 150, 150, 0.24);
  margin-top: 20px;
  border: 1px solid rgba(150, 150, 150, 0.24);
  height: 275px;
  display: grid;
  align-content: center;
}

.single-testimonial-item:before {
  font-family: "Font Awesome 5 Free";
  content: "\f10e";
  font-weight: 900;
  position: absolute;
  left: 16px;
  top: 60px;
  font-size: 80px;
  color: #009ec0;
  line-height: 30px;
  margin-top: -15px;
  font-size: 80px;
  opacity: 0.2;
}

.single-testimonial-item h3 {
  font-size: 20px;
  font-style: normal;
  margin-bottom: 0;
}

.single-testimonial-item h3 span {
  display: block;
  font-size: 12px;
  font-weight: normal;
  margin-top: 5px;
}

.owl-carousel,
.owl-carousel.owl-loaded {
  margin-bottom: 25px;
}

/* end testimonial carousel */
form.webform-submission-form fieldset.webform-type-fieldset label:not(.form-check-label):not(.option) span {
  color: red;
  margin-left: 4px;
}

form.webform-submission-form fieldset.webform-type-fieldset label:not(.form-check-label):not(.option) {
  width: 50%;
}

#hero::before,
#hero::after {
  background: none !important;
}

#edit-submit-atoz-search--3 {
  margin-left: -29px;
  height: 38px;
}

#block-exposedformatoz-searchpage-1-3 .js-form-item.js-form-type-textfield.form-type-textfield.js-form-item-s.form-item-s.form-group {
  width: calc(100% - 53px);
}


/* 
***
end code by aymane
***
*/

/* Ipad 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
  footer.site-footer .site-footer__top .region {
    width: 33.33% !important;
    float: left;
    padding-right: 15px;
    clear: none;
  }

  footer.site-footer .site-footer__top .region:nth-child(odd) {
    clear: none;
  }

  footer.site-footer .site-footer__top .region:nth-child(3n+1) {
    clear: left;
  }
}