*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


#menu {
    z-index: 20;
    width: 100%;
    position: fixed;
    top:100px;
}

.logo-p {
    font-size: 1vw;
    width: 70%;
    line-height: 1.5rem;
}

#logo {
    float: left;
    width: 20%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    height: 65px;
    line-height: 65px;
    display: flex;
    /* justify-content: center; */
    /* align horizontal */
    /* align-items: center; */
    /* align vertical */
}

#logo img {
    border-radius: 15px;
    float: left;
    height: 13rem;
    align-self: center;
    margin: 0.2em 0.1em 0.5em 1em;

}

#logo p {
    padding-top: 1rem;
    text-align: center;
    padding-right: -3%;
    color: whitesmoke;
    font-size: 1vw;
}

.menu-bar-link {
    height: 65px;
    line-height: 65px;
    text-transform: uppercase;
    font-size: 15px;
}


.monitor {
    padding: 0 0 0 5%;
    margin: 0;
}

.menu-link {
    text-decoration: none;
    padding: 0 25px 0 25px;
    height: 50px;
    line-height: 50px;
    color: white;
    transition: background .2s, color .2s;
    position: relative;
    z-index: 1;
}


.menu-link[aria-haspopup="true"]::after {
    content: "";
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/1397521/arrowRight.svg#light);
    background-size: 14px;
    width: 14px;
    height: 14px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.img-meniu-dreapta {
    width: 200px;
    height: auto;
    text-align: right;
    float: right;
    position: fixed;
    right: 0;
    margin-right: 80px;
    top: 0px;
    display: block;
}

.img-meniu-dreapta2 {
    width: 130px;
    height: auto;
    text-align: right;
    float: right;
    position: fixed;
    right: 0;
    margin-right: 80px;
    top: 0px;
    display: block;
}

/* nav {
    width: 80%;
    float: left;
} */


/*ul level1 - menu-bar*/
.menu-bar {
    background: rgba(0, 0, 0, 0.5);
    display: flex;
}

/*anchor a - menu-link*/
.menu-link {
    padding: 0 25px 0 25px;
    height: 50px;
    line-height: 50px;
    color: white;
    transition: background .2s, color .2s;
    position: relative;
    z-index: 1;
}

.menu-link[aria-haspopup="true"] {
    padding-right: 40px;
}

.menu-link[aria-haspopup="true"]::after {
    content: "";
    background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1397521/arrowRight.svg#light');
    background-size: 14px;
    width: 14px;
    height: 14px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/*ul level2*/
.mega-menu {
    color: rgba(0, 0, 0, 0.511);
    line-height: 3rem;
    background: #ffffff;
    z-index: 10;
}

.mega-menu--multiLevel {
    flex-direction: column;
}

/* monitorul oficial local*/
.monitor {
    padding: 0 0 0 5%;
    margin: 0;
}

.monitor[aria-haspopup="true"] {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* culori level 2 care raman onhover daca trecem pe nivelul 3*/
.mega-menu--multiLevel>li:hover>.color13 {
    background: linear-gradient(to right, rgb(52, 152, 219, 0.8), rgb(52, 152, 219, 0.8));
}

.mega-menu--multiLevel>li:hover>.color14 {
    background: linear-gradient(to right, #ffb4a2ff, #ffb498);
}

.mega-menu--multiLevel>li:hover>.color15 {
    background: linear-gradient(to right, rgb(241, 148, 138, 0.8), rgba(241, 148, 138, 0.76));
}

.mega-menu--multiLevel>li:hover>.color16 {
    background: linear-gradient(to right, #b5838dff, #b5838d);

}

.mega-menu--multiLevel>li:hover>.color19 {
    background: linear-gradient(to right, rgb(243, 156, 18, 0.8), rgba(236, 160, 37, 0.8));
}

/*a level1*/
.menu-bar-link {
    height: 65px;
    line-height: 65px;
    text-transform: uppercase;
    font-size: 15px;
}

/* a level2*/
.mega-menu-link {
    color: rgba(0, 0, 0, 0.511);
    padding: 10px 25px 10px 25px;
    min-height: 40px;
    height: auto;
    font-weight: bolder;
    line-height: 20px;
}

/* a level3*/
.menu-list-link {
    color: #3C3D37;
    /* background-color:#ffcda8; */
}

/* culori meniu*/
#color1 {
    /* //background-color:#ffcda8; */
    background: rgb(52, 152, 219, 0.2);
    background-image: linear-gradient(to right, rgb(52, 152, 219, 0.8), rgb(52, 152, 219, 0.8));
}

#color1 a:hover {
    background: linear-gradient(to right, rgb(52, 152, 219, 0.8), rgba(80, 173, 235, 0.8));
}

#color2 {
    /* //background-color:#009BD4; */
    background: rgba(255, 180, 162, 0.5);
    background-image: linear-gradient(to right, rgba(255, 180, 162, 1), rgba(255, 180, 162, 0.5));
}

#color2 a:hover {
    background: linear-gradient(to right, #00ADEC, #009BD4);
}

#color3 {
    /* //background-color:#ffb498; */
    background: rgb(46, 204, 113, 0.2);
    background-image: linear-gradient(to right, rgb(46, 204, 113, 0.8), rgb(46, 204, 113, 0.8));
}

#color3 a:hover {
    background: linear-gradient(to right, rgb(46, 204, 113, 0.8), rgba(61, 204, 120, 0.8));
}

#color4 {
    /* //background-color:#e59891; */
    background: rgb(241, 148, 138, 0.2);
    background-image: linear-gradient(to right, rgb(241, 148, 138, 0.8), rgb(241, 148, 138, 0.8));
}

#color4 a:hover {
    background: linear-gradient(to right, rgb(241, 148, 138, 0.8), rgba(241, 148, 138, 0.692))
}

#color5 {
    /* //background-color:#b5838d; */
    background: rgba(236, 160, 37, 0.2);
    background-image: linear-gradient(to right, rgb(243, 156, 18, 0.8), rgba(236, 160, 37, 0.8));

}

#color5 a:hover {
    background: linear-gradient(to right, rgb(243, 156, 18, 0.8), rgba(236, 160, 37, 0.8));

}

#color6 {
    background: rgba(209, 129, 14, 0.5);
    background-image: linear-gradient(to right, rgba(209, 129, 14, 1), rgba(209, 129, 14, 0.5));
}

#color6 a:hover {
    background: linear-gradient(to right, #EA9010, #D1810E);
}

#color18 {
    background: rgb(155, 89, 182, 0.2);
    background-image: linear-gradient(to right, rgb(155, 89, 182, 0.8), rgba(155, 89, 182, 0.8));
}

#color18 a:hover {
    background: linear-gradient(to right, rgb(155, 89, 182, 0.8), rgba(156, 89, 182, 0.688));
}

.menu-bar li:hover>ul {
    /* display: block; */
}

/* descreierea meniului*/
.menu-description {
    color: #fff !important;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    display: block;
    opacity: .7;
    font-size: 12px;
    font-weight: 300 !important;
    line-height: 15px;
    padding-top: 0;
}

/* sageti inainte de scris in meniu*/
.arrow,
.arrow2 {
    display: none;
}

.mega-menu--multiLevel>li:hover .arrow,
.menu-list>li:hover .arrow2 {
    display: inline-block;
    padding-right: 2px;
}


#mobile-menu {
    display: none
}

.mobile-close {
    position: absolute;
    top: 2vh;
    left: 35vw;
    background: rgba(255, 255, 255, 0.826);
    color: rgba(0, 0, 0, 0.797);
    border: none;
    font-size: 1.5vw;
    width: 4vw;
    height: 4vw;
    display: none;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Afișare doar pe mobil */
@media (max-width: 980px) {
    .mobile-close {
        display: flex;
    }
}

/* Stilizare la hover */
.mobile-close:hover {
    background: #f0f0f0;
}

.carousel-caption p {
    color:white;
 font-size: 2em;
  font-weight: 800;
  /* text-align: left; */
  text-shadow: black 1px 0 10px;
  margin-bottom:25%;
  /* margin-right:98%; */
  margin-left:-120%;
}

