/* Contao Open Source CMS, (c) 2005-2014 Leo Feyer, LGPL license */
body,
form,
figure {
    margin: 0;
    padding: 0
}

img {
    border: 0
}

header,
footer,
nav,
section,
aside,
article,
figure,
figcaption {
    display: block
}

body {
    font-size: 100.01%
}

select,
input,
textarea {
    font-size: 99%
}

#container,
.inside {
    position: relative
}

#main,
#left,
#right {
    float: left;
    position: relative
}

#main {
    width: 100%
}

#left {
    margin-left: -100%
}

#right {
    margin-right: -100%
}

#footer {
    clear: both
}

#main .inside {
    min-height: 1px
}

.ce_gallery>ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none
}

.ce_gallery>ul li {
    float: left
}

.ce_gallery>ul li.col_first {
    clear: left
}

.float_left {
    float: left
}

.float_right {
    float: right
}

.block {
    -overflow: hidden
}

.clear,
#clear {
    height: .1px;
    font-size: .1px;
    line-height: .1px;
    clear: both
}

.invisible {
    width: 0;
    height: 0;
    left: -1000px;
    top: -1000px;
    position: absolute;
    overflow: hidden;
    display: inline
}

.custom {
    display: block
}

#container:after,
.custom:after {
    content: "";
    display: table;
    clear: both
}

/* Contao Open Source CMS, (c) 2005-2014 Leo Feyer, LGPL license */
@media(max-width:767px) {
    #wrapper {
        margin: 0;
        width: auto
    }

    #container {
        padding-left: 0;
        padding-right: 0
    }

    #main,
    #left,
    #right {
        float: none;
        width: auto
    }

    #left {
        right: 0;
        margin-left: 0
    }

    #right {
        margin-right: 0
    }
}

img {
    max-width: 100%;
    height: auto
}

.ie7 img {
    -ms-interpolation-mode: bicubic
}

.ie8 img {
    width: auto
}