/*This CSS file controls the CSS styling and layout of the History and Future page of the WRSC site...specifically, the 
Main Content region.*/

.layout-content h1{
    text-align: center;
    margin-top: 10px;
    font-weight: 400;
}

#block-historyphasei{
    grid-area: phase1;
    margin-bottom: 5px;
}

#block-historyphaseii{
    grid-area: phase2;
    margin-bottom: 5px;
}

#block-historyphaseiii{
    grid-area: phase3;
    margin-bottom: 5px;
}

#block-historyphaseiv{
    grid-area: phase4;
    margin-bottom: 5px;
}

#block-historyphasev{
    grid-area: phase5;
}

#history-future-ckedit{
    grid-area: ckedit;
}

/*This grid definition sets places the ckedit content (i.e. WRSC video, letter) above the blocks with the phases*/
/* #history-future-wrapper{
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
        'ckedit'
        'phase1'
        'phase2'
        'phase3'
        'phase4'
        'phase5';  
    justify-items: center;
        
} */

#wrsc-design-event-video{
    grid-area: video; 
    margin: 0 5px 20px;
}

#wrsc-design-event-video iframe{
    width: 100%;
    height: 100%;
}

#business-case{
    grid-area: business;
    background: #EAEAEA;
    padding: 20px 0 30px 20px;
    margin-bottom: 5px;   
}

#business-case h2 {
    font-size: 25px;
    text-align: center;
}

#business-case p {
    text-align: center;
}

#business-case p span{
    font-size: 18px;
}

#business-case ul li a{
    color: #185930;
    font-size: 16px;
}

#good-bad{
    grid-area: business;
    background: #EAEAEA;
    padding: 0px 0px 0px 0px;
    margin-bottom: 0px;   
}

#good-bad h2 {
    font-size: 25px;
    text-align: center;
}

#good-bad strong {
    font-size: 15px;
    text-align: center;
    
}

#good-bad em {
    text-align: center;
    font-size: 10px;
    font-style: italic;
}

#good-bad p span{
    font-size: 10px;
}

#good-bad ul li a{
    color: #185930;
    font-size: 12px;
}

#good-bad table{
    grid-area: business;  
    background-color: #EAEAEA;
    padding: 0px 0px 0px 0px;
    margin-bottom: 0px;
    margin: 6px;
}
#history-future-letter{
    grid-area: letter;
}

#history-future-letter p{
    line-height: 20px;
    margin: 25px 35px;
}

#block-historyphasei, #block-historyphaseii, #block-historyphaseiii, #block-historyphaseiv, #block-historyphasev{
    width: 250px;
    height: 319px;
}

#block-historyphaseii div{
    height: 319px;
}

.wrsc-phases{
    background: #A1C3D9;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.wrsc-phases h1{
    font-size: 18px;
}

.wrsc-phases p{
    color: #555;
    padding: 10px 10px;
}

.grid {
  grid-template-columns: repeat(5, 20vw);
  grid-template-rows: repeat(5, 20vh);
}

.container {
    display: grid;
    /* align-items: center;*/
    justify-content: center; 
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, 232px);
    grid-template-rows: repeat(1, 340px);
}

/*This grid definition controls the content entered into the CKEditor but not the individual block phases.*/
#historyandfuture{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
        'letter letter letter'
        'video video business'   
}

@media screen and (max-width: 600px){
    #historyandfuture{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            'letter'
            'video'
            'business';
    }

    #wrsc-design-event-video{
        max-width: 90%;
        height: 100%;
        
    }

    #wrsc-design-event-video iframe{
        margin: 10px 20px;
    }

    #business-case{
        margin: 10px 20px;
    }

}




