<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <%# The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags %>
  <meta name="description" content="">
  <meta name="author" content="">
  <%= csrf_meta_tags %>
  <%= favicon_link_tag ApplicationConfig["FAVICON_URL"] %>
  <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">

  <title><%= controller_name %></title>

  <%# Latest compiled and minified CSS %>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

  <%# Optional theme %>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

  <%# Latest compiled and minified JavaScript %>
  <%= javascript_include_tag "internal" %>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<style>
  .starter-template {
    padding-top: 5em;
    font-size: 1.4em;
  }

  .row {
    margin-top: 1vw;
    border: 1px solid gray;
    padding: 1vw;
    border-radius: 3px;
  }

  .wrapper {
    display: grid;
    grid-template-columns: 25% 15% 15% 15% 15% 15%;
    padding: 2px;
  }

  .wrapper-8 {
    display: grid;
    grid-template-columns: 4% 15% 25% 7% 7% 7% 20% 15%;
    padding: 2px;
  }

  .wrapper-3 {
    display: grid;
    grid-template-columns: 25% 40% 25%;
    padding: 2px;
  }

  .wrapper-3 div {
    padding: 8px;
  }

  .grid-item {
    word-wrap: break-word;
  }

  .inner-row form {
    display: inline-block;
  }

  .flex-column form {
    display: flex;
    flex-direction: column;
  }

  .flex-column textarea {
    font-size: 12px;
    width: 45%;
    margin-bottom: 5px;
  }

  textarea {
    font-size: 12px;
    width: 75%;
  }

  .btn {
    min-width: 100px;
    width: fit-content;
    width: -moz-fit-content;
    width: -webkit-fit-content;
  }

  .single-internal-listing {
    border-bottom: 1px solid grey;
    padding: 10px;
  }

  .buffering-area-for-single-listing {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 2px;
  }

  .tab {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 10px solid white;
  }

  .tab-current {
    border-bottom: 10px solid rgb(193, 209, 224);
  }

  .tab-current .btn {
    opacity: 0.9;
  }

  .row-plain {
    padding: 0;
    border: 0;
  }

  .featured-bg {
    background: #bbffd2
  }

  .approved-bg {
    background: #92e8ae;
    border: 12px solid #ff9900;
  }

  .highlighted-bg {
    background: #2effa8 !important;
    border: 20px solid black;
  }

  .submitting-no-border {
    background: #96f2cc !important;
  }

  .highlighted-no-border {
    background: #2effa8 !important;
  }

  .highlighted-no-border input[type="submit"] {
    display: none;
  }

  .highlighted-border {
    border: 20px solid black;
  }
</style>

<body>
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      </div>
      <%= render "internal/shared/navbar" %>
    </div>
  </nav>

  <div class="container">
    <div class="starter-template">
      <% flash.each do |type, message| %>
        <div class="alert alert-<%= type %>">
          <button class="close" data-dismiss="alert">X</button>
          <%= message %>
        </div>
      <% end %>
      <%= yield %>
    </div>
  </div>

</body>
</html>
