You are here

navbar.css in Open Social 8.8

.nav {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.nav > li > a {
  position: relative;
  display: block;
  padding: 0.5em 10px;
}

.nav > li > a:hover, .nav > li > a:focus {
  text-decoration: none;
}

.nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  cursor: not-allowed;
}

.page-preview .navbar-default {
  position: relative;
  z-index: 10;
}

.page-preview .main-container {
  padding-top: 0;
}

.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 0;
  font-size: 0.875rem;
}

.container--navbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.navbar-user {
  margin-left: auto;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}

.navbar-header {
  -webkit-box-ordinal-group: 1;
      -ms-flex-order: 0;
          order: 0;
}

.navbar-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 24px;
}

.navbar-nav > li > ul > li.expanded {
  position: relative;
}

.navbar-nav > li > ul > li.expanded .caret {
  -webkit-transform: rotate(0);
          transform: rotate(0);
}

.navbar-nav > li > ul > li.expanded > .dropdown-menu {
  margin-top: 0;
  padding-top: 5px;
}

.navbar-nav > li > ul > li.expanded > .dropdown-menu.open {
  display: none;
}

.navbar-user > li > a,
.navbar-user .navbar-nav > li > a {
  padding: 13px 10px 8px;
  height: 50px;
}

.navbar-collapse {
  overflow-x: visible;
  border-top: 1px solid transparent;
  -webkit-overflow-scrolling: touch;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  max-height: 340px;
}

.navbar-collapse.in {
  overflow-y: auto;
}

.navbar-fixed-top {
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
          box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.navbar-fixed-top .navbar-user .dropdown-menu {
  right: 0;
  left: auto;
}

.navbar-brand {
  display: inline-block;
  vertical-align: top;
  height: 50px;
  max-width: 200px;
  overflow: hidden;
}

.navbar-brand > img {
  display: block;
  pointer-events: none;
  width: auto;
  height: 50px;
}

.navbar-toggle {
  position: relative;
  display: inline-block;
  background-color: transparent;
  background-image: none;
  border: 0;
  color: white;
  font-weight: 500;
  padding: 8px 10px;
  height: 50px;
  min-width: 50px;
  line-height: 32px;
}

.navbar-toggle:focus {
  outline: 0;
}

.navbar-nav__icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  pointer-events: none;
}

.navbar-nav__icon + .badge {
  position: absolute;
  top: 8px;
  right: 0;
}

.navbar-nav > .dropdown > .dropdown-menu {
  margin-top: 0;
}

.navbar-nav > .dropup > .dropdown-menu {
  margin-bottom: 0;
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover {
  -webkit-transition: color .2s ease, background-color .2s ease;
  transition: color .2s ease, background-color .2s ease;
}

.navbar__open-search-control {
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
}

.navbar__open-search-block {
  display: block;
  border: 0;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  padding: 0;
  -webkit-transform-origin: 50%;
          transform-origin: 50%;
  -webkit-transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.navbar-nav__icon--search {
  position: absolute;
  top: 14px;
  left: 13px;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  pointer-events: none;
}

.navbar-search .search-content-form {
  padding: 10px 10px 5px;
  border: 0;
  position: relative;
}

.navbar-search .search-content-form .form-group {
  margin-bottom: 0;
}

.navbar-search .form-control {
  padding: 6px 38px 6px 12px;
  max-width: none;
  border: 0;
}

.navbar-search .form-submit {
  width: 38px;
  height: 38px;
  display: block;
  position: absolute;
  overflow: hidden;
  right: 0;
  top: 0;
  line-height: 38px;
  cursor: pointer;
  font-size: 0;
  padding: 0;
  background-color: transparent;
}

.navbar-search .form-submit svg {
  width: 30px;
  height: 30px;
}

.navbar-secondary {
  -webkit-box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
          box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  z-index: 1;
  min-height: 46px;
}

.navbar-secondary .navbar-nav {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  font-size: 16px;
}

.navbar-secondary .navbar-nav a {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  white-space: nowrap;
  opacity: 0.75;
  border-bottom: 2px solid transparent;
}

.navbar-secondary .navbar-nav li.active a {
  border-bottom: 2px solid transparent;
  opacity: 1;
}

.navbar-secondary .navbar-nav li.active a:hover, .navbar-secondary .navbar-nav li.active a:focus {
  cursor: default;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a {
    padding-left: 30px;
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a:hover, .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a.is-active {
    background: #fff;
  }
}

@media (min-width: 900px) {
  .navbar-user {
    -webkit-box-ordinal-group: 11;
        -ms-flex-order: 10;
            order: 10;
  }
  .block-social-language,
  .block-language {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
    margin-left: auto;
  }
  .block-social-language a.dropdown-toggle,
  .block-language a.dropdown-toggle {
    height: 50px;
  }
  .block-social-language ~ .navbar-user,
  .block-language ~ .navbar-user {
    margin-left: 0;
  }
  .navbar-search {
    display: none;
  }
  .navbar-nav > li > a {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .navbar-collapse {
    width: auto;
    border-top: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .navbar-collapse.collapse {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  }
  .navbar-collapse.in {
    overflow-y: visible;
  }
  .navbar-fixed-top .navbar-nav {
    padding-left: 10px;
  }
  .navbar-toggle {
    display: none;
  }
  .not-logged-in.dropdown.profile .dropdown-toggle {
    display: none;
  }
  .search-take-over {
    display: none;
    height: 50px;
    position: fixed;
    top: 20%;
    left: 0;
    width: 100%;
    z-index: 1050;
    pointer-events: none;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .search-take-over .form-group {
    margin: auto;
    width: 80%;
    max-width: 600px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .search-take-over .form-text {
    font-size: 1.625em;
    height: 54px;
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    outline: 0;
    border-radius: 0;
    border-bottom: 2px solid;
    font-weight: 500;
    max-width: none;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 80%;
            flex: 1 1 80%;
    min-width: 0;
  }
  .search-take-over .form-submit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: transparent;
    margin-left: 20px;
    padding: 0;
    font-size: 0;
    text-indent: -9999px;
    cursor: pointer;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 60px;
            flex: 0 0 60px;
  }
  .search-take-over .form-submit svg {
    width: 50px;
    height: 50px;
  }
  .search-take-over .social-search-suggestions {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .btn--close-search-take-over {
    background-color: transparent;
    border: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    position: fixed;
    top: 80px;
    right: 80px;
    opacity: 0;
    -webkit-transform: translate(10px, 0) rotate(90deg);
            transform: translate(10px, 0) rotate(90deg);
    -webkit-transition: all 0.5s ease-in-out 0.5s;
    transition: all 0.5s ease-in-out 0.5s;
    outline: 0;
  }
  .btn--close-search-take-over svg {
    height: 48px;
    width: 100%;
  }
  .mode-search {
    overflow: hidden;
  }
  .mode-search .search-take-over {
    display: initial;
    pointer-events: all;
  }
  .mode-search .navbar__open-search-block {
    -webkit-transform: scale(70);
            transform: scale(70);
    -moz-transform: scale(70) rotate(0.02deg);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  }
  .mode-search .navbar-nav__icon {
    opacity: 0;
  }
  .mode-search .main-container {
    z-index: auto;
    pointer-events: none;
  }
  .mode-search .btn--close-search-take-over {
    -webkit-transform: none;
            transform: none;
    opacity: 1;
    pointer-events: all;
  }
}

@media (min-width: 1025px) {
  .navbar-nav > li > ul > li.expanded > a:hover:not(.is-active) + .dropdown-menu {
    display: block;
  }
  .navbar-nav > li > ul > li.expanded .caret {
    position: absolute;
    top: 44%;
    right: 10px;
    -webkit-transform: rotate(-90deg) translateY(-50%);
            transform: rotate(-90deg) translateY(-50%);
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu {
    display: none;
    top: 0;
    left: 100%;
    padding-top: 0;
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu:hover {
    display: block;
  }
}

@media (max-width: 599px) {
  .nav > li.desktop {
    display: none;
  }
  .navbar-scrollable {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 46px;
  }
  .navbar-scrollable .navbar-nav {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    overflow-x: scroll;
    overflow-y: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .navbar-scrollable .navbar-nav::-webkit-scrollbar {
    display: none;
  }
  .navbar-scrollable:after {
    content: '';
    display: block;
    position: absolute;
    width: 24px;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 2;
  }
}

@media (max-width: 899px) {
  .container--navbar {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a {
    padding-left: 45px;
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a:hover, .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a.is-active {
    background: #e6e6e6;
    color: #4d4d4d;
  }
  .navbar-fixed-top .navbar-nav .open .dropdown-menu {
    background-color: #fff;
    border: 0;
    -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
            box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
    position: fixed;
    top: auto;
    margin: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    max-height: 100%;
    height: calc(100% - 50px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
  .navbar-collapse {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
            flex: 1 0 100%;
  }
  .navbar-collapse .navbar-nav {
    margin: 6.5px 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .navbar-collapse .navbar-nav > li > a {
    padding: 5px 15px;
  }
  .navbar-collapse .navbar-nav > li > a.dropdown-toggle {
    pointer-events: none;
  }
  .navbar-collapse .dropdown-menu {
    display: block;
    position: relative;
    width: 100%;
    background-color: transparent;
    float: none;
    max-width: none;
    padding-top: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .navbar-collapse .dropdown-menu li a {
    padding: 5px 15px 5px 30px;
  }
  .navbar__open-search-control {
    display: none;
  }
  .region--content-top .search-take-over,
  .btn--close-search-take-over {
    display: none;
  }
  html:not(.js) .navbar-header:focus + .navbar-collapse, html:not(.js) .navbar-header:hover + .navbar-collapse {
    display: block;
  }
  html:not(.js) .navbar-collapse:focus, html:not(.js) .navbar-collapse:hover {
    display: block;
  }
}

@media (max-width: 1024px) {
  .navbar-nav > li > ul > li.expanded > .dropdown-menu {
    position: static !important;
    display: block !important;
    -webkit-box-shadow: none;
            box-shadow: none;
    background: #f5f5f5;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .navbar-nav > li > ul > li.expanded > .dropdown-menu {
    position: static !important;
    display: block !important;
    -webkit-box-shadow: none;
            box-shadow: none;
    background: #f5f5f5;
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a {
    padding-left: 30px;
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a:hover, .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a.is-active {
    background: #fff;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .navbar-nav > li > ul > li.expanded > .dropdown-menu {
    position: static !important;
    display: block !important;
    -webkit-box-shadow: none;
            box-shadow: none;
    background: #f5f5f5;
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a {
    padding-left: 30px;
  }
  .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a:hover, .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a.is-active {
    background: #fff;
  }
}

@media screen and (max-height: 480px) {
  .navbar-collapse {
    max-height: 420px;
  }
}

File

themes/socialbase/assets/css/navbar.css
View source
  1. .nav {
  2. margin-bottom: 0;
  3. padding-left: 0;
  4. list-style: none;
  5. }
  6. .nav > li > a {
  7. position: relative;
  8. display: block;
  9. padding: 0.5em 10px;
  10. }
  11. .nav > li > a:hover, .nav > li > a:focus {
  12. text-decoration: none;
  13. }
  14. .nav > li.disabled > a:hover, .nav > li.disabled > a:focus {
  15. text-decoration: none;
  16. background-color: transparent;
  17. cursor: not-allowed;
  18. }
  19. .page-preview .navbar-default {
  20. position: relative;
  21. z-index: 10;
  22. }
  23. .page-preview .main-container {
  24. padding-top: 0;
  25. }
  26. .navbar {
  27. position: relative;
  28. min-height: 50px;
  29. margin-bottom: 0;
  30. font-size: 0.875rem;
  31. }
  32. .container--navbar {
  33. display: -webkit-box;
  34. display: -ms-flexbox;
  35. display: flex;
  36. }
  37. .navbar-user {
  38. margin-left: auto;
  39. -webkit-box-ordinal-group: 2;
  40. -ms-flex-order: 1;
  41. order: 1;
  42. }
  43. .navbar-header {
  44. -webkit-box-ordinal-group: 1;
  45. -ms-flex-order: 0;
  46. order: 0;
  47. }
  48. .navbar-nav {
  49. display: -webkit-box;
  50. display: -ms-flexbox;
  51. display: flex;
  52. -ms-flex-wrap: wrap;
  53. flex-wrap: wrap;
  54. }
  55. .navbar-nav > li > a {
  56. padding-top: 10px;
  57. padding-bottom: 10px;
  58. line-height: 24px;
  59. }
  60. .navbar-nav > li > ul > li.expanded {
  61. position: relative;
  62. }
  63. .navbar-nav > li > ul > li.expanded .caret {
  64. -webkit-transform: rotate(0);
  65. transform: rotate(0);
  66. }
  67. .navbar-nav > li > ul > li.expanded > .dropdown-menu {
  68. margin-top: 0;
  69. padding-top: 5px;
  70. }
  71. .navbar-nav > li > ul > li.expanded > .dropdown-menu.open {
  72. display: none;
  73. }
  74. .navbar-user > li > a,
  75. .navbar-user .navbar-nav > li > a {
  76. padding: 13px 10px 8px;
  77. height: 50px;
  78. }
  79. .navbar-collapse {
  80. overflow-x: visible;
  81. border-top: 1px solid transparent;
  82. -webkit-overflow-scrolling: touch;
  83. -webkit-box-ordinal-group: 3;
  84. -ms-flex-order: 2;
  85. order: 2;
  86. max-height: 340px;
  87. }
  88. .navbar-collapse.in {
  89. overflow-y: auto;
  90. }
  91. .navbar-fixed-top {
  92. -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  93. box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  94. position: fixed;
  95. top: 0;
  96. right: 0;
  97. left: 0;
  98. z-index: 1030;
  99. }
  100. .navbar-fixed-top .navbar-user .dropdown-menu {
  101. right: 0;
  102. left: auto;
  103. }
  104. .navbar-brand {
  105. display: inline-block;
  106. vertical-align: top;
  107. height: 50px;
  108. max-width: 200px;
  109. overflow: hidden;
  110. }
  111. .navbar-brand > img {
  112. display: block;
  113. pointer-events: none;
  114. width: auto;
  115. height: 50px;
  116. }
  117. .navbar-toggle {
  118. position: relative;
  119. display: inline-block;
  120. background-color: transparent;
  121. background-image: none;
  122. border: 0;
  123. color: white;
  124. font-weight: 500;
  125. padding: 8px 10px;
  126. height: 50px;
  127. min-width: 50px;
  128. line-height: 32px;
  129. }
  130. .navbar-toggle:focus {
  131. outline: 0;
  132. }
  133. .navbar-nav__icon {
  134. width: 24px;
  135. height: 24px;
  136. display: inline-block;
  137. pointer-events: none;
  138. }
  139. .navbar-nav__icon + .badge {
  140. position: absolute;
  141. top: 8px;
  142. right: 0;
  143. }
  144. .navbar-nav > .dropdown > .dropdown-menu {
  145. margin-top: 0;
  146. }
  147. .navbar-nav > .dropup > .dropdown-menu {
  148. margin-bottom: 0;
  149. }
  150. .navbar-default .navbar-nav > .open > a,
  151. .navbar-default .navbar-nav > .open > a:focus,
  152. .navbar-default .navbar-nav > .open > a:hover {
  153. -webkit-transition: color .2s ease, background-color .2s ease;
  154. transition: color .2s ease, background-color .2s ease;
  155. }
  156. .navbar__open-search-control {
  157. width: 50px;
  158. height: 50px;
  159. position: relative;
  160. cursor: pointer;
  161. }
  162. .navbar__open-search-block {
  163. display: block;
  164. border: 0;
  165. border-radius: 100%;
  166. width: 50px;
  167. height: 50px;
  168. padding: 0;
  169. -webkit-transform-origin: 50%;
  170. transform-origin: 50%;
  171. -webkit-transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  172. transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  173. z-index: 10;
  174. }
  175. .navbar-nav__icon--search {
  176. position: absolute;
  177. top: 14px;
  178. left: 13px;
  179. -webkit-transition: 0.2s ease-in-out;
  180. transition: 0.2s ease-in-out;
  181. pointer-events: none;
  182. }
  183. .navbar-search .search-content-form {
  184. padding: 10px 10px 5px;
  185. border: 0;
  186. position: relative;
  187. }
  188. .navbar-search .search-content-form .form-group {
  189. margin-bottom: 0;
  190. }
  191. .navbar-search .form-control {
  192. padding: 6px 38px 6px 12px;
  193. max-width: none;
  194. border: 0;
  195. }
  196. .navbar-search .form-submit {
  197. width: 38px;
  198. height: 38px;
  199. display: block;
  200. position: absolute;
  201. overflow: hidden;
  202. right: 0;
  203. top: 0;
  204. line-height: 38px;
  205. cursor: pointer;
  206. font-size: 0;
  207. padding: 0;
  208. background-color: transparent;
  209. }
  210. .navbar-search .form-submit svg {
  211. width: 30px;
  212. height: 30px;
  213. }
  214. .navbar-secondary {
  215. -webkit-box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  216. box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
  217. z-index: 1;
  218. min-height: 46px;
  219. }
  220. .navbar-secondary .navbar-nav {
  221. -webkit-box-pack: center;
  222. -ms-flex-pack: center;
  223. justify-content: center;
  224. -ms-flex-wrap: nowrap;
  225. flex-wrap: nowrap;
  226. font-size: 16px;
  227. }
  228. .navbar-secondary .navbar-nav a {
  229. -webkit-transition: all 0.3s;
  230. transition: all 0.3s;
  231. white-space: nowrap;
  232. opacity: 0.75;
  233. border-bottom: 2px solid transparent;
  234. }
  235. .navbar-secondary .navbar-nav li.active a {
  236. border-bottom: 2px solid transparent;
  237. opacity: 1;
  238. }
  239. .navbar-secondary .navbar-nav li.active a:hover, .navbar-secondary .navbar-nav li.active a:focus {
  240. cursor: default;
  241. }
  242. @media (min-width: 768px) and (max-width: 1024px) {
  243. .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a {
  244. padding-left: 30px;
  245. }
  246. .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a:hover, .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a.is-active {
  247. background: #fff;
  248. }
  249. }
  250. @media (min-width: 900px) {
  251. .navbar-user {
  252. -webkit-box-ordinal-group: 11;
  253. -ms-flex-order: 10;
  254. order: 10;
  255. }
  256. .block-social-language,
  257. .block-language {
  258. -webkit-box-ordinal-group: 5;
  259. -ms-flex-order: 4;
  260. order: 4;
  261. margin-left: auto;
  262. }
  263. .block-social-language a.dropdown-toggle,
  264. .block-language a.dropdown-toggle {
  265. height: 50px;
  266. }
  267. .block-social-language ~ .navbar-user,
  268. .block-language ~ .navbar-user {
  269. margin-left: 0;
  270. }
  271. .navbar-search {
  272. display: none;
  273. }
  274. .navbar-nav > li > a {
  275. padding-top: 13px;
  276. padding-bottom: 13px;
  277. }
  278. .navbar-collapse {
  279. width: auto;
  280. border-top: 0;
  281. padding-left: 0;
  282. padding-right: 0;
  283. }
  284. .navbar-collapse.collapse {
  285. display: -webkit-box !important;
  286. display: -ms-flexbox !important;
  287. display: flex !important;
  288. height: auto !important;
  289. padding-bottom: 0;
  290. overflow: visible !important;
  291. }
  292. .navbar-collapse.in {
  293. overflow-y: visible;
  294. }
  295. .navbar-fixed-top .navbar-nav {
  296. padding-left: 10px;
  297. }
  298. .navbar-toggle {
  299. display: none;
  300. }
  301. .not-logged-in.dropdown.profile .dropdown-toggle {
  302. display: none;
  303. }
  304. .search-take-over {
  305. display: none;
  306. height: 50px;
  307. position: fixed;
  308. top: 20%;
  309. left: 0;
  310. width: 100%;
  311. z-index: 1050;
  312. pointer-events: none;
  313. -webkit-transition: all 0.3s ease-in-out;
  314. transition: all 0.3s ease-in-out;
  315. }
  316. .search-take-over .form-group {
  317. margin: auto;
  318. width: 80%;
  319. max-width: 600px;
  320. display: -webkit-box;
  321. display: -ms-flexbox;
  322. display: flex;
  323. -ms-flex-wrap: wrap;
  324. flex-wrap: wrap;
  325. }
  326. .search-take-over .form-text {
  327. font-size: 1.625em;
  328. height: 54px;
  329. border: 0;
  330. background: transparent;
  331. -webkit-appearance: none;
  332. outline: 0;
  333. border-radius: 0;
  334. border-bottom: 2px solid;
  335. font-weight: 500;
  336. max-width: none;
  337. -webkit-box-flex: 1;
  338. -ms-flex: 1 1 80%;
  339. flex: 1 1 80%;
  340. min-width: 0;
  341. }
  342. .search-take-over .form-submit {
  343. display: -webkit-box;
  344. display: -ms-flexbox;
  345. display: flex;
  346. -webkit-box-align: center;
  347. -ms-flex-align: center;
  348. align-items: center;
  349. -webkit-box-pack: center;
  350. -ms-flex-pack: center;
  351. justify-content: center;
  352. width: 60px;
  353. height: 60px;
  354. min-width: 60px;
  355. background-color: transparent;
  356. margin-left: 20px;
  357. padding: 0;
  358. font-size: 0;
  359. text-indent: -9999px;
  360. cursor: pointer;
  361. -webkit-box-flex: 0;
  362. -ms-flex: 0 0 60px;
  363. flex: 0 0 60px;
  364. }
  365. .search-take-over .form-submit svg {
  366. width: 50px;
  367. height: 50px;
  368. }
  369. .search-take-over .social-search-suggestions {
  370. -ms-flex-preferred-size: 100%;
  371. flex-basis: 100%;
  372. }
  373. .btn--close-search-take-over {
  374. background-color: transparent;
  375. border: 0;
  376. width: 48px;
  377. height: 48px;
  378. padding: 0;
  379. position: fixed;
  380. top: 80px;
  381. right: 80px;
  382. opacity: 0;
  383. -webkit-transform: translate(10px, 0) rotate(90deg);
  384. transform: translate(10px, 0) rotate(90deg);
  385. -webkit-transition: all 0.5s ease-in-out 0.5s;
  386. transition: all 0.5s ease-in-out 0.5s;
  387. outline: 0;
  388. }
  389. .btn--close-search-take-over svg {
  390. height: 48px;
  391. width: 100%;
  392. }
  393. .mode-search {
  394. overflow: hidden;
  395. }
  396. .mode-search .search-take-over {
  397. display: initial;
  398. pointer-events: all;
  399. }
  400. .mode-search .navbar__open-search-block {
  401. -webkit-transform: scale(70);
  402. transform: scale(70);
  403. -moz-transform: scale(70) rotate(0.02deg);
  404. -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  405. box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
  406. }
  407. .mode-search .navbar-nav__icon {
  408. opacity: 0;
  409. }
  410. .mode-search .main-container {
  411. z-index: auto;
  412. pointer-events: none;
  413. }
  414. .mode-search .btn--close-search-take-over {
  415. -webkit-transform: none;
  416. transform: none;
  417. opacity: 1;
  418. pointer-events: all;
  419. }
  420. }
  421. @media (min-width: 1025px) {
  422. .navbar-nav > li > ul > li.expanded > a:hover:not(.is-active) + .dropdown-menu {
  423. display: block;
  424. }
  425. .navbar-nav > li > ul > li.expanded .caret {
  426. position: absolute;
  427. top: 44%;
  428. right: 10px;
  429. -webkit-transform: rotate(-90deg) translateY(-50%);
  430. transform: rotate(-90deg) translateY(-50%);
  431. }
  432. .navbar-nav > li > ul > li.expanded > .dropdown-menu {
  433. display: none;
  434. top: 0;
  435. left: 100%;
  436. padding-top: 0;
  437. }
  438. .navbar-nav > li > ul > li.expanded > .dropdown-menu:hover {
  439. display: block;
  440. }
  441. }
  442. @media (max-width: 599px) {
  443. .nav > li.desktop {
  444. display: none;
  445. }
  446. .navbar-scrollable {
  447. overflow: hidden;
  448. position: relative;
  449. width: 100%;
  450. height: 46px;
  451. }
  452. .navbar-scrollable .navbar-nav {
  453. position: absolute;
  454. left: 0;
  455. top: 0;
  456. width: 100%;
  457. -webkit-overflow-scrolling: touch;
  458. -webkit-user-select: none;
  459. -moz-user-select: none;
  460. -ms-user-select: none;
  461. user-select: none;
  462. overflow-x: scroll;
  463. overflow-y: hidden;
  464. display: -webkit-box;
  465. display: -ms-flexbox;
  466. display: flex;
  467. -webkit-box-pack: start;
  468. -ms-flex-pack: start;
  469. justify-content: flex-start;
  470. }
  471. .navbar-scrollable .navbar-nav::-webkit-scrollbar {
  472. display: none;
  473. }
  474. .navbar-scrollable:after {
  475. content: '';
  476. display: block;
  477. position: absolute;
  478. width: 24px;
  479. height: 100%;
  480. top: 0;
  481. right: 0;
  482. z-index: 2;
  483. }
  484. }
  485. @media (max-width: 899px) {
  486. .container--navbar {
  487. -ms-flex-wrap: wrap;
  488. flex-wrap: wrap;
  489. }
  490. .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a {
  491. padding-left: 45px;
  492. }
  493. .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a:hover, .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a.is-active {
  494. background: #e6e6e6;
  495. color: #4d4d4d;
  496. }
  497. .navbar-fixed-top .navbar-nav .open .dropdown-menu {
  498. background-color: #fff;
  499. border: 0;
  500. -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
  501. box-shadow: 0 0 6px rgba(0, 0, 0, 0.16), 0 6px 12px rgba(0, 0, 0, 0.32);
  502. position: fixed;
  503. top: auto;
  504. margin: 0;
  505. left: 0;
  506. right: 0;
  507. width: 100%;
  508. max-width: none;
  509. max-height: 100%;
  510. height: calc(100% - 50px);
  511. overflow-x: hidden;
  512. overflow-y: auto;
  513. -webkit-backface-visibility: hidden;
  514. backface-visibility: hidden;
  515. }
  516. .navbar-collapse {
  517. -webkit-box-flex: 1;
  518. -ms-flex: 1 0 100%;
  519. flex: 1 0 100%;
  520. }
  521. .navbar-collapse .navbar-nav {
  522. margin: 6.5px 0;
  523. -webkit-box-orient: vertical;
  524. -webkit-box-direction: normal;
  525. -ms-flex-direction: column;
  526. flex-direction: column;
  527. -webkit-box-ordinal-group: 2;
  528. -ms-flex-order: 1;
  529. order: 1;
  530. }
  531. .navbar-collapse .navbar-nav > li > a {
  532. padding: 5px 15px;
  533. }
  534. .navbar-collapse .navbar-nav > li > a.dropdown-toggle {
  535. pointer-events: none;
  536. }
  537. .navbar-collapse .dropdown-menu {
  538. display: block;
  539. position: relative;
  540. width: 100%;
  541. background-color: transparent;
  542. float: none;
  543. max-width: none;
  544. padding-top: 0;
  545. -webkit-box-shadow: none;
  546. box-shadow: none;
  547. }
  548. .navbar-collapse .dropdown-menu li a {
  549. padding: 5px 15px 5px 30px;
  550. }
  551. .navbar__open-search-control {
  552. display: none;
  553. }
  554. .region--content-top .search-take-over,
  555. .btn--close-search-take-over {
  556. display: none;
  557. }
  558. html:not(.js) .navbar-header:focus + .navbar-collapse, html:not(.js) .navbar-header:hover + .navbar-collapse {
  559. display: block;
  560. }
  561. html:not(.js) .navbar-collapse:focus, html:not(.js) .navbar-collapse:hover {
  562. display: block;
  563. }
  564. }
  565. @media (max-width: 1024px) {
  566. .navbar-nav > li > ul > li.expanded > .dropdown-menu {
  567. position: static !important;
  568. display: block !important;
  569. -webkit-box-shadow: none;
  570. box-shadow: none;
  571. background: #f5f5f5;
  572. }
  573. }
  574. @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  575. .navbar-nav > li > ul > li.expanded > .dropdown-menu {
  576. position: static !important;
  577. display: block !important;
  578. -webkit-box-shadow: none;
  579. box-shadow: none;
  580. background: #f5f5f5;
  581. }
  582. .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a {
  583. padding-left: 30px;
  584. }
  585. .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a:hover, .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a.is-active {
  586. background: #fff;
  587. }
  588. }
  589. @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  590. .navbar-nav > li > ul > li.expanded > .dropdown-menu {
  591. position: static !important;
  592. display: block !important;
  593. -webkit-box-shadow: none;
  594. box-shadow: none;
  595. background: #f5f5f5;
  596. }
  597. .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a {
  598. padding-left: 30px;
  599. }
  600. .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a:hover, .navbar-nav > li > ul > li.expanded > .dropdown-menu > li > a.is-active {
  601. background: #fff;
  602. }
  603. }
  604. @media screen and (max-height: 480px) {
  605. .navbar-collapse {
  606. max-height: 420px;
  607. }
  608. }