.blockUI.blockMsg {
    display: none !important;
}

.footer-navi {
    display: flex;
}

.d-flex{
    display: flex;
}

#results .image img {
    /*  {# width: 100%;#} */

}

/****Dame.style*/

.greyBg{
    background-color: #f2f2f2 !important;
}

.mt-5{
    margin-top: 5px;
}
.mt5{
    margin-top: -5px;
}
.mt-10{
    margin-top: 10px;
}
.mt-15{
    margin-top: 15px;
}
.mt-20{
    margin-top: 20px;
}
.mt-30{
    margin-top: 30px;
}
.mt-35{
    margin-top: 35px;
}
.mt-50{
    margin-top: 50px;
}

.mt-65{
    margin-top: 65px;
}
.pad-10{
    padding: 10px;
}
.pad-20{
    padding: 20px;
}
.pad-30{
    padding: 30px;
}
.no-pb{
    padding-bottom: 0;
}
.pb-10{
    padding-bottom: 10px;
}
.no-pl{
    padding-left: 0;
}
.no-pr{
    padding-right: 0;
}
.no-p{
    padding: 0;
}
.no-mr{
    margin-right: 0;
}
.no-ml{
    margin-left: 0;
}
.pt-5{
    padding-top: 5px ;
}
.pt-10{
    padding-top: 10px ;
}
.pt-20{
    padding-top: 20px ;
}
.pt-30{
    padding-top: 30px ;
}

.pt-40{
    padding-top: 40px ;
}
.pr-5{
    padding-right: 5px ;
}
.pr-20{
    padding-right: 20px ;
}

.pl-5{
    padding-left: 5px ;
}
.pl-10{
    padding-left: 10px ;
}
.mb-10{
    margin-bottom: 10px !important;
}
.pb-25{
    padding-bottom: 25px !important;
}
.mb-20{
    margin-bottom: 20px !important;
}
.mb-30{
    margin-bottom: 30px;
}
.mb-40{
    margin-bottom: 40px;
}
.mb-50{
    margin-bottom: 50px;
}
.ml-auto{
    margin-left: auto;
}
.ml-5{
    margin-left: 5px !important;
}

.ml-0{
    margin-left: 0px!important;
}
.ml-n5{
    margin-left: -5px !important;
}
.ml-10{
    margin-left: 10px;
}

.ml-15{
    margin-left: 15px;
}
.ml-20{
    margin-left: 20px;
}
.ml-30{
    margin-left: 30px;
}
.ml-50{
    margin-left: 50px;
}
.mr-5{
    margin-right: 5px;
}
.mr-10{
    margin-right: 10px;
}
.mr10{
    margin-right: -10px;
}
.mr-15{
    margin-right: 15px;
}
.mr-20{
    margin-right: 20px;
}
.mr-40{
    margin-right: 40px;
}

.pad{
    padding: 10px;
}
body{
    background-color: #d9d9d9;
}
.panel-body {
    padding: 0px 15px 15px;
}


.dark-greyBG{
    background-color: #d9d9d9;
}
.whiteBg{
    background-color: white;
}
.blackBg{
    background-color: black;
}
.nav {
    padding-left :  15px;
    border: none !important;

}
.w-20{
    width: 20%;
}
.logo{
    background-image: url('/static/loop.png');
    width: 35px;
    height: 31px;
    background-repeat: no-repeat;
    margin-top: 2px;
    margin-right: 10px;

}


.thumbnail-mode {
    float: right;
    width: 35px;
    height: 31px;
    margin-top: -40px;
    margin-right: 7px;
}

.list-mode {
    float: right;
    width: 35px;
    height: 31px;
    margin-top: -40px;
    margin-right: 63px;



}
.add-logo{
    width: 5%;
    background-image: url('/static/add.png');
    background-repeat: no-repeat;
}
.sort-box{
    margin-right: -137px;
    margin-top: 78px;
    border: 1px solid #625f5f;
    padding-left: 0px;
    padding-right: 0px;
}
.search-box{
    display: -webkit-box;
}
.contract-box{
    display: inline-flex;
}
.nav-tabs > li > a {
    background-color: #bfbfbf;
}

.navbar {
    border: none !important;
}
.datePic{
    background-color: #92b9df;
}

.modal-dialog {
    width:600px;
}
.thumbnail {
    margin-bottom:6px;
    height: auto;
}

.dame-btn {

    color: black;
    background-color:  #f4b183;
    border-radius: 0 !important;
}
.dame-color{
    color: #f4b183;
}
.remove-tag{
    color: transparent;
}
.table_header, th{
    background-color: rgb(214, 220, 229);
}


.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}

/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        filter: alpha(opacity=0);
        font-size: 100%;
        height: 100%;
    }
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {

    background-color:  #f4b183 !important;
    color: black !important;
    border-color: black !important;

}

.pagination > li > a, .pagination > li > span {
    color:#625f5f !important;

}


li{

    list-style-type: none;

}
#dame_image_medias .form-group {
    margin-bottom: 15px;
    display: inline-table;
    margin-right: 5px;
}
.dame-nav-bar{
    /* {#    padding-left: 20px !important;
        padding-right: 20px !important;#} */
    margin-right: 8px !important;
    background-color: #bfbfbf !important;
}
.nav > li > a {
    padding-left: 50px !important ;
    padding-right: 50px !important;

}
li.active{
    background-color: #ffffff !important;
}

.navbar-default {
    background-color: rgba(0, 0, 0, 0) !important;
    border-color: transparent !important;
}
.navbar {
    margin-bottom: 0px!important;
}

.form-group {
    margin-bottom: 5px;
}

.bootstrap-date > select {
    background-color: #d6dce5!important;
    -webkit-appearance: button-bevel!important;
    border: none;
}

.dame-select {
    background-color: #d6dce5!important;
    -webkit-appearance: button-bevel!important;
    margin-right: 5px;


}

#dame_search_tags_category_event > .form-group{
    display: -webkit-box;

}

#dame_search_tags_category_event > .form-group .control-label{
    margin-top: 6px;
}
#dame_search_tags_category_event > .form-group .bootstrap-date{
    margin-left: 3px;
    /*   {#position: absolute;#} */
}
.event-box{
    /*  {# padding-right: 65px;
      right: 11px;#} */
    padding-right: 6px;
}
.category-box > .greyBg{
    padding-bottom: 28px;

}
.imgformat > .greyBg{
    padding-bottom: 28px;

}
.medias-box{
    /*  {#right: 71px;#} */
}

.medias-box > .greyBg{
    padding-bottom: 85px;
}
.event-box > .greyBg{

}
.usage-box > .greyBg{
    padding-bottom: 83px;
}
.transparent{
    color: transparent;
}
.tags-box{
    /*  {#left: 35px;#}
     {#padding-bottom: 20px;#} */
    padding-bottom: 0;
}
.search-btn{

    margin-right: 26px;
    width:120px;

}
.sort-box > select {
    -webkit-appearance: button-bevel!important;
}
.icon{

    /*    {#    background-image: url('/static/selectArrow.png');
           background-repeat: no-repeat;#} */
}
#dame_search_tags_usage > .form-group .bootstrap-date > select, #dame_search_tags_category_event > .form-group .bootstrap-date > select{
    padding: 5px 7px;
}
#dame_search_tags_category_event .bootstrap-date > select, #dame_search_date_of_purchase.bootstrap-date > select, #dame_search_license_until.bootstrap-date > select,
#dame_image_date_of_purchase.bootstrap-date > select, #dame_image_license_until.bootstrap-date > select, #dame_image_event .bootstrap-date > select, #dame_image_medias .bootstrap-date > select,
#upload_image_event_from.bootstrap-date > select, #upload_image_date_of_purchase.bootstrap-date > select, #upload_image_license_until.bootstrap-date > select{
    padding: 5px 7px;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #000;
}
#dame_search_tags_category_event > .form-group  #dame_search_tags_category_event_to {
    margin-left: 7px;
}
#dame_image_image_type{
    display: -webkit-inline-box;
}
#dame_image_image_type > .checkbox{
    margin-top: -11px;
    margin-right: 10px;
}
.active  a{
    background-color: white !important;
}
.add_tag_link{
    margin-right: 5px;
    /*margin-top: -68px*/
    margin-bottom: 10px!important;
    margin-top: 10px;
}

.category-edit-box {
    /* margin-top: 37px; */
}

.usage-edit-box > .greyBg {
    padding-bottom: 169px;
}
.media-edit-box > .greyBg {

}

.media-edit-box{
    padding-left: 5px;
    padding-right: 25px;
}
.template-download > td, .template-upload > td{
    width: 40%;
    display: -webkit-inline-box;
}

div[disabled] > div, div[disabled] > input {
    cursor: not-allowed;
}
label {
    color: #5a5a5a;
}
.resetBtn{
    margin-left: 10px;
    border-radius: 0 !important;
    background-color: #d6dce5!important;
    border: none;
    padding: 10px;
    float:right;
    width:120px;
}
#dame_image_tags_usage{
    display: -webkit-box;
    background-color: #f2f2f2 !important;
    padding-left: 10px;

}
#dame_image_tags_usage > .form-group{
    margin-right: 20px
}

#dame_image_tags_media_type > .form-group{
    margin-right: 10px
}

.bootstrap-date select{
    margin-right: 0px;
}

.inline{
    display: inline;
}

.d-grid{
    display: grid;
}


/************/

.gal-container{
    padding: 12px;
}
.gal-item{
    overflow: hidden;
    padding: 3px;
}
.gal-item .box{
    height: 350px;
    overflow: hidden;
}
.box img{

    object-fit:cover;
    -o-object-fit:cover;
    max-height: -webkit-fill-available;
}
.gal-item a:focus{
    outline: none;
}
.gal-item a:after{
    content:"\e003";
    font-family: 'Glyphicons Halflings';
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    right: 3px;
    left: 3px;
    top: 3px;
    bottom: 3px;
    text-align: center;
    line-height: 350px;
    font-size: 30px;
    color: #fff;
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
}
.gal-item a:hover:after{
    opacity: 1;
}
.modal-open .gal-container .modal{
    background-color: rgba(0,0,0,0.4);
}
.modal-open .gal-item .modal-body{
    padding: 0px;
}
.modal-open .gal-item button.close{
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #f4b183;
    opacity: 1;
    color: #fff;
    z-index: 999;
    right: -12px;
    top: -12px;
    border-radius: 50%;
    font-size: 15px;
    border: 2px solid #fff;
    line-height: 25px;
    -webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.35);
}
.modal-open .gal-item button.close:focus{
    outline: none;
}
.modal-open .gal-item button.close span{
    position: relative;
    top: -3px;
    font-weight: lighter;
    text-shadow:none;
}
.gal-container .modal-dialogue{
    width: 80%;
}
.modal-dialog{
    width: fit-content;
}
.gal-container .description{
    position: relative;
    height: 40px;
    top: -40px;
    padding: 10px 25px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    text-align: left;
}
.gal-container .description h4{
    margin:0px;
    font-size: 15px;
    font-weight: 300;
    line-height: 20px;
}
.gal-container .modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 100px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.gal-container .modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -100px, 0);
    transform: translate3d(0, -100px, 0);
    opacity: 1;
}
@media (min-width: 768px) {
    .gal-container .modal-dialog {
        width: 55%;
        margin: 50 auto;
    }
}
@media (max-width: 768px) {
    .gal-container .modal-content{
        height:250px;
    }
}
/* Footer Style */
i.red{
    color:#BC0213;
}
.gal-container{
    padding-top :75px;
    padding-bottom:75px;
}
.table > tbody > tr > td{
    border: none !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #EEEEEE ! important;
}
.table-striped > tbody > tr {
    background-color: #DDDDDD ;
}
.edit-button{
    float: right;
    width: 35px;
    height: 31px;
    margin-bottom: -10px;
    cursor: pointer;
}


.info-box{
    flex: 1;

    background-color: #f2f2f2;

}
.media-box{
    padding-left: 0;
    margin-top: 10px
}
#category-info{

}
#dame_image_tags_format_tags{
    margin-top: -6px;
}
#dame_image_tags_category_tags{
    margin-top: 20px;
}
#dame_image_tags_media_type{
    margin-top: 40px;
}
#upload_image_tags_usage{
    margin-top: 34px;
}
#upload_image_tags_media_type{
    margin-top: 30px;
}

.format-edit-box{

}

input[disabled],textarea[disabled], .form-control[readonly], fieldset[disabled]  {
    cursor: not-allowed;
    background-color: #f2f2f2 !important;
    border: none;
    /* opacity: 1; */
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    color: black;
}
.border-bar-grey{
    background-color: #d9d9d9;
    padding-bottom: 58px;
    margin-top: 20px;
    margin-left: -20px;
    margin-right: -20px;
}
.greyBg >.close{
    padding: 10px !important;
}
.inline-flex{
    display: inline-flex;
}
.full-width{
    width: 100%;
}
.radio, .checkbox {
    margin-top: 10px !important;
}
.has-error{
    color: #BC0213;
}
#dame_image_license_until > select:disabled {
    background-color:transparent!important;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px;
}
#dame_image_date_of_purchase > select:disabled {
    background-color:transparent!important;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px;
}
#dame_image_license_until_day:disabled {
    padding-left: 27px !important;
}
#dame_image_date_of_purchase_day:disabled {
    padding-left: 10px !important;
}

#dame_image_event_to > select:disabled {
    background-color:transparent!important;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px;
}

#dame_image_event_from > select:disabled {
    background-color:transparent!important;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px;
}
#dame_image_event_event:disabled{
    background-color:transparent!important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#dame_image_event_region:disabled{
    background-color:transparent!important;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#upload_image_dame_image_type, #upload_image_image_format{
    margin-top:  33px;
}
#upload_image_tags_category_tags{
    margin-top: -17px
}

.cancel-button{
    margin-bottom: -13px;
    margin-left: 25px;
    margin-right: 5px;
}

.save-button{
    margin-right: 25px;
}
.light{
    background-color: #EEEEEE;
}

.dark{
    background-color: #DDDDDD;
}
.aline{
    margin-top: -7px;
}

.form-control {
    border-radius: 0px !important;

}
.horizontal-arrow{
    width:20px
}
a:hover, a:focus {
    color: #72b4e6;
    text-decoration: none;
}
a {
    color: #5a5a5a;
    text-decoration: none;
}
.info-box #licence-info .contract-box .button {
    display: none;
}
.gal-item img {
    width: inherit;
}

#image-box1{
    background-color: #ffffff;
    border: solid 1px #f2f2f2;
}

#dame_image_event .form-group .control-label{
    margin-right: 40px;
    margin-top: 5px;
}
body {
    font-family: "Neue Haas Unica W01 Regular", sans-serif !important;
    font-size: 12px;
}
.sort-arrow{
    width: 20px;
    height: 10px;
    position: absolute;
    transform: rotate(90deg);
    margin-top: 10px;
    margin-left: 5px;
}
#dame_search_sort{
    text-indent: 20px
}

#dame_image_purchaser{
    margin-top:-10px;
}

#dame_search_dame_image_type{
    display: flex;

}
#dame_search_dame_image_type .radio {
    margin-left:10px
}

.modal-dialog #dame_image_date_of_purchase{
    margin-left: 17px;

}
.modal-dialog #dame_image_license_until{
    margin-left: 17px;

}
.photograf .form-group {
    margin-left: 20px;
    margin-right: 15px;
}
.archiveBg{
    background-color: #FFCD32;
}
.active .archive{
    background-color: #FFCD32 ! important;
}
#dame_image_purchaser{
    margin-left: 9px;
}
.modal-dialog #dame_image_purchaser{
    margin-left: 0px;
}
.event{
    padding-bottom: 2px;
}

.no-marg-top{
    margin-top: 0 !important;
}

.add_note_link{
    margin-top: -260px;
    margin-left: 264px;
}

.mt-70{
    margin-top: -70px;
}

#dame_image_date_of_purchase_month, #dame_image_event_from_month, #dame_image_event_to_month{
    /*width: 16px !important;*/
    text-align: center;
}

#upload_image_event label{
    margin-top: 10px;
}
/************Query************/