﻿/*
    Project: Head of Steam
    Date: 20/11/2018
    Version: 1.0
    Author: Chris Smith (Darlington Borough Council)
*/

/*--------------------------------------------Masterview-----------------------------------------*/

.phosphate-solid {
    font-family: 'PhosphatePro-Solid'
}


.phosphate-inline {
    font-family: 'PhosphatePro-Inline';
}

.inlineBlock {
    display: inline-block;
}

.breadcrumbContainer{
    margin-top: 15px;
}


.breadcrumbRow{
    background: #fff;
    margin-top: 15px;
}

.breadcrumb a{
    text-decoration: none;
}

.breadcrumb a:hover{
    color: red;
}

main#main,
main.content{
    padding-bottom: 30px;
}

main p a,
main li a{
    font-weight: 600;
    text-decoration: underline;
}

.umb-grid img{
    height: auto;
    max-width: 100%;
}

/*---------Umbraco Forms-----------*/


.umbraco-forms-indicator {
    color: #EB0000;
}

.field-validation-error {
    color: #fff;
    background-color: #EA0006;
    border-color: #d80f14;
    display: block;
    margin: 10px 0;
    padding: 20px;
}


.umbraco-forms-submitmessage {
    background-color: #1D862F;
    border-color: #1a6927;
    color: #fff;
    display: block;
    margin: 10px 0;
    padding: 20px;
}

/*------Accessibility Bar------*/
.accessibilitybar {
    background: #393939;
}

.accessibilityLinks {
    margin-bottom: 0;
}

.accessibility ul {
    padding: 0;
    text-align: center;
}

.accessibilityLinks li {
    display: inline-block;
    padding: 4px 2px;
}

.accessibilityLinks a {
    border: 1px solid #393939;
    color: #fff;
    font-size: .875rem;
    padding: 2px;
}

    .accessibilityLinks a:hover,
    .accessibilityLinks a:focus {
        color: #ff0;
    }

    .accessibilityLinks a:focus {
        outline: none;
        text-decoration: none;
    }

    .accessibilityLinks a:focus  {
        border-color: #ff0;
    }



/*----------Header------------*/
header {
    background: #b10535;
    box-shadow: 1px 7px 7px 0 rgba(176,166,176,0.48);
    color: #fff;
    height: 225px;
    position: relative;
    z-index: 10;
}

.reciteMeContainer {
    margin: 10px 0;
    text-align: center;
}

.hosHeaderLogo {
    height: 100px;
    width: 100px;
}

    .hosHeaderLogo:hover {
        opacity: .8;
    }

.logoContainer {
    text-align: center;
}

#SearchButton {
    border-radius: 25px;
    height: 50px;
    margin-left: -15px;
    width: 50px;
}

    #SearchButton .fa.fa-search {
        font-size: 1.6rem;
    }


#SearchBox {
    border: 2px solid rgba(0, 0, 0, 0);
    width: 87%;
}

/*----------Footer------------*/
footer {
    background: #4e4d4d;
    color: #fff;
    height: 1030px;
    padding: 20px 0;
    position: absolute;
    width: 100%;
}

    footer.noForm{
        height: 550px;
    }

    footer a {
        color: #fff;
    }

        footer a:hover,
        footer a:focus {
            color: #ffd800;
        }


.socialLinksContainer h2{
    margin-bottom: 1.5rem;
}

.footerLogos a{
    display: block;
    margin-bottom: 1rem;
}


/*--------------------Mail List Form-------------------*/
.mailListFormContainer a {
    text-decoration: underline;
}


#MailingListForm .form-control {
    border-radius: 0;
}

#MailingListSubmitButton {
    height: 45px;
}

.mailListFormContainer .umbracoForms-Indicator {
    color: #ffd800;
}

.mailListFormContainer .btn-primary {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

    .mailListFormContainer .btn-primary:hover {
        background-color: #e2e6ea;
        border-color: #dae0e5;
    }

    .mailListFormContainer .btn-primary:focus {
        background-color: #e2e6ea;
        border-color: #dae0e5;
        box-shadow: 0 0 0 0.2rem rgba(216,217,219,.5);
    }

    /*-------------------------------------Home page----------------------------------------------*/
    p.timeline-Tweet-text {
        font-size: 1.2rem !important;
    }

.navBox {
    margin-bottom: 30px;
}

    .navBox:hover img {
        opacity: .9;
    }

    .navBox:hover a {
        color: #ffd800;
        text-decoration: none;
    }


#NavBoxContainer .card-header h2 {
    font-size: 1.55rem;
}

#NavBoxContainer .card-header {
    text-align: center;
}

#NavBoxContainer {
    margin: 25px 0;
}

.bottom-right-round-65{
    border-bottom-right-radius: 65%;
}

.img-link:hover img{
    opacity: .8;
}

.img-link:focus img {
    outline: 2px solid #b10535;
    display: inline-block;
}

/*Carousel*/
#HomePageCarouselContainer {
    height: 355px;
    margin-bottom: 35px;
}

    #HomePageCarouselContainer .carousel-caption {
        background-color: rgba(177, 5, 53, .7);
        padding-top: 10px;
        padding-bottom: 10px;
    }

a.carouselLink {
    display: block;
    padding: 0;
}





@media all and (max-width:992px) {
    #HomePageCarouselContainer .carousel-caption {
        background-color: rgba(177, 5, 53, 1);
        bottom: 0;
        left: 0;
        height: 100%;
        position: relative;
        width: 100%;
    }

    #HomePageCarouselContainer .carousel-inner {
        overflow: inherit;
    }

    #HomePageCarouselContainer .carousel-indicators {
        bottom: -50px;
    }

    #HomePageCarouselContainer h2 {
        font-size: 1.75rem;
    }
}




/*------------------------------Search-----------------------------*/

.searchResults h1 {
    margin-bottom: 20px;
}

.search-result h2 {
    color: #102abf;
    font-size: 1.15em;
    margin-top: 0;
}

    .search-result h2:hover {
        color: red;
    }

.searchResultURL {
    color: #4b8f21;
    overflow-x: hidden;
}

.advancedSearchOptions {
    margin-bottom: 25px;
}


.search-result {
    border: 1px solid #d3d0d0;
    border-radius: 4px;
    margin-bottom: 15px;
    padding: 10px;
}

    .search-result hr {
        margin: 10px 0;
    }

.searchDescription p {
    margin-bottom: 0;
}

#searchAgain h3 {
    color: #333;
    margin: 0 0 15px;
}

.searchAgain {
    margin-top: 15px;
}

span.highlight {
    background: #fce68f;
    font-weight: 600;
    padding: 0 5px;
}

.nodeLink {
    display: block;
}

a.mediaLink {
    text-decoration: none;
}

.searchIcon {
    font-size: .9em;
}


@media all and (max-width:576px) {
    .btn-xs-block {
        width: 100%;
        display: block;
    }
}

main.landingPage,
main.eventsList,
main.eventsItem{
    background-color: #f7f5f5;
}

main.landingPage .container,
main.eventItem .container{
    padding: 0 20px 20px 20px;
}


main.eventsList .container,
main.eventsItem .container,
main.landingPage .container
{
    background-color: #fff;
}

main h1{
    margin-bottom: 1.5rem;
}



/*--------------------Event Area--------------------------*/

.text-ffffff {
    color: #fff;
}

.text-000000 {
    color: #000;
}

.headlineEventOverlayInfo {
    background: #b10535;
    padding: 0 20px 5px;
}

    .headlineEventOverlayInfo h1 {
        font-size: 2rem;
    }


#headlineEvent {
    background-color: #000;
    margin-bottom: 10px;
}


.eventPreview {
    background: #000;
    color: #fff;
    margin-bottom: 20px;
    min-height: 270px;
    position: relative;
    width: 100%;
    z-index: 9;
}

    .eventPreview h1 {
        color: #fff;
    }


.eventOverlayInfo {
    background: rgba(0,0,0,0);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 76%, rgba(0,0,0,1) 100%);
    padding: 5px 10px;
    vertical-align: text-bottom;
    width: 100%;
    z-index: 200;
    position: absolute;
    bottom: 0;
}

    .eventOverlayInfo h1 {
        font-size: 1.5em;
        margin-bottom: 5px;
    }

/*.eventPreview img{
	width: 100%;
}*/

.eventPreviewButtons a {
    margin-right: 7px;
}




/*-------------------Event Item---------------------*/

.eventItemBreadcrumbContainer{
    z-index: 1;
}

.eventItemDetailsContainer {
    font-weight: 600;
    margin-bottom: 15px;
}

.eventItemIcon.fa{
    font-size: 1.5rem;
    width: 25px;
}

.eventItemDetails{
    font-size: 1rem;
}

.grouped{
    display: inline-block;
}

.eventItemDescription{
    margin: 10px 0;
}


/*-------------------------World War 1 Records Area--------------*/

.ww1AreaPage #Keyword{
    height: 48px;
}


.ww1RecordPanel h3{
    font-size: 1.5rem;
}

.ww1RecordPanel .card{
    margin-bottom:  30px;
}



/*-------------------------Lightbox--------------------------*/

/* Zoom In #1 */
.hoverEffect img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    animation: fadein 3s;
}

.hoverEffect:hover img {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

.gallery a{
    margin: 15px 0;
}



@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/*---------------------------------------------------Small devices (landscape phones, 576px - 767px)--------------------------------------------------------------------------------*/
@media (min-width: 576px) {

    /*--------------------------------------------Masterview (COL-SM)-----------------------------------------*/

    .rightColumn {
        padding-left: 0;
    }


    /*----------Accessibility Bar (COL-SM)------------*/


    .accessibility ul {
        padding: 0;
        text-align: left;
    }

    .accessibility li {
        margin: 0;
        padding: 4px 6px;
    }

    .accessibilityLinks a,
    .accessibilityLinks input {
        font-size: 1em;
    }

    /*----------Header (COL-SM)------------*/

    header {
        height: 135px;
    }

    .searchBoxContainer {
        margin-top: 20px;
		display:inline-block;
    }

    #SearchBox {
        width: 85%;
    }

    .reciteMeContainer {
        display: inline-block;

    }

    /*----------Footer (COL-SM)------------*/
    footer {
        height: 890px;
    }

        footer.noForm {
            height: 325px;
        }

    /*----------Home Page (COL-SM)---------*/

    #Carousel img {
        height: initial;
    }

    #HomePageCarouselContainer {
        height: 380px;
    }

    /*---------Events Area (COL-SM)----------*/

    .headlineEventOverlayInfo {
        padding: 10px 30px;
    }

    .eventOverlayInfo{
        padding: 5px 15px;
        width: 510px;
    }

    /*-----------Events Item (COL-SM)------------*/

    main.eventsItem .container{
        padding: 20px;
    }


    /*------------Navigation Boxes (COL-SM)-----------*/

    .round-br-corner{
        border-bottom-right-radius: 65%;
    }

}

/*---------------------------------------------------Medium devices (tablets, 768px - 991px)----------------------------------------------------------------------------------------*/
@media (min-width: 768px) {

    /*--------------------------------------------Masterview (COL-MD)-----------------------------------------*/

    /*----------Header (COL-MD)------------*/

    .searchBoxContainer {
        float: right;
    }
	
    .reciteMeContainer {
        margin-left: 180px;
        margin-top: 30px;
    }


    /*----------Footer (COL-MD)------------*/

    footer {
        height: 570px;
    }

    /*------------Home Page (COL-MD)------------------*/

    #HomePageCarouselContainer {
        height: 485px;
    }

    #NavBoxContainer .card-header {
        text-align: left;
    }


    #NavBoxContainer .reducedPadding,
    .mapTweets .reducedPadding,
    .eventPreviewContainer{
        padding-left: 10px;
        padding-right: 10px;
    }

    .navBox{
        margin-bottom: 20px;
    }



    /*----------Search Page (COL-MD)--------------*/

    .search-result {
        border: none;
        margin-bottom: 10px;
    }

    /*------------Events Area (COL-MD)--------------*/

    .eventOverlayInfo{
        padding: 5px 20px;
        width: 100%;
    }



}
/*---------------------------------------------------Large devices (desktops, 992px and up)----------------------------------------------------------------------------------------*/
@media (min-width: 992px) {

    /*--------------------------------------------Masterview (COL-LG)-----------------------------------------*/

    /*----------Header (COL-LG)------------*/

    header {
        height: 160px;
    }

    .colNoPadding {
        padding: 0;
    }

    .logoContainer {
        padding-top: 13px;
    }

    .reciteMeContainer {
        margin-left: 390px;
    }


    /*----------Footer (COL-LG)------------*/


    /*----------------Home Page (COL-LG)--------------------*/

    #HomePageCarouselContainer .carousel-caption {
        bottom: 0;
        left: 15%;
        width: 70%;
    }

    #HomePageCarouselContainer .carousel-inner {
        overflow: inherit;
    }

    #HomePageCarouselContainer .carousel-indicators {
        bottom: -60px;
    }

    #HomePageCarouselContainer {
        height: 465px;
        margin-bottom: 0;
    }

    #NavBoxContainer .reducedPadding,
    .mapTweets .reducedPadding,
    .eventPreviewContainer
    {
        padding-left: 5px;
        padding-right: 5px;
    }

    .navBox,
    .eventPreview{
        margin-bottom: 10px;
    }



    /*----------Events Area (COL-LG)-------*/

    .eventOverlayInfo{
        padding: 10px 25px;
        width: 470px;
    }

    .headlineEventOverlayInfo {
        padding: 10px 30px;
    }

    #headlineEvent {
        position: relative;
    }

    .headlineEventOverlayInfo {
        background: rgba(0 0 0 / 20%);
        height: 100%;
        padding: 10px 50px;
        width: 100%;

        position: absolute;
        top: 0;
        left: 0;
    }

    #headlineEvent h1 {
        font-size: 3rem;
        margin-bottom: .75rem;
    }

    .headlineEventOverlayInfo .startDate,
    .headlineEventOverlayInfo .endDate {
        font-size: 1.22rem;
    }

    .eventPreviewButtons .btn {
        padding: .675rem .95rem;
        font-size: 1.22rem;
    }

    /*.eventPreviewContainer{

    }*/

    /*-----------Events Item (COL-LG)------------*/

    main.eventsItem .container{
        padding: 20px 30px;
    }


    /*-----------WW1 Records Item (COL-LG)-------*/

    .ww1card{
        min-height: 385px;
    }

}
/*---------------------------------------------------Extra large devices (large desktops, 1200px and up)---------------------------------------------------------------------------*/
@media (min-width: 1200px) {

    /*--------------------------------------------Masterview (COL-XL)-----------------------------------------*/

    /*----------Header (COL-XL)------------*/

    .reciteMeContainer {
        margin-left: 538px;
    }

    /*----------Footer (COL-XL)------------*/

    footer {
        height: 540px;
    }

    /*----------Home (COL-XL)--------------*/

    #HomePageCarouselContainer {
        margin-bottom: 30px;
    }

    /*----------Events Area (COL-XL)-------*/

    .headlineEventOverlayInfo {
        padding: 25px 80px;
    }

    #headlineEvent h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .headlineEventOverlayInfo .startDate,
    .headlineEventOverlayInfo .endDate {
        font-size: 1.5rem;
    }

    .eventOverlayInfo{
        width: 560px;
    }

    /*-----------Events Item (COL-XL)------------*/

    main.eventsItem .container{
        padding: 20px 35px;
    }

    /*-----------WW1 Records Item (COL-XL)-------*/

    .ww1card{
        min-height: 330px;
    }

}

/*---------------------------------------------------Extra Extra large devices (large desktops, 1600px and up)---------------------------------------------------------------------------*/
@media (min-width: 1600px) {

    /*--------------------Master View------------------------*/

    header{
        height: 165px;
    }

    .reciteMeContainer {
        margin-left: 790px;
    }

    /*----------Home (COL-XXL)--------------*/

    #HomePageCarouselContainer {
        margin-bottom: 70px;
    }


    /*---------Events Area (COL-XXL)---------*/

    .headlineEventOverlayInfo {
        padding: 30px 90px;
    }

    #headlineEvent h1 {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .headlineEventOverlayInfo .startDate,
    .headlineEventOverlayInfo .endDate {
        font-size: 1.8rem;
    }

    .eventOverlayInfo{
        width: 710px;
    }

}

/*---------------------------------------------------Extra Extra Extra large devices (large desktops, 1920px and up)---------------------------------------------------------------------------*/
@media (min-width: 1920px) {

    /*----------Home (COL-XXL)--------------*/

    #HomePageCarouselContainer {
        margin-bottom: 120px;
    }

    /*---------Events Area (COL-XXXL)---------*/

    .headlineEventOverlayInfo {
        padding: 35px 100px;
    }


    #headlineEvent h1 {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .headlineEventOverlayInfo .startDate,
    .headlineEventOverlayInfo .endDate {
        font-size: 1.8rem;
    }
}

/*---------------------------------------------------Map Macro Partial---------------------------------------------------------------------------*/
#map-canvas img {
    max-width: none !important;
}

.controls {
    margin-top: 16px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#pac-input {
    background-color: #fff;
    padding: 0 11px 0 13px;
    width: 400px;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    text-overflow: ellipsis;
}

    #pac-input:focus {
        border-color: #4d90fe;
        margin-left: -1px;
        padding-left: 14px; /* Regular padding-left + 1. */
        width: 401px;
    }

.pac-container {
    font-family: Roboto;
}

#type-selector {
    color: #fff;
    background-color: #4d90fe;
    padding: 5px 11px 0 11px;
}

    #type-selector label {
        font-family: Roboto;
        font-size: 13px;
        font-weight: 300;
    }