{
    margin: 0;
    box-sizing: border-box;
    font-family:Geneva, Arial, Helvetica, sans-serif;
}

.body {
    margin: 4px;
  }
  
.grid-container {
    display:grid;
    grid-template-areas:
      'shipname shipname modelname modelname'
      'othermodels othermodels location location'
      'topspacer topspacer topspacer topspacer'
      'side-l modelpic shippic side-r'
      'lower-cue lower-cue lower-cue lower-cue'
      'side-bl datatable datatable side-br'
      'bott bott bott bott';
    gap: 0px;
/*    background-color:rgb(205, 232, 255);*/
    padding: 0 7vw 1vh 7vw;
   }

.grid-container > div {
/*    background-color: #f1f1f1;*/
    color:#000;
    padding:0;
}

.model-navbar {
    display: grid;
    /*grid-template-columns: auto auto 1fr auto;*/
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6rem;
    background-color: #ffffff;
    /*padding: 0.5rem 2rem .2rem 2rem;*/
    padding: 0.1rem 7vw 0 7vw;
    color: #000000;
    height: 30px;
}

.model-navleft {
    /* display: flex; */
    align-items: center;
    gap: 0.1rem;
    /* justify-content: left; */
}

.model-nav-links {
    
    display: flex;
    gap: 0.1rem;
    list-style: none;
    margin-left: -2rem;
    /* justify-content: left; */
}
.model-nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: inherit;
    /*font-size: 0.6rem;*/
    transition: color 0.2s;
}
.model-nav-links a:hover {
    color: #00adb5;
}

.model-nav-right {
    display: flex;
    font-size: inherit;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-end; /* Ensures tight alignment to the far right */
}

#model-nav-searchForm {
    display: flex;
    font-size: inherit;
    align-items: center;
    gap: 6px;
    border:none;
    border-color: #777777;
    border-width: 1px;
    outline:none;
}

#searchInput {
    font-size: inherit;
}

.modelsearchbutton {
    font-size: inherit;
}

.model-nav-search {
    display: flex;
    align-items: center;
    border: solid;
    border-color: #777777;
    border-width: 1px;
    
    outline:none;
}
.model-nav-search input {
    padding: 0.4rem 0.8rem;
    border: none;
    /* border-radius: 4px; */
    font-size: 0.6rem;
    width: 250px;
    background-color: #ffffff;
    color: #000000;
    outline: none;
}

.model-nav-search input::placeholder {
    color: #8b8f9a;
}

.model-nav-search input:focus {
    /*background-color: #2d3250;*/
    outline: none;
    background-color: #ffffff;
    /*box-shadow: 0 0 0 2px #00adb5;*/
}

.model-nav-data {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.6rem;
    background-color: #ffffff;
    padding: 0.4rem 0.75rem;
    border: none; /*1px solid #393e46; */
    white-space: nowrap;
}

.model-data-badge {
      display: inline-block;
      width: 8px;
      height: 8px;
      background-color: #4caf50;
      border-radius: 50%;
    }



/*
/* Responsive adjustments for smaller screens
@media (max-width: 600px) {
    .model-navbar {
        grid-template-columns: auto 1fr ;
        gap: 1rem;
        height: auto;
        padding: 1rem;
    }
    .model-nav-links, .nav-data {
        display: none; /* Hides links and data on mobile for clean design
    }
    .model-nav-search input {
        width: 100%;
    }
}
*/

.navbar-item {
    grid-area: navbar;
}

.navbar-box {
    display:inline-flex;
/*    align-items:last baseline; */
    font-size:2.2vh;
}

.go {
    display: inline;
    padding-left: 8px;
    padding-right: 8px; 
    padding-bottom: 4px;
    width:min-content;
    text-decoration: none;
    color:rgb(0, 0, 0);
}

.cuebar-item {
/*    position: relative;*/
    grid-area: cuebar;
}

.cuebar-box {
    position: relative;
    font-size: 2.2vh;
}

.cue {
    display: inline-flex;
    /*    align-items: last baseline;*/
    position: absolute;
    right:6px;
    padding-bottom: 4px;
}

.bott-item {
    grid-area: bott;
}

.bott-box {
    padding-top: 0;
    text-align: center;
    font-size: 1.7vh;
    color:DarkRed;
}

.tl-hdr-box, .tr-hdr-box, .bl-hdr-box, .br-hdr-box {
    position: relative;
    background-color:#FFFFCC;
    border: #000;
    border-width: 1px;
    border-style: solid;
    padding: 8px;
}

.bl-wrapper, .br-wrapper {
/*    display: flex; /~Unnecessary?~/*/
    max-height:5vh;
    max-width:40vw;
    position: absolute;
} 
.bl-wrapper {bottom:4px; left:8px;}
.br-wrapper {bottom:4px; right:8px;}
.bl-wrapper a {text-decoration: none; color:#000;}

.tl-hdr-box {
    border-right:#FFFFCC;
    border-bottom:#FFFFCC;
    height:8vh;
    font-size: 5vh;
    font-weight: bold;
    }

.tr-hdr-box {
    border-left: #FFFFCC;
    border-bottom: #FFFFCC;
    height: 8vh;
    font-size: 4vh;
    font-weight: bold;
}

.bl-hdr-box {
    height:6vh;
    border-right: #FFFFCC;
    border-top: #FFFFCC;
    font-size: 2vh;
}

.br-hdr-box {
    height:6vh;
    border-left: #FFFFCC;
    border-top: #FFFFCC;
    font-size: 2vh;
}

.topspacer-item {
    grid-area: topspacer;
    height: 10px;
    border-left:#000;
    border-right:#000;
    border-width: 0px 1px 0px 1px;
    border-style: solid;
    border-bottom: none;
    border-top:none;
}

.shipname-item {
    grid-area: shipname;
    text-align:left;
}

.modelname-item {
    grid-area: modelname;
    text-align: right;
}

.othermodels-item {
    grid-area: othermodels;
    text-align: left;
}

.location-item {
    grid-area: location;
    text-align: right;
}

.modelpicitem {
    grid-area: modelpic;
    text-align: center;
}

.side-l-item {
    grid-area: side-l;
}

.side-r-item {
    grid-area: side-r;

}

.side-bl-item {
    grid-area: side-bl;
}

.side-br-item {
    grid-area: side-br;
/*    background-color: crimson;*/
}

.box-side {
    height:100%;
/*    background-color: rgb(169, 215, 255);*/
    border-style: none;
    border-width: 1px;
}

.box-side-l {
    border-left-style: solid;
}

.box-side-r {
    border-right-style: solid;
}

.shippic-item {
    grid-area: shippic;
    text-align: center;
}

/*.side-lower-cue-l-item { grid-area: side-lower-cue-l; }
.side-lower-cue-r-item { grid-area: side-lower-cue-r; border-right-style:solid;}
*/

.lower-cue-item { grid-area: lower-cue; }

.lower-cue-box {width: 100%;
		border-width: 1px;
		border-left-style:solid;
		border-right-style:solid;
		height: 3vh;
 		font-size: 1rem;
		color: Blue;
		text-align: center; 
}

.dt-table {
/*    border: 1px solid #000;*/
    width: 80%;
/*    background-color:#ae6262; */ 
}

.dtin-table {
/*    background-color: #c9aaaa;*/
    width:100%;
    margin-right: auto;
    margin-left: auto;
}

.dt-item {
/*    text-align: center;*/
/*    background-color: rgb(150, 255, 222);*/
    grid-area: datatable;
}

.dt-box {
    display: flex;
    justify-content: center;
/*    background-color: #f97c952b;*/
    padding-bottom:5px;
    border-style:none;
    border-bottom-style: solid;
    border-color:#000;
    border-width:1px;
}

/*.box-c {
    grid-area: 2 / 2 / span 1 / span 2;
    margin: 10px auto 10px auto;
  }*/

.box-side-bl {
    border-left-style:solid;
    border-bottom-style:solid;
}

.box-side-br {
    border-right-style: solid;
    border-bottom-style: solid;
}

.box-l {
    margin: 4px 8px 4px auto;
  }
  
.box-r {
    margin: 4px auto 4px 8px;
  }
    
.box-30 img {
/*      border: 1px solid #000;*/
      width: 40vw;
      height: 90%;
/*      background-color:lavender;*/
  }
    
.box-contain img {
      object-fit: contain;
  }

.model-photo-credit {
    font-size: 1.5vh;
    text-align: center;
}
  
.md-row {
    font-size:1.9vh;        
}

.md-l {
    width: 50%;
    text-align: right;
    padding-right: 4px;
    padding-bottom: 0;
    padding-top: 0;
/*    background-color: burlywood;*/
}

.md-r {
    width: 50%   ;
    text-align: left;
    padding-left: 4px;
    padding-bottom: 0;
    padding-top: 0;
/*    background-color: bisque;*/
}

.md-r a {text-decoration: none; color:#000;}

.hidden {display:none;}

.full-screen {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    align-content: center;
    text-align: center;
    background-color:white;
    color:white;
}

.center-fit {
    max-width: 98%;
    max-height: 98%;
    margin: auto;
}

.MHdrRow {
    color: #000;
    background-color: #FFFFCC;
    border-bottom: 1px solid #000;
    padding: 1em;
    font-size: xx-large;
    font-weight: bold;
}


.MRow {
    text-align: center;
    font-weight: bold;
    font-size: large;
    padding: 1em;
}

#MTable {
    margin: 0 auto;
    border: 1px solid #000;
    background-color:#FFFFFF;
}

A:link { text-decoration: none; color:#000 }
A:visited { text-decoration: none; color:#000; }
A:hover { text-decoration: underline; color:#990000; }
A:active {color:#FFF;}


#GroupTable {
    width: auto;
    font-size: medium;
    border: 1px solid #000;
    background-color:#FFFFFF;
}

.GHdrRow {
    color: #000;
    background-color: #FFFFCC;
    border-bottom: 1px solid #000;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
}

.GDataRow {
    font-size: medium;
    padding-top: .5em;
    padding-left: 1em;
    padding-right: 2em;
}

.GDataFL {
    padding-left: 1em;
    border-left: none;
}

.GDataL {
    padding-left: 1em;
    border-left: 1px solid #000;
	}

.GDataR {
    text-align: right;
    padding-left: 2em;
    padding-right: 1.5em;
}

#IndexTable {
    width: 1024px;
    font-size: medium;
    border: 1px solid #000;
    background-color:#FFFFFF;
}

.idx-hdr-row {
    background-color: #FFFFCC;
    text-align: center;
    color: #000000;
    border-bottom: 1px solid #000;
    padding-top: 1em;
    padding-bottom: .5em;
}

#idx-row-alt {
    padding-left: 1em;
    font-size: large;
    tr:nth-of-type(odd) {
	background-color:#ccc;
    }
}

.idx-row {
    padding-left: 1em;
    font-size: large;
}

.hdr-row-1 {
    background-color: #FFFFCC;
    color: #CCCCCC;
    border-bottom: 0px ;
    padding-top: 1em;
    padding-left: 1em;
    padding-right: 1em;    
    padding-bottom: 0;
    
}

.hdr-row-2 {
    background-color: #FFFFCC;
    color: #CCCCCC;
    font-weight: normal;
    border-bottom: 1px solid #000;
    padding-top: 0;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 0;
}


/*img.ctrd {
    /~width:400px;~/
    margin-left:auto;
    margin-right:auto; 
    /~align-items: center;~/
 }*/

/*.d-href a {
    color: #FFFFFF;
    text-decoration: none;
}*/
