/* ============================================= */
/*                 Whole Document                */
/* ============================================= */

/* Basic styling for html and body to set a fixed height */
html, body {
  height: 75%;
}

/* Wrapper for centering and setting max width and height */
.wrapper {
  width: 100%; 
  max-width: 1800px;
  height: 75%;
  max-height: 1000px;
  margin: 0 auto;
  background: #CCC;
}

/* Border style for screenshots */
.screenshot {
  border: 1px solid #ccc;
}

/* ============================================= */
/*                    Tables                     */
/* ============================================= */

/* Remove link underlining for specific table cells */
table.table td a:only-child:link,
table.table td a:only-child:visited {
  text-decoration: none;
}

/* Add underlining on hover for links in table cells */
table.table td a:only-child:hover,
table.table td a:only-child:active {
  text-decoration: underline;
}

/* ============================================= */
/*                      Well                     */
/* ============================================= */

/* Rounded, soft background 'well' section */
.well {
  background-color: #F5F5DC;
  border-radius: 40px 0 40px 0;
}

/* ============================================= */
/*                   Comments                    */
/* ============================================= */

/* Styling for comment blocks */
p.comment {
  background-color: #DBDBDB;
  padding: 10px;
  border: 1px solid black;
  margin-left: 25px;
  border-radius: 5px;
  font-style: italic;
}

/* ============================================= */
/*                  Headings                     */
/* ============================================= */

/* H1: Bold Arial font for primary title */
h1.title {
  font-weight: bold;
  font-family: Arial;
}

/* H2: Regular Arial font for secondary title */
h2.title {
  font-family: Arial;
}

/* ============================================= */
/*            Table of Contents (TOC)            */
/* ============================================= */

/* Styling for the table of contents */
#TOC {
  font-size: 13px;
  font-family: Arial;
}

/* ============================================= */
/*                    Footer                     */
/* ============================================= */

/* Footer section with different content alignment */
#site-footer {
  height: 50px;
}

/* Footer 1: Left side, 80% width */
#footer1 {
  width: 80%;
  float: left;
}

/* Footer 2: Right side, 20% width */
#footer2 {
  width: 20%;
  float: right;
}

/* ============================================= */
/*                   Iframes                     */
/* ============================================= */

/* Container for iframe, using padding for responsiveness */
.h_iframe {
  position: relative;
  padding-top: 100%;
}

/* Resizing the iframe for responsive scaling */
.h_iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(0.6);
  transform-origin: top left;
  overflow: hidden;
}

/* ============================================= */
/*                    Buttons                    */
/* ============================================= */

/* General button styling with uppercase text */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}

/* Large button variation */
.btn-lg {
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
}

/* Primary button styling */
.btn-primary {
  background: #0099cc;
  color: #ffffff;
}

/* Hover effects for primary buttons */
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, 
.btn-primary.active, .open > .dropdown-toggle.btn-primary {
  background: #33a6cc;
}

/* Active state for primary button */
.btn-primary:active, .btn-primary.active {
  background: #007299;
  box-shadow: none;
}

/* Default button styling with right float */
.btn-default {
  font-size: 10px;
  float: right !important;
}

/* Round button variant */
.round {
  border-radius: 24px;
}

/* ============================================= */
/*                    Gaps                       */
/* ============================================= */

/* Small margin to create spacing between elements */
.small-gap {
  margin-bottom: 10px;
}

/* ============================================= */
/*              Collapsible Sections             */
/* ============================================= */

/* Styling for collapsible section summaries */
details summary {
  cursor: pointer;
  padding: 10px;
  background-color: #95a5a6;
  color: white;
  border: none;
  text-align: left;
  font-size: 15px;
  margin-left: 2em;
  margin-right: 2em;
}

/* Hover effect for summary */
details summary:hover {
  background-color: #18bc9c;
}

/* Change background when collapsible section is open */
details[open] summary {
  background-color: #95a5a6;
}

/* Margin for collapsible content (excluding summary) */
details > *:not(summary) {
  margin-left: 5em;
}

/* Additional styling for collapsible content */
.collapsible-content {
  background-color: #DBDBDB;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 40px;
}
