/*
 Theme Name:   Nosso Lar
 Theme URI:    http://ibnossolar.org.br/
 Author:       Rafael Eduardo
 Author URI:   https://rafaworks.com.br
 Description:  INSTITUIÇÃO BENEFICENTE NOSSO LAR
 Version:      1.0
 Tags: 		   portal, site responsivo, nosso lar
*/

/*
█████████
█▄█████▄█
█▼▼▼▼▼
█   █
█   █      RafaWorks //infos
█▲▲▲▲▲
█████████
 ██ ██ 

 #00655d // uma das cores principais 

==============================================================
Resets
==============================================================
*/
html, 
body{
    width: 100% !important;
}
img{
    width: 100%;
}
.rw-space{
    margin: 100px 0;
    display: block;
}
*{outline: 0 !important}
.page p{font-size: 1.2em}
 
/*
==============================================================
Fontes internas
==============================================================
*/

@font-face {
    font-family: 'Linotte-SemiBold';
    src: url('fonts/Linotte-SemiBold-webfont.woff2') format('woff2'),
         url('fonts/Linotte-SemiBold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*
==============================================================
Animação dos Links
==============================================================
*/

a, 
.read-more > i, 
#noticias .box-news {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
a:hover{
	text-decoration: none;
}

/*
==============================================================
Header NAV Effect
==============================================================
*/

#navbar {
    background-color: #232c33; /* Black background color */
    position: fixed; /* Make it stick/fixed */
    top: -60px; /* Hide the navbar 50 px outside of the top view */
    width: 100%; /* Full width */
	transition: top 0.3s; /* Transition effect when sliding down (and up) */
    z-index: 99999;
    max-height: 54px;
}

/* Style the navbar links */
#navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
}

#navbar a:hover {
    background-color: #31424f;
    color: #e49230;
}
li .sub-menu{
    display: none;
    list-style: none;
    position: absolute;
    background: #31424f;
    padding: 0 10px;
    opacity: 0;
}
li:hover .sub-menu{
    display: block;
    opacity: 1;
}
#navbar li:hover .sub-menu{
    top: 54px;
}


/*
==============================================================
Header
==============================================================
*/
.meta-slider-space{
    display: block;
    height: 600px;
}

#nav-primary{
	background: #39655ebf;
	display: block;
    position: relative;
    z-index: 1;
}
#nav-primary .container-fluid{
    background: #232c33;
    min-height: 45px;
    color: #feffff;
    font-size: 1em;
    font-weight: 600;
    font-family: 'Linotte-SemiBold';
}

#nav-primary a{
    display: inline-block;
    color: #fff;
}
#nav-primary a:hover{
    color: #ffffffBF;
}
#nav-primary .btn-to-action a{
    background: #ff2323;
    padding: 12.6px;
}
#nav-primary .nav-item a{
	padding: 15px;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 #00000080;
}
#nav-primary .nav-item a:hover{
	color: #e49230;
}
.call-to-action{
	display: inline-flex;
}
.icon{
	padding: 12px 20px;
}
.icon:hover{
	background-color: #e49230;
}
.block-rotate{
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.nav-contact div{
	display: block;
    float: left;
    padding: 12px;
}
.nav-contact .fas{
	margin: 0 5px;
}


/*
==============================================================
Logo
==============================================================
*/
.logo-index{
	width: 250px;
    display: block;
    position: absolute;
	margin-top: 50px;
	z-index: 10;
}
.logo{
    width: 100px;
}
.logo-ajuste{
    float: left;
    padding: 10px 0;
}

.metaslider {
    position: absolute !important;
    top: 45px !important;
}

/*
==============================================================
Banner home text
==============================================================
*/
.home-ban{
    display: block;
    position: absolute;
    z-index: 100;
    width: 460px;
    margin-top: 180px;
}
.home-ban h1{
    font-size: 35px;
    color: #39655e;
}
.home-ban p{
    color: #b1b1b1;
    margin: 10px 0 25px;
    width: 300px;
}
.home-ban a{
    background: #ff2323;
    color: #fff;
    font-weight: 600;
    padding: 5px 30px;
    border-radius: 2px;
    box-shadow: 3px 3px 10px #6a6a6a85;
    font-size: 1.2em;
}
.home-ban a:hover{
    background: #39655e;
    color: #e49230;
    box-shadow: 0 0;
}

/*
==============================================================
HOME PAGE
==============================================================
*/

/*
==============================================================
Quem somos
==============================================================
*/
.box-title-atention{
    min-height: 300px;
    background-color: #00655d;
    color: #fff;
    display: inline-block;
}
.box-title-atention h2{
    position: absolute;
    bottom: 10px;
    right: 20px;
    line-height: 30px;
    text-align: right;
}
.box-back-kid{
    background: url('/wp-content/uploads/2018/11/Quem-somos-vertical.jpg') no-repeat center center;
}
.box-back-vert-01{
    background: url('/wp-content/uploads/2018/11/Ultimas-noticias-vertical.jpg') no-repeat center center;
}
.box-back-home-01{
    background: url('/wp-content/uploads/2018/11/Ultimas-Noticias-horizontal.jpg') no-repeat center center;
    min-height: 150px;
}
.box-back-home{
    background: url('/wp-content/uploads/2018/11/Quem-somos-horizontal.jpg') no-repeat bottom center;
    min-height: 150px;
}
.box-back.box-back-home{
    /*background-size:450px;*/
}
.box-back{
    background-size: cover;
}
.border-quadros{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 20px;
    margin: 0px;
    border: 10px solid #fff;
    border-spacing: 60px;
}
.qs-box{padding: 100px;}
.qs-box h3{
    color: #000;
}
.qs-box p{
    color: #b1b1b1;
}


/*
==============================================================
Como Ajudar?
==============================================================
*/
#como-ajudar .read-more{
    float: none;
    width: 200px;
    margin: auto;
}
#como-ajudar .img-help{
    width: 60px;
    margin: 10px auto;
}
#como-ajudar .box-how{
    text-align: center;
    min-height: 350px;
    max-height: 350px;
    padding: 10px;
}
#como-ajudar .box-how h2{
    font-size: 1.4em;
    margin: 20px 0 -5px;
}
#como-ajudar .box-how p{
    font-size: 1em;
    color: #b2b2b2;
    margin-bottom: 25px;
}
.rw-carousel-control-next .carousel-control-next-icon,
.rw-carousel-control-prev .carousel-control-prev-icon{
    margin: 10px 10px 0;
    background-image: url('/wp-content/uploads/2018/10/left-arrow.png');
    background-color: #ffffff;
    padding: 20px;
    background-size: 20px;
    border-radius: 50px;
    box-shadow: 0 0 10px #b2b2b2;
}

.rw-carousel-control-next .carousel-control-next-icon{
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

/*
==============================================================
Notícias
==============================================================
*/
#noticias .box-news{min-height: 330px;margin-bottom: 30px;}
#noticias .box-news:hover{box-shadow: inset 0 0 100px #b2b2b2;}
#noticias h1 a{
    color: #013449;
}
#noticias h1 a:hover{
    color: #e49230;
}
#noticias h1{
    font-size: 1em;
}
#noticias p{
    font-size: 0.8em;
    font-weight: 600;
    color: #b2b2b2;
}
#noticias .view-article{
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #e49230;
    color: #fff;
    padding: 5px 20px;
}
#noticias .view-article:hover{
    background-color: #013449;
}
.home-post-data{
    position: absolute;
    top: 0;
    background: #013449;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.7em;
    font-weight: 700;
}

/*
==============================================================
Facebook Eventos
==============================================================
*/
.fb-eventos table{
    min-width: 100%;
}
.fb-eventos .dia,
.fb-eventos .mes,
.fb-eventos .ano{
    color: #fff;
}

.fb-eventos .dia,
.fb-eventos .mes{
    padding: 0 10px;
}
.fb-eventos .mes,
.fb-eventos .ano{
    font-weight: 600;
}

.fb-eventos .dia{
    font-size: 2.2em;
    font-weight: 900;
    background-color: #e49230;
}
.fb-eventos .mes{
    font-size: 1.5em;
    background-color: #212529;
}
.fb-eventos .ano{
    background: #343a40;
    padding: 10px 0;
}
.fb-eventos h1{
    font-size: 1.5em;
}
.fb-eventos h1 a{
    color: #212529;
}
.fb-eventos h1 a:hover{
    color: #e49230;
}

/*
==============================================================
Depoimentos
==============================================================
*/
#depoimentos.container-fluid{
    background: #00655d;
    color: #fff;
    padding: 40px 0;
}
#depoimentos .carousel-item{
    width: 100%;
    max-height: 200px;
    min-height: 200px;
    
}
#depoimentos .custom p{
    padding: 0 150px;
    line-height: 1.4;
}
#depoimentos a{
    color: #e4922f;
}
#depoimentos a:hover{
    color: #39655e;
}

/*
==============================================================
Marcas 
==============================================================
*/
.container-fluid.marcas{
    min-height: 300px;
}
.quem-fez-top{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    display: block;
}
.quem-fez-down{
    font-size: 2.6em;
    text-transform: uppercase;
    color: #e49230;
    font-weight: 800;
    display: block;
    margin-top: -10px;
}
.marcas .col-md-3 {
    padding: 15px 25px;
}
.apoiadores_loop{
    margin: 40px 0;
}

/*
==============================================================
Botões
==============================================================
*/
.read-more{
    float: right;
    padding: 5px 40px 5px 20px;
    box-shadow: 3px 3px 10px #6a6a6a85;
    display: block;
    position: relative;
    border-radius: 50px;
    color: #3d3d3d;
    font-weight: 600;
}
.read-more:hover{
    color: #fff;
    background-color: #00655d;
}
.read-more > i{
    font-size: 34px;
    color: #e49230;
    position: absolute;
    background: #fff;
    right: 0px;
    top: 0px;
    border-radius: 50px;
}
.read-more:hover > i{
    right: -20px;
}


/*
==============================================================
OTHER PAGES
==============================================================
*/
.container-fluid.back-capa{
    background: url('/wp-content/uploads/2018/10/como-ajudar-topbanner.jpg') no-repeat center center;
    min-height: 150px;
    background-size: cover;
}
.pages-top{
    margin-top: 50px;
}
.container.header-text{
    position: relative;
    top: -100px;
    height: 0;
    color: #fff;
}
.author-bar,
.date-bar,
.looping-title{
    display: block;
}
.looping-title{
    color: #3b6561;
    font-weight: 100;
    margin: 0 0 30px 0;
}
.date-bar{
    background: #e4922f;
    color: #fff;
    position: relative;
}
.date-bar .date,
.author-bar .author{
    text-transform: capitalize;
    font-size: 1em;
    padding: 15px 20px;
    display: inline-block;
}
.date-bar .hour{
    float: right;
    padding: 15px 20px;
}
.author-bar{
    background: #edf7f8;
}
.author-bar .author{
    font-size: 0.8em;
}
.author-bar a{
	font-weight:600;
	color: #333;
}
.author-bar a:hover{
	color: #e49230;
}
.resumo{
	padding: 20px;
}
.resumo .view-article{
    display: block;
    float: right;
    background: #232c33;
    color: #fff;
    padding: 10px 25px;
    font-weight: 600;
    margin-top: 25px
}
.divisor-posts{
    margin-bottom: 150px;
}

/*
==============================================================
Sidebar Widget
==============================================================
*/
.sidebar-widget ul{
    list-style: none;
    padding: 0;
}
.sidebar-widget a{
    color: #333;
    text-transform:capitalize;
}
.sidebar-widget a:hover{
    color: #e4922f;
}
.sidebar-widget h3{
    font-size: 1.5em;
    font-weight: 400;
    padding: 15px 0;
    border-bottom: 2px solid #a2b7b2;
    width: 50px;
}

/*
==============================================================
Footer
==============================================================
*/
.footer-ico{
    width: 45px;
    display: inline-block;
    margin: 15px 5px;
}
footer{
    padding: 65px 0;
    border-top: 40px solid #232c33;
}
footer table{
    color: #096b60;
    font-size: 14px;
}

/*
==============================================================
Post Edit Link
==============================================================
*/
.post-edit-link{
    padding: 10px 30px;
    background: #e49230;
    color: #fff;
    font-weight: 600;
    left: 0;
}

/*
==============================================================
Blog
==============================================================
*/
.size-medium{
    width: 250px;
}
.size-large,
.size-full{
    width: auto;
    height: auto;
}

/*
==============================================================
Alinhamento
==============================================================
*/

.alignleft,
.alignright{
    margin-top: 15px;
    margin-bottom: 5px;
}
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
  }
  
  .alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
  }
  
  .aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
    
/*
==============================================================
Clearings
==============================================================
*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
content: "";
display: table;
table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
clear: both;
}
/*
==============================================================
Galleries
==============================================================
*/
.gallery {
margin-bottom: 1.5em;
}

.gallery-item {
display: inline-block;
text-align: center;
vertical-align: top;
width: 100%;
}
.gallery-item img{
    height: auto;
}

.gallery-columns-2 .gallery-item {
max-width: 50%;
}

.gallery-columns-3 .gallery-item {
max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
max-width: 25%;
}

.gallery-columns-5 .gallery-item {
max-width: 20%;
}

.gallery-columns-6 .gallery-item {
max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
max-width: 11.11%;
}

.gallery-caption {
display: block;
}

/*
==============================================================
Mobile Space
==============================================================
*/
@media (min-width: 576px) {
    .navbar-toggler,
    #mob-bar,
    .mob-show{
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    html{
        display: unset;
    }
    .mob-hide{
        display: none !important;
    }
    #mob-bar .nav-contact{
        background: #232c33;
        min-height: 45px;
        color: #feffff;
        font-size: 0.8em;
        font-weight: 600;
        font-family: 'Linotte-SemiBold';
    }
    #mob-bar .nav-contact a{
        color: #fff;
    }
    .navbar-toggler-icon{
        display: block;
        background: url('/wp-content/themes/rw-nossolar/img/menu.png') no-repeat;
        background-size: cover;
        padding: 20px;
        margin: 10px 0 6px;
    }
    .navbar-toggler{
        display: inline-flex;
        line-height: 2.8;
    }
    .navbar-nav{
        background: #333;
    }
    .navbar-nav ul{
        display: list-item;
    }
    .navbar-nav ul li a:active,
    .navbar-nav ul li a:focus{
        background: #e4922f;
    }
    .navbar-nav ul li a{
        display: block;
        padding: 15px;
        color: #fff;
        font-weight: 600;
        border-bottom: 1px solid #454d52;
    }
    .mob-logo-space{
        padding: 0 35px;
        margin: 25px 0;
    }
    .size-large{
        width: 100%;
    }
    li .sub-menu {
        position: relative;
        background: #31424f;
        padding: 0 10px;
        opacity: 1;
    }

    /*
    ==============================================================
    Banner home text
    ==============================================================
    */
    .home-ban{
        position: relative;
        margin: 70px 0 120px 0;
    }
    .home-ban h1{
        font-size: 35px;
        color: #39655e;
    }
    .home-ban p{
        color: #b1b1b1;
        margin: 10px 0 25px;
        width: 300px;
    }
    .home-ban a{
        background: #e49230;
        color: #fff;
        font-weight: 600;
        padding: 5px 30px;
        border-radius: 2px;
        box-shadow: 3px 3px 10px #6a6a6a85;
    }
    .home-ban a:hover{
        background: #39655e;
        color: #e49230;
        box-shadow: 0 0;
    }
    .meta-slider-space{
        display: none;
    }

    /*
    ==============================================================
    HOME
    ==============================================================
    */
    .qs-box {
        padding: 35px;
    }
    .qs-box p{
        margin: 30px 0;
    }
    #noticias .mob-show{
        margin: 0 0 50px 0;
    }
    #noticias h1{
        font-size: 2em;
    }
    #noticias p{
        font-size: 1.2em;
    }
    #noticias .box-news{
        min-height: unset;
    }
    #noticias .view-article{
        position: relative;
        display: block;
        background-color: #e49230;
        color: #fff;
        padding: 15px 30px;
        margin: 30px;
        text-align: center;
    }
    .box-title-atention{
        min-height: 150px;
    }
    /*
    ==============================================================
    Depoimentos
    ==============================================================
    */
    #depoimentos .carousel-item{
        width: 100%;
        max-height: 330px;
        min-height: 330px;
        
    }
    #depoimentos .custom p{
        padding: 0 30px;
        line-height: 1.4;
    }
    #depoimentos a{
        color: #e4922f;
    }
    #depoimentos a:hover{
        color: #39655e;
    }
    
    /*
    ==============================================================
    Marcas 
    ==============================================================
    */
    .mob-v-space{
        margin: 25px 0;
    }
 }