/* =========================================================================================================================
                                                   General rules
    ======================================================================================================================== */
html { overflow-y: scroll; }

body {
  min-height: 100vh;
}

body {
  font-family: 'Open Sans', Arial, sans-serif !important;
}

/*----------------------*/
.page-content img{
  max-width: 100%;
}

.page-content * {
  max-width: 100%;
}

.ajax-content * {
  max-width: 100%;
}

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

footer a:hover {
  color:lightblue  !important;
}

.current-post {
  background-color: orange !important;
  color:white;
}

#post-navigate a:focus, #post-navigate a:hover {
  background-color: orange !important;
  text-decoration: none;
}

.bluecolor {
  color: #2361a1;
}

.text-blue {
  color: #428BCA !important;
}

.text-orange {
  color: orange !important;
}

.text-yellow {
  color: #e09010 !important;
}

.bg-blue {
  background-color: #006eb3 !important;
 /*
  #428BCA*/
}

.bg-orange {
  background-color: orange;
}

.bg-grey {
  background-color: #737373 !important;
}

.bg-grey-section {
  background-color: #e7edf1 !important;
}

.hoverme {
  cursor:pointer;
}

.btn-hover:hover {
  background:#dcdcdc ;
/*  text-decoration: none !important;*/
  cursor:pointer;
/*  border:1px solid blue !important;*/
  /*opacity: 0.7;*/
}

.text-decoration-none {
  text-decoration: none !important;
}

nav.navbar li a {
  font-size: 16px !important;
}

nav.navbar li li a {
  font-size: 14px !important;
}

#gtranslate_wrapper a, div#google-translate a{
  margin:5px;
/*   border:1px solid white; */
/*   padding:2px; */
}

.featurette-divider {
  margin: 4rem 0;
}

.slider img {
  border:1px solid grey !important;
}

.tooltiptext {
  color:white;
  background: #571721;
  padding:5px;
  display: inline-block;
  text-align: justify;
}

.tooltiptext::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 10px;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 7px 0 7px;
  border-color: #571721 transparent transparent transparent;
}

/*.raise:hover {

  transition: background-color 0.75s ease !important;
  background-color: #206bee !important;
  cursor: pointer;
  content: '\00bb';
  position: absolute;
/*  opacity: 1;
  top: 0;*/
 /* left: -10px;*/
/*}

.raise a {
  text-decoration: none;
}*/

.btn-raise:hover,
.btn-raise:focus {
  box-shadow: 0 0.5em 0.5em -0.4em;
  transform: translateY(-0.25em);
}

/***** stiluri pentru breadcrumbs:begin *****/

#breadcrumbs{
  list-style:none;
  margin:10px 0;
  padding:0;
  overflow:hidden;
  font-size: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
}

#breadcrumbs a{
  text-decoration: none;
  color:gray;
}

#breadcrumbs a:hover{
  text-decoration: none;
  color:black;
}

#breadcrumbs li{
  display:inline-block;
  vertical-align:middle;
  margin-right:10px;
}

#breadcrumbs .separator{
  font-size:15px;
  font-weight:100;
  color:#ccc;
}
/***** stiluri pentru breadcrumbs:end *****/


/***** stiluri pentru harta judete: begin *****/
.harta svg {
  display: block;
  width: 100%;
}

#states path:hover {
  fill: #006eb3;
}

/* stiluri pentru harta judete: end */


/*** Container fluid-max ***/

.container-fluid-max {
  max-width: 1110px;
}

/*** Header image ***/

.logo-container img {
  width: 100%;
  height: auto;
}

.logo-container a {
  width: 100%;
  height: 100%
}

/*** Navbar burger menu ***/
.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  outline:none;
}


/*** Search ***/
.search-field {

  border-color: #005ea4 !important;
  border-right: none  !important;
  height:35px  !important;
  width:170px  !important;
  font-size: 20px  !important;
}

.search-field::placeholder {
  color:grey !important;
  opacity: 1 !important;
}

.search-field:focus {
  box-shadow: none !important;
  border: transparent !important;
  background: white !important;
}

.search-button {
  background: #005ea4 !important;
  color: #fff !important;
  border-color: #005ea4 !important;
  border-left: none !important;
}





/*** Image slider ***/

.bottom-overlay {
  top: unset;
  background: -webkit-linear-gradient(bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
  background: -o-linear-gradient(bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  /*background: rgba(0,0,0,0.05) linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0) 30%,rgba(0,0,0,0.75) 100%);*/
  height:100%;
  padding-bottom: 2rem;
  padding-top: 1rem;
}

.featured-card .card-img {
  margin:0;
  height: 460px;
  object-fit: cover;
}

.carousel-indicators li {
  height: 5px;
  background: silver;
}

.carousel-indicators li.active {
  background: black;
}



/*** Anunturi - front-page ***/

.article-meta {
  background: #f4f4f4;
}

.time-month, .time-day {
  font-weight: 700;
}

.btn-more {
  border-radius: 20px;
  padding: .25rem 1rem;
}

/*** Evenimente ***/

.article {
  position: relative;
  overflow: hidden;
}
.article-image {
  margin: 0;
  padding-top: 56.25%;
}

.image-wrapper {position: relative; height: 0; display: block; margin: 0;}

.image-wrapper img {display:block; width:100%; height:auto;}

.image-cover{object-fit:cover;}

.image-conducere{padding-top:110%;} /* pentru pozele din categoria Conducere */ 

.image-4by3{padding-top:75%;} /* 4:3 */ 

.image-16by9{padding-top:56.25%;} /* 16:9 */

.image-2by1{padding-top:45%;} /* 2:1 - era 50% dar am pus 40% */

.image-wrapper.image-4by3 img,.image-wrapper.image-16by9 img, .image-wrapper.image-2by1 img, .image-wrapper.image-conducere img{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;width:100%;}


/*** Card Sectiune Diverse ***/

.bg-gradient-grey {
    background: linear-gradient(87deg,#e6e6e6 0, #333333 100%)!important;
}

.icon-shape {
    display: inline-flex;
    padding: 12px;
    text-align: center;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}
.icon {
    width: 8rem;
    height: 8rem;
    color:white;
    text-align: center;
}

.shadow {
    box-shadow: 0 0 2rem 0 rgba(136,152,170,.15)!important;
}


/* =======================================================================================================================
                                    Extra small devices (phones)
  ======================================================================================================================== */
@media only screen and (max-width: 768px) {

  .text-minister {
    margin:0 auto !important;
    font-size: 18px !important;
  }

  .text-igi {
    font-size:18px !important;
  }


  .remove-margin-on-small-device {
    border-width: 0px !important;
  }

  .hide-from-mobile {
    display:none !important;
  }

  .header>div.container {
      padding: 0;
      max-width: unset;
  }

  .fa-home {
    color: white !important;
  }

  .denumire-institutie {
    border-width:0px !important;
    padding: 0 !important;
  }

  /* ========================
     Meniul principal - begin
     ======================== */

  nav.navbar-expand-lg {
    width:100%;
    background: #024476;
    padding:0 !important;
  }

  .main-menu li ul {
    list-style: square;
    color:black;
  }

  .main-menu li a {
    color: white;
    display:block;
    padding: 5px 10px;
    text-decoration: none;
  }

  nav.navbar li.current-menu-item > a, nav.navbar li.current-menu-ancestor > a {
    color: orange !important;
    font-weight: bold;
  }

}

/* =======================================================================================================================
                                    Medium devices (landscape tablets)
   ======================================================================================================================= */
@media only screen and (min-width: 769px) and (max-width: 991px){

  .header>div.container {
      padding: 0;
      max-width: unset;
  }

  .fa-home {
    color: white !important;
  }

  .denumire-institutie {
    border-width:0px !important;
    padding: 0 !important;
  }


  /* ======================
     Meniul principal begin
     ====================== */

  nav.navbar-expand-lg {
    width:100%;
    background: #024476;
    padding:0 !important;
  }

  .main-menu li ul {
    list-style: square;
  }

  .main-menu li a {
    color: white;
    display:block;
    padding: 5px 10px;
    text-decoration: none;
  }

  nav.navbar li.current-menu-item > a, nav.navbar li.current-menu-ancestor > a {
    color: orange !important;
    font-weight: bold;
  }

}

/* =======================================================================================================================
                                    Large devices (laptops/desktops)
  ======================================================================================================================== */
@media only screen and (min-width: 992px) {

      /**** Fixed menu on scroll ****/

    .sticky {
      position: fixed;
      top: 0;
      width: 100%;
      z-index:9999;
      padding-top: 300px;
    }

    .sticky + .main {
      padding-top: 50px;
    }

  /* ========================
     Meniul principal - begin
     ======================== */

  nav.navbar-expand-lg {
    width:100%;
    /*background: #2a5daa;*/
    padding:0 !important;
  }

  .main-menu li {
    font: bold 12px/18px sans-serif;
    display: inline-block;
    position: relative;
    /*background: #2a5daa;*/
    cursor: pointer;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    color: white;
  }

  .main-menu li a {
    color: white;
    display:block;
    padding: 15px 15px;
    text-decoration: none;
    font-size: 15px;
  }

  .main-menu li a:hover {
    background: #0e3f69;
    color: white;
  }

  .main-menu li ul {
    z-index:99;
    padding: 0;
    position: absolute;
    top: 48px;
    left: 0;
    width: 200px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: none;
    opacity: 0;
    visibility: hidden;
    -webkit-transiton: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    -transition: opacity 0.2s;
  }

  .main-menu li ul li {
    display: block;
    color: #fff;
  }

  .main-menu li:hover ul {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .main-menu li:hover a {
    background: grey;
    color: white;
  }

  .main-menu li > a:after {
/*    content:  ' \25BC';*/
    content: '';
    border: 4px solid transparent;
    border-top: 4px solid white;
    margin-left: 4px;
    margin-bottom: 3px;
    display: inline-block;
    vertical-align: bottom;
  }
  .main-menu li > a:only-child:after {
    content: '';
    border: unset;
    border-top: unset;
    margin-left: unset;
    margin-bottom: unset;
    display: unset;
    vertical-align: unset;

  }

  .main-menu li.current-menu-item > a, .main-menu li.current-menu-ancestor > a {
    color: white !important;
    background-color: grey;
  }

  .main-menu li ul li.current-menu-item > a {
    color: black !important;
    background-color: lightgrey;
  }

  .main-menu li ul a:hover {
    background: lightgrey;
    color: black;
  }
}


/* Buton blue */
.third {
  border-color: #3498db;
  color: #fff;
  box-shadow: 0 0 40px 40px #3498db inset, 0 0 0 0 #3498db;
  transition: all 150ms ease-in-out;
}

.third:hover {
    box-shadow: 0 0 10px 0 #3498db inset, 0 0 10px 4px #3498db;
    color: #000000;
 }

/* Butoane Sectiune Informatii utile (Cariera, Relatii cu publicul, Sesizari) */

/*!* Pseudo elements for icons *!*/
.btn-info:before {
  font-family: 'Font Awesome 5 Free';
  speak: none;
  font-style: normal;
  font-weight: 900;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  position: relative;
  -webkit-font-smoothing: antialiased;
}


/* Icon separator */
.btn-sep {
  padding: 25px 60px 25px 120px;
}

.btn-sep:before {
  /*background: rgba(0,0,0,0.15);*/
}

/* Button 1 */
.btn-1 {
  background: #3498db;
  color: #fff;
}

.btn-1:hover {
  background: #2980b9;
}

.btn-1:active {
  background: #2980b9;
  top: 2px;
}

.btn-1:before {
  position: absolute;
  height: 100%;
  left: 60px;
  top: 0;
  line-height: 3;
  font-size: 180%;
  width: 70px;
}

.icon-info:before {
/*  font-family: 'Font Awesome 5 Free';
  font-weight: 900;*/
  content: "\f05a";
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-phone:before {
/*  font-family: 'Font Awesome 5 Free';
  font-weight: 900;*/
  content: "\f095";
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-share:before {
/*  font-family: 'Font Awesome 5 Free';
  font-weight: 900;*/
  content: "\f064";
  display: flex;
  align-items: center;
  justify-content: center;
}

.white-link {
  color:white;
  text-decoration:underline;
}
