/* Start custom CSS for html, class: .elementor-element-8c45deb *//* file: gc-styles.css
   updated: 2020-05-12
   project: AGPI Game Catalog
   by: Rick Tucker */

/* note: use CMD-OPTION-R to refresh web page including .css files
   from: https://superuser.com/questions/186594/how-can-i-force-safari-to-perform-a-full-page-reload-without-using-the-mouse
 */

/* Add the Cora font from Adobe */
/* Doesn't work in Custom CSS on Wordpress site - used Custom Adobe Fonts plug-in with project ID mqv8dif instead */
/* Left in here for use in local Mac testing */
@import "https://use.typekit.net/mqv8dif.css";

/*----------------------------------
 HTML Tag Styles
 */

:root {
    --accent-color: #7F83C0;
    font-family: "Cora", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", "Helvetica", "Arial", "sans-serif";
    color: black;
    }
h2.tw-heading {
    font-size: 26pt;
    font-weight: 800;
    margin-bottom: 1.5 em;
}
h2.tw-heading {
    font-size: 24pt;
    font-weight: 800;
    margin-bottom: 1.5 em;
}
/* h3 is used in a game's rules text in the database */
h3 {
    font-style: italic;
    font-size: large;
    color: var(--accent-color);
    margin-top: 0; /* 2em; */
    margin-bottom: 0.2em;
}

p {
    display: block;
    font-size: 13pt;
    margin: 0;
}

span.nobreak {
    white-space: nowrap;
}
/* To do (2021-09-01) remove large margin before and after figure when used in twref settings */
figure::before {
    content: "[figure start] ";
    font-style: italic;
}
figure::after {
    content: " [figure end]";
    font-style: italic;
}
figure > p::before {
    content: "[figure annotation] ";
    font-style: italic;
    margin-left: 2em;
}
figure > p::after {
    content: " [figure annotation] ";
    font-style: italic;
}
figcaption::before {
    content: "[caption start] ";
    font-style: italic;
    margin-left: 2em;
}
figcaption::after {
    content: " [caption end]";
    font-style: italic;
}
figcaption {
    margin-top: 0.7em;
)
/*----------------------------------
 General Styles
 */
.gc-content {
    max-width: 960px;
    margin: auto;
    /* margin-top: 100px; /* ### */
}
.gc-intro {
    margin-top: 1em;
    margin-bottom: 1.3em;
}
.gc-indent {
    margin-left: 2em;
}
/* From (2021-04-19): https://www.w3schools.com/css/css_tooltip.asp */*/
.tooltip {
  position: relative;
  display: inline-block;
  max-width: 100vw;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/*----------------------------------
 Tooltip Styles
 */

.tooltip .tooltip-text {
    visibility: hidden;
    /* width: 30em; */
    max-width: 100vw;
    background-color: whitesmoke;
    color: black;
    border-width: 2px;
    border-color: darkgray;
    text-align: center;
    font-style: normal;
    line-height: 1.8;
    padding: 12px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}
.tooltip {
    font-style: normal;
    font-size: smaller;
    vertical-align: super;
    color: black;
}
.tooltip:hover .tooltip-text {
  visibility: visible;
}

/*----------------------------------
Unorganized Styles
 */

.gc-pretitle {
    /* font-style: italic; */
    color: lightslategray;
    }
.gc-info-text {
    font-style: normal;
    font-weight: bold;
    color: black;
}
div.gc-other, /* To do (2019-10-24) remove div and span */
span.gc-other {
    font-size: 13pt;
    margin-top: auto; /* 2021-04-18: was auto */
    padding-left: 2em;
}
.gc-paragraph,
.gc-list {
    font-size: 13pt;
    padding-top: 4px;
    padding-left: 0em;
}
.gc-line-separator {
    border-top: 1px var(--accent-color);
    margin: 1.5em;
}
/* From: https://tobiasahlin.com/blog/flexbox-break-to-new-row/
   Inserting this collapsed row between two flex items will make the flex item that comes after it break to a new row */
/* .flex-break {
      flex-basis: 100%;
      height: 0;
      margin-bottom: 0em; /* was 0.3em */
} */
/*----------------------------------
 Publisher Styles
 */
.gc-publisher-heading {
    font-size: 17pt;
    font-style: normal;
    font-weight: bold;
    color: black;
    margin-top: 0.3em;
}
/* .gc-publisher-link {
    color: black;
} */
.gc-publisher-name {
    font-size: 20pt;
    line-height: 1.8;
}
.gc-publisher-info {
    font-weight: 400;
    max-width: none;
    margin-top: 0.7em;
    margin-left: 0.7em;
}
.gc-publisher-number {
}
.gc-publisher-info-attribute {
    margin-top: 0.5em;
    font-size: 13pt;
    font-style: italic;
    color: var(--accent-color);
}
.gc-publisher-info-value {
    margin-top: 0.5em;
    font-size: 13pt;
    margin-left: none;
}
.gc-publisher-hr {
    width: 10em;
    text-align: left;
    border-top: 1px dotted gray;
    margin-top: 1.5em;
    margin-left: 2em;
}
.gc-info-value-long .gc-address {
    /* padding-top: 0.3em; */
}
.gc-publisher-location-source {
    margin-top: 0.5em;
}
.gc-publisher-location-item {
    margin-top: 0.5em;
    display: block;
    padding-left: 1em;
}
.gc-address-source {
}

/*----------------------------------
 Nontable Table Styles
 */
.gc-text-wrap-container {
    display: table;
}
.gc-text-cell-attribute {
    display: table-cell;
    white-space: nowrap;
    padding-left: 0.3em;
}
.gc-text-cell-values {
    display: table-cell;
    padding-left: 0.3em;
    padding-right: 0.3em;
}
/* No longer needed? (2021-04-28) */
.gc-text-wrap {
    display: table-cell;
    /* padding-left: 0.3em; */
    vertical-align: top;
}
.gc-text-wrap-attribute {
    font-size: 13pt;
    font-style: italic;
    font-weight: normal;
    color: var(--accent-color);
    margin-bottom: 0.2em;
    display: table-cell;
    padding-left: 0.3em;
    vertical-align: top;
    white-space: nowrap;
}

/*----------------------------------
 Game Table Styles
 To do (2021-04-28) rename to be .gc-game-table-___
 */
.gc-table {
    width: 100%;
    margin-top: 1em;
    border: solid;
    border-width: 3px;
    border-color: lightgray;
    border-collapse: collapse;
}
.gc-table th,
.gc-table td {
    padding-left: 3px;
    margin: 02px;
    line-height: 1.5em;
    border: dotted;
    border-width: 1px;
    border-color: dimgray;
    margin: 0 0 0 0;
    vertical-align: top;
    padding: 0.5em;
    /* word-wrap: break-word; */
}
.gc-table th {
    background-color:#E4E4E4;
    color: black;
    border-color: dimgray;
    text-align: left;
}
.game-id {
    width: 8%;
}
.game-year {
    width: 5%;
    text-align: right;
}
.game-date-range {
    width: 5%;
    text-align: left;
}
.game-title {
    width: 15%;
    font-weight: bolder;
}
.gc-title, .gc-publisher, .gc-count, .gc-twid {
    color: black;
    font-style: normal;
    font-weight: 700;
}
table .gc-table td .game-year { /* To do (2019-10-24) Too specific? */
    border-right: none;
}
table .gc-table td .game-date-range { /* To do (2019-10-24) Too specific? */
    border-left: none;
}
.gc-catalog-number {
    width: 8%;
}
.game-variant-info {
    width: 15%;
}
.game-type {
    width: 10%;
}
.game-other {
    width: 35%;
}

/*----------------------------------
 Game Styles
 */
.gc-game-pretitle {
    font-style: italic;
    color: gray;
}
.gc-game-title {
    font-size: 16pt;
    font-weight: bolder;
    font-style: italic;
    font-size: larger;
    margin-left: 0;
}
.gc-game-info {
    margin-top: 0.7em;
    margin-left: 0.7em;
    font-size: 13pt;
    font-weight: 400;
    display: table;
}
.gc-button-line {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 13pt;
    font-weight: 400;
    display: table;
}
.gc-game-info + .gc-button-line {
    margin-top: 1.3em;
}
.gc-agpi-number {
    font-weight: bold;
    font-style: italic;
    }
.gc-catalog-number {
    text-align: right;
    padding-right: 0.5em;
}
td .gc-game-info {
    font-size: 13pt;
    margin-top: 0;
    margin-left: 0;
}
.gc-search-game-info {
    max-width: none;
    margin-top: 0.5em;
    margin-left: 0;
    font-size: 13pt;
    font-weight: 400;
    display: table;
}
td .gc-search-game-info {
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    font-size: 13pt;
    font-weight: 400;
    display: table;
}
.gc-game-info-attribute { /* see also .gc-info-attribute */
    margin-top: 1rem;
    display: inline-block;
    color: var(--accent-color);
    font-style: italic;
}
.gc-info-attribute {
    font-size: 13pt;
    display: inline-block;
    font-style: italic;
    font-weight: normal;
    color: var(--accent-color);
    margin-bottom: 0;
}
.gc-info-value-short {
    margin-left: 0;
    display: inline-block;
    color: black;
}
.gc-game-short-listing {
    margin-top: 1.3em;
    line-height: 1.4;
    margin-bottom: 0;
    font-size: 13pt;
    color: black;
}
.gc-info-value {
    font-size: 13pt;
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    color: black;
}
.gc-info-value-long {
    margin-top: 0em;
    margin-left: 1em;
    padding-left: 0.5em;
    border-left: 0.4em solid lavender;
    padding-top: 0em;
    padding-bottom: 0.2em;
    line-height: 1.4;
}
.gc-info-value-long > p + p {
    margin-top: 0.7em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    line-height: 1.4;
}
.tw-verse {
    padding-left: 2em;
    list-style-type: none;
}
.gc-game-heading {
    display: block;
    margin-top: 0.4m;
    line-height: 1.3;
}
.gc-game-heading-publisher, .gc-game-heading-title {
    font-weight: 400;
    /* To do (2021-05-12) Make publisher heading sticky */
    /* position: -webkit-sticky; /* for Safari */
    /* position: fixed; /* or sticky */ 
    margin-top: 100px;
    top: 0;
    font-size: 150%;
    font-weight: bold;
    padding-top: 0;
    padding-left: 0.05em;
    padding-bottom: 0.05em;
    display: normal;
}
.gc-game-heading-publisher {
    margin-top: 0em;
    /* border-top: 2px solid lavender; // ### */
}
.gc-game-heading-title {
    margin-left: 0em;
    margin-top: 0.7em;
    padding-top: 0;
    font-style: italic;
    font-size: 16pt;
}
.gc-rules-box {
    margin-left: 1.5em;
    margin-top: 1rem;
    border: 1px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-style: ridge;
    border-color: var(--accent-color);
}
.gc-rules-text {
    margin-top: 0em;
    margin-left: 1em;
    padding-left: 0.5em;
    border-left: 0.4em solid lavender;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}
.gc-rules-text > p {
    margin: 0;
    padding: 0;
    border: 0;
}

/*----------------------------------
 Heading Styles
 */
.gc-highlight-heading {
    border: 3px solid darkgray;
    background-color: #f7f7fb; /* E6E6FA; /* #efefef; */
    margin-top: 1em;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.gc-highlight-heading > .gc-info-attribute {
    margin-top: 0;
}
/*----------------------------------
Individual Reference Entry Styles
*/
.tw-ref-item {
    border: 1px solid lightgray;
    margin-top: 1em;
    padding: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.tw-ref-author-highlight,
.tw-ref-title {
    font-weight: 800;
    font-size: 130%;
}
.tw-ref-date, .tw-ref-name {
    font-weight: 600;
    font-size: 130%;
}
.tw-pre-pub-name {
    color: gray;
}
.tw-pub-name-in-ref {
    font-style: italic;
}
.tw-ref-link {
    
}
.tw-ref-link:link {
    color: darkblue;
    text-decoration: none;
}
.tw-ref-link:visited {
    color: mediumblue;
    text-decoration: none;
}
.tw-ref-link:hover {
    color: darkblue;
    text-decoration: none;
    padding: 5px;
    border: 1px solid lightgray;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
details.tw-details {
    position: relative;
    padding: 5px 0;
}
/*
details.tw-details[open]>summary::after {
    display: inline-block;
    content: "close";
    position: absolute;
    right: 0;
    bottom: 0;
} */
div.tw-country {
    font-size: 24pt;
    font-weight: 800;
    background-color: darkblue;
    color: white;
    padding: 8px 16px 8px 16px;
    display: table;
    border-radius: 25px;
    -webkit-border-radius: 25px;
}
div.tw-country::before {
    content: '★ ';
    color: lavender;
}
div.tw-subcountry, div.tw-school {
    font-size: 22pt;
    font-weight: 800;
    font-style: italic;
    padding: 6px;
    background-color: mediumblue;
    color: white;
    margin-top: 0.4em;
    padding: 8px 16px 8px 16px;
    display: table;
    border-radius: 25px;
    -webkit-border-radius: 25px;
}
div.tw-subcountry::after {
    content: '• (subcountry) ';
    color: white;
    font-size: smaller;
}
div.tw-school::after {
    content: '(academic institution) ';
    color: white;
    font-size: 60%;
}
div.tw-school-address {
    margin-top: 0.4em;
    font-size: 60%;
}
a.tw-school-link {
    color: lightgray;
    text-decoration: none;
    font-size: 60%;
}
a.tw-school-link:hover {
    color: lightgreen;
    font-size: 60%;
}
div.tw-state {
    font-size: 20pt;
    font-weight: 800;
    margin-top: 0.4em;
    padding: 6px;
    background-color: black;
    color: white;
    padding: 8px 16px 8px 16px;
    display: table;
    border-radius: 25px;
    -webkit-border-radius: 25px;
}
/* div.tw-state::before {
    content: '';

} */
div.tw-city {
    font-size: 18pt;
    font-weight: 800;
    font-style: italic;
    padding: 6px;
    background-color: #888888;
    color: white;
    margin-top: 0.4em;
    padding: 8px 16px 8px 16px;
    display: table;
    border-radius: 25px;
    -webkit-border-radius: 25px;
}
div.tw-city::after {
    content: ' • (city)';
    font-size: smaller;
}
summary.tw-summary {
    font-size: larger;
}
.tw-expand {
    font-size: 18pt;
    font-weight: 800;
    font-style: italic;
    padding: 6px;
    background-color: #aaaaaa;
    color: white;
    text-decoration: none;
    margin-top: 0.4em;
    margin-bottom: 1.5em;
    padding: 8px 16px 8px 16px;
    display: table;
    border-radius: 25px;
    -webkit-border-radius: 25px;
}
.tw-expand:hover {
    color: darkblue;
}
/*----------------------------------
 Search Styles
 */
.gc-new-search {
    /* To do (2019-11-14) */
    }

/*----------------------------------
 Search Results Styles
 */
.gc-search-game-attribute-list {
    border-left: 0.4em solid lavender;
    padding-left: 0.1em;
    margin-left: 1em;
}

/*----------------------------------
 Advanced Search Styles
 from advanced-search.php
 */
.gc-search-item {
    display: block;
    font-size: 13pt;
    margin-bottom: 0.7em;
}

/*----------------------------------
 Unorganized Styles
 */
.gc-example {
    font-style: italic;
    font-size: smaller;
    color: gray;
    margin-top: 0.0em;
    margin-left: 0em;
}
.gc-button-line {
    margin-left: 0;
}
summary {
    font-style: italic;
    color: var(--accent-color);
    padding-bottom: 1em;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    outline: 0;
    border-width: 1px;
    border-color: var(--accent-color);
    background-color: white;
    color: var(--accent-color);
}
.gc-summary-related-links {
    margin-top: 0.7em;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 13pt;
}
.gc-larger {
    font-size: 130%;
}
/*----------------------------------
 Search Styles
 */
.gc-search-web {
    color: var(--accent-color);
    margin-top: 1em;
    margin-bottom: 0.2em;
}
/*----------------------------------
 Button Styles
 */

.gc-outlined-button {
    max-width: 100vw;
    display: inline-block;
    text-align: center;
    font-size: 1em;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    /* margin-top: 0.2em;
    margin-bottom: 0.6em; */
    /* To do (2021-05-09) work on margins of this and others in search.php */
    margin-right: 8px;
    margin-left: 8px;
    background-color: #fff;
    color: var(--accent-color);
    border: 2px solid #C2C4E1;
    border-radius: 20px 20px;
    text-decoration: none;
    cursor: pointer;
    font-style: italic;
}
.gc-info-attribute + .gc-outlined-button {
    margin: 0;
}
.gc-button {
    outline: 0;
    border-width: 1px;
    border-color: var(--accent-color);
    background-color: white;
    color: var(--accent-color);
    border-radius: 7px;
    text-align: center;
    margin: 1em;
    padding: 0.7em;
    display: inline-block;
}
.gc-button a:link,
.gc-button a:visited {
    color: var(--accent-color);
    font-size: 13pt;
    text-decoration: none;
}
.gc-button a:hover {
    color: black;
    font-size: 13pt;
    text-decoration: none;
}
/*----------------------------------
 Image Styles for a Game
 */
.gc-image {
    /* display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%; */
    display: block;
    text-align: center;
    }
.gc-game-image {
    display: inline-block;
    max-width: 100%;
    height: auto;
    width: auto\9; /* IE8, per https://stackoverflow.com/questions/16217355/automatically-resize-images-with-browser-size-using-css */
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
.gc-game-image-caption {
    margin-top: 0.5em;
    color: var(--accent-color);
    font-style: italic;
    text-align: center;
}

/*----------------------------------
 Copyright Styles for a Game
 */
.gc-copyright-header, .gc-trademark-header, .gc-patent-header {
    font-style: italic;
    font-weight: 400;
    font-size: 13pt;
    color: var(--accent-color);
    margin-top: 0.7em;
    margin-left: 0.7em;
    margin-bottom: 0.2em;
}
.gc-copyright-entry, .gc-trademark-entry, .gc-patent-entry {
    margin-top: 0em;
    margin-left: 2em;
    padding-left: 0.5em;
    border-left: 0.4em solid lavender;
    padding-top: 0.1em;
    padding-bottom: 0em;
    line-height: 1;
}
.gc-copyright-entry > .gc-game-info,
.gc-trademark-entry > .gc-game-info,
.gc-patent-entry > .gc-game-info {
    margin-left: 0;
    margin-top: 0.4em;
}
/*----------------------------------
 Unorganized Styles
 */

.gc-search-elsewhere, .gc-source {
    margin-top: 0.5em;
    }
.gc-heading {
    font-size: 13pt;
    margin-top: 1.5em;
    }
.gc-search-elsewhere {
    margin-left: 0px;
}
.gc-ref-title {
    font-style: italic;
}

/*----------------------------------
 Link Styles
 */
a.gc-link, .gc-game-link, .gc-publisher-link, .gc-new-search {
    color:#0E0595;
    /* margin-top: 0.5em; */
    text-decoration: none;
    /* display: inline-block; */
    /* line-height: 1em; */
    font-size: 13pt;
    }
a.gc-link:hover, .gc-game-link:hover, .gc-publisher-link:hover, .gc-new-search:hover {
    /* outline: 0;
    border-width: 1px; */
    /* padding: 3px; */
    
    color: black;
    border-color: #665CF9;
    background-color:#EBEBF5;
  
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    }

/*----------------------------------
 Popup Styles
 */

/* Popup container - can be anything you want */
/* from: https://www.w3schools.com/howto/howto-js-popup.asp */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  width: 160px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  /* -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s; */
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/*----------------------------------
 All Publishers Styles
 for show-all-publishers
 */
.gc-all-publishers-heading {
    font-size: 1.7em;
    margin-top: 1em;
    margin-bottom: 0.7em;
}
.gc-publisher-list-item, .gc-publisher-count {
    font-size: 1.2em;
    margin-bottom: 0.7em;
    display: table;
}
.gc-publisher-num-games {
    display: table-cell;
    max-width: none;
    text-align: right;
    width: 6em;
}
.gc-publisher-publisher {
    display: table-cell;
}
.gc-history-publisher-name {
    font-weight: 800;
}

/*----------------------------------
 Statistics Styles
 for show-database-statistics
 */

.gc-statistic-list-item {
    font-size: 13pt;
    }
}/* End custom CSS */