/* IDEALIVRE SECTIONS */
.idealivre-section {
    padding-top: 30px;
    padding-bottom: 0px;
    margin: 0px 0;
    position: relative;
    background-size: cover;
}

.idealivre-global-wrapper .container:before,
.idealivre-global-wrapper .container:after {
    content: " ";
    display: table;
}

.idealivre-global-wrapper .container:after {
    clear: both;
}

/* IDEALIVRE HEADER */
.idealivre-header {
    position: relative;
}

.idealivre-header .heading,
.idealivre-header-min .heading {
    color: #20304d;
    font-family: 'PT Sans Narrow', sans-serif;
    font-weight: 400;
    line-height: 1;
}

.idealivre-header .heading a,
.idealivre-header-min .heading a {
    color: #20304d;
}

.idealivre-header .sub-heading,
.idealivre-header-min .sub-heading {
    font-family: 'PT Sans Narrow', sans-serif;
    line-height: 1.2;
    font-weight: 100;
    /*font-style: italic;*/
    color: rgba(51, 51, 51, 0.61);
    margin: 0;
}

.idealivre-header .sub-heading,
.idealivre-header-min .sub-heading a {
    color: #20304d;
}

.idealivre-header hr {
    background-color: #DADADA;
    border: none;
    height: 3px;
    width: 60%;
}


/* IDEALIVRE CONTENT HEADER */
.idealivre-content .idealivre-header .heading,
.idealivre-content .idealivre-header-min .heading {
    color: #07AD87;
}

.idealivre-content .idealivre-header .heading a,
.idealivre-content .idealivre-header-min .heading a {
    color: #07AD87;
}

.idealivre-content .idealivre-header .sub-heading,
.idealivre-content .idealivre-header-min .sub-heading a {
    color: #07AD87;
}

.idealivre-content .idealivre-header .heading {
    text-transform: initial;
}

/* idealivre HOME BLOG */
section.idealivre-home-blog .aside-left {
    float: left;
}

section.idealivre-home-blog .aside-right {
    float: right;
}

section.idealivre-home-blog .blocos {
    margin-bottom: 35px;
    position: relative;
}

section.idealivre-home-blog .blocos-media {
    position: relative;
    overflow: hidden;
}

section.idealivre-home-blog .blocos-name {
    font-weight: 700;
    font-size: 16px;
}

section.idealivre-home-blog .blocos-data {
    text-align: right;
    font-weight: 700;
    /* background-color: #fafafa; */
    padding: 3px;
    margin: 0 0 3px 0;
}

section.idealivre-home-blog .blocos-leia-mais {
    text-align: right;
    font-weight: 700;
    /* background-color: #fafafa; */
    padding: 3px;
    margin: 0 0 3px 0;
}

/* OVERLAY SOCIAL MEDIA */
section.idealivre-home-blog .blocos-media:hover .overlay {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

section.idealivre-home-blog .blocos-media .overlay {
    width: 100%;
    height: 100%;
    display: block;
}

section.idealivre-home-blog .blocos-media .blocos-social>a.link-full {
    width: 100%;
    height: 100%;
    display: block;
}

section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner {
    text-align: center;
}

section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>div,
section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>a {
    color: #07ad87;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    text-align: center;
    cursor: pointer;
}

section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>div:hover,
section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>a:hover {
    color: #FFFFFF;
    background-color: #07ad87;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

section.idealivre-home-blog .blocos-texto {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

section.idealivre-home-blog ul.blocos-texto li.texto-full {
    font-size: 16px;
    line-height: 26px;
    color: #666666;
    /*text-align: justify;*/
    word-wrap: break-word;
    margin: 0px;
}


/* IDEALIVRE FOTOS */
.idealivre-fotos .idealivre-header {
    background-color: transparent;
}

.idealivre-fotos .idealivre-header .heading,
.idealivre-fotos .idealivre-header .sub-heading {
    color: #FFFFFF;
}

.idealivre-fotos .idealivre-background .idealivre-bg-image {
    background-image: url('../../fis/padrao/idealivre-background-fotos.jpg');
    background-color: #FFFFFF;
}

.idealivre-fotos .blocos {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.idealivre-fotos .blocos.flutuantes-min img {
    min-height: 200px;
}

.idealivre-fotos .blocos.flutuantes-max img {
    max-height: 400px;
}

.idealivre-fotos .blocos.col-xs-12 {
    padding: 0px;
}

.idealivre-fotos .blocos:hover .overlay {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.idealivre-fotos .blocos .overlay {
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: 8 !important;
    background-color: rgba(255, 203, 31, 0.4);
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

.idealivre-fotos .blocos .overlay i {
    -webkit-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
    color: #fff;
    font-size: 40px;
    position: absolute;
    margin-top: -20px;
    margin-left: -20px;
    top: 50%;
    left: 50%;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}


/* IDEALIVRE FILTRO LETRAS */
.filtro-letras {
    text-align: center;
    margin: 5px 15px 40px 15px;
}

.filtro-letras a {
    padding: 6px;
    margin: 0px 0 5px;
    font-size: 15px;
    color: #FFCB1F;
    display: inline-block;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    width: 30px;
    height: 30px;
}

.filtro-letras a.ativo,
.filtro-letras a:hover {
    color: #333333;
    background-color: #FFCB1F;
}

/* ASSOCIADOS */
section.idealivre-associados {
    box-shadow: 0px 40px 40px -10px rgba(0, 0, 0, 0.2);
}

section.idealivre-associados .idealivre-background .idealivre-bg-image {
    background-image: url('../../fis/padrao/bg-pages-2.png');
    background-color: #284D92;
}

section.idealivre-associados .container .row {
    clear: both;
}

section.idealivre-associados .idealivre-header {
    background-color: transparent;
    box-shadow: none;
    background-image: none;
}

section.idealivre-associados .idealivre-header .heading,
section.idealivre-associados .idealivre-header .heading a,
section.idealivre-associados .idealivre-header .sub-heading {
    color: rgba(255, 255, 255, 0.7);
}

section.idealivre-associados .thumb {
    /*border-radius: 5%;*/
    overflow: hidden;
}

/*
  section.idealivre-associados .blocos-media{
    filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='saturate' values='0.1'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    /*filter: grayscale(100%);
  }
  section.idealivre-associados .blocos-media:hover{
    filter: none;
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
  }
*/
section.idealivre-associados .idealivre-button.view-more {
    background-color: rgba(0, 0, 0, 0.40);
}

section.idealivre-associados .idealivre-button.view-more:hover {
    background-color: rgba(0, 0, 0, 0.55);
}

section.idealivre-associados .idealivre-button.view-more:hover a {
    background-color: transparent;
    color: #FFFFFF;
}

section.idealivre-associados .not-found {
    color: #FFCB1F;
}

section.idealivre-associados .idealivre-header-min .heading,
section.idealivre-associados .idealivre-header-min .heading a {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

section.idealivre-associados .idealivre-header-min .heading {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

section.idealivre-associados .idealivre-header-min .heading a {
    padding-top: 20px;
    display: block;
}




/* CONVENIOS */
section.idealivre-convenios {
    box-shadow: 0px 40px 40px -10px rgba(0, 0, 0, 0.2);
}

section.idealivre-convenios .idealivre-background .idealivre-bg-image {
    background-image: url('../../fis/padrao/bg-pages-1.png');
    background-color: #07AD87;
}

section.idealivre-convenios .container .row {
    clear: both;
    margin-bottom: 30px;
    text-align: center;
}

section.idealivre-convenios .idealivre-header {
    background-color: transparent;
    box-shadow: none;
    background-image: none;
}

section.idealivre-convenios .idealivre-header .heading,
section.idealivre-convenios .idealivre-header .heading a,
section.idealivre-convenios .idealivre-header .sub-heading {
    color: rgba(255, 255, 255, 0.7);
}

section.idealivre-convenios .idealivre-header-min .heading,
section.idealivre-convenios .idealivre-header-min .heading a,
section.idealivre-convenios .idealivre-header-min .sub-heading {
    color: rgba(255, 255, 255, 0.7);
}

section.idealivre-convenios .idealivre-header-min .heading {
    font-size: 18px;
    line-height: 1.5;
    text-transform: uppercase;
    margin-top: 65px;
    font-weight: 800;
}

section.idealivre-convenios .idealivre-header-min .sub-heading {
    font-size: 16px;
    line-height: 1.4;
    width: 80%;
    margin: 20px auto 0px auto;
}

section.idealivre-convenios .idealivre-header-min .linhaMin {
    margin: 20px auto 20px auto;
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
}

section.idealivre-convenios .blocos {
    position: relative;
}

section.idealivre-convenios .linhaVertical {
    margin: 20px auto 20px auto;
    width: 1px;
    min-height: 60px;
    background: rgba(255, 255, 255, 0.7);
}

section.idealivre-convenios .blocos-media .thumb {
    background: #FFF;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    margin: auto;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.2);
}

section.idealivre-convenios .blocos-media img {
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    margin-top: -40%;
    margin-left: -50%;
    width: 100%;
    /*height: 70%;*/
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.2);
}

section.idealivre-convenios .not-found {
    color: #FFCB1F;
}





/* SERVICOS */
/*
  section.idealivre-servicos{
    box-shadow: 0px 40px 40px -10px rgba(0, 0, 0, 0.2);
  }
  section.idealivre-servicos .idealivre-background .idealivre-bg-image {
    background-image: url('../../fis/padrao/bg-pages-1.png');
    background-color: #07AD87;
  }
  */
section.idealivre-servicos .blocos-media {
    width: 70%;
    margin: 0 auto;
}

section.idealivre-servicos .blocos-media img {
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 4px 4px -1px rgba(0, 0, 0, 0.2);
    border: 10px solid rgb(255, 255, 255);
}

section.idealivre-servicos .container .row {
    clear: both;
    margin-bottom: 30px;
    text-align: center;
}

section.idealivre-servicos .blocos {
    margin-bottom: 30px;
    position: relative;
}

/*
  section.idealivre-servicos .idealivre-header .heading,
  section.idealivre-servicos .idealivre-header .heading a,
  section.idealivre-servicos .idealivre-header .sub-heading{
    color: rgba(255, 255, 255, 0.7);
  }
  section.idealivre-servicos .idealivre-header-min .heading,
  section.idealivre-servicos .idealivre-header-min .heading a,
  section.idealivre-servicos .idealivre-header-min .sub-heading{
    color: rgba(255, 255, 255, 0.7);
  }
  */

section.idealivre-servicos .idealivre-bg-overlay {
    display: none;
}

section.idealivre-servicos .idealivre-header-min .heading {
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 30px;
}

section.idealivre-servicos .idealivre-header-min .sub-heading {
    font-size: 18px;
    line-height: 1.4;
    width: 90%;
    margin: 20px auto 0px auto;
}

section.idealivre-servicos .idealivre-header-min .linhaMin {
    margin: 10px auto 10px auto;
    width: 50px;
    height: 1px;
    background: rgba(0, 0, 0, 0.7);
}




/* BUSCA */
.idealivre-busca .table-tr {
    padding-top: 15px;
    padding-bottom: 15px;
}

.idealivre-busca .table-tr:nth-child(even) {
    background: #eee;
}

.idealivre-busca .table-tr:nth-child(odd) {
    background: #FFF;
}

.idealivre-busca .table-tr h2.heading {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 18px;
    padding: 5px 0;
    margin: 0;
    font-weight: normal;
}

.idealivre-busca .table-tr .post-info,
.idealivre-busca .table-tr .post-data,
.idealivre-busca .table-tr .post-meta,
.idealivre-busca .table-tr .post-autor {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.idealivre-busca .table-tr .post-meta a {
    color: #333333;
}





/* MEDIA MAX 600 ------------------------- */
@media (max-width: 600px) {

    .quebra-linha {
        clear: both;
        width: 100%;
        height: 1px;
    }

    .idealivre-section {
        padding-top: 0px;
    }

    /* IDEALIVRE HEADER */
    .idealivre-header {
        text-align: center;
        padding-top: 30px;
        padding-bottom: 30px;
        background-color: #f9f9f9;
        background-image: url('../../fis/padrao/bg-header-2.jpg');
        margin: 0px 0;
    }

    .idealivre-header .heading {
        text-transform: uppercase;
        font-size: 30px;
        line-height: 35px;
        margin: 0 0 10px 0;
    }

    .idealivre-header .sub-heading {
        font-size: 18px;
        padding: 0 30px;
    }


    /* IDEALIVRE CONTENT HEADER */
    .idealivre-content .idealivre-header {
        background-color: transparent;
        padding-top: 30px;
        padding-bottom: 30px;
        box-shadow: none;
        background-image: none;
    }

    /* IDEALIVRE HEADER MIN */
    .idealivre-header-min {
        text-align: center;
        padding-top: 0px;
        padding-bottom: 20px;
    }

    .idealivre-header-min .heading {
        font-size: 25px;
        margin: 0 0 15px 0;
    }

    .idealivre-header-min .sub-heading {
        font-size: 18px;
        margin: 0 0 15px 0;
    }

    /* IDEALIVRE HOME BLOG */
    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner {
        padding: 10px 0 10px 0;
        background-color: #07AD87;
    }

    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>div,
    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>a {
        font-size: 14px;
        width: 30px;
        height: 29px;
        padding: 5px;
    }

    /* IDEALIVRE BLOCOS */
    section.idealivre-associados .blocos,
    section.idealivre-consultas-online .blocos,
    section.idealivre-servicos .blocos {
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: 40px;
        position: relative;
    }

    section.idealivre-convenios .blocos {
        padding-left: 50px;
        padding-right: 50px;
        position: relative;
    }


    /* IDEALIVRE CONVENIOS */
    section.idealivre-convenios .blocos-media .thumb {
        height: 200px;
        width: 200px;
    }


    /* IDEALIVRE FOTOS */
    .idealivre-fotos .row {
        position: relative;
        height: 135px;
    }

}


/* MEDIA MIN 601 and max 992 ------------------------- */
@media only screen and (min-width:601px) and (max-width: 992px) {

    .quebra-linha {
        clear: both;
        width: 100%;
        height: 1px;
    }

    /* IDEALIVRE HEADER */
    .idealivre-header {
        text-align: center;
        padding-top: 30px;
        padding-bottom: 30px;
        background-color: #f9f9f9;
        background-image: url('../../fis/padrao/bg-header-2.jpg');
        margin: 0px 0;
    }

    .idealivre-header .heading {
        text-transform: uppercase;
        font-size: 50px;
        margin: 0 0 15px 0;
    }

    .idealivre-header .sub-heading {
        font-size: 22px;
        padding: 0 30px;
    }

    /* IDEALIVRE CONTENT HEADER */
    .idealivre-content .idealivre-header {
        background-color: transparent;
        padding-top: 0px;
        padding-bottom: 0px;
        margin: 20px 0 30px;
        background-image: none;
        box-shadow: none;
    }

    .idealivre-content .idealivre-header .heading {
        font-size: 40px;
        margin: 0 0 15px 0;
    }


    /* IDEALIVRE HEADER MIN */
    .idealivre-header-min {
        padding-top: 0px;
        padding-bottom: 20px;
    }

    .idealivre-header-min .heading {
        font-size: 25px;
        margin: 0 0 15px 0;
    }

    .idealivre-header-min .sub-heading {
        font-size: 18px;
        margin: 0 0 15px 0;
    }


    /* IDEALIVRE HOME BLOG */
    section.idealivre-home-blog .pull-left,
    section.idealivre-home-blog .pull-left-middle {
        padding-left: 10px;
        padding-right: 20px;
    }

    section.idealivre-home-blog .pull-right {
        padding-left: 20px;
        padding-right: 10px;
    }

    section.idealivre-home-blog .blocos-media {
        /*max-height: 260px;*/
    }

    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner {
        padding: 10px 0 10px 0;
        background-color: #07AD87;
    }

    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>div,
    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>a {
        font-size: 14px;
        width: 30px;
        height: 29px;
        padding: 5px;
    }


    /* IDEALIVRE BLOCOS */
    section.idealivre-associados .blocos,
    section.idealivre-convenios .blocos,
    section.idealivre-consultas-online .blocos,
    section.idealivre-servicos .blocos {
        padding-left: 15px;
        padding-right: 25px;
        margin-bottom: 40px;
        position: relative;
    }


    /* IDEALIVRE CONVENIOS */
    section.idealivre-convenios .blocos-media .thumb {
        height: 200px;
        width: 200px;
    }

    section.idealivre-convenios .linhaDown>.linhaVertical {
        height: 120px;
        margin-top: 60px;
    }

    /* IDEALIVRE FOTOS */
    .idealivre-fotos .row {
        position: relative;
        height: 400px;
    }

    .idealivre-fotos .blocos.flutuantes-min {
        overflow: hidden;
        height: 200px;
    }

    .idealivre-fotos .blocos.flutuantes-max {
        overflow: hidden;
        height: 400px
    }


    /* IDEALIVRE NTH */
    section.idealivre-campanhas .blocos:nth-child(2n+1),
    section.idealivre-associados .blocos:nth-child(2n+1),
    section.idealivre-convenios .blocos:nth-child(2n+1),
    section.idealivre-servicos .blocos:nth-child(2n+1) {
        clear: both;
    }
}



/* MEDIA MIN 992 ------------------------- */
@media (min-width: 992px) {

    /* IDEALIVRE HEADER */
    .idealivre-content .idealivre-header {
        background-color: transparent;
        padding-top: 15px;
        padding-bottom: 15px;
        background-image: none;
        box-shadow: none;
    }

    .idealivre-header {
        text-align: center;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 50px;
        padding-right: 50px;
        margin-bottom: 30px;
    }

    .idealivre-header .heading {
        text-transform: uppercase;
        font-weight: 200;
        font-size: 40px;
        line-height: 45px;
        margin: 0 0 15px 0;
    }

    .idealivre-header .sub-heading {
        font-size: 19px;
        line-height: 21px;
        margin: 25px auto 0px;
        font-weight: 300;
        text-align: center;
    }


    /* IDEALIVRE HEADER */
    .idealivre-content .idealivre-header .heading,
    .idealivre-content .idealivre-header .sub-heading {
        text-shadow: initial;
    }

    /* IDEALIVRE HOME BLOG */
    section.idealivre-home-blog .blocos {
        padding-left: 35px;
        padding-right: 35px;
    }

    section.idealivre-home-blog .blocos-media .overlay {
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        z-index: 8 !important;
        background-color: rgba(7, 173, 135, 0.5);
        opacity: 0;
        filter: alpha(opacity=0);
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        position: absolute;
        top: 0;
        left: 0;
    }

    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -20px;
        margin-left: -33%;
        width: 70%;
    }

    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>div,
    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner>a {
        font-size: 18px;
        width: 34px;
        height: 32px;
        padding: 5px;
    }


    /* IDEALIVRE BLOCOS */
    section.idealivre-campanhas .blocos,
    section.idealivre-associados .blocos,
    section.idealivre-convenios .blocos,
    section.idealivre-consultas-online .blocos,
    section.idealivre-servicos .blocos {
        padding-left: 25px;
        padding-right: 25px;
        margin-bottom: 35px;
        position: relative;
        vertical-align: top;
        min-height: 250px;
    }


    /* IDEALIVRE CONVENIOS */
    section.idealivre-convenios .blocos-media .thumb {
        height: 170px;
        width: 170px;
    }

    section.idealivre-convenios .linhaDown>.linhaVertical {
        height: 120px;
        margin-top: 60px;
    }

    section.idealivre-home-blog .blocos-media {
        max-height: 250px;
    }

    section.idealivre-home-blog .blocos-media .overlay .blocos-social-inner .box-whatsapp {
        display: none;
    }


    /* IDEALIVRE SERVICOS */
    section.idealivre-servicos .idealivre-header-min {
        min-height: 310px;
    }


    /* IDEALIVRE NTH */
    section.idealivre-campanhas .blocos:nth-child(4n+1),
    section.idealivre-associados .blocos:nth-child(4n+1),
    section.idealivre-convenios .blocos:nth-child(4n+1),
    section.idealivre-servicos .blocos:nth-child(4n+1) {
        clear: both;
    }

}



/* MEDIA MIN 992 ------------------------- */
@media (min-width: 1200px) {

    /* IDEALIVRE CONVENIOS */
    section.idealivre-convenios .blocos-media .thumb {
        height: 200px;
        width: 200px;
    }

}