/* $Id$ */

/**
 * @file
 * Layout Styling (DIV Positioning)
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Zen Columns layout method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
*/


/*
 * Body
*/

html {
-webkit-text-size-adjust: none;
}

body {
}

#page-wrapper,
.region-page-closure {
    min-width: 970px; /* Don't allow the browser to make the site unreadable. */
}

#page {
}

/*
 * Header
*/
#header {
    margin-top: 20px;
    margin-bottom: 35px;
    position: relative;
}
.front #header {
    margin-bottom: 45px;
}

#header .section {
}

#search-box {
    float: right;
    padding: 2px 0;
    margin-left: 10px;
}
#search-box .form-submit {
    display: none;
}
#search-box #edit-search-theme-form-1.default-search {
    color: #ccc;
    width: 116px;
}

.region-header {
    /*  clear: both;  Clear the logo */
    font-size: 13px;
    padding: 0;
	line-height:20px;
}
.region-header p{
    font-size: 13px;
	margin: 0;
	line-height:20px;
}
.region-header a{
	font-size: 13px;
	line-height:20px;
}
/*
 * Main (container for everything else)
*/
#main-wrapper {
    position: relative;
}
.region-highlight { /*Mediablock on homepage */
                    /*    float: left;*/
                    margin-bottom: 20px;
                    width: 100%;
}
#main {

}

/*
 * Content
*/
#content {
    float: left; /* LTR */
    width: 100%;
    margin-left: 0; /* LTR */
    margin-right: -100%; /* LTR */ /* Negative value of #content's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
}

#content .section,
.no-sidebars #content .section {
    margin: 0;
    padding: 0;
    border-left: 1px solid #C3C3C3;
    border-right: 1px solid #C3C3C3;
    border-bottom: 1px solid #C3C3C3;
    padding: 22px 24px 25px;
    background: #fff;
    position: relative;
}

.sidebar-first #content .section {
    padding-left: 200px; /* LTR */ /* The width + left margin of .region-sidebar-first. */
    padding-right: 0; /* LTR */
}

.sidebar-second #content .section {
    padding-left: 0; /* LTR */
    padding-right: 200px; /* LTR */ /* The width + right margin of .region-sidebar-second. */
}

.two-sidebars #content .section {
    padding-left: 200px; /* The width + left margin of .region-sidebar-first. */
    padding-right: 200px; /* The width + right margin of .region-sidebar-second. */
}

/*
 * Navigation
*/
#navigation {
    float: left; /* LTR */
    width: 100%;
    margin-left: 0; /* LTR */
    margin-right: -100%; /* LTR */ /* Negative value of #navigation's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
    height: 2.3em; /* The navigation can have any arbritrary height. We picked one
                      that is the line-height plus 1em: 1.3 + 1 = 2.3
                      Set this to the same value as the margin-top below. */
}

.with-navigation #content,
.with-navigation .region-sidebar-first,
.with-navigation .region-sidebar-second {
    margin-top: 72px; /* Set this to the same value as the navigation height above. */
}
.with-subnavigation #content,
.with-subnavigation .region-sidebar-first,
.with-subnavigation .region-sidebar-second {
    margin-top: 124px; /* Set this to the same value as the navigation height above. */
}

.front .with-navigation #content,
.front .with-navigation .region-sidebar-first,
.front .with-navigation .region-sidebar-second {
    margin-top: 232px; /* Set this to the same value as the navigation height above. */
}

#navigation .section {
}

#navigation ul /* Primary and secondary links */ {
    margin: 0;
    padding: 0;
    text-align: left; /* LTR */
}

#navigation li /* A simple method to get navigation links to appear in one line. */ {
    float: left; /* LTR */
    padding: 0 10px 0 0; /* LTR */
}

/*
 * First sidebar
*/
.region-sidebar-first {
    float: left; /* LTR */
    width: 200px;
    margin-left: 0; /* LTR */
    margin-right: -200px; /* LTR */ /* Negative value of .region-sidebar-first's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-first .section. */
}

.region-sidebar-first .section {
    margin: 0 20px 0 0; /* LTR */
    padding: 0;
}

/*
 * Second sidebar
*/
.region-sidebar-second {
    float: right; /* LTR */
    width: 200px;
    margin-left: -200px; /* LTR */ /* Negative value of .region-sidebar-second's width + right margin. */
    margin-right: 0; /* LTR */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-second .section. */
}

.region-sidebar-second .section {
    margin: 0 0 0 20px; /* LTR */
    padding: 0;
}
/*
* Content-bottom
*/
.region-content-bottom {
    position: relative;
}
/*
* Content-bottom
*/
.front .region-content-bottom {
    clear: left;
   
}
/*
 * Footer
*/
#footer {
}

#footer .section {
}

/*
 * Closure
*/
.region-page-closure /* See also the #page-wrapper declaration above that this div shares. */ {
}

/*
 * Prevent overflowing content
*/
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer,
.region-page-closure {
    overflow: visible;
    word-wrap: break-word; /* A very nice CSS3 property */
}


#nid-1782.not-front div#page-wrapper div#page div#main-wrapper div#main.clearfix div#content.column div.section div.region div#block-views-projects-block_1.block div.content div.view div.view-content table.views-view-grid tbody tr td div {
	margin: 0 35px 0 0;
}
#nid-1782.not-front div#page-wrapper div#page div#main-wrapper div#main.clearfix div#content.column div.section div.region div#block-views-projects-block_1.block div.content div.view div.view-content table.views-view-grid tbody tr td div.views-field-field-title-image-fid {
	margin: 25px 35px 0 0;
}


#navigation {
    /*  overflow: hidden;  May need to be removed if using a dynamic drop-down menu */
}

/*
 * If a div.clearfix doesn't have any content after it and its bottom edge
 * touches the bottom of the viewport, Firefox and Safari will mistakenly
 * place several pixels worth of space between the bottom of the div and the
 * bottom of the viewport. Uncomment this CSS property to fix this.
 * Note: with some over-large content, this property might cause scrollbars
 * to appear on the #page-wrapper div.
*/
/*
#page-wrapper {
  overflow-y: hidden;
}
*/
