/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

*:focus {
    outline: none;
}

b {
	font-weight: normal;
	font-family: HelveticaNeueLTStd-Bd;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	font-family: HelveticaNeueLTStd-Roman;
}

p {
/*	text-transform: lowercase;*/
}

.close_icon:before {
	margin-top: 0.6em;
	font-size: 0.6em;
	font-family: FontAwesome;
	content: "\f057";
	float:right;
}

.open_icon:before {
	margin-top: 0.6em;
	font-size: 0.6em;
	font-family: FontAwesome;
	content: "\f13a";
	float:right;
}

.transparent-blocker:hover {
	cursor: wait;
}

.transparent-blocker {
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-color: rgba(0, 174, 239, 0.5);
	display: none;
}

nav {
    background-color: #fff;
    margin: 0;
    overflow: hidden;
}
nav ul{
    margin: 0;
    padding: 0;
}
nav ul li {
    /* This allow us to arrange list items in a row, without using float */
    display: inline-block;
	float: right;
    list-style-type: none;
}

/* Create a style for the first level items */
nav > ul > li > a {
	font-size: .7em;
	color: #000;
    line-height: 2em;
    padding: 0.5em 0.5em;
    text-decoration: none;
}

nav > ul > li > a:hover {
	font-weight: normal;
	font-family: HelveticaNeueLTStd-Bd;
}

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

a {
	font-size: .7em;
	color: #000;
    line-height: 2em;
    padding: 0.5em 0.5em;
    text-decoration: none;
}

.logo {
	font-size: 11vw;
	background-color: #00aeef;
}

.logo img {
	padding: 0.2em 15px;
	width: 85vw;
}

.title {
	padding: 0 15px;
	font-size: 10vw;
	font-family: HelveticaNeueLTStd-Blk;
	background-color: #00aeef;
	color: #8dd8f8;
}

.content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	background-color: #fff;
}

.content-left {
	padding: 2% 2% 2% 15px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}

.content-right {
	padding: 2% 2% 2% 15px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}

#contact_met_tuitel .content-right  {
		flex-direction: column;
	}

.content h1 {
	margin-left: 15px;
	margin-bottom: 0;
	width:100%;
	line-height: 1em;
	font-size: 2.5em;
	font-family: HelveticaNeueLTStd-Blk;
	font-weight: normal;
	color: #00aeef;
}

.content h2 {
	line-height: 1em;
	font-size: 1em;
	font-family: HelveticaNeueLTStd-Blk;
	font-weight: normal;
	color: #00aeef;
}


.icon {
	width: 15%;
	float:left;
	padding: 0 1em 0 0 ;
}

img.truck {
	width: 95%;
}

.call-me {
	padding: 0;
	line-height: 1em;
	font-size: 2.5em;
	font-family: HelveticaNeueLTStd-Blk;
	color: #00aeef !important;
	text-decoration: none;
}

.call-me-slogan {
	color: #00aeef;
}

.ui-state-default, .ui-state-hover, .ui-state-active  {
	border: none;
}

.singe-line {
	margin:0.4em 0;
}

input {
	margin: 0.6em 0;
	width: 100%;

}

.button {
	width: 100%;
	background-color: #00aeef;
	color: #fff;
	font-size: 1.4em;
	font-family: HelveticaNeueLTStd-Blk;
	margin: 0.6em 0;
	text-align: center;
}

.carousel img {
	width: 100%;
}

.icon_ifs {
	width: 20%;
	max-width: 120px;
}

.icon_skal {
	width: 30%;
	max-width: 150px;
}

@keyframes slidy {
	0% { left: 0%; }
	20% { left: 0%; }

	25% { left: -100%; }
	45% { left: -100%; }

	50% { left: -200%; }
	70% { left: -200%; }

	75% { left: -300%; }
	95% { left: -300%; }

	100% { left: -400%; }
	}

body { margin: 0; }
div#slider_bottom { overflow: hidden; }
div#slider_bottom figure img { width: 20%; float: left; }
div#slider_bottom figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {

	nav > ul > li > a {
		font-size: 1.2em;
	}

	.logo {
		font-size: 8vw;
	}

	.logo img {
		width: 30vw;
	}

	.content {
		max-width: 1200px;
	}

	.content-left {
		width:45%;
	}

	.content-right {
		padding:2%;
		width:45%;
		border-left: 3px solid #00aeef;
	}

	.content h1 {
		width: 46%;
    	margin-right: 52%;
	}

	.content {
		margin-bottom: 2%;
	}

	.title {
		font-size: 8vw;
	}

	.button {
		cursor: pointer;
	}

	.bottom_links {

		width: 100%;
		text-align: right;
	}

	.bottom_links a {
		font-size: 1.2em;
	}

	.bottom_links a:hover {
		font-size: 1.2em;
		font-family: HelveticaNeueLTStd-Bd;
	}

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.title {
	cursor: pointer; cursor: hand;
}
