@import "fonts.css";

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  line-height: 1.5;
  color: rgb(6, 69, 104);
  font-family: "Roboto", sans-serif;
}

body #s4-workspace #s4-bodyContainer {
  padding-bottom: 0;
}

body .contenedor {
  overflow: hidden;
  padding: 0px;
}

body .contenedor .encabezado {
  width: 100%;
}

body .contenedor .titulo h1 {
  color: rgb(6, 69, 104);
  font-weight: 600;
  text-align: center;
}

body .contenedor .titulo-2 h2 {
  color: rgb(6, 69, 104);
  font-weight: 500;
  text-align: center;
}

body .contenedor .titulo-3 h3 {
  color: rgb(6, 69, 104);
  font-weight: 400;
  text-align: center;
}

body .contenedor .contenido {
  padding: 0px;
}

body .contenedor .contenido img {
  padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ms-h1,
.ms-h2,
.ms-h3,
.ms-h4,
.ms-h5,
.ms-h6,
.ms-rteThemeFontFace-1,
.ms-rteThemeFontFace-2 {
  font-family: "Roboto", sans-serif;
}

.ms-rteFontFace-15 {
  -ms-name: "Roboto";
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

.ms-rtestate-field p,
p.ms-rteElement-P {
  color: rgb(6, 69, 104);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-family: "Roboto", sans-serif;
}

.ms-rtestate-field h1,
h1.ms-rteElement-H1 {
  color: rgb(6, 69, 104);
  line-height: 1.2;
  font-size: 2.5rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

.ms-rtestate-field h2,
h2.ms-rteElement-H2 {
  color: rgb(6, 69, 104);
  line-height: 1.2;
  font-size: 2rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

.ms-rtestate-field h3,
h3.ms-rteElement-H3 {
  color: rgb(6, 69, 104);
  line-height: 1.2;
  font-size: 1.75rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

.ms-rtestate-field h4,
h4.ms-rteElement-H4 {
  color: rgb(6, 69, 104);
  line-height: 1.2;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

h5.ms-rteElement-H5 {
  -ms-name: "Encabezado 5";
  color: rgb(6, 69, 104);
  line-height: 1.2;
  font-size: 1.25rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

h6.ms-rteElement-H6 {
  -ms-name: "Encabezado 6";
  color: rgb(6, 69, 104);
  line-height: 1.2;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

h1.ms-rteElement-H1B,
h2.ms-rteElement-H2B,
h3.ms-rteElement-H3B,
h4.ms-rteElement-H4B {
  color: rgb(6, 69, 104);
  line-height: 1.2;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
}

p.ms-rteElement-Lead {
  -ms-name: "ProtagÃ³nico";
  font-size: 1.25rem;
  font-weight: 300;
  color: rgb(6, 69, 104);
}

blockquote.ms-rteElement-Blockquote {
  -ms-name: "Cita en bloque";
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: rgb(19, 25, 34);
}

.ms-rteStyle-Small {
  -ms-name: "PequeÃ±o";
  font-size: 80%;
  font-weight: 400;
}

.ms-rteStyle-KBD {
  -ms-name: "Entrada de teclado";
  padding: 0.2rem 0.4rem;
  font-size: 87.5%;
  color: white;
  background-color: rgb(33, 37, 41);
  border-radius: 0.2rem;
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas";
}

.ms-webpart-menuLink {
  padding: 0px;
}

#s4-workspace #s4-bodyContainer .contenedor .contenidoEdit {
  padding-top: 120px;
}

#s4-ribbonrow {
  z-index: 1060 !important;
}

.ms-cui-menu {
  z-index: 1061 !important;
}

#spPropertyPaneContainerNoFlexbox {
  z-index: 1062 !important;
}

.ms-srch-group-content .ms-srch-item {
  width: 100%;
}

.srchLayout .ms-srch-ellipsis {
  white-space: inherit !important;
}

.navSections {
  width: 100%;
}

@media (min-width: 992px) {
  .navSections>.menuNavegacion {
    width: 75%;
  }

  #s4-workspace #s4-bodyContainer {
    padding-top: 120px;
  }
}

@media (max-width: 992px) {
  #s4-workspace #s4-bodyContainer {
    padding-top: 75px;
  }
}

@media (min-width: 1024px) {
  .navSections>.menuNavegacion {
    width: 65%;
  }
}

@media (min-width: 1200px) {
  .navSections>.menuNavegacion {
    width: 100% !important;
  }
}

#menu .mainMenu {
  width: 100%;
}

#s4-bodyContainer #menu .navbar-brand {
  max-width: 75%;
  width: 75%;
  white-space: normal;
}

#s4-bodyContainer #menu .navbar-toggler {
  max-width: 15%;
  min-width: 15%;
  width: 15%;
  white-space: normal;
}

#s4-bodyContainer #menu .logoImg {
  max-width: 30%;
  width: 50px;
  height: 50px;
}

#s4-bodyContainer #menu .logoText {
  line-height: 1;
  max-width: 70%;
  white-space: normal;
}

#s4-bodyContainer #menu .menuSearchBox {
  width: 100%;
}

#s4-bodyContainer #menu .menuSearchBox .searchBoxControl {
  width: 80%;
}

#s4-bodyContainer #menu .searchBoxControl {
  width: 200px;
}

#s4-bodyContainer #menu .menuSearchBox .searchBtnControl {
  width: 15%;
  max-width: 15%;
  min-width: 15%;
}

#s4-bodyContainer #menu .SearchMenuItem {
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  max-width: 100px;
  width: 100px;
  display: none;
}

#s4-bodyContainer #menu .SearchMenuItem:hover {
  background-color: white;
  color: rgb(6, 69, 104);
}

#s4-bodyContainer #menu .searchFloatBox {
  display: none;
  /* width: 400px; */
  /* height: 100px; */
  position: absolute;
  top: 90px;
  /* right: 0px; */
  background-color: white;
}

#s4-bodyContainer #menu .searchFloatBtnControl {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  /* background-color: rgb(6, 69, 104); */
  color: rgb(6, 69, 104) !important;
}

/* #s4-bodyContainer #menu .SearchMenuItem .searchFloatBtnControl:hover {
  background-color: rgb(6, 69, 104);
  color: rgb(255, 255, 255);
} */

#menu .nav-item .nav-link {
  line-height: 1.2;
  min-width: 85px;
  display: flex;
  height: 100%;
  align-items: center;
}

@media (min-width: 768px) {
  #s4-bodyContainer #menu .navbar-brand {
    max-width: 75%;
    width: 75%;
    white-space: normal;
  }

  #s4-bodyContainer #menu .navbar-toggler {
    max-width: 10%;
    min-width: 10%;
    width: 10%;
    white-space: normal;
  }

  #s4-bodyContainer #menu .logoText {
    font-size: 1.5em;
  }


  #s4-bodyContainer #menu .SearchMenuItem {
    display: none !important;
  }

  #s4-bodyContainer #menu .btnCorreoMovil {
    display: flex;
  }
}

#myModal.modal {
  /* width: auto; */
  /* height: auto; */
  justify-content: flex-end;
  align-items: flex-end;
  align-content: flex-end;
  /* margin: 56% 0% 0% 60%; */
}

#myModal.modal.show {
  display: flex !important;
}

/* display: flex !important;
  justify-content: flex-end;
  align-items: flex-end;
  top: 78%;
  left: 60%; 
  align-content: flex-end; */
#myModal.modal>.modal-dialog>.modal-content,
#myModal.modal>.modal-dialog>.modal-content>.modal-header>.btn {
  border-radius: 0px;
}

div.modal-backdrop.show {
  opacity: 0;
  width: 0px;
}

@media (min-width: 990px) {
  /* 
  .ppLayout .container {
    max-width: 1024px !important;
  } */

  #s4-bodyContainer #menu .navbar-brand {
    max-width: 20%;
    width: 20%;
    white-space: normal;
  }

  #s4-bodyContainer #menu .navbar-toggler {
    display: none;
  }

  #s4-bodyContainer #menu .mainMenu {
    max-width: 70%;
    width: 70%;
  }

  #s4-bodyContainer #menu .logoText {
    font-size: 1em;
    max-width: 50%;
  }

  #s4-bodyContainer #menu .logoImg {
    max-width: 50%;
    width: 80px;
    height: 80px;
  }

  #menu .nav-item .nav-link {
    white-space: pre-wrap !important;
    text-align: center !important;
    max-width: 100px !important;
    font-size: 0.8em !important;
  }

  #s4-bodyContainer #menu .menuSearchBox {
    display: none !important;
  }

  #s4-bodyContainer #menu .btnCorreoMovil {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .ppLayout .container {
    /* max-width: 1440px !important; */
    max-width: 1024px !important;
  }

  #s4-bodyContainer #menu .navbar-brand {
    max-width: 20%;
    width: 280px;
    white-space: normal;
  }

  #s4-bodyContainer #menu .navbar-toggler {
    display: none;
  }

  #s4-bodyContainer #menu .mainMenu {
    max-width: 80%;
    /* width: 65%; */
  }

  #s4-bodyContainer #menu .logoText {
    font-size: 1em;
    max-width: 50%;
    display: -ms-inline-grid !important;
  }

  #s4-bodyContainer #menu .logoImg {
    max-width: 50%;
    width: 80px;
    height: 80px;
  }

  #menu .nav-item .nav-link {
    white-space: pre-wrap !important;
    text-align: center !important;
    max-width: 250px !important;
    font-size: 0.8em !important;
  }

  #s4-bodyContainer #menu .SearchMenuItem {
    display: flex !important;
  }

  #s4-bodyContainer #menu .btnCorreoMovil {
    display: none;
  }


}