/*@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400);*/

html {
  font-size: 100%; /* 100% = 16px */
}

@font-face {font-family: "KoHoL";
    src: url("KoHo-Light.ttf") format("truetype");
}

@font-face {font-family: "KoHoM";
    src: url("KoHo-Medium.ttf") format("truetype");
}

@font-face {font-family: "KoHoB";
    src: url("KoHo-Bold.ttf") format("truetype");
}

@font-face {font-family: "KoHoLi";
    src: url("KoHo-LightItalic.ttf") format("truetype");
}

@font-face {font-family: "KoHoMi";
    src: url("KoHo-MediumItalic.ttf") format("truetype");
}

@font-face {font-family: "KoHoBi";
    src: url("KoHo-BoldItalic.ttf") format("truetype");
}

@font-face {font-family: "Shadows2";
    src: url("ShadowsIntoLightTwo-Regular.ttf") format("truetype");
}

@font-face {font-family: "Bahianita";
    src: url("Bahianita-Regular.ttf") format("truetype");
}

@font-face {font-family: "Roboto";
    src: url("RobotoCondensed-Regular.ttf") format("truetype");
}

@font-face {font-family: "Exo";
    src: url("Exo2-Bold.ttf") format("truetype");
}

font.Rob {
    font-family: 'Roboto';
}

font.Robs {
    font-family: 'Roboto';
    font-size: 1rem;
}

font.Robss {
    font-family: 'Roboto';
    font-size: .6rem;
}

font.Robsss {
    font-family: 'Roboto';
    font-size: .3rem;
}

font.Robb {
    font-family: 'Roboto';
    font-size: 2rem;
}

font.Robbb {
    font-family: 'Roboto';
    font-size: 3rem;
}

font.Robbbb {
    font-family: 'Roboto';
    font-size: 5rem;
}

font.Robt {
    font-family: 'Roboto';
    font-size: 6rem;
}

font.Robtt {
    font-family: 'Roboto';
    font-size: 7rem;
}

font.Robttt {
    font-family: 'Roboto';
    font-size: 10rem;
}

/* *****************TITULO */
.contenido {
    padding-top: 60px;
}


/* *****************TITULO */
.label {
    font-family: 'Roboto';
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: #000 1px 0 10px;
    color:white;
}

h1.titlewhite {
    font-family: 'Roboto';
    font-size: 30px;
    font-weight: bold;
}


font.titlabel {
    font-family: 'Roboto';
    font-size: 2.5rem;
}

h1.titlered {
    font-family: 'Roboto';
    font-size: 2.5rem;
}

font.subtitlabel {
    font-family: 'Roboto';
    font-size: 1.5rem;
}


font.titlabelBIG {
    font-family: 'Roboto';
    font-size: 6rem;
}


/* *****************BUSQUEDA*/

.wrappers {
  width: 100%;
  max-width: 100%;
  margin: 3rem auto;
}


.searchBar {
  max-width: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#searchQueryInput {
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, .7);
  outline: none;
  border: none;
  border-radius: 40px;
  padding: 0 20px 0 15px;
  font-size: 18px;
  border:3px solid #ab2531;
}

#searchQuerySubmit {
  width: 3.5rem;
  height: 4rem;
  margin-left: -3.5rem;
  background: none;
  border: none;
  outline: none;
}

#searchQuerySubmit:hover {
  cursor: pointer;
}


/* *****************MENU*/

.topnav {
    overflow: hidden;
    background-color: white;
    border-bottom: #ab2531 1px solid;
    position: fixed;
    top:0;
    right: 0;
    width: 100%;
    z-index: 10000;
}

.topnav a.imgx img {
    float: left;
    display: block;
    color: gray;
    padding: 0px 6px 0px 6px;
    text-align: center;
    text-decoration: none;
}

.topnav a.lk {
    font-family: 'Roboto';
    float: left;
    display: block;
    color: #3c3c3b;
    text-align: center;
    padding: 18px 16px;
    text-decoration: none;
    font-size: 20px;
}

.topnav a:hover {
    background-color: #ab2531;
    color: white;
}

.topnav a.active {
    background-color: #ab2531;
    color: white;
}

.topnav a.greenclass {
    background-color: #00bb2d;
    color: white;
}

.topnav .icon {
    display: none;
}
 

.c1_1 { 
    width: 40vw; 
    display: inline-block;
} 

.c1_2 { 
    width: 40vw; 
    display: inline-block;
}


.c2_1 { 
    width: 23%; 
    display: inline-block;
    margin: 5px;
} 

.c2_2 { 
    width: 23%; 
    display: inline-block;
    margin: 5px;
}


.c2_3 { 
    width: 23%; 
    display: inline-block;
    margin: 5px;
}

.c2_4 { 
    width: 23%; 
    display: inline-block;
    margin: 5px;
}

.c3_1 { 
    width: 49vw; 
    display: inline-block;
} 

.c3_2 { 
    width: 48vw; 
    display: inline-block;
}


@media screen and (max-width: 800px) { 
    .c1_1, 
    .c1_2 {
        width: 80vw; 
    } 
    
    .c3_1, 
    .c3_2 {
        width: 100vw; 
    } 
    
    .c2_1, 
    .c2_2,
    .c2_3,
    .c2_4 { 
        width: 40vw; 
    } 
    
    #map {
        /*border: #ab2531 2px solid;*/
        height: calc(60vh - 60px);
        width: 100vw; /* The width is the width of the web page */
    }
    
} 


@media screen and (max-width: 800px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
    
    .topnav.responsive {position: fixed;}
    .topnav.responsive .icon {
      position: fixed;
      right: 0;
      top: 0;
    }
    
    .topnav.responsive img {
      float: none;
      display: block;
      text-align: left;
    }
    
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    
    .label {
        font-family: 'Roboto';
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
        text-shadow: #000 1px 0 10px;
        color:white;
    }
    
    h1.titlewhite {
        font-family: 'Roboto';
        font-size: 20px;
        font-weight: bold;
    }
    
    h1.titlered {
        font-family: 'Roboto';
        font-size: 1.5rem;
    }
    
    font.titlabel {
        font-family: 'Roboto';
        font-size: 1.5rem;
    }
    
    font.subtitlabel {
        font-family: 'Roboto';
        font-size: 1rem;
    }
    
    font.titlabelBIG {
        font-family: 'Roboto';
        font-size: 4rem;
    }
    
    .searchBar {
        max-width: 80%;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    
    #searchQueryInput {
        width: 100%;
        height: 40px;
        background: rgba(255, 255, 255, 0.7);
        outline: none;
        border: none;
        border-radius: 30px;
        padding: 0 20px 0 15px;
        font-size: 12px;
        border:3px solid #ab2531;
    }

    #searchQuerySubmit {
        width: 3.5rem;
        height: 4rem;
        margin-left: -3.5rem;
        background: none;
        border: none;
        outline: none;
    }

    #searchQuerySubmit:hover {
        cursor: pointer;
    }
}


/* BUTTON */
.submitbutton {
    background-color: #ab2531;
    color:white;
    padding: 5px 15px 5px 15px;;
    font-family: 'Roboto';
    font-size: 1.5rem;
    border: 1px solid #d3242c;
    border-radius: 10px;
}

.submitbutton:hover {
    background-color: #d3242c;
    color:white;
    cursor: pointer;
}


/************************* POPUP */
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 1000;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

#popupBody{
    width: 90%;
    max-width: 600px;
    padding: 2%;
    border-radius: 15px;
    box-shadow: 0 0 5px #CCC;
    background: #FFF;
    position: relative;
    transition: all 5s ease-in-out;
    margin: 10% auto;
}
#cerrar{
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #F00;
}


a.b_contact {
    background-color: white;
    border: 1px solid #81BF97;
    color: #81BF97;
    padding: 9px;
    text-decoration: none;
    font-family: "Roboto";
    font-size: .9em;
    
}

a.b_contact:hover {
    background-color: #81BF97;
    color:white;
}

a.b_contactx {
    background-color: #81BF97;
    box-shadow: 0 5px 0 yellowgreen;
    color: black;
    padding: .5em .7em;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Roboto";
    font-size: .9em;
    white-space: nowrap;
    
}

a.b_contactx:hover {
    background-color: yellowgreen;
}

a.b_contactx:active {
  box-shadow: none;
  top: 5px;
}

a.b_agenda {
    background-color: white;
    border: 1px solid #03A9F4;
    color: #03A9F4;
    padding: 9px;
    text-decoration: none;
    font-family: "Roboto";
    font-size: .9em;
    
}

a.b_agenda:hover {
    background-color: #03A9F4;
    color:white;
}



a.b_agendax {
    background-color: #03A9F4;
    box-shadow: 0 5px 0 steelblue;
    color: white;
    padding: .5em .7em;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Roboto";
    font-size: .9em;
}

a.b_agendax:hover {
    background-color: steelblue;
}

a.b_agendax:active {
  box-shadow: none;
  top: 5px;
}


a.b_details {
    background-color: white;
    border: 1px solid gray;
    color: black;
    padding: 9px;
    text-decoration: none;
    font-family: "Roboto";
    font-size: .9em;
    
}

a.b_details:hover {
    background-color: gray;
    color:white;
}

a.b_detailsx {
    background-color: silver;
    box-shadow: 0 5px 0 gray;
    color: white;
    padding: .5em .7em;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Roboto";
    font-size: .9em;
}

a.b_detailsx:hover {
    background-color: gray;
}

a.b_detailsx:active {
  box-shadow: none;
  top: 5px;
}

a.LinkRed {
    color:#ab2531;
}

a.LinkRed:hover {
    color:gray;
}


.first {
    width: 21%;
    height: 420px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

.second {
    width: 21%;
    height: 420px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

.first2 {
    width: 45%;
    height: 200px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

.second2 {
    width: 45%;
    height: 200px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

.third {
    width: 21%;
    height: 420px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

.fourth {
    width: 21%;
    height: 420px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

@media screen and (max-width: 800px) {

    .first,
    .second,
    .first2,
    .second2,
    .third,
    .fourth {
        width: 95%;
    }
}


.firstx {
    width: 21%;
    height: 200px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

.secondx {
    width: 21%;
    height: 200px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

.thirdx {
    width: 21%;
    height: 200px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

.fourthx {
    width: 21%;
    height: 200px;
    display: inline-block;
    background-color: white;
    margin:10px;
    border:2px solid #3c3c3b;
    vertical-align:top;
    border-radius:10px;
    padding:3px;
    background: linear-gradient(#3c3c3b, white 60%);
}

@media screen and (max-width: 800px) {

    .firstx,
    .secondx,
    .thirdx,
    .fourthx {
        width: 95%;
    }
}

.rowImg {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
  box-sizing: border-box;
}

/* Create four equal columns that sits next to each other */
.columnImg {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
  box-sizing: border-box;
}

.columnImg img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .columnImg {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .columnImg {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}


/* *********************** FORM */
input.text {
    border: 1 px solid black;
    font-family: 'KoHoL';
    font-size: 1em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
}

textarea.atext {
    border: 1 px solid black;
    font-family: 'KoHoL';
    font-size: 1em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
}

select.stext {
    border: 1 px solid black;
    font-family: 'KoHoL';
    font-size: 1em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
}

input.subm {
    font-family: 'KoHoL';
    font-size: 1.3em;
    font-weight: 500;
    padding: 5px 20px 5px 20px;
    font-weight: bold;
    cursor: pointer;
    background-color: #f7F7F7;
    color: black;
    border-radius: 0;
    
}

input.subm:hover {
    background-color: gray;
    color: white;
}


/* *********************** LINK */
a.linkn {
    font-family: 'Roboto';
    color:#344150;
    font-size: 2em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}

a.linkn:hover {
    color: #81BF97;
}

a.link_white {
    font-family: 'Roboto';
    color:white;
    font-size: 1em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}


a.link_white:hover {
    color: #ab2531;
}

a.linkns {
    font-family: 'Roboto';
    color:black;
    font-size: .8em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}

a.linkns:hover {
    color: #005769;
}


a.linkr {
    font-family: 'Roboto';
    color: #4FA9D2;
    font-size: 1.2em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}

a.linkr:hover {
    color: #DF6756;
}

a.linkln {
    font-family: 'Exo';
    color:black;
    font-size: 1em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}

a.linkln:hover {
    color: #005769;
    text-decoration: underline;
}

a.linklr {
    font-family: 'Exo';
    color:#005769;
    font-size: 1em;
    font-weight: 500;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}

a.linklr:hover {
    color: black;
    font-weight: bold;
    background-color: #f7f7f7;
    text-decoration: underline;
}

/************************* LIST */
th.tit_col_center, th.tit_col_justify_br {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 3px 5px 3px 5px;
    background-color: #D0D0D0;
    border: 1px solid black;
}

th.tit_col_center_yellow, th.tit_col_justify_br_yellow {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 3px 5px 3px 5px;
    background-color: yellow;
    border: 1px solid black;
}

th.tit_col_left {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 3px 5px 3px 5px;
    background-color: #D0D0D0;
    border: 1px solid black;
}

td.tit_col_center, td.tit_col_justify_br {
    text-align: center;
    font-weight: bold;
    font-family: 'Roboto';
    font-size: .9em;
    padding: 3px 5px 3px 5px;
    background-color: #D0D0D0;
    border: 1px solid black;
}

td.tit_col_center_yellow, td.tit_col_justify_br_yellow {
    text-align: center;
    font-weight: bold;
    font-family: 'Roboto';
    font-size: .9em;
    padding: 3px 5px 3px 5px;
    background-color: yellow;
    border: 1px solid black;
}

td.tit_col_left {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 3px 5px 3px 5px;
    background-color: #D0D0D0;
    border: 1px solid black;
}

td.col_center {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: black;
    text-align: center;
    align-content: center;
}

td.col_center_red {
    background-color: red;
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: white;
    text-align: center;
    align-content: center;
}

td.col_center_green {
    background-color: yellowgreen;
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: black;
    text-align: center;
    align-content: center;
}

td.col_center_yellow {
    background-color: yellow;
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: black;
    text-align: center;
    align-content: center;
}

td.col_center_red {
    background-color: red;
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: white;
    text-align: center;
    align-content: center;
}

td.col_left {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: black;
    text-align: left;
    align-content: left;
}

td.col_right {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: black;
    text-align: right;
    align-content: right;
}

td.col_right_red {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: red;
    text-align: right;
    align-content: right;
}

td.col_right_green {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: green;
    text-align: right;
    align-content: right;
}




td.col_justify_br {
    font-family: 'Roboto';
    font-size: .9em;
    padding: 1px 2px 1px 2px;
    color: black;
    text-align: justify;
    align-content: left;
}