/* This is the PRIMARY_CSS file of signbank app */

/* Used in comment applications list.html template */
section p {
    word-wrap: break-word;
}

.searchinput {
    padding-left: 0px;
    padding-bottom: 5px;
}
.searchcolor ul {
    margin-left: 0px;
    margin-bottom: 5px;
}
.edit_text input, .edit_url input {
    width: 100%;
}
.uploadvid {
    padding: 10px;
}
.uploadvid legend {
    margin-bottom: 10px;
    padding-left: 5px;
    background-color: #ecf0f1;
    border-radius: 4px;
}
.video_edit {
    margin-top: 5px;
}
.video-ordering {
   display: inline-block;
}
.poster-edit {
   display: inline-block;
}
.change-video-publicity {
    display: inline-block;
}
.color-flatblue {
   color: #3498DB;
}
/* Controls the jQuery-UI tooltip thumbnail style */
.tooltip-thumbnail {
    max-width: 280px;
}
#signinfo {
    background-color: #ffffff;
    margin-bottom: 0px;
}
#signinfo .navbar-text {
    color: #FFFFFF;
}
#signinfo #editbutton {
    margin-right: 15px;
}
#definitionblock {
   border-top: 1px solid #000;
   margin-top: 0px;
   background-color: #FFF;
}
@media  (min-width: 992px) {
    #definitionblock .col-md-8 {
        padding-left: 60px;
    }
}
#leftblock {
    float: left;
}
#videocontainer {
    margin: auto;
}
#videocontainer .player {
    margin-bottom: 5px;
    padding: 5px;
}
#videocontainer .video-not-public {
    background-color: #f2dede;
}

.player video {
    border-style: solid;
    border-color: #F0F0F0;
    border-width: 0px 1px 1px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
}
.videocontainer {
    margin: auto;
    position: relative;
}
.videocontainer .player {
    margin: auto;
    background-color: white;
}
#novideo
{
    margin: 10px 0px 10px 0px;
    display: block;
    height: 100px;
    text-align: center;
}
#videoiframe {
    -webkit-border-radius: 0px 0px 10px 10px;
    -moz-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    width:460px;
    height:259px;
}
#definition {
    padding-left: 6px;
}
/* admin search form */
#searchformwell {
    background: #FFFFFF;
}
#adminsearch td input {
    width: 100%;
}
#adminsearch #searchpanels > td {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
#adminsearch #searchfields td {
    width: 33%;
    border-top: 0px;
}
#adminsearch .table
{
	margin-bottom: 5px;
}
#adminsearch .table-condensed .table-condensed
{
	margin-bottom: 0px;
}
#adminsearch #searchpanels {
    width: 100%;
}
#adminsearch #searchpanels select {
    width: 100%;
}
.searchform-separator {
    margin-top: 5px;
    margin-bottom: 10px;
}
.pagination {
   margin: 0 0 5px 0;
}
#paginate_by select {
    width: 100px;
}
#paginate_by {
    float: right;
}
#paginate_by label {
    display: inline;
}
#paginate_by select {
    display: inline-block;
}
/* editing gloss */
.edit_enabled {
    background-color: red;
}
#definition .table th {
    width: 20em;
}

/* tag code adapted from http://cssglobe.com/pure-css3-post-tags/ */
.taglist {
    margin:0;
    padding:0;
    list-style:none;
}
.tag {
    float:left;
    height:24px;
    line-height:24px;
    position:relative;
    margin-left:20px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding:0 10px 0 12px;
    background:#0089e0;
    color:#fff;
    text-decoration:none;
    -moz-border-radius-bottomright:4px;
    -webkit-border-bottom-right-radius:4px;
    border-bottom-right-radius:4px;
    -moz-border-radius-topright:4px;
    -webkit-border-top-right-radius:4px;
    border-top-right-radius:4px;
}
.tag:before {
    content:"";
    float:left;
    position:absolute;
    top:0;
    left:-12px;
    width:0;
    height:0;
    border-color:transparent #0089e0 transparent transparent;
    border-style:solid;
    border-width:12px 12px 12px 0;
}
.tag:after {
    content:"";
    position:absolute;
    top:10px;
    left:0;
    float:left;
    width:4px;
    height:4px;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
    background:#fff;
    -moz-box-shadow:-1px -1px 2px #004977;
    -webkit-box-shadow:-1px -1px 2px #004977;
    box-shadow:-1px -1px 2px #004977;
}
.tagdelete {
    color: red;
}
#tagaddform {
    clear: both;
}
td .tag {
    margin-left: 15px;
    margin-top: 0px;
    margin-bottom: 1px;
    padding: 0px 10px 0px 8px;
}
.tagsaddgloss select[multiple]#id_tags {
    width:auto;
    height:15em;
}

/* These styles are for typeahead script */
/*.typeahead,
.tt-query,
.tt-hint {*/
    /*width: 396px;*/
    /*height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
            border-radius: 8px;
    outline: none;
}*/
/*.typeahead {
    background-color: #fff;
}
.typeahead:focus {
    border: 2px solid #0097cf;
}*/
/*.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}*/
.tt-hint {
    color: #999;
}
.tt-menu {
    max-width: 422px;
    margin-top: 8px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #753f3f;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
            border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
       -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
            box-shadow: 0 5px 10px rgba(0,0,0,.2);
}
.tt-suggestion {
    padding: 3px 20px;
    line-height: 20px;
}
/*.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;
}
.tt-suggestion p {
    margin: 0;
}*/
#gloss-comments {
    padding-bottom: 20px;
}
.comment-header {
    margin-bottom: 2px;
}
.col-public-list {
    padding-left: 3px;
    padding-right: 3px;
}
.video-public {
    cursor:pointer;
}
.video-public:hover {
    cursor:pointer;
}
.notifications-menu {
    padding-left: 8px;
    padding-top: 3px;
}
.notifications-ulist {
    padding: 5px 5px 0 5px;
    list-style-type: none;
}
.notifications-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.notifications-title {
    margin-left: 10px;
    margin-right: 5px;
}
.notifications-mark-all-read {
    margin-right: 10px;
    margin-left: 5px;
}
.notifications-hr {
    margin-top: 5px;
    margin-bottom: 5px;
}
@media (min-width: 320px) {
    .notifications {
        width: 130px;
    }
}
@media (min-width: 480px) {
    .notifications {
        width: 300px;
    }
}
@media (min-width: 768px) {
    .notifications {
        width: 400px;
    }
}
@media (min-width: 992px) {
    .notifications {
        width: 600px;
    }
}
.notifications-menu-close {
    margin-right: 10px;
}
/* Public search mark.js */
h3.gloss-idgloss mark {
    background-color: #eae2ba;
    padding-bottom: 0em;
}
span.gloss-keywords mark {
    background-color: #efcccc;
}