/*
Theme Name: Fiona
Text Domain: fiona
Author: Mounya
Author URI: http://mounya.net
*/
@import url('https://fonts.googleapis.com/css?family=Nunito+Sans:400,600,700,700i|Assistant:300,400,600,700&display=swap');

/* ----- html5doctor.com reset stylesheet ----- */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:30px 0;padding:0}input,select{vertical-align:middle}

/* ----- global styles ----- */
*, *:before, *:after {
    box-sizing: inherit;
}

body {
	padding:30px 0 30px 0; 
	}

.container {
	position: relative;
	max-width:1200px;
	margin: 0 auto;
	padding:0 40px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;}

/* ------------ HEADER ------------ */
.sidebar {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width:100%; 
	padding:25px 0 120px 0; 
	-ms-word-wrap:break-word; 
	word-wrap:break-word;}

.sidebar #info {
	display: inline-block;
	width:auto; 
	float:left;
	margin:0px 40px 0 0;
	line-height: 1;
}

#sidebar-menu {
	display: inline-block;
	float:right;
	vertical-align: bottom;
	width:auto;
	line-height: 1;
}
#sidebar-menu li {
	margin-bottom:10px; 
	float:left;
	padding-right:25px;
}
#sidebar-menu li:last-child {
	padding:0;
}

.menu-item-has-children {
	position: relative;
	display:inline-block;
}
.sub-menu {
	display:none;
	position: absolute;
	min-width:250px;
	padding:10px 0;
	z-index:1;
}
.menu-item-has-children:hover .sub-menu {
	display:block;
}
#sidebar-menu .sub-menu li {
	list-style-type: none;
	padding:5px 0;
	font-size:8pt;
}
	
li.instagram {
	padding:0 !important;
	margin:3px 0 0 0;
	list-style-type: none;
}
.instagram a img {
	height:17px;
	width:17px;
	padding:0;	
	opacity:0.4;
	-webkit-transition: all 500ms ease-out;  
    -moz-transition: all 500ms ease-out;  
    -o-transition: all 500ms ease-out;  
    -ms-transition: all 500ms ease-out;  
    transition: all 500ms ease-out;
}
.instagram a img:hover {
	opacity:0.6;	
}
.instagram img {
	position:relative;
	height:20px;
	width:20px;
}

.wpml-ls-legacy-list-horizontal {
	float:left !important;
}


#copyright {color:#bbb; font-size:11px; margin-bottom:6px; padding-top:20px; background:transparent url('../alpha-trinity/img/divider.png') top left no-repeat;}
#copyright a, #powered-by a {color:#aaa;}


/* ----- post teasers ----- */

.thumb img {display:block; height:auto; width:100%; min-width:100%; margin-bottom:0;}


/* ----- posts & pages ----- */

.entry-content {
	margin: 0 auto;
	padding-bottom: 40px;
}

.col-left {
	position: relative;
	float:left;
	width: 60%;
}
.col-left img {
	width:100%;
	padding-bottom: 10px;
}

.col-right {
	position: -webkit-sticky;
  	position: sticky;
	top:40px;
	float:right;
	width: 40%;
	padding-left: 40px;
}
.loop .hentry {
	margin-bottom:60px;
	padding-bottom: 20px;
	width: 100%;
}
.category-texts .loop .hentry, .category-texts-fr .loop .hentry {
	margin-bottom:60px;
	padding-bottom: 40px !important;
	width: 100%;
}
.loop .hentry:last-child {
	border-bottom:0;
}
.category-news .loop .hentry, .category-news-fr .loop .hentry, .category-texts .loop .hentry, .category-texts-fr .loop .hentry {
	padding-bottom:20px;
	border-bottom: 1px solid #b3b3b3;
}

/* Masonry 2019 */
.masonry, .flexbox { 
  margin: 0 auto;
  max-width: 100%;
  /*column-count: 3;
  column-gap: 1.5em;*/
  margin-bottom:60px;	
	
  	display:flex;
	flex-flow:row wrap;
	justify-content:space-between;
	height:auto;
	width:100%;
}

.masonry::after, .flexbox::after {
  content: "";
  flex: auto;
}
.item {
  position: relative;	
  margin-bottom: 1em;
  overflow: hidden;
  box-sizing: border-box;
    margin: 0 30px 30px 0;
    width: calc(1/3*100% - (1 - 1/3)*30px);
  height: auto;
}
.masonry > div:nth-child(3n), .flexbox > div:nth-child(3n) {
    margin-right: 0;
}

.page .texts {
	padding-bottom:80px;
}
.wp-block-columns {
	margin-bottom:20px;
}
.wp-block-column {
	width:auto;
	margin-bottom:20px;
}
#site-footer {
	float:right;
	padding-top:20px;
	text-align: right;
	line-height: 1;
}
#footer-menu {
	float:left;
	text-align: right;
	border-right: 1px solid #ccc;
	margin-right:10px;
}
#footer-menu li {
	float:left;
	padding-right:10px;
}
.footer-credits {
	float:left;
}

/* ------- PARAGRAPH STYLING ----------- */
body {
	font:11pt 'Assistant', sans-serif;
	font-weight: 300;
	line-height: 2;
	letter-spacing: 0.08em;
	padding:30px 0 30px 0; 
	color:#2E2E2E;
	}
#info {
	position: relative;
	font-size: 16pt;
	font-weight:300;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	z-index:9999;
}
#sidebar-menu li {
	font-size:11pt; 
	letter-spacing:0.15em;
	line-height:2;
	text-transform:uppercase;
	
}
.entry-content, .texts {
	color:#4B4B4B;
}
#site-footer {
	color: #707070;
	font-size:10pt;
}
.cat-title {
	font-size:11pt;
	font-weight: 400;
	font-style:italic;
	margin-bottom: 20px;
	text-transform: uppercase;
	color:#707070;
}
.cat-title li {
	list-style-type: none;
}

h1, h2, h3, h4, h1 a:link, h1 a:visited, h2 a:link, h2 a:visited {
	font-weight: 600;
	margin-bottom: 1.5em;
	text-transform: uppercase;
	color:#000;
}
.category-texts h1 a, .category-texts-fr h1 a {
	text-transform: none;
}
h1 {
	font-size:13pt;
}
h2 {
	font-size:13pt;
}
h3 {
	font-size:11pt;
	margin-bottom:0;
}
p {
	margin-bottom: 1.5em;
}
	
br {
	margin-bottom:1.5em;
}
strong {font-weight:600;}

/* ------- PARAGRAPH STYLING ----------- */


/* ------- LINKS ----------- */
a { 
	text-decoration:none; 
    -webkit-transition: all 500ms ease-out;  
    -moz-transition: all 500ms ease-out;  
    -o-transition: all 500ms ease-out;  
    -ms-transition: all 500ms ease-out;  
    transition: all 500ms ease-out; 
}
/*a:hover {
	color:#ff3300;
}*/

a:link, a:visited {
	color:#000; 
	font-weight: 600;
}
a:hover, a:active {
	color:#707070; 
	text-decoration:none;
}
h1 a:link, h1 a:visited {
	font-weight: 600;
}
h1 a:hover, h1 a:active {
	color:#707070;
}
.sidebar a:link, .sidebar a:visited, #lang_sel_list a.lang_sel_other, #footer-menu a:link, #footer-menu a:visited {
	color:#707070;
	font-weight:400;
	border-bottom:0;
}

.sidebar a:hover, .sidebar a:active, .current-menu-item a:link, .current-menu-item a:visited, .current-menu-parent a:link, .current-menu-parent a:visited, .current-post-ancestor > a:link, .current-post-ancestor > a:visited, .single > .menu-item-type-custom a:link, .single .menu-item-type-custom a:visited, #site-footer a:hover, #site-footer a:active, #info a:link, #info a:visited, #footer-menu a:hover, #footer-menu a:active {
	color:#000; 
	text-decoration:none; 
	border-bottom:0;
}


/* ------- LINKS ----------- */

/**wpml**/
#lang_sel_list a.lang_sel_sel {display:none;}
#lang_sel_list a {padding-left:0;}
#lang_sel_list a:hover {background-color:#fff !important;}
#lang_sel_list ul {border:none !important;}
.wpml-ls-statics-shortcode_actions {
	border-color:none !important;
	background:none !important;
	}
.wpml-ls-legacy-list-horizontal {
	border: none !important;
	padding: 0 !important;
	background:none !important;
	}


/** teaser hover **/
.item {position:relative;}
.thumb {
	-webkit-transition: all 500ms ease-out;  
    -moz-transition: all 500ms ease-out;  
    -o-transition: all 500ms ease-out;  
    -ms-transition: all 500ms ease-out;  
    transition: all 500ms ease-out;
	opacity: 1;
}
.thumb:hover  {
	opacity: 0.25;
}
/*
.thumb a img > {    
    -webkit-transition: all 300ms ease-out;  
    -moz-transition: all 300ms ease-out;  
    -o-transition: all 300ms ease-out;  
    -ms-transition: all 300ms ease-out;  
    transition: all 300ms ease-out;  
    opacity: 1;    
}
.thumb a:hover  {  
    opacity: 0.25;  
} */	
.caption {
	z-index:999; position:absolute; top:50%; left:50%; max-width:100%; height:auto; text-align:center;
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	-webkit-transition: all 300ms ease-out;  
    -moz-transition: all 300ms ease-out;  
    -o-transition: all 300ms ease-out;  
    -ms-transition: all 300ms ease-out;  
    transition: all 300ms ease-out;
	display:none;
	}
.item:hover .caption {
	display:block; 
	pointer-events:none;
	opacity:1;
}
.caption h1 a {border-bottom:0; font-weight: 400;}
/** teaser hover **/


img {max-width:100%; height:auto; }
.alignleft {float:left; margin-right:20px;}
.alignright {float:right; margin-left:20px;}
.aligncenter {text-align:center;}


/*------------- Menu Modal------------*/

.mobile-menu .modal-menu,
.mobile-menu > input{
  display: none;	 
}

.modal-menu {	
  position:absolute;
  background: #fff;
  text-align: center;
  text-transform: uppercase;
  padding: 100px 0 0;
  top:0;
  left:0;
  width: 100%; 
  height: 100%;	
  z-index:99; 	
 	
}
 
.mobile-menu > label {
  display: block;
  position: absolute;
  top:20px;	
  right: 40px;
  width: auto;	
  padding: 0;
  z-index: 999;
  cursor: pointer;
  color:#000;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
    -webkit-transition: all 500ms ease-out;  
    -moz-transition: all 500ms ease-out;  
    -o-transition: all 500ms ease-out;  
    -ms-transition: all 500ms ease-out;  
    transition: all 500ms ease-out; 
}
 
.mobile-menu > input:checked + .modal-menu {
  display: none;
  clear: both;	
}

.mobile-menu ul li {
  display: block;
  padding: 15px 10px;
}
 
.mobile-menu > label:hover, label.transform-active {
	color:#838383;
    -webkit-transition: all 500ms ease-out;  
    -moz-transition: all 500ms ease-out;  
    -o-transition: all 500ms ease-out;  
    -ms-transition: all 500ms ease-out;  
    transition: all 500ms ease-out; 
}
iframe {
	max-width:100%;
	width:100%;
}
	 
@media only screen and (min-width: 1024px) {
	
  .mobile-menu {
    height: auto;
  }
  .mobile-menu .modal-menu {
    display: none;
  }
  .mobile-menu > label {
    display: none;
  }
  .mobile-menu ul li {
    display: inline-block;
  }
	.wp-block-columns {
  	justify-content: space-between;
	}
}

@media only screen and (max-width: 1024px) {
.item {
    width: calc(1/2*100% - (1 - 1/2)*30px);
  height: auto;
}
.masonry > div:nth-child(2n), .flexbox > div:nth-child(2n) {
    margin-right: 0;
}
	.sidebar .primary-menu {
		display: none;
	}	
	.sidebar {
		padding-bottom: 80px;
	}
	
	.news .wp-block-columns {
	margin-bottom:0px;	
	}
}

@media only screen and (max-width: 781px) {
	.wp-block-column {
		width: 100%;
		flex-basis: 100% !important;
	}
	.wp-block-column:nth-child(2n) {
		margin-left: 0 !important;
	}
	
	.category-news .loop .hentry {
		padding-bottom:0;
	}
}

@media only screen and (max-width: 640px) {
	body {
		padding:0;
	}
	.container {
		padding:15px;
	}
	.item {
    	width: 100%;
		margin-right:0;
		margin-bottom: 15px;
	}
	.loop .hentry:last-child {
		padding-bottom:20px;
	}
	.category-news .loop .hentry:last-child {
		margin-bottom:0;
	}
	.page .texts {
	padding-bottom:30px;
}
	.col-left {
		width:100%;
		float:none;
	}	
	.col-right {
		position:relative;
		width: 100%;
		top: 0;
		padding-left:0;
		float:none;
	}
	.sidebar {
		padding-bottom: 60px; 
	}
	.mobile-menu > label {
		top:35px; 
		right:15px;
	}
	#site-footer {
		float:none;
		border-top: 1px solid #707070;
		padding:80px 0 20px;
		margin-top:0;
	}
	#footer-menu, .footer-credits {
		float:none;
		text-align: center;
		line-height:3;
		border:none;
		margin:0;
	}
	#footer-menu li {
		float:none;
		padding-right:0;
	}
}

/* clearfix */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
  