Files
fes_acatlan/assets/css/main.less
T
2024-08-12 22:43:30 -06:00

1160 lines
19 KiB
Plaintext

/* Variables */
@color-header: rgba(20, 30, 48, 0.8);
@color-ln-nav: ;
@color-prin: #bb8800;
@color-sec: #1e3c70;
@1600: ~'(min-width: 1600px)';
@991: ~'(max-width: 991px)';
@767: ~'(max-width: 768px)';
@480: ~'(max-width: 480px)';
/* ==========
General
========== */
body {
color: #cccccc;
}
h1,h2,h3,h4,h5,h6 {
font-family: sans-serif;
}
a {
text-decoration: none;
}
p {
font-family: sans-serif;
}
/* ==========
========== */
/* ==========
Back to top button
========== */
.back-to-top {
position: fixed;
display: none;
right: 15px;
bottom: 15px;
z-index: 99999;
text-decoration: none;
i {
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: @color-prin;
color: @color-sec;
transition: all 0.4s;
&:hover {
background-color: @color-sec;
color: @color-prin;
}
}
}
/* ==========
aos animation delay mobile
========== */
@media screen and (max-width: 768px) {
[data-aos-delay] {
transition-delay: 0 !important;
}
}
/* ==========
Header
========== */
#header {
transition: all 0.5s;
z-index: 997;
padding: 8px 0;
position: absolute;
width: 100%;
background-color: @color-header;
.logo {
max-height: 68px;
margin: 3px 4px 0 0;
}
.logo-unam {
max-height: 55px;
}
h1 {
color: #1e3c70;
font-weight: 900;
font-size: 28px;
color: #fff;
span {
color: #bb8800;
}
}
}
@media (max-width: 768px) {
#header {
.logo {
max-height: 40px;
margin: 0 2px 0 0;
}
.logo-unam {
max-height: 40px;
margin: 0 2px 0 0;
}
h1 {
text-align: center;
margin: 0 auto;
font-weight: 700;
font-size: 22px;
visibility: hidden;
}
position: fixed;
}
}
/* ==========
Nav Menu
========== */
/* Desktop */
.nav-menu {
ul {
margin: 0;
padding: 0;
list-style: none;
}
>ul {
display: flex;
>li {
position: relative;
white-space: nowrap;
padding: 10px 0 10px 28px;
}
}
a {
display: block;
position: relative;
color: #fff;
transition: 0.3s;
font-size: 15px;
font-weight: 600;
&:hover {
color: #ffc451;
}
}
>a {
color: #ffc451;
}
li {
&:hover {
>a {
color: #ffc451;
}
}
}
.drop-down {
ul {
display: block;
position: absolute;
left: 14px;
top: calc(100% + 30px);
z-index: 99;
opacity: 0;
visibility: hidden;
padding: 0;
background: #fff;
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
transition: 0.3s;
a {
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
text-transform: none;
color: #151515;
&:hover {
color: #151515;
background: #ffc451;
}
}
.active {
>a {
color: #151515;
background: #ffc451;
}
}
li {
&:hover {
>a {
color: #151515;
background: #ffc451;
}
}
}
}
&:hover {
>ul {
opacity: 1;
top: 100%;
visibility: visible;
}
}
li {
min-width: 180px;
position: relative;
}
>a {
&:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 5px;
}
}
.drop-down {
ul {
top: 0;
left: calc(100% - 30px);
}
&:hover {
>ul {
opacity: 1;
top: 0;
left: 100%;
}
}
>a {
padding-right: 35px;
&:after {
content: "\eaa0";
font-family: IcoFont;
position: absolute;
right: 15px;
}
}
}
}
}
@media (max-width: 1366px) {
.nav-menu {
.drop-down {
.drop-down {
ul {
left: -90%;
}
&:hover {
>ul {
left: -100%;
}
}
>a {
&:after {
content: "\ea9d";
}
}
}
}
}
}
/* Mobile Navigation */
.mobile-nav-toggle {
position: fixed;
top: 15px;
right: 10px;
z-index: 9998;
border: 0;
background: none;
font-size: 24px;
transition: all 0.4s;
outline: none !important;
line-height: 1;
cursor: pointer;
text-align: right;
i {
color: #bb8800;
}
}
.mobile-nav {
position: fixed;
top: 0px;
right: 55px;
bottom: 0px;
left: 0px;
z-index: 9999;
overflow-y: auto;
background: rgba(30, 60, 112, 0.9);
transition: ease-in-out 0.2s;
opacity: 0;
visibility: hidden;
padding: 10px 0;
text-align: center;
* {
margin: 10px;
padding: 0;
list-style: none;
}
a {
display: block;
position: relative;
color: #bb8800;
padding: 10px 20px;
font-weight: 700;
outline: none;
font-size: 1.2em;
&:hover {
color: #151515;
text-decoration: none;
background: #ffc451;
}
}
.active {
a {
color: #151515;
text-decoration: none;
background: #ffc451;
}
}
li {
&:hover {
a {
color: #151515;
text-decoration: none;
background: #ffc451;
}
}
}
.drop-down {
>a {
&:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 10px;
position: absolute;
right: 15px;
}
padding-right: 35px;
}
ul {
display: none;
overflow: hidden;
}
li {
padding-left: 20px;
}
}
.active.drop-down {
a {
&:after {
content: "\eaa1";
}
}
}
}
.mobile-nav-overly {
width: 100%;
height: 100%;
z-index: 9997;
top: 0;
left: 0;
position: fixed;
background: rgba(0, 0, 0, 0.6);
overflow: hidden;
display: none;
transition: ease-in-out 0.2s;
}
.mobile-nav-active {
overflow: hidden;
.mobile-nav {
opacity: 1;
visibility: visible;
}
.mobile-nav-toggle {
i {
color: #fff;
}
}
}
/* ==========
Nav Menu Sec
========== */
/* Desktop */
.navbar-2 {
background-color: transparent !important;
a {
transition: 0.3s;
font-size: 14px;
font-weight: 600;
}
.dropdown-menu {
a {
&:hover {
background-color: #1e3c70;
color: #fff;
}
}
}
.dropdown-item {
i {
&:hover {
color: goldenrod !important;
}
}
}
i {
color: goldenrod;
font-size: 8px;
vertical-align: middle;
}
}
.nav-menu-2 {
ul {
margin: 0;
padding: 0;
list-style: none;
}
>ul {
display: flex;
>li {
position: relative;
white-space: nowrap;
padding: 10px 0 10px 28px;
}
}
a {
display: block;
position: relative;
color: #fff;
transition: 0.3s;
font-size: 15px;
font-weight: 600;
&:hover {
color: #ffc451;
}
}
.active {
>a {
color: #ffc451;
}
}
li {
&:hover {
>a {
color: #ffc451;
}
}
}
.drop-down {
ul {
display: block;
position: absolute;
left: 14px;
top: calc(100% + 30px);
z-index: 99;
opacity: 0;
visibility: hidden;
padding: 0;
background: #fff;
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
transition: 0.3s;
a {
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
text-transform: none;
color: #151515;
&:hover {
color: #151515;
background: #ffc451;
}
}
.active {
>a {
color: #151515;
background: #ffc451;
}
}
li {
&:hover {
>a {
color: #151515;
background: #ffc451;
}
}
}
}
&:hover {
>ul {
opacity: 1;
top: 100%;
visibility: visible;
}
}
li {
min-width: 180px;
position: relative;
}
>a {
&:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 5px;
}
}
.drop-down {
ul {
top: 0;
left: calc(100% - 30px);
}
&:hover {
>ul {
opacity: 1;
top: 0;
left: 100%;
}
}
>a {
padding-right: 35px;
&:after {
content: "\eaa0";
font-family: IcoFont;
position: absolute;
right: 15px;
}
}
}
}
}
@media (max-width: 1366px) {
.nav-menu-2 {
.drop-down {
.drop-down {
ul {
left: -90%;
}
&:hover {
>ul {
left: -100%;
}
}
>a {
&:after {
content: "\ea9d";
}
}
}
}
}
}
/* Mobile */
.mobile-nav-2-toggle {
position: fixed;
top: 70px;
right: 8px;
z-index: 9998;
border: 0;
background: none;
font-size: 24px;
transition: all 0.4s;
outline: none !important;
line-height: 1;
cursor: pointer;
text-align: right;
background-color: #1e3c70;
padding: 8px;
border-radius: 50%;
i {
color: #bb8800;
}
}
.mobile-nav-2 {
position: fixed;
top: 0px;
right: 55px;
bottom: 0px;
left: 0px;
z-index: 9999;
overflow-y: auto;
background: rgba(30, 60, 112, 0.9);
transition: ease-in-out 0.2s;
opacity: 0;
visibility: hidden;
padding: 10px 0;
font-size: 1.2em;
text-align: center;
* {
margin: 10px;
padding: 0;
list-style: none;
}
a {
display: block;
position: relative;
color: #bb8800;
padding: 10px 20px;
font-weight: 700;
outline: none;
&:hover {
color: #151515;
text-decoration: none;
background: #ffc451;
}
}
.active {
>a {
color: #151515;
text-decoration: none;
background: #ffc451;
}
}
li {
&:hover {
>a {
color: #151515;
text-decoration: none;
background: #ffc451;
}
}
}
.drop-down {
>a {
&:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 10px;
position: absolute;
right: 15px;
}
padding-right: 35px;
}
ul {
display: none;
overflow: hidden;
}
li {
padding-left: 20px;
}
}
.active.drop-down {
>a {
&:after {
content: "\eaa1";
}
}
}
}
.mobile-nav-2-overly {
width: 100%;
height: 100%;
z-index: 9997;
top: 0;
left: 0;
position: fixed;
background: rgba(0, 0, 0, 0.6);
overflow: hidden;
display: none;
transition: ease-in-out 0.2s;
}
.mobile-nav-2-active {
overflow: hidden;
.mobile-nav-2 {
opacity: 1;
visibility: visible;
}
.mobile-nav-2-toggle {
i {
color: #fff;
}
}
}
/* ==========
Hero
========== */
#hero {
width: 100%;
height: 90vh;
background: url("../img/bg/alt-2.jpg") top center;
background-size: cover;
position: relative;
&:before {
content: "";
background: rgba(255, 255, 255, 0.3);
position: absolute;
bottom: 0;
top: 0;
left: 0;
right: 0;
}
.container {
position: relative;
padding-top: 10%;
text-align: center;
}
h1 {
font-size: 36px;
font-weight: 700;
line-height: 40px;
color: #1e3c70;
span {
color: #bb8800;
}
}
h2 {
color: rgba(255, 255, 255, 0.9);
background-color: rgba(30, 60, 112, 0.8);
margin: 10px 0 0 0;
font-size: 22px;
padding: 4px;
}
.icon-box {
padding: ;
transition: ease-in-out 0.3s;
border: 1px solid rgba(255, 255, 255, 0.3);
text-align: center;
height: 250px;
i {
font-size: 32px;
line-height: 1;
color: #ffc451;
}
h3 {
font-weight: 700;
margin-top: auto;
padding: 0;
line-height: 1;
font-size: 20px;
line-height: 26px;
background-color: rgba(187, 136, 0, 0.8);
a {
color: #fff;
transition: ease-in-out 0.3s;
&:hover {
color: #1e3c70;
}
}
}
&:hover {
border-color: #1e3c70;
}
}
}
@media (min-width: 1024px) {
#hero {
background-attachment: fixed;
}
}
@media (max-width: 768px) {
#hero {
height: 80vh;
h1 {
font-size: 28px;
line-height: 36px;
}
h2 {
font-size: 20px;
line-height: 24px;
}
}
#header {
.navbar-toggler {
font-size: 13px;
padding: 0px;
border: none;
padding: 8px;
}
}
}
/* ==========
Sections
========== */
section {
padding: 60px 0;
overflow: hidden;
}
.section-title {
padding-bottom: 40px;
h2 {
font-size: 14px;
font-weight: 500;
padding: 0;
line-height: 1px;
margin: 0 0 5px 0;
letter-spacing: 2px;
color: #aaaaaa;
font-family: "Poppins", sans-serif;
&::after {
content: "";
width: 100px;
height: 1px;
display: inline-block;
background: #ffde9e;
margin: 4px 10px;
}
}
p {
margin: 0;
margin: 0;
font-size: 36px;
font-weight: 700;
text-transform: uppercase;
font-family: "Poppins", sans-serif;
color: #151515;
}
}
/* ==========
Notices
========== */
.notices {
.content {
h3 {
font-weight: 700;
font-size: 28px;
}
}
.pub-avisos {
p {
i {
font-size: 16px;
color: #ffc451;
}
margin-bottom: 0;
font-size: 15px;
}
border-top: 1px solid #ccc;
padding: 15px 8px;
span {
font-size: 12px;
font-weight: 500;
color: #cccccc;
padding: 4px 18px;
}
.cta-btn {
font-weight: 600;
font-size: 12px;
letter-spacing: 1px;
padding: 4px 18px;
display: inline-flex;
border-radius: 18px;
transition: 0.2s;
margin-top: 10px;
border: 2px solid #1e3c70;
color: #1e3c70;
&:hover {
background: #bb8800;
border-color: #bb8800;
color: #fff;
}
}
}
.owl-item {
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
img {
width: 100%;
margin-bottom: -15px;
&:hover {
-webkit-filter: none;
filter: none;
}
}
p {
text-align: center;
margin: 0;
color: #bb8800;
font-weight: 500;
}
}
.owl-nav {
margin-top: 5px;
text-align: center;
}
.owl-dots {
margin-top: 5px;
text-align: center;
}
.owl-dot {
display: inline-block;
margin: 0 5px;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #ddd !important;
}
.owl-dot.active {
background-color: #1e3c70 !important;
}
.bot-area {
padding: 15px;
img {
border-radius: 15px;
&:hover {
border-color: #1e3c70;
box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
transform: translateY(-10px);
}
}
}
}
/* ==========
Services
========== */
#services {
background: linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.3)), url("../img/bg/alt-1.jpg") fixed top center;
background-size: cover;
padding: 60px 0;
}
.services {
.icon-box {
text-align: center;
background: #fff;
height: 320px;
width: 310px;
overflow: auto;
margin: auto;
.nav-tram {
background: #1e3c70;
padding: 2px 0;
}
.card {
background-color: transparent;
border-radius: 0px;
}
.card-header {
border-radius: 0px;
background-color: rgba(30, 60, 112, 0.8);
button {
color: goldenrod;
text-decoration: none;
font-weight: 700;
}
}
.card-body {
background-color: rgba(30, 60, 112, 0.9);
ul {
border: none;
list-style: none;
text-align: left;
padding: 10px;
}
li {
color: goldenrod;
margin: 2px 0;
font-weight: 600;
border-top: 1px solid #ccc;
padding: 2px 0;
}
}
&::-webkit-scrollbar {
-webkit-appearance: none;
background-color: #0456a4;
&:vertical {
width: 4px;
}
&:horizontal {
height: 8px;
}
}
&::-webkit-scrollbar-button {
&:increment {
display: none;
}
}
&::-webkit-scrollbar-thumb {
background-color: #0456a4;
border-radius: 10px;
border: 2px solid darkgoldenrod;
}
&::-webkit-scrollbar-track {
border-radius: 10px;
}
h4 {
font-weight: 700;
margin-bottom: 15px;
font-size: 24px;
a {
color: #151515;
transition: ease-in-out 0.3s;
&:hover {
color: #ffc451;
}
}
}
p {
line-height: 24px;
font-size: 14px;
margin-bottom: 0;
}
&:hover {
border-color: #fff;
box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
transform: translateY(-10px);
}
}
}
.contenedor {
&::-webkit-scrollbar-button {
display: none;
}
}
/* ==========
Pages int
========== */
#pgint {
background-image: url(../img/bg/solid.png);
background-size: cover;
background-position: center;
background-attachment: fixed;
}
.pgint {
padding-top: 20px;
.owl-item {
display: flex;
justify-content: center;
align-items: center;
padding: 0 20px;
img {
width: 70%;
opacity: 0.5;
transition: 0.3s;
-webkit-filter: grayscale(100);
filter: grayscale(100);
&:hover {
-webkit-filter: none;
filter: none;
opacity: 1;
}
}
}
.owl-nav {
margin-top: 5px;
text-align: center;
}
.owl-dots {
margin-top: 5px;
text-align: center;
}
.owl-dot {
display: inline-block;
margin: 0 5px;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #ddd !important;
}
.owl-dot.active {
background-color: #ffc451 !important;
}
}
/* ==========
Footer
========== */
#footer {
background-color: black;
padding: 0 0 30px 0;
color: #fff;
font-size: 14px;
.footer-top {
background: linear-gradient(rgba(2, 2, 2, 0.9), rgba(20, 30, 48, 0.9)), url("../img/bg/_DSC3031.jpg") fixed top;
background-size: cover;
border-bottom: 1px solid #222222;
padding: 60px 0 30px 0;
.footer-info {
margin-bottom: 30px;
h3 {
font-size: 28px;
margin: 0 0 20px 0;
padding: 2px 0 2px 0;
line-height: 1;
font-weight: 700;
span {
color: #bb8800;
}
}
p {
font-size: 14px;
line-height: 24px;
margin-bottom: 0;
font-family: "Raleway", sans-serif;
color: #fff;
text-align: justify;
}
}
.social-links {
a {
font-size: 18px;
display: inline-block;
background: #292929;
color: #fff;
line-height: 1;
padding: 8px 0;
margin-right: 4px;
border-radius: 4px;
text-align: center;
width: 36px;
height: 36px;
transition: 0.3s;
&:hover {
background: #ffc451;
color: #151515;
text-decoration: none;
}
}
}
h4 {
font-size: 16px;
font-weight: 600;
color: #fff;
position: relative;
padding-bottom: 12px;
}
.footer-links {
margin-bottom: 30px;
ul {
list-style: none;
padding: 0;
margin: 0;
i {
padding-right: 2px;
color: #ffc451;
font-size: 18px;
line-height: 1;
}
li {
padding: 10px 0;
display: flex;
align-items: center;
&:first-child {
padding-top: 0;
}
}
a {
color: #fff;
transition: 0.3s;
display: inline-block;
line-height: 1;
&:hover {
color: #ffc451;
}
}
}
}
}
}