html, body { height: 100%; }
* {box-sizing: border-box}
body {font-family: "Lato", sans-serif;}

div.container {
    padding: 10px;
    max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-height: 550px;
    min-height: 100%;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Style the tab */
.tab {
    float: left;
    max-width: 177px;
    width: 20%;
    max-height: 550px;
}

.plusdivs-plus, .plusdivs-minus {
    font-size: 2em;
    color: red;
    text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
    z-index: 1;
}

/* Style the buttons inside the tab */
.tab button {
    display: block;
    background-color: #930c0c;
    color: white;
    padding: 12px 8px;
    margin: 0 0 5px 0;
    width: 100%;
    border: 1px solid #ccc;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1em;
    border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #5e3e3e;
}

/* Create an active/current "tab button" class */
.tab button.active {
    background-color: #2c0e0e;
}

.content_pane {
    float: left;
    width: 80%;
    height: 400px;
    background-image: url('images/The_Battle_Logo_Alpha.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 253px 300px;
}

.imgwrapper {
    width: 484px;
    height: 324px;
    overflow: hidden;
}

img { 
    margin: 0;
 }

 .imgtitle {
     font-size: 1em;
     text-align: center;
 }

/* Style the tab content */
.tabcontent, #default_content {
    float: left;
    padding: 0px 12px;
    width: 100%;
    min-height: 100%;
    height: 100%;
}

.tabcontent {
    display: none;
    position:relative;
}

.tabcontent IMG {
    position:absolute;
    top:0;
}

#default_content {
    display: block;
    padding: 25px;
}

.topnav {
    background-color: #930c0c;
    overflow: hidden;
  }
  
  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 5px 5px;
    text-decoration: none;
    font-size: .9em;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #5e3e3e;
    color: black;
  }
  
  /* Add a color to the active/current link */
  .topnav a.active {
    background-color: #2c0e0e;
    color: white;
  }

.modal {
    display: none;
    position: fixed;
    z-index: 11;
    padding-top: 45px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
  }

  /* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1024px;
  }

  .modal-content IMG {
    width: 100%;
    max-width: 1024px;
  }

  /* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1024px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }

  /* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }

  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 10px;
    right: 35px;
    color: #f1f1f1;
    font-size: 2em;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

@media only screen and (max-width: 800px) {
    .tab button {
        font-size: .9em
    }
}

@media only screen and (max-width: 840px) and (min-width: 300px) {
    header { text-align: center; }
    div.container { padding: 0; }
    .content_pane { width: 98%;}
    .imgtitle { font-size: .7em; }
    .tab {
        width: 2%;
        padding-top: 40px;
    }
    .tab button { 
        
        width: 150px;  
        position: relative; 
        left: -130px;
        z-index: 2;
        transition: 0.3s;
        font-size: .7em; 
    
    }
    .tab button:hover {
        left: 0;
      }
}

@media only screen and (max-width: 499px) {
    .content_pane { height: 300px;}
    .tab { padding-top: 0; }
    .tab button { font-size: .6em; }
    h2 { font-size: .8em; }
    h3 { font-size: .7em; }
    p { font-size: .6em; }
    img { 
        max-width: 320px; 
        max-height: 214; 
    } 
    .imgwrapper {
        max-width: 320px;
        max-height: 214px;
    }
}
