/*-----------------------Utils---------------------------*/

::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}

@media (max-width: 768px) {
  #sp-main-body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  #sp-main-body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  #eqc{
    font-weight: 400;
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  #eqc{
    font-weight: 400;
    font-size: 20px;
  }
}

/*#sp-main-body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 20px;
}*/

.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span, .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-size: 20px !important;
}

@font-face { font-family: LettersforLearners; src: url('../fonts/letters-for-learners.ttf'); } 

@keyframes slide-in-from-bottom {
  0% {
    transform: translateY(100%);  
    opacity:0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity:0;
  }
  100% {
    opacity: 1;
  }
}

.align-center {
  align-items: center;
}

/*------------------------------------------------------*/

/*----------------------GENERAL-------------------------*/

html {
    scroll-behavior: smooth;
}

:target { scroll-margin-top: 150px;}

.uk-legend {display: none;}

.uk-heading-primary{
  font-family: LettersforLearners;
  text-transform: uppercase;
  font-size: 50px;
}

.sp-page-title{
  background-color:transparent !important;
  text-align: center;
}

.uk-article{
  background-color:transparent !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.view-article .uk-article{
    padding-left: 10%;
    padding-right: 10%;
}


@media (max-width: 768px) {
  #sp-page-title {
    height: 150px;
    background-attachment: fixed;
    /*background-size: 100vh;*/
    background-size: cover;
	background-position: center center;
    display: flex;
    align-items: center;
  }
}

@media (min-width: 769px) {
  #sp-page-title {
    height: 250px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
  }
}

#sp-page-title .row {
  width: 110%;
}

#sp-page-title .container {
  transform: translateY(10%);
}

.page-header{
  visibility: hidden;
}

#sp-title{
  display: flex;
  justify-content: center;
  align-items: center;
}


.uk-navbar{
  height: 100px;
}

.uk-navbar-container{
  box-shadow: 0px 1px 5px 1px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
  .pic{
    margin: 50px 0;
  }
}

@media (max-width: 768px) {
  .home-servico{
    margin: 30px 0;
  }
}

@media (max-width: 768px) {
  .home-medico{
    margin: 50px 0;
  }
}

/*------------------------------------------------------*/

/*------------------------Servicos-------------------------*/

.icon-servico{
  height: 240px;
  width: 200px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.more {
  display: none;
  text-align: justify;
}

.read-more-btn {
  transition-duration: 0.4s;
  background-color: #C02F3C;
  color: white;
  border: 2px solid #C02F3C;
  padding: 10px 24px;
}

.read-more-btn:hover {
  background-color: transparent;
  color: black;
}

.img-servico {
  margin: 30px 0;
  padding: 30px;
}

.txt-servico{
  padding: 30px;
  text-align: justify;
}


/*------------------------------------------------------*/

/*-------------------- Equipa Medica -------------------*/

.medica {
  margin-bottom: 50px;
}

.medica-pic{
  height: 250px;
  width: 250px;
  margin: 0 auto;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.medica-name{
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  /*padding-right: 20%;*/
}

#intro-eq-medica{
  background-attachment: fixed;
  margin-top: -90px;
  height: 400px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-image: url(/centrodocoracao/images/Imagen%20Principal%20Equipa%20Mdica.png);
  background-size: cover;
  background-position: center 45%;
}

/*------------------------------------------------------*/

/*----------------------FORMS---------------------------*/

#jform_com_fields_autorizacao1-lbl {display: none;}


@media (max-width: 768px) {
    #form-home{
      position: relative;
      right: 0;
      top: 40px;
      box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.2);
      animation: 1s slide-in-from-bottom;
      width: 100%;
      background-color: white;
  }
}

@media (min-width: 769px) {
  #form-home{
    z-index: 9;
    position: absolute;
    right: 2%;
    top: 5%;
    box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.2);
    animation: 1s slide-in-from-bottom;
    width: 500px;
    padding: 2%;
    background-color: white;
  }
}


@media (max-width: 768px) {
  .cf-response{
    background-color: #9297ca !important;
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  .cf-response{
    background-color: #9297ca !important;
  }
}

.convertforms .cf-control-group {
  padding: 7px;
}

.cf-response{
  display: none;
}

.cf-form-wrap: after{
  content: 'after';
}

#quote-form{
  padding: 30px 10px;
  background-color: rgba(192, 47, 60, 1);
  color: white;
}

#quote-form a {
  color: white !important;
}

#cf_3 {
  padding-left: 2rem;
}

#cf_1 {
  margin: auto;
}

#cf_4 {
  margin: auto;
}

/*------------------------------------------------------*/

/*-----------------------Banners------------------------*/

#banner-servico-1{
  height: 600px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-image: url(/centrodocoracao/images/Banner%20Servios.png);
  background-size: cover;
  background-position: center 40%;
}


.banner{
  height:auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /*background-image: url(/centrodocoracao/images/Banner%20Sobre%20Nos.png);
  background-size: cover;
  background-position: center 40%;*/
}

#banner-home{
  height: 900px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-image:url(/centrodocoracao/images/Home%20Principal%20HOME.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;
  margin-top: -100px;
}


/*------------------------------------------------------*/

/*-------------------- Logo Slider --------------------*/

#slider {
  height:180px;
}

#row-carousel {
  overflow: scroll;
  background-color: white;
  width: 100%;
  height: 180px;
  scroll-behavior: smooth;
  display: flex;
  align-items: center;
}

.row__inner{
  white-space: nowrap;
}

.tile {
  display: inline-flex;
  max-width: 200px;
  min-width: 200px;
  margin: 0;
  padding: 0;
  height: 140px;
  justify-content: center;
}

.tile__img {
  height: 140px;
  object-fit: contain;
}

.arrow {
  transition-duration: 0.4s;
  cursor: pointer;
  width: 2em;
  height: 160px;
  background: transparent;
  border: none;
  transform: scaleY(2.5);
  opacity: 0.1;
}

#slider .arrow:hover {
  opacity: 1;
  transform: scaleY(3.5);
}
/*------------------------------------------------------*/

/*----------------------- Footer -----------------------*/

#sp-footer {
    padding-bottom: 10px;
    padding-top: 0px;
}

#sp-footer1{
  min-height: 400px;
}

#sp-footer2{
  text-align: right;
  height: 480px;
}

.footer-tr{
  height: 20.7969px;
}

.footer-td-ul{
  width: 45%; 
  height: 20.7969px; 
  padding-left: 10%;
}

.footer-td{
  width: 65%; 
  height: 20.7969px;
}

.footer-td-sm{
  width: 65%; 
  height: 34.7969px; 
  padding-top: 3%; 
  padding-bottom: 3%;
}

.footer-tb {
  width: 45%;
  height: auto;
  border-style: none;
  margin: 50px 10px;
  display: inline-block;
}

.container-inner{
  margin-left: calc(50% - 45vw);
  margin-right: calc(50% - 45vw);
}

.sp-copyright{
  position: absolute;
  bottom: 5px;
}


/*------------------------------------------------------*/

/*-------------------------Valores----------------------*/

.valor-title {
  display: inline-flex;
  align-items: center;
  height: 300px;
  width: 300px;
}

.valor-icon {
  height: 200px;
  width: 300px;
  object-fit: cover;
  object-position: center;
}

.valor-valores {
  height: 65px;
  display: inline-flex;
  justify-content: center;
}

.valor-name{
  margin-top:-1rem;
}

/*------------------------------------------------------*/

/*--------------------Autorization-----------------------*/

/* The Modal (background) */
.modal {
  animation: 0.4s fade-in;
  align-items: center;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  overflow: hidden;
}

.modal-header {
  display: inline-flex;
  align-items: start;
  justify-content: space-between;
  padding: 1rem 1.5rem 0 1.5rem;
  background-color: #c12f3c;
}

.modal-content-content {
  padding: 2rem;
  overflow-y: scroll;
  word-wrap: break-word;
}

.modal-content {
  height: 400px;
  box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.2);
  background-color: #fefefe;
  margin: auto; /* 15% from the top and centered */
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  transition-duration: 0.4s;
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  opacity:0.6;
}

.close:hover,
.close:focus {
  color: white;
  cursor: pointer;
  opacity:1;
  transform: scale(1.5);
}

/*------------------------------------------------------*/


.nr-recaptcha{
  position: relative;
  margin: 0 auto;
}