/*--Sub--*/
#sub-it-h {
    background-color: transparent;
    transition: 0.3s all ease;
  }
  
  #sub-it-h:hover {
    background-color: #eb1c24;
    transition: 0.3s all ease;
  }
  
  #nav {
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    justify-items: center;
    list-style: none inside;
    margin: 0;
    padding: 0;
    text-align: center;
    gap: 15px;
    box-sizing: border-box;
  }
  
  #nav li {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  #nav li a {
    display: block;
    padding: 0;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
    line-height: 35px; /* this is the hieght of the menu items */
    color: #1d1d1d; /* list item font color */
    box-sizing: border-box;
  }
  
  #ul-sub {
    z-index: 9999;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 0px;
    box-sizing: border-box;
    width: 240px;
    border: 1px solid #e5e5e5;
  }
  
  #ul-sub1 {
    z-index: 9999;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 0px;
    box-sizing: border-box;
    width: 240px;
    border: 1px solid #e5e5e5;
  }
  
  #ul-sub2 {
    z-index: 9999;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 0px;
    box-sizing: border-box;
    width: 240px;
    border: 1px solid #e5e5e5;
  }
  
  #ul-sub1-1 {
    z-index: 9999;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 0px;
    box-sizing: border-box;
    width: 280px;
    border: 1px solid #e5e5e5;
  }
  
  #ul-sub2-2 {
    z-index: 9999;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 0px;
    box-sizing: border-box;
    width: 250px;
    border: 1px solid #e5e5e5;
  }
  
  #ul-sub li a {
    text-align: left;
    display: block;
    text-decoration: none;
    line-height: 35px; /* this is the hieght of the menu items */
    color: #000000;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
    transition: 0.3s all ease;
    line-height: 22px;
    width: 100%;
  }
  
  #ul-sub li a:hover {
    background-color: #eb1c24;
    color: #ffffff!important;
    transition: 0.3s all ease;
  }
  
  #nav li li a {
    font-size: 14px;
  } /* smaller font size for sub menu items */
  
  #nav li:hover {
    background: transparent;
  } /* highlights current hovered list item and the parent list items when hovering over sub menues */
  
  /*--- Sublist Styles ---*/
  #nav ul {
    position: absolute;
    left: 0;
    display: none; /* hides sublists */
  }
  
  #nav li:hover ul ul {
    display: none;
  } /* hides sub-sublists */
  
  #nav li:hover ul {
    display: block;
    top: 90px;
    left: -55%;
  } /* shows sublist on hover */
  
  #nav li li:hover #ul-sub1 {
    display: block; /* shows sub-sublist on hover */
    margin-left: 369px; /* this should be the same width as the parent list item */
    margin-top: -100px; /* aligns top of sub menu with top of list item */
  }
  
  #nav li li li:hover #ul-sub2 {
    display: block; /* shows sub-sublist on hover */
    margin-left: 369px; /* this should be the same width as the parent list item */
    margin-top: -100px; /* aligns top of sub menu with top of list item */
  }
  
  #nav li li:hover #ul-sub1-1 {
    display: block; /* shows sub-sublist on hover */
    margin-left: -148px; /* this should be the same width as the parent list item */
    margin-top: -101px; /* aligns top of sub menu with top of list item */
  }
  
  #nav li li li:hover #ul-sub2-2 {
    display: block; /* shows sub-sublist on hover */
    margin-left: -98px; /* this should be the same width as the parent list item */
    margin-top: -92px; /* aligns top of sub menu with top of list item */
  }
  
  .devtest * img {
    width: 100%;
  }

  .episcopado-gradient-image::before {
    z-index: 2;
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    transition: all 0.2s ease-out 0s;
    background: linear-gradient(transparent 55%, rgb(15 15 15) 100%);
  }

  @font-face {
    font-family: "GRAPHIKBOLD";
    src: url("../fonts/GraphikBold.otf");
  }
  
  @font-face {
    font-family: "GRAPHIKREGULAR";
    src: url("../fonts/GraphikRegular.otf");
  }
  
  @font-face {
    font-family: "GRAPHIKLIGHTITALIC";
    src: url("../fonts/GraphikLightItalic.otf");
  }

  @font-face {
    font-family: "BEBASNEUEREGULAR";
    src: url("../fonts/BebasNeue-Regular.otf");
  }
  
  @font-face {
    font-family: "GRAPHIKMEDIUM";
    src: url("../fonts/GraphikMedium.otf");
  }
  
  .graphikbold {
    font-family: "GRAPHIKBOLD";
    font-weight: bold;
    font-style: normal;
  }
  
  .graphikregular {
    font-family: "GRAPHIKREGULAR";
    font-weight: normal;
    font-style: normal;
  }
  
  .graphiklightitalic {
    font-family: "GRAPHIKLIGHTITALIC";
    font-weight: normal;
    font-style: italic;
  }

  .bebasneue {
    font-family: "BEBASNEUEREGULAR";
    font-weight: normal;
    font-style: normal;
  }

  .graphikmedium {
    font-family: "GRAPHIKMEDIUM";
    font-weight: normal;
    font-style: normal;
  }