@charset "utf-8";
/* CSS Document */

main section{background: url(../img/bn-muralha-conecta.jpg); background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; height: 70vh; overflow: hidden; position: relative; width: 100%}
main section h1{color: #fff; font-family: bebas-neue, sans-serif; font-style: normal; font-size:5rem; font-weight: 400; margin: 0; text-transform: uppercase; left: 10%; position: absolute; text-shadow: 0 0 20px rgba(0, 0, 0, .7); top: 100px}
main section p{color: #fff; font-family: open-sans-condensed, sans-serif; font-weight: 300; font-size: 2rem; left: 10%; line-height: 2.1rem; margin: 0; position: absolute; text-shadow: 0 0 20px rgba(0, 0, 0, .7); top: 200px; width: 60%}
.blur{color: transparent !important; text-shadow: 0 0 3px white !important;}

main article .timeline{margin: 0 auto; max-width: 100%; position: relative}
main article .timeline:after{background-color: #232323; bottom: 0; content: ''; left: 50%; margin-left: -3px; position: absolute; top: 0; width: 3px}
main article .timeline .container{background-color: inherit; padding: 10px 39px; position: relative; width: 50%}
main article .timeline .container:after{background-color: #fff; border: 2px solid #ed1c24; border-radius: 50%; content: ''; height: 25px; position: absolute; right: -13px; top: 15px; width: 25px; z-index: 1}
main article .left {left: 0;}
main article .right {left: 50%}
main article .left:before {border: medium solid #ececec; border-color: transparent transparent transparent #ececec; border-width: 10px 0 10px 10px; content: " "; height: 0; position: absolute; right: 30px; top: 22px; width: 0; z-index: 1}
main article .right:before {border: medium solid #ececec; border-color: transparent #ececec transparent transparent; border-width: 10px 10px 10px 0; content: " "; height: 0; left: 30px; position: absolute; top: 22px; width: 0; z-index: 1}
main article .right:after {left: -15px;}
main article .timeline .container .fotos{align-items: center; border-radius: 6px; background-color: #ececec; display: flex; justify-content: space-between; height: calc(100% - 20px); opacity: 0; padding: 20px 30px; position: absolute; width: calc(100% - 80px); z-index: 1;}
main article .timeline .container .fotos a.hide{display: none;}
main article .timeline .container:hover .fotos{opacity: 1; transition: opacity .25s ease-in-out;}
main article .timeline .container .content {border-radius: 6px; background-color: #ececec; padding: 20px 30px; position: relative}
main article .timeline .container .content h4{color: #73808b; font-family: bebas-neue, sans-serif; font-weight: 300; font-weight: 400; font-size: 1.4rem; line-height: 1.5rem; margin: 0}
main article .timeline .container .content p{font-size: 1rem;}
main article .timeline .container .content p strong{font-weight: 700;}


main article + article{display: flex}
main article + article figure{margin: 0 20px; max-width: 20%; width: 20%;}

main article + article figure img{width: 100%;}

main article + article figure figcaption{background-color: #f9f9f9; display: block; padding:10px; text-align: center; width: 100%}
main article + article figure figcaption h5{color: #73808b; font-family: bebas-neue, sans-serif; font-weight: 300; font-weight: 400; font-size: 1.2rem; line-height: 1.3rem; margin: 0}
main article + article figure figcaption p{color: #232323; display: none; font-family: open-sans, sans-serif; font-weight: 300; font-style: normal; font-size: 1.2rem; text-align: left !important;}
main article + article figure figcaption p a{color:#72a1c2}
main article + article figure figcaption p a i{color:#72a1c2; font-size: 1rem;}
main article + article figure figcaption i{color: #73808b; font-size: 2rem;}

/*
main article + article figure:first-of-type{margin: 0 20px 0 0;}
main article + article figure:last-of-type{margin: 0 0 0 20px;}
*/

@media screen 
   and (max-width: 1440px) {
    main section:first-of-type{height: 70vh;} 
    main section:first-of-type h1{font-size:4rem; left: 5%; top: 50px} 
    main section:first-of-type p{font-size: 1.8rem; left: 5%; line-height: 1.9rem; top: 130px}

    main article + article figure figcaption p{font-size: 1rem; text-align: left !important;}
    main article + article figure figcaption p a i{font-size: .9rem}
}
@media screen 
  and (max-width: 1280px) {
    main article .timeline .container .fotos{flex-flow: column;}
    main article .timeline .container .fotos a:nth-of-type(2){display: none;}
}
@media screen 
   and (max-width: 1150px) {
    main section:first-of-type{height: 60vh;} 
    main section:first-of-type h1{font-size: 3.5rem; left: 5%; top: 25px} 
    main section:first-of-type p{font-size: 1.6rem; left: 5%; line-height: 1.7rem; top: 100px}  
}
@media screen 
   and (max-width: 1024px) { 
    main nav{display: none !important}
    main article div{padding: 0 20px;}
}
@media screen 
  and (max-width: 900px) {
    main section{background-attachment: unset; }
    main article + article{flex-direction: column;}
    main article + article figure{display: flex; max-width: 100%; margin-bottom: 20px; width: 100%;}
    main article + article figure a{background-color: #ececec; display: flex; vertical-align: middle;}
    main article + article figure img{align-self: center; height: 227px; width: 242px;}
    main article + article figure figcaption{display: flex; flex-direction: column; text-align: left;}
    main article + article figure figcaption p{display: block; margin: 0 0 15px 0}
    main article + article figure figcaption p a{background-color: transparent; display: contents; vertical-align: unset;}
    main article + article figure figcaption p + i{display: none;}
}
@media screen 
  and (max-width: 823px) {
    main section:first-of-type h1{font-size: 2.5rem; left: 2%; top: 25px} 
    main section:first-of-type p{font-size: 1.4rem; left: 2%; line-height: 1.5rem; top: 80px; width: 90%}

    main article .timeline:after {left: 31px}
    main article .timeline .container {padding-left: 70px; padding-right: 25px; width: 100% }
    main article .timeline .container .fotos{flex-flow: row; width: calc(100% - 95px)}
    main article .timeline .container .fotos a:nth-of-type(2){display: block;}
    main article .timeline .container .fotos a:nth-of-type(3){display: block;}
    main article .timeline .container::before {border: medium solid #ececec; border-color: transparent #ececec transparent transparent; border-width: 10px 10px 10px 0; left: 60px; }
    main article .left::after, main article .right::after {left: -4px; }
    main article .right {left: 0%;}  
}
@media screen 
  and (max-width: 568px) {
    main section:first-of-type{height: 50vh;} 
    main article .timeline .container{min-height: 400px;}
    main article .timeline .container .fotos{flex-direction: column;}
}
@media screen 
  and (max-width: 480px) {
    main article + article i{font-size: 2rem; margin: 0 5px}  
    main article + article figure{flex-basis: 100%; width: 100%;}

    main article + article{flex-direction: row; flex-wrap: wrap;}
    main article + article figure{display: block; width: auto;}
    main article + article figure img{height: 100%; width: 100%;}
    main article + article figure figcaption{display: none}
}
@media screen 
  and (max-width: 375px) {
    main section:first-of-type p{display: none}
}
