/* GLOBALS */

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

::selection {
    background: transparent; 
}

::-moz-selection {
    background: transparent; 
}

.wrapper-demo {
    margin: 60px 0 0 0;
    *zoom: 1;
    font-weight: 400;
}

.wrapper-demo:after {
    clear: both;
    content: "";
    display: table;
}


/* Languages dropdown */

.languagesdropdown {
    /* Size and position */
    position: relative; /* Enable absolute positionning for children and pseudo elements */
 
    /* Styles */
    cursor: pointer;
    outline: none;
}

.languagesdropdown:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    right: -19px;
    top: 50%;
    margin-top: -3px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: grey transparent;
}

.languagesdropdown .dropdown {
  /* Size & position */
    position: absolute;
    top: 100%;
    left: 0px;

    /* Styles */
    background: white;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    list-style: none;
    z-index: 1000;

    /* Hiding */
    opacity: 0;
    pointer-events: none;
}

.languagesdropdown .dropdown li a {
    display: block;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}


.languagesdropdown .dropdown li:nth-child(1) a { 
    border-left-color: #00ACED;
}

.languagesdropdown .dropdown li:nth-child(2) a {
    border-left-color: #4183C4;
}

.languagesdropdown .dropdown li:nth-child(3) a {
    border-left-color: #3B5998;
}

.languagesdropdown .dropdown li i {
  
    color: inherit;
    vertical-align: middle;
}


/* Active state */

.languagesdropdown.active:after {
    border-width: 0 6px 6px 6px;
}

.languagesdropdown.active .dropdown {
    opacity: 1;
    pointer-events: auto;
}

.languagesdropdown.active .dropdown .languageheader{
    background-color: red;
}

/* No CSS3 support */

.no-opacity       .languagesdropdown .dropdown,
.no-pointerevents .languagesdropdown .dropdown {
    display: none;
    opacity: 1; /* If opacity support but no pointer-events support */
    pointer-events: auto; /* If pointer-events support but no pointer-events support */
}

.no-opacity       .languagesdropdown.active .dropdown,
.no-pointerevents .languagesdropdown.active .dropdown {
    display: block;
}



/* Collections dropdown */

.wrapper-dropdown-2 {
    /* Size and position */
    position: relative; /* Enable absolute positionning for children and pseudo elements */
 
    /* Styles */
    cursor: pointer;
    outline: none;
}

.wrapper-dropdown-2:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    right: -19px;
    top: 50%;
    margin-top: -3px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: grey transparent;
}

.wrapper-dropdown-2 .dropdown {
  /* Size & position */
    position: absolute;
    top: 100%;
    left: 0px;

    /* Styles */
    background: white;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    list-style: none;
    z-index: 1000;

    /* Hiding */
    opacity: 0;
    pointer-events: none;
}

.wrapper-dropdown-2 .dropdown li a {
    display: block;
    text-decoration: none;
    padding: 4px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.wrapper-dropdown-2 .dropdown li{
   margin-left: 0px !important;
   width: 100%;
   padding: 2px;
   border-bottom: 1px solid lightgrey;
   /*height: 39px;*/
  
}

.wrapper-dropdown-2 .dropdown li:nth-child(1) a { 
    border-left-color: #00ACED;
}

.wrapper-dropdown-2 .dropdown li:nth-child(2) a {
    border-left-color: #4183C4;
}

.wrapper-dropdown-2 .dropdown li:nth-child(3) a {
    border-left-color: #3B5998;
}

.wrapper-dropdown-2 .dropdown li i {
    margin-right: 5px;
    color: inherit;
    vertical-align: middle;
}

/* Hover state */

.wrapper-dropdown-2 .dropdown li:hover a {
    color: white;
    background-color: #7a1a24;
    /*height: 34px;*/
}

/* Active state */

.wrapper-dropdown-2.active:after {
    border-width: 0 6px 6px 6px;
}

.wrapper-dropdown-2.active .dropdown {
    opacity: 1;
    pointer-events: auto;
}

.wrapper-dropdown-2.active .dropdown .languageheader{
    background-color: red;
}

/* No CSS3 support */

.no-opacity       .wrapper-dropdown-2 .dropdown,
.no-pointerevents .wrapper-dropdown-2 .dropdown {
    display: none;
    opacity: 1; /* If opacity support but no pointer-events support */
    pointer-events: auto; /* If pointer-events support but no pointer-events support */
}

.no-opacity       .wrapper-dropdown-2.active .dropdown,
.no-pointerevents .wrapper-dropdown-2.active .dropdown {
    display: block;
}

