/*
Theme Name: PontoSimples Blog
Theme URI:
Description: Site Personalizado
Author: Guilherme Farias
Author URI: http://www.guilhermefarias.com
Version: 7.0
*/

/*----------------------------------------------*\
					Defaults
\*----------------------------------------------*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

html {
	scroll-behavior: smooth;
}

body {
	color: #34495e;
	font-weight: 100;
	font-size: 14px;
	background-color: #f8fafc;
	font-family: 'OpenSans', Helvetica, Arial, sans-serif;
}

img {
	object-fit: cover;
}

strong,
.strong {
	font-weight: 600;
}

header,
section {
	float: left;
	width: 100%;
}

.cpointer {
	cursor: pointer !important;
}

.clearfix {
	clear: both;
}

.overflow {
	overflow: hidden !important;
}

.inner {
	width: 1100px;
	margin: 0 auto;
}

@media (max-width: 1160px) {
    .inner {
        width: 90%;
    }
}

/* Breakpoints: 1160px, 1100px e 600px */


/*----------------------------------------------*\
					Header
\*----------------------------------------------*/


.header {
	color: #fff;
	height: 300px;
	background: linear-gradient(60deg,#562db5,#19afc9);
}

.header-nav {
	float: left;
	width: 100%;
	height: 40px;
	margin-top: 20px;
}

.nav-logo-icon {
	float: left;
	width: 36px;
	height: 36px;
	fill: #fff;
}

.nav-logo {
	float: left;
	height: 40px;
	font-size: 28px;
	font-weight: 100;
	line-height: 40px;
	margin-left: 5px;
	letter-spacing: -0.5px;
	font-family: 'Ropa Sans', Helvetica, Arial, sans-serif;
}

.nav-link {
    color: #fff;
    float: right;
    font-size: 14px;
    padding: 0 10px;
    margin-left: 10px;
    height: 38px;
    font-weight: 400;
    line-height: 34px;
    cursor: pointer;
    border-radius: 3px;
    text-transform: uppercase;
    border: 2px solid transparent;
}

.nav-link:hover {
	border-color: #fff;
}

.nav-link-bordered {
    color: #fff;
    line-height: 34px;
    border-radius: 3px;
    border: 2px solid #fff;
}

.nav-link-bordered:hover {
	color: #fff;
	border-color: #ad26b4;
	background-color: #ad26b4;
}

.nav-link-fill {
	color: #ad26b4;
    line-height: 34px;
    border-radius: 5px;
	border: 2px solid #ad26b4;
	background-color: #fff;
	animation: nav 3s infinite;
}

.nav-link-fill:hover {
	color: #fff;
	background-color: #ad26b4;
}

@keyframes nav {
	0% { transform: rotate(0deg)}
	2% { transform: rotate(-3deg)}
	6% { transform: rotate(3deg)}
	8% { transform: rotate(0deg)}
	100% { transform: rotate(0deg)}
}

@media (max-width: 900px) {
	.nav-logo-wrapper {
		width: 185px;
		margin: 0 auto;
		display: block;
	}

	.nav-logo {
		font-size: 26px;
	}

	.nav-logo-icon {
		width: 32px;
		height: 32px;
	}

    .mobile-menu {
        width: 30px;
        height: 40px;
        float: left;
		cursor: pointer;
		padding-top: 3px;
    }

    .mobile-menu-bar {
        width: 30px;
        height: 3px;
        margin: 4px 0;
        float: left;
        background-color: #fff;
	}

	.mobile-menu-overlay {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        position: fixed;
        z-index: 110;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .mobile-menu-opened .mobile-menu-overlay  {
        display: block;
	}

	.nav-links {
        top: 40px;
        left: 10%;
        width: 80%;
        display: none;
        position: fixed;
        z-index: 120;
        background-color: #fff;
    }

    .mobile-menu-opened .nav-links {
        display: block;
    }

	.header-nav {
		height: auto;
		margin-top: 0;
		padding: 5px 0;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100;
		background-image: linear-gradient(180deg,#5f75c4, #495bbd);
	}

    .nav-link {
        color: #232a30;
		width: 100%;
		height: auto;
        font-size: 18px;
        margin: 0;
        padding: 10px 5%;
        text-align: center;
		border-color: #ccc !important;
		border-width: 1px;
		border-radius: 0;
    }

    .nav-link:hover {
        color: #232a30;
		border-color: #ccc;
		border-width: 1px;
		background-color: #ccc;
	}

	.nav-link.nav-link-fill {
		animation: none;
	}
}



/*----------------------------------------------*\
					Sidebar
\*----------------------------------------------*/

.sidebar {
	width: 300px;
	min-height: 500px;
	float: right;
}

@media (max-width: 1000px) {
    .sidebar {
        display: none;
    }
}

.sidebar-block {
	float: left;
	width: 100%;
	margin-bottom: 30px;
	overflow: hidden;
	background-color: #fff;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,.09);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,.1);
}

.sidebar-block-title {
	color: #fff;
	font-weight: 600;
	font-size: 18px;
	padding: 15px 20px;
	background-color: #008ffb;
	background-image: linear-gradient(45deg,#5270e8,#0082e3);
}

.sidebar-block-body.padding,
#searchform {
	padding: 15px 20px;
}

#searchform #s {
	width: 100%;
	padding: 10px;
	font-size: 14px;
	border-radius: 5px;
	border: 1px solid #ccc;
}

#searchsubmit,
.screen-reader-text {
	display: none;
}

.sidebar-list-item,
.sidebar-block .cat-item,
.sidebar-block > ul > li > a {
	padding: 10px 0;
	cursor: pointer;
	border-top: 1px solid #eee;
}


.sidebar-list-item:hover,
.sidebar-block .cat-item:hover,
.sidebar-block > ul > li > a:hover {
	color: #562db5;
}

.sidebar-list-item:first-child,
.sidebar-block .cat-item:first-child,
.sidebar-block > ul > li:first-child {
	border-top: none;
}

.sidebar-post {
	color: #34495e;
	font-weight: 400;
	float: left;
	width: 100%;
	cursor: pointer;
	padding: 10px;
	border-top: 1px solid #eee;
}

.sidebar-post:first-child {
	border-top: none;
}

.sidebar-post:hover {
	color: #562db5;
	background-color: #f5f5f5;
}

.sidebar-post-image {
	width: 80px;
	height: 70px;
	float: left;
	border-radius: 3px;
	margin-right: 10px;
}


/*----------------------------------------------*\
					Posts
\*----------------------------------------------*/


.body {
	margin-top: -130px;
	padding-bottom: 40px;
}

.posts {
	width: 770px;
	float: left;
}

@media (max-width: 1160px) {
    .posts {
		width: calc(100% - 320px);
    }
}

@media (max-width: 1000px) {
    .posts {
		width: 100%;
		float: none;
		margin: 0 auto;
    }
}

.post {
	color: #34495e;
	padding: 40px 50px;
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	float: left;
	width: 100%;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,.09);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,.1);
}

.post-title {
	color: #4551bb;
	font-size: 32px;
	line-height: 44px;
	margin-bottom: 10px;
	font-weight: 600;
}

.post-meta {
	width: 100%;
	float: left;
	font-size: 14px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.post-meta-row {
	margin-right: 5px;
}


.post-meta-row.opaced {
	opacity: 0.5;
}

.post-meta-row.author {
	float: none;
	font-weight: 600;
}

.post-description p {
	margin: 14px 0;
	color: #34495ee0;
	color: #34495e;
}

.post-description p:last-child {
	margin-bottom: 0;
}

.post-description h2 {
	font-weight: 600;
	margin: 24px 0 14px;
}

.post-image {
	width: 100%;
	height: auto;
	margin: 10px 0;
}

.post-image.highlight {
	margin: 14px 0;
	border: 1px solid #bbb;
	box-shadow: 0 12px 18px 2px rgba(34,0,51,.04),0 6px 22px 4px rgba(7,48,114,.12),0 6px 10px -4px rgba(14,13,26,.12);
}

.post-image-click-to-expand {
	width: 100%;
	text-align: center;
	margin-top: -14px;
	font-style: italic;
	font-size: 14px;
}

/*------------ HOME --------------*/

.home-posts {
	width: 100%;
	float: left;
}

.home-post {
	color: #34495e;
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	float: left;
	width: 100%;
	height: 250px;
	cursor: pointer;
	overflow: hidden;
	margin-bottom: 40px;
	background-color: #fff;
	transition: transform 0.1s;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,.09);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,.1);
}

.home-post:hover {
	background-color: #efeff9;
	transform: scale(1.01);
}

.home-post-image {
	width: 240px;
	height: 250px;
	float: left;
	overflow: hidden;
}

.home-post-image img {
	width: 100%;
	height: 100%;
}

.home-post:hover .home-post-image {
	border-color: #ddcfff;
}

.home-post-info {
	float: left;
	font-size: 14px;
	line-height: 22px;
	width: calc(100% - 240px);
	position: relative;
	padding: 20px 25px;
}

.home-post-info-shadow {
	color: #562db5;
	width: 100%;
	height: 50px;
	padding-top: 20px;
	font-weight: 600;
	text-align: center;
	left: 0;
	top: 200px;
	position: absolute;
	background-image: linear-gradient(rgba(255,255,255,0.7),#fff 80%);
}

.home-post:hover .home-post-info-shadow {
	background-image: linear-gradient(#efeff9cc,#ddcfff 80%);
}

.home-post-title {
	color: #562db5;
	width: 100%;
	font-weight: 600;
	font-size: 20px;
	line-height: 28px;
}

.home-post-meta {
	width: 100%;
	float: left;
	margin: 5px 0;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.home-post-description {
	white-space: pre-line;
}

/*------------ PAGINATION --------------*/

.pagination {
	width: 100%;
	float: left;
	text-align: center;
	margin-bottom: 40px;
}

.pagination-link {
	color: #562db5;
	margin: 0 3px;
	padding: 0 12px;
	min-width: 40px;
	font-weight: 600;
	line-height: 40px;
	border-radius: 3px;
	display: inline-block;
	background-color: #fff;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,.1);
}

.pagination-link:hover,
.pagination-link.active {
	color: #fff;
	background-color: #562db5;
}

/*------------ ABOUT AUTHOR --------------*/

.about-author {
	width: 100%;
	margin-top: 30px;
	float: left;
	color: #53486f;
	padding: 40px 50px 50px 50px;
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	float: left;
	width: 100%;
	background-color: #efeff9;
	border-radius: 10px;
	border: 2px solid #562db5;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,.09);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,.1);
}

.about-author-title {
	color: #562db5;
	font-weight: 600;
	font-size: 24px;
	margin-bottom: 10px;
}

/*------------ RELATED POSTS --------------*/

.related-posts {
	width: 100%;
	float: left;
	margin-top: 30px;
}

.related-posts-title {
	color: #562db5;
	font-weight: 600;
	font-size: 24px;
	margin-bottom: 10px;
}

.related-post {
	color: #34495e;
	padding: 20px;
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
	float: left;
	width: calc(50% - 10px);
	margin-right: 20px;
	margin-bottom: 20px;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,.09);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,.1);
}

.related-post:nth-child(2n+1) {
	margin-right: 0;
}

.related-post-image {
	width: 100%;
	height: 150px;
}

.related-post-title {
	width: 100%;
	height: 52px;
	margin-top: 8px;
}


/*
---------------------------------------------------------------
--------------------------- MODAL PHOTO --------------------------
---------------------------------------------------------------
*/

.modal-photo-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    overflow-y: auto;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-photo-overlay.show {
    display: block;
}

.modal-photo .modal-close {
	top: -15px;
	right: 10px;
	margin: 0;
	position: absolute;
}

.modal-photo {
	width: 90%;
	top: 25px;
	left: 50%;
	max-width: 1680px;
	min-height: 200px;
    margin: 0 auto;
    position: absolute;
    z-index: 1200;
	margin-left: -45%;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 27.26px 1.74px rgba(0,0,0,.4);
	background-image: url(../img/loading.gif);
	background-repeat: no-repeat;
	background-position: center;
    border: 3px solid #1E5BF1;
    background-color: #f8fafc;
}

.modal-photo-img {
	width: 100%;
	float: left;
}

@media (max-width: 600px) {
	.modal {
		width: 100%;
		top: 0;
		left: 0;
		margin: 0;
	}
}


/*
---------------------------------------------------------------
--------------------------- PAGENAVI --------------------------
---------------------------------------------------------------
*/

#pagenavi {
	float: left;
}

.wp-pagenavi a,
.wp-pagenavi span {
	display: block;
	float: left;
	padding: 0.5rem 0.75rem;
	margin-left: -1px;
	line-height: 1.25;
	background-color: #fff;
	border: 1px solid #dee2e6;
}

.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	color: #555;
	box-shadow: inset 0 .15em .3em rgba(27,31,35,.15);
	background-color: #e9ecef;
	border-color: #dee2e6;
}

.wp-pagenavi .pages {
    border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.wp-pagenavi .nextpostslink {
    border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.wp-pagenavi span.current {
	font-weight: 600;
}


/*----------------------------------------------*\
					Footer
\*----------------------------------------------*/


footer {
	color: #738a94;
	float: left;
	width: 100%;
	font-size: 13px;
	padding: 40px 0;
	background-color: #ffffff;
}

.footer-column {
	float: left;
	width: 230px;
	padding-right: 40px;
}

.footer-column:first-child {
	width: 410px;
}

.footer-column:last-child {
	padding-right: 0;
}

@media (max-width: 1160px) {
	.footer-column {
		width: 25% !important;
	}
}

@media (max-width: 1010px) {
	.footer-column {
		width: 50% !important;
	}

	.footer-column:last-child {
		padding-top: 20px;
	}
}

@media (max-width: 600px) {
	.footer-column {
		width: 100% !important;
		padding: 0;
		text-align: center;
		margin-bottom: 20px;
	}

	.footer-column:last-child {
		padding-top: 0;
		margin-bottom: 0;
	}
}

.footer-title {
	color: #242628;
	font-size: 14px;
	margin-bottom: 10px;
	font-weight: 600;
}

.footer-description {
	width: 100%;
	margin-top: 10px;
	font-weight: 100;
}

.footer-item {
	margin: 2px 0;
	display: block;
	cursor: pointer;
	font-weight: 100;
}

.footer-item:hover {
	color: #242628;
}

.footer-logo-icon {
	float: left;
	width: 30px;
	height: 30px;
	fill: #738a94;
}

.footer-logo {
	float: left;
	height: 30px;
	font-size: 22px;
	font-weight: 100;
	line-height: 30px;
	margin-left: 2px;
	letter-spacing: -0.2px;
	font-family: 'Ropa Sans';
}

.footer-logo-wrapper {
	margin-bottom: 10px;
}

@media (max-width: 600px) {
	.footer-logo-wrapper {
		width: 150px;
		margin: 0 auto 10px;
	}
}

.footer-social-icon {
	width: 40px;
	height: 40px;
	float: left;
	margin-left: 5px;
	margin-top: 15px;
	cursor: pointer;
}

@media (max-width: 600px) {
	.footer-social-icons {
		width: 180px;
		margin: 0 auto;
	}
}

.footer-social-icon.facebook {
	background-image: url(svg/icon-facebook.svg);
}

.footer-social-icon.twitter {
	background-image: url(svg/icon-twitter.svg);
}

.footer-social-icon.linkedin {
	background-image: url(svg/icon-linkedin.svg);
}

.footer-social-icon.youtube {
	margin-left: 0;
	background-image: url(svg/icon-youtube.svg);
}

.footer-social-icon.instagram {
	background-image: url(svg/icon-instagram.svg);
}

.footer-app-store,
.footer-google-play {
	float: left;
	cursor: pointer;
}

.footer-app-store {
	width: 65px;
	height: 65px;
	background-image: url(svg/app-store.svg);
}

.footer-google-play {
	width: 59px;
	height: 59px;
	margin-left: 5px;
	border-radius: 10px;
	margin-top: 3px;
	border: 1px solid #e5e5e5;
	background-color: #f5f5f5;
	background: url(svg/google-play.svg) no-repeat center/65%, linear-gradient(0deg,#f0f0f0,#fff);
}

@media (max-width: 600px) {
	.footer-apps-wrapper {
		width: 130px;
		margin: 0 auto;
	}
}
