/* BEGIN Padding and alignment */

body {
    padding-top: 75px;
    padding-bottom: 20px;
}

.top-buffer {
    margin-top: 20px;
}

.top-buffer-12 {
    margin-top: 12px;
}

.button-top-buffer {
    margin-top: 25px;
}

.checkbox-left-buffer {
    margin-left: -13px;
}

.checkbox-top-buffer {
    margin-top: 12px;
}

.form-horizontal .checkbox {
    padding-top: 0;
}

.form-horizontal .control-label {
    text-align: left;
}

/* END Padding and alignment */

/* BEGIN Login logo */

.login-logo {
    max-height: 175px;
    text-align: center;
}

.add-new-event-button {
    margin: 0 0 20px 0;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* END Login logo */

/* BEGIN Navigation bar */

.navbar-header img {
    height: 60px;
    padding: 5px;
}

.dropdown-menu {
    margin-left: 20px;
    min-width: 200px
}

.w100 {
    width: 100%;
}

#top-nav a {
    height: 46px;
}

.view-btn {
    float: right !important;
}

@media (max-width: 767px) {
    .view-btn {
        float: left !important;
    }
}


/* END Navigation bar */

/* BEGIN Rich-text editor */

.wysihtml5-toolbar .btn-default {
    color: #242422;
    background-color: #ffffff;
}

    .wysihtml5-toolbar .btn-default:hover {
        color: #242422;
        background-color: #e0e0e0;
    }

    .wysihtml5-toolbar .btn-default:active,
    .wysihtml5-toolbar .btn-default.active,
    .wysihtml5-toolbar .open > .dropdown-toggle.btn-default {
        color: #242422;
        background-color: #e0e0e0;
    }

.wysihtml5-toolbar .btn {
    border: 1px solid rgb(223, 215, 202);
}

/* END Rich-text editor */

/* BEGIN image thumbnails */

.thumbnail-wrap {
    background-color: #e7e7e7;
    float: left;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #d1d1d1;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: 0.3s;
}

    .thumbnail-wrap:hover {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
        transition: 0.3s;
    }

.thumbnail {
    border: none;
    padding: 0;
    margin-bottom: 0;
}

    .thumbnail .created {
        font-size: 11px;
        padding: 0 0 0 9px;
        bottom: -20px;
        position: relative;
    }

        .thumbnail .created .icon-calendar {
            margin: 0 5px 0 0;
        }

        .thumbnail .created .icon-price-tag {
            margin: 0 5px 0 20px;
        }

.thumbnail-container {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    max-height: 138px;
    overflow: hidden;
}

.thumbnail-video {
    width: 100%;
    /* height not needed anymore, but better keep it for compatibility
    with browsers that do not support aspect-ratio and object-fit (IE11) */
    height: 100%;
    aspect-ratio: 260 / 146;
    object-fit: cover;
}

.loading {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

.loading span {
    padding: 5px;
    border-radius: 5px;
    color: #000;
    background-color: #fff;
    position: relative;
    top: 50%;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.2;
}

/* END image thumbnails */

/* BEGIN checkbox */

.checkbox-input {
    position: absolute;
}

.checkbox-label {
    position: relative;
    left: 18px;
    margin-top: -10px;
}

.checkbox-bold label {
    cursor: pointer;
}

/* END checkbox */

/* BEGIN button dropdown list */

.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

.article-list-thumb-container {
  position: relative;
  display: inline-block;
}

.article-list-thumb {
  height: 70px;
  width: auto;
}

.article-list-thumb-container .overlay {
  height: 70px;
  width: 120px;
}

.article-title {
    display: block;
    display: -webkit-box;
    max-width: 240px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* END button dropdown list */

/* BEGIN publish status */


.status-box {
    float: left;
    width: 100%;
}

.status {
    /*overflow:hidden;*/
}

    .status span {
        background-color: #fff;
        float: right;
        height: 25px;
        width: 25px;
        margin-right: -5px;
        border: 1px solid #826953;
        padding-left: 4px;
        padding-top: 4px;
    }

/* END publish status */

.opta-caret {
    cursor: pointer;
}

    .opta-caret:active {
        cursor: default;
    }

/*Autocomplete tag*/
.icon-github {
    background: no-repeat url('../img/github-16px.png');
    width: 16px;
    height: 16px;
}

.bootstrap-tagsinput {
    width: 100%;
    height:auto;
}


.accordion {
    margin-bottom: -3px;
}

.accordion-group {
    border: none;
}

.twitter-typeahead {
    float: none;
}

    .twitter-typeahead .tt-query,
    .twitter-typeahead .tt-hint {
        margin-bottom: 0;
    }

    .twitter-typeahead .tt-hint {
        display: none;
    }

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    cursor: pointer;
}

.tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: nowrap;
}

    .tt-suggestion:hover,
    .tt-suggestion:focus {
        color: #ffffff;
        text-decoration: none;
        outline: 0;
        background-color: #428bca;
    }


.tt-dataset {
    width: 100%;
}

.sortable ul {
    list-style-type: none;
    padding: 0;
}

.sortable li:hover {
    cursor: move;
}

.placeholder-drop-sortable {
    visibility: visible !important;
    background-color: grey;
    opacity: 0.2;
    border: 2px dashed black;
}

.nodisplay {
    display: none;
}


.mtb20 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.m20 {
    margin: 20px;
}

.mr20 {
    margin-right:20px;
}

.ml5 {
    margin-left: 5px;
}

.ml0 {
    margin-left: 0;
}

.ml20 {
  margin-left: 20px;
}

.m10 {
    margin: 10px;
}

.mb-10 {
  margin-bottom: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mlr10 {
    margin-left: 10px;
    margin-right: 10px;
}

.mlr20 {
    margin-left: 20px;
    margin-right: 20px;
}

.mtb40 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.ajax-loader {
    background-color: #ffffff;
    background-image: url("/_resx/images/ajax-loader-small.gif");
    background-size: 25px 25px;
    background-position: right center;
    background-repeat: no-repeat;
}

.expandableinput {
    border: none;
    overflow: hidden;
    width: 100%;
    outline: none;
}

    .expandableinput:focus, expandableinput:active, expandableinput:focus, expandableinput::selection {
        border: none;
        outline: none;
    }

.cursor-pointer {
    cursor: pointer;
}

.meta-select {
    min-height: 200px;
}

.feed-content,
.metafield {
    display: none;
}

.metafield-header,
.feed-content-header {
    background-color: #f8f5f0;
    cursor: pointer;
}

    .metafield-header h3,
    .feed-content-header h3 {
        padding: 10px 0;
        margin: 0
    }

    .metafield-header .icon-expand,
    .feed-content-header .icon-expand {
        cursor: pointer;
        margin: 0 -16px 0 0;
        font-size: 16px;
        padding: 14px 0 0 0;
    }

#CountrySearch {
    width: 87%;
    margin: 0 10% 5px 6%;
    color: #98978b;
    font-size: 11px;
    padding: 2px 32px 2px 10px;
    font-weight: 500;
    text-transform: uppercase;
}

#CountryList .glyphicon-search {
    position: absolute;
    right: 31px;
    top: 10px;
    color: #98978b;
    font-size: 11px;
}

label[for^="ArticleSearchModel_Released_"] {
    font-weight: normal;
    margin-bottom: 0;
}

#ArticleSearchModel_Released_False {
    margin: 0 0 0 10px;
}

/* Overlays */
.overlay {
  position: absolute;
  left: 0px;
  top: 0px;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.loader-overlay {
  background-image: url(../images/ajax-loader-2.gif);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50px;
}

.loader-overlay-mini {
  background-image: url(../images/ajax-loader-2.gif);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 25px;
}

.overlay.overlay-fullscreen {
  position: fixed;
  z-index: 999999;
  background-color: #fff;
}

.overlay .overlay-message-container {
  -ms-transform: translateY(-50%);
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 1.2em;
  left: 3em;
  position: absolute;
  right: 3em;
  text-align: center;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  white-space: pre-line;
  pointer-events: auto;
}

/* End Overlays */

.preview-articles-header {
    background-color: #3e3f3b;
    padding: 10px;
    box-sizing: border-box;
    color: white;
}

.preview-article-search-result {
    margin: 14px 0 0 0;
}

.priview-number-of-articles {
    margin: 14px 0 0 0;
}

#ui-id-12 {
    height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
}


.ui-autocomplete {
 z-index: 215000000 !important;
}


.modalfixture {
    min-width:300px;
    min-height:200px;
    padding:40px
}

.no-video-content {
    background-color: black;
    display: table;
}

.no-video-content > span {
    color: white;
    font-size: large;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.username {
    color: #98978b;
    font-size: 11px;
    line-height: 22px;
    font-weight: 500;
    text-transform: uppercase;
}

.top-right {
    position: absolute;
    top: 8px;
    right: 20px;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    opacity: 0.5;
}

.bg-force-inherit {
  background-color: inherit !important;
}

.rounded-4 {
  border-radius: 4px;
}

.checkbox[readonly] {
  pointer-events: none;
  opacity: 0.5;
}

.button-link-simple {
  padding: 0;
  font-size: inherit;
}
.button-link-simple:focus, .button-link-simple:hover {
  outline: none !important;
}


/* Article Preview */
.preview-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background-color: #111
}

.preview-container > .overlay {
  background-color: #111
}

.preview-container > .overlay > .alert {
  background-color: #111
}

.preview-container .bmpui-ui-watermark {
  display: none;
}
/* End Article Preview */

/* Async Partial View */
.partial-view-reload-button {
  display: inline-block;
  margin-top: 1em
}
/* End Async Partial View */

/* form validation errors */
.field-validation-error {
    color: #a94442;
}
