﻿/*LISTA PORTEFOLIOS*/
.portfolio-tab, .portfolio_wrapper {
    position: relative;
    width: 100%;
    margin: 2% 0 4%;
    padding: 0;
    float: left;
    text-align: center;
    overflow: hidden;
}

    .portfolio-tab li, .portfolio_wrapper li {
        position: relative;
        margin: 0;
        padding: 0;
        display: inline-block;
        list-style: none;
        overflow: hidden;       
    }
	.portfolio-tab li{ border-left: 2px solid #999;}
	.portfolio-tab li:first-child{ border-left: 0px solid #999;}

        .portfolio-tab li span.item {
            position: relative;
            margin: 0;
            padding: 5px;
            float: left;
            color: #999999;
            white-space: nowrap;
            font-size: 18px;
            line-height: 20px;
            cursor: pointer;
            text-transform: uppercase;
        }

            .portfolio-tab li span.item:hover, .portfolio-tab li span.current {
                color: #777779;
                text-decoration: none;
            }

    .portfolio_wrapper li {
        position: relative;
        width: 25%;
        margin: 0;
        float: left;
        padding: 1px 0 0 1px;
        visibility: visible;
        opacity: 1;
        -webkit-transition: 1s all ease;
        -moz-transition: 1s all ease;
        -o-transition: 1s all ease;
        -ms-transition: 1s all ease;
        transition: 1s all ease;
    }

        .portfolio_wrapper li.itemHidden {
            visibility: hidden;
            opacity: 0;
            height: 0 !IMPORTANT;
            width: 0;
            border-width: 0;
            padding: 0;
        }

/*Galeria Homepage*/
.lista_fotos_destaque {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    float: left;
}

    .lista_fotos_destaque .lista_fotos, .portfolio_wrapper {
        position: relative;
        width: calc(100% + 1px);
        margin: 0 0 0 -1px;
        padding: 0;
        float: left;
        list-style: none;
    }

        .lista_fotos_destaque .lista_fotos li {
            width: 100%;
            margin: 0;
            padding: 0;
            float: left;
            padding: 1px 0 0 1px;
            overflow: hidden;
        }

            .lista_fotos_destaque .lista_fotos li.gal-1-1, .lista_fotos_destaque .lista_fotos li.gal-1-2, .grid-sizer {
                width: 20%;
            }

            .lista_fotos_destaque .lista_fotos li.gal-2-1, .lista_fotos_destaque .lista_fotos li.gal-2-2 {
                width: 40%;
            }

            .lista_fotos_destaque .lista_fotos li .img_gal, .gal-1-1 a .img_gal {
                display: table;
            }

                .lista_fotos_destaque .lista_fotos li .img_gal .mask, .gal-1-1 a .img_gal .mask {
                    width: 100%;
                    height: 100%;
                    margin: 0;
                    padding: 4%;
                    display: table-cell;
                    vertical-align: middle;
                    text-align: center;
                    /*background-color: rgba(0,0,0,0.8);*/
                    opacity: 0;
                    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
                    filter: alpha(opacity=0);
                    transition: opacity 1s ease;
                    -o-transition: opacity 1s ease;
                    -ms-transition: opacity 1s ease;
                    -moz-transition: opacity 1s ease;
                    -webkit-transition: opacity 1s ease;
                    color: #FFF;
                }

            .lista_fotos_destaque .lista_fotos li:hover .img_gal .mask, .gal-1-1 a:hover .img_gal .mask {
                opacity: 1;
                -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
                filter: alpha(opacity=100);
            }

            .lista_fotos_destaque .lista_fotos li .img_gal .mask p, .lista_fotos_destaque .lista_fotos li .img_gal .mask i, .gal-1-1 a .img_gal .mask i {
                font-size: 20px;
                color: #FFFFFF;
            }

            .lista_fotos_destaque .lista_fotos li .img_gal .mask i, .gal-1-1 a .img_gal .mask i {
                font-size: 30px;
            }
.gal-1-1 .img_gal{-webkit-transition: all .4s ease-in; transition: all .4s ease-in; overflow: hidden;}
.hover-up{ position: absolute; height: 100%; width: 100%; opacity: 0; top: 0; left: 0; display: flex; align-items: center; -webkit-transition: all .4s ease-in; transition: all .4s ease-in;}
.hover-up i{ width: 100%; text-align: center; font-size: 50px;}
.gal-1-1:hover .hover-up{ opacity: 1;}
.gal-1-1:hover .img_gal {
    filter: grayscale(1) blur(3px);
    -webkit-filter: grayscale(1) blur(3px);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
.gal-item-plus {
    background: #F1F1F1;
}

.gal-plus {
    display: table;
    margin: 0;
    text-align: center;
    width: 100%;
    height: 100%;
    -moz-transition: all ease-out 1s;
    -o-transition: all ease-out 1s;
    transition: all ease-out 1s;
}

    .gal-plus > span {
        display: table-cell;
        margin: 0;
        text-align: center;
        width: 100%;
        height: 100%;
        vertical-align: middle;
    }

        .gal-plus > span > img {
            max-width: 86px;
            max-height: 86px;
            -moz-transition: all ease-out 1s;
            -o-transition: all ease-out 1s;
            transition: all ease-out 1s;
        }

    .gal-plus:hover {
        background: #005059;
    }

        .gal-plus:hover > span > img {
            -webkit-filter: brightness(0) invert(1);
            filter: brightness(0) invert(1);
        }

@media (min-width:1200px) {
	
}
@media (max-width:980px) {
    .wgt-cookies {
        width: 97%;
        left: 0;
        padding: 15px 20px;
        margin: auto;
        right: 0;
    }
}
@media (max-width:991px) {
    .menu {display: none;  }
	#menu_responsive{ display: block;}
	.polyon-logo{ width: auto;}
}

@media (max-width:768px) {
	.container_topo #meteorologia{ display: none;}
	ul.redes {   margin: 15px 0px 15px 0;}
    .wgt-cookies {
        width: 97%;
        left: 0;
        padding: 15px 20px;
        margin: auto;
        right: 0;
    }

    .msg_cookies p {
        font-size: 11px;
        padding: 4px;
    }

    .opt_cookies a:last-child {
        bottom: -20px;
    }
	.footer_contatos {
		width: 100%;		
		padding: 15px 0;
		border-left: 0px solid #e8e8e8;
		margin: 0 15px;
	}
	.newsletter_form {
		width: 100%;
		padding: 15px 0 15px 0;
		margin: 0 15px;
	}
	h1.titulo{
		font-size: 26px;
		line-height: 28px;
	}
	.conteudo {
	    padding: 30px 0;
	}
}
@media (max-width:450px){
	.polyon-logo { width: 50%;}
	.redes a {
		display: inline-block;
		text-decoration: none;
		padding: 2px 0px;
		width: 30px;
		border: 1px solid;
		border-radius: 5px;
		margin-left: 5px;
		color: #777779 !IMPORTANT;
		opacity: 0.5;
	}
	#Portlet_Newsletter .column, #Portlet_Newsletter .column + .column {
		width: 100%;
		margin: 15px 0;
	}
	.content-wgt-cookies{ display: block;}
	.msg_cookies, .opt_cookies{display: block; width: 100%;}
	h1.titulo::after { margin: 10px auto;}
	h1.titulo{ margin: 0px auto;}
}
