@charset "UTF-8";
/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

body {
  font-family: 'Capriola', sans-serif;
  font-size: 1em;
  letter-spacing: 0.05em;
  background: url(../images/bg-galeria.jpg) no-repeat right top;
  background-size: cover !important;
  color: #fff;
  line-height: 1.4;
}
body.creche {
  background: url(../images/bg-creche.jpg) no-repeat center;
}
body.jardim_infancia {
  background: url(../images/bg-jardim.jpg) no-repeat center 15%;
}
body.servicos, body.apoio_pedagogico {
  background: url(../images/bg-servicos.jpg) no-repeat center;
}
body.galeria {
  background: url(../images/bg-galeria.jpg) no-repeat center top;
}
body.contactos, body.projeto_educativo {
  background: url(../images/bg-contactos.jpg) no-repeat center top;
}
img {
  width:100%;
}

/* BG COLORS */
.bg-roxo {
  background: #5549ae;
}
.bg-rosa {
  background: #e6007e;
}
.bg-amarelo {
  background: #fff7b2;
}
.bg-azul {
  background: #758ec9;
}
/* END BG COLORS */

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.v-centered {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

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

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/*
  * MENU
  */

.navbar {
  /* padding: 0 5%; */
  margin: 0 auto;
  transition: all .15s cubic-bezier(0, 0.74, 0.58, 1);
}
.sticky-top.is-stuck {
  background: rgba(85,73,174,.85);
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.25);
  box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.25);
  transition: all .35s ease-in-out;
}
.navbar-collapse {
  background: rgba(85,73,174,.85);
  padding: 1em;
  transition: all .35s ease-in-out;
}
.sticky-top.is-stuck .navbar-collapse {
  background: transparent;
  transition: all .35s ease-in-out;
}
.navbar-brand {
  display:block;
  max-width:240px;
  margin-bottom: 1em;
}
.navbar-brand img, .btn {
  -webkit-filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.3));
  filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.3));
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=2, OffY=2, Color='#000')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=2, OffY=2, Color='#000')";
}
.btn:hover, .btn:focus, .btn:active {  
  text-shadow: none;
  box-shadow: none;
}
.btn:active {
  -webkit-filter: drop-shadow(2px 2px 3px rgba(0,0,0,0));
  filter: drop-shadow(2px 2px 3px rgba(0,0,0,0));
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='transparent')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='transparent')";
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-dark .navbar-toggler {
  outline: rgba(85,73,174,.85);
  border:none;
}
.navbar-top li {
  text-transform: uppercase;
  font-size: 1em;
  justify-content: space-between;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.75);
}
.navbar-top .nav-link.active {
  border-bottom: 2px solid white;
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255,255,255,1);
}

@supports (-ms-ime-align:auto) {
  .sticky-top {
    background: rgba(85,73,174,.85);
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.25);
  }
}

/*
* END MENU
*/

h1, h2 {
  font: 2.5em 'Pacifico', cursive;
  /* letter-spacing: 0.01em; */
  line-height: 1.4;
  text-align: center;
  margin: 1rem auto;
  text-shadow: rgba(0,0,0,0.3) 3px 3px 5px;
  width: fit-content;
  /* border: 1px solid red; */
}

.header-content h2 {
  font-size:2em;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.sub-header {
  width: fit-content;
  margin: 0 auto;
}

.left-icon, .right-icon {
  display: inline-block;
  width: 1.4em;
  margin: 0 0.7em;
  transform: translateY(0.6em);
}
.right-icon {
  transform: translateY(0.6em) rotate(180deg);
}

.main-content {
  margin: 4em auto;
}

.text-main {
  font-size: 1em;
}
.text-main ul {
	padding-left: 1em;
}

.vid-container {
  box-shadow: rgba(0,0,0,0.3) 3px 3px 5px;
}

/* TEXT-BOX */
.text-box-container {
  position: relative;
  width:100%;
  height: auto;
  /*background: #554990;*/
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  padding: 1.5rem;
  font-size:0.8em;
  font-weight: 500;
  letter-spacing: 0.05rem;
  line-height:170%;
  box-shadow: rgba(0,0,0,0.3) 3px 3px 5px;
}
.foto-id-box {
  position:relative;
  margin-top: -4rem;
  margin-left:0;
  margin-bottom: 2.5rem;
}
.foto-id {
  display: block;
  width: 5rem;
  height: 5rem;
  background: #E6E7ED;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align:center;
  overflow:hidden;
}
.foto-id img {
  position: relative;
  width: 5rem;
  height: 5rem;
  object-fit: cover;
}
.foto-id-text {
  position: absolute;
  top: 3.5rem;
  left: 5.5rem;
}
.foto-id-text .foto-name, .foto-id-text .foto-occupation {
  font-size: 0.85em;
}
.foto-id-text .foto-occupation {
  opacity:0.7;
}
/*end text-box*/

/*
* BTNS
*/
.btn-01 {
  background: url(../images/bg-btn-01.png) no-repeat;
  
}
.btn-02 {
  background: url(../images/bg-btn-02.png) no-repeat;
  
}
.btn-03 {
  background: url(../images/bg-btn-03.png) no-repeat;
  
}
.btn {
  color: white;
  font-family: 'Pacifico', cursive;
  letter-spacing: 0;
  font-size: 1.5em;
  padding: 1.5em;
  /* text-transform: capitalize; */
  letter-spacing:0.1em;
  background-size: contain;
  background-position: 50%;
  text-shadow: rgba(0,0,0,0.3) 2px 2px 5px;
  overflow:visible;
}
.btn * {
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	line-height: 120%;
}
.btn a {
	color: inherit;
	text-decoration: none;
}
.btn:hover {
  color:#FFF7B2;
}

.btn-w-arrow {
  position: relative;
  min-width: 12rem;
}

.btn-w-arrow .left-icon, .btn-w-arrow .right-icon {
  display: none;
}

.btn-w-arrow .left-arrow-icon {
  display: none;
  width: 4em;
  margin: 0 0.7em;
  transform: translateY(0.6em);
}

.btn-w-arrow .btn {
	width: 100%;
}

/*
* FOOTER
*/

.footer {
  background: rgba(20, 35, 75, 0.75);
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
}

.footer a {
	color: inherit;
	text-decoration: none;
}

.footer-text {
  font-size:0.85em;
}

.footer .social {
  width: fit-content;
  margin: 0 auto 1em;
}

.footer .social .social-icon {
  display: inline-block;
  max-width: 2.5em;
  margin: 0 0.5em;
}

.footer .social .social-icon:first-child {
  margin-left: 0;
}

.footer .social .social-icon:last-child {
  margin-right: 0;
}

/* SERVIÇOS */

/* END SERVIÇOS */

/* GALERIA */
.item-galeria {
  display: block;
  width: 30vw;
  height: 30vw;
  background: #E6E7ED;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  text-align:center;
  overflow:hidden;
  max-width: 170px;
  max-height: 170px;
  border: 5px solid white;
}
.item-galeria img {
  position: relative;
  width: 30vw;
  height: 30vw;
  object-fit: cover;
  max-width: 170px;
  max-height: 170px;
}
#modal-galeria .modal-content {
    border: none;
}
#modal-galeria .modal-dialog-centered {
  max-width: 800px;
  margin: 2.5% auto;
}
#modal-galeria .modal-body {
  padding: 0.75em;
}
#modal-galeria .modal-body button.close {
  position: absolute;
  z-index: 99;
  top: 0.5em;
  right: 0.75em;
}

/* END GALERIA */

/* CONTACTOS */
textarea {
	resize: none;
}
.form-label {
	font-size: 12px;
	color: white;
	margin: 0;
	display: block;
	opacity: 1;
	-webkit-transition: .333s ease top, .333s ease opacity;
	transition: .333s ease top, .333s ease opacity;
}
.form-control {
	border-radius: 0;
	border-color: white;
	border-width: 0 0 2px 0;
	border-style: none none solid none;
	box-shadow: none;
	background: transparent;
	color: white;
}
.form-control::placeholder {
  color: #b6dfff;
  font-weight:500;
  font-size:0.9em;
}
.form-control:focus {
	box-shadow: none;
	border-color: #fff7b2;
	background: transparent;
	color: white;
}
.js-hide-label {
	opacity: 0; 	
}
.js-unhighlight-label {
	color: white;
}
.btn-start-order {
	/* background: 0 0 #ffffff; */
	border: 1px solid white;
	border-radius: 3px;
	color: white;
	font-family: "Raleway", sans-serif;
	font-size: 16px;
	line-height: inherit;
	margin: 30px 0;
	padding: 10px 50px;
	text-transform: uppercase;
	transition: all 0.25s ease 0s;
	text-shadow: rgba(0,0,0,0.3) 1px 1px 4px;
}
.btn-start-order:hover,.btn-start-order:active, .btn-start-order:focus {
	border-color: #fff7b2;
	color: #fff7b2;
	text-shadow: none;
}
/* Change Autocomplete styles */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
autofill {
  -webkit-text-fill-color: white;
  box-shadow: 0 0 0px 1000px rgba(150,150,150,0) inset !important;
  -webkit-box-shadow: 0 0 0px 1000px rgba(150,150,150,0) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}
/*form validation*/
.help-block.form-error, .warning {
	color: #e5007ebf;
	font-size: 0.8em;
	font-weight: bold;
}
.warning {
	text-align: center;
}
#success-message {
    display: none;
    opacity: 1;
    color: #fff7b2;
    text-align: center;
}
#success-message.success {
	display: block;    
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
/* END CONTACTOS */

/*
* BOOTSTRAP overrides
*/
/*
* MEDIA QUERIES
*/
@media (min-width: 576px) {
  .btn {
    font-size: 1.6rem;
  }
  .btn-w-arrow .left-icon, .btn-w-arrow .right-icon {
    display: block;
    margin: 0;
    position: absolute;
    z-index: 1;
  }
  .btn-w-arrow .left-icon {
    left: -1.5em;
    top: 50%;
    transform: translateY(-50%);
  }
  .btn-w-arrow .right-icon {
    right: -1.5em;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
  }
  .btn-w-arrow .left-arrow-icon {
    display: block;
    position: absolute;
    left: -7em;
    top: 30%;
    transform: translateY(-50%);
  }
  .btn-start-order {
  	font-size: 0.9rem;
  }
}
@media (min-width: 768px) {
  .btn {
    font-size: 1.5rem;
  }
  .btn-w-arrow .left-icon {
    left: -2em;
  }
  .btn-w-arrow .right-icon {
    right: -2em;    
  }
  .btn-start-order {
  	font-size: 1rem;
  }
}
@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
    transition: all .35s ease-in-out;
  }
  .navbar li {
    font-size: 0.9em;
  }
  h1{
    font-size: 3.5em;
  }
  .header-content h2 {
    font-size: 2.5em;
  }
  .main-text {
    font-size: 1.25em;
  }
  .btn {
    font-size: 1.7rem;
  }
  .btn-start-order {
  	font-size: 1.1rem;
  }
}
@media (min-width: 1200px) {
  .navbar li {
      font-size: 1em;
  }
  h1{
    font-size: 3.8em;
  }
  .header-content h2 {
    font-size: 2.8em;
  }
  .item-galeria {
    max-width: 180px;
    max-height: 180px;
  }
  .item-galeria img {
    max-width: 170px;
    max-height: 170px;
  }
}
@media (min-width: 1440px) {
  .container,.container-lg,.container-md,.container-sm,.container-xl {
      max-width:1280px
  }
  .navbar li {
      font-size: 1.25em;
  }
  h1{
    font-size: 4em;
  }
  .header-content h2 {
    font-size: 3em;
  }
  .text-main {
    font-size: 1.25em;
  }
  .text-box-container {
    margin-top: 2.5rem;
  }
  .foto-id-box {
    margin-top:-4.5rem;
    margin-bottom: 2.5rem;
  }
  .foto-id {
    width: 6.5rem;
    height: 6.5rem;
  }
  .foto-id img {
    width: 6.5rem;
    height: 6.5rem;
  }
  .foto-id-text {
    top: 4.5rem;
    left: 7rem;
  }
  .btn {
    font-size: 2rem;
  }
  .btn-start-order {
  	font-size: 1.2rem;
  }
  .btn-w-arrow {
    min-width: 14rem;
  }
}
@media (min-width: 1680px) {
  .container,.container-lg,.container-md,.container-sm,.container-xl {
      max-width:94%;
  }
  .navbar li {
      margin-left: 1.25em;
      margin-right: 1.25em;
  }
  .navbar li:first-child {
      margin-left: 0;
  }
  .navbar li:last-child {
      margin-right: 0;
  }

  h1 {
    font-size: 5em;
  }
  .header-content h2 {
    font-size: 3.2em;
  }
  .btn {
    font-size: 2.3rem;
  }
  .btn-start-order {
  	font-size: 1.3rem;
  }
  .btn-w-arrow {
    min-width: 16rem;
  }
}