/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
body, h1, h2, h3, h4, h5, form.searchform input.searchfield {
	font-family: "Courier", arial, monospace !important;
	color: #000 !important;
}

/* changes pronxi 
max-width: 100%;
*/
.container {
	max-width: 1400px;
}

/* pronxi */
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
	width: 85%;
	max-width: 1400px;
}
/* changes javi 
max-width: 100%;
*/
.container {
	max-width: 1400px;
}

/* javi */
.col-sidebar.sidebar-main {
	display: flex;
	flex-wrap: wrap;
}

input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input.text, textarea, input.settings-input {
	border: 1px solid #000;
}

input[type=submit] {
	background-image: none;
	background-color: #ffed00;
	border-radius: unset;
	border: 1px solid #000;
	color: #000;
}

input[type=submit]:hover {
	background-color: #fff;
	color: #000;
	background-image: none;
}

.sidebar-small, .sidebar-main, .main-content {
	width: 100%;
}

.singular .col-sidebar.sidebar-small {
	padding-top: 0;
}

.masthead .custom-logo-link img, .masthead .site-logo-link img, .masthead .site-logo-anchor img {
	max-width: 150px;
	margin: 10px;
}

.masthead {
	float: left;
	border-top: none;
	z-index: 10000;
}

.masthead .branding {
	padding: 0 40px;
}

.menu-primary .menu {
	text-align: unset;
}

.menu-primary .menu li ul {
	background: #fff;
}

.menu-primary .menu li ul:before {
	border-bottom-color: #fff;
}

.menu-primary .menu li ul li {
	border-bottom: 1px solid #fafafa;
}

.menu-primary .menu li ul li a {
	color: #000;
}

.menu-primary .menu {
	border-top: none;
	border-bottom: none;
	border-bottom-color: #fff;
	border-top-color: #fff;
}

.menu-primary .menu ul {
	padding-top: 20px;
}

.menu-primary .menu li a {
	color: #000;
	padding: 5px 8px;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: .1em;
	text-transform: capitalize;
}

.menu-primary .menu li a::before {
	display: none;
}

.menu-primary .menu li a:hover {
	color: #ffed00;
}

.menu-primary .menu ul li a::before {
	content: '';
}

.menu-primary .menu ul.sub-menu li a:hover {
	text-decoration: none;
	color: #ffed00;
}

nav {
	padding-top: 20px;
}

.masthead .searchform {
	display: none;
}

.menu-primary .menu li.current-menu-item>a, .menu-primary .menu li ul li.current-menu-item>a {
	background: #ffed00;
	color: #000;
}

/* news detail pages */
.main article a.post-lead-category {
	background-color: #ffed00;
	color: #000;
	font-weight: bold;
}

.main article a.post-lead-category:hover {
	background-color: #fff;
}

.main article .postmetadata {
	width: 50%;
	float: left;
}

.main article .postmetadata a {
	color: #000;
	font-weight: bold;
}

.main article a, div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a {
	color: #000;
	font-weight: bold;
}

.main article a:hover, div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover {
	color: #ffed00;
	text-decoration: none;
}

.main article .postmetadata a:hover {
	color: #ffed00;
}

.main article section.entry {
	width: 60%;
	float: left;
	margin-top: -100px;
}

.main article.category-news section.entry, .main article.category-uncategorized section.entry {
	width: 50%;
}

.main article #jp-post-flair iframe {
	display: none;
	visibility: hidden;
}

#jp-relatedposts h3, div#jp-relatedposts h3.jp-relatedposts-headline em {
	font-size: 1.7em;
	padding: 10px 0;
	color: #000;
	font-weight: bold;
}

#jp-post-flair h3 {
	font-size: 1.1em;
	padding: 10px 0;
	color: #000;
	font-weight: bold;
}

.sd-social-icon .sd-content ul li a.sd-button, .sd-social-text .sd-content ul li a.sd-button, .sd-content ul li a.sd-button, .sd-content ul li .option a.share-ustom, .sd-content ul li.preview-item div.option.option-smart-off a, .sd-content ul li.advanced a.share-more, .sd-social-icon-text .sd-content ul li a.sd-button, .sd-social-official .sd-content>ul>li>a.sd-button, #sharing_email .sharing_send, .sd-social-official .sd-content>ul>li .digg_button>a {
	background-color: #ffed00;
	color: #000 !important;
	border-color: #000 !important;
}

.postnav .more-link a {
	font-size: 1.3em;
	font-weight: bold;
	color: #000;
}

.postnav .prev:before, .postnav .next:after {
	font-size: 1.5em;
	font-weight: bold;
}

.postnav .next, .postnav .prev {
	width: 45%;
	text-align: center;
	margin: 10px;
	min-height: 60px;
	height: auto;
	border: 4px solid #ffed00;
	padding: 10px;
}

.main article a.post-lead-category,
div.taxonomies {
	display: none;
}

/* sections */
section#text-6 {
	width: 80%;
	margin: 0 auto;
}

section#text-6 h3.widgettitle {
	width: 45%;
	float: left;
	font-weight: bolder;
	border-top: none;
	border-bottom: none;
}

section#text-6 div.textwidget {
	float: left;
	width: 55%;
	padding-bottom: 20px;
}

section#text-6 div.textwidget {
	font-size: 1.2em;
}

section#text-6 div.textwidget a, section#text-8 div.textwidget a, section#text-10 div.textwidget a, section#text-11 div.textwidget a, .entry p a, .entry li a {
	font-weight: bolder;
	color: #000;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	padding-bottom: 1px;
}

section#text-6 div.textwidget p:last-of-type a, #jp-relatedposts a {
	border-bottom: none;
}

section#text-6 div.textwidget a:hover {
	color: #ffed00;
}

section#recent-posts-9 {
	float: left;
	width: 100%;
	margin: 0 auto;
}

section#recent-posts-9 .widget-wrap {
	padding-top: 50px;
	margin: 0 auto;
	width: 80%;
	background-image: linear-gradient(to right,#333 10%,rgba(255,255,255,0) 0%);
	background-position: top;
	background-size: 10px 1px;
	background-repeat: repeat-x;
}

section#recent-posts-9 h3.widgettitle {
	border-top: none;
	width: 100px;
	text-align: center;
	border-bottom: none;
	font-weight: bold;
	background-color: #ffed00;
}

section#recent-posts-9 h3.widgettitle::before {
	display: none;
	content: '';
}

section#recent-posts-9 ul {
	list-style-type: none;
	padding-left: 0;
}

section#recent-posts-9 ul li {
	display: inline-block;
	width: 22%;
	margin: 0 10px 0 0;
	padding: 10px 10px 10px 0;
	vertical-align: top;
}

section#recent-posts-9 ul li a {
	display: block;
	font-size: 1.3em;
	font-weight: bold;
	padding: 5px 0;
	color: #000;
}

section#recent-posts-9 ul li a:hover {
	color: #ffed00;
}

section#recent-posts-9 ul li span {
	display: block;
}

section#text-8, section#text-10 {
	width: 40%;
	margin-left: 10%;
	float: left;
}

section#text-11 {
	width: 40%;
	margin-right: 10%;
	float: left;
}

section#text-11 .widget-wrap {
	width: 80%;
	margin-left: 15%;
}

section#text-8 .widget-wrap, section#text-10 .widget-wrap {
	width: 80%;
}

section#text-8 h3.widgettitle, section#text-10 h3.widgettitle, section#text-11 h3.widgettitle {
	border-top: none;
	border-bottom: none;
	font-weight: bold;
	width: 200px;
	background-color: #ffed00;
	text-align: center;
}

section#text-8 .textwidget, section#text-10 .textwidget, section#text-11 .textwidget {
	font-size: 1.3em;
	text-align: justify;
}

section#text-8 .textwidget a, section#text-10 .textwidget a, section#text-11 .textwidget a {
	color: #000;
	font-weight: bold;
}

section#text-8 .textwidget a:hover, section#text-10 .textwidget a:hover, section#text-11 .textwidget a:hover {
	color: #ffed00;
	font-weight: bold;
}

section#twitter_timeline-5, section#rss-4 {
	width: 40%;
	margin-right: 10%;
	float: left;
}

section#twitter_timeline-5 .widget-wrap {
	width: 80%;
	margin-left: 15%;
}

section#twitter_timeline-5 .widget-wrap {
}

section#twitter_timeline-5 h3.widgettitle {
	border-bottom: none;
	border-top: none;
	font-weight: 700;
	width: 280px;
	background-color: #ffed00;
	text-align: center;
}

section#twitter_timeline-5 h3.widgettitle::before {
	padding-bottom: 10px;
	display: none !important;
	font-size: 1.4em;
	text-align: center;
	color: #000;
}

section#twitter_timeline-5 iframe {
	display: block !important;
	position: relative !important;
}

/*pages*/
.page .main article h1.title {
	float: left;
	width: 25%;
	margin-right: 10%;
	text-align: center;
	font-size: 2em;
	background-color: #ffed00;
	font-weight: bold;
}

.page .main article section.entry, 
.archive .main article section.entry,
.archive .main article.category-uncategorized section.entry,
.archive .main article.category-news section.entry {
	margin-top: -10px;
}

article section.entry ul li {
	padding: 10px 0;
}

.page .main article section.entry h4,
.archive .main article section.entry h4 {
	font-size: 1.5em;
	font-weight: bold;
	padding: 10px 0;
}

.page .main article section.entry h5,
.archive .main article section.entry h5 {
	font-size: 1.3em;
	font-weight: bold;
	padding: 10px 0;
	text-transform: capitalize;
}

.main article.category-news h1.title,
.main article.category-uncategorized h1.title {
	width: 40%;
	float: unset;
	font-size: 2em;
	background-color: #ffed00;
	font-weight: bold;
	margin: 20px 10px 20px 0;
	padding: 5px;
}

.archive .main article.post-archive {
	margin-top: 30px;
	margin-bottom: 30px;
}

.archive .main article.category-uncategorized h2,
.archive .main article.category-news h2,
.archive .main article h2 {
	width: 40%;
	font-size: 2em;
	float: unset;
	padding-bottom: 10px;
}

.main article.category-news section.entry, .main article.category-uncategorized section.entry {
	margin-top: -100px;
}

.archive .main article section.entry,
.archive .main article.category-uncategorized section.entry,
.archive .main article.category-news section.entry {
	margin-top: -70px;
}

.page .main article section.entry, {
	margin-top: -10px;
}

.archive .main h1.title {
	font-size: 2.5em;
	font-weight: bold;
	padding-top: 30px;
}

.archive .writer {
	min-height: 50px;
	background: rgba(255,237,0,0.1);
	margin-bottom: 20px;
}

.archive .writer h3 {
	font-size: 2em;
}

.archive .writer img {
	width: 40px;
}

/* articles */
.main-content {
	width: 100% !important;
}

.home .main .main-content article section.entry {
	width: 100% !important;
	margin-top: 30px;
}

.home .main-content .feature img {
	width: 40%;
	display: block;
	margin: 10px auto;
}

.main-content .feature {
	padding: 20px;
	text-align: center;
	margin: 20px 20px 20px 0;
	border: 3px solid rgba(216,216,216,3);
	background-color: rgba(216,216,216,0.25);
}

.home .main-content h3 {
	text-align: center;
}

.home .main-content p {
	width: 80%;
	margin: 0 auto;
}

article {
	width: 80%;
	margin: 0 auto;
}

.main-content h3 {
	font-size: 1.5em;
	font-weight: bold;
}

.main-content #respond h3 {
	font-size: 1.1em;
}

/* news */
.main #main-content {
	border-top: none;
}

.blog .main-post-list {
	width: 100%;
}

.blog .main-post-list article h2 {
	width: 45%;
	padding: 5px 0;
	margin: 0 0 10px;
}

.blog .main-post-list article h2 a, .archive .main article.category-uncategorized h2 a,
.archive .main article.category-news h2 a,
.archive .main article h2 a {
	background: #ffed00;
	padding: 5px;
	color: #000;
}

.blog .main-post-list article h2 a:hover, .archive .main article.category-uncategorized h2 a:hover,
.archive .main article.category-news h2 a:hover,
.archive .main article h2 a:hover {
	background-color: #fff;
}

.blog .main-post-list article .postmetadata {
	width: 50%;
	float: left;
	letter-spacing: .09em;
}

.blog .main-post-list article .postmetadata a {
	color: #000;
	font-weight: bold;
}

.blog .main-post-list article .postmetadata a:hover {
	color: #ffed00;
}

.main-post-list {
	width: 100% !important;
}

.blog .main-post-list article {
	background-image: linear-gradient(to right,#333 10%,rgba(255,255,255,0) 0%);
	background-position: bottom;
	background-size: 10px 1px;
	background-repeat: repeat-x;
}

.main article.post-archive {
	border-bottom: none;
}

.infinite-scroll #infinite-handle span {
	border-radius: unset;
	background-image: none;
	border-color: #000;
	background: #ffed00;
	color: #000;
	font-weight: bold;
}

.infinite-scroll #infinite-handle span:hover, .infinite-scroll #infinite-handle span:focus, .infinite-scroll #infinite-handle span:active {
	background-image: none;
	background-color: #fff;
	color: #000;
}

.blog .main-post-list article {
	padding: 40px 0;
}

.blog .main-post-list article section.entry {
	width: 50%;
	float: left;
	margin-top: -40px;
}

#jetpack_widget_social_icons-5 ul {
	text-align: right;
	padding-top: 100px;
}

img.footer-brand {
	max-width: 120px;
}

footer#footer .footer-widgets {
	max-width: 80%;
}

section#search-2.widget_search {
	right: 0 !important;
	left: inherit !important;
}

footer#footer {
	background: #000;
	width: 100%;
	padding-top: 40px;
	padding-bottom: 40px;
	margin: 0;
/* changes javi */
	margin-left: auto;
	margin-right: auto;
}

footer#footer .footer-wrap {
	border-top: none;
}

footer #nav_menu-3 ul {
	list-style-type: none;
}

footer li {
	font-size: 13px;
	padding: 2px 0;
}

footer a, footer li, footer p {
	color: #999999;
}

footer a:hover, a:hover {
	color: #ffed00;
}

footer #nav_menu-3 ul.sub-menu {
	display: none;
}

form.searchform button.searchsubmit {
	color: #999999;
}

footer #nav_menu-3.widget {
	width: 30%;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=url]:focus, input[type=tel]:focus, input.text:focus, textarea:focus, input.settings-input:focus {
	outline-color: #ffed00;
	border-color: #ffed00;
}

.footer-wrap {
	display: none;
}

.page-id-510.page .main article h1.title {
	width: 400px;
	float: unset;
}

.page-id-510.page .main article section.entry {
	width: 100%;
	margin: 0 auto;
}

.page-id-510.page table {
	width: 100%;
}

.page-id-1197.page table {
	border: none;
	margin-top: -50px;
}

.page-id-1197.page table tr {
	background-color: #fff;
	background: #fff;
	background-image: linear-gradient(to right,#333 10%,rgba(255,255,255,0) 0%);
	background-position: bottom;
	background-size: 10px 1px;
	background-repeat: repeat-x;
}

.page-id-1197.page table tr td {
	padding: 30px 10px;
}

.page-id-1197.page table tr td:first-child {
	width: 150px !important;
}

/* (hdpi) Android*/
@media only screen and (-webkit-device-pixel-ratio:2) and (min-width: 1380px) {
	/* CSS  */
	section#text-8 {
		margin-left: -39.9%;
	}
	
	section#twitter_timeline-5 {
		margin-left: -.5%;
	}
	
	/* Fix width in phones */
	nav.menu-primary {
		float: unset;
	}
}

@media only screen and (max-width: 1024px) {
	section#recent-posts-9 ul li {
		width: 40%;
	}
	
	.page.page-id-1197 .main article h1.title, .page.page-id-1197 .main article section.entry {
		width: 100%;
		float: unset;
	}
}

@media only screen and (max-width: 782px) {
	.menu-primary .menu li ul {
		background: #000;
	}
	
	nav.menu-primary .menu {
		z-index: 1000000;
	}
	
	.menu.menu-on {
		background: #000;
		position: fixed;
		right: 0;
	}
	
	.menu.menu-on li a, .menu.menu-on li {
		color: #fff !important;
	}
	
	.menu.menu-on li.current-menu-item a, .menu.menu-on li.current-menu-item {
		color: #000 !important;
	}
	
	.menu-primary .menu.menu-on .menu-toggle {
		color: #fff !important;
		margin-bottom: 0;
		padding: 15px;
	}
	
	.menu.menu-on ul.sub-menu {
		padding-top: 0;
	}
	
	nav.menu-primary {
		padding: 20px;
		float: right;
	}
	
	.main .sidebar-small {
		display: unset;
	}
	
	section#recent-posts-9 ul li {
		width: 40%;
	}
	
	.menu-primary .menu .menu-toggle {
		font-size: 1.5em;
	}
	
	/* Fix width in phones */
	nav.menu-primary {
		float: unset;
	}
}

@media only screen and (max-width: 600px) {
	section#recent-posts-9 ul li, section#text-8, section#twitter_timeline-5, section#text-10,section#text-11, section#twitter_timeline-5 .widget-wrap, section#text-8 .widget-wrap, section#text-10 .widget-wrap, section#text-11 .widget-wrap {
		width: 100%;
		margin-left: unset;
		margin-right: unset;
	}
	
	.col-sidebar.sidebar-main section {
		width: 90% !important;
		margin: 30px 0;
		padding: 0 20px;
		display: block;
	}
	
	.page-id-1197.page table tr td {
		display: block;
		padding: 20px 10px 10px;
	}
	
	section#text-6 div.textwidget, section#text-6 h3.widgettitle, .page .main article h1.title, .main article section.entry, .blog .main-post-list article h2, .blog .main-post-list article .postmetadata, .blog .main-post-list article section.entry, .main article.category-news h1.title, .main article.category-uncategorized h1.title, .main article .postmetadata, .main article.category-news section.entry, .main article.category-uncategorized section.entry, footer #nav_menu-3.widget, .archive .main article.category-uncategorized h2, .archive .main article.category-news h2, .archive .main article h2, .archive .main article section.entry, .archive .main article.category-uncategorized section.entry, .archive .main article.category-news section.entry {
		width: 100%;
		float: unset;
	}
	
	footer #nav_menu-3.widget {
		top: 100px !important;
	}
	
	footer #custom_html-4 div.textwidget p {
		position: absolute;
		bottom: -200px;
	}
	
	.main article section.entry, .blog .main-post-list article section.entry, .main article.category-news section.entry, .main article.category-uncategorized section.entry, .archive .main article section.entry, .archive .main article.category-uncategorized section.entry, .archive .main article.category-news section.entry {
		margin-top: unset;
	}
	
	/* Fix width in phones */
	nav.menu-primary {
		float: unset;
	}
}

@media only screen and (max-width: 500px) {
	nav.menu-primary {
		margin-top: -80px;
	}
	
	/* Fix width in phones */
	nav.menu-primary {
		float: unset;
	}
}