*
{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Open Sans';
}

body, html
{
    height: 100%;
}

body
{
    background-image: url('../images/share-your-story-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
}

main
{
    padding-top: 60px;
    min-height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
}

.theme-bg-color
{
    background-color: #006E7A;
}

.button
{
    color: #fafafa;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 3px;
}

.button:hover
{
    background-color: #00535C;
    color: #fafafa;
}

.button-outline
{
    color: #006E7A;
    border: 1px #006E7A solid;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 3px;
}

.button-outline:hover
{
    color: #00535c;
    background-color: rgba(0, 83, 92, 0.1);
    border: 1px #00535C solid;
}

.form-container
{
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    margin-top: 8vh;
}

.form-container form
{
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 16px 0px;
    border-radius: 5px;
}

.required-fields-note
{
    color: #999;
    font-weight: 600;
}

.form-label
{
    font-weight: 600;
}

.required-field
{
    color: red;
}

.form-title
{
    padding-bottom: 20px;
    border-bottom: 1px #adadad solid;
}

textarea
{
    resize: none;
}

.custom-file-button input[type=file] 
{
    margin-left: -2px !important;
}
  
.custom-file-button input[type=file]::-webkit-file-upload-button 
{
    display: none;
}
  
.custom-file-button input[type=file]::file-selector-button 
{
    display: none;
}

.custom-upload-button 
{
    border-radius: 0px 6px 6px 0px !important;
}
  
.custom-upload-button:hover 
{
    background-color: #dde0e3;
    cursor: pointer;
}

.story-submit, .cancel-button
{
    width: 6vw;
    min-width: 80px
}

.char-counter, .image-restrictions
{
    color: #999;
}

.form-control.is-valid:focus, .was-validated :valid.form-control
{ 
    border-color: #dee2e6 !important;
    background-image: inherit !important;
    padding-left: 0.75rem;
    box-shadow: inherit !important;
}

.was-validated :valid.form-control:focus
{
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    border-color: rgba(13, 110, 253, 0.25) !important;
}

input:focus
{
    background-color: #f7f7f7 !important;
}

textarea:focus
{
    background-color: #f7f7f7 !important;
}