/* Reset rounded corner boxes */
#main .container,
#slideshow .container, #slideshow .container .views-field-field-slideshow img,
.sidebar .block, .sidebar > div > div, #panel_first .container, #panel_second .container,
#featured .container {
    border:0;
    box-shadow:none;
    border-radius:0;
    -webkit-border-radius:0;
}

/* Element style overrides */
body {
    background-color: #E2E2E2;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: subpixel-antialiased;
}
.container {
    background-color: #ffffff;
}
.sidebar > div > div,
.sidebar .block {
    padding: 15px 0;
    margin-bottom: 0;
}
.sidebar > div > div h2,
.block h2 {
    background:none;
    color: #4f5253;
    font-size: 1.7em;
}
#top {
    text-align:right;
    height: 27px;
    background-color: #d9d6d3;
    margin-top:0;
    padding: 4px 31px 0 31px;
}
#header .container {
    padding: 0;
}
#header #bottom-border {
    clear: both;
    margin: 10px 31px;
    background: #ffffff url("/themes/sfbayferry/images/header-line.gif") repeat-x scroll 0 100%;
}

#block-mainnavigation li {
    padding-top: 0.2em;
    margin:0;
}
#block-mainnavigation a.is-active,
ul.menu a.is-active {
    color: #007cde;
}
#block-mainnavigation a,
ul.menu a {
    color: #4f5253;
}
#block-mainnavigation ul {
    list-style: none outside;
    margin-left: 1em;
    padding: 0;
    text-align: left;
}

#main {
    margin-bottom:0;
}
#main .container,
#panel_first .container, #panel_second .container {
    padding: 10px 31px;
}
#main .container {
    padding-top: 18px;
    padding-bottom:50px;
}
#featured {
    margin-bottom:0;
}
.sidebar-first > div h2,
.region-sidebar-first h2 {
    margin-bottom: 10px;
}
.sidebar-first > div ul,
.region-sidebar-first ul {
    padding-left: 10px;
    list-style: none;
}
.sidebar-first > div ul li,
.region-sidebar-first ul li {
    margin-top: 5px;
    margin-bottom: 5px;
}
.sidebar-first > div ul li::before,
.region-sidebar-first ul li::before {
    content: "•";
    color: #007cde;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
.region-sidebar-second:after {
    clear: both;
}
.region-sidebar-second > .block {
    float:left;
}
.sidebar-second > div > div,
.region-sidebar-second .block {
    padding:0;
}
#block-wheredoyouwanttogo {
    margin-bottom: 30px;
}

/*************************** Search forms ************************/

/* sidebar search */
.sidebar #block-sfbayferry-search {
    padding: 15px 0;
}
.sidebar #search-block-form > .form-item {
    width: 76%;
    float:left;
}
#search-form input#edit-keys,
.sidebar #search-block-form input#edit-keys {
    padding: 3px;
    border: 1px solid #dddddd;
}
#search-form input#edit-keys:focus,
.sidebar #search-block-form input#edit-keys:focus {
    border-color:#9ecaed;
    box-shadow:0 0 10px #9ecaed;
}
#search-form input#edit-submit,
.sidebar #search-block-form .form-actions .form-submit {
    padding: 3px 5px;
    background-color: #969696;
}
.sidebar #search-block-form .form-actions {
    float:right;
    padding-top: 2px;
}
div.search-block-form:after,
.clearfix:after {
    content:"";
    display:block;
    clear:both;
}


/*************************** Superfish Menus ************************/
ul.sf-menu ul {
    background-color: rgba(245, 245, 245, 1);
}
ul.sf-menu li:hover > ul, ul.sf-menu li.sfHover > ul {
    left: 20px;
}

/*************************** File Browser ************************/

table#filebrowser-table {
    border-collapse: collapse;
    width: 90%;
    margin-bottom: 30px;
}
table#filebrowser-table,
.filebrowser-statistics {
    margin-left: 20px;
}
#filebrowser-table thead tr {
    border-bottom: 1px solid #444444;
}
#filebrowser-table tr {
    border-bottom: 1px solid #cccccc;
}
#filebrowser-table tbody tr:first-child td {
    padding-top: .5em;
}
#filebrowser-table thead th:first-child {
    width: 35px;
}
#filebrowser-table thead th:nth-child(2) {
    width: 60%;
}

/* ********************** ERROR PAGES ***************************/

.error-page {
    text-align: center;
}
.error-template {
    display: table;
    text-align: center;
    margin: 0 auto;
}
.error-page .error-actions .btn {
    margin: 20px 10px;
}
.error-page .container-inline div {
    display: table;
    margin: 0 auto;
}
.error-page .panel_first h3 {
    color: #ffffff;
}
.error-page input {
    width: 300px;
    display:block;
}
#err403-page .content,
#err404-page .content {
    margin: 0 auto;
}

/*************************** BLOCK QUOTE STYLE ************************/
blockquote {
    border: none;
    font-style: normal;
    margin: 15px 0 15px 30px;
    font-size: 12px;
    line-height: 1.4em;
}

/*************************** MEDIA QUERIES ************************/

/** Core layout **/
@media (min-width: 1200px) {
    .container {
        width: 1007px;
    }
}
@media (max-width: 768px) {
    .page {
        margin: 0;
        padding: 0;
    }
    .container {
        width: 100%;
    }
}


