#ateliers_deich_actboxes_basesearch {
    display: block;
    clear: both;
    padding-top: 50px;
}
img.olefa-tinymce-insert-left {
    margin-right: 10px !important;
}

.print-btn{
    padding-left: 35px !important;
    background-image: url('/osr/icons/flat/bw/16/print.png') !important;
    background-repeat: no-repeat !important;
    background-position: 10px center !important;
}

.act-liststyle {
    width: 150px;
    float: right;
}

.act-liststyle > a {
    display: inline-block;
    padding: 10px;
    border: 1px #ccc solid;
    margin: 1px;
    width: 20px;
    background-color: #fff;
    transition: background-color 0.2s;
}

.act-liststyle > a:hover, .act-liststyle > a.selected {
    background-color: #ddd;
}

.act-liststyle > a > img {
    display: block;
    margin: 0 auto;
    height: 14px;
}

.activity-boxes {
    display: flex;
    flex-wrap: wrap;
    clear: both;
}
.activitybox {
    position: relative;
    flex-basis: 300px;
    display: flex;
    flex-direction: column;
    padding: 10px !important;
    margin: 10px !important;
    flex-grow: 1;
}
.activitybox[data-type="2"] {
    opacity: 0.6;
}
.activitybox[data-type="3"] {
    opacity: 0.3;
}
.act-cycl {
    display: block;
    padding: 10px 0 !important;
    flex-grow: 1;
}
.act-cycl > span {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    text-align: center;
    line-height: 40px !important;
    border: 2px #fff solid !important;
    margin: 2px !important;
}
.activitybox > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100,100,100,0);
    transition: background-color 0.2s;
}
.activitybox > a:hover {
    background-color: rgba(100,100,100,0.2);
}
.activitydetails h1 > a {
    display: inline-block;
    padding: 5px;
}
.activitydetails .act-cat {
    display: inline-block;
    padding: 2px 5px;
}
.act-duration {
    font-style: italic !important;
}
.act-creation {
    color: #999;
}

#ateliers_deich_actboxes_baselist .olefabasenavl {
    text-align: center;
}

.act-addlink, .act-vallink {
    display: inline-block;
    background-color: #eee;
    padding: 3px 5px 3px 26px;
    color: #000 !important;
    background-image: url('/osr/icons/flat/bw/16/add.png');
    background-repeat: no-repeat;
    background-position: 5px center;
    transition: background-color 0.2s;
    margin: 10px;
}

.act-vallink {
	background-image: url('/osr/icons/flat/bw/16/apply.png');
}

.act-addlink:hover, .act-vallink:hover {
    text-decoration: none;
    background-color: #ddd;
}


/* responsive listing (fake table) - general */

.resp-listing > a {
    color: #000 !important;
}
.resp-listing > a, .resp-listing > div {
    position: relative;
    display: flex;
    flex-direction: row;
}
.resp-listing > a:hover {
    text-decoration: none;
}
.resp-listing > a > span, .resp-listing > div > span {
    display: inline-block;
    background-color: #eee;
    transition: background-color 0.2s;
    margin: 2px;
    padding: 2px 5px;
    box-sizing: border-box;
}
.resp-listing > div.resp-listing-title > span {
   background-color: transparent;
   font-weight: bold;
   color: #000;
}
.resp-listing > a > span .resp-label {
   display: none;
}
.resp-listing > a:hover > span {
    background-color: #ddd;
}


.act-periode-dates {
    width: calc(40% - 4px);
}
.act-periode-title {
    width: calc(40% - 4px);
}
.act-periode-places {
    width: calc(20% - 4px);
}

.act-datelist >a {
	display: none;
}
.act-datelist >a.atelier-active {
	display: flex;	
}

.act-datelist .atelier-inactive {
	display: none;
}

.act-list-dates {
    width: calc(12% - 4px);
}
.act-list-when {
    width: calc(15% - 4px);
}
.act-list-cat {
    width: calc(10% - 4px);
}
.act-list-title {
    width: calc(15% - 4px);
}
.act-list-resp {
    width: calc(15% - 4px);
}
.act-list-cycles {
    width: calc(10% - 4px);
}
.act-list-rem {
    width: calc(15% - 4px);
}
.act-list-places {
    width: calc(8% - 4px);
}

@media only screen and (max-width: 800px) {
	.act-datelist .resp-listing-title {
        display: none;
	}
    .act-datelist > a > span, .resp-listing > div > span {
        display: block;
        margin: 0;
        width: auto;
    }
    .act-datelist > a, .resp-listing > div {
        display: block;
        margin: 4px 0;
	}
	.act-datelist >a {
		display: none;
	}
	.act-datelist >a.atelier-active {
        display: block;		
	}
    .act-list-title {
        font-weight: bold !important;
    }
}

.act-inscr-list {
    width: 100%;
}
.inscr-teacher {
    width: 35%;
}
.inscr-cycle {
    width: 15%;
}
.inscr-student {
    width: 50%;
}


.act-exact-dates {
	width: 100%;
}
.act-exact-dates td {
	width: 50%;
}
.act-periode-places {
    color: red;
}
.act-periode-places.act-libre {
    color: green;
}


.two-cols > div {
    margin-bottom: 20px;
}

@media only screen and (min-width: 754px) {
    .two-cols {
        display: flex;
        justify-content: space-between;
    }
    .two-cols > div {
        width: 48%;
    }
}

.maxshowone >* {
	display: none;
}
.maxshowone >*:first-child {
	display: block;
}

@media print {
	body{
		background-color: white !important;
	}

	.site-header-wrapper{
		display: none !important;
	}

	.site-extra_content-wrapper{
		display: none !important;
	}

	.site-footer-wrapper{
		display: none !important;
	}

	.site-main-wrapper{
		background-color: white !important;
	}

	.site-main{
		border: none !important;
		box-shadow: none !important;
		-webkit-box-shadow: none !important;
	}

	img[src="/osr/icons/flat/bw/16/edit.png"], img[src="/osr/icons/flat/bw/16/delete.png"]{
		display: none !important;
	}

	.act-periode-dates, .act-periode-title, .act-periode-places{
		border: 1px solid #cccccc !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	form{
		display: none !important;
	}
}
