/* This CSS file is part of the HTML5 / CSS3 tutorial on http://www.lingulo.com */


/* GLOBAL */

@font-face {
	font-family: Broadband;
	src: url('../fonts/Broadband ICG.ttf');
}

@font-face {
	font-family: Cabin;
	src: url('../fonts/Cabin-Regular.otf');
}

@font-face {
	font-family: Herr Von Muellerhoff;
	src: url('../fonts/HerrVonMuellerhoff-Regular.ttf');
}

@font-face {
	font-family: Source Sans Pro;
	src: url('../fonts/SourceSansPro-Black.otf');
}

@font-face {
	font-family: Pixel;
	src: url('../fonts/Pixel.ttf');
}

@font-face {
	font-family: Monaco;
	src: url('../fonts/Monaco.ttf');
}

#aviso {
	display: none;
	width: 100%;
	height: 35px;
	background-color: rgba(239, 166, 72, 1.00);
	text-align: center;
	line-height: 2.3em;
	color: black;
	position: fixed;
	top: 0;
	z-index: 500;
}

body {
	background: #ffffff;
	font-family: 'Open Sans', sans-serif;
	color: #333333;
}

input {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	padding: 7px;
	outline: 0;
	border: 0;
	width: 250px;
	background: #EBE8DE;
	border-radius: 5px;
}

input[type=submit] {
	width: auto;
	padding: 5px 18px;
	line-height: 25px;
	text-shadow: none;
	cursor: pointer;
	box-shadow: none;
	background: #333333;
	color: #fff;
}

p {
	margin: 5px 0;
	line-height: 25px;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color .5s ease;
}

strong {
	font-weight: bold;
}

figcaption strong {
	border-bottom: 1px solid #D6D0C1;
	padding-bottom: 10px;
	margin: 10px 0;
	display: block;
}

hr {
	background-color: #D6D0C1;
	border: 0;
	height: 1px;
	margin: 20px 0;
}

.menus {
	color: "#333333";
}


/* HEADER */

header {
	position: relative;
	width: 100%;
	margin: 0 auto 0px auto;
	/*HEAD_COLORbackground-color:#930;*/
	/*background: -webkit-linear-gradient(rgb(0,102,153), #06F); /* For Safari 5.1 to 6.0 */
	/*background: -o-linear-gradient(rgb(0,102,153), #06F); /* For Opera 11.1 to 12.0 */
	/*background: -moz-linear-gradient(rgb(0,102,153), #06F); /* For Firefox 3.6 to 15 */
	/*background: linear-gradient(rgb(0,102,153), #06F); /* Standard syntax */
}

#ruminho {
	width: 150px;
	height: auto;
	position: absolute;
	margin-top: -13px;
	float: left;
	z-index: 100;
	display: inherit;
}

#wrapper {
	min-height: 80px;
}

#leftLogo {
	margin-left: 120px;
	width: 300px;
	max-width: 60%;
	max-height: 180px;
	height: auto;
	display: inherit;
}

#leftLogo:hover {
	cursor: pointer;
	opacity: 0.7;
}

header h1 {
	margin: 25px 0 0 0;
	font-size: 80px;
	color: #e56038;
	font-family: Broadband;
}

header p {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: #4A463B;
	margin-left: 132px;
}

nav {
	position: absolute;
	right: 120px;
	bottom: 50px;
	top: 25px;
}

nav ul {
	list-style: none;
}

nav ul li {
	display: block;
	float: left;
	padding: 3px 15px;
}

nav ul li a {
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	transition: all .25s ease;
}

nav ul li a:hover {
	color: #333333;
}

#mobileMenu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: none;
}

#mobileMenu ul li {
	display: block;
	background-color: #1976d2;
	color: #fff;
	padding: 12px 0;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
	border-bottom: 1px solid #333333;
}

.toggleMobile {
	display: none;
}


/* MISC */

.clear {
	clear: both;
}

.hidden {
	display: none;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #1976d2;
	min-width: 190px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.8);
	z-index: 50;
}

.dropdown-content a {
	color: #333333;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {
	background-color: rgb(15, 70, 125);
}

.dropdown:hover .dropdown-content {
	display: block;
}

#loginButton {
	border: 2px solid black;
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background: rgba(240, 104, 0, 1.00);
	position: fixed;
	top: 5px;
	right: 5px;
	cursor: pointer;
	box-shadow: 0px 2px 5px #666;
	z-index: 50;
	background-image: url(../img/login.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 60%;
	display: inherit;
}

#flags {
	width: 30px;
	height: 80px;
	z-index: 100;
	margin-right: 80px;
	float: right;
}

#en_flag {
	width: 26px;
	height: 26px;
	float: left;
	background-image: url(../img/flag-en.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	z-index: 49;
}

#en_flag:hover {
	cursor: pointer;
	opacity: 0.7;
}

#dk_flag {
	width: 26px;
	height: 26px;
	float: left;
	background-image: url(../img/flag-dk.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	z-index: 49;
}

#dk_flag:hover {
	cursor: pointer;
	opacity: 0.7;
}

#pt_flag {
	width: 26px;
	height: 26px;
	float: left;
	background-image: url(../img/flag-pt.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	z-index: 49;
	opacity: 0.7;
}

.plus {
	color: white;
	position: absolute;
	top: 0;
	display: block;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	padding: 0;
	margin: 0;
	line-height: 55px;
	font-size: 38px;
	font-family: 'Roboto';
	font-weight: 300;
	animation: plus-out 0.3s;
	transition: all 0.3s;
	background-image: url(../img/login2.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 60%;
}

#loginButton:hover .plus {
	animation: plus-in 0.25s linear;
	animation-fill-mode: forwards;
}

@keyframes plus-in {
	from {
		opacity: 1;
		transform: rotateZ(0deg);
	}
	to {
		opacity: 0;
		transform: rotateZ(180deg);
	}
}

@keyframes plus-out {
	from {
		opacity: 0;
		transform: rotateZ(180deg);
	}
	to {
		opacity: 1;
		transform: rotateZ(0deg);
	}
}


/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 1320px) {
        .dropdown
        {
          font-size: 13px;
        }
	#boxcontent article {
		float: none;
		margin: 30px auto 0 auto;
		width: 60%;
	}
	#spacer {
		font-size: 15px;
	}
	#spacer .search {
		margin-top: 19px;
		margin-right: -385px;
	}
	#spacer p {
		margin-left: -370px;
	}
	input {
		padding: 4px;
		font-size: 14px;
	}
	input[type="submit"] {
		padding: 1px 14px;
	}
	#four_columns {
		width: 500px;
	}
	#text_columns article.column1,
	#text_columns .column2 {
		float: none;
		max-width: 500px;
		margin: 50px 30px 0 30px;
	}
	.column2 .row {
		float: none;
		margin: 0 0 40px 50px;
	}
	footer .wrapper .column {
		font-size: 12px;
		width: 230px;
	}
	header {
		height: 120px;
	}
	header nav {
		right: auto;
		bottom: auto;
		left: 50%;
		top: 100px;
		margin-left: -380px;
	}
	#wrapper {
		max-width: 500px;
		margin: 0 auto;
	}
	#wrapper img {
		width: 100%;
	}
}

@media (max-width: 765px) {
	#ruminho {
		display: none;
	}
	.container {
		height: 1px;
		top: -1500px;
	}
	header {
		height: 80px;
	}
	header nav {
		right: auto;
		bottom: auto;
		left: 50%;
		top: 100px;
		margin-left: -184px;
		display: none;
	}
	#spacer {
		height: 100px;
	}
	#spacer p {
		text-align: center;
		position: static;
		margin: 0 auto;
		padding: 15px 0 7px 0;
	}
	#spacer .search {
		text-align: center;
		position: static;
		margin: 0 auto;
	}
	footer {
		padding-bottom: 70px;
		height: auto;
	}
	footer .wrapper {
		width: 350px;
		margin: 0 auto;
	}
	footer .wrapper .column {
		margin-top: 30px;
		float: none;
		font-size: 14px;
		width: auto;
	}
	footer .wrapper .social {
		display: none;
	}
	#mobileMenu {
		display: block;
		z-index: 99;
	}
	.toggleMobile {
		position: fixed;
		top: 10px;
		left: 10px;
		display: block;
		width: 40px;
		height: 36px;
		cursor: pointer;
		z-index: 999;
	}
	.toggleMobile span.menu1,
	.toggleMobile span.menu2,
	.toggleMobile span.menu3 {
		display: block;
		position: absolute;
		width: 40px;
		height: 8px;
		left: 0;
		background: #333333;
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile span.menu1 {
		top: 0;
	}
	.toggleMobile span.menu2 {
		top: 14px;
	}
	.toggleMobile span.menu3 {
		top: 28px;
	}
	.toggleMobile.active span.menu1 {
		top: 14px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile.active span.menu2 {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile.active span.menu3 {
		opacity: 0;
		-webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
}

@media (max-width: 1000px) {
	#ruminho {
		display: none;
	}
}

@media (max-width: 500px) {
	#ruminho {
		display: none;
	}
	header {
		margin-top: 80px;
		text-align: center;
	}
	#spacer {
		height: auto;
		padding-bottom: 15px;
	}
	#four_columns {
		width: auto;
	}
	#four_columns .img-item {
		width: 200px;
		float: none;
		margin: 25px auto 0 auto;
	}
	#four_columns h2 {
		margin: 0 30px;
	}
	.column2 .row {
		margin: 0 0 40px 10px;
		width: auto;
	}
	footer .wrapper {
		width: auto;
	}
	input {
		width: auto;
	}
	#mobileMenu {
		display: block;
		z-index: 99;
	}
	.toggleMobile {
		position: fixed;
		top: 10px;
		left: 10px;
		display: block;
		width: 40px;
		height: 36px;
		cursor: pointer;
		z-index: 999;
	}
	.toggleMobile span.menu1,
	.toggleMobile span.menu2,
	.toggleMobile span.menu3 {
		display: block;
		position: absolute;
		width: 40px;
		height: 8px;
		left: 0;
		background: #333333;
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile span.menu1 {
		top: 0;
	}
	.toggleMobile span.menu2 {
		top: 14px;
	}
	.toggleMobile span.menu3 {
		top: 28px;
	}
	.toggleMobile.active span.menu1 {
		top: 14px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile.active span.menu2 {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile.active span.menu3 {
		opacity: 0;
		-webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	header nav {
		display: none;
	}
	header h1 {
		font-size: 40px;
	}
	header p {
		margin-left: 60px;
		font-size: 14px;
	}
	#loginButton {
		margin-right: 50px;
	}
}


/* KEYFRAMES */

@keyframes stylie-transform-keyframes {
	0% {
		transform: translateX(30px) translateY(46px) rotate(0deg) translate(-50%, -50%);
		animation-timing-function: cubic-bezier(.25, .25, .75, .75);
	}
	100% {
		transform: translateX(260px) translateY(-150px) rotate(0deg) translate(-50%, -50%);
	}
}

@keyframes stylie-transform2-keyframes {
	0% {
		transform: translateX(40px) translateY(40px) rotate(0deg) translate(-50%, -50%);
		animation-timing-function: cubic-bezier(.25, .25, .75, .75);
	}
	100% {
		transform: translateX(50px) translateY(40px) rotate(0deg) translate(-50%, -50%);
	}
}