

/* Mobile first */

@media all {
	
	.image-caption {
		font-size: .8rem;
	}

.ce-align-left {
        text-align: left;
    }
    
.ce-align-center {
        text-align: center;
    }
    
.ce-align-right {
        text-align: right;
    }
    
.ce-table td,
.ce-table th {
        vertical-align: top;
    }

.ce-textpic,
.ce-image,
.ce-nowrap .ce-bodytext,
.ce-gallery,
.ce-row,
.ce-uploads li,
.ce-uploads div {
        overflow: hidden;
    }

    .ce-center .ce-outer {
        position: relative;
        float: right;
        right: 50%;
    }
    .ce-center .ce-inner {
        position: relative;
        float: right;
        right: -50%;
    }
     .ce-gallery figure {
        display: table;
        margin: 0;
    }
    .ce-gallery figcaption {
        display: table-caption;
        caption-side: bottom;
    }
    .ce-gallery img {
        display: block;
		max-width: 100%;
    	height: auto;
		margin-bottom:1em;
    }
    .ce-gallery iframe {
        border-width: 0;
    }
    .ce-intext.ce-right .ce-gallery,
    .ce-intext.ce-left .ce-gallery,
    .ce-above .ce-gallery {
        margin-bottom: 1.5em;
    }

    .ce-below .ce-gallery {
        margin-top: 1em;
    }
    .ce-column {
        margin-right: 1em;
    }
    .ce-column:last-child {
        margin-right: 0;
    }
    .ce-row {
        margin-bottom: 1em;
    }
    .ce-row:last-child {
        margin-bottom: 0;
    }
    .ce-above .ce-bodytext {
        clear: both;
    }
    .ce-intext.ce-left ol,
    .ce-intext.ce-left ul {
        padding-left: 40px;
        overflow: auto;
    }
    /* Headline */
    
    .ce-headline-left {
        text-align: left;
    }
    .ce-headline-center {
        text-align: center;
    }
    .ce-headline-right {
        text-align: right;
    }
    /* Uploads */
    
    .ce-uploads {
        margin: 0;
        padding: 0;
    }
    .ce-uploads li {
        list-style: none outside none;
        margin: 1em 0;
    }
    .ce-uploads img {
        float: left;
        padding-right: 1em;
        vertical-align: top;
    }
    .ce-uploads span {
        display: block;
    }
    /* Space */
	
	.frame-default {
		margin-bottom: 2em;
	}
    
    .frame-space-before-extra-small {
        margin-top: 1em;
    }
    .frame-space-before-small {
        margin-top: 2em;
    }
    .frame-space-before-medium {
        margin-top: 3em;
    }
    .frame-space-before-large {
        margin-top: 4em;
    }
    .frame-space-before-extra-large {
        margin-top: 5em;
    }
    .frame-space-after-extra-small {
        margin-bottom: 1em;
    }
    .frame-space-after-small {
        margin-bottom: 2em;
    }
    .frame-space-after-medium {
        margin-bottom: 3em;
    }
    .frame-space-after-large {
        margin-bottom: 4em;
    }
    .frame-space-after-extra-large {
        margin-bottom: 5em;
    }
    /* Frame */
    
    .frame-ruler-before:before {
        content: '';
        display: block;
        border-top: 1px solid rgba(0, 0, 0, 0.25);
        margin-bottom: 2em;
    }
    .frame-ruler-after:after {
        content: '';
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
        margin-top: 2em;
    }
    .frame-indent {
        margin-left: 15%;
        margin-right: 15%;
    }
    .frame-indent-left {
        margin-left: 33%;
    }
    .frame-indent-right {
        margin-right: 33%;
    }
}

@media (min-width: 900px) {
	
	    .ce-left .ce-gallery,
    .ce-column {
        float: left;
    }
	
	   .ce-right .ce-gallery {
        float: right;
    }
	
	
	    .ce-intext.ce-right .ce-gallery {
        margin-left: 1em ;
    }
    .ce-intext.ce-left .ce-gallery {
        margin-right: 1em;
    }	
}

.ce-table{
    width:100%;
    margin-right: auto !important;
    margin-left: auto !important;
}
