_menu.scss 18 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
@media only screen and (min-width: 62.5rem) {
    #main-nav{
        padding-bottom: 0.0625rem;
    }
    #mega-menu-wrap-primary{
        width: 100%;
    }
    #mega-menu-primary{
        width: 100%;
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item{
        width: 19%;
        color:#fff;
        background-color: #EE0000;  
        border-radius: 1.25rem;
        text-align: center;
        height: 2rem;
        margin-top: 0rem;
        font-size: 1.125rem;
        position: relative;
        font-family: "PT Sans",sans-serif;
        box-shadow: 0rem 0.1875rem 0.375rem #0000003D;
    
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
        width: 100%;
        text-align: center;
        font-family: "PT Sans",sans-serif;
        font-weight: bold !important;
        font-size: 0.875rem; 
        height: 2rem;
        line-height: 1.9375rem;
    }
    
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-menu-item-has-children > a.mega-menu-link:before{
        content: "";
        width: 0.8125rem;
        height: 0.4831rem;
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
        margin-left: -1.25rem;
        margin-top: 0.75rem;
        display: inline-block;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12.742" height="7.726" viewBox="0 0 12.742 7.726"><path id="Path_1491" data-name="Path 1491" d="M6.383,4.709c.442-.447.875-.89,1.313-1.328Q9.274,1.8,10.855.231a.708.708,0,0,1,1.047,0c.2.206.405.407.608.61a.694.694,0,0,1,0,1.038L9.667,4.721,6.913,7.48a.768.768,0,0,1-.515.246.734.734,0,0,1-.567-.245Q4.769,6.415,3.706,5.349L.812,2.454c-.2-.2-.395-.393-.591-.591A.69.69,0,0,1,.228.844l.6-.6a.708.708,0,0,1,1.062,0L4.456,2.792,6.311,4.64Z" transform="translate(0 0)" fill="%23fff"/></svg>');
    }
    .mega-indicator{
        display: none !important;
    }
    
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link{
        background-color: #669999;
        border-radius: 1rem 1rem 0rem 0rem;
        height: 3.75rem;
        margin-top: 0rem;
        margin-bottom: -1.25rem;
    }
    
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu{
        margin-top: 0.1875rem;
        padding: 1.25rem 1.75rem 1.25rem  1.25rem;
        background-color: #f0f0f0;
        border-radius: 1.25rem;
    }
    
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(2) > ul.mega-sub-menu{
        left: unset !important;;
    }
    .mega-sub-menu:has(.mega-menu-columns-4-of-12){
        width: 80% !important;
    
    }
    .mega-sub-menu:has(.mega-menu-columns-6-of-12){
        width: 53% !important;
    
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(2) > ul.mega-sub-menu{

    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(3) > ul.mega-sub-menu{
        left: unset !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(4) > ul.mega-sub-menu{
       // left: unset !important;
        //right: 0rem !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(5) > ul.mega-sub-menu{
        left: unset !important;
        right: 0rem !important;
    }
    
    .mega-menu-row .mega-sub-menu,
    .mega-menu-column .mega-sub-menu{
        width: 100% !important;
    }
    
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
        //width: 20rem;
        //min-width: 20rem;
        //max-width: 20rem;
        margin: 0;
        padding: 0rem 0.9375rem 1.125rem 0.625rem;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
        margin:0;
        color:#000;
        text-decoration: none;
        white-space: break-spaces;
        font-size: 1.125rem !important; 
        line-height: 1.5rem !important;
        font-weight: 400;
        font-family: "PT Sans",sans-serif;
        font-weight:bold
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu .mega-description-group .mega-menu-description{
        margin-top: 0.1875rem !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-title,
    #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-title,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link .mega-menu-title {
        font-size: 1.125rem !important; 
        line-height: 1.5rem !important;
        
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mega-menu-title {
        text-decoration: underline;
        font-weight:bold;
        color:#000;
        font-size: 1.125rem !important; 
        line-height: 1.5rem !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mega-menu-description {
        color:#000;
        margin-top: 0.1875rem;
    }
    
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.break-here > a.mega-menu-link {
        font-size:1.125rem;
        line-height: 1.3125rem;
        font-family: "PT Sans",sans-serif;
        text-transform: uppercase;
    }
    
    #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-description{
        font-style: normal;
        font-size: 1rem; 
        line-height: 1.3125rem;
        font-family: "PT Sans",sans-serif;
    }
    .list-wrapper2,
    .list-wrapper3 {
        display: none;
    }
    
    }
    
    @media only screen and (max-width: 62.5rem) {
    
        .mega-indicator{
            display: none !important;
        }
        .mega-indicator::after{
            display: none !important;
        }
    
        #mega-menu-primary{
            padding-top: 1.25rem !important;
            padding-bottom: 8.125rem !important;
    
            height: calc(100vh - 5rem) !important;
        }
        .admin-bar #mega-menu-primary{
            margin-top: 0.625rem !important;
        }
    #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open:after{
        display: none !important;
    }
    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
        width: 100vw;
        max-width:100vw;
        padding: 0rem 2.125rem;
        margin: auto;
        left: calc(-100% - 2.125rem);
        top:0.0625rem;
        margin-top: 0.625rem;
        min-height: 100vh;
        background-color: #F0F0F0;
        position: relative;
        box-shadow: inset 0rem 0.125rem 0.125rem 0rem rgba(0, 0, 0, 0.3);
        //overflow: hidden !important;
    
    }
    
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu{
        margin-top: 0rem;
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link:after {
        content:"";
        width: 1.25rem;
        height: 0.9375rem;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="9.095" height="15" viewBox="0 0 9.095 15"><path id="Path_1369" data-name="Path 1369" d="M7.515,3.553c.52.526,1.03,1.048,1.546,1.564q1.857,1.856,3.718,3.708a.834.834,0,0,0,1.232,0c.236-.242.477-.479.716-.718a.817.817,0,0,0,0-1.222L11.379,3.538Q9.758,1.915,8.138.29A.9.9,0,0,0,7.532,0a.864.864,0,0,0-.667.288Q5.614,1.544,4.363,2.8L.956,6.207c-.232.232-.465.463-.7.7A.812.812,0,0,0,.269,8.1l.71.71a.833.833,0,0,0,1.25,0l3.016-3L7.429,3.634Z" transform="translate(9.095) rotate(90)" fill="%23fff"/></svg>');
        display: inline-block;
        position: absolute;
        top: 1.1rem;
        right: 1.25rem;
        transform: rotate(90deg);
       
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link:after{
        transform: rotate(-90deg);
        top: 0.375rem;
    }
    
   

    .mega-sub-menu{
    
        
        .mega-menu-item-has-children > .mega-menu-link > .mega-description-group  > .mega-menu-title{
         
            position: relative;
            display: inline-block;
            &:after{
                content:"";
                width: 1.25rem;
                height: 1.375rem;
                background-repeat: no-repeat;
                background-size: contain;
                background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><path id="Path_1369" data-name="Path 1369" d="M7.515,3.553c.52.526,1.03,1.048,1.546,1.564q1.857,1.856,3.718,3.708a.834.834,0,0,0,1.232,0c.236-.242.477-.479.716-.718a.817.817,0,0,0,0-1.222L11.379,3.538Q9.758,1.915,8.138.29A.9.9,0,0,0,7.532,0a.864.864,0,0,0-.667.288Q5.614,1.544,4.363,2.8L.956,6.207c-.232.232-.465.463-.7.7A.812.812,0,0,0,.269,8.1l.71.71a.833.833,0,0,0,1.25,0l3.016-3L7.429,3.634Z" transform="translate(9.095) rotate(90)" fill="%23000"/></svg>') !important;
                display: inline-block;
                position: relative;
                top: 0.5rem;
                right: -0.625rem;
            }
       
        }
    }
    
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link  {
        margin-left: 1.25rem;
        color: #555;
        font-family: inherit;
        font-size: 0.875rem;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: bold;
        text-align: left;
        vertical-align: top;
        display: block;
        border: 0;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link{
        width: 100%;
        margin:  0.625rem auto 0rem auto;
        color:#fff;
        background-color: #EE0000;  
        border-radius: 1.25rem;
        text-align: left;
        height: 2.5rem;
        margin-top: 0rem;
        font-size: 1.125rem;
        position: relative;
        font-family: "PT Sans",sans-serif;
        font-weight: 700;
        padding-left: 2.5rem;
        margin-bottom: 0.875rem;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link:hover,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link:hover, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link:hover{
        background-color: #669999;
    }
    
    
    .sub-menu-wrapper{
        //background-color: #F0F0F0;
        width: 100% !important;
        height: auto;
        padding: 0rem 4% !important;
        margin-bottom: 12.5rem;
        float: none !important;
    
    }
    
    
        #mega-menu-wrap-primary{
            width: 100%;
            height: 1.875rem;
            top: 2.4375rem;
            right: 0rem;
            position:absolute;
            background: transparent;
       
        }
        #mega-menu-wrap-primary .mega-menu-toggle{
            background: transparent;
            
        }#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right{
            z-index: 9999;
            position: relative;
        }
        #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:only-child{
            background-color: #EE0000;
            border-radius: 50%;
            width: 2.1875rem;
            height:  2.1875rem;
            margin-right: 0.9375rem;
        }
       
        #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:active:only-child{
            background-color: #669999;

        }
        #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu{
            //display: none !important;
        }
      
        .sub-mobile-menu  .mega-sub-menu{
            position: absolute !important;
            top: 0  !important;
            left: 0  !important;
            right: 0 !important;
            height: 100vh  !important;
            transform: translateX(200%)  !important;
            backface-visibility: hidden  !important;
            transition: transform 0.5s  !important;
            background-color: #F0F0F0;
            padding: 2.5rem 2.5rem 3.75rem 2.5rem;
        }
        
        .list-wrapper2,
        .list-wrapper3 {
            position: absolute !important;
            top: 0 ;
            left: 0 ;
            right: 0 ;
            height: 100%;
            min-height: unset;
            transform: translateX(100%)  !important;
            backface-visibility: hidden  !important;
            transition: transform 0.5s  !important;
            background-color: #F0F0F0;
            padding: 1.25rem 2.5rem 3.125rem 2.5rem;
            max-width: 100%;
            overflow-y: scroll;
            overflow-x: hidden;
            box-shadow: inset 0 0.1875rem 0.375rem rgba(0,0,0,.1607843137);
            ul.mega-sub-menu{
                display: block !important;
            }
            li.mega-menu-item-has-children > a.mega-menu-link:after{
                display: none !important;
            }
      
        }
    
        .list-wrapper2.is-visible,
        .list-wrapper3.is-visible {
            transform: none !important;
           
        }
    
        .mega-menu-item  .list-wrapper:nth-child(1) > ul > li > .sub-menu{
            display: none;
        }
        .mega-sub-menu .mega-menu-item{
            margin-top: 0.875rem !important;
        }
        .mega-sub-menu .mega-current_page_item a .mega-menu-title,
        .mega-sub-menu .mega-menu-item a:hover .mega-menu-title,
        .mega-sub-menu .mega-menu-item a:active .mega-menu-title,
        .mega-sub-menu .mega-menu-item:active a .mega-menu-title{
          text-decoration: underline !important;
        }
    
        .mega-menu-title{
            color: #000;
            font-weight: bold;
            font-size:1.25rem !important;;
            line-height: 1.4375rem !important;;
            margin-bottom: 0.3125rem;
        }
        .mega-menu-description{
            color: #000;
            font-style: normal !important;
            font-size:1rem !important;;
            line-height: 1.25rem !important;;
            display: none !important
        }
    
        .list-wrapper3 .mega-sub-menu .mega-menu-item a{
            color: #000 !important;
            font-style: normal !important;
            font-size:1rem !important;;
            line-height: 1.25rem !important;;
           
        }
        .list-wrapper3 .mega-sub-menu .mega-menu-item:first-of-type a{
            color: #000 !important;
            font-weight: bold;
            font-size:1.25rem !important;;
            line-height: 1.4375rem !important;
        }
    
    }
    
    #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open .mega-toggle-block-3:after{
        content: "\00d7"; 
        font-size: 1.8rem;
        font-weight: 700;
        color: #fff;
        margin: 0 0 0 0.58rem;
        line-height: 1.3625rem;
    }
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-3:after {
        content: "\f333";
        font-family: dashicons;
        font-weight: 500;
        font-size: 1.6875rem;
        color: #fff;
        margin: 0rem 0 0 0.3813rem;
        line-height: 2.5rem;
        @media only screen and (max-width: 62.5rem) {
            line-height: 2.1875rem;
            font-size: 1.4375rem;
        }
        
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:hover > a{
        background-color: #669999 !important;
    }

    @media only screen and (max-width: 48.875rem) {
    .mega-menu-title{
        font-size: 1.125rem  !important;
    }
    .mega-menu-description{
        font-size: 1rem  !important;
    }
    .break-here{
        .mega-menu-title{
            font-size: 1.25rem !important;
            text-transform: uppercase;
        }
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row .mega-menu-column > ul.mega-sub-menu > li.mega-menu-item{
        padding: 0rem 0.9375rem;
    }
}

@media only screen and (max-width: 62.5rem){
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-item.mega-toggle-on ul.mega-sub-menu {
    display: block;
    margin-bottom: 0.625rem !important;
    padding-top: 0rem !important;
}
}
.admin-bar{
    .back-one-level{
        top: 11.125rem;
    }
}