a{text-decoration: none; color: rgb(178,178,178);}
a:hover{text-decoration: none; color: rgb(0,150,112);}
a:visited{text-decoration: none; color: rgb(178,178,178);}
.breadcrum-separator{color: rgb(178,178,178);}
.breadcrum-link-home{color: rgb(178,178,178);}
.breadcrum-link-home:hover{color: rgb(0,150,112);}

hr { border-color:rgb(229,229,229); }

.col-centered{
    float: none;
    margin: 0 auto;
}

/*strong{color:rgb(112,111,111);}*/

.anchor-white{color: white;}
.anchor-white:hover, .anchor-white:visited{color: white; text-decoration: underline;}

.icon-green{color: rgb(0,150,112);}

.empresa-negro{color: rgb(42,42,41);}
.empresa-logo{text-align: center;}
.empresa-logo img{display: inline;}
.empresa-mayuscula { text-transform: uppercase; }
.empresa-main-text{
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: rgb(112,111,111);
}

.header-top-bar{
    color: white;
    background-color: rgb(0,150,112);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

.header-top-bar-text{
    float: right;
    padding: 5px 0 5px 0;

}

.header-top-bar-text div{
    font-size: 18px;
    line-height: 1;
}

.header-logos-bar{
    font-family: 'lato';
    font-weight: 300;
    font-size: 15px;
}

.header-logo{ 
    margin-top: 45px;
}

.header-logos-icons img{
    display: inline-flex;
    max-height: 50px;
}

.header-logos-icons span:nth-child(2) img{ /* to fit the size of the second logo ('OI') */ 
    height: 36px;
}

.header-logos-bar span{
    margin-top: 55px;
    margin-left: 16px;
}
.header-logo-name{
    margin-top: 70px !important;
    display: block;
    padding-left: 0;
}

.header-logos-icons{margin-top: 55px; }

.header-logos-bar-border-bottom{border-bottom: 1px solid rgb(229,229,229);}

.header-menu-bar{}

.menu-menu-1-container{float: right;}

.page-header{
    background-image: url(../img/pages-top-bar.jpg);
    height: 111px;
    padding-top: 10px;
    color: white;
    margin: 0;
    background-repeat: round;
}

/* MENU */

.navbar-collapse{padding: 0;}

#main-nav      {
    height: 50px; /* configura a la altura que desea para su menú */
    margin: 0; /* darle un poco de espacio*/
}

#main-nav a { color: rgb(182,182,182);}
#main-nav a:visited { color: rgb(182,182,182);}

#main-nav ul   {
    margin: 0; padding: 0;
}
#main-nav li   {
    display: block;
    float: left;
    line-height: 50px; /* Esto ha de ser igual al #main-nav height */
    height: 50px; /* Esto ha de ser igual al #main-nav height */
    margin: 0; padding: 0; /* only needed if you don't have a reset */
    position: relative; /* esto es necesario con el fin de posicionar los submenús */
}
#main-nav li a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 25px 0 15px;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-angle-down{ margin-right: 8px; display: none; color: rgb(0,150,112);}

#main-nav .current-menu-item a, #main-nav .current_page_item a, #main-nav
a:hover {
    color: white;
    background: rgb(0,150,112);
}

#main-nav .current-page-ancestor a, #main-nav .current-page-ancestor .nav-angle-down{
    color: white;
    background: rgb(0,150,112);
}

#main-nav .current-page-ancestor a .current-menu-item li a{
    color: rgb(0,150,112) !important;
    background: white !important;
}

#main-nav .menu-item-has-children:hover .nav-angle-down{color:white;}
#main-nav .menu-item-has-children:hover a {color:white; background-color: rgb(0,150,112);}

#main-nav .current-menu-item .nav-angle-down{color:white;}

#main-nav .current-menu-item a, #main-nav .current_page_item a, #main-nav
a:hover > .main-navigation ul ul a:hover  {
    color: white;
    background: rgb(0,150,112);
}

#main-nav ul ul { /* esto va dirigido a todos los submenús */
    display: none; /* ocultar todos los submenús de la vista */
    position: absolute;
    top: 50px; /* esto debe ser la misma altura que el menú de nivel superior - height + padding + borders */
}

.menu-item-has-children .nav-angle-down { display: block; }

.menu-item-has-children .sub-menu .nav-angle-down { display: none; }

.main-navigation ul ul a {
    text-transform: none !important;
    background-color: rgb(0,150,112);
    color: white !important;
}
.main-navigation ul ul a:visited {
    text-transform: none !important;
    background-color: rgb(0,150,112);
    color: white !important;
}

.main-navigation ul ul a:hover {
    text-transform: none !important;
    background-color: white !important;
    color: rgb(0,150,112) !important;
}

#main-nav ul ul li { /* esto va dirigido a todos los submenús */
    float: none; /* sobreescribir menu hasta arriba */
    width: 150px; /* establece el ancho que desea para sus  submenús. Esto debe coincidir con el valor que pusimos abajo */
}

#main-nav ul ul span { display: none !important; }

#main-nav ul ul li a {
    padding: 5px 10px; /* dar a nuestros enlaces del submenú un bonito boton */
}

#main-nav ul li:hover > ul {
    display: block; /* mostrar submenú cuando el ratón pase por encima del menú principal */
}

.main-navigation ul ul {
    top: 50px !important;
}

/* Accordion */

#accordion .panel{
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;

}

#accordion .panel-group .panel + .panel {margin-top:0px;}


#accordion .panel-default > .panel-heading {
    background-color: transparent;
    border-right: none;
    border-left: none;
    border-bottom: none;
    border-top: 2px solid rgb(210,210,210);
    border-color: rgb(210,210,210);
}

#accordion .panel-title{color: rgb(48,47,47); font-size: 20px;}

#accordion .panel-icon { color: rgb(0,150,112); line-height: 29px;}

#accordion ul{ margin: 0;}

#accordion li {
    padding-left: 0;
    color: rgb(0,150,112);
}

#accordion li span {
    padding-left: 0;
    color:rgb(112,111,111);
}

#accordion .panel-default > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: transparent;
}

/* Main pages */

.breadcrumbs{
    color: rgb(0,150,112);
    font-family: 'lato';
    font-size: 13px;
    margin-top: 30px;
}

main .header-logos-bar-border-bottom{margin-bottom: 20px;}

.main-centered{
    text-align: center;
}

.main-title-text{
    font-family: 'Open Sans', sans-serif;
    font-size: 35px;
    color: rgb(42,42,41);
    margin-top: 50px;
}

h6{
    font-family: 'Open Sans', sans-serif;
    font-size: 35px;
    color: rgb(42,42,41);
    margin-top: 50px;
}

.main-no-margin{margin: 0 !important;}
.main-less-margin{
    margin: 25px 0 25px 0 !important;
}
.main-text{
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: rgb(112,111,111);
}
.main-text a{
    color: rgb(112,111,111);
}

.main-title-centered-separator{
    height: 1px;
    border: 2px solid rgb(0,150,112);
    margin-bottom: 25px;
    margin-top: 12px;
}

.main-button-container{
    margin-top: 50px;
    margin-bottom: 100px;
}

.main-button, .main-button a, .main-button a:visited{
    background: rgb(0,150,112);
    border-radius: 30px;
    border: 2px solid rgb(0,150,112);
    color: white !important;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 17px;
    padding: 15px 25px;
}

.main-button-icon{
    padding: 15px 19px;
}
.main-button-icon-facebook{
    padding: 15px 23px;
}
.main-button:hover{
    text-decoration: none;
    background-color: white;
    cursor: pointer;
    cursor: hand;
    color: rgb(0,150,112) !important;
}

.main-friends-of-glass{
    border-top: 2px solid rgb(200,201,202);
    border-bottom: 2px solid rgb(200,201,202);
    min-height: 329px;
    background: url('../img/friends_of_glass_background.png') repeat-y;
    padding-top: 50px;
    background-size: cover;
}

.main-text-friends-of-glass{
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: rgb(112,111,111);
}

.main-button-blue{
    background: rgb(105,172,229) !important;
    border: 2px solid rgb(105,172,229) !important;
    color: white !important;
    margin-left: 15px !important;
    display: inline-block !important;
}

.main-button-blue:hover{
    text-decoration: none !important;
    background-color: white !important;
    cursor: pointer !important;
    cursor: hand !important;
    color: rgb(105,172,229) !important;
}
.main-right{text-align: right;}
.blue-text{color:rgb(105,172,229);}
.main-title-right-separator{
    height: 1px;
    border: 2px solid rgb(195,214,0);
    margin-bottom: 25px;
    margin-top: 12px;
}

.main-press-icon{
    font-size: 5em;
    color: rgb(0,150,112) !important;
    margin-top: 25px;
}

.main-press-icon a{
    color: rgb(0,150,112) !important;
}

.main-press-title{
    color: rgb(0,150,112);
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    margin-top: 10px;
}

.main-press-title a{
    color: rgb(0,150,112) !important;
}
.main-press-text{
    color: rgb(112,111,111);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    margin-top: 10px;
    margin-bottom: 60px;
}

.news-category{color:rgb(42,42,41); font-size: 14px;}
.news-category a{color:rgb(0,150,112) !important;}
.news-col-3 img{border-top: 2px solid rgb(0,150,112);}
.news-col-list .news-content{border-top: 2px solid rgb(0,150,112);}
.news-image-footer{
    font-style: italic;
    padding-left: 15px;
    border-left: 2px solid rgb(0,150,112);
    margin-top: 15px;
    font-size: 12px;
}
.news-title-decorator{border-top: 2px solid rgb(0,150,112);}
.news-title-decorator{border-top: 2px solid rgb(0,150,112);}

.news .news-title a {font-size: 16px; line-height: 26px;}

.social-media-news img{height: 26px; width: 26px; margin-right: 10px;}

.social-media-news a{color: transparent !important;}

.more-link{
    color: rgb(0,150,112) !important;
    font-size: 14px;
    font-weight: bold;
}
.more-link:hover{color: rgb(0,150,112) !important; text-decoration: underline;}

.news-header{margin-top: 20px;}

.post-content-text{ width: 100%;}

/* Content */
pre {
    display: block;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.42857143;
    word-break: break-all;
    word-wrap: break-word;
    color: #333333;
    background-color: transparent;
    border: none;
}

blockquote{
    border-left: 2px solid rgb(0,150,112);
    border-right: 3px solid rgb(0,150,112);
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    color: rgb(0,150,112);
}

.blockquote{
    border-left: 3px solid rgb(0,150,112);
    border-right: 3px solid rgb(0,150,112);
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-style: italic;
    color: rgb(0,150,112);
    display: table;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 1.3em;
}

.blockquote em{
    display: table-cell;
    vertical-align: middle;
}

.century-table{
    display: table;
    margin-bottom: 30px;
}

.century{
    border-left: 2px solid rgb(0,150,112);
    border-right: 2px solid rgb(0,150,112);
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    color: rgb(0,150,112);
    display: table-cell;
    width: 90px;
    vertical-align: middle;
}

.century-text{
    display: table-cell;
    padding-left: 15px;
}

.gallery-text{margin-top: 10px;}

.bio-logo{display: inline-block; margin-top: 50px; margin-right: 50px;}

.bio-logo img{
    display: inline-block;
    max-height: 100px;
}

#datos-sector{margin-top: 50px;}

#datos-sector, td, tr{
    color: black;
    text-align: center;
    border: 1px solid rgb(221,221,221);
    padding: 5px;
}

#datos-sector thead td{
    background-color: rgb(0,151,109);
    color: white;
}

#datos-sector thead .table-dark{
    background-color: rgb(0,108,79);
}
#datos-sector tbody .table-dark{
    background-color: rgb(247,247,247);
}

.wpcf7-form-control-wrap input[type="text"], input[type="email"], input[type="tel"], textarea{
    width: 100%;
    margin-bottom: 15px;
    color: rgb(0,151,109);
    padding: 15px;
}

.wpcf7-form-control-wrap input[type="text"]:hover, input[type="text"]:active, input[type="text"]:focus,
input[type="email"]:hover, input[type="email"]:active, input[type="email"]:focus,
input[type="tel"]:hover, input[type="tel"]:active, input[type="tel"]:focus{
    border-radius: 0;
    border-right: 3px solid rgb(0,151,109);
    box-shadow: none;
    outline:0px !important;
    -webkit-appearance:none;
}
.wpcf7-form-control-wrap textarea:hover, textarea:active, textarea:focus{
    border-radius: 0;
    border-right: 3px solid rgb(0,151,109);
    box-shadow: none;
    outline:0px !important;
    -webkit-appearance:none;
}

.contact-form-button{
    background: rgb(0,150,112) !important;
    border-radius: 30px !important;
    border: 2px solid rgb(0,150,112) !important;
    color: white !important;
    text-decoration: none !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: bold !important;
    font-size: 17px !important;
    padding: 15px 25px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    margin-top: 10px !important;
    margin-bottom: 20px;
}

.contact-form-button:hover{
    text-decoration: none !important;
    background-color: white !important;
    cursor: pointer !important;
    cursor: hand !important;
    color: rgb(0,150,112) !important;
}

/* Pages with sidebar */

#menu-menu-2{
    margin: 0;
    list-style: none;
    padding: 0;
}

#menu-menu-2 li{
    margin-bottom: 5px;
    text-align: center;
}

#menu-menu-2 a, #menu-menu-2 a:visited{
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: rgb(112,111,111);
    padding: 15px;
    background-color: rgb(247,246,246);
    border-right: 4px solid rgb(222,221,221);
    text-decoration: none;
}

#menu-menu-2 a:hover{
    display: block;
    font-weight: bold;
    color: rgb(114,113,113);
    padding: 15px;
    background-color: rgb(247,246,246);
    border-right: 4px solid rgb(170,170,170);

}

#menu-menu-2 li.current_page_item a{
    display: block;
    font-weight: bold;
    color: rgb(0,150,112);
    padding: 15px;
    background-color: rgb(247,246,246);
    border-right: 4px solid rgb(0,150,112);
}

#menu-menu-3{
    margin: 0;
    list-style: none;
    padding: 0;
}

#menu-menu-3 li{
    margin-bottom: 5px;
    text-align: center;
}

#menu-menu-3 a, #menu-menu-3 a:visited{
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: rgb(112,111,111);
    padding: 15px;
    background-color: rgb(247,246,246);
    border-right: 4px solid rgb(222,221,221);
    text-decoration: none;
}

#menu-menu-3 a:hover{
    display: block;
    font-weight: bold;
    color: rgb(114,113,113);
    padding: 15px;
    background-color: rgb(247,246,246);
    border-right: 4px solid rgb(170,170,170);

}

#menu-menu-3 li.current_page_item a, #menu-menu-3 li.current-page-ancestor a{
    display: block;
    font-weight: bold;
    color: rgb(0,150,112);
    padding: 15px;
    background-color: rgb(247,246,246);
    border-right: 4px solid rgb(0,150,112);
}

.page-title{
    font-size: 34px;
    line-height: 1.2em;
    color: black;
}

.green-list{
    padding-left:0;
    margin-left:0;
    list-style: none;
}
.green-list li{color: rgb(0,150,112); font-weight: bold;}

.invisible-table, .invisible-table tr, .invisible-table td{
    border: none;
    color: rgb(0,150,112);
    padding: 15px;
    font-weight: bold;
}

.environtment-table, .environtment-table tr, .environtment-table td{
    border: none;
    text-align: left;
    color: rgb(112,111,111);
}

.environtment-table p{padding: 15px 25px;}

.environtment-table strong {color: rgb(0,150,112);}


/* Press */

.press-element-image {
    position: relative;
    -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, .5);
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .25);
    border-top: 3px solid rgb(0,150,112);
}

.overlay {
    background-color: rgb(82,184,158);
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    text-align: center;
}
.press-element-separator{margin-top: 4px;}

/*.press-element-image{

    font-size: 5em;
    color: rgb(112,111,111);

}

.press-element-image p{ font-size: 16px;}

.overlay{
    position: absolute;
    width: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 3px 15px 0 15px;
    display: none;
}*/

.press-element a{position: relative;}

.overlay img{
    max-width: 250px;
    max-height: 55px;
}

.overlay span{
    padding-top: 17%;
}

.press-element-image p{ padding-top: 5px;}


/*.press-element-image:hover div{
    background-color: rgb(82,184,158);
    color: white;
    cursor: hand;
}*/

.press-element p{ padding-top: 5px;}
.press-element:hover p{cursor: hand;}

.press-element:hover div, .press-element:hover i {
    background-color: rgb(82,184,158);
    color: white;
    cursor: pointer;
}

.press-element div{
    text-align: center;
    font-size: 5em;
    line-height: 2.5em;
    color: rgb(112,111,111);
    -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, .5);
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .25);
    border-top: 3px solid rgb(0,150,112);
}


/* News plugin */

.grid-date-post a {
    color:rgb(0,150,112) !important;
    font-weight: bold !important;
}

#interest-links-table tr,td{border: none;}
#interest-links-table td{text-align: left;}
#interest-links-table td strong{font-size: 22px;}



/* Footer */

footer{
    width: 100%;
    margin-top: 100px;
    padding-top: 10px;
    padding-bottom: 50px;
    color: white;
    background-color: rgb(0,150,112);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.footer-link a, .footer-link a:visited{color: white;}
.footer-link a:hover {text-decoration: underline;}

footer .footer-logo{
    margin-top: 40px;
    max-height: 56px;
    display: inline-block;
}

footer p{ padding-top: 20px;}

.footer-link-head{
    margin-top: 40px;
    font-weight: bold;

}

.footer-link-head-separator{
    height: 1px;
    margin: 10px 0;
    border-bottom: 2px solid white;
}

.footer-link{
    font-size: 16px;
}



/* Media Queries */

@media (max-width: 767px) {
    .main-button-blue-last{
        margin-top: 45px;
    }

    .header-logos-icons{text-align: center; float:none !important;}

    .main-title-text{ margin-top: 20px;}

    .mobile-centered-content{text-align: center; }
    #responsive-menu-button{box-shadow: none;}
    .header-logo{display: inline;}
    .press-element-image{margin-top: 15px;}
    .press-element-image img{width: 100% !important; height: auto !important;}
}
@media (min-width: 768px) and (max-width: 991px) {
    .mobile-centered-content{text-align: center;}
    #responsive-menu-button{box-shadow: none;}
    .header-logo{display: inline;}
    .header-logos-icons{text-align: center; float:none !important; }
    .press-element-image{margin-top: 15px;}
}
@media (min-width: 992px) and (max-width: 1199px){
    .press-element-image:hover > .overlay { display: block; }
}

@media (min-width: 1200px){
    .press-element-image:hover > .overlay { display: block; }
}