html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    background-color: #f5f5f5;
}

.footer-text {
    display: block;
    padding: 1em;
}

.logo {
    padding-top: 60px;
}

.logo-pad {
    padding-top: 60px;
}

.logo-img,
.logo-preview {
    display: block;
    max-width: 18rem;
    height: auto;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    display: none;
}

.loading-anim {
    position: absolute;
    top: 40%;
    left: 40%;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #337ab7;
    border-bottom: 16px solid #337ab7;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    margin: 15px auto;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#content {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin: 0;
}

.index {
    position: relative;
}

.index h3 {
    display: inline-block;
}

.index table, .terminated table {
    margin-top: 2em;
    font-size: 12px;
}

.contract-copy {
    border: 1px solid #dddddd;
    width: 100%;
    margin: 0 auto 1.5em auto;
    padding: 1.5em;
    background: #efefef;
    overflow-wrap: anywhere;
}

.contract-copy img.img-responsive {
    max-width: 100% !important;
}

#email-content {
    padding: 1.5em;
}

.review-buttons {
    /*text-align: right;*/
    /*padding-right: 2em;*/
}

.review-copy {
    white-space: pre;
    width: 100%;
}

.inline {
    display: inline;
}

.login {
    width: 300px;
    margin: 0 auto;
    padding: 1em;
    border: 1px solid #dddddd;
    border-radius: 6px;
}

.login input[type=text],
.login input[type=email],
.login input[type=password] {
    color: #666666;
}

.login h1 {
    font-size: 1.4em;
    text-align: center;
    margin: 0 0 0.5em 0;
    padding: 0;
    color: #666666;
}

.login .btn {
    margin-top: 1.5em;
    width: 100%;
}

.admin-add-button {
    position: absolute;
    right: 0;
    top: 1.5em;
}

.btn {
    text-transform: uppercase !important;
}

.btn-yellow {
    color: white;
    background-color: #FFCC34;
    border-color: #EFBC24;
}

.btn-blue {
    color: white;
    background-color: #7AC1F9;
    border-color: #6AB1E9;
}

.btn-green {
    color: white;
    background-color: #57D488;
    border-color: #47C478;
}

.agree-check {
    padding-right: 1em !important;
}

.accept-terms {
    margin-top: 30px;
    width: 100%;
    max-width: 200px;
}

label {
    /*margin-top: 1em;*/
    /*color: #999999;*/
}

legend {
    padding: 0 .5em;
    border: none;
    margin: 0;
    display: inline;
    width: auto;
    color: #337ab7;
    text-transform: uppercase;
}

fieldset {
    margin: 1.5em 0;
    padding: 1em;
    border: 1px solid #dddddd;
    border-radius: 6px;
}

.dropdown-user-panel {
    min-width: 250px;
    padding: 11px 17px 0 17px;
    min-height: 60px;
}

.dropdown-user-panel img {
    float: left;
    margin-right: 11px;
    width: 20%;
}

.dropdown-user-panel aside {
    display: block;
    float: left;
    margin: 0;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.dropdown-user-panel em {
    font-size: 12px;
}

.checkbox label, .radio label {
    font-weight: bold;
}

.flash-messages {
    /*margin-top: 50px;*/
}

.split-slider {
    width: 60%;
    margin-right: 2em;
}

.split-text {
    width: 30%;
    font-weight: bold;
    font-size: 3em;
}

.split-slider,
.split-text {
    display: inline-block;
}

.panel-details {
    height: 28em;
}

.select2-container .select2-selection--single {
    height: 34px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 2px !important;
}

.search-form .btn {
    margin-top: 7px;
}

.search-form label {
    margin-right: 0.5em;
}

.search-form input,
.search-form select {
    margin-right: 1em;
}

.search-form #daterange {
    min-width: 14em;
    margin-right: 0.2em !important;
}

.search-form .checkbox {
    display: inline-block;
    margin-top: 0.4em;
}

.modal .modal-body {
    max-height: 350px;
    overflow-y: auto;
}

#storyTable, .adnmStoryTable {
    margin-bottom: 5px;
    border: 1px solid #cccccc;
}

#storyTable th, .adnmStoryTable th {
    background: #eeeeee;
}

.add-story {
    display: block;
    float: right;
    color: #333333;
    text-decoration: none;
}

.add-story span {
    color: #47C478;
}

.add-story:hover {
    text-decoration: none;
}

/* CONTRACTS & TALENTS ACTION BAR */

.contracts .action-bar,
.talents .action-bar
{
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    border: 1px solid #a09c9c;
    margin-bottom: 10px;
}

.contracts .action-bar .action-bar-status,
.contracts .action-bar .action-bar-btn,
.talents .action-bar .action-bar-status,
.talents .action-bar .action-bar-btn
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.contracts .action-bar .action-bar-status > *,
.contracts .action-bar .action-bar-btn > *,
.talents .action-bar .action-bar-status > *,
.talents .action-bar .action-bar-btn > *
{
    margin-right: 5px;
}

.contracts .action-bar .action-bar-status > :last-child,
.contracts .action-bar .action-bar-btn > :last-child,
.talents .action-bar .action-bar-status > :last-child,
.talents .action-bar .action-bar-btn > :last-child
{
    margin-right: 0;
}

.contracts .action-bar .action-bar-btn > *,
.talents .action-bar .action-bar-btn > *
{
    margin-top: 5px;
}

.contracts .action-bar .action-bar-status .label,
.talents .action-bar .action-bar-status .label
{
    font-size: 13px;
}

/* CONTRIBUTORS */
.contributors.view .contrib-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

/* DISCOVERIES */
.label-bronze {
    background-color: #cd7f32;
}

.label-silver {
    background-color: #c0c0c0;
}

.label-gold {
    background-color: #ffd700;
}

.human-readable {
    margin-top: -1rem;
    display: block;
    background: #ccc;
    border-radius: 2px;
    padding: 0 0.25rem;
}

.human-readable:empty {
    display: none;
}

/* TALENTS */
.talents.view .sa-body .row>div {
    margin-bottom: 20px;
}

.talents.form .form-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.talents.form .services-row, .talents.view .services-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.talents.form .sa-bar {
    margin-top: -10px;
}

.talents.form #saPlatform {
    margin-left: 5px;
}

.talents.form .sa-container {
    margin-top: 15px;
}

.talents.form .sa-container .sa-item .sa-rmv-btn {
    float: right;
    cursor: pointer;
    margin-top: 3px;
}

.talents.form .sa-container .panel.youtube, .talents.view .panel.youtube {
    border-color: #FF0000;
}

.talents.form .sa-container .panel.youtube>.panel-heading, .talents.view .panel.youtube>.panel-heading {
    color: #fff;
    background-color: #FF0000;
    border-color: #FF0000;
}

.talents.form .sa-container .panel.facebook, .talents.view .panel.facebook {
    border-color: #1877F2;
}

.talents.form .sa-container .panel.facebook>.panel-heading, .talents.view .panel.facebook>.panel-heading {
    color: #fff;
    background-color: #1877F2;
    border-color: #1877F2;
}

.talents.form .sa-container .panel.instagram, .talents.view .panel.instagram {
    border-color: #E1306C;
}

.talents.form .sa-container .panel.instagram>.panel-heading, .talents.view .panel.instagram>.panel-heading {
    color: #fff;
    background-color: #E1306C;
    border-color: #E1306C;
}

.talents.form .sa-container .panel.tiktok, .talents.view .panel.tiktok {
    border-color: #000;
}

.talents.form .sa-container .panel.tiktok>.panel-heading, .talents.view .panel.tiktok>.panel-heading {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.talents.form .sa-container .panel.snapchat, .talents.view .panel.snapchat {
    border-color: #ffe300;
}

.talents.form .sa-container .panel.snapchat>.panel-heading, .talents.view .panel.snapchat>.panel-heading {
    color: #000;
    background-color: #ffe300;
    border-color: #ffe300;
}

/* PERMISSIONS TEMPLATES */
.templates_perm_list {
    display: flex;
    flex-flow: column;
}

.templates_perm_list .templates_perm_item {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.templates_perm_list .templates_perm_item input {
    margin: 0 10px;
}

.templates_perm_list .templates_perm_item label {
    margin: 0;
    cursor: pointer;
}

/* THUMBNAILS */
.thumbs_content {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.thumbs_content figure {
    margin: 0 5px 10px 5px;
    padding: 2px 2px 0;
    border: 2px solid #777;
    border-radius: 5px;
}

.thumbs_content figure figcaption {
    margin-top: 5px;
    text-align: center;
}

/* CONTENT THUMBNAILS */
.js-content-thumbnail-item {
    border-bottom: 2px solid #333;
    margin-bottom: 15px;
}

/* MODEL RELEASES */
.add-mr {
    text-decoration: none;
    color: black;
    font-size: 30px;
    margin-right: 10px;
}

.add-mr:hover {
    text-decoration: none;
}

.rmv-mr {
    cursor: pointer;
    margin-left: 5px;
}

/* FEES PANEL */

#buyouts, #splits {
    /*display: none;*/
}

.fee {
    display: inline-block;
    padding-right: 1rem;
}

.fee .fee-title,
.fee .fee-value {
    font-weight: 600;
    font-size: 2rem;
}

.fee .fee-title {
    color: #337ab7;
}

.fee .fee-value,
.fee .fee-value .value-holder {
    color: #cc0000;
}

.table > tbody > tr > td.actions {
}

.error-message {
    color: #cc0000;
}

.error_show {
    margin: 1rem 0;
    padding: 1rem;
    background: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 4px;
}

.error_show label {
    margin-top: 0;
    color: #a94442;
}

.error_show label:after {
    content: '*';
}

.form-error {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(204, 0, 0, 1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(204, 0, 0, 1);
    box-shadow: 0px 0px 5px 0px rgba(204, 0, 0, 1);
}

.required label:after,
.story-label:after {
    content: '*' !important;
    color: #cc0000 !important;
}

.table > tbody > tr.amend > td, .table > tbody > tr.amend > th, .table > tbody > tr > td.amend, .table > tbody > tr > th.amend, .table > tfoot > tr.amend > td, .table > tfoot > tr.amend > th, .table > tfoot > tr > td.amend, .table > tfoot > tr > th.amend, .table > thead > tr.amend > td, .table > thead > tr.amend > th, .table > thead > tr > td.amend, .table > thead > tr > th.amend {
    background-color: #dbc6a9;
}

.red {
    font-weight: bold;
    color: #cc0000;
}

.green {
    font-weight: bold;
    color: #67b168;
}

.yellow {
    font-weight: bold;
    color: #FFCC34;
}

.story-label {
    margin: 0;
    padding: 0;
    color: #000000;
}

.btn-full {
    width: 100% !important;
}

.verify-logo {
    display: block;
    margin: 0 auto;
}

.buyout-reason {
    display: none;
}

.legacy-contract-body {
    padding: 15px 0 0 0;
    margin-bottom: 15px;

}

.legacy-contract-sig {
    margin-bottom: 15px;
}

.legacy-contract-sig span {
    display: block;
}

.sigImage {
    max-width: 100px;
}

.navbar-nav li.dropdown a {
    font-size: 12px;
}

.navbar-nav li.dropdown a.dropdown-toggle {
    font-weight: bold;
}

.smallText {
    font-size: 10px;
}

.panel-dash {
    height: 350px;
    max-height: 350px;
    overflow: scroll;
}

.panel-dark {
    border-color: #333333;
}

.panel-dark > .panel-heading {
    color: #fff;
    background-color: #333333;
    border-color: #333333;
}

.panel-dark > .panel-heading .badge {
    color: #fff;
    background-color: #666666;
}

.w-100 {
    width: 100px !important;
}

.url-detect {
    display: inline-block;
    padding-right: 15px;
    padding-bottom: 15px;
}

.permission {
    background: #EADFF3;
}

.permThumb {
    display: flex;
    justify-content: center;
    min-height: 250px;
    border: 1px dotted #efefef;
    padding: 10px;
    background: #efefef;
}

.js-reminders-toggle {
    position: fixed;
    top: 60px;
    right: 0;
    z-index: 100;
    padding: 10px;
    background-color: red;
    border: 1px solid #db0000;
    border-right: none;
    border-radius: 5px 0 0 5px;
}

.js-reminders-toggle a {
    color: white;
}

.vt-modal th {
    padding-right: 20px;
}

/* Contracts */

.panel-submission {
    position: relative;
    z-index: 1;
}

/* Desktops and laptops ----------- */
@media only screen  and (min-width: 768px) {
    .table > tbody > tr > td.story-title {
        word-wrap: break-word !important;
        max-width: 150px !important;
    }

    .table > thead > tr > th.hideit,
    .table > tbody > tr > td.hideit {
        display: none;
    }
}

@media only screen  and (min-width: 1224px) {
    .table > tbody > tr > td.story-title {
        word-wrap: break-word !important;
        max-width: 250px !important;
    }

    .table > thead > tr > th.hideit,
    .table > tbody > tr > td.hideit {
        display: table-cell;
    }
}

.template-list label {
    font-size: 12px !important;
}

/* Large screens ----------- */
@media only screen  and (min-width: 1824px) {
    .table > tbody > tr > td.story-title {
        word-wrap: break-word !important;
        max-width: 500px !important;
    }
}
