.divider {
    height: 1px;
    width: 100%;
    margin: 0.8em 0;
    border-top: 1px solid #ddd;
}

h1 {
    margin: 0;
}

.input {
    margin-bottom: 1em;
}

a.disabled {
    background-color: #eee !important;
}

.center-text {
    text-align: center;
}

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

.margin-bottom-1 {
    margin-bottom: 1em;
}

.padding-1 {
    padding-left: 5px;
    padding-right: 5px;
}

.no-opacity {
    opacity: 0;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.margin-right-1 {
    margin-right: 0.5em;
}

.padding-left-1 {
    padding-left: 5px;
}

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

/** picto */

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

.pict {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 1em;
    width: 1em;
}

.pict-event {
    background-image: url('../img/picto/bowling.svg');
}

.pict-place {
    background-image: url('../img/picto/place.svg');
}

.pict-date {
    background-image: url('../img/picto/calendar.svg');
}

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

/** numbers */

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

.number {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 1em;
    width: 1em;
}

.number-1 {
    background-image: url('../img/number/one.svg');
}

.number-2 {
    background-image: url('../img/number/two.svg');
}

.number-3 {
    background-image: url('../img/number/three.svg');
}

.number-4 {
    background-image: url('../img/number/four.svg');
}

.number-5 {
    background-image: url('../img/number/five.svg');
}

.number-6 {
    background-image: url('../img/number/six.svg');
}

.number-7 {
    background-image: url('../img/number/seven.svg');
}

.number-8 {
    background-image: url('../img/number/eight.svg');
}

.number-9 {
    background-image: url('../img/number/nine.svg');
}

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

/** filters */

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

.filters {
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.placeselector {
    display: flex;
    flex-direction: row;
}

.placeselector>.input:first-child {
    flex: 1;
    padding-right: 0.5em;
}

.placeselector>.input:last-child {
    flex: 1;
    padding-left: 0.5em;
}

.filter-duo {
    display: flex;
    flex-direction: row;
}

.filter-duo>.input:first-child {
    flex: 2;
    padding-right: 0.5em;
}

.filter-duo>.input:last-child {
    flex: 1;
    padding-left: 0.5em;
}

.filter-btn {
    margin-bottom: 1em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.filter-btn>.filter-composing {
    flex: 2;
    display: flex;
    justify-content: flex-start;
}

.filter-composing {
    flex: 1;
}

.filter-btn>.filter-composing>.btn:not(:last-child) {
    margin-right: 0.3em;
}

.filter-btn>.filter-lang {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.filter-btn>.filter-lang>.btn:not(:last-child) {
    margin-right: 0.3em;
}

.filter-controls {
    display: flex;
    flex-direction: center;
}

.filter-controls>.submit {
    margin-right: 0.3em;
}

.filter-commands {
    display: flex;
    flex-direction: row;
    flex: 3;
}

.filter-controls>.filter-commands>.submit {
    margin-right: 0.3em;
}

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

/** event */

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

.event-item-0 {
    background-color: rgba(19, 255, 0, 0.23);
}

.event-item-1 {
    background-color: rgba(0, 136, 255, 0.23);
}

.event-item-2 {
    background-color: rgba(255, 188, 0, 0.23);
}

.event-group {
    /*max-height: 45em;*/
    /*overflow-y: scroll;*/
    width: 100%;
    padding: 5px;
}

.event-item:not(:last-child) {
    margin-bottom: 0.8em;
}

.event-item {
    padding: 0px;
    position: relative;
}

.event-info {
}

.pag {
    margin: 0;
}

.event-content {
    padding: 0.5em;
}

.event-title {
    font-weight: bold;
    font-size: 1.1em;
}

.event-guid {
    background-color: #337ab7;
    margin:0px;
	position: absolute;
    right: 0;
    top: 0;
    width: 7em;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-guid>a {
    color: white;
    font-weight: bold;
}

span.small {
    color: #ccc;
    font-size: 0.8em;
}

.event-date {
    font-size: 0.8em;
}

.event-pogs {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
	margin-top:2px;
	margin-bottom:2px;
}

.playercount {
	border-radius:50%;
	background-color:green;
    padding: 0.2em 0.6em;
    color: white;
    font-size: 0.6em;
    height: auto;
    width: auto;
}

.event-pogs>div:not(:last-child) {
    margin-right: 0.3em;
}

.filter-days {
    margin-bottom: 1em;
}

.picto-day {
    background-color: #337ab7;
    padding: 0.2em 0.6em;
    color: white;
    font-size: 0.6em;
    height: auto;
    width: auto;
}

.btn-group-days {
    flex: 1;
}

.btn-group-days>.btn {
    margin-bottom: 0.2em;
}

.filter-composing>.btn {
    margin-bottom: 0.2em;
}

.rect {
    font-size: 0.6em;
    padding: 0.2em 0.6em;
}

#collapseFiltersLeague,
#collapseFiltersAll, 
#collapseFiltersLeisure,
#collapseFiltersTour {
    margin-bottom : 1em;
}

/**
 * MEDIA QUERIES
*/

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    .result-title {
        text-align: left;
    }
    .divider-m {
        margin: 0.4em 0;
    }
    .pict {
        display: none;
    }
    .event-guid {
        position: relative;
		margin-top:6px;
		padding-top:6px;
		padding-bottom:6px;
        width: 100%;
    }
    .filter-days>div,
    .filter-btn>div {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: space-around;
    }
    .filter-days>div>label,
    .filter-btn>div>label {
        flex: 0 1 20%;
        margin-bottom: 0.3em !important;
        margin-left: 0.15em;
        margin-right: 0.15em;
    }
    .tab-lnk {
        font-size: 0.7em;
    }
    .filter-duo {
        flex-direction: column;
    }
    .btn-group-days>.btn {
        margin-bottom: 0.2em;
    }
    .filter-composing>.btn {
        margin-bottom: 0.2em;
    }
}
