/** on profile edit */
.user-subject-item, .user-subject-item-edit {
    float: left;
    position: relative;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 18px 5px;
    border-radius: 2px;
    margin: 5px;
    width: 195px;
    text-align: center;
    background: #30A5ED;
    color: #FFF;
    font-weight: 200;
    font-size: 15px;
}

.user-subject-item-edit {
    background: #F1F1F1;
    color: #999;
    cursor: pointer;
    border: 3px dashed #ddd;
    padding: 15px 2px;
}

.user-subject-item-edit:hover {
    box-shadow: inset 2px 5px 20px #ddd;
}

.user-subject-item .subject-primary-selected {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 17px;
}

/** start modal dialog */
#subject-server-message {
    color: red;
    font-weight: 200;
}

.subjects-modal form {
    margin: 0;
}

.subjects-modal .input-subject-search {
    float: right;
    margin-right: 10px;
    height: 15px;
    margin-top: 3px;
    font-size: 13px;
    font-weight: 200;
}

.subjects-modal .input-subject-search i {
    font-size: 12px;
    position: relative;
    top: -4px;
}

.subjects-modal .input-subject-search input {
    height: 16px;
}

.subjects-modal .modal-header {
    display: none;
    border-bottom: 1px solid #ddd;
    background: #F5F5F5;
}

.subject-modal-title .modal-icon {
    font-size: 19px;
    margin-right: 2px;
}

.subjects-modal .modal-header h3 {
    color: #0088C9;
    text-align: left;
    font-weight: 400;
}

.subjects-modal-body {
    height: 250px;
    overflow-y: auto;
}

.subjects-modal-sidebar {
    display: none !important;
    font-size: 15px;
}

.subject-primary-selected {
    color: orange !important;
}

/* Table */
.subject-primary {
    font-size: 16px;
    color: #CCC;
}

.subject-primary:hover {
    color: #C2AE7C;
    cursor: pointer;
}

.subject-list-row div {
    margin-right: 3px;
    display: inline-block;
}

.subject-list-row div.subject-item-type {
    margin-right: 0;
}

.subject-list-row:hover {
    background: #DFF0FC;
}

.subject-checkbox {
    vertical-align: super;
}

td.subject-item-type {
    color: #aaa;
    font-size: 12px;
    vertical-align: middle;
}

.subject-item-new {
    color: #fff;
    background: #2196F3;
    padding: 2px 4px;
    font-size: 12px;
    border-radius: 2px;
}

.subject-item-description {
    color: #888;
    font-size: 12px;
    padding-left: 22px;
}

@media (min-width: 540px) {
    .subjects-modal .modal-header {
        display: block;
    }
}

@media (min-width: 768px) {
    .subjects-modal {
        width: 95% !important;
        left: 15px  !important;
        margin-left: 0px !important;
    }

    .subjects-modal-sidebar {
        display: block !important;
        background: #F5F5F5;
        border-right: 1px solid #ddd;
        padding: 15px;
        height: 255px;
        overflow-y: auto;
    }

    .subjects-modal-sidebar h5 {
        font-weight: 400;
        color: #888;
    }

    .subjects-modal-sidebar #no-primary-selected {
        color: #F7871C;
    }

    .subjects-modal-sidebar #no-primary-selected .icon-warning-sign {
        color: #727272;
    }

    .subjects-modal-sidebar #sidebar-primary-selection {
        display: none;
    }

    .subjects-modal-sidebar p, .subjects-modal-sidebar h5 {
        padding: 1px 3px;
    }

    .subjects-sidebar-filter p:hover, .subjects-sidebar-filter p.active {
        background: #e1e1e1;
        cursor: pointer;
    }
}

@media (min-width: 980px) {
    .subjects-modal {
        width: 960px !important;
        left: 50%  !important;
        margin-left: -480px !important;
    }
    .subjects-modal-body, .subjects-modal-sidebar  {
        height: 350px;
    }
}

@media (min-width: 1200px) {
    .subjects-modal-body, .subjects-modal-sidebar  {
        height: 400px;
    }
}
