/*
Theme Name: CM&A Contadores Associados
Author: Sitecontabil
Version: 1.0
*/

/* CORES
rgb(66, 128, 194) - principal
rgb(58, 116, 173) - hover
rgb(110, 155, 210) - cor icone endereco/frase foto
*/

/* GERAL */
body, html { margin: 0; padding: 0; font-family: 'Archivo Narrow', sans-serif; color: #777;}
[onClick] {cursor: pointer;}
* { box-sizing: border-box; font-family: inherit; color: inherit;}
h1, h2, h3, h4, h5, h6 { font-family: 'Raleway', sans-serif;}
a { text-decoration: none; display: inline-block;}
.botao, button { padding: 10px 15px; text-transform: uppercase; background: rgb(66, 128, 194); color: white; border: none; outline: none; cursor: pointer; vertical-align: middle;}
.botao:hover, button:hover { background: rgb(58, 116, 173);}

/* TITULOS */
.titulo { font-size: 32px; position: relative; text-align: left;}
    .titulo span { color: rgb(110, 155, 210);}
    .titulo small { display: block; font-weight: 300; text-transform: uppercase; font-size: 17px; letter-spacing: -1;}
.textos .titulo:before { position: absolute; content: ""; bottom: -15px; left: -15px; width: 50px; height: 2px; background: rgb(110, 155, 210);}

/* TRANSITION */
.botao, button, #menu li a, .utilitarios i, .utilitarios p, #programacoes .programacoes a:before, .links_importantes li a, #redes_sociais li, #redes_sociais li a { transition: all 250ms;}

/* PADRAO DOS FORMULÁRIOS */
form input, form textarea { width: 100%; font-size: 14px; background: rgba(255, 255, 255, .85); margin-bottom: 5px; padding: 15px; border-radius: 2px; outline: none; border: 1px solid #ddd; resize: none;}
form input.wpcf7-not-valid, form textarea.wpcf7-not-valid { border-color: #cc0000;}
form button { background: #777; padding: 15px; border: none; color: white; margin-right: 2px; cursor: pointer;}
form button:hover { background: black; }
form a.botao { padding: 15px; margin: 2px;}

.wpcf7-not-valid-tip { color: #cc0000  !important; float: right; font-size: 0.8em !important;}

div.wpcf7-display-none { display: none;}
div.wpcf7-response-output { margin: 10px 0 0; padding: 15px; color: #999; background-color: #f8f8f8; border: 2px solid #cccccc;}
div.wpcf7-mail-sent-ok { color: #009944; border-color: #009944; background-color: #eeffee;}
div.wpcf7-validation-errors { color: #cc0000; border-color: #cc0000; background-color: #ffeeee;}
div.wpcf7-acceptance-missing, div.wpcf7-spam-blocked { color: #ccbe00; border-color: #ccbe00; background-color: #ffffee;}

/* LARGURA DEFINIDA CORPO SITE */
.largura_site { max-width: 1200px; width: 96%; margin: 0 auto; position: relative; z-index: 2;}

/* FLEX */
.flex { display:flex; }
.between { justify-content: space-between;}
.centerv { align-items: center;}
.centerh { justify-content: center;}
.wrap { flex-wrap: wrap;}

/* BANNER */
#banner { position: fixed; z-index: -1; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}
#banner .fotos { width: 100%; height: 100%;}

/* PAGINA INICIAL */
#inicial { position: relative; width: 100%; color: white;}
#inicial.inicial-home { height: 100%; min-height: 600px; }
#inicial:before { position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; background: rgba(40, 69, 87, .48);}

#topo { align-self: flex-start;}
#topo #logo { margin: 20px 0;}
#topo #logo img { width: 100%; height: auto; max-width: 350px;}
#topo .endereco { margin: 0 0 15px; padding: 0; list-style: none; font-size: 13px; text-align: right;}
#topo .endereco li { list-style: none; text-align: center; display: inline-block;}
#topo .endereco li i { color: rgb(110, 155, 210);}
#topo .endereco li:not(:first-child) i { margin-left: 15px;}

/* MENU */
#menu { margin: 0; padding: 10px 0; list-style: none; text-align: right; border-top: 1px solid rgba(255, 255, 255, .1);}
#menu li { flex-grow: 1;}
#menu li a:not(.botao) { font: normal 15px "Archivo Narrow", sans-serif; display: block; text-align: center; padding: 10px 5px; text-transform: uppercase; border-bottom: 2px solid transparent;}
#menu li:not(.destaque-menu) { margin-right: 5px;}
#menu li:not(.destaque-menu) a:hover:not(.botao) { border-bottom: 2px solid rgba(255, 255, 255, .6)}
#menu li.destaque-menu a { padding: 10px 15px; text-transform: uppercase; background: rgb(66, 128, 194); color: white; border: none; outline: none; cursor: pointer; vertical-align: middle;}
#menu li.destaque-menu a:hover { background: rgb(58, 116, 173);}
#menu select { display: none; width: 100%; color: #777; border: 0; border-radius: 5px; text-transform: uppercase; padding: 10px;}
#menu select option { padding: 2px 10px;}

/* SLOGAN */
#slogan { align-self: center;}
#slogan .titulo { width: 100%; font-size: 43px; text-align: center; text-transform: uppercase;}
#slogan .titulo small { font-size: 26px;}

#slogan2 { align-self: center;}
#slogan2 .titulo { width: 100%; font-size: 43px; text-align: center; text-transform: uppercase;}
#slogan2 .titulo small { font-size: 26px;}
.slogan-btn{padding: 15px 20px;; background: rgb(66, 128, 194); color: rgb(255, 255, 255); display: inline-block; font-size: 16px; font-weight: lighter; margin-top: 20px; border-radius: 2px;}
.slogan-btn:hover{background: rgb(58, 116, 173);}

#destaque { align-self: flex-end; width: 100%; padding: 5px 0; background: rgb(66, 128, 194); position: relative; z-index: 2;}

/* JANELA MODAL */
@keyframes anima_janela { from { top: -300px; opacity: 0;} to { top: 0; opacity: 1;} }
#modal { display: none; justify-content: center; align-items: center; width: 100%; height: 100%; position: fixed; z-index: 999; top: 0; left: 0; background: rgba(0, 0, 0, .8);}
#modal .janela_modal { overflow: auto; max-height: 90%; position: relative; z-index: 998; background: whitesmoke; display: block; padding: 5px; margin: 20px; border-radius: 5px; animation: anima_janela 1s;}
#modal .janela_modal > div { border: 1px solid #a6afbe; padding: 10px 25px; }
#modal .close { position: absolute; z-index: 999; top: 20px; right: 20px;}

/* AREA RESTRITA */
#restrito form > div { flex: 1 45%; margin: 5px;}

/* CONTEUDO TEXTOS */
.textos { padding: 50px 0 90px; text-align: justify; background: white;}
.textos .blocos { flex: 1; margin: 10px 20px;}

.conteudo_site:after {clear: both; content: ""; display: block;}
.conteudo_site .imagem-servico {display: inline-block; max-width: 210px; margin: 15px; vertical-align: middle; }
.conteudo_site .imagem-servico img {max-width: 100%; height: auto !important; }
.conteudo_site .imagem-restrito {position: relative; line-height: 40px; box-sizing: content-box; height: 40px; vertical-align: top; display: inline-block; margin-right: 25px; border: 1px solid rgb(190, 190, 190); padding: 25px; }
.conteudo_site .imagem-restrito img {height: 40px; width: auto !important; }
.conteudo_site div { max-width: 100%;}

table { border: 1px solid #ccc; border-collapse: collapse; }
table thead, table tfoot { background-color: #4280C1; color: #fff; }
table th, table td { border: 1px solid #ccc; padding: 10px; vertical-align: top; }

.blog { flex: 1 500px; max-width: 860px !important; margin: 10px;}
.blog:after { clear: both; content: ""; display: block;}
.sidebar { width: 300px; margin: 10px;}

img { max-width: 100%; height: auto;}
.alignleft { float: left; margin: 5px;}
.alignright { float: right;	margin: 5px;}
.aligncenter { margin: 0 auto; display: block;}

.post-blog h2 { margin-top: 0;}
.post-blog h2 small { font-weight: 300; font-size: 16px;}
.post-blog, .sidebar-widget { background-color: #fefefe; border: 1px solid #eee; border-radius: 3px; padding: 10px; margin-bottom: 10px; }
.post-blog { padding-bottom: 0;}
.post-blog .titulo { margin-top: 0;}
.post-blog .titulo:before { display: none;}
.post-footer { background-color: #eee; margin-left: -10px; margin-right: -10px; text-align: right;}
.post-footer a { display: inline-block; padding: 10px;}
.post-footer a:hover { background-color: #aaa; color: #fff;}

.bloco-categorias { border-top: 1px solid #ccc;}

.sidebar-widget .searchform { border: 1px solid #ccc; padding: 5px; margin-bottom: 0; }
.sidebar-widget .searchform div { display: flex; }
.sidebar-widget .searchform div label { display: none; }
.sidebar-widget .searchform div input, .sidebar-widget .searchform div button { border: none; padding: 5px; background-color: #fff; color: #999; }
.sidebar-widget .searchform div input[type=text], .sidebar-widget .searchform div button[type=text] { flex: 1; min-width: 100px; }
.sidebar-widget .searchform div input[type=submit], .sidebar-widget .searchform div button[type=submit] { border-left: 1px solid #eee; cursor: pointer; padding: 5px 10px; white-space: nowrap; }

.mt-0 { margin-top: 0; }

/* UTILITARIOS */
.utilitarios { flex: 1 45%; padding: 15px 10px 0; margin: 5px; border: 1px solid whitesmoke; text-align: center; background: #fcfcfc;}
.utilitarios:hover i { color: #777;}
.utilitarios:hover p { color: black;}
.utilitarios:hover { border-color: #ddd;}
.utilitarios i { color: #ddd;}

/* FRASE DESTAQUE */
#frase { padding: 90px 0; background: url(imagens/frase.jpg) center; background-size: cover; background-attachment: fixed; position: relative;}
#frase:before { position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; background: rgba(40, 69, 87, .55);}
#frase .titulo { text-align: center; font-size: 37px; color: white;}
    /* #frase .titulo span { color: rgb(110, 155, 210);} */
    #frase .titulo small { margin: 0; font-size: 25px;}

/* PROGRAMACOES */
#programacoes { border-top: 3px solid whitesmoke; background: #fcfcfc;}
#programacoes .titulo { text-align: center;}
#programacoes .titulo:before { content: none;}
#programacoes .programacoes div { flex: 1; margin: 20px 15px; position: relative; text-align: center;}
#programacoes .programacoes .counter { color: rgb(66, 128, 194); font-size: 48px;}
#programacoes .programacoes a:before { position: absolute; content: ""; opacity: .3; bottom: -15px; left: 0; width: 50px; height: 2px; background: rgb(110, 155, 210);}
#programacoes .programacoes a:hover:before { width: 100%; opacity: 1;}
#programacoes .programacoes i { margin-right: 5px;}
#programacoes .programacoes small { display: block;}

/* NOTICIAS */
#noticias { border-top: 3px solid whitesmoke;}
#noticias_slide .botao { background: whitesmoke; text-transform: none; color: #777;}
#noticias_slide .botao:hover { background: #777; color: white;}

.owl-theme .owl-controls .owl-page span { width: 35px !important; height: 3px !important; margin: 20px 2px 40px !important; border-radius: 0 !important; background: #869791 !important; opacity: 0.5 !important;}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span { opacity: 1 !important;}

/* RODAPE */
#rodape { padding-top: 50px; background: whitesmoke;}
    #rodape .titulo span { color: rgb(66, 128, 194);}
    #rodape .titulo small { font-weight: bold; text-transform: none; font-size: 70%; letter-spacing: normal;}
#rodape .blocos { flex: 1; margin: 10px; text-align: justify;}
.footer-widget li:not(:last-child) { margin-bottom: 10px;}
.footer-widget li a:hover { color: black; }
#rodape_faixa { text-align: center; padding: 15px 0; margin-top: 50px; border-top: 3px solid #EAEAEA;}
#redes_sociais { margin: 0; padding: 0; list-style: none; }
#redes_sociais li { margin: 2px; border: 2px solid #EAEAEA;}
#redes_sociais li:hover { background: #777; color: white;}
#redes_sociais li a { display: block; padding: 15px 10px;}

.fa-fixed{width: 70px; line-height: 70px !important; font-size: 32px !important; text-align: center; background: rgb(0, 212, 94); color: rgb(255, 255, 255); border-radius: 50%; position: fixed; left: 20px; bottom: 80px; z-index: 100;}

.paginacao { text-align: center;}
.paginacao .page-numbers { padding: 5px 10px; background-color: #f8f8f8; border: 1px solid #eee; border-radius: 3px;}
.paginacao .page-numbers:hover, .paginacao .current { background-color: #eee;}

code, kbd { color: purple;}
pre { white-space: pre-wrap; padding: 5px; background-color: #f5f5f5; border: 1px solid #eee;}

@media screen and (max-width:1000px){
    #topo { flex-direction: column;}
    #topo .endereco { text-align: center;}
    #slogan .titulo { font-size: 31px;}
        #slogan .titulo small { font-size: 17px;}
    #rodape .blocos { flex: 1 100%;}
    #rodape .blocos.menor { flex: 1 45%;}
}

@media screen and (max-width:900px){
    #menu li { display: none;}
    #menu select { display: block;}
    #restrito form > div { flex: 1 100%;}
    .textos .blocos { flex: 1 100%; margin: 10px;}
}

@media screen and (max-width:800px){
    #programacoes .programacoes a { flex: 1 100%; text-align: center;}
}

@media screen and (max-width:530px){
    #destaque > div { flex-direction: column; }
    #destaque > div * { margin: 0; padding: 0; }
    .utilitarios { flex: 1 100%;}
    #rodape .blocos.menor { flex: 1 100%;}
    .links_importantes { margin: 0; }
    #inicial{height: auto !important;}
}