:root {
    /* colours */
    --primary-color: #F15A29;
    --white: #ffffff;
    --secondary-color: #AB472E;
    --black: #000000;
    --gray: #47525E;
    --placeholder: #A4A4A4;
    --footer-color: #2D2D2D;


    /* fonts */
    --headings: 'BuljiryaPersonalUse';
    --light: 'Poppins Light';
    --regular: 'Poppins Regular';
    --italic: 'Poppins Italic';
    --bold: 'Poppins Bold';
    --extra-bold: 'Poppins ExtraBold'; 
    --extra-light: 'Poppins ExtraLight';
    --medium: 'Poppins Medium';
    --semi-bold: 'Poppins SemiBold';
    --thin: 'Poppins Thin';

    /* size */
    --br-20: 20px;
    --br-12: 12px;

    /* shadows */
    --shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); 
}

/* fonts */
@font-face {
    font-family: 'BuljiryaPersonalUse';
    src: url(/frontend/web/css/fonts/BuljiryaPersonalUse-Yz06j.ttf);
}
@font-face {
    font-family: 'Poppins Light';
    src: url(/frontend/web/css/fonts/Poppins-Light.ttf);
}
@font-face {
    font-family: 'Poppins Italic';
    src: url(/frontend/web/css/fonts/Poppins-Italic.ttf);
}
@font-face {
    font-family: 'Poppins Bold';
    src: url(/frontend/web/css/fonts/Poppins-Bold.ttf);
}
@font-face {
    font-family: 'Poppins ExtraBold';
    src: url(/frontend/web/css/fonts/Poppins-ExtraBold.ttf);
}
@font-face {
    font-family: 'Poppins ExtraLight';
    src: url(/frontend/web/css/fonts/Poppins-ExtraLight.ttf);
}
@font-face {
    font-family: 'Poppins Medium';
    src: url(/frontend/web/css/fonts/Poppins-Medium.ttf);
}
@font-face {
    font-family: 'Poppins SemiBold';
    src: url(/frontend/web/css/fonts/Poppins-SemiBold.ttf);
}
@font-face {
    font-family: 'Poppins Thin';
    src: url(/frontend/web/css/fonts/Poppins-Thin.ttf);
}
@font-face {
    font-family: 'Poppins Regular';
    src: url(/frontend/web/css/fonts/Poppins-Regular.ttf);
}

/* TYPOGRAPHY */

/* font-family */

.form-control::-webkit-input-placeholder { 
    font-family: var(--regular);
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
    color: var(--placeholder);
    margin-left: 1.8rem;
  }
  
  .font-control:-moz-placeholder { 
    font-family: var(--regular);
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
    color: var(--placeholder);
    padding-left: 1.8rem;
  }

h1, h2, h3, h5, h6 {
    font-family: var(--headings);
}

p {
    font-family: var(--light);
}

a, button {
    font-family: var(--regular);
}


/* font-size */

h1 {
    font-size: calc(14px + (40 - 14) * ((100vw - 300px) / (1600 - 300)));
}

h2 {
    font-size: calc(14px + (24 - 14) * ((100vw - 300px) / (1600 - 300)));
    line-height: 2;
    
}

h3 {
    font-size: calc(11px + (15 - 12) * ((100vw - 300px) / (1600 - 300)));
    line-height: 1.5;
}

p, a, button {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
}

.module-text p:last-of-type {
    margin-bottom: 0;
}

h4 {
    font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)));
}


/* header & footer font-size */
.fixed {
    background-color: var(--gray);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all .3s linear;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.fixed .logo {
    max-height: 50px;
    transition: all .3s linear;
}


/* toggler */

.navbar-toggler {
    top: 0;
    right: 0;
}

header {
    transition: all .3s linear;
}

.navbar-toggler .icon-bar {
    background-color: var(--white);
}

.bg-header {
    background-color: var(--gray);
}




header a, 
footer a {
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1600 - 300)));
}

header a:hover,
footer a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}


/* line-height */
h1 {
    line-height: 2;
}

/* colours */
h2, h3, h4, h5, h6, p, a
svg {
    color: var(--black);
}

a {
    color: white;
}

.white-heading h1,
.white-heading p,
.white-heading h2 {
    color: white !important;
}

.form-group input {
    margin-bottom: 2.5rem;
}


.form-group label {
    background: none;
    height: 22px;
    width: 100%;
}

.form-group input {
    background: #FFFFFF;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.062);
    border-radius: var(--br-12);
    padding-left: 1.5rem;
}


.form-group textarea {
    background: #FFFFFF;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
    border-radius: var(--br-20);
    height: 90px;
    padding-left: 1.5rem;
}



/* GLOBALS */


/* Square img */
.img-square-parent {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.img-square-parent img {
    position: absolute;
    top: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-filter::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #0009;
}

.py-10 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.z-index-1 {
    z-index: -1;
}

.bg-position {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.module-button {
    max-width: fit-content;
}

.btn {
    padding: 0 2rem;
    border-radius: var(--br-20);
    margin-top: 2.4rem;
    display: flex;
    gap: 20px;
    align-items: center;
    color: #fff;
    height: 55px;
    white-space: nowrap;
    max-width: 100%;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary.focus {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color)!important;
  box-shadow: none!important;
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  box-shadow: none;
}

.btn-secondary svg {
  position: relative;
  left: 0;
  transition: all .3s linear;
}
.btn-secondary:hover svg {
  left: 10px;
  transition: all .3s linear;
}




.btn-primary {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary.focus {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  box-shadow: none!important;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: none;
}

.btn-primary svg {
  position: relative;
  left: 0;
  transition: all .3s linear;
}
.btn-primary:hover svg {
  left: 10px;
  transition: all .3s linear;
}


ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}
.anpc-logo {
    max-width: 250px;
}

/* container */
.container {
    max-width: 100%;
}
@media(min-width: 576px) {
    .container {
        max-width: 90vw;
    }
}

.m-0 {
    margin: 0;
}

.gap-1 {
    gap: 1rem;
}

.p-0 {
    padding: 0;
} 



/* HEADER */
header {
    position: fixed;
    width: 100%;
    z-index: 9999;
}

header ul {
    gap: 15px;
}
.logo {
    max-height: 70px;
    transition: all .3s linear;
    height: 70px;
}
@media(max-width: 1400px) {
    .logo {
        max-height: 50px;
        transition: all .3s linear;
    }
}

/* footer */
.logo-footer {
    max-width: 80%;
}

footer {
    background-color: var(--footer-color);
}

.mail::before {
    content: "\f0e0";
    font-family: FontAwesome;
    color: white;
    font-size: 20px;
}

.fixed-phone::before {
    content: "\f095";
    font-family: FontAwesome;
    color: white;
    font-size: 20px;
}

.location::before {
    content: "\f041";
    font-family: FontAwesome;
    color: white;
    font-size: 20px;
}

.social-ul ul {
    flex-direction: row;
    gap: 26px;
}

.social-ul ul .fa {
    font-size: 22px;
}

.fa.fa-facebook:hover {
    color: #4267B2;
}

.fa.fa-instagram:hover {
    color: #E1306C;
}

.fa.fa-whatsapp:hover {
    color: #25D366;
}

.fa.fa-youtube-play:hover {
    color: #FF0000;
}


/* hero-section */
.hero {
    min-height: calc(100vh + 100px);
    position: relative;
}

.hero .module-text {
    max-width: 750px;
}

/* section-2-home */
.section-2-home {
    box-shadow: var(--shadow);
    border-radius: var(--br-20);
    position: relative;
    margin-top: -100px;
    z-index: 1;
    background-color: white;
    padding-top: 3rem;
}

.section-2-home .module-image {
    flex-grow: 1;
}

.section-2-home .formular-contact h3 {
    line-height: 2;
}

.section-2-home img {
    max-height: 650px;
    max-width: 550px;
    object-fit: contain;
}


/* section-3-home */
.section-3-home .upper-text {
    color: #ff7700 !important;
}

.img-card {
    position: relative !important;
    padding-top: 63%;
    overflow: hidden;
}

.img-card img {
    border-radius: var(--br-20);
    position: absolute;
    top: 0;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-3-home {
    margin-bottom: 5rem;
}
.section-wrap {
    background: #FFFFFF;
    box-shadow: var(--shadow);
    border-radius: var(--br-20);
    position: relative;
    padding: 3rem 1rem 2rem 2.5rem;
    max-width: 91%;
    margin: -50px auto 2rem auto;
    min-height: 300px;
    justify-content: space-around;
}

.section-wrap .module-text {
    flex-grow: 1;
}

.wrap-bg .btn-primary,
.wrap-bg .btn-secondary {
    margin-top: 1rem !important;
}

.text-services {
    max-width: 700px;
}



.upper-text {
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    margin-bottom: 2rem !important;
    font-family: var(--bold);
}


/* section-4-home */

.section-4-home {
    margin-top: 100px
}

.section-4-home h2 {
    color: var(--white);
}

.section-4-home p {
    color: var(--white);
}

.dr-absolute {
    position: absolute;
    right: 0;
    max-height: 660px;
    width: fit-content;
    bottom: -100px;
}

.dr-absolute img {
    height: 100%;
    object-fit: contain;
    max-height: 786px;
}


/* services-section */
.svg-fickle {
    background-color: var(--secondary-color);
    padding: 1rem;
    border-radius: var(--br-20);
    max-width: 70px;
    margin-bottom: 2.5rem;
}

.bl {
    border-left: 2px solid #92929205;
}

.services-section {
    box-shadow: var(--shadow);
    border-radius: var(--br-20);
    position: relative;
    background-color: var(--white);
    margin-top: -60px;
    padding: 2rem;
    min-height: 40vh;
    min-height: 440px;
}

/* section-5-home */
.section-5-home {
    padding-bottom: 135px;
    padding-top: 3rem;
}
.section-5-home img {
    border-radius: var(--br-20);
    height: auto;
    object-fit: contain;
}

.mw-65 {
    max-width: 650px;
}


.before-after {
    max-width: 300px;
    height: auto;
    object-fit: contain;
    bottom: -135px;
    left: 60px;
    right: auto;
    top: auto;
}

/* section-6-home */
.section-6-home img {
    border-radius: var(--br-20);
}

.section-6-home .col-lg-4 {
    padding: .5rem !important;
}

.img-gallery {
    /* max-width: 420px; */
    height: auto;
    object-fit: contain;
    padding-bottom: 30px;
    margin: auto;
}

/* echipa */

.echipa-home {
    margin-bottom: 5rem;
    row-gap: 3rem;
}
.fickle-echipa {
    box-shadow: var(--shadow);
    border-radius: var(--br-20);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
    height: 100%;
}

.fickle-echipa h5 {
    font-size: calc(14px + (16 - 14) * ((100vw - 300px) / (1600 - 300)));
    color: var(--gray);
    font-family: var(--light);
}

.fickle-echipa img {
    max-height: 229px !important;
    border-radius: 50%;
}

.fickle-echipa .fickle-image {
    margin-right: 0 !important;
    margin-bottom: 2rem !important;
}

.fickle-echipa .fickle-subtitle {
    margin-top: 0 !important;
    margin-bottom: 2rem;
}





/* ///////////////////////////////////////////////////// Despre Noi ////////////////////////////////////////////////////// */

.section-1-despre-noi {
    min-height: 60vh;
}

.section-1-despre-noi .module-text,
.section-bg .module-text {
    max-width: 495px;
}

.img-despre-noi {
    max-width: 500px;
    margin: auto;
}

.section-1-dn img {
    border-radius: var(--br-20);
    object-fit: contain;
}

@keyframes infinite-rotate {
    0% {
        transform: rotate(-20deg)
    }
    50% {
        transform: rotate(20deg);
    }

    100% {
        transform: rotate(-20deg);
    }
}

.rotate-animation {
    max-width: 400px;
    margin: auto;
}

/* resp */

.mw-resp {
    max-width: calc(90vw - 45%);
}

.mw-400 {
    max-width: 400px;
}

.section-bg {
    background: rgb(71,82,94);
    background: linear-gradient(90deg, rgba(71,82,94,1) 21%, rgba(171,71,46,1) 90%);
}



/* ///////////////////////////////////////////////////// SERVICES PAGE ////////////////////////////////////////////////////////////// */

/* services-hero */
.services-hero {
    min-height: 50vh;
    position: relative;
}

.servicii-fickle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicii-fickle a {
    color: white;
    color: var(--primary-color);
    font-size: 16px;
}

.servicii-fickle h3 {
    color: var(--white);
}

.servicii-fickle .fickle-additional-html-code {
    max-width: 100px;
    margin: 1rem auto;
}

.servicii-fickle .module-fickle {
    padding: 1rem;
    background-color: var(--gray);
    border-radius: var(--br-20);
    width: 100%;
    text-align: center;
    height: 100%;
}

.servicii-fickle svg, 
.servicii-fickle svg path {
    fill: var(--primary-color) !important;
}

.servicii-fickle:hover svg,
.servicii-fickle:hover path {
   fill: var(--primary-color) !important;
}

.servicii-fickle {
    transition: transform 250ms;
}

  
  .servicii-fickle:hover {
    transform: translateY(-10px);
  }

  .servicii-fickle a:hover {
    color: var(--primary-color);
  }
  
  .servicii-fickle .fickle-content {
    margin-bottom: 1rem;
  }
  .container_services {
    display: grid;
    gap: 50px;
}
@media(min-width: 1400px) {
    .container_services {
        gap: 30px;
        grid-template: auto / repeat(2, 1fr);
    }
}
@media(min-width: 1800px) {
    .container_services {
        gap: 30px;
        grid-template: auto / repeat(3, 1fr);
    }
}
.service_card {
    padding: 15px;
    border: 1px solid #0003;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service_card .fickle-image {
    margin-bottom: 30px !important;
}
.service_card .fickle-item.fickle-text-content h3 {
    font-size: 20px;
}
  .service_card .fickle-item.fickle-text-content p {
    font-size: 18px;
}
  .service_card .fickle-item.fickle-text-content {
    flex-grow: 1;
}
  .service_card .btn.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
  .service_card .fickle-item.fickle-text-content p:last-of-type {
    margin-bottom: 0 !important;
}
  .service_card .fickle-image img {
    max-height: unset;
    width: 100%;
    border-radius: 30px;
}


  /* /////////////////////////////////////////// Contact ////////////////////////////// */

  .hero-contact {
    min-height: 50vh;
  }

  .contact-map iframe {
    border-radius: var(--br-20);
  }



  /* ////////////////////////////////////////////// Galerie //////////////////////////////////// */

  
  /* foto */
  .hero-gallery {
    min-height: 50vh;
  }

  /* .galerie-section-1 .module-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
    grid-auto-rows: auto;
}

.galerie-section-1 .module-gallery .img-fluid {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--br-20);
} */

/* video */
/* .galerie-video .col-lg-12 {
    column-count: 3;
}

.module-video iframe {
    border-radius: var(--br-20);
} */

  /* ////////////////////////////////////////////// Echipa //////////////////////////////////// */

  .echipa-hero {
    min-height: 50vh;
  }

  .echipa-hero .module-text {
    max-width: 700px;
  }

  .team-1 .module-fickle {
    display: flex;
    max-width: 70vw;
    margin: auto;
    gap: 30px;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .team-1 .col-lg-12:nth-of-type(even) .module-fickle {
    flex-direction: row-reverse;
  }

  .team-1 .col-lg-12:nth-of-type(even) .module-fickle .fickle-text-content {
    text-align: right;
  }

  .team-1 .fickle-image {
    max-width: calc(40% - 15px);
  }

  .team-1 .fickle-text-content {
        max-width: calc(60% - 15px);
  }

  .team-1 .fickle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-height: 100%;
  }

  .team-1 .fickle-image {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    flex-shrink: 0;
}

  .team-1 .module-fickle .fickle-text-content {
    max-width: 900px;
    margin: auto;
  }

  .team-1 .col-lg-12 {
    border-bottom: 2px solid #47525e30;
  }


.chirurgie-dentara {
    min-height: 70vh;
}

.chirurgie-dentara .module-text {
    max-width: 900px;
}


.slick-dotted.slick-slider {
    margin-bottom: 30px;
    width: 100%;
}

.slick-initialized .slick-slide {
    display: block;
    justify-content: center;
    align-items: center;
    height: 520px;
    border-radius: 12px;
    padding-top: 15px;
    padding-left: 30px;
    padding-bottom: 15px;
    padding-right: 30px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.95),   /* Outer shadow */
}

.row-spacing {
    position: relative;
    padding-top: 75px;
    padding-bottom: 75px;

}



/* ------- Price Table Styling --------*/
.price-container table tbody tr td{
    border: none;
    border-bottom: 1px solid #e8e8e8;
    padding-block: 5px;

}

.price-container table tbody tr {
    transition: all .2s linear;
}

.price-container table tbody tr:hover{
    border: none;
    background: #d15b294b;
    cursor: pointer;

}

.price-container table {
    border: none;
    width: 100%;
    min-width: 450px;
}

.price-container table tr td:first-of-type {
    width: 80%;
    font-size: 20px;
    font-family: var(--light) !important;
    padding-left: 5px;
}

.price-container table tr td:last-of-type {
    width: 20%;
    font-size: 20px;
    font-family: var(--light) !important;
    text-align: end;
    font-weight: 600;
    padding-right: 5px;
}

    /* ---- Price Table Styling -------- */



/* ----------- Categ Style -------- */

.categories-grid .categ-title {
    padding-top: 50px;
}

.post_col_container .categ-title .btn.btn-primary{
    width: fit-content;
}

.post_col_container .categ-title p{
    width: 100%;
}

.post_col_container .categ-title {
    display: block;
    width: 100%;
}

.post_col_container .categ-image {
    width: 100%;
    height: 350px;
    border-radius: 25px;
    object-fit: cover;
    object-position: center;
}

.post_col_container .category-item {
    background: #fff;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
    border-radius: 25px;
    height: 100%;
}
.categories-grid {
    row-gap: 30px;
}

.post-page-description {
    margin: 30px;
}



 /* PAGINA POSTARE */
 .post_hero {
    min-height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-inline: 5vw;
    position: relative;
    z-index: 2;
 }
 .post_hero::before {
    content: '';
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #0009;
    z-index: 0;
    position: absolute;
 }
 .post_hero h1 {
    color: #fff;
 }

 .post_gallery_content,
 .galerie-section-1 .module-gallery,
 .galerie-video .col-lg-12 {
    display: grid;
    gap: 30px;

 }
 @media(min-width: 768px) {
    .post_gallery_content,
    .galerie-section-1 .module-gallery,
    .galerie-video .col-lg-12 {
        grid-template: auto / repeat(2, 1fr) ;
    }
 }
 @media(min-width: 991px) {
    .post_gallery_content,
    .galerie-section-1 .module-gallery,
    .galerie-video .col-lg-12 {
        grid-template: auto / repeat(3, 1fr) ;
    }
 }
 .post_gallery_content figure,
 .galerie-section-1 .module-gallery figure,
 .galerie-video .col-lg-12 iframe {
    margin: 0;
    border-radius: 15px;
    overflow: hidden;
}
 .post_gallery_content figure img,
 .galerie-section-1 .module-gallery figure img {
    width: 100%;
    height: 100%;
}


/* Changes */
.banner_image {
    overflow: hidden;
    max-height: 600px;
}

/* Error page */
/* Error page */
.error_page_content {
    background-size: cover;
    padding-block: 50px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-inline: 5vw;
}
.error_page_content::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #0009;
    z-index: 0;
}
.error_page_content * {
    color: #fff;
}
.error_page_content h1 {
    font-family: var(--medium);
    font-size: 130px;
    line-height: 1.3;
}
@media(max-width: 1200px) {
    .error_page_content h1 {
        font-size: 100px;
    }
    .error_page_content * {
        text-align: center;
    }
}
@media(max-width: 800px) {
    .error_page_content h1 {
        font-size: 70px;
    }

}