/*
Theme Name: III Congres Internacional Selvans
Theme URI: http://www.selvans.org
Description: SELVANS
Author: NEORG | Branding Partners
Author URI: http://www.neorgsite.com/
Version: 1.0 - 06/2019 - 07/2019

*/


@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Bold.woff2') format('woff2'),
        url('fonts/Gilroy-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Regular.woff2') format('woff2'),
        url('fonts/Gilroy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('fonts/Gilroy-Medium.woff2') format('woff2'),
        url('fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}



@font-face {
    font-family: 'Antwerp';
    src: url('fonts/Antwerp-Regular.woff2') format('woff2'),
        url('fonts/Antwerp-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Antwerp';
    src: url('fonts/Antwerp-Bold.woff2') format('woff2'),
        url('fonts/Antwerp-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Antwerp';
    src: url('fonts/Antwerp-Italic.woff2') format('woff2'),
        url('fonts/Antwerp-Italic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
}




/* Desktop */
		/*---------------------------------------------------------------------------*/

* {
	box-sizing:border-box;
}

body {
	margin: 0px;
	padding: 0px;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	color:#193660;
	font-size: 16px;
	line-height: 1.5;
    font-family: 'Gilroy', sans-serif;
	font-weight: normal;
}

a {
	color:#193660;
}

::-moz-selection { color: white;  background: #193660; }
::selection      { color: white;  background: #193660; } 


#centrat {
	width: 1000px;
	margin: 0 auto;
}

.social-feed-container.owl-nav-style-arrow .owl-nav button {
	outline: none !important;
}

#preheader {
	background-color: #3a5896;
	text-align: center;
	color:white;
	font-weight: bold;
	padding: 7px 0;
	font-size:14px;
}

header {
	display:flex;
	background-color: #193660;
	color:white;
	padding: 7px 10px;
	font-size:15px
}

header > div {
	flex:1;
}

header > div:nth-child(2) {
	flex: 5;
}

#navmenu {
	text-align:center;
	display:flex;
}

#navmenu > div {
	flex:1;
}

#navmenu ul {
	list-style:none;
	display:flex;
	margin: 0;
	padding: 50px 0 0 0;
	font-weight: bold;
}

#navmenu ul li {
	margin: 0 15px;
}

#navmenu ul li.current-menu-item {
	border-bottom:1px solid rgba(255,255,255,0.3);
}

#navmenu ul li a {
	text-decoration: none;
	color:white;
}

#navmenu ul li a:hover {
	color:#5c82d0;
}

#navmenu > div:nth-child(1) {
	text-align: right;
}
#navmenu > div:nth-child(3) {
	text-align: left;
}

#navmenu > div:nth-child(1) ul {
	justify-content: flex-end;
}

#logotop {
	flex:0 0 150px !important;
}

#logotop img {
	width: 110px;
	margin-bottom: -47px;
}







#langsearch {
	text-align: right;
	display:flex;
	flex-direction: column;
	justify-content: space-between;	
}

#langsearch input[type="text"] {
	background:transparent;
	border:none;
	color:white;
	text-align: right;
    font-family: 'Gilroy', sans-serif;
	outline: none;
	font-size:14px;
	background-image: url(img/lupa.svg);
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 25px;
	-webkit-background-size: 17px;
	background-size: 17px;
}


#langsearch ul {
	list-style: none;
	color:white;
	margin:0;
	padding:0;
	font-size:13px;
	font-weight: bold;
}

#langsearch ul li a::after {
	content:'/';
}

#langsearch ul li a:last-child::after {
	content:'';
}

#langsearch ul a {
	color:white;
	text-decoration: none;
}

.wpml-ls-legacy-list-horizontal {
	padding: 0 !important;
}

.wpml-ls-legacy-list-horizontal a {
	padding: 0 0 0 10px !important;
}


a#inscriute {
    z-index: 2;
	position:fixed;
	background-color: white;
	color:#3a5896;
	right: 0px;
	margin: 30px;
	text-decoration: none;
    font-family: 'Antwerp', serif;
	font-size:20px;
	padding: 5px 20px;
	line-height: 1;
	border-radius:10px;
	border:2px solid #3a5896;
-moz-transition: all ease-in-out 0.2s;
-webkit-transition: all ease-in-out 0.2s;
-o-transition: all ease-in-out 0.2s;
}

a#inscriute span {
	border-left:1px solid #3a5896;
	border-right:1px solid #3a5896;
	padding: 0 15px;
	margin: 7px 0;
	display:inline-flex;
}

a#inscriute:hover {
	color:white;
	background-color:#3a5896;
}

a#inscriute:hover span {
	border-left:1px solid white;
	border-right:1px solid white;
}





#prefooter {
	/*background-color: #cccccc;*/
	background-color: white;
	padding: 10px 0;
-webkit-box-shadow: 0px -5px 13px 0px rgba(0,0,0,0.05);
-moz-box-shadow: 0px -5px 13px 0px rgba(0,0,0,0.05);
box-shadow: 0px -5px 13px 0px rgba(0,0,0,0.05);
}

#prefooter > div > div {
	border-left:1px solid #666666;
	border-right:1px solid #666666;
	margin: 25px 0;
	padding: 10px 10%;
	text-align: center;
}

#prefooter h4 {
    font-family: 'Gilroy', sans-serif;
	padding: 0;
	margin: 0 0 7px 0;
	text-transform: uppercase;
	color:#666666;
}

#prefooter .colabfooter h4 {
	font-size:13px;
}

.colabfooter img#logoselvanspeu {
	width: 125px;
	margin: 0 15px;
}


#prefooter a {
	text-decoration: none;
}

#prefooter a img {
	-moz-transition: all ease-in-out 0.2s;
	-webkit-transition: all ease-in-out 0.2s;
	-o-transition: all ease-in-out 0.2s;
}

#prefooter a:hover img {
	/*opacity: 0.5;*/
}




footer {
	background-color: #193660;
	padding: 35px 0 25px 0;
    font-family: 'Antwerp';
	font-weight: 400;
}


#foot {
	color:white;
	font-size:13px;
	display: flex;
}

#foot a {
	text-decoration: none;
	color:white;
	font-style: italic;
}

#foot > div {
	flex:1;
}

#foot > div:nth-child(2) {
	text-align: center;
	flex:3;
	font-size:2.1em;
}

#foot > div:nth-child(2) a {
	margin: 0 7px;
}

#foot > div:nth-child(3) p {
	margin: 0;
}

img#logoselvans {
	width: 140px;
}

img#logoselvanspeu {
	mix-blend-mode: multiply;
	width: 145px;
	opacity:0.7;
}

img#logoselvanspeu:hover {
	opacity:1;
}




#postfoot {
	display: block;
	border-top: 1px solid #8b8b8a;
	color:#8b8b8a;
	font-family: Georgia, Constantia, "Lucida Bright", "DejaVu Serif", "serif";
	padding: 15px 25px 0 25px;
	margin-top: 20px;
	font-size: 13px;
    letter-spacing: 1px;
}

#postfoot > div {
	display: inline-flex;
}

#postfoot ul {
	display:flex;
	margin: 0;
	list-style: none;
}

#postfoot ul li::after {
	content:'|';
}

#postfoot ul li:last-child::after {
	content:'';
}

#postfoot a {
	color:#8b8b8a;
	margin: 0 9px;
}

#postfoot a:hover {
	color:white;
	text-decoration: none;
}



/* Home */

#home {
	display:flex;
	background-image: url(img/bg-selvans.jpg);
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center center;
	color:white;
}

#home > div {
	flex: 1;
}

#home > div:nth-child(2) {
	flex: 0 0 1000px;
	text-align: center;
	padding: 100px 0;
}

#home > div:nth-child(1),
#home > div:nth-child(3) {
	-webkit-background-size: contain;
	background-size: contain;
	background-repeat: no-repeat;
}

#home > div:nth-child(1) {
	background-image: url(img/arbre-esq.svg);
	background-position: bottom left;
}

#home > div:nth-child(3) {
	background-image: url(img/arbre-dre.svg);
	background-position: bottom right;
}

#home {
    font-family: 'Antwerp';
	font-size:25px;
}

#home strong {
    font-family: 'Gilroy';
}

#home h1 {
    font-family: 'Gilroy';
	text-transform: uppercase;
	width: 540px;
	margin: 0 auto;
	line-height: 1.1;
}

#home h2 {
	font-weight: normal;
	width: 350px;
	line-height: 1.2;
	margin: 0 auto;
	font-size:43px;
}

#home h2::before {
	content:'';
	display: block;
	height: 1.5px;
	width: 100px;
	background-color: white;
	margin: 30px auto 20px auto;
}




#dades {
	padding: 50px 0;
}

#lesdades {
	display:flex;
}

#lesdades > div {
	border-left:1px solid #193660;
	padding: 15px 35px;
	font-weight: 500;
}

#lesdades strong {
	font-weight: bold;
	font-size:34px;
	color:#3a5896;
}

#lesdades > div p {
	margin: 3px 0;
}


a#revista {
	display:block;
	margin: 0 auto 60px auto;
	text-align: center;
	width: auto;
	font-family: 'Antwerp', serif;
	font-size:20px;
	border:1px solid #193660;
	padding: 15px;
	text-decoration: none;
	border-radius: 35px;	
}

a#revista:hover {
	background-color: #193660;
	color:white;
}




#arbreshome {
	height:70px;
	background-image: url(img/arbres.svg);
	-webkit-background-size: contain;
	background-size: contain;
	background-position: bottom center;
	background-repeat: repeat-x;
}

#bluehome {
	border-top:5px solid #193660;
	background-color: #3a5896;
	display:flex;
}

#txtbluehome {
	width: 60%;
	padding: 50px 0;
	color:white;
	font-weight: 500;
}

#txtbluehome > div {
	padding-left: 42%;
}

#txtbluehome h3 {
    font-family: 'Antwerp';
	font-style: italic;
	font-weight: bold;
}

#txtbluehome hr {
	border:none;
	border-bottom: 1px solid white;
	margin: 15px 0;
}

#picbluehome {
	width: 40%;
	padding-right: 20%;
	-webkit-background-size: cover;
	background-size: cover;
	background-position: center center;
	position: relative;
}

#picbluehome img {
	position: absolute;
	display: block;
	height: 100%;
}




#greyhome {
	background-color: #e4e4e4;
	padding: 50px 0;
	color:#706f6f;
}

#greyhome h3 {
    font-family: 'Antwerp';
	text-transform: uppercase;
	margin: 0 0 25px 0;
	text-align: center;
}

#greyhome h3::before,
#greyhome h3::after {
	content: '—';
	margin: 0 10px;
}

#blocsgrey {
	display: flex;
}

#blocsgrey > div {
	border-left:1px solid #706f6f;
	padding: 0 35px;
	font-size:0.9em;
	font-weight: 500;
}



#twit {
	padding: 40px 0;
	text-align: center;
}






.blocs {
	background-color: #e4e4e4;
	margin-bottom: 25px;
	font-weight: 500;
}

.blocs img {
	width: 100%;
	object-fit: cover;
	height: 450px;
}

.contblocs {
	padding: 15px 25px 18px 25px;
}

.infomodel {
	display:flex;
	margin-bottom: 15px;
}

.infomodel > div {
	flex:1;
}

.infomodel > div:nth-child(4) {
	text-align: right;
}

.infomodel a {
	text-decoration: none;
}

.blocs h3 {
	font-size:23px;
	line-height: 1.2;
	width: 60%;
	margin: 0 0 15px 0;
}

.blocs span {
	font-style:italic;
	font-size:1.1em;
}

.moretoggle {
	border:1px solid #193660;
	display:inline-flex;
	padding: 2px 15px;
}

.moretoggle:hover {
	background-color: #193660;
	color:#e4e4e4;
	cursor: pointer;
}

.contoculto {
	padding: 10px 0 15px 0;
	display: none;
	width: 100% !important;
}


#infopeubloc {
	display:flex;
	align-items: center;
}

#infopeubloc > div {
	flex:1;
}

#infopeubloc > div:nth-child(1) {
    font-family: 'Antwerp';
	color:#666666;
}

#infopeubloc > div:nth-child(1) a {
	color:#666666;
	text-decoration: none;
	margin: 0 7px;
}

#infopeubloc > div:nth-child(2) {
	text-align: right;
}







#barranews {
	background-color: #3a5896;
	padding: 20px 0;
	display:flex;
	align-items: center;
}

#barranews > div {
	flex:1;
}

#barranews > div:nth-child(1) {
	text-align: right;
	border-bottom: 1px solid white;
	font-weight: bold;
	font-size:40px;
	line-height: 1;
	color:white;
}

#barranews a {
	font-weight: 600;
	color:white;
	border:1px solid white;
	text-decoration: none;
	padding: 7px 20px;
-moz-transition: all ease-in-out 0.2s;
-webkit-transition: all ease-in-out 0.2s;
-o-transition: all ease-in-out 0.2s;
}

#barranews a:hover {
	background-color: white;
	color:#3a5896;
}






/* Programa */

#cos {
	background-image: url(img/bg-arbre.svg);
	background-position: top center;
	background-repeat: no-repeat;
	-webkit-background-size: 1500px auto;
	background-size: 1500px auto;
	padding: 80px 0;
}

.page-template-page-inicio #cos {
	padding: 0 0 80px 0;
}

#cos #centrat h1,
#titinpage {
	text-align:center;
	margin: 0 0 25px 0;
    font-family: 'Antwerp';
	text-transform: uppercase;
	display: block;
	border-bottom:1px solid #193660;
	font-size:22px;
	letter-spacing: 1px;
	padding-bottom: 10px;
	font-weight: bold;
}


#introprograma {
	padding: 20px;
	margin: 25px 0;
	font-weight: 500;
	border: 1px solid #3a5896;
	background-color: rgba(58,88,150,0.05);
}

#introprograma h1 {
	font-family: 'Gilroy', sans-serif !important;
	text-transform: none !important;
	text-align: left !important;
	letter-spacing: normal !important;
	border-bottom:none !important;
}

#introprograma h2 {
	margin: 0;
	font-size:22px;
}

#accordion {
	margin-top: 50px;
}

#accordion h2 {
	display: block;
	background-color: #e4e4e4;
	padding: 20px 37% 20px 25px;
	text-transform: uppercase;
	outline: none;
	background-image: url(img/arrow.svg);	
	background-size:23px;
	background-position: 98% 31px;
	background-repeat: no-repeat;
	font-size:20px;
}

#accordion h2.ui-accordion-header-active {
	background-image: url(img/arrow-up.svg);	
}

#accordion h2:hover {
	cursor: pointer;
	background-color: #eaeaea;
}

.ui-accordion-content {
	padding: 25px 0;
}

.ui-accordion-content h3 {
	margin: 0 0 5px 0;
	font-size:20px;
}


a#botoprograma {
	display: inline-block;
    font-size: 2em;
    font-weight: bold;
    border: 1px solid #193660;
    text-decoration: none;
    padding: 5px 35px;
    border-radius: 37px;
    margin-top: 25px;
    text-transform: uppercase;
    background-color: #193660;
    color: white;
}

a#botoprograma:hover {
	background-color:#193660;
	color:white;
}



/* Archive */

ul#datearchive {
	padding: 10px 0;
	margin: 0;
	display:flex;
	list-style: none;
	flex-direction: row-reverse;
	justify-content: center;
}

ul#datearchive li {
	margin: 0 10px;
}

ul#datearchive li a {
	padding: 7px 45px 5px 45px;
	border-radius: 7px;
	border:1px solid #666666;
	text-decoration: none;
	font-weight: 600;
	color:#666666;
-moz-transition: all ease-in-out 0.1s;
-webkit-transition: all ease-in-out 0.1s;
-o-transition: all ease-in-out 0.1s;
}

ul#datearchive li a:hover {
	background-color: #3a5896;
	border:1px solid #3a5896;
	color:white;
}



ul#archive {
	margin: 0;
	padding: 20px 0 0 0;
	list-style: none;
	display:flex;
	flex-wrap: wrap;
}

ul#archive li {
	background-color: #e4e4e4;
	margin: 15px;
	width: calc(50% - 30px);
	line-height: 1.4;
-moz-transition: all ease-in-out 0.4s;
-webkit-transition: all ease-in-out 0.4s;
-o-transition: all ease-in-out 0.4s;
}

ul#archive li:hover {
	opacity: 0.5;
}

ul#archive li img {
	object-fit: cover;
	width: 100%;
	height: 300px
}

ul#archive li a {
	text-decoration: none;
}

ul#archive span {
	font-weight: 600;
    color: #3a5896;
}

ul#archive h3 {
	margin: 0;
}

ul#archive li eo {
	display:flex;
	justify-content: flex-end;
}

ul#archive li eo strong {
	font-weight: 600;
	color:#0d352e;
	border:1px solid #0d352e;
	padding: 4px 14px;
	margin: 5px 0;
	font-size:0.9em;
}

#divnoti {
	padding: 10px 20px;
}





/* Single */

#single {
	padding: 20px 0 75px 0;
	font-weight: 500;
	border-bottom: 1px solid #193660;
}

#single img {
	object-fit: cover;
	max-width: 100%;
	height: 600px
}

#share {
	color:#666666;
	font-family: 'Antwerp';
}

#share a {
	color:#666666;	
	text-decoration: none;
	margin: 0 5px;
}

#share a:hover {
	color:#193660;
}

#single span {
	font-weight: 600;
	color:#3a5896;
	margin-top: 15px;
	display: block;
}

#cos #centrat #single h1 {
	text-align:left;
	margin: 10px 0 25px 0;
    font-family: 'Gilroy';
	text-transform: none;
	letter-spacing: 0px;
	border-bottom:none;
	font-size:46px;
	padding-bottom: 0px;
	line-height: 1;
	
	font-weight: bold;
}


#navsingle {
	display:flex;
    font-family: 'Antwerp';
	padding: 30px 0;
}

#navsingle > div {
	flex: 1;
}

#navsingle > div:nth-child(2) {
	text-align: right;
}

#navsingle a {
	color:#666666;
	font-weight: bold;
	text-decoration: none;
	-moz-transition: all ease-in-out 0.2s;
	-webkit-transition: all ease-in-out 0.2s;
	-o-transition: all ease-in-out 0.2s;
}

#navsingle a:hover {
	color:black;
}



#embednews {
	display:flex;
	justify-content: center;
	padding: 0 20px;
}

#embednews a {
	flex-wrap: wrap;
	width: 25%;
	padding: 20px 10px;
	text-decoration: none;
	line-height: 1.4;
-moz-transition: all ease-in-out 0.3s;
-webkit-transition: all ease-in-out 0.3s;
-o-transition: all ease-in-out 0.3s;
}

#embednews a:hover {
	opacity: 0.5;
}

#embednews a img {
	object-fit: cover;
	width: 100%;
	height: 330px;
}

#titdate {
	display:flex;
	padding-top: 10px;
}

#titdate h3 {
	width: 70%;
	margin: 0;
	padding: 0;
	font-size:20px;
	line-height: 1.3;
}

#titdate > div {
	width: 25%;
	margin-left: 5%;
	text-align: right;
	font-weight: 600;
	color:#3a5896;
}

#embednews a span {
	font-weight: 600;
	color:#0d352e;
	border:1px solid #0d352e;
	padding: 5px 15px;
	margin-top: 10px;
	display: inline-flex;
}






/* Contacte */

#concontact {
	margin: 0 15%;
	text-align: center;
	color:#0d352e;
	font-weight: 500;
}

.page-template-page-contacte .gform_wrapper,
.page-template-page-contacte .gform_confirmation_wrapper {
	background-color: #193660;
	margin-top: 50px;
	padding: 20px 30px;
	color:white;
	line-height: 1;
}

.page-template-page-contacte .gform_confirmation_wrapper {
	padding: 200px 150px;
	text-align: center;
	font-weight: 500;
	font-size:1.4em;
	line-height: 1.5;
}

.gform_confirmation_message {
	border-bottom:1px solid white;
	padding-bottom: 50px;
}

.page-template-page-contacte .gform_wrapper a {
	color:white;
}

.page-template-page-contacte .gform_wrapper ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-template-page-contacte .gform_wrapper ul li:not(:last-child) {
	display:flex;
	padding: 0;
}

.page-template-page-contacte .gform_wrapper ul li label {
	width: 240px;
	font-size:23px;
	font-weight: bold;
	line-height: 1;
}

.page-template-page-contacte .gform_wrapper input[type="text"],
.page-template-page-contacte .gform_wrapper textarea {
	width: 100%;
	outline: none;
	background-color: transparent;
	border:none;
	border-bottom: 1px solid white;
	color:white;
	font-weight: bold;
	font-weight: 500;
	border-radius: 0 !important;
}

.page-template-page-contacte .gform_wrapper input[type="submit"] {
	background: transparent;
	color:white;
	font-weight: 600;
	padding: 5px 15px;
}

.page-template-page-contacte .gform_wrapper textarea {
	height: 120px !important
}

.page-template-page-contacte .gform_wrapper ul li > div {
	width: 100%;
}

body .gform_wrapper ul li.gfield {
	margin-top: 7px !important;
}

body .gform_wrapper .top_label div.ginput_container {
	margin-top: 0 !important;
}

.gfield_consent_label {
	display: none;
}

li.accepto label {
	display: none !important;
}

li.accepto .ginput_container_consent {
	margin-left: 190px;	
}

li.accepto .ginput_container_consent,
li.accepto .gfield_consent_description {
	display:inline-block;
	width: auto !important;	
}

.gform_wrapper .field_description_below .gfield_consent_description, .gform_wrapper .gfield_consent_description {
	border:none !important;
	padding: 0 0 0 15px !important;
	font-size:13px !important;
	line-height: 8px;
	max-height: none !important;
	overflow-y:visible !important;
}

.page-template-page-contacte .gform_footer {
	text-align:right;
}



/* Search */

.resulcerca {
	margin-bottom: 50px;
}



/* Page Navi */

.wp-pagenavi {
	margin-top: 40px;
	text-align:center;
	font-weight: 500;
}

.wp-pagenavi .pages {
	display: none;
}

.wp-pagenavi a {
	margin: 0 7px;
    color: #3a5896;
	text-decoration: none;
}

.wp-pagenavi a:hover {
	color:black;
}

.wp-pagenavi .current {
	margin: 0 7px;
	font-weight: 600;
	padding: 7px 10px 5px 10px;
    border-radius: 7px;
    border: 1px solid #666666;
    color: #666666;
}



.shiftnav.shiftnav-nojs.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item > .shiftnav-target:hover, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-active > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.shiftnav-in-transition > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-accordion.current-menu-ancestor > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu > li.shiftnav-sub-shift.current-menu-ancestor > .shiftnav-target, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-highlight li.menu-item > .shiftnav-target:active, .shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu.shiftnav-active-on-hover li.menu-item > .shiftnav-target:hover {
	background:#3a5896 !important;
}





	
		/* ExtraLarge */
		/*---------------------------------------------------------------------------*/
		@media
		only screen and (max-width : 1800px) {
			
			#home > div:nth-child(1),
			#home > div:nth-child(3) {
				-webkit-background-size: cover;
				background-size: cover;
			}
			
			#home > div:nth-child(1) {
				background-position: bottom right;
			}

			#home > div:nth-child(3) {
				background-position: bottom left;
			}
			
			#embednews a img {
				height:195px;
			}

			
}


		/* Large */
		/*---------------------------------------------------------------------------*/
		@media
		only screen and (max-width : 1200px) {
			
			
			#centrat {
				width: 90%;
				margin: 0 5%;
			}
			
			#home > div:nth-child(2) {
				flex:0 0 90%;
			}
			
			#langsearch > div {
				position: absolute;
				right:15px;
			}
			
			header > div:nth-child(2) {
				flex: 10;
			}
			
			#langsearch > div:nth-child(1) {
				display: none;
			}
			
			#home > div:nth-child(2) {
				padding: 70px 0;
			}
			
			#home h1 {
				font-size:41px;
			}
			
			#home h2 {
				font-size:35px;
			}
			
			#txtbluehome > div {
				padding-left: 18%;
			}
			
			#embednews a {
				width: 33.333%;
			}
			
			#embednews a:last-child {
				display: none;
			}
			
			#titdate {
				flex-direction:column-reverse;
			}
			
			#titdate > h3,
			#titdate > div {
				width: 100%;
				text-align: left;
				margin: 0 0 3px 0;
			}
			
			#embednews a img {
				height: 230px;
			}
			
			#postfoot {
				text-align:center;
			}
			
			#postfoot ul {
				padding: 0;
				margin-top: 5px;
			}
			
			#foot > div:nth-child(2) {
				flex:2;
			}
			
			#home > div:nth-child(2) {
				flex: 0 0 70%;
			}
			
			
}




		/* Medium */
		/*---------------------------------------------------------------------------*/
		@media
		only screen and (max-width : 992px) {
			
			header > div {
				flex: 0;
			}
			
			a#inscriute {
				font-size:16px;
				margin: 15px;
			}
			
			#logotop img {
				width: 98px;
			}
			
			#navmenu ul li {
				margin: 0 10px;
			}
			
			#cos #centrat h1, #titinpage {
				font-size:18px;
			}
			
			#lesdades > div {
				padding: 15px 25px;
			}
			
			#lesdades strong {
				font-size:29px;
			}
			
			#txtbluehome > div {
				padding-left: 10%;
			}
			
			#blocsgrey {
				flex-wrap:wrap;
			}
			
			#blocsgrey > div {
				margin:15px 0;
				width: 50%;
			}
			
			#embednews a img {
				height: 184px;
			}
			
			#barranews > div:nth-child(1) {
				font-size:32px;
			}
			
			#accordion h3 {
				padding: 20px 20% 20px 25px;
			}
			
			.blocs img {
				height: 350px;
			}
			
			.infomodel > div {
				flex:auto;
				margin-right: 15px;
			}
			
			ul#archive li img {
				height: 235px;
			}
			
			#single img {
				height:450px;
			}
			
			#cos #centrat #single h1 {
				font-size:39px;
			}
			
			#embednews a span {
				padding: 4px 12px;
				font-size:14px;
			}
			
			.page-template-page-contacte .gform_wrapper ul li label {
				font-size:21px;
			}
			
			#foot > div:nth-child(2) {
				flex:1;
			}
			
			img#logoselvanspeu {
				width: 177px;
			}



}


		/* Small */
		/*---------------------------------------------------------------------------*/
		@media
		only screen and (max-width : 768px) {
			

			#logotop img {
				margin-bottom: -44px;
			}
			
			#home h2 {
				font-size: 31px;
			}
			
			#lesdades {
				flex-wrap:wrap;
			}
			
			#lesdades > div {
				width: 50%;
			}
			
			#picbluehome {
				display: none;
			}
			
			#txtbluehome {
				width: 90%;
				padding: 50px 5% 50px 0;
			}
			
			#twitter-widget-0 {
				width: 90% !important;
			}
			
			#embednews a:nth-child(3) {
				display: none;
			}
			
			#embednews a {
				width: 50%;
			}
			
			#foot {
			    flex-direction: column;
				text-align: center;
			}
			
			#foot > div {
				margin-bottom: 20px;
			}
			
			ul#datearchive li a {
				padding: 7px 20px 5px 20px;
			}
			
			.infomodel {
				display:inherit;
			}
			
			.infomodel > div:nth-child(4) {
				text-align: left;
			}
			
			.blocs h4 {
				width: 100%;
			}
			
			.blocs img {
				height:300px;
			}
			
			img#logoselvanspeu {
				width: 193px;
			}
			
			ul#archive li img {
				height: 220px;
			}
			
			ul#archive li {
				margin: 7px;
				width: calc(50% - 14px);
			}
			
			ul#archive li eo strong {
				padding: 3px 12px;
				font-size: 0.8em;
			}
			
			#concontact {
				margin: 0;
			}
			
			li.accepto .ginput_container_consent {
				margin-left: 0;
			}
 
			#blocsgrey > div {
				padding: 0 15px 0 35px;
			}
			
			#prefooter > div > div {
				padding: 10px 5%;
			}
			
			#arbreshome {
				-webkit-background-size: cover;
				background-size: cover;
			}


}

		/* Extra small */
		/*---------------------------------------------------------------------------*/
		@media
		only screen and (max-width : 544px) {
			
			a#inscriute {
				right: inherit;
			    left: 0px;
				top: 80px;
				padding: 4px 10px;
			}
			
			a#inscriute span {
				padding: 0;
				border: none !important;
			}
			
			#home {
				font-size:21px;
			}
			
			#home > div:nth-child(2) {
				padding: 40px 0;
			}
			
			#home h1 {
				width: 90%;
				font-size:35px;
			}
			
			#home h2 {
				font-size: 27px;
			}
			
			#barranews > div:nth-child(1) {
				font-size: 28px;
			}
			
			img#logoselvanspeu {
				width: 140px;
			}
			
			ul#archive li {
				width: calc(100% - 14px);
			}
			
			ul#archive li img {
				height: 266px;
			}
			
			#cos {
				padding: 50px 0 80px 0;
			}
			
			#single img {
				height: 325px;
			}
			
			#cos #centrat #single h1 {
				font-size: 31px;
			}
			
			#postfoot > div {
				display: block;
			}
			
			#postfoot ul {
				flex-direction: column;
			}
			
			#postfoot ul li {
				margin: 2px 0;
			}
			
			#postfoot ul li::after {
				content:' ';
			}
			
			ul#datearchive {
				flex-direction: column;
			}
			
			ul#datearchive li a {
				width: 100%;
				text-align: center;
				display: block;
				margin: 5px 0;
			}
			
			
			
			
}