/**
 * Stylesheet for mobile layout (responsive)
 * 
 * @date 2017.01.12
 */

@import url(main.css);

@media screen and (max-width: 959px) {

	/* HEADER */
	
	#Header .header-main-menu {
		right: 20px;
	}

	#Header .header-main-menu li {
		margin: 0 0 0 18px;
	}

	#Header .header-lang-menu {
		right: 20px;
	}
	
	/* BODY */
		
	#Body .section {
		padding: 20px 20px 20px 20px;
	}

	#Body .section.first {
		padding: 30px 20px 20px 20px;
	}

	#Body .section.columns-2 > .column,
	#Body .section.columns-2 > .row > .column,
	#Body .section.columns-3 > .column,
	#Body .section.columns-3 > .row > .column {
		padding: 20px 20px 20px 20px;
	}

	#Body .section.columns-2.collapse-cells > .column,
	#Body .section.columns-2.collapse-cells > .row > .column,
	#Body .section.columns-3.collapse-cells > .column,
	#Body .section.columns-3.collapse-cells > .row > .column {
		padding: 20px 10px 20px 10px;
	}

	#Body .section.columns-2.collapse-cells > .column:nth-child(2n+1),
	#Body .section.columns-2.collapse-cells > .row > .column:nth-child(2n+1),
	#Body .section.columns-3.collapse-cells > .column:nth-child(3n+1),
	#Body .section.columns-3.collapse-cells > .row > .column:nth-child(3n+1) {
		padding: 20px 10px 20px 20px;
	}

	#Body .section.columns-2.collapse-cells > .column:nth-child(2n),
	#Body .section.columns-2.collapse-cells > .row > .column:nth-child(2n),
	#Body .section.columns-3.collapse-cells > .column:nth-child(3n),
	#Body .section.columns-3.collapse-cells > .row > .column:nth-child(3n) {
		padding: 20px 20px 20px 10px;
	}

	/* FOOTER */

	#Footer .footer-bar1 {
		font-size: 14px;
	}
	
	#Footer .footer-contact .label {
		margin-left: 20px;
	}
		
	#Footer .footer-contact .phone {
		margin-left: 20px;
	}

	#Footer .footer-contact .mail {
		margin-left: 30px;
	}

	#Footer .footer-contact .address {
		float: right;
		margin-left: 0px;
		margin-right:  20px;
	}

	#Footer .footer-links {
		margin: 0 0 0 20px;
	}
	
	#Footer .copyright {
		margin: 0 20px 0 0;
	}
}


@media screen and (max-width: 836px) {

	#Header .header-logo {
		top: 4px;
		left: 15px;
	}
	
	#Header .header-logo a {
		display: block;
		width: 160px;
		height: 87px;
		background: url(../img/wjw-logo-centered.svg) no-repeat center;
		background-size: 160px auto;
	}
	
	#Header .header-logo img {
		display: none;
	}
	
}

@media screen and (max-width: 767px) {

	body {
		background-size: contain;
		background-position: center bottom;
		font-size: 16px;
		line-height: 24px;
	}
	
	#HeaderMenu {
		position: fixed;
		top: 0;
		bottom: 100%;
		left: 0;
		right: 0;
		background: rgba(12,12,12,.98);
		z-index: 100;
		padding: 0 0 0 0;
		transition: bottom .4s, padding .4s;
		overflow: hidden;
	}
	
	#HeaderMenu.visible {
		padding: 80px 0 0 0;
		bottom: 0;
		overflow-y: auto;
	}
	
	#Header .header-social-menu {
		top: 0;
		left: 0;
		right: auto;
		height: 80px;
	}
	
	#Header .header-social-menu li {
		margin: 0;
	}
	
	#Header .header-social-menu li a {
		display: block;
		border-right: solid 1px #333;
		width: 80px;
		height: 80px;
		line-height: 80px;
		text-align: center;
		box-sizing: border-box;
	}
	
	#Header .header-social-menu li a img {
		display: none;
	}
	
	#Header .header-social-menu li a.btn-facebook:before {
		content: url(../img/butt-header-facebook.dark.svg);
	}
	
	#Header .header-social-menu li a.btn-instagram:before {
		content: url(../img/butt-header-instagram.dark.svg);
	}
	
	#Header .header-lang-menu {
		top: 0;
		left: 160px;
		right: 80px;
	}
	
	#Header .header-lang-menu li.selected {
		display: none;
	}
	
	#Header .header-lang-menu li {
		width: 100%;
		margin: 0;
	}
	
	#Header .header-lang-menu li a {
		font-size: 0;
		line-height: 80px;
		height: 80px;
		padding: 0;
		text-align: center;
		color: transparent;
		text-transform: none;
		font-weight: 300;
		border-bottom: none;
	}
	
	#Header .header-lang-menu li a:hover {
		border-bottom: none;
	}
	
	#Header .header-lang-menu li a:before {
		font-size: 24px;
		color: #fff;
	}
	
	#Header .header-lang-menu li.lang-en a:before {
		content: 'English';
	}
	
	#Header .header-lang-menu li.lang-fr a:before {
		content: 'French';
	}
	
	#HeaderMenu .header-main-menu {
		position: static;
		border-top: solid 1px #333;
	}
	
	#Header .header-main-menu li {
		float: none;
		margin: 0;
	}

	#Header .header-main-menu li a {
		border-bottom: 1px solid #333;
		padding: 20px 30px;
		line-height: 40px;
		font-size: 30px;
		font-weight: 300;
		color: #fff;
	}

	#Header .header-main-menu li.selected a {
		border-bottom: 1px solid #333;
		color: #fff;
	}

	#Header .header-main-menu li a:hover {
		border-bottom: 1px solid #333;
		color: #4f4f4f;
	}

	#Header .header-close-button {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 80px;
		height: 80px;
		box-sizing: border-box;
		background: url(../img/butt-close.svg) no-repeat center center;
		border-left: solid 1px #333;
	}
	
	#Header .header-open-button {
		display: block;
		position: absolute;
		top: 20px;
		right: 20px;
		width: 60px;
		height: 60px;
		box-sizing: border-box;
		background: url(../img/icon-burger-menu.svg) no-repeat center 13px;
		background-size: 29px auto;
		cursor: pointer;
	}
	
	#Header .header-open-button:before {
		content: 'MENU';
		position: absolute;
		left: 0;
		right: 0;
		text-align: center;
		line-height: 10px;
		bottom: 7px;
		color: #000;
		font-size: 10px;
		font-weight: 400px;
		font-family: "Roboto Condensed", sans-serif;
	}

	
	#Body {
		background: #f7f5e7;
	}
		
	#Body .section.add-spacer {
		margin-top: 30px;
	}

	#Body .section.columns-2,
	#Body .section.columns-3 {
		display: block;
	}
	
	#Body .section.columns-2 > .column,
	#Body .section.columns-2 > .row > .column,
	#Body .section.columns-3 > .column,
	#Body .section.columns-3 > .row > .column {
		display: block;
		width: auto;
		padding: 20px 20px 20px 20px;
	}

	#Body .section.columns-3 > .column,
	#Body .section.columns-3 > .row > .column {
		width: auto;
	}

	#Footer {
/*
		margin: 0 0 56.84vw;
*/
		margin: 0;
		padding-top: 80px;
		background: #f7f5e7;
	}
	
	#Footer .footer-bar1 {
		height: auto;
	}

	#Footer .footer-contact {
		padding: 28px 0 0;
	}

	#Footer .footer-contact .title h4 {
		font-size: 14px;
	}
	
	#Footer .footer-contact .label,
	#Footer .footer-contact .mail,
	#Footer .footer-contact .phone,
	#Footer .footer-contact .address {
		float: none;
		font-size: 24px;
		line-height: 30px;
		margin: 0;
		padding: 35px 20px 35px 80px;
		border-bottom: solid 1px rgba(0,0,0,.3);
		background-position: 20px center;
	}
	
	#Footer .footer-contact .label {
		padding: 35px 20px 15px 20px;
	}
	
	#Footer .footer-contact .mail {
		background-size: 36px auto;
	}
	
	#Footer .footer-contact .phone {
		background-size: 30px auto;
	}
		
	#Footer .footer-contact .address {
		background-size: 32px auto;
	}
	
	#Footer .footer-links {
		display: none;
	}
		
	#Footer .copyright {
		float: none;
		margin: 0 20px;
	}

}

@media screen and (max-width: 480px) {

	#HeaderMenu.visible {
		padding: 16.666667vw 0 0 0;
	}
	
	#Header .header-social-menu {
		height: 16.666667vw;
	}
	
	#Header .header-social-menu li a {
		width: 16.666667vw;
		height: 16.666667vw;
		line-height: 16.666667vw;
	}
	
	#Header .header-lang-menu {
		left: 33.333333vw;
		right: 16.666667vw;
	}
	
	#Header .header-lang-menu li a {
		line-height: 16.666667vw;
		height: 16.666667vw;
	}
	
	#Header .header-lang-menu li a:before {
		font-size: 6.25vw;
	}
	
	#Header .header-main-menu li a {
		line-height: 8.33vw;
		font-size: 6.25vw;
	}
	
	#Header .header-close-button {
		width: 16.666667vw;
		height: 16.666667vw;
	}
}
