/*

Tooplate 2120 Ben Resume

https://www.tooplate.com/view/2120-ben-resume

*/



  :root {
    --primary-color:        #ffd500;
    --white-color:          #ffffff;
    --dark-color:           #010101;
    --menu-bg-color:        #212529;

    --gray-color:           #909090;
    --p-color:              #474D5D;
    --p-color2:              #7d7a7a;

    --base-font-family:     "Plain", -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","Droid Sans";
    --font-weight-bold:     600;
    --font-weight-normal:   400;
    --font-weight-light:    300;

    --h1-font-size:         56px;
    --h2-font-size:         48px;
    --h3-font-size:         38px;
    --h4-font-size:         34px;
    --h5-font-size:         30px;
    --h6-font-size:         24px;
	--h7-font-size:			18px;
    --p-font-size:          14px;
	--small-font-size:		10px;
    --base-font-size:       16px;
    --button-font-size:     20px;

    --border-radius-large:  100%;
    --border-radius-medium: 80px;
    --border-radius-small:  40px;
  }

.black_black{color:#000000}
.oferta_adjust_top{
	text-align: center;	
}
.p_separator{
	margin-bottom:3cm;
}

.index_page_setting{
	text-decoration:none;
}

.fade-in-image_5{
	animation:fadeIn 5s;
}

.fade-in-image_6{
	animation:fadeIn 6s;
}

.fade-in-image_7{
	animation:fadeIn 7s;
}
.hr_top{
	height:2px;
	border-width:0;
	color:gray;
	background-color:#56C2C4;
	width:65%}

.hr_paragraf{
	height:1px;
	border-width:0;
	color:gray;
	background-color:#56C2C4;
	width:100%}
	
.hr_paragraf_light{
	height:1px;
	border-width:0;
	color:gray;
	background-color:#afe2e3;
	width:80%}

.hr_paragraf_light_full{
	height:1px;
	border-width:0;
	background-color:#afe2e3;
	width:100%}
	
.justyfy{text-align: justify}

.my_header {background-color: lightblue;} 
.nav-item{
	width: 110px;
	
}
.navbar_colors{
	ul {
	  background-color: #ffffff;
	}
	li a {
	  color: black;
	}
	li a:hover {
	  background-color: #56C2C4;
	  color: white;
	}
}

.navbar ul {
  left: 0;
  text-align: center;
  display: inline-block;
}
.navbar li {
  display: inline-block;

}
.navbar li a {
  display: block;
  text-align: center;
  padding: 2em;  /* bigger button?  add more padding! */
  text-decoration: none;
  margin: 0
}



  /*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

.s1{font-size: var(--small-font-size);}

  h1 {
    font-size: var(--h1-font-size);
  }

  h1,
  h3 {
    font-weight: var(--font-weight-light);
  }

  h2 {
    font-size: var(--h2-font-size);
  }

  h3 {
    font-size: var(--h3-font-size);
  }

  h4 {
    font-size: var(--h4-font-size);
  }

  h5 {
    font-size: var(--h5-font-size);
  }

  h6 {
    font-weight: var(--font-weight-bold);
    font-size: var(--h6-font-size);
  }
  
  .h7 {
    font-weight: var(--font-weight-bold);
    font-size: var(--h7-font-size);
  }
  
   
  .h8 {
    font-weight: var(--font-weight-bold);
    font-size: var(--h8-font-size);
  }

  p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.3px;
    line-height: 2em;
  }

  .section-padding {
    padding: 6rem 0;
  }
  
  .oferta_section-padding {
    padding: 2rem 0;
  }
  
    .oferta_section-padding_top {
    padding: 5rem 0;
  }

  .custom-icon {
    font-size: 12px;
    position: relative;
    bottom: 3px;
    left: 5px;
    transform: rotate(-25deg);
  }


  /* CUSTOM BUTTON */
  .custom-btn {
    background: var(--dark-color);
    border: none;
    border-radius: var(--border-radius-medium);
    color: var(--white-color);
    letter-spacing: 0.2px;
    padding: 6px 36px 10px 36px;
    font-size: var(--button-font-size);
    white-space: nowrap;
  }

  .custom-btn:hover,
  .custom-btn:focus {
    color: var(--dark-color);
    background: var(--primary-color);
  }

/*--------------------------------------------
	FONTS
-------------------------------------------*/
.p1 {
  font-family: "Times New Roman", Times, serif;
}
.p2 {
  font-family: Arial, Helvetica, sans-serif;
}

.arial{font-family: "Open Sans",Arial,sans-serif;}

.font_droid14{
	font-family: 'Droid Sans';
	font-size: 14px;
}
.font_droid{
	font-family: 'Droid Sans';
}

  /*---------------------------------------
     GENERAL               
  -----------------------------------------*/
/*
  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  *::before,
  *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  a {
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.4s linear;
  }

  a:hover  {
    color: var(--dark-color);
    text-decoration: none;
  }
*/

  /*---------------------------------------
     MENU                
  -----------------------------------------*/

  /*---------------------------------------
     HERO                
  -----------------------------------------*/

  .hero-title,
  .email-link {
    background: var(--dark-color);
    border-radius: var(--border-radius-medium);
    color: var(--white-color);
    display: inline-block;
    margin: 0.5rem 0;
    padding: 0.5rem 2rem 1.5rem 2rem;
	font-size: 2.2em;
  }

  .email-link {
    background: var(--primary-color);
    color: var(--dark-color);
    font-size: var(--h4-font-size);
    padding: 0.5rem 2rem 1rem 2rem;
  }

  .email-link:hover {
    background: var(--dark-color);
    color: var(--white-color);
  }


  /*---------------------------------------
     ABOUT                
  -----------------------------------------*/
  
  .about-third {
	  margin: 2.2em -0.8em;
  }

  .about-image {
    border-radius: var(--border-radius-small);
  }

  .profile-list li {
    margin: 0.3rem 0;
  }

  .profile-list strong {
    display: inline-block;
    width: 30%;
    margin-right: 1rem;
  }


  /*---------------------------------------
     FAQ                 
  -----------------------------------------*/

  .faq .card-header {
    padding: 0;
  }

  .faq .btn-link {
    color: var(--dark-color);
    font-size: var(--p-font-size);
    text-align: left;
    display: block;
    width: 100%;
    padding: 1rem 2rem;
  }

  .faq .btn-link:focus, 
  .faq .btn-link:hover {
    color: var(--dark-color);
    text-decoration: none;
  }

  .faq .card-body {
    padding: 2rem;
  }

  .faq-info-text {
    font-size: var(--base-font-size);
    display: block;
    margin: 1.5rem 2rem 0 2rem;
  }


  /*---------------------------------------
     TESTIMONIALS               
  -----------------------------------------*/

  .testimonials {
    background: #f9f9f9;
  }

  .testimonials-image {
    margin: 0 1rem 1rem 1rem;
  }

  .testimonials-image img {
    border-radius: var(--border-radius-medium);
  }

  .testimonials-info {
    width: 100%;
  }

  .testimonials .owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 2rem;
  }

  .testimonials .owl-theme .owl-dots .owl-dot {
    outline: none;
  }

  .testimonials .owl-theme .owl-dots .owl-dot span {
    width: 30px;
    height: 3px;
    margin: 5px;
  }

  .testimonials .owl-theme .owl-dots .owl-dot.active span, 
  .testimonials .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary-color);
  }


  /*---------------------------------------
     CONTACT               
  -----------------------------------------*/
  
  .contact-form .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(142, 140, 140, 0.35);
    box-shadow: none;
    border-radius: 0;
    -webkit-appearance: none;
    outline: none;
    color: var(--dark-color);
    font-weight: var(--font-weight-light);
    padding-left: 0;
    cursor: text;
  }

  .contact-form input {
    height: calc(2.25rem + 10px);
  }

  .contact-form .form-group {
    margin: 0 0 1rem;
    position: relative;
  }

  .contact-form .form-control,
  .webform-label {
    transition: all 0.4s;
    touch-action: manipulation;
  }

  .webform-label {
    cursor: text;
    font-size: 12px;
    font-weight: var(--font-weight-light);
    margin-bottom: 5px;
  }

  .contact-form .form-control:placeholder-shown + .webform-label {
    cursor: text;
    max-width: 66.66%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform-origin: left bottom;
    transform: translate(0, 2.125rem) scale(1.5);
  }

  .contact-form ::-webkit-input-placeholder {
    opacity: 0;
    transition: inherit;
    color: var(--dark-color);
  }

  .contact-form ::-moz-placeholder {
    opacity: 0;
    transition: inherit;
    color: var(--dark-color);
  }

  .contact-form .form-control:focus::-webkit-input-placeholder {
    opacity: 1;
  }

  .contact-form .form-control:focus::-moz-placeholder {
    opacity: 1;
  }

  .contact-form .form-control:not(:placeholder-shown) + .webform-label,
  .contact-form .form-control:focus + .webform-label {
    transform: translate(0, 0) scale(1);
    cursor: pointer;
    color: var(--gray-color);
  }

  .contact-form #submit-button {
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-medium);
    color: var(--dark-color);
    cursor: pointer;
    font-size: var(--p-font-size);
    line-height: 0;
    margin-top: 2.5rem;
    padding: 1.5rem 1.8rem 1.8rem 1.8rem;
    white-space: nowrap;
    max-width: 190px;
  }

  .copyright-text {
    font-size: var(--base-font-size);
  }



  /*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/
@keyframes fadeIn{
	0%{opacity: 0;}
	100%{opacity: 1;}
}

  @media screen and (max-width: 1200px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    .email-link {
      font-size: 28px;
    }
  }

  @media screen and (max-width: 992px) {

    .hero-title {
      font-size: 1.8em;
      padding-bottom: 1rem;
    }

    .email-link {
      font-size: 22px;
      padding: 0.5rem 2rem 0.7rem 2rem;
    }
  }

  @media screen and (max-width: 991px) {
    .navbar-nav {
      margin: 1rem 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
      display: inline-block;
      margin: 5px 0.5rem;
    }
  }

  @media screen and (max-width: 768px) {

    .hero-text {
      position: relative;
      top: 1.5rem;
    }
  }

  @media screen and (max-width: 480px) {

    .hero-title {
      font-size: 26px;
    }

    .email-link {
      font-size: 20px;
      padding: 0.3rem 2rem 0.6rem 2rem;
    }
  }
  
 /* ==========================================================================
   PRECYZYJNA NAPRAWA MENU BEZ BLOKOWANIA ROZWIJANYCH SEKCYJ (NP. PUBLIKACJE)
   ========================================================================== */

@media screen and (max-width: 991px) {
  /* 1. Celujemy TYLKO w kontener menu, zostawiając inne .collapse w spokoju */
  .navbar-collapse.collapse,
  div[class*="navbar-collapse"].collapse {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: 100% !important;
  }

  /* 2. Ukrywamy niedziałający przycisk hamburgera */
  .navbar-toggler, 
  button.navbar-toggler {
    display: none !important;
  }

  /* 3. Pozycjonowanie i reset paska menu na samej górze telefonu */
  .navbar, 
  nav[class*="navbar"] {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    background-color: #ffffff !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  /* 4. Wymuszenie pionowego układu listy linków */
  .navbar ul, 
  .navbar-nav, 
  ul[class*="navbar-nav"] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none !important;
  }

  .navbar li, 
  .nav-item {
    display: block !important;
    width: 100% !important;
    margin: 2px 0 !important;
    padding: 0 !important;
  }

  /* 5. Zamiana linków w wygodne przyciski mobilne */
  .navbar li a, 
  .navbar-nav .nav-link,
  .navbar_colors li a {
    display: block !important;
    width: 90% !important;
    margin: 4px auto !important;
    padding: 12px 10px !important;
    font-size: 16px !important;
    text-align: center !important;
    background-color: #f8f9fa !important;
    color: #000000 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .navbar li a:hover, 
  .navbar-nav .nav-link:hover {
    background-color: #56C2C4 !important;
    color: #ffffff !important;
  }

  /* --- DOPASOWANIE STRONY I ZABEZPIECZENIE PRZED ROZPYCHANIEM --- */
  h1, .hero-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    display: block !important;
    padding: 10px !important;
    margin: 10px auto !important;
  }
  
  p {
    font-size: 15px !important;
    text-align: left !important;
    line-height: 1.6em !important;
  }
  
  .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Wymuszenie układania kolumn pod sobą (np. tekst pod zdjęciem) */
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-12, .col-md-6, .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
/* ==========================================================================
   DODATKOWE WYŚRODKOWANIE I PODZIAŁ NAZWISKA NA PODSTRONIE O_MNIE
   ========================================================================== */
.custom-mobile-name {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  line-height: 1.4 !important; /* Odpowiedni odstęp pionowy między liniami */
}
/* ==========================================================================
   DOPASOWANIE I SKALOWANIE GRAFIKI POWITALNEJ NA STRONIE INDEX.HTML
   ========================================================================== */

/* Reguła ogólna chroniąca grafikę przed rozpychaniem */
.index_page_setting img,
div[class*="fade-in-image"] img,
.fade-in-image_5, .fade-in-image_6, .fade-in-image_7 {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important; /* Idealne wyśrodkowanie na ekranie */
}

/* Specjalne dopasowanie odstępów na ekranach telefonów */
@media screen and (max-width: 767px) {
  .index_page_setting {
    padding: 20px !important;
    display: block !important;
    text-align: center !important;
  }
}
/* ==========================================================================
   POPRAWKA SEKCJI "GDZIE MOŻNA MNIE ZNALEŹĆ" NA PODSTRONIE O_MNIE
   ========================================================================== */

@media screen and (max-width: 991px) {
  /* 1. Wyśrodkowanie całych bloków z profilami (logotyp + napis) */
  .about-third, 
  div[class*="about-third"],
  h3:contains("Gdzie mozna mnie znaleźć") + div,
  h3:has(+ #znanylekarz) /* uniwersalne celowanie w sekcję */ {
    text-align: center !important;
    margin: 1.5rem auto !important;
    display: block !important;
    width: 100% !important;
  }

  /* 2. Automatyczne skalowanie logotypów portali (ZnanyLekarz, ORCiD, ResearchGate) */
  .about-third img,
  div[class*="about-third"] img,
  a[href*="znanylekarz"] img,
  a[href*="orcid"] img,
  a[href*="researchgate"] img {
    max-width: 80% !important; /* Bezpieczna szerokość, by obrazki nie były za gigantyczne */
    height: auto !important;
    display: block !important;
    margin: 0 auto 10px auto !important; /* Centrowanie obrazka i odstęp od linku poniżej */
  }

  /* 3. Wymuszenie idealnego wyśrodkowania słowa "link" pod każdym obrazkiem */
  .about-third a,
  div[class*="about-third"] a {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    font-size: 14px !important;
  }
}
