﻿/* Cern.Web CSS for Menu Control and Label control */

table.cern_web_menu {
  width: 100%;
  padding: 5px;
  border-color: white;
  background-color: white;
  border-style: none;
  border-width: 1px;
  margin-bottom: 4px;
}

table.cern_web_menu a {
  color: #0D50A3;
  text-decoration: none;
}

table.cern_web_menu a:hover {
  color: #126EDE;
  text-decoration: none;
}

table.cern_web_menu td {
  margin: 0px;
  padding: 2px;
}

table.cern_web_menu td td {
  margin: 0px;
  padding: 0px;
}

tr.cern_web_menu_section_header th {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-top-width: 1px;
  height: 28px;
  font-weight: bold;
  vertical-align: middle;
}

/* Menu style for small devices */
@media only screen and (max-width: 600px) {

    /* Cern.Web standard Menu */
    tr.cern_web_menu_section_header td {
        font-size: 1.5rem;
    }

    .cern_web_menu_link {
        font-size: 1.2rem;
    }

    .cern_web_menu_section_footer {
        font-size: 1rem;
    }

    .cern_web_menu_section_icon {
        display: none;
    }

    .cern_web_menu_section_icon_img {
        display: none;
    }

}

/* Menu style for regular devices */
@media only screen and (min-width: 601px) {

  tr.cern_web_menu_section_header td {
    border-bottom-color: #dddddd;
    color: #606060;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-top-style: none;
    border-top-width: 1px;
    height: 28px;
    vertical-align: middle;
    font-size: 1.8rem;
  }

  .cern_web_menu_link {
    font-size: 1.4rem;
    vertical-align: middle;
  }

  .cern_web_menu_section_footer {
    color: #606060;
    padding-top: 10px;
    font-size: 1.2rem;
    text-align: justify;
  }

  .cern_web_menu_section_icon {
    width: 150px;
    vertical-align: middle;
    text-align: center;
  }

  .cern_web_menu_section_icon_img {
  }

}
