/*
	Theme Name:Xulon Theme
	Theme URI:
	Description:
	Author:Absolu
	Author URI:http://absolu.ca
	
	Version:1.0
*/
 
/*
Imports
---------------------------------------------------------------------------------------------------- */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(https://fonts.googleapis.com/css?family=Fanwood+Text);


/* Box Sizing
--------------------------------------------- */
*,
input[type="search"] {
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

/* Float Clearing
--------------------------------------------- */
.clear:before,
.clearfix:before,
.wrapper:before,
.row:before,
.menu:before {
    content:' ';
    display:table;
}

.clear:after,
.clearfix:after,
.wrapper:after,
.row:after,
.menu:after {
	clear:both;
	content:" ";
	display:table;
}
.clear,
.clearfix,
.wrapper,
.row,
.menu {
    *zoom:1;
}

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

/*------------------------------------*\
    TYPO
\*------------------------------------*/
body {
	color:#4f504b;
	font-family:'Open Sans', sans-serif;
	font-weight:400;
	line-height:1.625;
	font-size:16px;
	margin:0;
	padding:0;
	height:100%;
	background:#f6f6f6
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
select:focus,
.button,
.archive .wp-post-image {
	-webkit-transition:all 0.3s ease-in-out;
	-moz-transition:   all 0.3s ease-in-out;
	-ms-transition:    all 0.3s ease-in-out;
	-o-transition:     all 0.3s ease-in-out;
	transition:        all 0.3s ease-in-out
}

nav,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.widget_nav_menu h3,
.widget_nav_menu a {
	font-family:'Montserrat', sans-serif;
	text-transform:uppercase;
	letter-spacing:2px
}

::-moz-selection {
	background-color:#333;
	color:#fff
}

::selection {
	background-color:#333;
	color:#fff
}

a {
	color:#333;
	text-decoration:none
}

html.no-touch a:hover,
a.selected,
#header-nav .current-menu-item a,
#header-nav .current-menu-parent a,
#header-nav .current-menu-parent a .fa,
#footer-nav .current_page_item a,
.pagination .current,
.single-realisations #header-nav .menu-item-9 a {
	color:#ada05e
}

a.button:hover {
	color:#fff !important
}
p {
	margin:0 0 25px;
	padding:0
}

strong {
	font-weight:700
}

ol,
ul {
	margin:0;
	padding:0
}

li {
	list-style-type:none
}

blockquote,
blockquote::before {
	color:#999
}

blockquote {
	margin:40px
}

blockquote::before {
	content:"\201C";
	display:block;
	font-size:30px;
	height:0;
	left:-20px;
	position:relative;
	top:-10px
}

cite {
	font-style:normal
}

hr {
	border:none;
	border-bottom:1px solid #ececec
}

/*------------------------------------*\
    HEADING
\*------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
	color:#333;
	font-family: 'Fanwood Text', serif;
	font-weight:700;
	line-height:1.2;
	margin:0 0 10px
}

h1 {
	color:#ada05e;
	font-size:54px;
	line-height:1;
	font-weight:400;
	margin-bottom:40px
}

h1 > span{
	font-family:Arial, sans-serif;
	font-size: 80%;
}

h2 {
	font-size:24px
}

h3 {
	font-size:22px
}

h4 {
	font-size:20px
}

h5 {
	font-size:18px
}

h6 {
	font-size:16px
}

/*------------------------------------*\
    OBJECTS
\*------------------------------------*/
embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width:100%
}

img {
	height:auto
}

.post-content img,
.gallery img {
	width:auto
}

/*------------------------------------*\
    GALLERY
\*------------------------------------*/
.gallery {
	overflow:hidden;
	margin-bottom:28px;
}

.gallery-item {
	float:left;
	margin:0;
	padding:0 4px;
	text-align:center;
	width:100%
}

.gallery-columns-2 .gallery-item {
	width:50%
}

.gallery-columns-3 .gallery-item {
	width:33%
}

.gallery-columns-4 .gallery-item {
	width:25%
}

.gallery-columns-5 .gallery-item {
	width:20%
}

.gallery-columns-6 .gallery-item {
	width:16.6666%
}

.gallery-columns-7 .gallery-item {
	width:14.2857%
}

.gallery-columns-8 .gallery-item {
	width:12.5%
}

.gallery-columns-9 .gallery-item {
	width:11.1111%
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
	clear:left
}

.gallery .gallery-item img {
	border:none;
	height:auto
}

/*------------------------------------*\
    FORMS
\*------------------------------------*/
input,
select,
textarea {
	background-color:#fff;
	border:1px solid #ececec;
	border-radius:3px;
	box-shadow:inset 1px 1px 1px rgba(0, 0, 0, 0.06);
	color:#aaa;
	font-size:16px;
	font-weight:400;
	padding:16px;
	width:100%
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
	border:1px solid #999;
	outline:none;
	background:#ffffcc
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width:auto
}

nput[type="checkbox"],
input[type="radio"] {
	border:0 none;
	border-radius:0 none;
	box-shadow:none
}

::-moz-placeholder {
	color:#666;
	opacity:1;
	font-weight:400
}

::-webkit-input-placeholder {
	color:#666;
	font-weight:400
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
#widget1 a {
	background:none;
	cursor:pointer;
	font-size:16px;
	font-weight:400;
	line-height:21px;
	width:auto;
    text-align:center;
    color:#ada05e;
	padding:15px 25px;
	border:2px solid #ada05e
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover,
#widget1 a:hover {
	background-color:#ada05e;
	color:#fff
}

.footer-menu  a:hover {
	color:#ada05e
}

.button {
	display:inline-block
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
	display:none
}

/*------------------------------------*\
    TABLES
\*------------------------------------*/
table {
	border-collapse:collapse;
	border-spacing:0;
	line-height:2;
	margin-bottom:40px;
	width:100%
}

tbody {
	border-bottom:1px solid #ddd
}

td,
th {
	text-align:left
}

td {
	border-top:1px solid #ddd;
	padding:6px 0
}

th {
	font-weight:700;
	text-transform:uppercase
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
#mastwrap {
	min-width:320px;
}  
	
.wrapper {
	width:1140px;
	margin:0 auto;
	position:relative;
	padding:0 100px
}
.scrollable {
  max-height:340px;
  overflow-y:scroll
}

/*------------------------------------*\
    COLONNE
\*------------------------------------*/
.col2  {
	position:relative;
	min-height:1px;
	display:block;
	float:left;
}

.col2 {
  width:50%;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/
/* header */
.main-header {
	background:#ebebeb;
	border-bottom:1px solid #ddd
}
/* logo */
.logo a {
	position:absolute;
	top:0;
	z-index:99999
}

/* header-nav */
#header-nav {
position:relative
}
#header-nav ul,
#header-nav li,
#header-nav a {
	font-size:14px;
	color:#4f504b;
	border:none;
	margin:0;
	padding:0;
	line-height:1;
	-webkit-box-sizing:content-box;
	-moz-box-sizing:content-box;
	box-sizing:content-box
}
#header-nav .fa {
	color:#4f504b
}

#header-nav ul a:hover,
#header-nav ul ul a:hover,
#header-nav ul a:hover .fa {
	color:#ada05e !important
}

/* burger-menu */
.burger-menu-container {
    display:none
}

/* facebook-logo */
#header-nav .menu-item-93 a {
	background:url("img/header-logo-facebook.png") no-repeat left bottom;
	display:block;
	margin-top:15px;
	width:30px;
	height:30px;
	float:right;
	transition:none;
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden
}
#header-nav .menu-item-93 a:hover {
	background-position:left 1px
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/
/* footer-nav */
.main-footer {
	border-top:1px solid #ddd;
}

#footer-nav {
    background:#494949
}
.footer-menu,
.footer-menu li,
.footer-menu a {
	font-size:12px;
	color:#ebebeb;
	border:none;
	margin:0;
	padding:0;
	line-height:1;
	-webkit-box-sizing:content-box;
	-moz-box-sizing:content-box;
	box-sizing:content-box
}

.footer-menu {
    width:100%;
    text-align:center;
}

.footer-menu > li {
	list-style:inside none;
	padding:20px 10px 18px;
	margin:0;
	display:inline-block;
	position:relative;
	line-height:1
}
.footer-menu > li:first-child {
	padding-left:0
}
.footer-menu > li:last-child {
	padding-right:0
}

#copyright {
    background:#494949;
	border-top:2px solid #545454;
	padding:12px;
	text-align:center;
	color:#818181;
	font-size:13px;
	line-height:1
}
#copyright p {
	margin:0;
}

#copyright a {
	color:#fff;
}

#copyright img {
}

/*------------------------------------*\
    WIDGETS
\*------------------------------------*/
/* widget1 */
#widget1 {
	background:/*#494949*/#381d14 url("img/bg/widget-biblio-xulon-3.jpg") no-repeat center center;
    background-size:cover;
	padding-top:50px;
	padding-bottom:30px
} 

#widget1 h3 {
	font-family:'Montserrat', sans-serif;
	text-transform:uppercase;
    text-align:center;
	color:#fff;
	font-size:21px;
	margin-bottom:30px
}

#widget1 ul {
    width:100%;
    text-align:center;
}

#widget1 li {
    display:inline-block;
    margin:5px 35px 25px
}

#widget1 a {
    display:block;
    width:225px;
    color:#fff
}

/* widget2 */
#widget2 {
    background:#ebebeb url("img/bg/widget-biblio-xulon-2.png") no-repeat 0 -40px;
    background-size:43% auto;
}

#widget2 .wrapper {    
    padding-top:70px;
	padding-bottom:70px
}
#widget2 .col2 {
    margin-left:50%
}

#widget2 h3 {
	font-size:30px;
	line-height:30px;
    font-weight:400
}

#widget2 a {
	font-size:14px
}

/* widget3 */
#widget3 {
	background:#fff;
	padding-top:50px;
	padding-bottom:35px
}

#widget3 h3,
#widget3 .textwidget {
	font-family:'Montserrat', sans-serif;
	text-transform:uppercase;
    text-align:center;
	color:#ada05e;
	font-size:21px;
    font-weight:400
}

#widget3 h3 {
 margin-bottom:25px
}

#widget3 .textwidget p {
    display:inline-block;
    margin:15px 25px;
    line-height:25px;
    font-size:18px;
}

#widget3 .textwidget strong {
	font-size:30px;
    font-weight:700;
    color:#ada05e !important
}

/* widget4 */
#widget4 {
	background:#ebebeb
}
#widget4 .wrapper {
    background:url("img/bg/widget-biblio-xulon-1.jpg") no-repeat -30px 0;
    padding-top:70px;
	padding-bottom:150px
}
@media only screen and (max-width:1400px) {

    #widget4 .wrapper  {
        padding-bottom:100px
    }
}
#widget4 .col2 {
	margin-left:50%;
	width:50%
}

#widget4 h3 {
	font-size:30px;
	line-height:30px;
    font-weight:400
}

/*------------------------------------*\
    DEFAULT
\*------------------------------------*/
.content-area {
	padding-top:130px;
	padding-bottom:50px
}

.content-area.feat-img {
	padding-top:30px;
	padding-bottom:45px
}


/*------------------------------------*\
    HOME - SLIDER
\*------------------------------------*/
.slider-area {
    background-image:url("img/slider/slider-xulon-1.jpg");
    /*background:none;*/
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover
}

.slider-mask {
    height:585px;
    background:url("img/mask-gray-xulon.png") no-repeat bottom left
}

/*------------------------------------*\
    HOME
\*------------------------------------*/
.home .content-area {
	background:#ebebeb
}

.home h1 {
	margin-top:-12px
}

.home .main-footer {
    position:relative;
    z-index:999;
    margin-top:-200px;
    padding-top:200px;
    background:url("img/mask-black-xulon.png") no-repeat top left;
	border:none
}

/*------------------------------------*\
    ARCHIVES
\*------------------------------------*/
.archive .realisations {
	min-height:1px;
	float:left;
	display:block;
	width:300px;
	margin:0 10px 40px 0;
}
.archive .realisations:nth-child(3n+3) {
	margin-right:0
}

.archive .post-thumb {
	background:#ada05e;
	display:block;
	line-height:0;
	margin-bottom:15px;
    height:200px;
	width:300px;
    overflow:hidden
}

.archive .post-thumb:hover img {
	opacity:0.5;
    filter:alpha(opacity=50)
}

.archive h2 {
	font-family:'Open Sans', sans-serif;
	font-weight:400;
	line-height:1.625;
	font-size:16px;
}

.pagination  {
	float:right;
	margin-right:3px
}
.pagination .page-numbers {
	font-family:'Montserrat', sans-serif;
	font-size:14px;
	font-weight:bold;
	padding:0 0 0 8px
}

.title-area .pagination  {
	margin-top:-72px

}

/*------------------------------------*\
    REALISATIONS - SLIDER
\*------------------------------------*/
.single-realisations .slider-mask {
    height:585px;
    background:url("img/mask-realisations-xulon.png") no-repeat bottom left
}

.single-realisations .post-content {
    margin-bottom:30px
}

.single-realisations .post-content p {
    border-bottom:1px solid #ececec;
    padding-bottom:20px;
    margin-bottom:20px
}

.single-realisations .post-content small {
    color:#888
}

/*------------------------------------*\
    NINJA FORM
\*------------------------------------*/
.post-content .ninja-forms-all-fields-wrap {
    border-top:1px solid #ececec;
    padding-top:40px;
    margin-top:40px
}

.ninja-forms-required-items {
    display:none
}

.ninja-forms-field-error {
    font-size:12px
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (max-width:1444px) {

    #widget2 {
        background-position:-60px 40px;
        background-size:43% auto;
    }
}

@media only screen and (max-width:1150px) {

    #widget2 {
        background-position:-50px 70px;
        background-size:475px auto;
    }
}

@media only screen and (max-width:959px) {
	.wrapper {
        min-width:290px;
        width:100%;
        padding:0 15px
    }    
    
    #masthead .wrapper {
        padding:0
    }
    
    .logo a {
        left: 0;
    }
    
    .logo a img{
        width:260px
    }
    
    #header-nav {
        min-height:60px
    }
            
    .slider-mask {
        height: 425px;
    }
    
    .col2 {
        float:none;
        width:100%
    }
    
    .content-area {
        padding-top:90px;
    }
    
    .title-area .pagination {
        margin-top: -43px;
    }

    h1 {
        margin:0 0 15px;
        font-size:35px
    }
    
    .home h1 {
        margin-top:0;
    }
    
    #widget1 li {
        display: block;
        text-align:center
    }
    
    #widget1 li a {
        margin-left:auto;
        margin-right:auto
    }

    #widget2 {
        background-position: left bottom;
        background-size: auto 295px;
    }
    
    #widget2 .wrapper {
        padding-bottom: 280px;
        padding-top: 50px;
    }
    
    #widget2 .col2 {
        margin-left:0;
    }

    .button {
        padding: 15px;
    }

    #widget3 h3, #widget3 .textwidget {
        font-size: 20px;
    }
        
    #widget4 .col2 {
        margin-left:0;
        width: 100%;
    }
    
    #widget4 .wrapper {
        background-position:-150px 0px;
        background-size:auto 325px ;
        padding-bottom: 50px;
        padding-top: 225px;
    }
    
    .footer-menu > li {
        display: block;
        padding: 10px 0;
        position: relative;
    }
    
    .footer-menu {
        margin:15px 0
    }
    
    /* burger-menu */
    .burger-menu-container {
        display:block
    }
    
    .burger-menu {
        position:absolute;
        right:12px;
        top:11px;
        font-size:37px;
        line-height:1;
        font-weight:normal;
        z-index:99998;
        color:#4f504b    
    }
    
    /* header-nav */    
    #header-nav .header-menu {
		overflow:hidden;
        position:relative;
        top:60px;
        left:0;
        display:none;
        width:100%;
        background:#ebebeb;
        padding:60px 0
    }    
    #header-nav > ul > li {
        text-align:right;
        padding:0 20px 10px;
        margin:0;
        display:block;
        color:#4f504b;
        position:relative
    }
    #header-nav > ul > li:last-child {
        padding-bottom:0;
        margin:0;
    }
    #header-nav ul li > ul li a {
        color:#4f504b !important;
    }
	#header-nav ul li > ul li.current-menu-item a {
        color:#ada05e !important;
    }
    #header-nav .menu-item-has-children {
        padding:20px
    }
    
    #header-nav .sub-menu {
        padding-top:10px;
    }
    
    #header-nav .sub-menu li {
        padding:0 0 10px;
    } 
    
    #header-nav a {
        color:#4f504b;
    }   
    
}

@media only screen and (max-width:480px) {
    .archive .realisations {
        width: 290px;
    }
}

@media only screen and (min-width:480px) {
    .button {
        padding: 15px 25px;
    }
    .home .footer-menu {
        margin:0 0 15px
    }
}

@media only screen and (min-width:960px) {
    .wrapper {
        width:940px;
        padding:0 10px
    }
    .footer-menu {
        margin:0
    }
	.logo a img{
        width:329px
    }
    #header-nav ul {
        float:right;
		padding-right:50px
    }
    #header-nav > ul > li {
        list-style:inside none;
        padding:20px 8px 18px;
        margin:0;
        display:inline-block;
        position:relative
    }
    #header-nav > ul > li:last-child {
        padding:0;
		margin:0;
		position:absolute;
		top:-3px;
		right:5px
    }
    #header-nav > ul > li:hover a,
    #header-nav > ul > li:hover a .fa {
        color:#ada05e
    } 
    #header-nav ul li.menu-item-has-children:hover > ul,
    #header-nav ul li.menu-item-has-children:hover > div {
        height:auto;
        top:40px;
        visibility:visible;
        opacity:1
    }
    #header-nav ul li.menu-item-has-children > a:hover {
        background:#ebebeb

    }
    #header-nav ul li > ul,
    #header-nav ul li > div {
        opacity:0;
        visibility:hidden;
        width:auto;
        position:absolute;
        top:30px;
        left:-8px;
        padding:10px 0;
        background:#ebebeb;
        z-index:999;
        transition:all 0.3s ease-in-out
    }

    #header-nav ul li > ul li {
        display:block;
        list-style:inside none;
        padding:0;
        margin:0;
        position:relative;
    }

    #header-nav ul li > ul li a {
        color:#4f504b !important;
        font-size:12px;
        outline:none;
        display:block;
        position:relative;
        margin:0;
        padding:5px 15px;
        text-decoration:none
    }
	
	#header-nav ul li > ul li.current-menu-item a {
        color:#ada05e !important;
    }
    
    
}
@media only screen and (min-width:325px) {
    .burger-menu {
        right:15px;
        top:11px; 
    }
}

@media only screen and (min-width:1140px) {
    .wrapper {
        width:1120px;
        padding:0 100px
    }
}

/*
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	only screen and (-moz-min-device-pixel-ratio: 1.5),
	only screen and (-o-min-device-pixel-ratio: 3/2),
	only screen and (min-device-pixel-ratio: 1.5),
	only screen and ( min-resolution: 192dpi),
	only screen and ( min-resolution: 2dppx) {
	
}
*/

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

.ir {
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden
}

.hide{
	display:none
}

/*------------------------------------*\
    CONTENT
\*------------------------------------*/
.post-content ol,
.post-content ul {
	margin:0 0 25px 40px;
	padding:0
}

.post-content ul li {
	list-style-type:disc
}
.post-content ul li li {
	list-style-type:circle
}
.post-content ol li {
	list-style-type:decimal
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/
@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}