/*
Theme Name: PERERENOM
Theme URI: https://www.pererenom.com/
Author: David Oliveras
Version: 2011
*/

body {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	margin: 0px;
	padding: 0px;
	color: #2d2d2d;
	background-color: #e9ebe7;
	background-image: url(images/fons.jpg);
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
}
strong {font-weight: 700;}
a:link { color: #82910c; text-decoration: none; }
a:visited { color: #82910c; text-decoration: none; }
a:active { color: #82910c; text-decoration: none; }
a:hover { color: #82910c; text-decoration: underline; }

p {margin: 0 0 10px 0; padding: 0; text-align: justify;}
br {margin: 0 0 10px 0; display: block;}
table {width: 100% !important; margin-bottom: 20px; text-align: justify !important;}
h1 {
	font-family: 'Bitter', serif;
	text-align: left;
	display: block;
	margin: 0;
	font-size: 20px;
	text-transform: uppercase;
	font-weight:  bold;
	color: #594741;
	margin-bottom: 20px;
	margin-top: 20px;
	border-top: 2px solid #82910c;
    border-bottom: 2px dotted #82910c;
	padding-top: 5px;
	padding-bottom: 4px;
	}
h1:before {content: "►"; font-family: 'Bitter', serif; color: #82910c; padding-right: 10px; font-size: 18px; vertical-align: bottom;} 
h1 a {
	color: #594741;
	text-decoration: none;
	}
h1 a:hover {
	color: #afb86a;
	text-decoration: none;
	}

h2 {
	font-size: 20px;
	text-align: left;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
h2 a:link, a:visited {
	text-decoration: none;
}
h2 a:hover{
	text-decoration: underline;
}

h3 {
	font-size: 18px;
	text-align: left;
	font-weight: bold;
	text-decoration:none;
	color:#594741;
	text-transform: uppercase;
}
input {
	width: 400px;
	border: 1px #594741 solid;
	padding: 15px;
	color: #594741;
	margin-top: 5px;
	margin-bottom: 10px;
	}
input:focus {
	background-color: #82910c;
	color: #ffffff;
	}
textarea {
	width: 400px;
	height: 100px;
	margin-top: 5px;
	border: 1px #594741 solid;
	padding: 15px;
	color: #594741;
	overflow: auto;
	margin-bottom: 10px;
	}
textarea:focus {
	background-color: #82910c;
	color: #ffffff;
	}
input[type="submit"] {
	 border: none;
	 cursor: pointer;
	 color: #ffffff;
	 font-size: 18px !important;
	 font-weight: bold !important;
	 background-color: #82910c;
	 padding: 15px;
	 margin-bottom: 10px;
	 margin-top: 15px;
	 text-transform: uppercase;
	 width: 100px;
}
input[type="submit"]:hover {
	color: #ffffff;
	background-color: #594741;
	}

#post574 img {border: 1px solid black;}
#post2545 img {border: 1px solid black; max-width: 190px !important; height: auto !important;}
#post2545 .wp-caption-text {margin-left: 10px;}
#post3998 h2 {margin-bottom: 20px;}
	
/* CONTENIDOR */
#general {
	width: 970px;
	background-color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	padding-bottom: 20px;
	overflow: hidden;
	}
	
/* HEADER */
.header {
	width: 970px;
	height: 326px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background: linear-gradient(#4b403e 44px, #ffffff 0);
}

.logo {
	position: absolute;
	left: 20px;
	top: 10px;
	}

.logo a {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 25px;
    color: #ffffff;
    font-family: 'Bitter', serif;
    text-align: left;
    letter-spacing: 1px;
	text-decoration: none;
    }

.idiomes {
	position: absolute;
	right: 175px;
	top: 10px;
	color: #ccc;
	text-transform: uppercase;
	font-size: 14px;
	}
.idiomes a {
	color: #ccc;
	text-decoration: none;
	padding: 0 5px;
}
.idiomes a:hover {
	color: #82910c;
	text-decoration: none;
}
.cercaweb {
	position: absolute;
	right: 15px;
	top: 6px;
	width: 135px;
	}
.cercador {
	width: 90px;
	background-color: #fff;
	padding: 2px;
	}
.cercaweb input[type="submit"] {
   width: 21px;
	height: 21px;
	cursor: pointer;
	border: 0px;
	background-color: transparent !important;
	text-indent: -9999px;
	font-size: 0px;
	line-height: 0;
	 font-weight: bold;
	 text-transform: uppercase;
	 background-image: url(images/search.svg);
	 background-repeat: no-repeat;
	 margin-top: 5px !important;
	background-size: 18px 18px;
}
.entradeta {
	float: right;
	margin-right: 20px;
	margin-top: 55px;
	width: 255px;
	height: 265px;
	overflow: hidden;
	color: #525151;
	font-size: 13px;
	line-height: 17px;
	}
	
.entradeta img {
	margin-top: 5px;
	border: 0px;
	}
.intro {column-count: 2; column-fill: balance; column-gap: 20px; padding-top: 15px; padding-bottom: 5px; display: block;}
.portada {
	float: left;
	margin-top: 44px;
	width: 670px;
	height: 282px;
	overflow: hidden;
	}

/* MENÚ SUPERIOR */
.menu_superior {
	width: 100%;
	height: 46px;
	background-color: #5f453f;
	margin-left: auto;
	margin-right: auto;
	padding-left: 8px;
	margin-bottom: 20px;
	box-shadow: 0 8px 8px -8px rgba(0, 0, 0, 0.5);
	position: sticky;
    top: 0;
	z-index: 100;
}
.menu_superior ul {
	margin:0;
	padding:0;
	display: block;
	}
.menu_superior li {
		float: left;
		padding: 0px;
		background-image: url(images/li.png);
		background-position: right;
		background-repeat: no-repeat;
		padding-right: 30px;
		margin-top: 5px;
		margin-left: 10px;
		list-style:none;
		position: relative;
		}
#menu-superior li:last-child {background-image: none;}
.menu_superior li a {
		color: #fff;
		font-weight: bold;
		line-height: 40px;
		text-decoration:none;
		text-transform: uppercase;
		padding: 3px;
		}
.menu_superior li a:hover {
		background-color: #fffffd;
		padding: 3px;
		color: #5f453e;
			}			
.menu_superior li.current-menu-item a {
		background-color: #fffffd;
		padding: 3px;
		color: #5f453e;
			}
.menu_superior li.casa a:active {
		background-color: #fffffd;
		padding: 3px;
		color: #5f453e;
			}			
			
/* SUBMENÚ SUPERIOR */			
.menu_superior li ul {
		display:none;
		height: auto;
		width: auto;
		min-width: 250px;
		position:absolute;
		z-index: 10;
		background-color: #5f453e;
		filter: alpha(opacity=90);
        padding: 0 15px 15px 15px;
		opacity: .9;
		font-size: 12px;
		top: 40px;
		left: -19px;
		}
.menu_superior li:hover ul {
		display: block;
		}
.menu_superior li li {
		padding: 0px;
		background-image: none;
		background-color: transparent;
		clear: both;
		margin-bottom: -10px;
	    margin-left: 5px;
		}		
.menu_superior li:hover li a {
		color: #FFF;
		margin-right: 0px;
		background-color: transparent;
		}
.menu_superior li ul a {
		background-color: transparent;
		}
.menu_superior li ul a:hover, .menu_superior li ul li:hover a {
		background-color: transparent;
		text-decoration: none;
		color: #82910c;
			}
		
/* CONTINGUT */
.contingut {
	width: auto;
	padding-left: 20px;
	padding-right: 20px;
	}
		
/* POSTS */	
.content {
	width: 930px;
	overflow: hidden;
	}
.top_title {
	color: #594741;
	font-size: 12px;
	margin-top: -10px;
	font-weight: bold;
	display: block;
	margin-bottom: 10px;
    overflow: hidden;
	}
.data {
	float: left;
	width: auto
	}
.textdata {
	overflow: hidden;
	clear: both;
	min-height: 220px;
	padding-top: 10px;
	}
.textdata p {
	margin-bottom: 20px;
	}

.video {
	text-align: center;
	margin-top: 30px;
    margin-bottom: 30px;
	}

p > iframe {margin: 0 auto; display: block;}

#post38 .textdata {
    column-count: 2;
    column-fill: balance;
    column-gap: 20px;
    padding-bottom: 25px;
    display: block;
}

.wp-caption {
	text-align: center;
	}
.wp-caption-text {
	padding: 5px;
	font-size: 12px;
	text-transform: uppercase;
	color: #594741;
	font-weight: bold;
	font-style: italic;
	}
.wp-caption img {
	border-bottom: 1px solid #594741 !important;
	padding-top: 5px;
	}
.tags {
	padding: 3px;
	padding-left: 25px;
	font-size: 12px;
	text-transform: uppercase;
    padding-top: 15px;
    padding-bottom: 25px;
	border-top: 1px solid #2d2d2d;
	background-image: url(images/tag.svg);
	background-size: 15px 15px;
	background-position: 5px 18px;
	background-repeat: no-repeat;
	line-height: 18px;
}
.tags a {
	color: #594741;
	font-weight: bold;
}

	
/* SIDEBAR */
.sidebar {
	width: auto;
	overflow: hidden;
	padding-bottom: 30px;
	margin-top: 10px;
	border-top: 3px solid #594741;
	padding-top: 20px;
}

.sidebar_01 {
	float: left;
	width: 270px;
	margin-top: 7px;
	}
.sidebar_02 {
	float: left;
	width: 380px;
	margin-left: 20px;
	overflow: hidden;
	}
.sidebar_02 ul {
	margin: 0;
	padding: 0;
	} 

.sidebar_02 li {
	border-bottom: 1px dotted #82910c;
	list-style: none;
	margin-top: 10px;
    background-image: none !important;
	padding: 0 0 10px 0 !important;
	font-size: 14px !important;
	text-align: justify;
	}
.sidebar_02 li:last-child {border-bottom: none !important;}
.sidebar_02 .twitter_time {display: none !important;}
.sidebar_03 {
	float: left;
	width: 240px;
	margin-left: 20px;
	}
.sidebar_03 img:hover {
	filter: alpha(opacity=50);
    opacity:0.5;
	}
/* FOOTER */
.footer {
	width: 930px;
	height: 86px;
	background: linear-gradient(#4b403e 32px, #333333 34px, #594741 0);
	margin-left: auto;
	margin-right: auto;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1), 0 8px 6px -6px black;
    margin-bottom: 20px;
	color: #FFFFFF;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 7px;
	position: relative;
}
.powered {
    display: none;
	}
.emailcontact {
	font-size: 22px;
	font-weight: bold;
	position: absolute;
	left: 20px;
	bottom: 17px;
	}
.emailcontact a {
	color: #FFF;
	text-decoration: none;
	font-family: 'Bitter', serif;
	}	
.emailcontact a:hover {
	color: #82910c;
	text-decoration: none;
	}
.xarxes {
	font-size: 21px;
	font-weight: bold;
	position: absolute;
	right: 20px;
	bottom: 5px;
	}
	
.xarxes div {
	float: right;
	width: auto;
	margin-left: 5px;
	font-size: 13px;
	font-weight: normal;
}
.xarxes img:hover {
	filter: alpha(opacity=50);
    opacity:0.5;
	}
.tweet-text {font-size: 14px; line-height: 17px;}

/* MENÚ INFERIOR */
#menu-inferior {
	width: auto;  
	padding: 0px;
	margin: 0px;
	display: block;
	padding-bottom: 10px;
    margin-top: -2px;
}
.menu_inferior li {
	font-weight: bold;
	list-style: none;
	width: auto;
	float: left;
	font-size: 14px;
	border-right: 1px solid #555555;
	margin-right: 10px;
	padding-right: 10px;
    text-transform: uppercase;
		}
.menu_inferior li:last-child {
		border-right: 0px;
	}
.menu_inferior li a {
	color: #FFF;
	text-decoration: none;
	}
.menu_inferior li a:hover {
	color: #82910c;
	text-decoration: none;
	}	
.menu_inferior .sub-menu {
	display: none;
	}	
		
/* ARXIUS */

/* Paginador */
.wp-pagenavi {text-align: center; margin: 40px 0 30px 0;}
.wp-pagenavi a {text-decoration: none;}
.wp-pagenavi .pages, .wp-pagenavi .last, .wp-pagenavi .first, .wp-pagenavi .extend {display: none;}
.wp-pagenavi .page, .wp-pagenavi .current {margin: 0 5px; background-color: #fff; border-radius: 20px; text-align: center; display: inline-block; vertical-align: middle; width: 30px; height: 30px; line-height: 30px; font-weight: 700; font-family: 'Bitter', serif;}
.wp-pagenavi .current, .wp-pagenavi .page:hover {background-color: #4a403e; color: #fff;}

.navigation {
    font-family: 'Bitter', serif;
    font-weight: 700;
    font-size: 18px;
	margin-left: auto;
	margin-right: auto;
	text-transform: uppercase;
	padding: 10px 25px 15px 25px;
    background-color: #82910c;
	overflow: hidden;
    margin-bottom: 30px;
    color: #fff;
	}
.navigation .alignright {width: 48%; text-align: right; margin-left: 10px !important; margin-top: 5px !important; margin-bottom: 5px !important;}
.navigation .alignleft {width: 48%; text-align: left; margin-right: 10px !important; margin-top: 5px !important; margin-bottom: 5px !important;}
.navigation .alignright a {
	color: #fff;
	text-decoration: underline;
	}
.navigation .alignright a:hover {
	color: #fff;
	}
.navigation .alignleft a {
	color: #fff;
	text-decoration: underline;
	}
.navigation .alignleft a:hover {
	color: #fff;
	}
.navigation img {
	border: 0px;
	}

.alignright {
	float: right;
	width: auto;
	margin-left: 20px;
	margin-top: 5px;
	margin-bottom: 20px;
	}
.alignleft {
	float: left;
	width: auto;
	margin-right: 20px;
	margin-top: 5px;
	margin-bottom: 20px;
	}

/* CERCA */
 
.postscerca {
	width: 280px;
	float: left;
	margin-left: 10px;
	margin-right: 10px;
	height: 55px;
	margin-bottom: 15px;
	}
.postscerca h2 {
	font-size: 14px !important;
	line-height: 15px;
	}
	 
 /* HOMEPAGE */
.llistatpost {
	display: grid;
    grid-template-columns: 1fr;
	grid-gap: 20px;
	margin: 30px 0;
}
.postsportada {
	display: grid;
    grid-template-columns: 120px 1fr;
	grid-column-gap: 20px;
	border-bottom: 1px dotted #82910c;
    padding-bottom: 20px;
	 	 }
.postsportada:last-child {border: 0; padding-bottom: 0;}
.postsportada p {margin-bottom: 0;}
.imgportada {
	margin-top: 5px;
	width: 120px;
	height: 90px;
	background-color: #82910c;
	}	
.imgportada img {
	border: 0px;
	width: 120px;
	height: 90px;
	}	
.dataportada {
	font-size: 12px;
	margin-bottom: 10px;
	}

/* EDITOR HTML */

.titol_gran_marro {
	font-size: 20px;
	font-weight:  bold;
	height: 36px;
	color: #594741;
	}
p.titol_gran_marro {
	margin-bottom: 0px !important;
	}
.titol_mitja_marro {
	font-size: 18px;
	height: 36px;
	color: #594741;
	}
p.titol_mitja_marro {
	margin-bottom: 0px !important;
	}
.titol_petit_marro {
	font-size: 15px;
	height: 36px;
	color: #594741;
	}
p.titol_petit_marro {
	margin-bottom: 0px !important;
	}
	
.titol_gran_verd {
	font-size: 20px;
	font-weight:  bold;
	height: 36px;
	color: #82910c;
	}
p.titol_gran_verd {
	margin-bottom: 0px !important;
	}
.titol_mitja_verd {
	font-size: 18px;
	height: 36px;
	color: #82910c;
	}
p.titol_mitja_verd {
	margin-bottom: 0px !important;
	}
.titol_petit_verd {
	font-size: 15px;
	height: 36px;
	color: #82910c;
	}
p.titol_petit_verd {
	margin-bottom: 0px !important;
	}
	
/******************************************
*   INSTAGRAM                     
******************************************/
#sb_instagram {padding-bottom: 20px !important;}
.sidebarcaixa2 li {float: left; margin: 4px; list-style: none;}
.sidebarcaixa2 img {transition:All 1s ease; margin-left: 1px; margin-right: 1px;}
.sidebarcaixa2 img:hover {opacity: 0.5;} 

/** FORMULARI **/

:focus {outline: none;}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus {border: 1px #4a403e solid; -webkit-text-fill-color: #4a403e; -webkit-box-shadow: 0 0 0 0 transparent inset; transition: background-color 5000s ease-in-out 0s;}
.wpcf7-form {display: grid; grid-gap: 40px; grid-template-columns: 1fr 1fr; margin: 0 auto; padding-top: 20px; width: 75%;}
.wpcf7 p {margin-bottom: 0;}
.wpcf7 p:nth-child(4), .wpcf7 p:nth-child(5), .wpcf7 .wpcf7-response-output, .wpcf7 .cf-turnstile {grid-column: 1 / 3;}
.wpcf7 .cf-turnstile {max-width: 300px;}
.wpcf7 input {font-family: 'Raleway', sans-serif; width: calc(100% - 30px); border: 1px solid #4a403e; background-color: transparent; font-size: 1em; margin-bottom: 0;}
.wpcf7 textarea {font-family: 'Raleway', sans-serif; width: calc(100% - 30px); height: 100px; border: 1px solid #4a403e; overflow: auto; background-color: transparent; font-size: 1em; margin-bottom: 0;}
.wpcf7 input:focus, textarea:focus {background-color: transparent; color: #4a403e !important;}
.wpcf7 input[type="checkbox"] {appearance: none; line-height: inherit; width: 15px !important; height: 15px !important; margin-top: 2px; margin-bottom: 5px; padding: 0px; margin-right: 5px; float: inherit; display: inline-block; vertical-align: middle; background-color: transparent !important; border: 1px solid #4a403e !important; margin-left: -15px;}
.wpcf7 input[type="checkbox"]:checked {background: url(images/check.svg) no-repeat; background-size: cover;}
.wpcf7-spinner {background-color: #4a403e !important; vertical-align: middle !important; opacity: 1 !important;}
.wpcf7-form-control-wrap + span {font-size: 12px; line-height: 13px; display: inline-block; vertical-align: middle;}
.wpcf7 input[type="submit"] {cursor: pointer; padding: 10px 15px; background-color: #4a403e; border: 0px; color: #ffffff !important; -webkit-appearance: none; font-family: 'Raleway', sans-serif; font-size: 1em; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; width: auto !important; text-align: center !important; height: auto; line-height: inherit; border-radius: 0px;  margin-bottom: 30px; margin-top: 0px !important;}
.wpcf7 input[type="submit"]:hover {background-color: #4a403e; color: #ffffff !important;}
.wpcf7 input[type="submit"][disabled], .wpcf7 input[type="submit"][disabled]:hover, .wpcf7 input[type="submit"][disabled]:focus {opacity: 0.2; background-color: #4a403e; color: #ffffff;}
.wpcf7-response-output {margin: 0 0 5px 0 !important;}
.wpcf7-not-valid-tip {display: none !important;}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {border: 1px solid #4a403e !important; background-color: #4a403e; color: #ffffff; padding: 1em !important;}
.wpcf7 form.sent .wpcf7-response-output {border: 1px solid #82910c !important; background-color: #82910c; color: #ffffff; padding: 1em !important;}