/* 01/03/2023 Theme Name: Diário de Vanguarda Theme URI: http://diariodevanguarda.com.br/ Description: Produzido por Cociente Consultoria e Desenvolvimento em Tecnologia Version: 2023 Autor Desenvolvimento: Produzido por Cociente Consultoria e Desenvolvimento em Tecnologia Autor URI: http://www.cociente.com.br */ /* default */ *{margin:0; padding:0; outline:none; } article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary, div, ul, li{display: block; position: relative; } html {font-size: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;} body, html, button, input, select, textarea, p, h1, h2, h3, h4, h5, h6, li, address, small, td, span { font-family: 'Poppins', sans-serif; } body{ background: #FFFFFF; } ::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; } ::selection { background: #0082C3; color: #fff; text-shadow: none; } ::placeholder { color: #C4C4C4; opacity: 1; } :-ms-input-placeholder { color: #C4C4C4; } ::-ms-input-placeholder { color: #C4C4C4; } a, a:hover, a:active, a:focus { color: inherit; text-decoration:none } .none{ display:none !important; } .show{ opacity: 1 } .hide{ opacity: 0 } .clear{ clear: both; } //.alignnone, .alignleft{ width: 50% !important; height: auto; float:left; margin:0 10px 10px 0;} //.alignright{ width: 50% !important; height: auto; float:right; margin:0 0 10px 10px} .aligncenter {margin-left: auto; margin-right: auto; clear: both; display: block;} .btn{ color: #FFF !important; } .progress{ display: none; } input[type="radio"], label{ cursor: pointer; } .col-centered{ float: none; margin: 0 auto; } .no-padding{ padding: 0 !important; } .no-scroll{ overflow: hidden !important; &::after{ overflow: hidden !important; content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 110vh; background: rgba(255,255,255,0.5); z-index: 999; } } .error_field{ border-color: red !important; } .container-sm{ width: 860px; margin: 0 auto; display: block; clear: both; } .anim{ -webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease; } .container-fluid{ max-width: 1328px; } // Embeds responsive .embed-responsive { position: relative; display: block; height: 0; padding: 0; overflow: hidden; .embed-responsive-item, iframe, embed, object, video { position: absolute; top: 0; left: 0; bottom: 0; height: 100%; width: 100%; border: 0; } } // Modifier class for 16:9 aspect ratio .embed-responsive-16by9 { padding-bottom: 56.25%; } // Modifier class for 4:3 aspect ratio .embed-responsive-4by3 { padding-bottom: 75%; } .mejs-layers,.mejs-inner{ height: 100%; } .wp_pagenavi_container{ width: 100%; text-align: center; margin-top: 35px; .wp-pagenavi{ display: block; width: 100%; } } #fancybox-overlay{ z-index: 999999999 !important; } #fancybox-wrap{ z-index: 9999999999 !important; } #fancybox-title-over{ color: #FFF !important; background: rgba(52, 97, 177, 0.8) !important; font-size: 18px; text-transform: uppercase; } .bt{ display: table; min-width: 180px; border-radius: 4px; font-size: 18px; font-weight: 600; padding: 7px 13px; text-align: center; &.bt-border-red{ background: none; border: 1px solid var(--red); color: var(--red); } &.bt-red{ background: var(--red); border: 1px solid var(--red); color: #FFF; } &.bt-gray{ background: var(--gray-dark); border: 1px solid var(--gray-dark); color: #FFF; } &.bt-center{ margin: 15px auto; } &.bt-br{ position: absolute; bottom: 25px; right: 25px; } &.bt-bl{ position: absolute; bottom: 25px; left: 25px; } } //////////////// // COLORS // //////////////// :root{ --gray : #f6f6f6; --gray-dark : #909090; --gray-border : #d6d6d6; --politica : #c4170c; --esporte : #06aa48; --economia : #3373e0; --entretenimento : #a5147d; --agenda-cultural: #ff6700; --red : #ed3237; } .politica-color{color: var(--politica);&:hover{color: var(--politica);}} .esporte-color{color: var(--esporte);&:hover{color: var(--esporte);}} .economia-color{color: var(--economia);&:hover{color: var(--economia);}} .entretenimento-color{color: var(--entretenimento);&:hover{color: var(--entretenimento);}} .agenda-cultural-color{color: var(--agenda-cultural);&:hover{color: var(--agenda-cultural);}} .politica-bg{background-color: var(--politica);} .esporte-bg{background-color: var(--esporte);} .economia-bg{background-color: var(--economia);} .entretenimento-bg{background-color: var(--entretenimento);} .agenda-cultural-bg{background-color: var(--agenda-cultural);} //////////// // GLOBAL // //////////// .banner{ width: 100%; img,iframe{ max-width: 98%; } iframe{ text-align: center; } } .banner-mt{ margin-top: 25px !important; } .banner-970x250{ display: flex; justify-content: center; align-items: center; flex-flow: column; img{ max-width: 100%; } } .banner-lateral{ text-align: center; img{ width: 250px; height: auto; } } .ads{ margin-bottom: 25px; } .cat-label{ display: table; margin-bottom: 10px; border-radius: 4px; font-size: 12px !important; font-weight: 400 !important; letter-spacing: 1px; padding: 3px 10px; text-transform: uppercase; color: #FFF; background: var(--red); &.title{ font-size: 36px !important; font-weight: 800 !important; padding: 2px 18px !important; } &.sobretudo{ text-transform: none; } } .search-box{ align-items: center; .search-form{ display: flex; width: 100%; input{ font-size: 16px; color: var(--gray-dark); padding: 6px 10px; border: 1px solid var(--gray-border); border-radius: 4px; } button{ margin-left: 10px; border: none; background: none; font-size: 24px; color: var(--red); } } } .section-title{ color: var(--red); font-weight: bold; } .wpcf7-form label{ display: block; } .social-interna{ display: flex; margin-top: 25px; a{ color: var(--red); float: left; margin-right: 5px; font-size: 28px; &.circle{ color: #FFF; background: var(--red); width: 28px; height: 28px; border-radius: 50%; font-size: 20px; display: flex; justify-content: center; align-items: center; } &.search{ font-size: 18px; } } } //////////// // LAYOUT // //////////// aside#menu-side{ position: fixed; z-index: 999999; nav{ position: absolute; z-index: 999999; top: 0; left: -350px; width: 350px; height: 110vh; border-left: 1px solid var(--gray); background: #FFF; padding: 35px; a.bt-menu-mobile{ position: absolute; top: 35px; right: 35px; color: var(--red); } ul{ margin-top: 20px; padding-top: 20px; border-top: 1px dotted var(--red); li{ display: block; margin-bottom: 20px; font-weight: 600; a{ color: var(--gray-dark); &:hover{ color: var(--red); } } } &.principal{ margin-top: 35px; } } &.show{ left: 0; -webkit-box-shadow: 0px 0 90px 100px rgb(0 0 0 / 10%); box-shadow: 0px 0 90px 100px rgb(0 0 0 / 10%); } } } header{ // position: sticky; top: 0; left: 0; width: 100%; z-index: 99; padding-bottom: 5px; border-bottom: 1px solid var(--gray); .topo{ background: #FFF; a.bt-menu-mobile{ color: var(--red); } .menu-bts,.brand,.search-box, .social{ height: 140px; margin: 0px; display: flex; align-items: center; } .menu-bts{ a{ margin-left: 15px; font-size: 16px; } } .brand{ justify-content: center; img{ width: auto; height: 120px; //margin-bottom: 10px; } } .search-box{ justify-content: flex-end; position: absolute; width: 93%; background: #FFF; z-index: 99999; #hide-search-box{ color: var(--red); } } .social{ // position: absolute; // right: 15px; justify-content: right; a{ color: var(--red); float: left; margin-right: 5px; font-size: 28px; &.circle{ color: #FFF; background: var(--red); width: 28px; height: 28px; border-radius: 50%; font-size: 20px; display: flex; justify-content: center; align-items: center; } &.search{ font-size: 18px; } &.threads{ img{ width: auto; height: 19px; } } } } } nav#nav-categ{ margin: 0; padding: 0; ul{ margin: 0; text-align: center; padding: 5px 0 0px 0; border-top: 1px solid var(--gray); li{ display: inline-block; margin: 0 10px; font-size: 15px; text-transform: uppercase; &.menu-sobretudo{ text-transform: none; } } } } } #top-bar{ //background: var(--gray); // border-top: 2px solid var(--red); margin: 10px 0; height: 30px; color: #727272; font-size: 13px; .infos{ display: flex; justify-content: center; align-items: center; .date-now{ text-transform: uppercase; } .weather{ border-left: 1px solid var(--gray); padding-left: 15px; margin-left: 15px; .weather-icon{ img{ width: 30px; height: auto; } } } } } #destaques{ .destaque-principal{ height: 215px; overflow: hidden; margin-top: 25px; figure{ height: 215px; display: flex; justify-content: center; align-items: center; border-radius: 4px; overflow: hidden; margin: 0; &::after{ content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; //background: linear-gradient(0deg, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%); mix-blend-mode: multiply; } img{ width: 100% !important; height: auto !important; margin: 0; } } a{ h1{ font-size: 32px; font-weight: 800; line-height: 40px; } } } .destaque-mais{ .item{ margin: 5px; height: 300px; figure{ border-radius: 4px; height: 300px; display: flex; justify-content: center; align-items: center; overflow: hidden; img{ width: auto; height: 300px; } &::after{ content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(0,0,0,0.7) 35%, rgba(0,0,0,0) 100%); mix-blend-mode: multiply; } } h3{ position: absolute; padding: 0 20px; bottom: 10px; font-size: 24px; font-weight: 800; color: #FFF; small{ display: block; font-size: 14px; margin-bottom: 15px; } } &.w-100{ figure{ img{ width: 100%; height: auto; } } h3{ top: 235px !important; } } &.principal{ height: 610px; figure{ height: 610px; img{ width: auto; height: 100%; } } h3{ bottom: 20px !important; font-size: 36px; } } } } } #noticias{ margin: 25px 0; .item{ margin-top: 25px; min-height: 178px; figure{ border-radius: 4px; height: 178px; display: flex; justify-content: center; align-items: center; overflow: hidden; background-color: var(--red); background-position: center; background-image: url(../img/brand/brand-white.svg); background-size: 50px auto; background-repeat: no-repeat; img{ width: auto; height: 178px; } } h3{ font-size: 18px; font-weight: 800; small{ display: block; font-size: 14px; margin-bottom: 15px; } } } } #colunistas{ padding-top: 25px; margin-bottom: 50px; #bt-colunista-prev,#bt-colunista-next{ position: absolute; top: 200px; font-size: 18px; color: var(--red); z-index: 99999; } #bt-colunista-prev{ left: -10px; } #bt-colunista-next{ right: -10px; } .item{ .box{ display: flex; justify-content: center; align-items: center; flex-direction: column; figure{ margin: 0 5px; display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 4px; width: 260px; height: 260px; background: #CCC; margin: 10px; img{ width: 260px; height: auto; } h4{ z-index: 999; position: absolute; bottom: 10px; left: 10px; overflow: hidden; border-radius: 4px; padding: 2px 18px; font-size: 18px; //font-weight: 800; margin-bottom: 0px; background: var(--red); color: #FFF; } &::after{ content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(0,0,0,0.6) 3%, rgba(0,0,0,0) 50%); mix-blend-mode: multiply; } } h3{ margin-top: 5px; font-size: 18px; font-weight: 800; margin-bottom: 10px; text-align: center; padding: 0 10px; } } } } #podcast{ .box{ background: var(--gray); padding: 25px; min-height: 600px; color: var(--gray-dark); border-radius: 10px; h3.section-title{ margin-bottom: 25px; } #podcast-show{ figure{ width: 100%; height: 250px; display: flex; justify-content: center; align-items: center; overflow: hidden; img{ width: 100%; height: auto; } i{ z-index: 99999; color: rgba(255,255,255,0.7); font-size: 75px; position: absolute; } } h2{ margin-top: 15px; font-weight: bold; } } } } #videos{ .box{ background: var(--gray); padding: 25px; min-height: 600px; color: var(--gray-dark); border-radius: 10px; h3.section-title{ margin-bottom: 25px; } #video-show{ figure{ width: 100%; height: 250px; display: flex; justify-content: center; align-items: center; overflow: hidden; img{ width: 100%; height: auto; } i{ z-index: 99999; color: rgba(255,255,255,0.7); font-size: 75px; position: absolute; } } h2{ margin-top: 15px; font-weight: bold; } } .item{ margin-bottom: 25px; .thumb{ padding-left: 0; padding-right: 0; img{ width: 100%; height: auto; } } a{ color: var(grgay-dark); font-size: 16px; } } .veja-mais{ display: inline-block; margin-top: 35px; color: #FFF; background: #c92f32; border-radius: 20px; letter-spacing: 1px; font-size: 12px; font-weight: normal; padding: 10px 30px; } } } #mais-noticias{ margin: 50px 0; #post-thumb{ .item{ height: 280px; margin-bottom: 35px; figure{ height: 280px; display: flex; justify-content: center; align-items: center; border-radius: 4px; overflow: hidden; margin: 0; &::after{ content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%); mix-blend-mode: multiply; } img{ width: auto !important; height: 100% !important; margin: 0; } } h3{ position: absolute; padding: 0 20px; bottom: 10px; font-size: 24px; font-weight: 800; color: #FFF; small{ display: block; font-size: 14px; margin-bottom: 15px; } } } } #no-thumb{ .item{ min-height: 110px; h3{ font-size: 18px; font-weight: 800; } } } .colunistas{ h2{ color: var(--red); } } .mais-lidas{ margin-top: 25px; ol{ li{ float: none; clear: both; margin-bottom: 35px; i{ width: 30px; float: left; font-style: normal; font-size: 50px; font-weight: 800; color: var(--red); margin: -14px 20px 0px; } p{ display: flex; font-size: 18px; } &.title{ i{ font-size: 36px; color: var(--gray-dark); margin-top: 5px; } h2{ font-size: 38px; font-weight: 800; } } } } } } .video-container{ position:relative; padding-bottom:56.25%; padding-top:30px; height:0; overflow:hidden; iframe{ position:absolute; top:0; left:0; width:100%; height:100%; } } .colunista-info{ overflow: hidden; border-radius: 4px; background: var(--gray); padding: 10px; figure{ float: left; display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 4px; width: 120px; height: 120px; background: #CCC; margin: 0 10px 0 0; img{ width: auto; height: 120px; } } h3{ font-size: 18px; font-weight: 800; margin-bottom: 5px; a{ color: var(--red); } } h4{ margin-top: 10px; font-size: 14px; font-weight: 300; } p{ font-size: 14px; } &.list{ margin-bottom: 25px; } &.post-info{ margin-top: 25px; } } // INTERNAS .internas{ .title_post{ font-size: 36px; font-weight: 800; } .post-content{ margin-top: 25px; figure.post-thumbnail{ display: flex; justify-content: center; align-items: center; flex-direction: column; margin-bottom: 35px; img{ height: auto !important; width: 650px; max-width: 100%; } figcaption{ margin: 5px auto 15px auto; width: 650px; max-width: 100% !important; font-size: 14px; line-height: 24px; } } .text-content{ img{ margin: 10px; width: 98% !important; max-width: 98% !important; } .wp-caption{ max-width: 100% !important; } .wp-caption-text{ margin-top: 0px; font-size: 12px; line-height: 12px; font-style: italic; text-align: center; } .alignleft{ margin: 5px 20px 10px 0; float: left; width: 50%; min-width: 50%; max-width: 50%; height: auto; img{ margin: 0 !important; width: 100% !important; height: auto; } } .alignright{ margin: 5px 0px 10px 20px; float: right; width: 50%; min-width: 50%; max-width: 50%; height: auto; img{ margin: 0 !important; width: 100% !important; height: auto; } } p{ text-align: justify; line-height: 27px; } div.autor_noticia{ clear: both; margin-top: 25px; font-size: 14px; padding-top: 15px; border-top: 1px solid var(--gray); b{ font-weight: 600; } } blockquote{ padding-left: 20px; border-left: 4px solid var(--gray); font-style: italic; font-weight: bold; } } } .compartilhar{ margin: 35px 0; } .outras-postagens{ h3{ font-size: 18px; font-weight: 800; color: var(--gray-dark); } ul{ margin-bottom: 50px; li{ margin-top: 15px; a{ font-weight: 600; } } } } } footer{ margin-top: 50px; background: #333; height: 125px; padding: 25px 0; color: #FFF; font-size: 14px; .logo,.social,.copy{ height: 68px; display: flex; align-items: center; } .logo{ margin: 0; img{ height: 68px; width: auto; } } .copy{ flex-direction: column; justify-content: center; text-align: center; font-size: 12px; ul{ display: flex; justify-content: center; align-items: center; li{ margin: 0 15px; a{ font-weight: 600; font-size: 16px; } } } span{ margin-left: 5px; padding-left: 5px; border-left: 1px solid #FFF; } } .social{ justify-content: flex-end; display: flex; a{ color: #FFF; float: left; margin-right: 5px; font-size: 28px; &.circle{ color: #333; background: #FFF; width: 28px; height: 28px; border-radius: 50%; font-size: 20px; display: flex; justify-content: center; align-items: center; } &.threads{ img{ width: auto; height: 19px; filter: invert(1); } } } } } /* Mobile Sizes (devices and browser) */ @media only screen and (max-width: 767px) { aside#menu-side{ nav{ ul{ li{ margin-bottom: 16px; } } } } header{ .topo{ .menu-bts{ height: auto; margin: 0px; display: block; position: absolute; top: 30px; left: 0px; z-index: 9999; a.bt-menu-mobile{ font-size: 22px; span.text{ display: none; } } } .brand,.search-box{ } .brand{ justify-content: center; height: 85px; img{ height: 65px; } } .search-box{ height: 25px; } .social{ height: 35px; margin: 0 auto; justify-content: center; a{ font-size: 22px; margin: 0 5px; &.circle{ width: 22px; height: 22px; font-size: 16px; } } } } nav{ position: absolute; z-index: 999999; top: 0; left: -250px; width: 250px; height: 100vh; border: none; a.bt-menu-mobile{ display: flex; justify-content: center; align-items: center; position: absolute; top: 0px; right: -85px; width: 85px; height: 85px; background: var(--gray); } ul{ li{ display: block; margin-bottom: 25px; a{ } } } .social{ position: absolute; left: 0; bottom: 50px; display: flex; width: 100%; justify-content: center; a{ &.insta{ } } } &.show{ left: 0; -webkit-box-shadow: 0px 0 90px 100px rgb(116 78 60 / 85%); box-shadow: 0px 0 90px 100px rgb(116 78 60 / 85%); } } } #destaques{ .destaque-principal{ h1{ font-size: 36px; line-height: 36px; } } .destaque-mais{ .item{ margin: 0 0 20px 0 !important; &.principal{ height: 480px; figure{ height: 480px; } h3{ font-size: 32px; } } } } } #colunistas{ #bt-colunista-prev{ left: 0px; } #bt-colunista-next{ right: 0px; } } #noticias{ .item{ figure{ height: 145px; } p{ display: none; } } } #mais-noticias{ .item{ h3{ font-size: 18px; } } #post-thumb{ .item{ margin-bottom: 25px; } } #no-thumb{ margin-top: 5px; .item{ min-height: auto; height: auto; margin-bottom: 25px; } } } #podcast{ margin-bottom: 35px; .box{ height: auto; min-height: inherit; padding-bottom: 60px; h2{ font-size: 24px; margin-bottom: 35px; } } } #videos{ margin-bottom: 35px; .box{ height: auto; min-height: inherit; padding-bottom: 60px; #video-show{ h2{ font-size: 24px; margin-bottom: 35px; } } } } .internas{ .title_post{ font-size: 32px; } .post-content{ figure.post-thumbnail{ height: auto; img{ width: 100% !important; height: auto !important; } } .alignleft{ margin: 0px !important; float: none !important; width: 100% !important; min-width: 100%; max-width: 100%; height: auto; img{ margin: 0 !important; width: 100% !important; height: auto; } } .alignright{ margin: 0px !important; float: none !important; width: 100% !important; min-width: 100% !important; max-width: 100% !important; height: auto; img{ margin: 0 !important; width: 100% !important; height: auto; } } } } footer{ padding: 20px 20px; height: 200px; font-size: 12px; .logo{ margin: 0; img{ height: 50px; width: auto; } } .copy{ flex-direction: column; ul{ margin-top: 60px; margin-bottom: 30px; } span{ margin-left: 0px; padding-left: 0px; border-left: none; display: block; } } } } /* Tablets Sizes */ @media only screen and (min-width: 768px) and (max-width: 991px) { }