
/**
 
* Boulange Acer (Boulanger Shop Concept)
* 
* @author Fabien Riffaud
* @version 0.1
*
* @lastmodified 20-06-2020
*/

/**** Generic ****/



/**** MenuDev ****/

.blac-menudev{
    background-color: #ccc;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.blac-menudev a{
    margin-left: 20px;
}


/**** Main ****/

.blac-main, .blac-content{
    max-width: 1440px;
    margin: auto;
    background-color: white;
}

/***** Mainnav ****/

.blac-header img{
    width: 100%;
}
.blac-main .blac-mainnav__logo{
    width: 150px;
    margin: 40px auto;
}
.blac-mainnav__menu{
    height: 90px;
    border-top: solid 1px #d1d1d1;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media(max-width:859px){
    .blac-main .blac-mainnav__logo{
        margin: 15px auto;
    }
    .blac-mainnav__menu{
        height: 45px;
    }
}
.blac-nav{
    text-align: center;
}
.blac-nav h1{
    color: #676767;
    font-weight: 300;
    font-size: 2.25rem;
    margin-bottom: 20px;
}
@media(max-width:1440px){
    .blac-nav h1{
        font-size: 1.55rem;
    }    
}
@media(max-width:860px){
    .blac-nav h1{
        font-size: calc(60*100vw/1440);
    }    
}
.blac-mainnav__menu a{
    font-size: 1rem;
    text-decoration: none;
    margin: 0 30px;
    transition: all .3s ease-in;
}
.blac-mainnav__menu a:hover{
    color: #dc582a;
}
.blac-mainnav__menu a::after {
    content: '';
    width: 0px;
    height: 2px;
    display: block;
    background: #dc582a;
    opacity: 0;
    transition: 300ms;
    transform: translateX(35px);
}
.blac-mainnav__menu a:hover::after {
    width: 100%;
    opacity: 1;
    transform: translateX(0px);
}
.blac-mainnav__menu .blac-menu-selected{
    font-size: 1rem;
    color: #dc582a;
    margin: 0 30px;
    display: none;
}
@media(max-width:860px){
    .blac-mainnav__menu a{
        font-size: calc(36*100vw/1440);
        line-height : calc(50*100vw/1440);
        margin: 0 10px;
    }    
    .blac-mainnav__menu .blac-menu-selected{
        font-size: calc(36*100vw/1440);
        line-height : calc(50*100vw/1440);
        margin: 0 10px;
    }    

}
.blac-menu-selected::after {
    content: '';
    width: 100%;
    height: 2px;
    display: block;
    background: #dc582a;
    transition: 300ms;
}

/**** Header Nav ****/
/*
    Visuel : 1440x800
    1440px  100%
    270px   18.75%
    326px   22.64%
*/

.blac-header{
    position: relative;
    height: 800px;
}
@media(max-width:1439px){
    .blac-header{
        height: 55.55%;
    }
}
.blac-intro{
    position: absolute;
    width: 100%;
    height: 800px;
    top: 0;
    opacity: 0;
}
@media(max-width:1439px){
    .blac-header{
        height: 55.5vw;
    }
    .blac-intro{
        height: 55.5vw;
    }
}

.blac-header__nav__item{
    width: 326px;
    height: 326px;
    position: absolute;
    opacity: 0;
    cursor: grab;
}
.blac-header__nav__item__bg, .blac-header__nav__item__img, .blac-header__nav__item__title{
    position: absolute;
    top: 0;
}
.blac-header__nav__item .blac-header__nav__item__img{
    width: 73%;
    left: 14%;
    top: 16%;
    transition: all .3s;
}
.blac-header__nav__item:hover .blac-header__nav__item__img{
    width: 78%;
    left: 11%;
    top: 14%;
}
.blac-header__nav__item .blac-header__nav__item__title{
    font-size: 1.25rem;
    font-weight: 400;
    color: #676767;
    margin: auto;
    text-align: center;
    position: relative;
    top: 75%;
    transition: all .3s;
    pointer-events: none;
}
.blac-header__nav__item:hover .blac-header__nav__item__title{
    color: #dc582a;
}
@media(max-width:1439px){
    .blac-header__nav__item{
        width: 22.64vw;
        height: 22.64vw;
    }
    .blac-header__nav__item .blac-header__nav__item__title{
        font-size: 1.47vw;
        top: 73%;
    }
}


/***** Hero ****/
.blac-hero{
    position: relative;
    width: 1250px;
    height: 705px;
    left: 192px;
}
#blac-header__nav .blac-hero__item{
    position: relative;
    top: auto;
    width: 192px;
    height: 176px;
    background-color: #ececec;
}

.blac-hero__item .blac-header__nav__item__title{
    font-size: 0.85rem;
}
.blac-header__hero__cta{
    position:absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1250px;
    height: 705px;
}
#blac-header__nav .blac-hero__item__selected{
    background-color: white;
    cursor: auto;
}
#blac-header__nav .blac-hero__item__selected .blac-header__nav__item__title{
    color: #dc582a;
}
#blac-header__nav .blac-hero__item__selected:hover{
    pointer-events: none;
}

@media(max-width:1439px){
    .blac-hero{
        width: 86.8%;
        left: 13.2%;
    }
    #blac-header__nav .blac-hero__item{
        width: 13.2%;
        height: 12.2vw;
    }
    .blac-header__hero__cta{
        width: 100%;
        height: 48.96vw;
    }
}
#blac-header__hero .blac-hero-white-shadow{
    color: white;
    text-shadow: 0px 0px 4px rgba(0,0,0,0.9);
}


/**** Hero CTA ****/
.blac-header__hero__cta{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.blac-header__hero__cta .blac-header__hero__cta__title{
    font-size: 3.125rem;
    line-height: 3.125rem;
    color: black;
    font-weight: 300;
    margin: 90px 0 35px;
}
.blac-header__hero__cta .blac-header__hero__cta__buttons a{
    padding: 10px 26px 8px;
    margin: 0 15px;
    background-color: white;
    border: solid 3px #dc582a;
    border-radius: 15px;
    font-size: 1.125rem;
    line-height: 1.125rem;
    font-weight: 700;
    color: #dc582a;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .3s;
}
.blac-header__hero__cta .blac-header__hero__cta__buttons a:hover{
    color: white;
    background-color: #dc582a;
}
.blac-header__hero__cta .blac-header__hero__cta__video{
    margin-top: 80px;
    width: 14%;
}
.blac-header__hero__cta .blac-header__hero__cta__video img{
        transition: all .3s;
}
.blac-header__hero__cta .blac-header__hero__cta__video a:hover img{
    transform: scale(1.2);
}
@media(max-width:1439px){
    .blac-header__hero__cta .blac-header__hero__cta__title{
        margin-top: 6.25vw;
        margin-bottom: 2.83vw;
    }
    .blac-header__hero__cta .blac-header__hero__cta__video{
        margin-top: 5.55vw;
    }
}
@media(max-width:1000px){
    .blac-header__hero__cta .blac-header__hero__cta__title{
        font-size: 2.4rem;
        font-size: calc(100*70vw/1440);
    }
    .blac-header__hero__cta .blac-header__hero__cta__buttons a{
        font-size: calc(100*40vw/1440);
        padding: 10px 16px 8px;
    }
}


.blac-videobutton{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.blac-row .blac-videobutton img{
    width: 15%;
}
.blac-videobutton:hover img{
    transition: all .3s;
    transform: scale(1.2);
}
/**** Nav Mobile ****/
#blac__nav-mobile{
    display: none;
    padding: 10px 0;
    border-top: solid 1px #d1d1d1;
    justify-content: center;
}
#blac__nav-mobile a{
    font-size: 0.8125rem;
    font-weight: 300;
    color: #676767;
    background-color: #f5f5f5;
    padding: 7px 24px 6px;
    text-decoration: none;
    margin: 5px;
    transition: all .3s;
}
#blac__nav-mobile a:hover{
    color: #f5f5f5;
    background-color: #dc582a;
}
#blac__nav-mobile .blac__nav-mobile__selected{
    color: #f5f5f5;
    background-color: #dc582a;
    pointer-events: none;
}
@media (max-width: 859px){
    #blac__nav-mobile a{
        font-size: 1.1rem;
        line-height: 1.2rem;
        padding: 12px 8px 10px;
    }
}
@media (max-width: 550px){
    #blac__nav-mobile a{
        font-size: 2.8vw;
        line-height: 1.0rem;
        padding: 10px 6px 8px;
    }
}


#blac-header__intro-mobile{
    display: none;
    padding: 20px 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    opacity: 1;
}
#blac-header__intro-mobile img{
    width: 70%;
}
#blac-header__intro-mobile>div{
    text-align: center;
    padding: 0 40px;
}
#blac-header__intro-mobile>div p{
    font-weight: 700;
    transform: translateY(-10px);
    transition: color .3s;
}
#blac-header__intro-mobile>div:hover{
    cursor: grab;
}
#blac-header__intro-mobile>div:hover p{
    color: #dc582a;
    cursor: grab;
}
@media(max-width:859px){
    #blac__nav-mobile{
        display: flex;
    }
    #blac-header__intro-mobile{
        display: grid;
    }
    .blac-hero{
        width: 100%;
        left: 0;
    }
    .blac-mainnav__menu{
        border: none;
    }
    #blac-header__intro-1, #blac-header__intro-2, #blac-header__nav{
        visibility: hidden;
    }
    #blac-header__intro-mobile>div p{
        font-weight: 400;
        font-size: 3vw;
    }
}
@media(max-width:1439px){
    .blac-hero{
        height: auto;
    }
}

/***** Build *****/

.blac__copycode textarea{
    width: 90%;
    margin: auto;
    font-family: monospace, monospace;
    font-size: 0.8rem;
    line-height: 1.2rem;
    padding: 20px;
    display: none;
}


/***** Blac Row ****/

.blac-row > *{
    padding: 15px;
}

/***** Text *****/

.blac-generic *{
    color: #505050;
    font-family: 'Comfortaa', cursive;
    font-weight: 300;
    font-size: 1rem;
    line-height : 1.625rem;
    /*line-height : 0;*/
}

.blac__coloured{
    color: #dc582a;
}

.blac__strong{
    font-weight: 700;
    color: black;
}

.blac__stronggrey{
    font-weight: 700;
    color: #505050;
    font-size: 1.5rem;
}
.blac__strong-big{
    font-weight: 400;
    color: black;
    font-size: 1.5rem;
}
.blac-flex .blac_fontdown{
    font-size: 0.8125rem;
}
@media (max-width: 1439px) and (min-width:860px){
    .blac__strong{
        font-size: calc(16*100vw/1440);
        line-height : calc(16*100vw/1440);
    }
    .blac__stronggrey, .blac__strong-big{
        font-size: calc(24*100vw/1440);
        line-height : calc(24*100vw/1440);
    }
    .blac-flex .blac_fontdown{
        font-size: calc(13*100vw/1440);
    }
}

.blac__selfstart{
    align-self: flex-start;
}
.blac__centered{
    text-align: center;
    align-self: center;
}
.blac__centered-top{
    text-align: center;
    align-self: top;
}
.blac-content .blac-h3-centered h3{
    text-align: center;
    align-self: center;
}
.blac-bggrey{
    background-color: #f5f5f5;
}
.blac-bgblack{
    background-color: #000000;
}
.blac-800max{
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}
.blac-row .blac-nopadding{
    padding: 0;
}
.blac-row .blac-nomargin{
    margin: 0;
}
.blac-content .blac-nolineheight{
    line-height: 0;
}
.blac-content .blac-nopadding-bottom{
    padding-bottom: 0;
}
@media(max-width:859px){
    .blac-marge-bottom-mobile{
        margin-bottom: 30px;
    }
    .blac-padding-lateral-mobile{
        padding-left: 15px;
        padding-right: 15px;
    }
}
.blac__fontwhite{
    color: #ffffff;
}

/***** Appear transition *****/

.blac-row > .blac-appear__view{
    opacity: 1;
    transform: translateY(0px);
}

.blac-row{
    position: relative;
}
.blac-row > *{
    transition: all 0.6s;
    position: relative;
    opacity: 0.0;
    transform: translateY(200px);
}
.blac-row>*:nth-child(1){
    transition-delay: 0;
}
.blac-row>*:nth-child(2){
    transition-delay: .3s;
}
.blac-row>*:nth-child(3){
    transition-delay: .6s;
}


/**** Grid ****/

.blac-grid-1col{
    display: grid;
    grid-template-columns: 1fr;
    padding: calc(30*100%/1440);
    padding: 30px;
    padding-bottom: 0;
}

.blac-grid-1col > *{
    text-align: center;
}
@media(max-width:859px){
    .blac-grid-1col{
        min-height: calc(100*500px/1440);
        min-height: auto;
    }
}
.blac-grid-2col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    padding: 30px;
    padding-bottom: 0;
}
@media(max-width:1439px){
    .blac-grid-2col{
        min-height: calc(100*500px/1440);
        min-height: auto;
    }
}
@media(max-width:859px){
    .blac-grid-2col{
        grid-template-columns: auto;
        /*padding: 15px;*/
        padding: 20px 0;
    }
}

.blac-grid-3col{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    padding: 30px;
    padding-bottom: 0;
}
@media(max-width:859px){
    .blac-grid-3col{
        grid-template-columns: auto;
    }
}
.blac-grid-3coluaotheuight{
    height: 100%;
    align-self: self-start;
    justify-self: start;
    
}

.blac-grid-4col{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: calc(30*100%/1440);
    grid-row-gap: calc(30*100%/1440);
    padding: calc(30*100%/1440);
    padding-bottom: 0;
}
@media(max-width:859px){
    .blac-grid-4col{
        grid-template-columns: 1fr 1fr;
    }
}

.blac-dual{
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.blac-dual .blac-dual__image{
    padding: 0;
    line-height: 0;
}
.blac-dual .blac-dual__image img{
    width: 100%;
}
@media(max-width:859px){
    .blac-dual{
        grid-template-columns: auto;
        column-gap: 0;
    }
}

.blac-mini3col{
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    /*max-height: 3rem;*/
    align-self: flex-start;
}
.blac-mini3col>*{
    margin-right: 80px;
}
@media (max-width: 1439px){
    .blac-mini3col>*{
        margin-right: calc(80*100vw/1440);
    }
}
@media (max-width: 859px){
    .blac-mini3col>*{
        margin-right: 20px;
    }
}

.blac-inside-3col{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto auto;
    grid-auto-flow: column;
    grid-column-gap: 20px;
    grid-row-gap: 10px;
    align-content: start;
}
.blac-inside-3col p, .blac-inside-3col h3, .blac-inside-3col div{
    text-align: left;
}
.blac-inside-3col h3{
    align-self: center;
}
.blac-inside-3col > *{
    text-align: center;
}
@media(max-width: 859px){
    .blac-inside-3col{
        grid-auto-flow: row;
        grid-template-columns: auto;
        justify-items: center;
    }
    .blac-inside-3col p{
        text-align: center;
    }
    .blac-row .blac-inside-3col img{
        width: 50%;

    }
}


.blac-row .blac-firstimgtop{
    padding: 0;
    justify-content: flex-start;
}
.blac-row .blac-firstimgtop > img{
    width: 100%;
    margin: 0 0 20px;
}

.blac-row .blac-firstimgtop > p{
    margin: 10px 30px 40px;
}

.blac-flex-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.blac-flex-row > *{
    margin: 0 60px;
}
@media(max-width:860px){
    .blac-flex-row > *{
        margin: 0 30px;
    }
}

.blac__aligntop{
    align-self: flex-start;
}

.blac-excerpt__full{
    display: none;
}
.blac-excerpt{
    align-self: flex-start;
}
.blac-excerpt a{
    text-decoration: none;
    color: #dc582a;
}
.blac-excerpt a:hover{
    text-decoration: underline;
}

/**** Grid Flex ****/

.blac-flex{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.blac-flex__{
    display: flex;
    padding: calc(100*50%/670);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.blac-flex > *{
    margin: 15px 30px;
}
.blac-flex p{
    font-size: 1rem;
    line-height : 1.625rem;
}
@media (max-width: 1439px) and (min-width:860px){
    .blac-flex p, .blac-inside p{
        font-size: calc(16*100vw/1440);
        line-height : calc(26*100vw/1440);
    }
}
@media (max-width:859px){
    .blac-flex > *{
        margin: 10px 15px;
    }
}

.blac-flex h3{
    font-weight: 400;
    font-size: 1.5rem;
    color: #dc582a;
    text-transform: uppercase;
    align-self: flex-start;
}
@media (max-width: 1439px) and (min-width:860px){
    .blac-flex h3{
        font-size: calc(24*100vw/1440);
        line-height : calc(30*100vw/1440);
    }
}
@media (max-width:859px){
    .blac-flex h3{
        font-size: calc(24*100vw/860);
        line-height : calc(30*100vw/860);
        font-size: 1.2rem;
        line-height : 1.5rem;
    }
}
.blac-inside h3{
    font-weight: 400;
    font-size: 1.2rem;
    line-height : 1.5rem;
    color: #dc582a;
    text-transform: uppercase;
}
@media (max-width: 1439px) and (min-width:860px){
    .blac-inside h3{
        font-size: calc(24*100vw/1440);
        line-height : calc(26*100vw/1440);
    }
}
.blac__centered h5, .blac__centered-top h5{
    font-weight: 700;
    font-size: 1.5rem;
    color: #dc582a;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 20px;
}
@media (max-width: 1439px) and (min-width:860px){
    .blac__centered h5, .blac__centered-top h5{
        font-size: calc(24*100vw/1440);
        line-height : calc(26*100vw/1440);
    }
}


.blac-grid-3col p, .blac-grid-3col h3{
    text-align: center;
    align-self: center;
}

.blac-flex h4{
    font-weight: 300;
    font-size: 2.5rem;
    line-height: 36px;
    color: #505050;
    text-align: center;
}
@media (max-width: 1439px) and (min-width:860px){
    .blac-flex h4{
        font-size: calc(40*100vw/1440);
        line-height : calc(36*100vw/1440);
    }
}
@media (max-width:859px){
    .blac-flex h4{
        font-size: calc(40*100vw/860);
        line-height : calc(36*100vw/860);
        font-size: 1.2rem;
        line-height : 1.5rem;
    }
}

.blac-widthfull{
    width: 100%;
}

@media (max-width:859px){
    .blac-grid-1col, .blac-grid-2col, .blac-grid-3col, .blac-grid-4col{
        /*padding-bottom: 30px;*/
        grid-row-gap: 0;
    }
    .blac__firstonmobile {
        order: -1;
    }
}



/**** Blac Img ****/
.blac-row img{
    max-width: 100%;
    width: 100%;
}
.blac-bloc-image{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.blac-bloc-image img{
    text-align: center;
    align-self: center;
}
.blac-row .blac__icons{
    width: auto;
}
.blac-grid-square2{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
}
.blac-grid-square2 > *{
    padding-left: 13px;
    border-left: solid 2px #dc582a;
}

@media (max-width: 859px){
    .blac-bloc-image img{
        width: 100%;
    }
}

.blac-grid-2-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-column-gap: 30px;
    grid-row-gap: 30px;   
    width: 70%;
    justify-items: center;
}
.blac-grid-2-2 p{
    text-align: center;
}


.blac-video{
    width: 100%;
    height: 500px;
}
@media(max-width:859px){
    .blac-video{
        width: 100%;
        height: calc(100*500vw/860);
    }
}

/**** Marque ****/

.blac-marque-separator{
    max-width: 660px;
    border-top: solid 1px #d1d1d1;
    margin: 0 auto 25px;
}
@media(max-width:859px){
    .blac-marque-separator{
        margin-bottom: 10px;
    }
}
.blac-marque-menu {
    display: flex;
    justify-content: center;
}
.blac-marque-menu a{
    font-size: 0.8125rem;
    font-weight: 300;
    color: #676767;
    background-color: #f5f5f5;
    padding: 7px 24px 6px;
    text-decoration: none;
    margin: 5px;
    transition: all .3s;
}
.blac-marque-menu a:hover{
    color: #f5f5f5;
    background-color: #dc582a;
}
@media (max-width: 859px){
    .blac-marque-menu a{
        font-size: calc(26*100vw/1440);
        padding: 3px 12px 2px;
    }
}
.blac-marque-menu .blac-marque-button__selected{
    color: #f5f5f5;
    background-color: #dc582a;
}

.blac-row .blac-marque-hero-title{
    position: absolute;
    font-size: 2.8rem;
    color: white;
    text-shadow: 0px 0px 4px rgba(0,0,0,0.9);
    top: 26.5%;
    left: 48%;
    transform: translateX(-50%);
}
@media (max-width: 1440px){
    .blac-row .blac-marque-hero-title{
        font-size: calc(46*100vw/1440);
        padding: 3px 12px 2px;
    }
    .blac-marque-hero img{
        max-width: 113%;
    }
}



/* Video Modal
-----------------------------------------*/
.video-modal,
.video-modal .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
}
.video-modal {
	overflow: hidden;
	position: fixed;
	opacity: 0.0;

  -webkit-transform: translate(500%,0%);
  transform: translate(500%,0%);

  -webkit-transition: -webkit-transform 0s linear 0s;
  transition: transform 0s linear 0s;


  /* using flexbox for vertical centering */

  /* Flexbox display */
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;

  /* Vertical alignment */
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.video-modal .overlay {
  z-index: 0;
  background: rgba(0,0,0,0.82); /* overlay color */

  opacity: 0.0;

  -webkit-transition: opacity 0.2s ease-out 0.05s;
  transition: opacity 0.2s ease-out 0.05s;
}


.video-modal-content {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: 1;
  
	margin: 0 auto;

	overflow-y: visible;

	background: #000;
  
  width: calc(100% - 12em);
  height: 0;
  padding-top: calc((100% - 12em) * 0.5625); /* 16:9 calc */
}

/* Scaling to fit within the current Viewport size:
   When viewport aspect ratio is greater than 16:9
   work off the height instead of the width for calc */
 @media (min-aspect-ratio: 16/9) {
  .video-modal-content {
    width: 0;
    height: calc(100vh - 10em);
    padding-top: 0;
    padding-left: calc((100vh - 10em) * 1.7778); /* 16:9 calc */
  }
}

/* Mobile Layout Tweaks - side margins reduced */
@media (max-width: 640px) {
	.video-modal-content {
		width: calc(100% - 1em);
    padding-top: calc((100% - 1em) * 0.5625); /* 16:9 calc */
	}
}

/* modal close button */
.close-video-modal {
	display: block;
    position: absolute;
    left: 0;
    top: -40px;

    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* set the iframe element to stretch to fit its parent element */
iframe#youtube {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;

	background: #000;
	box-shadow: 0px 2px 16px rgba(0,0,0,0.5);
}

/* show the modal: 
   add class to the body to reveal */
.show-video-modal .video-modal {
	opacity: 1.0;

	transform: translate(0%,0%);
	-webkit-transform: translate(0%,0%);
}
.show-video-modal .video-modal .overlay {
	opacity: 1.0;
}
.show-video-modal .video-modal-content {
	transform: translate(0%,0%);
	-webkit-transform: translate(0%,0%);
}



/***** Debug *****/
/*
.blac-row{
    background-color: pink;
}

.blac-row>*{
    background-color: blueviolet;
}
*/