// GLOBAL SETTINGS
*{
	padding: 0;
	margin: 0;
	list-style: none;
	border: 0;
	outline: none;
	box-sizing: border-box;
}

*:before,
*:after{
	box-sizing: border-box;
}

body{
	background: $bg-color;
	color: $base-color;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", sans-serif;
	font-size: 13px;
	line-height: 21px;
}

h1,h2,h3,h4,h5,h6{
	line-height: 1.3;
	font-weight: 600;
}

h1{
	font-size: $font-size-h1;
	font-weight: 700;
}

h2{
	font-size: $font-size-h2;
}

h3{
	font-size: $font-size-h3;
}

h4{
	font-size: $font-size-h4;
}

h5{
	font-size: $font-size-h5;
}

h6{
	font-size: $font-size-h6;
}

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

a:hover{
	color: $brand-color;
}

//img:not(.lazy-img),
img,
object,
embed{
	max-width: 100%;
	height: auto;
}

iframe{
	max-width: 100%;
}

p{
	line-height: 21px;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: Inconsolata, Monaco,'MonacoRegular',monospace;
	font-size: 13px;
	line-height: 1.6;
}

pre{
	overflow: auto;
	margin: 20px 0;
	padding: 1.43em;
	color: #3f3b36;
	border: 1px solid $brand-color;
	border-left: 10px solid $brand-color;
	background: url(../images/code-bg.png) repeat top;
	background-size: 1px 40px;
	text-align: left;
	direction: ltr;
	tab-size: 2;
}

code {
	background-color: #d1d1d1;
	color: #1a1a1a;
	padding: 0.125em 0.25em;
}

kbd {
	font-family: Consolas, "Lucida Console", monospace;
	display: inline-block;
	border-radius: 3px;
	padding: 0px 4px;
	box-shadow: 1px 1px 1px #777;
	margin: 2px;
	font-size: small;
	vertical-align: text-bottom;
	font-weight: 500;
	color: #555;
	cursor: pointer;
	font-variant: small-caps;
	font-weight: 600;
	background: black;
	color: #ddd;
	letter-spacing: 1px;
	-webkit-touch-callout: none;
	user-select: none;
}

// selection
::-moz-selection{
	background: $brand-color;
	color: $bright;
	text-shadow: none;
}

::selection{
	background: $brand-color;
	color: $bright;
	text-shadow: none;
}

// Forms
textarea,
input,
select{
	border: $base-border;
	color: $base-color;
	font-size: 12px;
	outline: none;
	padding: 5px;
	line-height: 23px;
	border-radius: $base-border-radius;
	transition: background 0.3s, border 0.3s;
	max-width: 100%;
	background-color: transparent;
}

textarea:hover,
input:hover,
select:hover,
textarea:focus,
input[type="text"]:focus,
select:focus{
	background-color: rgba(0,0,0,0.03);
}

textarea,
input:not([type="checkbox"]):not([type="radio"]){
	appearance: none;
}

textarea{
	width: 100%;
}

select{
	padding: 5px;
	height: 30px;
}

select[multiple]{
	height: auto;
}

[type="radio"] {
	appearance: radio;
}

// Buttons
.button,
[type="submit"],
.generic-button a, // BuddyPress
.generic-button button{ // BuddyPress
	width: auto;
	position: relative;
	background-color: $brand-color;
	color: $bright;
	padding: 7px 15px;
	margin: 0;
	font-weight: normal;
	font-size: 12px;
	display: inline-block;
	text-align: center;
	line-height: 21px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	vertical-align: middle;
	transition: 0.3s;
	border-radius: $base-border-radius;
	appearance: none;

	&:hover{
		background-color: $dark-brand-color;
		text-decoration: none;
		color: $bright;
	}
}

.button{
	&.guest-btn{
		border: $base-border;

		&:not(:hover){
			color: $base-color;
			background: #ffffff;
		}
	}

	&.dark-btn{
		background: $dark-color;
		color: #ffffff;
		border: 0;

		&:hover{
			background: $darker-color;
		}
	}
}

.more-link{
	margin-top: 10px;
	white-space: nowrap;
	word-wrap: normal; // IE fix
}

.background-overlay {
	background-attachment: fixed;
}
