Files
fes_acatlan/posgrados/assets/css/posgrados.css
T
2024-08-27 17:05:53 -06:00

1058 lines
21 KiB
CSS

/* Variables */
/* ==========
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;
}
.back-to-top i {
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #bb8800;
color: #1e3c70;
transition: all 0.4s;
}
.back-to-top i:hover {
background-color: #1e3c70;
color: #bb8800;
}
/* ==========
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: rgba(20, 30, 48, 0.8);
}
#header .logo {
max-height: 68px;
margin: 3px 4px 0 0;
}
#header .logo-unam {
max-height: 55px;
}
#header h1 {
color: #1e3c70;
font-weight: 900;
font-size: 28px;
color: #fff;
}
#header h1 span {
color: #bb8800;
}
@media (max-width: 768px) {
#header {
position: fixed;
}
#header .logo {
max-height: 40px;
margin: 0 2px 0 0;
}
#header .logo-unam {
max-height: 40px;
margin: 0 2px 0 0;
}
#header h1 {
text-align: center;
margin: 0 auto;
font-weight: 700;
font-size: 22px;
visibility: hidden;
}
}
/* ==========
Nav Menu
========== */
/* Desktop */
.nav-menu ul {
margin: 0;
padding: 0;
list-style: none;
}
.nav-menu > ul {
display: flex;
}
.nav-menu > ul > li {
position: relative;
white-space: nowrap;
padding: 10px 0 10px 28px;
}
.nav-menu a {
display: block;
position: relative;
color: #fff;
transition: 0.3s;
font-size: 15px;
font-weight: 600;
}
.nav-menu a:hover {
color: #ffc451;
}
.nav-menu > a {
color: #ffc451;
}
.nav-menu li:hover > a {
color: #ffc451;
}
.nav-menu .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;
}
.nav-menu .drop-down ul a {
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
text-transform: none;
color: #151515;
}
.nav-menu .drop-down ul a:hover {
color: #151515;
background: #ffc451;
}
.nav-menu .drop-down ul .active > a {
color: #151515;
background: #ffc451;
}
.nav-menu .drop-down ul li:hover > a {
color: #151515;
background: #ffc451;
}
.nav-menu .drop-down:hover > ul {
opacity: 1;
top: 100%;
visibility: visible;
}
.nav-menu .drop-down li {
min-width: 180px;
position: relative;
}
.nav-menu .drop-down > a:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 5px;
}
.nav-menu .drop-down .drop-down ul {
top: 0;
left: calc(100% - 30px);
}
.nav-menu .drop-down .drop-down:hover > ul {
opacity: 1;
top: 0;
left: 100%;
}
.nav-menu .drop-down .drop-down > a {
padding-right: 35px;
}
.nav-menu .drop-down .drop-down > a:after {
content: "\eaa0";
font-family: IcoFont;
position: absolute;
right: 15px;
}
@media (max-width: 1366px) {
.nav-menu .drop-down .drop-down ul {
left: -90%;
}
.nav-menu .drop-down .drop-down:hover > ul {
left: -100%;
}
.nav-menu .drop-down .drop-down > 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;
}
.mobile-nav-toggle 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;
}
.mobile-nav * {
margin: 10px;
padding: 0;
list-style: none;
}
.mobile-nav a {
display: block;
position: relative;
color: #bb8800;
padding: 10px 20px;
font-weight: 700;
outline: none;
font-size: 1.2em;
}
.mobile-nav a:hover {
color: #151515;
text-decoration: none;
background: #ffc451;
}
.mobile-nav .active a {
color: #151515;
text-decoration: none;
background: #ffc451;
}
.mobile-nav li:hover a {
color: #151515;
text-decoration: none;
background: #ffc451;
}
.mobile-nav .drop-down > a {
padding-right: 35px;
}
.mobile-nav .drop-down > a:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 10px;
position: absolute;
right: 15px;
}
.mobile-nav .drop-down ul {
display: none;
overflow: hidden;
}
.mobile-nav .drop-down li {
padding-left: 20px;
}
.mobile-nav .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-active .mobile-nav {
opacity: 1;
visibility: visible;
}
.mobile-nav-active .mobile-nav-toggle i {
color: #fff;
}
/* ==========
Nav Menu Sec
========== */
/* Desktop */
.navbar-2 {
background-color: transparent !important;
}
.navbar-2 a {
transition: 0.3s;
font-size: 14px;
font-weight: 600;
}
.navbar-2 .dropdown-menu a:hover {
background-color: #1e3c70;
color: #fff;
}
.navbar-2 .dropdown-item i:hover {
color: goldenrod !important;
}
.navbar-2 i {
color: goldenrod;
font-size: 8px;
vertical-align: middle;
}
.nav-menu-2 ul {
margin: 0;
padding: 0;
list-style: none;
}
.nav-menu-2 > ul {
display: flex;
}
.nav-menu-2 > ul > li {
position: relative;
white-space: nowrap;
padding: 10px 0 10px 28px;
}
.nav-menu-2 a {
display: block;
position: relative;
color: #fff;
transition: 0.3s;
font-size: 15px;
font-weight: 600;
}
.nav-menu-2 a:hover {
color: #ffc451;
}
.nav-menu-2 .active > a {
color: #ffc451;
}
.nav-menu-2 li:hover > a {
color: #ffc451;
}
.nav-menu-2 .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;
}
.nav-menu-2 .drop-down ul a {
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
text-transform: none;
color: #151515;
}
.nav-menu-2 .drop-down ul a:hover {
color: #151515;
background: #ffc451;
}
.nav-menu-2 .drop-down ul .active > a {
color: #151515;
background: #ffc451;
}
.nav-menu-2 .drop-down ul li:hover > a {
color: #151515;
background: #ffc451;
}
.nav-menu-2 .drop-down:hover > ul {
opacity: 1;
top: 100%;
visibility: visible;
}
.nav-menu-2 .drop-down li {
min-width: 180px;
position: relative;
}
.nav-menu-2 .drop-down > a:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 5px;
}
.nav-menu-2 .drop-down .drop-down ul {
top: 0;
left: calc(100% - 30px);
}
.nav-menu-2 .drop-down .drop-down:hover > ul {
opacity: 1;
top: 0;
left: 100%;
}
.nav-menu-2 .drop-down .drop-down > a {
padding-right: 35px;
}
.nav-menu-2 .drop-down .drop-down > a:after {
content: "\eaa0";
font-family: IcoFont;
position: absolute;
right: 15px;
}
@media (max-width: 1366px) {
.nav-menu-2 .drop-down .drop-down ul {
left: -90%;
}
.nav-menu-2 .drop-down .drop-down:hover > ul {
left: -100%;
}
.nav-menu-2 .drop-down .drop-down > 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%;
}
.mobile-nav-2-toggle 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;
}
.mobile-nav-2 * {
margin: 10px;
padding: 0;
list-style: none;
}
.mobile-nav-2 a {
display: block;
position: relative;
color: #bb8800;
padding: 10px 20px;
font-weight: 700;
outline: none;
}
.mobile-nav-2 a:hover {
color: #151515;
text-decoration: none;
background: #ffc451;
}
.mobile-nav-2 .active > a {
color: #151515;
text-decoration: none;
background: #ffc451;
}
.mobile-nav-2 li:hover > a {
color: #151515;
text-decoration: none;
background: #ffc451;
}
.mobile-nav-2 .drop-down > a {
padding-right: 35px;
}
.mobile-nav-2 .drop-down > a:after {
content: "\ea99";
font-family: IcoFont;
padding-left: 10px;
position: absolute;
right: 15px;
}
.mobile-nav-2 .drop-down ul {
display: none;
overflow: hidden;
}
.mobile-nav-2 .drop-down li {
padding-left: 20px;
}
.mobile-nav-2 .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-active .mobile-nav-2 {
opacity: 1;
visibility: visible;
}
.mobile-nav-2-active .mobile-nav-2-toggle i {
color: #fff;
}
/* ==========
Hero
========== */
#hero {
min-height: 100vh;
background: url(../../assets/img/solid.png);
display: flex;
flex-direction: column;
justify-content: end;
align-items: center;
}
#hero #hero_container {
min-height: 80vh;
}
#hero #hero_container #information {
min-height: 80vh;
color: rgba(255, 255, 255, 0.8);
text-align: justify;
}
#hero #hero_container #information #box-information1 {
padding-top: 7rem;
}
#hero #hero_container #information #box-information1 h2 {
font-weight: 700;
font-size: 2.2rem;
}
#hero #hero_container #information #box-information1 #line-information {
border-left: 0.3rem solid #bb8800;
padding-left: 1rem;
position: relative;
margin: 2rem 0;
}
#hero #hero_container #information #box-information1 #line-information li {
list-style: none;
}
#hero #hero_container #information #box-information1 #line-information span {
color: #bb8800;
}
#hero #hero_container #information #box-information1 #line-information::before {
content: '';
height: 0.9rem;
width: 0.9rem;
background: white;
border-radius: 50%;
position: absolute;
border: solid 2px #1e3c70;
top: -8px;
left: -9px;
}
#hero #hero_container #information #box-information2 {
padding-top: 5.6rem;
display: flex;
justify-content: center;
align-items: flex-start;
}
#hero #hero_container #information #box-information2 #information-2-card {
width: 95%;
height: 95%;
padding: 2rem 2rem 2rem 2rem;
display: flex;
flex-direction: column;
justify-content: space-around;
border-radius: 1rem;
position: relative;
background: rgba(255, 255, 255, 0.5);
color: rgba(0, 0, 0, 0.65);
transition: all ease 0.4s;
}
#hero #hero_container #information #box-information2 #information-2-card span {
color: #bb8800;
}
#hero #hero_container #information #box-information2 #information-2-card::before {
content: '';
width: 60px;
height: 60px;
border-left: 4px #1e3c70 solid;
border-top: 4px #1e3c70 solid;
position: absolute;
top: 15px;
left: 8px;
border-radius: 5px;
opacity: 0.7;
}
#hero #hero_container #information #box-information2 #information-2-card::after {
content: '';
width: 60px;
height: 60px;
border-bottom: 4px #1e3c70 solid;
border-right: 4px #1e3c70 solid;
position: absolute;
bottom: 15px;
right: 8px;
border-radius: 5px;
opacity: 0.7;
}
@media (max-width: 768px) {
#hero #hero_container {
margin-top: 10rem;
}
#hero #hero_container #information #box-information1 {
padding-top: 2rem;
padding-bottom: 1.5rem;
}
#hero #hero_container #information #box-information2 {
padding-top: 1.3rem;
padding-bottom: 1.3rem;
word-wrap: break-word;
}
}
@media (max-width: 440px) {
#hero #hero_container #information #box-information2 #information-2-card {
font-size: 15px;
}
}
@media (max-width: 1200px) {
#hero #hero_container #information #box-information2 #information-2-card {
word-wrap: break-word;
}
}
/* ==========
Main
========== */
#main {
min-height: 90vh;
}
#main #main_container {
min-height: 90vh;
display: flex;
flex-direction: column;
justify-content: end;
align-items: center;
}
#main #main_container #main_information {
min-height: 80vh;
color: rgba(0, 0, 0, 0.6);
text-align: justify;
}
#main #main_container #main_information #main_information_box1 {
padding-top: 2.5rem;
}
#main #main_container #main_information #main_information_box1 h2 {
font-weight: 700;
font-size: 2rem;
}
#main #main_container #main_information #main_information_box1 span {
color: #bb8800;
}
#main #main_container #main_information #main_information_box1 #main_box-line1 {
border-left: 0.3rem solid #bb8800;
padding-left: 1.7rem;
position: relative;
margin-top: 2rem;
padding-bottom: 0.5rem;
}
#main #main_container #main_information #main_information_box1 #main_box-line1::before {
content: '';
height: 0.9rem;
width: 0.9rem;
background: white;
border-radius: 50%;
position: absolute;
border: solid 2px #1e3c70;
top: -8px;
left: -9px;
}
#main #main_container #main_information #main_information_box2 {
padding-top: 2.5rem;
}
#main #main_container #main_information #main_information_box2 h2 {
font-weight: 700;
font-size: 2rem;
}
#main #main_container #main_information #main_information_box2 span {
color: #bb8800;
}
#main #main_container #main_information #main_information_box2 li {
list-style: none;
}
#main #main_container #main_information #main_information_box2 #main_box-line2 {
border-left: 0.3rem solid #bb8800;
padding-left: 0.5rem;
position: relative;
margin-top: 2rem;
padding-bottom: 0.5rem;
}
#main #main_container #main_information #main_information_box2 #main_box-line2::before {
content: '';
height: 0.9rem;
width: 0.9rem;
background: white;
border-radius: 50%;
position: absolute;
border: solid 2px #1e3c70;
top: -8px;
left: -9px;
}
/* Typing effect */
.typing-effect {
display: inline-block;
overflow: hidden;
white-space: nowrap;
border-right: 2px solid rgba(0, 0, 0, 0.75); /* Cursor effect */
animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
opacity: 0;
}
@keyframes typing {
from { width: 0; }
to { width: 100%; }
}
@keyframes blink-caret {
from, to { border-color: transparent; }
50% { border-color: rgba(0, 0, 0, 0.75); }
}
.typing-finished {
border-right: none; /* Remove cursor */
opacity: 1; /* Make text visible */
}
@media (max-width: 300px) {
#main #main_container #main_information {
margin-bottom: 2rem;
word-wrap: break-word;
}
#main #main_container #main_information #main_information_box1 h2 {
font-size: 1.5rem;
}
#main #main_container #main_information #main_information_box2 h2 {
font-size: 1.5rem;
}
}
@media (max-width: 764px) {
#main #main_container #main_information {
margin-bottom: 2rem;
word-wrap: break-word;
}
}
@media (max-width: 1414px) {
#hero {
padding-top: 150px;
}
}
@media (max-width: 1270px) {
#hero {
padding-top: 10px;
}
}
/* ==========
Last section
========== */
#section {
min-height: 60vh;
display: flex;
align-items: end;
}
#section #section_container {
min-height: 60vh;
border: solid 1px red;
}
#section #section_container #section_container_col {
min-height: 60vh;
}
@media (max-width: 991px) {
#section #section_container #section_container_col #degree1 {
min-height: 15vh;
}
#section #section_container #section_container_col #degree2 {
min-height: 45vh;
}
}
/* ==========
Last section
========== */
#section {
min-height: 60vh;
display: flex;
align-items: end;
}
#section #section_container {
border: none;
min-height: 55vh;
}
#section #section_container #section_container_col {
min-height: 55vh;
}
#section #section_container #section_container_col #degree1 #parentDiv {
width: 100%;
height: 300px;
display: flex;
flex-direction: column;
overflow-x: auto;
}
#section #section_container #section_container_col #degree1 #parentDiv > div {
padding: 10px;
cursor: pointer;
position: relative;
transition: border-right-color 0.3s ease, color 0.3s ease;
border-right: 3px solid rgba(30, 60, 112, 0.6);
}
#section #section_container #section_container_col #degree1 #parentDiv > div p {
color: rgba(30, 60, 112, 0.6);
}
#section #section_container #section_container_col #degree1 #parentDiv > div.active {
border-right-color: #1e3c70;
}
#section #section_container #section_container_col #degree1 #parentDiv > div.active p {
color: #1e3c70;
}
#section #section_container #section_container_col #degree2 {
padding: 15px 0 0 5px;
}
#section #section_container #section_container_col #degree2 #infoDiv {
margin-left: 20px;
min-height: 100%;
background: none;
}
#section #section_container #section_container_col #degree2 #infoDiv > div {
display: none;
}
#section #section_container #section_container_col #degree2 #infoDiv > div.active {
display: block;
}
#section #section_container #section_container_col #degree2 #infoDiv > div h2 {
color: #1e3c70;
font-weight: 600;
border-bottom: 3px solid #bb8800;
width: 50%;
padding-bottom: 2px;
}
#section #section_container #section_container_col #degree2 #infoDiv > div h3 {
color: #1e3c70;
font-weight: 500;
opacity: 0.9;
}
#section #section_container #section_container_col #degree2 #infoDiv > div h4 {
color: rgba(0, 0, 0, 0.85);
margin: 2rem 0;
font-size: 1.2rem;
}
#section #section_container #section_container_col #degree2 #infoDiv > div li {
list-style: none;
color: rgba(0, 0, 0, 0.85);
}
#section #section_container #section_container_col #degree2 #infoDiv > div span {
color: #bb8800;
}
@media (max-width: 991px) {
#section #section_container #section_container_col #degree1 {
margin-top: 40px;
}
#section #section_container #section_container_col #degree1 #parentDiv {
width: auto;
height: auto;
flex-direction: row;
border: 3px solid #bb8900b2;
padding: 15px;
}
#section #section_container #section_container_col #degree1 #parentDiv > div {
flex: 0 0 auto;
width: 25%;
min-width: 200px;
margin-right: 15px;
padding: 15px;
box-sizing: border-box;
border: 3px solid rgba(30, 60, 112, 0.6);
border-radius: 1rem;
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
display: flex;
justify-content: center;
align-items: center;
}
#section #section_container #section_container_col #degree1 #parentDiv > div p {
color: rgba(30, 60, 112, 0.6);
}
#section #section_container #section_container_col #degree1 #parentDiv > div.active {
background-color: #1e3c70;
border-color: #1e3c70;
}
#section #section_container #section_container_col #degree1 #parentDiv > div.active p {
color: #fff;
}
}
@media (max-width: 540px) {
#section #section_container #section_container_col #degree2 #infoDiv > div h2 {
width: 90%;
margin-bottom: 2rem;
padding-bottom: 1rem;
}
}
/* ==========
Footer
========== */
#footer {
background-color: black;
padding: 0 0 30px 0;
color: #fff;
font-size: 14px;
}
#footer .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 .footer-top .footer-info {
margin-bottom: 30px;
}
#footer .footer-top .footer-info h3 {
font-size: 28px;
margin: 0 0 20px 0;
padding: 2px 0 2px 0;
line-height: 1;
font-weight: 700;
}
#footer .footer-top .footer-info h3 span {
color: #bb8800;
}
#footer .footer-top .footer-info p {
font-size: 14px;
line-height: 24px;
margin-bottom: 0;
font-family: "Raleway", sans-serif;
color: #fff;
text-align: justify;
}
#footer .footer-top .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;
}
#footer .footer-top .social-links a:hover {
background: #ffc451;
color: #151515;
text-decoration: none;
}
#footer .footer-top h4 {
font-size: 16px;
font-weight: 600;
color: #fff;
position: relative;
padding-bottom: 12px;
}
#footer .footer-top .footer-links {
margin-bottom: 30px;
}
#footer .footer-top .footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}
#footer .footer-top .footer-links ul i {
padding-right: 2px;
color: #ffc451;
font-size: 18px;
line-height: 1;
}
#footer .footer-top .footer-links ul li {
padding: 10px 0;
display: flex;
align-items: center;
}
#footer .footer-top .footer-links ul li:first-child {
padding-top: 0;
}
#footer .footer-top .footer-links ul a {
color: #fff;
transition: 0.3s;
display: inline-block;
line-height: 1;
}
#footer .footer-top .footer-links ul a:hover {
color: #ffc451;
}