body {
    font-family: Helvetica, sans-serif;
    margin:40px;
}

div {
    border:20px;
    margin:0px;
}

/* Style landing page bullet points */
ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Defra icon banner at top of page*/
.defra-img {
  width: 60%;
}

/* topnav
    Styling of navigation banner at top of page
*/

/* topnav - Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* topnav - Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* topnav - Active page is highlighted in different colour in topnav menu */
.active {
  background-color: #00A33B;
  color: white;
}

/* topnav - Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* topnav - Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* topnav - Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* topnav - Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* topnav - Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* topnav - Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

/* topnav - Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

/* topnav - Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Scrollable container for goal svg images */
div.scroll-container {
  background-color: #333;
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
  height: 500px;
  border: 4px solid #555;
}

/* levels
    Style the containers, headings, icons and behaviours of the actions, commitments etc...
*/

/* levels - Default styling of all level containers */
.container {
    padding:20px;
    padding-left:0px;
    padding-right:0px;
    padding-top:10px;
    padding-bottom:0px;
    margin:5px;
    border-radius: 5px 5px 5px 5px;
    border-right: 2px solid black;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.6);
}

/* levels - Specific styling for vision containers */
.container-vision {
    border-left: 4px solid #F46A25;
    border-right: 4px solid #F46A25;
    border-top: 4px solid #F46A25;
    border-bottom: 4px solid #F46A25;
}

/* levels - Specific styling for impact containers */
.container-impact {
    border-left: 4px solid #A285D1;
    border-right: 4px solid #A285D1;
    border-top: 4px solid #A285D1;
    border-bottom: 4px solid #A285D1;
}

/* levels - Specific styling for outcome containers */
.container-outcome {
    border-left: 4px solid #801650;
    border-right: 4px solid #801650;
    border-top: 4px solid #801650;
    border-bottom: 4px solid #801650;
}

/* levels - Specific styling for commitment containers */
.container-commitment {
    border-left: 4px solid #28A197;
    border-right: 4px solid #28A197;
    border-top: 4px solid #28A197;
    border-bottom: 4px solid #28A197;
}

/* levels - Specific styling for action containers */
.container-action {
    border-left: 4px solid #12436D;
    border-right: 4px solid #12436D;
    border-top: 4px solid #12436D;
    border-bottom: 4px solid #12436D;
}

/* levels - Style the text within the level containers */
.level-header {
    padding-bottom:10px;
    padding-left:10px;
    padding-top:10px;
    padding-right:10px;
}

/*
.level-header::after {
    content: '\f0a2';
    font-family: FontAwesome;
    font-weight: normal;
   font-style: normal;
}*/

/* Style the 'of interest' icon */
.alert {
    width: 25px;
    height: 25px;
    display: block;
    margin-left: auto;
}

/* Positioning of the 'of interest' icon */
.marked {
    display: flex;
    justify-content: space-around;
}

/*.has-marker::after {
    content: " here!";
}

.has-new-system-link::after {
    content: " linked!";
}*/

/* Positioning of the system link icon */
.has-system-link {
    display: flex;
    justify-content: space-around;
}

/* If the .container-action class does not have a .marked class then hide the icon */
.container-action:not(.marked) > i.alert {
    visibility: hidden;
}

/* If the .container-action class does not have a .system-link class then hide the icon */
.container-action:not(.has-system-link) > i.system-link {
    visibility: hidden;
}

.container-commitment:not(.has-system-link) summary.level-header i.system-link {
    visibility: hidden;
}

/* Toggle checked - display both marked & not marked actions */
.collapsible-input:checked ~ .container-action:not(.marked) {
  display: flex;
  justify-content: space-around;
}

.collapsible-input:checked ~ .container-action.marked {
  display: flex;
  justify-content: space-around;
}

/* Toggle unchecked - display only marked, all others hidden */
.collapsible-input:not(checked) ~ .container-action.marked {
  display: flex;
  justify-content: space-around;
}

.collapsible-input:not(checked) ~ .container-action:not(.marked) {
  display: none;
}


/* Style the action list */
.list-of-actions {
  display: flex;
  justify-content: space-around;
}

/* Style the toggle for filtering actions */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.collapsible-input {
  display: none; /* Hide the checkbox */
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.collapsible-input:checked + .switch .slider {
  /*background-color: #2196F3;*/
  background-color: #00A33B;
}

.collapsible-input:focus + .switch .slider {
  box-shadow: 0 0 1px #2196F3;
}

.collapsible-input:checked + .switch .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
