
/* ---------- Basic Layout Styles ----------- */
#main {
    margin-bottom:40px;
    /*margin-top:20px;*/
}

#page {
    height:100%;
}
/*
.logged-in #page {
    margin:.2em 0 0;
}*/

.maintenance-page .container {
    padding:40px 0;
}

.content {
    margin-top:10px;
}

#page-wrapper {
    min-height: 100%;  
    position: relative;
}
#header div.section,
#bottom div.section,
#messages div.section,
#main,
#footer-top,
#footer-top div.region,
#footer-columns,
footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#header div.section,
#bottom div.section,
#messages div.section .block,
#main,
#footer-top,
#footer .region-footer,
#footer div.region,
#footer-top div.region,
#footer-columns {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    float: none;
    text-align: left;
    z-index: 2;
}
#header div.section {
    position: relative;
}
#secondary-menu {
    margin-bottom: 5px;
    overflow: hidden;
    width: 100%;
}
#main-wrapper {
    min-height: 300px;
    position: relative;
}


#content .section {
    /*padding: 0 15px; image moet 960px zijn*/
    padding: 0px 9px 0px 10px;
    margin:0;
}
#breadcrumb {
    margin: 0 15px;
}
/*
.region-footer-firstcolumn,
.region-footer-secondcolumn,
.region-footer-thirdcolumn,
.region-footer-fourthcolumn {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
}*/

@media all and (min-width: 560px) and (max-width: 850px) {
    #sidebar-first,
    .region-footer-firstcolumn,
    .region-footer-secondcolumn,
    .region-footer-thirdcolumn,
    .region-footer-fourthcolumn {
        display: inline;
        float: left; /* LTR */
        position: relative;
    } 
    .one-sidebar #sidebar {
        width: 100%;
    }
    #sidebar-first,
    #sidebar-second {
        width: 50%;
    } 
    #sidebar-second {
        margin-left: 50%;
    }
    .region-footer-firstcolumn,
    .region-footer-secondcolumn {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 10px;
        width: 50%;
    }
    .region-footer-thirdcolumn,
    .region-footer-fourthcolumn {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 10px;
        width: 50%;
    }
    .region-footer-thirdcolumn {
        clear: both;
    }
}

@media all and (min-width: 851px) {
    #header div.section,
    #messages div.section,
    #main,
    #footer-columns,
    #footer .region {
        max-width: 960px;
    }
    .region-header {
        float: right; /* LTR */
        width: 960px;
    }
    #content,
    #sidebar-first,
    #sidebar-second,
    .region-footer-firstcolumn,
    .region-footer-secondcolumn,
    .region-footer-thirdcolumn,
    .region-footer-fourthcolumn {
        display: inline;
        float: left; /* LTR */
        position: relative;
    }
    .no-sidebars #content {
        width: 100%;
    }  
    .two-sidebars #content {
        margin-left: 25%;
        margin-right: 25%;
        width: 50%;
    }
    .one-sidebar #content {
        width: 75%;
    }
    .sidebar-first #content {
        margin-left: 25%;
        margin-right: 0;
    }
    .sidebar-second #content {
        margin-right: 25%;
        margin-left: 0;
    }
    #sidebar-first {
        width: 25%;
        margin-left: -100%;
    }
    #sidebar-second {
        width: 25%;
        margin-left: -25%;
        clear: none;
        margin-top:-16px;
   }

    .region.region-bottom {
        padding-left:25%
    }

    #footer .region-footer {
        min-width: 960px;
        width: 960px;
    }

    .region-footer-firstcolumn,
    .region-footer-secondcolumn,
    .region-footer-thirdcolumn,
    .region-footer-fourthcolumn {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        /* padding: 0 10px;*/

    }
}


#footer-wrapper .region {width:25%; float:left}


