resources-list:hover')) {
                document.getElementById('dropdown-resources').checked = false;
              }
            }, 350);
          });
          // if mouseout of sublist, uncheck immediately
          document.querySelector('.resources-sublist').addEventListener('mouseout', function() {
            setTimeout(function() {
              if (!document.querySelector('.resources-sublist:hover') && !document.querySelector('#resources-list:hover')) {
                document.getElementById('