// Home .home { h2 { color: $grey; font: { size: 22px; weight: 500; } margin: $spacing 0 1rem 0; } } // News .news { a { border: 1px solid #c4c0c0; display: block; margin-bottom: 0; padding: $spacing; min-height: 210px; @include transition(all 0.3s ease); span { color: $blue; font-weight: 600; } h3 { margin: 0.5rem 0; span { color: $grey; display: block; font-size: 16px; } } p { font-size: 12px; @include transition(all 0.6s ease); } .btn { display: none; span { color: white; } } &:hover, &:focus { border: 1px solid $blue; p { color: $blue; } } @media (max-width: $small) { padding: 1rem; margin: 0 0 1rem 0; } } } .news-extension { header { h1 { margin: 0; } h2 { span { font-size: 20px; color: $orange; margin: 0; } } } } /* Banners ------------------------------------------ */ .box-banner { position: relative; overflow: hidden; margin-bottom: 12px; a { color: white; &:hover, &:focus { color: white; } } figure { margin: 0; position: relative; z-index: 1; img { width: 100%; transition: all 0.3s ease; z-index: 3; } .overlay-figure { @include position(absolute, $left: 0, $bottom: 0, $height: 100%, $width: 100%); transition: all 0.3s ease; z-index: 5; } } .box-info { padding: 20px; z-index: 2; align-items: flex-end; @include position(absolute, $left: 0, $bottom: 0, $width: 100%); h3, h3 span { color: white; font: { size: 14px; weight: 600; } letter-spacing: 0; line-height: 18px; margin: 0; text-transform: uppercase; } p, p * { color: white; margin: 0; } .btn { margin: 0; } @media (max-width: $small) { display: none !important; } &.box-right { flex-direction: column; align-content: flex-end; justify-content: flex-end; @include position(absolute, $left: 0, $bottom: 0, $right: 0, $height: 100%, $width: 50%); h3, p { text-align: right; } .btn { float: right; } } &.box-bottom { @include position(absolute, $left: 0, $bottom: 20px, $height: 60px, $width: 100%); padding: 0 20px; display: flex; align-items: flex-end; p, p * { color: white; margin: 0 !important; } } &.box-none { opacity: 0; } } &:hover, &:focus { .box-info { opacity: 1 !important; } @media (min-width: $small) { figure { img { transform: scale(1.05); z-index: 1; } .overlay-figure { background: rgba(0, 0, 0, 0.85); z-index: 2; } } } } } #slide-tile .item { margin: 0 6px; } /* Categorias ------------------------------------------ */ .categorias { background: #fbfbfb; height: 180px; margin: 20px 0 0; padding: 20px 0; .item-category { text-align: center; p { height: 35px; margin: 10px 0 0; overflow: hidden; } a { display: block; margin: 0 auto; width: 120px; &:hover, &:focus { font-size: 13px; text-decoration: none; } } &:hover, &:focus { a { color: #006cd8; } } } @media (max-width: $large) { height: 150px; margin-top: 20px; padding: 15px 0; } } /* Circle Ico ------------------------------------------ */ .circle-ico { background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; height: 100px; margin: 0 auto; padding: 20px; width: 100px; transition: all 0.3s ease; .ico { text-indent: 0; height: 40px; width: 40px; svg { fill: $blue; } } &:hover, &:focus { background: #006cd8; svg { fill: white; } } @media (max-width: $large) { height: 80px; width: 80px; padding: 15px; .ico { height: 35px; width: 35px; } } } /* Slide arrow ------------------------------------------ */ .slide-arrow { .owl-controls { .owl-buttons { display: flex; div { background: transparent; height: 20px; padding: 0; text-indent: -99999px; width: 10px; &.disabled { display: none; } } .owl-prev { background: #006cd8; -webkit-mask: url(../assets/svg/ico-arrow-prev.svg) no-repeat 50% 50%; mask: url(../assets/svg/ico-arrow-prev.svg) no-repeat 50% 50%; } .owl-next { background: #006cd8; -webkit-mask: url(../assets/svg/ico-arrow-next.svg) no-repeat 50% 50%; mask: url(../assets/svg/ico-arrow-next.svg) no-repeat 50% 50%; } } } &.center-slide { .owl-carousel { top: 0; width: 100%; .owl-buttons { justify-content: space-between; .owl-prev { left: 15px; } .owl-next { right: 15px; } } } } &.categorias { .owl-controls { .owl-buttons { div { @include position(absolute, $top: 40px, $width: 10px, $height: 30px); display: block !important; } @media (max-width: $large) { top: 30px; } } } } }