.ui-dialog-titlebar-close {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    box-shadow: none;
    color: #666;
    cursor: pointer;
    display: block;
    height: 36px;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 36px;
}

.tps-message {
    margin-top: 1em;
}

.info, .success, .warning, .error, .validation {
    border: 1px solid;
    /*margin: 10px 0px;*/
    padding: 1em 1em 1em 1em;
    background-repeat: no-repeat;
    background-position: 10px center;
}

.info {
    color: #00529B;
    background-color: #BDE5F8;
    /*background-image: url('info.png');*/
}

.success {
    color: #4F8A10;
    background-color: #DFF2BF;
    /*background-image: url('success.png');*/
}

.warning {
    color: #9F6000;
    background-color: #FEEFB3;
    /*background-image: url('warning.png');*/
}

.error {
    color: DarkRed;
    background-color: #FFBABA;
    /*background-image: url('error.png');*/
}

.error a {
    color: #555 !important;
}

/* ============ Full Calendar ====================*/
.fc-day-header {
    background: #e5e5e5 none repeat scroll 0 0;
}

.fc-event-inner {
    color: #000000;
}

table.fc-header {
    margin: 0 0;
    border: none;
}

@media only screen and (max-width: 40em) {

    table.fc-header {
        font-size: 0.7em;
    }
}


table.fc-border-separate {
    margin: 0 0;
}

table.fc-header tr td {
    border: none;
    padding: 0 0.6em;
}

.fc-event-inner:hover {
    cursor: pointer;
}

.fc-event-inner .fc-event-time {
    display: inline-block;
}

.fc-event-inner .fc-event-title {
    display: inline-block;
    line-height: 1.2em;
}

.ui-dialog {
    font-size: 0.6em;
    width: 439px !important;
}

.ui-dialog .ui-dialog-titlebar {
    height: auto;
    /*width: 160px;*/
    line-height: 1em;
}

.ui-dialog .ui-dialog-titlebar .ui-dialog-title{
    font-size: 0.6em;
}


.edit {
    /*background: #ffeb3b;*/
}

/* ============= Filter ================ */

#filter {
    font-size: 0.7em;
    width: 100%;
    line-height: 1.2em;
    padding-bottom: 0.5em;
    padding-top: 1em;
    margin-top: 0.5em;
}


#filter label{
    display: block;
}

#filter input{
    padding: 0.1em;
}


@media only screen and (min-width: 40em) {

    #filter .select2wrap{
        width: 100%;
    }
    #filter #places {
        float: left;
        margin-left: 1em;
        width: 43%;
    }

    #filter #categories {
        float: left;
        margin-left: 1em;
        width: 43%;
    }
    #filter #reset{
        float: left;
        margin-top: 1.5em;
        margin-left: 2em;
    }
}

@media only screen and (max-width: 40em) {

    #filter #reset{
        margin-top: 0.5em;
    }
}


#filter #reset {
    display: inline-block;
    padding: 0.2em 0.5em;
    border-radius: 0.5em;
    background-color: DarkRed;
    color: #ffffff;
}

#filter #reset:hover {
    cursor: pointer;
}

#event-popup .popactions {
    display: block;
}

#event-popup .event-link {
    margin-left: 0.5em;
}
#event-popup .event-link a {
    /*margin: 0;*/
    padding: 0.5em 0.5em;
    font-size: 1.2em;
    text-decoration: none;
    /*vertical-align: middle;*/
    border-radius: 4px;
    border: 1px solid #ddd;
}

#event-popup .content-management {
    margin-left: 0.5em;
    margin-top: 1.2em;
    margin-bottom: 1em;
}
#event-popup .content-management a {
    margin-left: 0.5em;
    padding: 0.5em 0.5em;
    text-decoration: none;
    /*vertical-align: middle;*/
    border-radius: 4px;
    border: 1px solid #ddd;
    font: normal 1.5em 'FontAwesome';
}

#event-popup .delete {
    background-color: DarkRed;
    color: #ffffff;
}

#event-popup .meta {
    clear: both;
    margin-top: 0.5em;
}

#event-popup .meta label {
    font-weight: bold;
}
#event-popup .short-content {
    clear: both;
    margin-top: 0.5em;
}

.ui-dialog-content {
    overflow: auto;
    padding: 1em;
}


.loading {
    opacity: 0.3;
}

#loading-box {
    display: none;
    position: fixed;
    z-index: 1000;
    width: 128px;
    height: 128px;
    top: 50%;
    left: 50%;
    margin-top: -64px;
    margin-left: -64px;
}
