/*CSS FOR ****SUPERFISH***** MENUS*/

/* ---SUPERFISH CUSTOMIZAT LA FIECARE SITE--- */

.mainnav {text-align: right;}

.sf-menu > li {

  display:inline-block;

  width:auto;

  /*margin-top: 12px;  */

}

.style-btn1 {

  color: #000;

  padding: 7px 15px;

  margin: 0 7px;

  /*border: solid #000 1px;*/

  border: 1px solid transparent;

  border-image: linear-gradient(to right, #f4499e, #202020);

  border-image-slice: 1;

  background-color: transparent;

  position: relative;

  overflow: hidden;

  border-radius: 0;

}

.style-btn1:before,

.style-btn1:after {

content: '';

position: absolute;

top: 0;

right: 0;

bottom: 0;

left: 0;

transition: 0.5s ease-in-out;

z-index: -1;

visibility: hidden;

}

.style-btn1:before {

right: -65px;

border-right: 50px solid transparent;

border-bottom: 50px solid #D656A1;

-webkit-transform: translateX(-100%);

transform: translateX(-100%);

}

.style-btn1:before {

right: -65px;

border-right: 50px solid transparent;

border-bottom: 50px solid #D656A1;

-webkit-transform: translateX(-100%);

transform: translateX(-100%);

}

.style-btn1:after {

left: -45px;

border-left: 50px solid transparent;

border-top: 50px solid #D656A1;

-webkit-transform: translateX(100%);

transform: translateX(100%);

}

.style-btn1:hover:before {

-webkit-transform: translateX(-49%);

transform: translateX(-49%);

visibility: visible;

}

.style-btn1:hover:after {

-webkit-transform: translateX(49%);

transform: translateX(49%);

visibility: visible;

}

.style-btn1:hover {color: #FFFFFF;}









/* sf-MENU */

.sf-menu > li > a {
  color: #000;
  padding: 7px 15px;
  margin: 0 7px;
  border: 1px solid transparent;
  border-image: linear-gradient(to right, #f4499e, #202020);
  border-image-slice: 1;
  background-color: transparent;
  /*position: relative;*/
  /*overflow: hidden;*/
  border-radius: 0;
}
.sf-menu > li > a:hover,
.sf-menu > li.active > a {
background-color: #D656A1;
color: #FFFFFF;
}

.page-startpage .sf-menu > li > a {
color: #fff;
border: 1px solid transparent;
border-image: linear-gradient(to right, #f4499e, #fff);
border-image-slice: 1;
background-color: rgba(0, 0, 0, .1);  
}
.page-startpage .sf-menu > li > a:hover,
.page-startpage .sf-menu > li.active > a {
background-color: #D656A1;
color: #FFFFFF;
}



/*END*/


.sf-menu li.child-active ul li {border: none;text-align: left;}

.sf-arrows-ul li.li-parent:after {

  content: '';

  position: absolute;

  top: 50%;

  right: 0px;

  margin-top: -3px;

  height: 0;

  width: 0;

  border: 5px solid transparent;

  border-left-color: var(--c-darkbrown);

}

.sf-arrows-ul{

  background-color:var(--b-graylight);

}

.sf-arrows-ul li a {padding: 5px 15px !important;}

.sf-arrows-ul li:hover a,

.sf-arrows-ul li.active a {color: #000;}

/*---END CUSTOMIZARE---*/ 

/*clasic superfish*/

.sf-menu, .sf-menu * {

  margin: 0;

  padding: 0;

  list-style: none;

}

.sf-menu li {position: relative;}

.sf-menu ul {

  position: absolute;

  display: none;

  top: 100%;

  left: 0;

  z-index: 99;

}

.sf-menu > li {

  /*float: left;*/

  display: inline-block;

}

.sf-menu li:hover > ul,

.sf-menu li.sfHover > ul {

  display: block;

}

.sf-menu span, .sf-menu a {

  display: block;

  position: relative;

}

.sf-menu ul ul {

  top: 0;

  left: 100%;

}

/*** DEMO SKIN ***/

.sf-menu {

  /*float: left;*/

  display: block;

}

.sf-menu ul {

  min-width: 12em; /* allow long menu items to determine submenu width */

  *width: 12em; /* no auto sub width for IE7, see white-space comment below */

}

.sf-menu span {cursor: pointer;}

.sf-menu span,

.sf-menu a {

  zoom: 1; /* IE7 */

}

.sf-menu li {

  white-space: nowrap; /* no need for Supersubs plugin */

  *white-space: normal; /* ...unless you support IE7 (let it wrap) */

  -webkit-transition: background .2s;

  transition: background .2s;

}

.sf-menu li:hover,

.sf-menu li.sfHover {

  /* only transition out, not in */

  -webkit-transition: none;

  transition: none;

}

/*** arrows (for all except IE7) **/

.sf-arrows .sf-with-ul {

  /*padding-right: 1.9em;*/

  *padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */

  cursor: pointer;

}

/* styling for both css and generated arrows */

.sf-arrows .sf-with-ul:after {

  content: '';

  position: absolute;

  top: 50%;

  right: 3px;

  margin-top: -3px;

  height: 0;

  width: 0;

  /* order of following 3 rules important for fallbacks to work */

  border: 5px solid transparent;

  border-top-color: var(--c-darkbrown); /* edit this to suit design (no rgba in IE8) */

}

.sf-arrows > li > .sf-with-ul:focus:after,

.sf-arrows > li:hover > .sf-with-ul:after,

.sf-arrows > .sfHover > .sf-with-ul:after {

  border-top-color: var(--c-orange); /* IE8 fallback colour */

}

/* styling for right-facing arrows */

.sf-arrows ul .sf-with-ul:after {

  margin-top: -5px;

  margin-right: -3px;

  border-color: transparent;

  border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */

  border-left-color: rgba(255,255,255,.5);

}

.sf-arrows ul li > .sf-with-ul:focus:after,

.sf-arrows ul li:hover > .sf-with-ul:after,

.sf-arrows ul .sfHover > .sf-with-ul:after {

  border-left-color: white;

}