Skip to content
Snippets Groups Projects
_default.scss 4.03 KiB
/* General Demo Style */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

body, html { font-size: 100%; 	padding: 0; margin: 0;}

/* Reset */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

p {
  margin-bottom: 16px;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.container > header {
	width: 90%;
	max-width: 70em;
	margin: 0 auto;
	padding: 0 1.875em 3.125em 1.875em;
}

.container > header {
	padding: 2.875em 1.875em 1.875em;
}

.container > header h1 {
	font-size: 2.125em;
	line-height: 1.3;
	margin: 0;
	float: left;
	font-weight: 400;
}

.container > header span {
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5em;
	padding: 0 0 0.6em 0.1em;
}

.container > header nav {
	float: right;
}

.container > header nav a {
	display: block;
	float: left;
	position: relative;
	width: 2.5em;
	height: 2.5em;
	background: #fff;
	border-radius: 50%;
	color: transparent;
	margin: 0 0.1em;
	border: 4px solid #47a3da;
	text-indent: -8000px;
}

.container > header nav a:after {
	content: attr(data-info);
	color: #47a3da;
	position: absolute;
	width: 600%;
	top: 120%;
	text-align: right;
	right: 0;
	opacity: 0;
	pointer-events: none;
}

.container > header nav a:hover:after {
	opacity: 1;
}

.container > header nav a:hover {
	background: #47a3da;
}

.icon-drop:before,
.icon-arrow-left:before {
	font-family: 'fontawesome';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	speak: none;
	font-style: normal;
	font-weight: normal;
	line-height: 2;
	text-align: center;
	color: #47a3da;
	-webkit-font-smoothing: antialiased;
	text-indent: 8000px;
	padding-left: 8px;
}

.container > header nav a:hover:before {
	color: #fff;
}

.icon-drop:before {
	content: "\e000";
}

.icon-arrow-left:before {
	content: "\f060";
}

.img-responsive {
  width: auto;
}

.hov {
  cursor: pointer;
}

.upper {
	text-transform: uppercase;
}

.mobile-only {
	display: none;

	@media (max-width: 768px) {
		display: block;
	}
}

.skip-link:focus {
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    text-align: center;
    padding: .5em 0 1.5em;
    display: block;
    color: #fff;
    z-index: 999999999999999999;
    text-decoration: none;
    background: #666;
    background: rgba(0,0,0,.8);
    border: 1px dotted #ccc;
    border-top: none;
    border-radius: 0 0 6px 6px;
}

// --------------------------------------------------

//## Text.

p, a, ul, ol, li {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

p {
	font-family: $font-family-sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: $gray;
}

a:focus {
    outline: dotted 2px;
    outline-offset: 4px;
    color: #1B7582;
}


// --------------------------------------------------

//## Headings.

h1, h2, h3, h4, h5, h6 {
  margin: 11px 0;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1 {
	font-weight: bold;
	line-height: 33px;
}

h2 {
	line-height: 26px;
}

h3 {
	line-height: 22px;
}

h4 {
	line-height: 17px;
}

h5, h6 {
	line-height: 15px;
}


// --------------------------------------------------

//## WYSIWYG.

.field--name-field-media-image {
	padding-bottom: 15px;
}

.align-left {

	.field--name-field-media-image {
		padding: 0 15px 0 0;
	}
}

.align-right {

	.field--name-field-media-image {
		padding: 0 0 0 15px;
	}
}


// --------------------------------------------------

//## Out-of-box contact form.

#contact-message-feedback-form {
	margin-bottom: 20px;
}


// --------------------------------------------------

//## User forms.

.user-login-form {
	margin-bottom: 40px;
}

#user-form {
	margin-bottom: 40px;
}