/*
 Theme Name:   Gracie Mag
 Theme URI:    https://xdevs.co
 Description:  GracieMag Child Theme
 Author:       Xdevs
 Author URI:   https://xdevs.co
 Template:     wpex-luxmag
 Version:      1.0.0
 Text Domain:  graciemag
*/

@import url('https://fonts.googleapis.com/css?family=Roboto');


.container *:not(.fa) {
	font-family: 'Roboto', sans-serif !important;
}



/* para ajeitar a visualização de elementos "<p>", problematicas com o css display do tema padrão */
p {
	display: block !important;
}




.for-desktop { display: block !important; }
.for-mobile { display: none !important; }
.is-mobile .for-desktop { display: none !important; }
.is-mobile .for-mobile { display: block !important; }





.for-pt, .for-ptBr, .for-en, .for-enUs {
	display: none;
}



/* para exibir só quando o script para essa classe for chamado */
.custom-thumb-box {
	display: none;
}




/**/
.custom_readmore {
	display: none;
	position: absolute;
	width: 100%;
	height: 126px;
	text-align: center;
    background: rgba(255, 255, 255, 0.8); /* For browsers that do not support gradients */
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 1)); /* Standard syntax */
	opacity: 0;
	top: 2000px;
	transition: top 1.9s ease-out, opacity 5.2s ease-out;
}

.custom_readmore span {
	color: #f5f5f5;
	background-color: #d6001c;
	display: inline-block;
	padding: 9px 26px;
	margin: 32px 19px 12px;
	cursor: pointer;
}







/* Põe o botão "read more" com as cores padrão do site */
.wpex-readmore {}
.wpex-readmore a {
	background-color: #d6001c !important;
}


/*
#header-wrap .site-branding {
	background: url(http://new.graciemag.com/wp-content/uploads/2016/11/logotipo-graciemag-horizontal.png) no-repeat;
	height: 90px;
	background-position: -87px 0px;
	width: 324px;
}
*/

.alignleft {
	display: table;
}

a.navigation-home {
	display: none;
}


/* Para corrigir o problema dos menus ficarem por cima do logo na header fixa com scroll */
#site-navigation ul.main-nav {
	transition: margin linear 0.5s;
}
.is-sticky #site-navigation ul.main-nav {
	margin-left: 156px;
}

#site-navigation a.custom_logo {
	display: none;
}

.is-sticky #site-navigation a.custom_logo {
	display: block;
	position: absolute;
	width: 156px;
	left: 5px;
	top: 9px;
}

.is-mobile .is-sticky #site-navigation a.custom_logo {
	width: auto;
}


#site-navigation a.custom_logo img {
}


/* Estilo para o seletor de idiomas customizado  */
.custom_language_selector_flags {
	display: none;
}
#header-wrap .custom_language_selector_flags {
	display: block;
	position: absolute;
	top: 7px; left: -5px;
	width: 100%; height: 17px;
}
#header-wrap .custom_language_selector_flags img {
	display: inline-block;
	margin: 2px;
}





/* para corrigir a posição do menu expandido no mobile */
.wpex-mobile-nav {
	top: 139px !important;
	padding-top: 6px;
}
@media screen and (max-width: 567px) {
	.wpex-mobile-nav {
		top: 120px !important;
	}
}





header .logo {
	display: inline-block;
	width: 39%;
	float: left;
}

header .ad_super_banner {
	display: inline-block;
	width: 59%;
	float: right;
/*
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	top: 0%;
	position: absolute;
	width: 86%;
	letter-spacing: 1px;
	background-position: center center;
	background-repeat: no-repeat;
	margin-left: 205px;
	height: 46px;
	line-height: 130px;
	font-size: 13px;
*/
}



.site-main-wrap .ad_super_banner {
	display: block;
	text-align: center;
	padding: 5px;
}

.site-main-wrap .ad_super_banner div {
	display: inline-block;
}






/* estilos para os ads "super banner" */
.ad_super_banner {
}




/* Estilos paraos ads Quadrado Popup */
.ad_quadrado_popup {
}

.sidebar-container .ad_quadrado_popup {
	display: block;
	text-align: center;
	margin: 0px;
	padding: 1px;
	padding-top: 15px;
}






/* Estilos paraos ads Quadrado Popup */
.ad_botao {
}

.sidebar-container .ad_botao {
	display: block;
	text-align: center;
}

.sidebar-container .ad_botao div {
	display: inline-block;
	margin: 2px 4px;
}





/* Estilos paraos ads Quadrado Popup */
.ad_retangulo_medio {
}

.sidebar-container .ad_retangulo_medio {
	display: block;
	text-align: center;
}

.sidebar-container .ad_retangulo_medio div {
	display: inline-block;
	margin: 2px 4px;
}











/* Para sobreescrever os estilos do adtoany sobrescritos pelo tema */
.addtoany_content_bottom {
	width: 100% !important;
	text-align: center;
}










/* Estilos para a singlepage do post */
.right-sidebar .left-content{
	padding: 0px 25px 30px 0px;
}

.single .headcategory {
	margin-top: 0px;
	display: block;
	padding-left: 4px;
}
.is-mobile .headcategory {
	padding-left: 16px;
}

.post-header-title{
	text-align: left;
	line-height: 42px;
	padding: 0px 0px 0px 3px;
}
.is-mobile .post-header-title{
	padding: 0px 6px 0px 14px;
}

.post-author-wrapper {
	padding: 3px 0px 15px 4px;
	text-align: left;
}
.is-mobile .post-author-wrapper {
	padding: 3px 9px 15px 18px;
}

.single .post-thumbnail {
	height: 500px;
}
.single.is-mobile .post-thumbnail {
	height: 290px;
}



/* Estilos para acertar os posts relacionados no post */
.related-posts {}

.related-posts .related-entry {
	max-width: 300px;
}

.related-posts .related-entry a {
}

.related-posts .related-entry a img {
	width: 95%;
	margin-left: 2.3%;
}


.related-posts .related-entry .related-entry-content {
	padding-left: 2.3%;
	padding-right: 2.3%;
}


/* Estilo para as tags do post */
.custom-post-tags {
	margin: 29px 0px 10px -3px;
}

.custom-post-tags li {
	display: inline-block;
}

.custom-post-tags li a {
	color: #d6001c;
	padding: 4px 7px;
}

.custom-post-tags li span {
	padding: 4px 7px;
}

.custom-post-tags li span:first-child {
	padding: 4px 7px 4px 4px;
}

/*
* Page
*/
.page .site-main-wrap {
	/* background: #fff; */
}

.page .boxed-content {
	background: transparent;
}

.page #primary #content{
	margin-top: 40px;
}

.page .boxed-content {
	border-right: 1px solid #eee;
}

.page #content > article > header > h1 {
	margin-bottom: 0px;
}

.page .entry h2 {
	margin-top: 0px;
	text-align: center;
}

.page .sidebar-container {
	float: left;
}



/* estilo para caixa personalidada para conteudo de post */
.entry-content {
	display: block;
}
.entry {
	transition: height 1s linear;
}




/* Para ajeitar a visualização de widgets texto customizados */
.widget_text {
	padding: 19px 0px;
}

.textwidget {
	padding: 0px;
	text-align: center;
}










/* Para ajeitar os widgets no footer */
#footer-wrap p {
	text-align: left;
	color: #efefef;
	padding: 1px 4px;
}

#footer-wrap a {
	color: #ffffff;
}

#footer-wrap .footer-widget {
    margin: 16px 1px 32px auto !important;
}


#copyright {
    float: none;
    text-align: center;
}













/* para corrigir o espaçamento da entrelinha dos posts unitários na home */
.block1 .large .iten-right{
	width: 38%;
}
.block1 .large .iten-right h3 {
	padding-bottom: 6px;
	text-align: left;
}
.block1 .large .iten-right h3 a {
	line-height: 42px;
}
.block1 .large .iten-right p {
	text-align: left;
}

.block1 .post-thumbnail {
	height: 523px;
}

.block1 .post-thumbnail img {
	max-height: initial !important;
}

.block1 .large .iten-right {
	float: right;
	padding: 14px 15px 12px 12px;
}

.block1 .post-two .custom-thumb-box {
	display: inline-block;
	width: 58%;
	overflow: hidden;
	float: left;
}


.custom-thumb-box .post-thumbnail {

}
.post-thumbnail img {
	max-width: 1000px;
	max-height: 1000px;
}




.block2 .column h3 {
	padding: 7.5px 16px 29px 16px;
	font-size: 1.74rem;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 1px 0px rgba(0,0,0,0.1);
	height: 149px;
	text-align: left !important;
}

/* para ajeitar as colunas na home */
.block2 .tree:first-child {
	width: 32.3%;
	margin-left: 0%;
	margin-right: 0.73%;
}
.block2 .tree:nth-child(3n) {
	width: 32.3%;
	margin-left: 0.73%;
	margin-right: 0.73%;
}
.block2 .tree:nth-child(3n+2) {
	width: 32.3%;
	margin-left: 0.73%;
	margin-right: 0%;
}

.is-mobile .block2 tree,
.is-mobile .block2 .tree:first-child,
.is-mobile .block2 .tree:nth-child(3n),
.is-mobile .block2 .tree:nth-child(3n+2) {
	width: 98%;
	margin-left: 1%;
	margin-right: 1%;
}



/*
CUSTOM GUTTDESIGN */
.search-overlay {
    position: relative;
    height: auto;
    width: 180px !important;
    background: none;
    margin: 0;
    left: auto;
    top: auto;
    margin: 25px 0 20px;
    top: -75px;
    right: 0;
    /*width: 259px;*/
    float: right;
    margin-right: 61px;
}


.container.global{width:100%}

.cont-academias  {
	font-family: 'Open Sans', sans-serif !important; 
 	padding-top:15px;
	width:98% !important;
	max-width:98% !important;	
	padding-left:0 !important;
} 
.cont-academias h1, .cont-academias h2, .cont-academias h3, .cont-academias p  {
	font-family: 'Open Sans', sans-serif !important;
	text-align:left;
} 
.cont-academias h1{font-size:2.3em;margin-bottom:25px;}
.cont-academias h2{font-size:1.5em;margin-bottom:25px;}  
.cont-academias p{font-size:1.05em; line-height:30px;}  

.cont-academias .site-content{padding-top:35px;}
.cont-academias .site-content .logo-certificado{position:absolute !important;left:25px;top:135px !important; max-width:120px}

.custom_gutt_logo, .custom_logo{width:200px; margin-top:8px;margin-left:15px;margin-right:15px}

/*ESTA CLASSE SÓ ESCONDE O CONTADOR INFERIOR DESTE ID METASLIDER [metaslider id="221051"]. A MESMA REGRA PODE SER USADA PARA OUTROS IDS*/
.counter_221051{display:none;}
.counter_221052{display:none;}
.counter_221053{display:none;}
.counter_221054{display:none;}
/*.metaslider span{display:none !important}
*/
@media screen and (max-width: 1440px) {
	
	.cont-academias h1 {font-size: 2.1em;}

	.cont-academias .site-content .logo-certificado{ top:80px; }

	.cont-academias p{font-size:1em; line-height:26px;}  
}

@media screen and (max-width: 1366px) {
	
	.cont-academias h1 {font-size: 2em;}
 

	
	.cont-academias p{font-size:1em; line-height:26px;}  
}


@media screen and (max-width: 1024px) {
	
 
	
	.cont-academias p{font-size:.9em; line-height:26px;}   
	.cont-academias .site-content .logo-certificado{  max-width:100px}	
	.custom_gutt_logo, .custom_logo{width:130px; margin-top:15px;margin-left:15px;margin-right:10px}

	.search-overlay {
 
		width: 120px !important; top:-156px !important;  
	}

	#site-navigation .dropdown-menu > li > a {
    padding: 0 1.1em;
	}
}

/* FIM CUSTOMIZADO GUTTDESIGN*/



/*
* Mobile
*/

@media screen and (max-width: 568px) {
	
	.page .entry h2 {
		padding: 0px 10px;
	}

	.single .headcategory {
		margin-top: 22px;
    	line-height: 11px;
	}
	
	#content > article > div.entry.clr > p {
		padding: 0px 20px;
	}

	.custom-post-tags {
		margin: 30px 0px 10px 10px;
	}

	.custom-post-tags li span:first-child {
		padding: 4px 7px 4px 7px;
	}

	.related-posts {
		width: 90%;
    	margin: 0 auto;
	}

	.related-posts-title {
		padding: 0px 10px;
    	margin: 0px 10px 10px 10px;
	}

	body.responsive .related-entry-media,
	body.responsive .related-entry-content {
		width: 100%;
	}

	body.responsive .related-entry-content {
    	padding: 0px !important;
    	text-align: center;
    }

}



.is-mobile #wrap-header-menu .custom_language_selector_flags { display: none !important }
.is-mobile #wrap-header-menu.show-flags .custom_language_selector_flags { display: block !important }

.is-mobile #wrap-header-menu {
	padding-top: 10px;
	height: 83px;
	z-index: 1000;
}
.is-mobile #wrap-header-menu.show-flags { height: 120px; }
@media screen and (min-width: 372px) {
	.is-mobile #wrap-header-menu { height: 87px; }
	.is-mobile #wrap-header-menu.show-flags { height: 123px; }
}

.is-mobile #wrap-header-menu #header-wrap {
	padding: 0px;
}


.is-mobile #site-navigation-wrap {
    position: relative;
}

.is-mobile #site-navigation a.custom_logo {
	display: block;
    position: absolute;
    top: 5px;
    left: 65px;
    right: 63px;
	text-align: center;
}

.is-mobile #site-navigation a.custom_logo img {
	display: inline-block;
	position: relative;
	bottom: 0px;
	width: 90%;
	max-width: 236px;
}

@media screen and (max-width: 567px) {
	.is-mobile #site-navigation a.custom_logo {
		top: 4px;
	}
}


/* não exibe para mobile */
.is-mobile #header .site-branding .logo {
	display: none !important;
}

.is-mobile #site-navigation .navigation-toggle {
	display: inline-block;
	margin-left: -6px;
	width: 60px;
	color: #ddd;
	padding-left: 13px;
}

.is-mobile header .ad_super_banner {
	width: 100%;
}

.is-mobile #header-wrap .custom_language_selector_flags {
	display: none;
}

.is-mobile #site-navigation-inner .custom_language_selector_flags {
	display: block;
	text-align: center;
	padding-top: 10px;
}

.is-mobile #site-navigation-inner .custom_language_selector_flags img {
	padding-top: 5px;
	margin: 1px 7px;
}

@media screen and (max-width: 567px) {
	.is-mobile #site-navigation-inner .custom_language_selector_flags img {
		padding-top: 5px;
	}
}


/* para dar espaçamento nos posts na home para mobile */
.postseparator_formobile {
	display: none;
}

.is-mobile .postseparator_formobile {
	display: block;
	margin: 9px 0 45px 0;
	visibility: hidden;
}











