.card-block {
	-webkit-box-flex:1;
	-webkit-flex:1 1 auto;
	-ms-flex:1 1 auto;
	flex:1 1 auto;
	padding:1.25rem;
}

body {
    font-family: 'Lato', sans-serif;
}

.wrapper {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

ul {
    margin-left: 0px;
    padding-left: 15px;
}

h1.sharpie {
    margin-bottom: 1em;
}

.container {
    margin-top: 15px;
}

.btn {
    white-space: normal;
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

.gift-box {
    background: #222 url("../images/gift-1420830_1920.jpg") top center no-repeat;
    background-width: 100%;
    color: #fff;
    text-shadow: 1px 1px 4px #555;
}

.transparent {
    background-color: rgba(255,255,255,.5);
}

.btn-outline {
    background: none;
    border: 1px solid #fff;
}

.text-center ul, ol.text-center {
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.simple-list {
    list-style: none;
    width: 100%;
    border-bottom: 1px solid #fff;
}

.sharpie {
    font-family: 'Permanent Marker', cursive;
}

.list-item {
    box-shadow: 1px 1px 14px #000;
    padding: 15px;
    margin-bottom: 30px;
}

.list-item h3 {
    text-align: left;
    margin: 15px 0 10px 0;
}

.item-description {
    max-height: 200px;
    overflow: auto;
}

.blue {
    background: #00BFFF;
    color: #fff;
    display: block;
}

.blue:hover {
    background: #0080D6;
    cursor: pointer;
}

.gray {
    background: #ccc;
    color: #555;
    display: block;
}

.white {
    border: solid #fff;
    display: block;
    cursor: pointer;
    border: 1px solid #222;
}

.white:hover {
    background: #222;
    color: #fff;
}

.black {
    background: #222;
    color: #fff;
    display: block;
    cursor: pointer;
}

.black:hover {
    background: #000;
}

.green {
    background: #06c301;
    color: #000;
    display: block;
    cursor: pointer;
}

.green:hover {
    background: #049200;
    color: #000;
}

.margin-bottom {
    margin-bottom: 10px;
}

.vertical-margin {
    margin: 0 10px;
}

.tight {
    margin: 0;
    padding: 0;
}

#no-surprise {
    margin-left: 0;
}

.ellipse {
    width: 19%;
    position: absolute;
    bottom: 0;
    border-radius: 55px 55px 0px 0;
    height: 34px;
    /* text-align: center; */
    left: 38%;
    padding-top: 5px;
    display: block;
    font-size: 1.25em;
}

.comments-container {
    width: 95%;
    margin: 15px 10px 0;
    max-height: 300px;
    overflow: scroll;
    padding: 15px;
}

.comments-container h3 {
    margin: 0 0 .5em 0;
}

.view-comments {
    height: 30px;
    cursor: pointer;
}

.comment-author {
    background: #999;
    padding: 8px 8px;
    border-radius: 40px;
    font-size: 1.25em;
    height: 50px;
    width: 50px;
    text-align: center;
    vertical-align: middle;
    float: left;
}

.comment-text {
    background: #eee;
    padding: 5px;
    float: left;
    max-width: 80%;
    margin: 0px auto 10px;
    border: 1px solid #999;
    width: 100%;
}

#post-comment {
    width: 80%;
    float: left;
    margin: 0 auto 15px;
}

.comment-field {
    margin: 0 auto 10px;
    min-height: 100px;
    float: left;
    width: 100%;
}

.my-comment {
    background: #555;
    color: #fff;
}

.btn.btn-primary.search {
    margin-right: 10px;
}

.mobile-profile-info {
    display: none;
}

.tile-interior {
    background: rgba(255,255,255,.50);
    height: 300px;
    padding-top: 35%;
}

footer {
    width: 100%;
    text-align: center;
    /*bottom: 0;*/
    position: relative;
    margin: 0;
}

@media screen and (max-width: 450px) {
  a {
    word-break: break-all;
  }
  .tight {
    margin: auto;
    padding: 0 15px;
  }
  .overlay a {
    font-size: 20px
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
  .desktop-profile-info {
    display: none;
  }
  .mobile-profile-info {
    border-top: 1px solid #222;
    margin-top: 5px;
    padding-top: 10px;
  }
  .mobile-profile-info {
    display: block;
  }
  .tile-interior {
    background: rgba(255,255,255,.50);
    height: inherit;
    padding-top: 0;
   }
   .tile-row .tile {
    height: inherit;
   }
   .gift-editor-form {
    margin-bottom: 25px;
   }
}
