/** Top level styles */

html, body {
    height: 100%;
    min-height: 100%;

}

#page-wrapper {
    height: 100%;
}

#page-wrapper .container-fluid {
    min-height: 100%;
}

#page-wrapper .container-fluid .row {
    min-height: 100%;
}

#page {
    height: 100%;
    min-height: 100%;
}

body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 13px;
    font-family: "Open Sans", "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
}

.page-pushed-down {
    padding-top: 25px;
}

h2, h3, h4, h5, h6 {
    line-height: 1.3em;
}

p {
    margin: 0 0 1em;
}

em {
    padding: 0 3px 0 0;
}

strong {
    font-weight: 600;
}

quote, code {
    margin: .5em 0;
}

.summary {
    margin-bottom: 15px;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.4em;
}

.descriptor {
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 12px;
    line-height: 1.5em;
}

.caption {
    margin-top: 0;
    margin-bottom: 2em;
    color: #848484;
    letter-spacing: .01em;
    font-style: italic;
    font-size: 13px;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.container-fluid {
    padding: 0px;
}

/* ----- links ----------------------- */

a {
    color: #CC0000;
    text-decoration: none;
}

a:hover {
    color: #CC0000;
    text-decoration: underline;
}

.more-link, a.more-link, .page-
.node-readmore a {
    display: inline-block;
    clear: both;
    line-height: 1.4em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-weight: 600;
    font-size: 12px;
}

.more-link a:hover, a.more-link:hover, .page-search .node-readmore a:hover {
    color: #000;
    text-decoration: none;
}

.more-link a:after, a.more-link:after, .page-search .node-readmore a:after {
    content: " »";
}

.action-links {
    padding-left: 0;
    margin: 0 auto;
}

.action-links a {
    display: block;
    background: #4E9CAF;
    padding: 5px;
    text-align: center;
    color: white;
    border-radius: 2px;
    max-width: 40%;
}

.action-links li {
    list-style-type: none;
    margin-left: 0;
}

/* ----- lists ----------------------- */
ul.inline, ul.links.inline, ul.links.inline li {
    margin-left: 0;
    padding-left: 0;
    list-style-type: square;
}

ul.pager li {
    margin: 0;
}

ul.pager {
    margin-top: 20px;
}

/* ----- tables ---------------------- */
table {
    width: 100%;
}

tr.even, tr.odd {
    border-bottom: 1px solid #ddd;
    background-color: transparent;
}

th, td {
    padding: .5em;
    border: 1px solid #ddd;
}

th, td.active {
    background-color: #f5f5f5;
}

th {
    vertical-align: bottom;
}

td {
    vertical-align: top;
}

/* ----- forms ----------------------- */
.form-item label {
    display: block;
    font-weight: 700;
}

.views-exposed-form .views-exposed-widget .form-submit {
    margin-top: 27px;
}

.views-exposed-form .views-exposed-widget .form-submit {
    margin-top: 0.5em;
}

.views-exposed-form .views-exposed-widget {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
}

input, select, .chzn-container {
    max-width: 100%;
}

/* override for views exposed forms submit */
.buttonize, #edit-cancel {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    padding: .5em;
    margin-left: 10px;
}

.push-right {
    margin-left: 15%;
}

.form-type-checkbox label {
    display: inline-block;
    margin-left: 8px;
}

input[type="checkbox"] {
    margin: 0;
}

input.form-submit {
    height: 2.5em;
    border: 1px solid #d5d5d5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    background-image: -webkit-linear-gradient(top, white 0%, #e6e6e6 100%);
    background-image: -ms-linear-gradient(top, white 0%, #e6e6e6 100%);
    background-image: -moz-linear-gradient(top, white 0%, #e6e6e6 100%);
    background-image: -o-linear-gradient(top, white 0%, #e6e6e6 100%);
    background-image: webkit-gradient(linear, left top, left bottom, color-stop(0, white), color-stop(1, #e6e6e6));
    background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
}

input.form-submit:hover, input.form-submit:focus {
    background-image: -webkit-linear-gradient(top, whitesmoke 0%, #e6e6e6 100%);
    background-image: -ms-linear-gradient(top, whitesmoke 0%, #e6e6e6 100%);
    background-image: -moz-linear-gradient(top, whitesmoke 0%, #e6e6e6 100%);
    background-image: -o-linear-gradient(top, whitesmoke 0%, #e6e6e6 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, whitesmoke), color-stop(1, #e6e6e6));
    background-image: linear-gradient(to bottom, #f5f5f5 0%, #e6e6e6 100%);
}

input.form-submit:focus {
    border: 1px dotted #333;
}

input.btn-search {
    width: 26px;
    height: 26px;
    border: 0 none;
    background: none repeat scroll 0 0 transparent;
}

input.btn-search:hover {
    opacity: .6;
    filter: alpha(opacity=60);
    background: none repeat scroll 0 0 transparent;
}

input.placeholder, textarea.placeholder {
    color: #aaa;
}

/* ----- Invisible and Focusable Elements (skipnav) ----------------------- */
.element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
}

.element-invisible.element-focusable:active, .element-invisible.element-focusable:focus {
    position: static !important;
    clip: auto;
    overflow: visible;
    height: auto;
    padding: 0 1em;
}

/* ----- other ----------------------- */
hr {
    clear: both;
}

/* ----- search box ------------------ */
.nav-search {
    float: right;
    margin: -65px -20px 0 0;
    padding: 0;
    min-height: 1px;
}

.nav-search .search-form, #header-search .search-form {
    margin: 0;
    padding: 0;
}

.nav-search .form-item, #header-search .form-item {
    margin: 0;
}

#block-search-form {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

#block-search-form .search-query {
    padding-right: 38px;
    width: 130px;
}

#block-search-form .btn-search {
    position: absolute;
    top: 1px;
    right: 10px;
}

#block-search-form input.btn-search:hover {
    opacity: .6;
    filter: alpha(opacity=60);
}

#block-search-form form {
    margin: 0;
}

/* ----- admin shortcuts / secondary menu -------- */
.admin-shortcuts {
    display: block;
    padding: 10px;
    background: #eee;
    font-size: 12px;
}

.admin-shortcuts ul.menu li, .admin-shortcuts ul.menu li.leaf, .admin-shortcuts ul.menu li.expanded, .admin-shortcuts ul.menu li.collapsed {
    list-style: none;
    list-style-image: none;
}

.admin-shortcuts ul.menu {
    margin: 0;
}

.admin-shortcuts ul.menu li {
    display: inline-block;
    position: relative;
}

.admin-shortcuts ul.menu li li {
    display: block;
}

.admin-shortcuts ul.menu li a {
    background: none;
}

.admin-shortcuts ul.menu li ul {
    display: none;
}

.admin-shortcuts ul.menu li:hover > ul {
    display: block;
    background: #fff;
    border: 1px solid #D4D4D4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    position: absolute;
    width: 200px;
}

.admin-shortcuts ul.menu li li:hover > ul {
    position: absolute;
    top: 5px;
    left: 190px;
}

/* ----- admin menu ------------------ */
#admin-menu li {
    line-height: normal;
}

/* content *****************************/
.main, .content-head, .mc-content {
    margin-bottom: 1.2em;
}

.node .submitted {
    margin-bottom: 1em;
}

/* views ***************************** */
.views-row {
    clear: both;
    margin-bottom: 1em;
}

.views-row.views-row-last, .views-row h2, .field-collection-view {
    border-bottom: 0;
}

/* containers ************************ */
/* ----- blocks ---------------------- */
.main .block {
    margin-bottom: 30px;
}

.main .block.block-no-bottom-margin {
    margin-bottom: 0;
}

.main #block-system-main {
    margin-bottom: 0;
}

/* ----- callouts and blockquotes ---- */
.callout, .bracket, .topline {
    clear: both;
    margin-top: 15px;
    padding: 15px 0;
    width: 30%;
    border-left: 0 none;
}

.topline, .bracket {
    border-top: 1px solid #eee;
}

.bracket {
    border-bottom: 1px solid #eee;
}

.callout {
    padding: 15px;
    width: 27.25%;
    border: 1px solid #eee;
}

/* ----- pullquote text -------------- */
.pullquote, .pullquote-large, blockquote > p:first-child {
    padding-left: 10px;
    text-indent: -7px;
    line-height: 1.5em;
}

.pullquote {
    letter-spacing: .02em;
    font-size: 14px;
}

.pullquote-large {
    font-size: 20px;
}

.credits {
    margin-top: .5em;
    margin-bottom: .5em;
    letter-spacing: .05em;
    font-size: 12px;
}

/* images **************************** */
img, a img {
    outline: none;
    border: none;
}

.main .border-hairline img {
    border: 1px solid #d8d8d8;
}

.main .border-shadow img {
    -webkit-box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 3px 0 rgba(0, 0, 0, 0.08);
}

.main .border-underline img {
    margin-bottom: 5px;
    padding: 0 0 2px;
    border-bottom: 4px solid #e2e2e2;
    background-color: transparent;
}

.main .border-none img {
    border: 0 !important;
}

.main .border-bottom img {
    border-bottom: 1px solid #d3d3d3;
}

.main .border-simple-nowidth img, .main .border-simple img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 6px;
    background-color: #e2e2e2;
}

.main .border-simple img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.main .border-simple a:hover img {
    background-color: #bbb;
}

.main .border-hairline a:hover img {
    border: 1px solid #373737;
}

/* media ***************************** */
iframe {
    max-width: 100%;
}

/* ----- Video Player ------------- */
.video-player {
    height: 0;
    margin-bottom: 1em;
    overflow: hidden;
    padding-bottom: 67.5%;
    padding-top: 1.5625em;
    position: relative;
}

.video-player.widescreen {
    padding-bottom: 57.25%;
}

.video-player.vimeo {
    padding-top: 0;
}

.video-player iframe, .video-player object, .video-player embed, .video-player video {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* helper classes ******************** */
/* ----- Views Row Lines ------------- */
.views-row-lines .views-row {
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 1em;
    padding-bottom: 1em;
    overflow: auto;
}

.views-row-lines .views-row-1 {
    border-top: 1px solid #F0F0F0;
    padding-top: 1em;
}

/* ----- positioning ----------------- */
.spacer {
    margin-top: 30px;
}

.float-left {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}

.float-right {
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
}

.float-none {
    float: none;
}

.clear-none {
    clear: none;
}

.clear-left-margin {
    margin-left: 0 !important;
    padding-right: 20px;
}

.clear-right {
    clear: right;
}

.clear-left {
    clear: left;
}

.clear-both {
    clear: both;
}

.visually-hidden {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
    z-index: -1000;
}

/* ----- sizing ---------------------- */
.span-full {
    width: 100%;
}

/* general overrides ***************** */
/* ----- block alert overrides -- */
.block.alert {
    margin-right: -2px;
    padding-right: 0;
    padding-left: 0;
}

.block.alert > * {
    padding-right: 10px;
    padding-left: 10px;
}

/* ----- field collection overrides -- */
.field-collection-container {
    margin-bottom: 0;
    border-bottom: 0;
}

.field-collection-view {
    margin: 0;
    padding: 0;
}

.field-collection-container .field-items .field-item {
    margin: 0;
}

/* ----- collapsable fieldset overrides -- */
html.js fieldset.collapsed {
    height: auto;
}

legend {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.5em;
}

/* ----- field label overrides ------- */
.field .field-label {
    font-weight: 600;
}

.page-node .content-body .field {
    margin-bottom: 1em;
}

.page-node .content-body .field-type-field-collection {
    margin-bottom: 0;
}

/* ----- admin menu overrides -- */
#admin-menu {
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

/* features overrides ******* */
/* ----- views slideshow ------------- */
.views_slideshow_cycle_main {
    position: relative;
    float: left;
    width: 100%;
}

.views_slideshow_cycle_main .views-slideshow-cycle-main-frame {
    width: 100% !important;
    height: auto;
}

.views_slideshow_cycle_main .views-slideshow-cycle-main-frame-row {
    width: 100% !important;
    height: auto;
}

.views_slideshow_cycle_main .field-content {
    max-width: 100%;
    width: 100%;
}

.views_slideshow_cycle_main .field-content img {
    margin: 0;
    padding: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* administration ******************** */
/* ----- admin ----------------------- */
ul.primary {
    margin: 1.5em 0 .2em;
}

.vertical-tabs .summary {
    font-size: 12px;
}

/* theme options ********************* */
/* ----- front page title ------------ */
#main-area {
    background-color: #fff;
}

.front .title {
    display: none;
}

.front.show-title .title {
    display: block;
}

/* ----- body background type -------- */
body.photobg {
    background-attachment: fixed !important;
    background-size: cover !important;
}

/* Top Navigation */
#top-navbar span {
    margin-top: 3px;
    font-size: 14px;
}

#top-navbar {
    background-image: none;
    background-color: #DAE3E7;
    border: none;
    margin: 0;
}

#top-navbar ul li a {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: black;
}

#top-navbar ul li a:hover {
    background-color: #DAE3E7;
    text-decoration: underline;
}

/** Left menu bar styles */
#left-menu {
    background-color: #DAE3E7;
    padding-bottom: 20px;
}

/** Main area styles */

#main-area {
    padding-right: 0;
}

/** Logo and site name */
#logo {
    margin-top: 30px;
}

#logo-image {
    background: url('../images/logo.png') no-repeat;
    float: left;
    margin-top: 11px;
    width: 100px;
    height: 70px;
    background-size: 100%;
    text-indent: -9999px;
}

#site-name {
    float: left;
    margin: 5px 0 0 10px;
}

#site-name a {
    font-size: 26px;
    color: #aca7a7;
    color: #65604E;
}

#site-name a:hover, a.focus {
    color: #65604E;
    text-decoration: none;
}

#messages {
    margin-top: 10px;
}

/** Breadcrumbs */
#breadcrumbs {
    margin-right: 0;
    margin-left: 3px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#breadcrumb-top-hr {
    margin: 0;
    padding: 0;
    height: 1px;
    border-style: double;
    background-color: #2f2827;
}

#breadcrumb-bottom-hr {
    margin: 0;
    padding: 0;
    height: 1px;
    display: none;
}

span.breadcrumbs-content {
    display: block;
    color: #AAAAAA;
    margin: 10px 0;
}

span.breadcrumbs-content a {
    text-transform: capitalize;
    color: #65604E;
}

span.breadcrumbs-content a:hover {
    color: black;
    text-decoration: none;
}

/** Page content */
div.content {
    padding-bottom: 15px;
    margin-top: 15px;
}

#block-system-main .content {
    margin-top: 0;
}

#page-content p {
    font-size: 13px;
}

#page-content h1 {
    font-size: 18px;
    color: black;
    font-weight: 600;
}

#page-content h2 {
    font-size: 16px;
    color: black;
    font-weight: 500;
}

#page-content h2 a {
    font-size: 18px;
    font-weight: 500;
}


#page-content h3 {
    font-size: 14px;
    color: #C60900;
    font-weight: 500;
}

#page-content h4 {
    font-size: 12px;
}

#page-content .field-label-hidden {
    margin-top: 10px;
}

#legend {
    margin-top: 5px;
}

fieldset.search-advanced {
    margin-top: 10px;
}

fieldset.search-advanced a {
    font-size: 18px;
}

/** Page sidebar */
#page-sidebar {
    margin-top: 40px;
    font-size: 12px;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 20px;

}

#page-sidebar .block {
    margin-top: 10px;
    margin-bottom: 20px;
    border: solid 1px #000;
    border-top: solid 3px #000;

    background-color: #f2f5f6;
    padding: 10px;
}

#page-sidebar .block h2 {
    color: #000;
    font-size: 18px;
}

#page-sidebar ul {
    list-style-type: none;

}

#page-sidebar ul li {
    margin-left: 0;
    margin-top: 5px;
}

/** Footer **/
#footer {
    background-color: #9B0409;
    background-color: #C60900;
    padding: 10px 0;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

/** Left sidebar */
/* Overriding sidebar menu styles */
#left-menu h2 {
    font-size: 14px;
    font-weight: 600;
    border-bottom: solid 1px grey;
}

/** Nice menu style */
ul.nice-menu,
ul.nice-menu ul,
ul.nice-menu li,
ul.nice-menu li a,
ul.nice-menu span.nolink {
    border: 0;
    width: 100%;
    font-size: 11px !important;
}

ul.nice-menu ul {
    margin-left:40px;
    border-left: 1px darkgrey solid;
}

ul.nice-menu span.nolink{
    padding: 0.3em 5px 0.3em 5px;
}

ul.nice-menu a, ul.nice-menu span.nolink {
    color: black !important;
    display: inline-block !important;
}

ul.nice-menu li, li.menuparent, li.menu-path-nolink {
    border-bottom: 1px solid darkgrey !important;
    background-color: #DAE3E7 !important;
    padding: 2px !important;
}

ul.nice-menu ul li, ul.nice-menu ul li.menuparent, ul.nice-menu ul li.menu-path-nolink {
    border-right: 1px solid darkgrey;
    border-top: 1px solid darkgrey;
}

ul.nice-menu li:hover, li.menuparent:hover, li.menu-path-nolink:hover {
    background-color: #C2CACD !important;
}

ul.nice-menu a:hover, li.menuparent a:hover, li.menu-path-nolink a:hover {
    text-decoration: none;
}

span.nice-menu-show-title {
    background: url(../images/minus-icon.ico) no-repeat top left;
    background-size: 15px 15px;
    display: inline-block;
    height: 17px;
    padding-left: 20px;
}

span.nice-menu-collapsed {
    background: url(../images/plus-icon.ico) no-repeat top left;
}

span.nice-menu-show-title:hover {
    cursor: pointer;
}

#search-box {
    width: 300px;
    margin-right: 20px;
    margin-top: 25px;
    float: right;
}

#block-block-4 {
    padding: 10px;
    border: 2px solid grey;
}

/** Make radio buttons and their labels on one line **/
div.form-type-radio label {
    display: inline;
    margin: 0;
}

input#edit-submit-gone {
    float: right;
}

input#edit-preview {
    float: right;
}

#edit-basic input#edit-submit,
#edit-actions input#edit-submit {
    float: none;
}

/** Imported from acl old portal theme */
.profiledetails h3 {
    margin-top: 10px;
}

.profiledetails hr {
    border-bottom: #DAE3E7 2px solid;
}

div .profile .user-picture, div .view-participants-by-lastname .user-picture {
    float: left;
    width: 85px;
    margin: 0;
    padding: 0;
}

div .profile .profiledetails, div.view-participants-by-lastname .profiledetails {
    float: none;
    width: 75%;
    margin-left: 110px;
}

div.view-participants-by-lastname .views-label {
    font-weight: bold;
}

div.view-participants-by-lastname .views-field {
    margin-left: 100px;
}

div.view-participants-by-lastname .views-field-picture {
    margin-left: 0px;
}

div .profile .user-picture a.active img {
    border: 1px solid #DDDDDD !important;
}

.profile h3 {
    margin-bottom: 0.1em;
}

.profile p {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

.memberitemlist .form-item {
    margin-top: 0em;
    margin-bottom: 0em;
}

/* Start fellows addons */
div.informationgraph {
    margin: 10px;
    padding: 10px;
    font-size: 12px;
}

input.singleline {
    margin-left: 200px;
    position: absolute;
    width: 270px;
    border: 1px solid;
    height: 15px;
    border-color: #989898;
}

div.inputpair {
    margin: 5px;
    padding: 5px;
}

div.inputgraph {
    margin: 5px;
    padding: 5px;
}

div.persongrouping {
    margin: 20px;
    margin-bottom: 50px;
}

div.inputgraph label {
    width: 100%;
    padding: 5px;
    margin: 5px;
}

div.inputgraph textarea {
    border: 1px solid;
    width: 80%;
    margin-left: 20px;
}

textarea#candidatedegree {
    height: 50px;
}

input.radiorating {
    font-size: 12px;
}

textarea#candidatpositions {
    height: 100px;
}

textarea#candidatecontributions {
    height: 200px;
}

textarea#recommendationletter {
    height: 200px;
}

textarea#candidateservice {
    height: 150px;
}

textarea#proposedcitation {
    height: 150px;
}

/** custom css for some views **/
.views-row {
    border-bottom: 3px dotted #dc2711;
    padding-bottom: 12px;
}

li.search-result {
    border-bottom: 2px dotted #dc2711;
    padding-bottom: 10px;
}

/** Media Queries */
/* Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
    ul.nice-menu li a {
        font-size: 13px !important;
    }

    #search-box {
        width: 250px;
        margin-right: 0px;
        margin-top: 30px;
    }

}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    ul.nice-menu li a {
        font-size: 13px !important;
    }

    #search-box {
        width: 250px;
        margin-right: 0px;
        margin-top: 15px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
    ul.nice-menu li a {
        font-size: 13px !important;
    }

    #search-box {
        width: 200px;
    }

    #header-search {
        margin-left: 20px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
    ul.nice-menu li a {
        font-size: 13px !important;
    }

    #search-box {
        width: 200px;
    }

    #header-search {
        margin-left: 10px;
    }
}