﻿a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles ----- */
html {
  font-size: 14px;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}
.backgroundwhite {
    background-color: white;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem #000000;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: -60px;
}

.footer {
   /* position: absolute;  this is the cause of the footer problem*/
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    /*height: 60px;*/
    line-height: 40px; /* Vertically center the text there */
 background-color: rgb(242, 181, 27);
}

.footer a:hover {
    /*font-size: large;*/
    font-weight:bold;
}
#footerControls {
    display: flex;

}

#tbtLogo {
    width: 300px;
}

#mainBody {
    width: 100%;
}

.special {
    background-color: #78a1de !important;
    color: white;
}

.special:last-of-type {
    background-color: #fae04a !important;
    color: rgb(5, 5, 5);
}

.content-menu-box {
    padding-right: 10px;
}

.dropdown-item {
    border: rgb(148, 148, 249);
    border-style: double;
    border-width: thin;
    margin: 5px;
    background-color: rgb(106, 234, 139);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

::placeholder {
    color: red !important;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: red !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: red !important;
}

#loadingMsg {
    align-content: center;
    text-align: center;
    z-index: 13;
    height: 1px;
}

.listLoading {
    position: relative;
    top: 50px;
    padding: 20px;
    margin: 10px;
    background-color: rgb(248, 221, 107);
    color: #000000;
    z-index: 13;
    border: #000000;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
}

#listheader {
    height: 50px;
    padding: 5px;
    margin-bottom: 10px;
    background-color: rgb(207, 240, 185);
    display: flex;
    flex-direction: row;
}

#ChapterDetailButtons {
    width: 99%;
    display: flex;
    flex-direction: row;
}

#ChapterDetailButtons_one {
    flex-grow: 1;
    text-align: center;
}

#ChapterDetailButtons_two {
    flex-grow: 1;
    text-align: center;
}

#ChapterDetailButtons_three {
    flex-grow: 1;
}

#PageContent {
    font-size: large;
}


#indexList tr td {
    vertical-align: middle;
    border: #cacacc;
}
#indexList tr {
    vertical-align: middle;
    border: #cacacc;
    border-style: solid;
}

#indexList {
background-color: #f8e9ba;
}

.listImage {
    margin-left: auto;
    margin-right: auto;
}

    .listImage img {
        width: 50px;
        padding-left: 5px;
    }

.pic_in_list_image {
    width: 20px;
 padding-left: 5px;
}

.IdFormat {
    /*margin-left: 10px;
    margin-right: 10px;*/
    text-align: center;
    color: #067f0b;
    font-weight: bold;
}

#sortSequenceBox {
    border: #c2c2c6;
    border-width: 2px;
    border-style: solid;
    width: 80%;
    margin: auto;
}

#sortSequenceBox_1 {
    width: 100%;
    text-align: center;
    height: 45%;
    margin: auto;
}

#sortSequenceBox_2 {
    display: flex;
    flex-direction: row;
   padding-top: 5px;
}

#sortSequenceBox_3 {
   
    width: 60%;
    height: 45%;
    text-align: center;
}

#sortSequenceBox_4 {
    width: 30%;
    height: 45%;
    text-align: center;
    float: right;
}

#refreshBtns {
    float: right;
}

#refreshBtns a input {
    float: right;
}

.tableHeader {
    background-color: #e7f9a7;
    height: 45px;
    border: midnightblue;
    border-width: 5px;
    border-style: inset;
    margin-bottom: 10px;
}

.colLastEdit {
    width: 220px;
}

#PicTable tr {
    vertical-align: middle;
}

#PrivacyPolicy p b {
    line-height: 1;
}

.displayPopUpText {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 30%;
    width: 50%;
    margin: -15% 0 0 -25%;
    padding: 5%;
    border: 2px groove black;
    background-color: rgb(254, 254, 252);
}

.StoryDesc {
    border-style: groove;
    border-color: darkgrey;
    border-width: 2px;
    width: auto;
    height: auto;
    padding: 5px;
}



.storyFigure {
    margin-right: 5px;
    margin-left: 5px;
    position: relative;
}

.storyBar {
    background: rgb(90, 249, 164);
    text-align: center;
    font-weight:500;
    margin-top: 4px;
    margin-bottom: 3px;
    margin-left: 23px;
    margin-right: 23px;
    border: #000000;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
}

.activityBar {
    background: rgb(204, 248, 59);
    text-align: center;
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 3px;
    margin-left: 23px;
    margin-right: 23px;
    border: #000000;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
}

.OpenStoryButton {
    padding: 5px;
    text-align: center;
   
}

.bearFigure {
    margin-right: 5px;
    margin-left: 5px;
    position: relative;
}

.typeSelector {
    font-size: large;
    background: rgb(59, 95, 248);
    color: white;
}

.storySelector {
    font-size: large;
    background: rgb(248, 59, 59);
    color: white;
}

.activitySelector {
    font-size: large;
    background: rgb(59, 95, 248);
    color: white;
}

.s {
    background-color: #4c7aaf;
    color: white;
}

.addBorder {
    border-color: rgb(249, 145, 35);
    border-width: 3px;
    border-style: groove;
    margin-top: 5px;
}

.removeBorder {
    border-color: dodgerblue;
    border-width: 3px;
    border-style: solid;
    margin-top: 5px;
}

    .pictureBlob {
        margin: 5px;
        background: #f9e9b5;
        padding: 3px;
        box-shadow: 2px 2px 2px 2px rgb(174, 172, 172);
    }

.toyItem {
    color: white;
    display: block;
    background: #4caf50;
    border-radius: 5px;
    box-shadow: 2px 2px 2px 2px #000000;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.5);
    padding: 4px;
    margin: 4px;
    letter-spacing: 0.1em;
}

.toyItem a:hover {
 text-decoration: none !important;
}

.btn {
    box-shadow: 2px 2px 2px 2px #000000;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.5);
}

main {
    min-height: 800px;
}

.selectedRadio {
    background: rgb(175, 250, 171);
    box-shadow: 2px 2px 2px 2px #000000;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.5);
}

.custText {
    color: #010429;
    font-size: 1.2em;
    line-height: 1.5em;
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
    letter-spacing: 0.01em;
    padding: 5px;
    overflow: auto;
}

.custText u {
    color: rgb(10, 26, 170);
    font-weight: bold;
    font-size: 1.2em;
}

#recaptchaBox {
    display: flex;
   align-content: center;
}


.page-title {
    color: #17a2b8;
}

.image {
    width: 20%;
    margin: 6px;
}

.image td {
    background-color: rgb(255, 255, 253);
    padding: 0;
}

#footerControls {
    width: 100%;
    display: flex;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -o-justify-content: space-around;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}



#pictureBox, #storyBox {
    display: flex;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -o-justify-content: space-around;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

#pictureBlob {
    padding-bottom: 10px;
    width: 23%;
   
}

#pictureBlob figure {
    margin-left: auto;
   margin-right: auto;
}

.storyImage {
    width: 25%;
    padding-left: 10px;
    padding-right: 10px;
}

.storyImage .caption {
    font-size: 80%;
    font-family: Verdana, Arial, sans-serif;
    text-align: center;
    padding: 2px;
    color: rgb(130, 129, 129)
}

.theImage {
    width: 95%;
    margin-top: 50px;
    padding: 2px;
}

.pictImages {
    padding-left: 35%;
    padding-right: 35%;
}

#mainDisplay {
    display: flex;
    width: 95%;
}

#formDisplay {
    width: 75%;
}

#pictureDisplay {
    width: 40%;
}

td .caption {
    font-size: 80%;
    font-family: Verdana, Arial, sans-serif;
    text-align: center;
    padding: 2px;
    color: rgb(130, 129, 129)
}
.image .caption {
    font-size: 80%;
    font-family: Verdana, Arial, sans-serif;
    text-align: center;
    padding: 2px;
    color: rgb(130, 129, 129)
}

.storyImage figure {
    margin-bottom: 2px;
}

.nav-item a.nav-link:hover {
    text-decoration: none;
    color: white;
}

.menu-spacing {
    padding-left: 10px;
}

/* Select screen width less than 400px */
@media (max-width: 400px) {
    a .nav-link { color: white; }

    #pictureBlob {
        padding-bottom: 10px;
        width: 100%;
    }

    .storyImage {
        width: 30%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .customerStoryPicture {
        float: right;
        width: 40%;
        margin-left: 10px;
    }

    .customerStoryTitle {
        width: 55%;
        text-align: center;
        margin-top: auto;
        margin-bottom: auto;
    }

    #CalendarButton,
    #storyActivityButton,
    #bearsButton,
    #shopButton,
   
    #homeButton {
        width: 200px;
    }
}

/* Select screen width more than 400px */
@media (min-width: 400px) {
    a .nav-link {
        color: white;
    }

    #pictureBlob {
        padding-bottom: 10px;
        width: 30%;
    }

    #loginButton {
        display: none;
    }
}


/* Select screen width more than 768px */
@media screen and (min-width: 768px) {

    #loginArea {
        float: right;
        width: 100%;
    }

    #pictureBlob{
        padding-bottom: 10px;
        width: 23%
    }

  
  
}
@media screen and (min-width: 1000px ) {
  #loginButton {
        display:flex;
    }
}

/* Select screen width less than 760px */
@media screen and (max-width: 760px) {
    body { background-color: white; }

    h1 {
        font-size:x-large;
    }

    #footerControls {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
    }

    .navbar-collapse { display: flex; }

    .nav-item, #menuItems { text-align: center; }

    .nav-item a.nav-link {
        float: none;
        border: 1px solid rgb(230, 229, 229);
        border-radius: 10px;
        background-color: #4caf50;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
        color: white;
        font-size: medium;
        margin-bottom: 5px;
        box-shadow: 3px 3px gray;
    }

    #loginButton { display: none; }

    #tbtLogo {
        width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    a.text-dark {
        color: white !important;
        font-weight: bold;
        letter-spacing: 1px;
    }

    .container {
        padding-left: 1px;
        padding-right: 1px;
    }

    .menu-spacing {
        padding-left: 0;
    }
    
}
