/*
Theme Name: ascendent
Theme URI: https://ascendent.adrianwebdesign.ro
Author: Albu Adrian
Author URI: https://adrianwebdesign.ro
Description: Tema WordPress multifuncțională construită cu Bootstrap v5.1.3
Version: 1.0
Tested up to: 6.1
Requires PHP: 8.0
Text Domain: ascendent
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, custom-logo, featured-images, theme-options, translation-ready, blog
*/

.btn-search {
	background-color: transparent!important;
}

/* Ascunde iconița de căutare pe mobil dacă opțiunea este dezactivată */
@media (max-width: 992px) {
    .btn-search {
        display: none;
    }
}

/* Remove input outline focus */
button:focus, button {
  outline-style: none !important;
  outline: none !important;
  outline: 0 !important;
  border: none!important;
}

/* Dropdown toggle */
.dropdown-toggle::after {
    border: 1px solid #9A9FA1!important;
    border-width: 0 1px 1px 0 !important;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #fff!important;
	  color: #212121!important;
}


.container-fluid {
  margin: 0 !important;
  padding: 0 !important;
}

/* Margin right to mobil */
.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  margin-right: 2rem;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  color: #fff;
  border: none;
  border-radius: 0px !important;
  padding: 25px !important;
  cursor: pointer;
  background-repeat: no-repeat !important;
  background-position: center 50% !important;
}

/* Accordion din subsol */
.accordion-flush .accordion-item .accordion-button,
.accordion-flush .accordion-item .accordion-button.collapsed {
  box-shadow: none !important;
  padding: 5px;
}

.accordion-button:not(.collapsed) {
  background-color: #fff !important;
}

.accordion-item {
  border: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: rgba(0, 0, 0, 0.125);
}

/* Dimensiune mică pentru h2 din subsol */
.fsh2 {
  font-size: 1.25rem !important;
}

@media screen and (max-width: 991px) {
  .top-social {
    display: none !important;
  }
}

.accordion-button:not(.collapsed) {
  background-color: #fff !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  border-color: #fff !important;
  outline: 0;
  box-shadow: none !important;
}

.btn {
  border-radius: 0 !important;
}

/* Navbar border bottom */
.navbar {
  border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

/* Hamburger menu start */

.bar1,
.bar2,
.bar3 {
  width: 24px !important;
  height: 2px !important;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
  transform: translate(0, 8px) rotate(-48deg);
}

/* Fade out the second bar */
.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
  transform: translate(0, -8px) rotate(48deg);
}

/* Hamburger menu end */

/* Navbar toggler focus disable */
.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  box-shadow: none !important;
  border-radius: 0 !important;
}

a {
  text-decoration: none !important;
  color: #212121;
}

.post-thumbnail img {
  max-width: 100%;
  height: auto;
}

html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.space {
  padding-top: 150px !important;
  padding-bottom: 150px !important;
}

@media screen and (max-width: 992px) {
  .space {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
}

/* Logo custom width */
img.custom-logo {
  max-width: 80px !important;
  height: auto;
}

/* Arrow down - dropdown-toggle */
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.7em;
  padding: 3px;
  content: "";
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  vertical-align: 0.255em;
  border: solid rgba(0, 0, 0, 0.5);
  border-width: 0 1px 1px 0 !important;
}

.navbar-nav ul li {
  padding: 0 20px;
  font-size: 16px !important;
}

@media screen and (max-width: 992px) {
  ul.navbar-nav {
    margin: 50px 0 !important;
  }
  .navbar-nav ul li {
    font-size: 28px !important;
    font-weight: 300 !important;
  }
}

.disabled > .page-link,
.page-link.disabled {
  background-color: #fff !important;
}

.input-group-text {
  background-color: #fff !important;
}

.input-group-text {
  border-left: none !important;
}

.input-group > .form-control,
.input-group > .form-floating,
.input-group > .form-select {
  border-right: none !important;
  outline: none !important;
}

.input:focus {
  outline: none !important;
}
.border0 {
  border: none !important;
}

div.pagination span.sr-only {
  display: none !important;
}

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Paginare articole */
.post-pagination {
  overflow: hidden !important; /* Prevenirea problemelor de layout */
  text-align: center !important; /* Aliniere centrare pentru a asigura poziționarea corectă a elementelor */
}

.prev-post {
  float: none !important; /* Dezactivăm alinierea pe orizontală */
  display: inline-block; /* Afișăm elementul pe aceeași linie */
  padding: 0 10px !important;

  margin-bottom: 20px !important;
}

div.prev-post {
  background-color: #f9f9f9 !important;
}

.next-post {
  float: none !important; /* Dezactivăm alinierea pe orizontală */
  display: inline-block; /* Afișăm elementul pe aceeași linie */
  padding: 0 10px !important;

  margin-bottom: 20px !important;
}

div.next-post {
  background-color: #f9f9f9 !important;
}

.gallery-caption {
  text-align: center;
}

.bypostauthor {
  font-size: 14px;
}

.container {
  padding: 0 !important;
}
