@media only screen and (max-width: 1280px) {
    #popupLeft {
        max-width: 350px;
        overflow:hidden;
    }
}

html {
    height:100%;

}
body {
    font-family:'Alegreya Sans', sans-serif;
    font-weight :normal ;
    color:#606060;
    margin: 0px;
    padding: 0px;
    background-color: #f5f5f5;
    height:100%;
    position:relative;
}

h3 {
    color: #007b9a;
    font-weight:normal;
    font-size: 1.2em;
    margin: 20px 0 0 0
}

.icon {
    padding-right:5px; 
    vertical-align: middle;
}
table {
    border-collapse: collapse;
}

.ie8 .shiny_button {
    border:1px solid #f5f5f5;
}
.shiny_button {
    display:inline-block;
    line-height:30px;
    text-align:center;
    border-radius: 5px;
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.6);
    background: #FFFFFF url(../Images/shiny1button_bg.png) 50% 50% repeat-x;
    font-family: 'Open Sans', sans-serif;
    font-size:13px;
    width:100px;
    height:30px;
}

.shiny_button a {
    display:block;
    color: #007b9a;
    text-decoration:none;
}
.shiny_button a:hover {
    background: #34c7ec url(../Images/shiny1button_bg.png) 50% 50% repeat-x;
    border-radius: 5px;
    box-shadow: 0px 1px 4px 0px #007b9a;
    color:white;
}

.shiny_button2 {
    color: #007b9a;
    display:inline-block;
    line-height:30px;
    text-align:center;
    border-radius: 5px;
    box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.6);
    background: #FFFFFF url(../Images/shiny1button_bg.png) 50% 50% repeat-x;
    font-family: 'Open Sans', sans-serif;
    font-size:13px;
    width:100px;
    height:30px;
    cursor:default;
}
.shiny_button2:hover {
    background: #34c7ec url(../Images/shiny1button_bg.png) 50% 50% repeat-x;
    border-radius: 5px;
    box-shadow: 0px 1px 4px 0px #007b9a;
    color:white;
}

/*LOGO BAR*/


#logo_banner {
    background-color :#00b9e8; 
    background-image :url(../Images/shadow1.png); 
    background-position:top center;
    background-repeat :no-repeat ;
    height :150px;
    margin:0px;
}
#logo_container {
    width:90%;
    max-width:920px;
    margin-left:auto;
    margin-right:auto;
    padding-top:15px;
}

#logo_right {
    vertical-align:bottom;
    text-align:right;
    float:right;
    color:white;
}

#logo_down {
    position:relative;
    bottom:-90px;
}

/*BLUE MENU*/


#cssmenu ul,
#cssmenu li,
#cssmenu span,
#cssmenu a {
    margin: 0;
    padding: 0;
    position: relative;
}
#cssmenu:after,
#cssmenu ul:after {
    content: '';
    display: block;
    clear: both;
}
#cssmenu img {
    margin:0 10px 0 10px;
}


#cssmenu a {
    color: #ffffff;
    display: inline-block;
    font-size: 1em;
    text-align: left;
    text-decoration: none;
    text-shadow: 0 0 10px White;
    line-height: 34px;
}

.ie8 #cssmenu a:hover {
    text-decoration: underline;
}
#cssmenu a:hover {
    text-shadow: 0 0 10px White, 0 0 20px White;
}
#cssmenu ul {
    list-style: none;
}
#cssmenu > ul > li {
    float: left;
}


#cssmenu .has-sub:hover ul {
    display: block;
}

#cssmenu .has-sub ul {
    display: none;
    position: absolute;
    top: 34px;
    left: -15px;
    min-width: 162px;
    text-align: left;
    background-color:#00b9e8;
    z-index:10;
    border-radius:10px;
    /* IE7 */
    *width: 100%;
}
#cssmenu .has-sub ul li a {
    display: block;
    line-height: 120%;
    padding: 5px 15px 5px 15px;
}

#cssmenu .has-sub ul li:last-of-type a {
    display: block;
    line-height: 120%;
    padding: 5px 15px 10px 15px;
}


/*PRINCIPAL MENU*/
#main_menu_container {
    background-color:#00b9e8;
}

#main_menu_container > div {
    width:90%;
    max-width:940px;
    margin:0 auto 0 auto;
    text-align:center;
    background-color:white;
    border-radius:10px 10px 0px 0px;
}

#table_menu {
    width:100%;
    table-layout:fixed;
}

#table_menu tr td {
    background:url(../Images/shiny1button_bg.png) 50% 50% repeat-x;
    height:50px;
    background-color:white;
    vertical-align: middle;
    border-right:1px solid white;
}

#table_menu tr td:first-of-type {
    border-radius:10px 0px 0px 0px;
}
#table_menu tr td:last-of-type {
    border-right:0px;
    border-radius:0px 10px 0px 0px;
}

#table_menu tr td a {
    display:block;
    text-decoration:none;
    color:black;
}

#table_menu tr td a:hover {
    color:#26c3eb;
}



/*PAGE CONTENTS*/


#page_contents {
    text-align : center;
    width:90%;
    max-width:940px;
    margin-left:auto;
    margin-right:auto;
}

.tricolumn {
    width:100%;
    border-collapse:collapse;
    background-color:white;
}

.tricolumn_tr1 td {
    padding:20px;
    border-right:2px solid #f5f5f5;
    width:33%;
}

.tricolumn_tr2 td {
    padding:0px 20px 20px 20px;
    border-right:2px solid #f5f5f5;
    width:33%;
    vertical-align:top;
    font-size:1.1em;
    line-height:1.4em;
}

.tricolumn_tr3 td {
    text-align:right;
    padding:0px 20px 20px 20px;
    border-right:2px solid #f5f5f5;
    width:33%;
}

.tricolumn-title {
    color: #007b9a;
    font-family:'Alegreya Sans', sans-serif;
    font-weight:normal;
    font-size: 1.5em ;
    vertical-align:top;
}

#marqueecontainer{
    position: relative;
    height: 200px; /*marquee height */
    overflow: hidden;
}
#vmarquee {
    position: absolute;
    width: 98%;
}
.event {
    color: #007b9a;
}

#vmarquee p {
    margin-top:0;
}

/*FOOTER*/

#footer_banner {
    line-height:1.4em;
    background-color:White;
    border-top:10px solid #007b9a;
    margin: 20px 0 0 0;
    padding-bottom:20px;
}

#footer_table {
    color:gray;
    width: 900%;
    max-width:920px;
    margin-left:auto;
    margin-right:auto;
    vertical-align:top;
    text-align:left;
}

#footer_table a {
    text-decoration:none;
    color:#26c3eb;
}

#footer_table a img {
    width:180px;
}

#footer_table table td {
    vertical-align:top;
}

#footer_table a:hover {
    text-decoration:underline;
}

/*PHOTO PORTADA*/

@keyframes animation1 {
    0% {opacity:1;}
    45% {opacity:1;}
    55% {opacity:0;}
    100% {opacity:0;}
}
@-webkit-keyframes animation1 {
    0% {opacity:1;}
    45% {opacity:1;}
    55% {opacity:0;}
    100% {opacity:0;}
}

#photo_shadow img {
    width: 100%;
    height:26px;
}
.ie8 #photo_container {
    padding-bottom:35px;
}
#photo_container {
    background-color : white ;
    padding : 20px;
    position:relative;
    height:350px;
    margin:0 auto;
    overflow:hidden;
}

#photo_container img {
    width:100%;
    max-width:900px;
    position:absolute;
    left:20px;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}


#photo_container img.top {
    animation-name: animation1;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 10s;
    animation-direction: alternate;

    -webkit-animation-name: animation1;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 10s;
    -webkit-animation-direction: alternate;

    -moz-animation-name: animation1;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-iteration-count: infinite;
    -moz-animation-duration: 10s;
    -moz-animation-direction: alternate;

    -o-animation-name: animation1;
    -o-animation-timing-function: ease-in-out;
    -o-animation-iteration-count: infinite;
    -o-animation-duration: 10s;
    -o-animation-direction: alternate;
}

/* About pages*/

#about_menu {
    display: compact;
    background-color:white;
    text-align:left;
    padding:30px 25px 25px 25px;
}
#about_line {
    border-bottom:2px solid #f5f5f5;
    padding-bottom:10px;   
    text-align:center; 
}
#about_menu a {
    color:gray;
    padding:0 20px 8px 20px;
    font-size:1.2em;
    text-decoration:none;
}

#about_menu a:hover {
    color:#2287a6;
}

.tab_selected {
    font-size:1.7em;
    font-weight:normal;
    padding:0 20px 5px 20px;
    color:#007b9a;
}

#about_container {
    background-color:white;
    padding:0px 25px 25px 25px;
    font-family: 'Open Sans', sans-serif;
    line-height:1.6em;
    text-align:left;
}

.about_headline {
    display:none;
    font-size:0.94em;
    margin-bottom:25px;
}

#about_text {
    font-size:0.94em;
}

#about_image {
    overflow:hidden;
    margin-bottom:20px;
}

.worker_container {
    background-color:white;
    padding:0 25px 1px 25px;
    font-family: 'Open Sans', sans-serif;
    line-height:1.6em;
    text-align:left;
    color:#606060;
}
.worker_div {
    font-size:0.8em;
    margin-bottom:25px;
    box-shadow:0px 1px 5px #aeaeae;
    border-top:3px solid white;
    border-bottom:1px solid #aeaeae;
    border-left:1px solid #d5d5d5;
    border-right:1px solid #d5d5d5;
    background:url(../Images/gradient2.jpg) repeat-x;
    background-origin:padding-box;
    height:232px;
}

.worker_div table tr td:first-of-type{
    vertical-align:top;
    padding:0px;
}

.worker_div table tr td:last-of-type {
    padding:30px;
    vertical-align:top;
}

h2 {
    margin:0 0 20px 0;
    color: #007b9a;
    font-size:1.7em;
    font-weight:normal;
}


/* SERVICES */

.services_container {
    background-color:white;
    padding:25px;
    font-size:0.9em;
    font-family: 'Open Sans', sans-serif;
    line-height:1.6em;
    text-align:left;
    color:#606060;
}

.service_div {
    padding:25px;
    font-size:0.9em;
    margin-top:25px;
    box-shadow:1px 1px 4px #aeaeae;
    border-top:3px solid white;
    border-bottom:1px solid #aeaeae;
    border-left:1px solid #d5d5d5;
    border-right:1px solid #d5d5d5;
    background:url(../Images/gradient2.jpg) repeat-x;
    background-origin:padding-box;
}
.service_div img{
    float:left;
    margin:0 25px 25px 0;
}

.service_div table tr td:last-of-type {
    padding:30px;
    vertical-align:top;
}
.service_name {
    color: #007b9a;
    font-weight:normal;
    font-size: 1.2em;
    margin-bottom: 12px;
}
.service_title {
    color: #007b9a;
    font-family:'Alegreya Sans', sans-serif;
    font-weight:normal;
    font-size: 1.9em;
    margin: 10px 0 20px 0;
}

/*CONTACT*/
#contact_container {
    padding:25px;
    background-color:White;
    text-align:left;
    line-height:1.4em;
}

#contact_container td {
    vertical-align:top;
    padding:0 5px 20px 5px;
}

.contact_first_row td {
    border-bottom:1px solid #f5f5f5;
}

#contact_container a {
    text-decoration:none;
    color:#26c3eb;
}

#contact_container a:hover {
    text-decoration:underline;
}

h4 {
    color: #007b9a;
    font-weight:normal;
    font-size: 1.7em;
    margin: 20px 0 10px 0
}
.subtext {
    padding: 0 0 0 10px;
}
.subtitle {
    color:#007b9a;
    padding:10px 0 5px 0;
}
.big_map_img {
    border-radius: 10px;
    width:100%;
}
/*MEDICAL*/


#medical_container {
    padding:25px;
    background-color:White;
    text-align:left;
    line-height:1.7em;
    font-family: 'Open Sans', sans-serif;
    font-size:0.9em;
}
#medical_container > div {
    padding:0 20px 0 20px;
}
h5 {
    color: #007b9a;
    font-weight:normal;
    font-size: 1.9em;
    margin: 20px 0 10px 0;
    font-family:'Alegreya Sans', sans-serif;
    padding-left:20px;

}

#medical_list {
    list-style:none;
    position:relative;
    display:inline-table;
}
#medical_list li{
    float: left;
    border:1px solid #f5f5f5;
    height: 120px;
    margin: 15px;
    padding: 5px;
    text-align: center;
    width: 120px;
    box-shadow:3px 3px 5px #ccc;
    box-shadow: 0 8px 6px -6px #ccc;
}

#medical_list img{
    float: left;
    height: 125px;
    width: 125px;
}

#legal{
    border-top: 1px solid lightGray;
    margin: 20px 40px 0 0;
    padding: 20px 0;
}

.legaltext{
    font-size:11px;
    color:#666666;
    font-family: "Arial","sans-serif";
    line-height:normal;
}

.bus{
    display:inline-block;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size:0.7em;
    font-weight:600;
    xxxbox-shadow: 0px 3px 0px #008000;
    xxxborder: 1px solid #C5C8C9;
    xxxborder-bottom-width: 0px;
    xxxborder-radius: 2px;
    xxxbox-sizing: border-box;
    margin:3px;
    padding:0 3px;
}

.bus img {
    height: 14px !important;
    position:relative !important;
    top:1px !important;
    opacity:0.6;
    margin:0 !important;
}

.bus_lines{margin-top:10px;}

.bus_lines td{
    padding:0 !important;
    border:none !important;
}
.bus_lines img{
    height:20px;
    position:relative;
    top:3px;
    margin:0 12px 0 5px
}

.metro{
    margin:10px 6px 10px 0 ;
}

.metro_lines img{
    height:30px;
    position:relative;
    top:8px;
    margin-right:10px;
}

.metro img {
    height: 14px !important;
    position:relative;
    top:1px !important;
    margin:0 !important;
}

/**********************POPUP COVID***************************/

.lrpPopup_wrapper {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    box-shadow: 0px 0px 14px 0px rgba(145,145,145,1);
    border-radius: 3px;
    background-color: white;
}

.lrpPopup_overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lrpPopup_close {
    position: absolute;
    right: 0;
    font-family: "Times New Roman";
    font-size: 30px;
    color: darkgray;
    padding: 5px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 15px;
    font-weight: bold;
}
#popup {
    display: flex;
    flex-direction: row;
}

#popupLeft {
    width: 400px;
    min-width: 400px;
    background-color: whitesmoke;
    background-image: url('../Images/Test-COVID2.jpg');
    background-repeat: no-repeat;
    background-size:auto 100%;
}


#popupRight {
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}



    #popupRight > div:first-child {
        padding: 20px 20px 0 20px;
        color: black;
        font-size: 3em;
    }

    #popupRight > div:nth-child(2) {
        padding: 20px;
        font-size: 1.1em;
        line-height: 1.4em;
        flex-grow: 1;
        overflow: auto;
        min-height: 2em;
    }

    #popupRight > div:nth-child(3) {
        text-align: center;
        font-size: 1.1em;
        padding: 40px;
        background-color: #009BC2;
        color:aquamarine;
    }

    #popupRight > div:nth-child(3) a {
        text-decoration: none;
        font-size:1.3em; 
        padding:10px;
        color: white;
    }

        #popupRight > div:nth-child(3) a:first-of-type {
            border: 1px solid white;
            border-radius: 5px;
            display: inline-block;
            margin-right: 20px;
        }

            #popupRight > div:nth-child(3) a:first-of-type:hover {
                border: 1px solid aqua;
                background-color: aqua;
            }

    #popupRight > div:nth-child(3) i {
        vertical-align: middle;
        padding-right: 5px;
    }


    #popupRight > div:first-child span {
        color: #606060;
        font-size: 0.8em;
        padding-left: 10px;
    }

