/*p {
    margin: 0;
    height: inherit;
    min-width: 360px;
    max-width: 400px;
    overflow: scroll;
}

body {
    background-color: black;
}*/

* {font-family: Arial, Helvetica, sans-serif;}

body {
    background-image: url('Images/Grey Gavel.png');
    background-size: 210px 150px;
}

.tilecontainer {
    display: inline-block;
    width: 400px;
    height: 558px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(128, 128, 128);
    background-color: black;
    text-align: center;
    box-shadow: 8px 8px 10px 2px rgba(255,255,255,0.5);
    margin-bottom: 20px;
    margin-left: 30px;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.tilecontainer:hover {
    border: 2px solid rgb(255, 1, 1); 
    transform: scale(1.1);
    z-index: 99999;
}

 /*#tiles:hover > .tilecontainer:not(:hover) {
   filter:blur(1px); 
}*/

#tiletitlecontainer {
    display: inline-block;
    width: inherit;
    height: 280px;
    font-family: Arial, Helvetica, sans-serif;
}

.titletext {
    padding: inherit;
    width: inherit;
    height: 60px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.4em;
}

.titletext p {
    margin-top: auto;
    margin-bottom: auto;
    padding: 5px;
}

.titletext p a {
    text-decoration: none;
    color: unset;
}

.titletext p a:hover {
    text-decoration: underline;
}

#titleimagecontainer {
    display: inline-flex;
    width: auto;
    height: 200px;
    justify-content: center;
    border-radius: 5px;
    background-color: transparent;
    margin-top: 5px;
}

.tileImageWrapper {
    /*display: inline-flex;*/
    border-radius: 5px;
    background-color: transparent;
    height: 200px;
    width: auto;
    padding-top: 1px;
}

.tileimage {
    width: 90%;
    object-fit: scale-down;
    padding: 2px;
}

.tiletext {
    display: inline-block;
    height: 140px;
    width: 90%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    padding: inherit;
    padding-top: 5px;
    padding-right: 5px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    color: black;
    overflow: auto;
}

.tileadverttext {
    display: inline-block;
    height: 220px;
    width: 90%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    overflow: auto;
}

.tiletext p {
    display: inline-block;
    height: auto;
    width: 90%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    padding: inherit;
    padding-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    overflow: scroll;
}

.tileadverttext p {
    height: auto;
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: inherit;
    padding-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
    overflow: auto;
}

.tilebuttons {
    display: inline-flex;
    height: 40px;
    width: 90%;
    justify-content: space-around;
    vertical-align: bottom;
    margin-top: 0.6em;
}

.tilebutton {
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    background-color:  transparent;
    text-decoration: none;
    text-align: center;
    height: inherit;
    width: 100px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    /*font-weight: bold;*/
    opacity: 1;
    margin-top: auto;
    margin-bottom: auto;
    transition-duration: 0.2s;
}

.tilebutton:hover {
    transform: translate(0px, -5px);
    cursor: pointer;
}

.companylogo {
    margin-left: 290px;
    margin-top: 0px;
    position: absolute;
    width: 100px;
    height: 45px;
    z-index: 5;
    border-radius: 5px;
    padding: 2px;
    box-shadow: 1px 2px 2px 1px rgb(129, 129, 129);
    /*box-shadow: 1px 2px 2px grey;*/
    transition-duration: 0.5s;
}

.logoimage {
    width: inherit;
    height: inherit;
    object-fit: scale-down;
}

.companylogo:hover {
    transform: scale(1.1);
    cursor: pointer;
    transform: translate(-10px, 0px);
    width: 110px;
    height: 50px;
}

.closes {
    color: red;
    background-color: transparent;
    text-align: left;
    margin: auto;
    width: 100%;
    margin-bottom: 2px;
    font-weight: bold;
    display: inline-flex;
}

.opens {
    color: green;
    background-color: transparent;
    text-align: left;
    margin: auto;
    width: 100%;
    margin-bottom: 2px;
    font-weight: bold;
    display: inline-flex;
}

.opens p {
    margin: 0px;
}

.closes p {
    margin: 0px;
}

.startsat, .endsat {
    color: white;
    background-color: transparent;
    text-align: left;
    padding-bottom: 5px;
    padding-left: 5px;
    display: inline-flex;
    font-weight: normal;
}

#datecontainer {
    height: 70px;
    width: 90%;
    justify-content: left;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: auto;
    margin-right: auto;
    /*display: inline-flex;*/
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    text-align: center;
    margin-top: 70px;
    margin-bottom: 0px;
    padding: 10px;
    color: darkgray;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
    padding: 10px;
  }

  #tiles td {
    word-wrap: normal;
    text-align: center;
    border-width: 1px;
    max-width: 150px;
  }

  #tiles td p {
    text-align: center;
  }

  #tiles {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }

  #ac {
    visibility: hidden;
  }

  #myFooter p, #myFooter a {
    text-align: left;
    margin: 0;
    padding-left: 20px;
    font-family: Arial, Helvetica, sans-serif;
  }
  
.footerbar {
background-color: grey;
height: 3px;
margin-top: 10px;
}

.footerlogo {
text-align: center;
margin-left: auto;
margin-right: auto;
display: inline-block;
}

.footerlogo img {
width: 200px;
height: 100%;
padding-top: 10px;
}

.footertext {
display: inline-block;
vertical-align: top;
padding: 10px;
}

.footerbits {
    margin-left: auto;
    margin-right: auto;
    width:fit-content;
}

.shortcutMenu, .FAQMenu {
    display: inline-block;
    vertical-align: top;
    padding: 10px;
}

.shortcutMenu ul li, .FAQMenu ul li {
    text-decoration: none;
    list-style:none;
    line-height:normal;
}

.shortcutMenu ul li:hover, .FAQMenu ul li:hover {
    text-decoration-line: underline;
}

.shortcutMenu ul li a:visited, .FAQMenu ul li:visited {
    color: white;
}

.shortcutMenu ul li a, .FAQMenu ul li a {
    text-decoration: none;
    cursor: pointer;
}

.shortcutMenu ul, .FAQMenu ul {
    margin: 0px;
    padding: 0px;
}

.address {
    font-weight: bold;
    text-decoration: underline;
    text-align: left;
}