/**
 * theming styles
 *
 */

#content {
    padding: 0;
    margin: 15px;
}

#header {
    background: #205067;

    /* Reset the indents of django-flat-theme
      (need to restore 40px on branding+user-tools instead) */
    padding-left: 0;
    padding-right: 0;
    min-height: 66px;
}

#header #branding h1 {
    margin: 0;
    padding: 0px 10px;
}

#header #user-tools {
    /* Old Django: 1.2em, flat theme: 40px; */
    padding-right: 1.2em;
}

#bookmark-form {
    clear: both;
}

div.breadcrumbs {
    display: block;
    padding: 10px 15px;
    border: 0;
    background-position: 0 -8px;
    border-bottom: 1px solid #ededed;
}

div.breadcrumbs a {
    display: inline;
}

.warning {
    color: #a94442;
}

.red {
    background-color: #f2dede;
    color: #a94442;
}

.amber {
    background: rgb(255,191,0,0.5);
    color: #000;
}

.green {
    background-color: rgba(0,128,0, 0.3);
    color: #000;
}

.grey {
    background: rgba(0,0,0,0.2);
    color: #4e4e4e;
}

/**
 * Confirmation form -- this is copied from .delete-confirmation, as not every confirmation
 * form is about deleting!
 */
 .confirmation .submit-row {
    margin-top: 20px;
 }

.confirmation form input[type="submit"] {
    background: #ba2121;
    border-radius: 4px;
    padding: 10px 15px;
    color: #fff;
}

.confirmation form input[type="submit"]:active,
.confirmation form input[type="submit"]:focus,
.confirmation form input[type="submit"]:hover {
    background: #a41515;
}

.confirmation form .cancel-link {
    display: inline-block;
    vertical-align: middle;
    height: 15px;
    line-height: 15px;
    background: #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    color: #333;
    margin: 0 0 0 10px;
}

.confirmation form .cancel-link:active,
.confirmation form .cancel-link:focus,
.confirmation form .cancel-link:hover {
    background: #ccc;
}

a.button {
  white-space: nowrap;
}

/* These help to improve readability for inlines */
.inline-related {
  margin-bottom: 10px;
}
.inline-related h3 {
    background-color: #c3dc92;
}

#challenge_form label {
    color: #333 !important;
}
#challenge_form label.required {
    font-weight: normal;
}
#challenge_form label.required:after {
    content: " *" !important;
    color: red;
}

#challenge_form .field-challenge_ref input#id_challenge_ref {
    border: none;
}

/* #challenge_form .field-challenge_ref label.required:after{
    content: "" !important;
} */
.model-challengproject .object-tools a,
.model-challengteam .object-tools a,
.model-teammember .object-tools a {
    margin: 0 5px;
}

.model-team #team_form table tr.dynamic-members td,
.model-challengteam #challengteam_form table tr.dynamic-members td,
.model-challengproject #challengproject_form table tr.dynamic-challeng_project td {
    margin: 10px;
    padding: 16px 0;
}
.model-team #team_form table tr.dynamic-members td.invalid-user,
.model-challengteam #challengteam_form table tr.dynamic-members td.invalid-user
.model-challengproject #challengproject_form table tr.dynamic-challeng_project td.invalid-user {
    padding-top: 30px;
}
.model-challengteam #challengteam_form table tr.dynamic-members td.original p.help-text,
.model-challengproject #challengproject_form table tr.dynamic-challeng_project td.original p.help-text {
    padding: 25px 25px 0 35px;
    margin: -40px -30px;
    font-size: 13px;
    color: #ba2121;
    font-weight: normal;
    height: 45px;
}
.model-team #team_form table tr.dynamic-members td.original p.help-text {
    padding: 25px 25px 0 35px;
    margin: -35px;
    font-size: 13px;
    color: #ba2121;
    font-weight: normal;
    height: 45px;
}
.field-member_id input:read-only,
.field-member_id input.disabled {
  background-color: #ccc;
}

#challengproject_form table tr.dynamic-teams td.original p,
#waitlist_form table td.original p {
    display: none;
}
#challengproject_form table tr.dynamic-teams td,
#waitlist_form table td {
    padding-top: 1em;
}

#studentapplication_form .submit-row a.default {
    border: none;
    font-weight: 400;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
    height: 15px;
    line-height: 15px;
}
#studentapplication_form .submit-row a.approve {
    background: green;
    float: left;
}

#studentapplication_form .submit-row a.decline {
    background: #ba2121;
    float: left;
    margin-left: 10px;
}
.object-tools a.import-projects{
    background: green;
    color: #fff;
    margin: 0 0.5rem;
}
.object-tools a.import-projects:hover{
    background: #447e9b;
}

.dashboard-module-content a.button {
    color: white;
}

.dashboard-module-content table {
    width: 100%;
}
.custom-admin-dashboard-actions {
    display: inline-flex;
}

#gieclubfeassessionconfiguration_form .submit-row a.sessionlink,
#sispsessionconfiguration_form .submit-row a.sessionlink {
    background: #417690;
    float: right;
}

#gieclubfeassessionconfiguration_form .submit-row a.sessionlink:hover,
#sispsessionconfiguration_form .submit-row a.sessionlink:hover {
    background: #205067;
}

.submit-row .button {
    padding: 10px 15px;
}
.btn-green {
    background: green !important;
    float: left !important;
}

.btn-red {
    background: #ba2121 !important;
    float: left !important;

}
.btn-align-left {
    float: left !important;
}
.ss-action-links {
    float: left;
    margin-bottom: 5px !important;
    margin-right: 5px !important;
}
/* .changelist-form .results table.result_list td.field-action_links {
    padding: 8px 0 !important;
}

.changelist-form .results table.result_list td.field-action_links a.button{
    margin-bottom: 5px;
    float: left;
} */

#studentapplicationconfiguration_form .form-row label {
    width: 100%;
}

#highschool_form .submit-row a.closelink {
    margin: 0 0 0 12px;
}
#highschool .submit-row .button.default, input[type=submit].default, .submit-row input.default {
    float: none !important;
}

#registrationrecord_form .submit-row .submit-row input.default {
    float: none !important;
}