/* LDBC Theme overrides file. All selectors must start with ".ldbc" */

/* headers and menus */
#block-aboutthecommission-menu {
    text-align: center;
}

/* breadcrumbs */
.breadcrumb {
    background-color: #E5E5E5;
    color: #000000;
    padding: 1em 0 0 0;
}
.breadcrumb .glyphicon-home {
    color: #D60340; /* changed - new colour scheme */
}

/* buttons */
button.btn-primary {
    background-color: #D60340; /* changed new colour scheme */
    border-color: #D60340;
}

button.btn-primary:hover {
    background-color: #D60340; /* changed new colour scheme */
    border-color: #D60340;
}

.reviews-button {
    background-color: #FFFFFF;  /* homepage content reviews button */
    color: #D60340; /* changed new colour scheme */
    text-decoration: none;
    padding: 0.75em;
    border-radius: 0.5em;
    text-align: center;
}

.reviews-button:hover {
    color: #D60340; /* changed new colour scheme */
    text-decoration: none;
}

.more-news-button, .more-publications-button {
    display: inline-block;
    background-color: #D60340; /* footer more buttons - changed new colour scheme */
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5em;
    border-radius: 0.5em;
    text-align: center;
    font-size: 18.66px; /* increased font size from body 18px value to pass accessibility */
}


#edit-submit-reviews, #edit-submit-publications {
    background-color: #D60340; /* changed new colour scheme */
    border-color: #D60340;
    font-size: 18.66px; /* increased font size from body 18px value to pass accessibility */
}

/* selectors */
.select-wrapper::after {
    color: #D60340; /* changed new colour scheme */
}

/* links */
a.language-link {
    color: #D60340;
    text-align: right;
   /* margin-right: -15px; */
}

ul.menu--about {
    background-color: #F8F2EB;
    margin-bottom: 1em;
    font-weight: bold;
}

.views-col a {
    color: #FFFFFF; /* homepage content titles */
    background-color: #D60340;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5em;
}

/* Pagination */
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    background-color: #D60340; /* changed from #DB4143 for accessibility */
    border-color: #D60340; /* changed from #DB4143 for accessibility */
    color: #ffffff;
    font-size: 18.66px; /* increased font size from body 18px value to pass accessibility */
}

.pagination > .active > a:hover, .pagination > .active > span:hover {
    background-color: #D60340; /* changed from #DB4143 for accessibility */
    border-color: #D60340; /* changed from #DB4143 for accessibility */
    color: #ffffff;
    font-size: 18.66px; /* increased font size from body 18px value to pass accessibility */
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #D60340; /* changed from #DB4143 for accessibility */
    border-color: #D60340; /* changed from #DB4143 for accessibility */
}

.pagination > li > a, .pagination > li > span {
    color: #D60340;
}

.dHomePageContent  .views-field-title  a::after {
    color: #FFFFFF;  /* remove menu arrow for homepage content links */
    content:"";
}

.nav > li > a:hover {
    background-color: #F8F2EB; /* override for bootstrap default behaviour */
    text-decoration: underline;
}

#block-copyrightenglish a {
    color: #000000; /* #FFFFFF; changed to pass accessibility */
}

/* icons and file links*/
span.glyphicon-file, span.file-link, span.file-size, span.glyphicon-picture {
    color: #D60340;
}


.dHomePageTitle {
    background-color: #F8F2EB; /*#FAD5D8;*/
    opacity: 0.85;
    margin-bottom: 2em;
}

.dHomePage {
    background: url("../images/Parliament_at_Sunset.JPG") no-repeat center;
    background-position-y: -3em;
    background-size: cover;
    background-color: #E5E5E5;
}

.dPageTitle {
    background-color: #F8F2EB; /* #FAD5D8;*/
    margin-bottom: 2em;
}

.dBreadcrumbs {
    background-color: #E5E5E5;
}

.dMainContent {
    background-color: #F8F2EB;/* #F8F2EB;*/
}

/* homepage content links/dates */
.view-content .views-col {
    background-color: #D60340;
    background-clip: padding-box;
    border-right: solid 1em transparent; /* get a gap between the columns*/
    margin-bottom: 1em;
    opacity: 0.75;
}

.views-col > .views-field {
    background-color: #D60340;
    color: #FFFFFF;
    padding: 0.5em 1em;
    border-left: solid #FF7575;
}

/* content pages - titles and content */

/* added created date as fix when panelized views removed on pubs/reviews for #186 */
.review .createdDate, .publication .createdDate {
    color: #D60340;
}

.field--name-f-publication-type-term, .field--name-f-review-type-term,
.views-field-f-review-type-term .field-content, .views-field-f-publication-type-term .field-content {
    background-color: #D60340; /* changed colour scheme changes */
}

.field--name-f-publication-type-term::after,
.field--name-f-review-type-term::after,
.views-field-f-review-type-term .field-content::after,
.views-field-f-publication-type-term .field-content::after {

    border-left: 1em solid #D60340; /* changed new colour scheme */
}

.dContent .view-reviews .views-row, .dContent .view-publications .views-row,
.dContent .view-news .views-row {
    border-left: solid #FF7575; /* teaser pages - added for #83 */
}

.block-entity-fieldnodecreated,
.block-field-blocknodenewscreated,
.block-field-blocknodepagecreated {
    color: #D60340;
    margin-bottom: 1.5em;
}

.dContent .views-field-created {
    color: #D60340;  /* teaser pages - added for #83 */
}

.node--view-mode-full .block-entity-fieldnodecreated {
    margin-bottom: 1.5em;   /* set a margin only on full content page - not teasers */
}

 .node--view-mode-teaser .block-region-content {
    border-left: solid #FF7575;
    padding-left: 1em;
    padding-bottom: 1.5em;
}


/* About pages */

.view-biographies .ldbc-views-div .views-row {
  border-left: solid #FF7575;
  padding-left: 1em;
  margin: 1em;
}

.view-biographies .views-field-title {
  padding: 0 0 1em 0;
}

/* changed view to use fields #206 so css changed to reflect new class names
.node--type-biography > div > div {
    border-left: solid #DB4143;
    padding-left: 1em;
    margin: 1em;
}
*/

/* footers */
div.dSuperfooter {
    background-color: #CCCCCC;
    text-align: center;
    color: #000000; /* #FFFFFF; changed to pass accessibility */
    padding-top: 2em;
    padding-bottom: .5em;
}


/* links/dates in footers */

#block-views-block-news-block-1 .view-news,
#block-views-block-publications-block-1 .view-publications {
    background-color: #F8F2EB;
    color: #D60340;
    padding-left: 1em;
}

#block-socialmedialinks {
    background-color: #F8F2EB;
    text-align: center;
    padding: 0.5em;
}



/* Get footer columns the same height */

/* small device tablets (not phones) */

@media only screen and (min-width: 768px) {
    #block-views-block-news-block-1 .view-content {
        height: 45em;
    }

    #block-views-block-publications-block-1 .view-content {
        height: 43.5em;
    }

    ul.menu--about {
        height: 44.5em;
    }

}



/* medium device */

@media only screen and (min-width: 992px) {
    #block-views-block-news-block-1 .view-content,
    #block-views-block-publications-block-1 .view-content {
        height: 38em;
    }

    ul.menu--about {
        height: 37.5em;
    }

    .dHomePage {   /* additionally, fix background image for larger screens */
        background-size: 1000px 666px;
        background-image: linear-gradient(to right, #E5E5E5 5%, transparent 20%),
        linear-gradient(to left, #E5E5E5 5%, transparent 20%),
        url("../images/Parliament_at_Sunset.JPG");
    }
}

/* large device/desktop */

@media only screen and (min-width: 1200px) {
    #block-views-block-news-block-1 .view-content,
    #block-views-block-publications-block-1 .view-content {
        height: 30em;
    }

    ul.menu--about {
        height: 29.5em;
    }

    .dHomePage {   /* additionally, fix background image for larger screens */
        background-size: 1200px 800px;
        background-image: linear-gradient(to right, #E5E5E5 5%, transparent 20%),
        linear-gradient(to left, #E5E5E5 5%, transparent 20%),
        url("../images/Parliament_at_Sunset.JPG");
    }

}

/*
  Mailchimp signup button and form
 */
button#mailchimp-signup {
  margin: 0 auto;
  display: block;
  font-size: 1.2em;
  margin-bottom: 10px;
}

#mc-embedded-subscribe {
  background-color: #D60340 !important;
  color: #ffffff !important;
  font-size: 1.2em !important;
  display: block !important;
  margin: 0 auto !important;
}

#mc-embedded-subscribe-form {
  border-bottom: 1px solid #cccccc;
  margin-bottom: 30px;
}

.credits {
  margin-top:25px;
}

/*mailchimp validation field error*/

.input-error {
  border: 2px solid #e85c41 !important;
  outline: none;
}
