/* Generated by Font Squirrel (http://www.fontsquirrel.com) on December 11, 2014 */
@font-face {
    font-family: 'proxima_novasemibold';
    src: url('../fonts/proximanova-semibold-webfont.eot');
    src: url('../fonts/proximanova-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-semibold-webfont.woff2') format('woff2'),
         url('../fonts/proximanova-semibold-webfont.woff') format('woff'),
         url('../fonts/proximanova-semibold-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-semibold-webfont.svg#proxima_novasemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'proxima_nova_rgbold';
    src: url('../fonts/proximanova-bold-webfont.eot');
    src: url('../fonts/proximanova-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-bold-webfont.woff2') format('woff2'),
         url('../fonts/proximanova-bold-webfont.woff') format('woff'),
         url('../fonts/proximanova-bold-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-bold-webfont.svg#proxima_nova_rgbold') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'proxima_novalight';
    src: url('../fonts/proximanova-light-webfont.eot');
    src: url('../fonts/proximanova-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-light-webfont.woff2') format('woff2'),
         url('../fonts/proximanova-light-webfont.woff') format('woff'),
         url('../fonts/proximanova-light-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-light-webfont.svg#proxima_novalight') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'proxima_nova_rgregular';
    src: url('../fonts/proximanova-regular-webfont.eot');
    src: url('../fonts/proximanova-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proximanova-regular-webfont.woff2') format('woff2'),
         url('../fonts/proximanova-regular-webfont.woff') format('woff'),
         url('../fonts/proximanova-regular-webfont.ttf') format('truetype'),
         url('../fonts/proximanova-regular-webfont.svg#proxima_nova_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

#input {
    font-family: 'proxima_novasemibold', arial;
    font-size: 15px; 
    font-weight: normal; 
    letter-spacing: 1px; 
    border: 1px solid #79abd9; 
    background-color: white; 
    color: #005c7e; 	
    padding: 4px;
	width:320px;
}


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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

.gray-wrapper {
    background: #4a4c50 url('../img/nav-bg.jpg') repeat-x top left;
    border-bottom: 2px solid #6292d6;
    height: 99px;
}

.wrapper {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

header {
    text-align: center;
}

header h1 {
    font-size: 53px;
    line-height: 53px;
    color: #ffffff;
    float:left;
    margin: 0;
    padding: 0;
}

nav {
	font-family: 'proxima_novasemibold', arial;
	display: block;
	margin: 0;
	padding: 0;
}

nav ul {
	padding: 0;
	margin:0;
	float: right;
	width: 100%;
	overflow: hidden;
}

nav ul li{
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: auto;
}

nav ul li a {
	font-size: 13px;
	display: inline-block;
	float: left;
	padding: 0;
	width: 100%;
	text-decoration: none;
	color: #aed6f3;
    text-transform: uppercase;
    padding: 52px 10px 25px 10px;
}

nav ul a:hover {
     color: #ffffff;
}

#content ul {
	padding: 0;
	margin-left:15px;
	}

#content ul li{
	list-style-type: circle;
	margin: 0;
	padding: 0;
	width: auto;
}

.blue-background {
    height: 727px;
    background: url('../img/blue-bg.jpg') no-repeat center center fixed; 
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
}
#hanna {
    position:absolute;left:-100px;bottom:0;top:-2px; max-width: 770px; width:100%; top: 30px;
}
#introduction {
    position:absolute;
    right: 0;
    width: 100%;
    max-width: 460px;
    top: 60px;
/*top: 150px; */
text-align: center;
}

#nro {
    font-family: 'proxima_nova_rgbold', arial;
    font-size: 70px;
    line-height: 100px;
    letter-spacing: -5px;
    color: #ddf3fc;
    text-shadow: 0px 2px 9px rgba(0, 0, 0, 0.20)
}

#nro2 {
    font-family: 'proxima_nova_rgbold', arial;
    font-size: 70px;
    line-height: 100px;
    letter-spacing: -5px;
    color: #6c3d59;
    text-shadow: 0px 2px 9px rgba(0, 0, 0, 0.20)
}

#introduction p {
    font-family: 'proxima_nova_rgbold', arial;
    font-size: 19px;
    line-height: 23px;
    color: #ffffff;
    margin:0;
    padding:0;
    text-shadow: 1px 1px 1px #000000;
}

#introduction h1 {
    font-family: 'proxima_novalight', arial;
    font-size: 53px;
    line-height: 53px;
    color: #ffffff;
    font-weight: normal;
    text-transform: uppercase;
    margin:0;
    padding:0;
    text-shadow: 1px 1px 1px #000000;
}

.at-right {
    float:right;
}

.content-background {
    border-top: 3px solid #ecf2f7;
    height: 687px;
    background: #ffffff url('../img/content-bg.jpg') repeat-x top left;
}


#content {
    font-family: 'proxima_nova_rgregular', arial;
    font-size: 14px;
    line-height: 20px;
    color: #5c5c5c;
    width: 96%;
    max-width: 650px;
    margin: -346px auto;
    position: relative;
    background-color: #fdfdfe;
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0,1,1,0.23);
    -moz-box-shadow: 0px 0px 6px 0px rgba(0,1,1,0.23);
    box-shadow: 0px 0px 6px 0px rgba(0,1,1,0.23);   
    padding: 4% 2% 1% 2%;
}

#content h1 {
    font-family: 'proxima_novalight', arial;
    font-size: 26px;
    font-weight: normal;
    line-height: 26px;
    color: #434343;
    margin:0;
    padding: 0;
    text-transform: uppercase;
    float:left;
}

#content p {
    margin: 0 0 30px 0;
    padding: 0;
}

#content hr {
    height: 1px;
    border:0px;
    color: #707070;
    background-color: #707070;
    width: 50px;
    margin: 40px 0 40px 0;
}

aside {
    float:left;
    width: 100%;
    margin-top: 400px;
}

#social-media {
    margin: 0 auto;
    width: 180px;
}

#social-media a {
    font-family: 'proxima_nova_rgbold', arial;
    font-size: 10px;
    color: #005c7e;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#social-media a:hover {
    opacity: 0.8;
}

#blog {
    width: 98%;
    border-top: 1px solid #d0e6ef;
    background-color: #ddf3fc;
    padding: 1%;
    margin-top: 30px;
}

#blog h1 {
    font-family: 'proxima_novasemibold', arial;
    font-size: 18px;
    font-weight: normal;
    line-height: 24px;
    color: #005c7e;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin:0;
    padding:0;
}   

#blog article {
    margin:24px 0 0 0;
    padding:0;
} 

#blog article h2 {
    font-family: 'proxima_nova_rgbold', arial;
    font-size: 16px;
    font-weight: normal;
    line-height: 16px;
    color: #3b3b3b;
    text-transform: uppercase;
    margin:0;
    padding:0;
} 

#blog article date {
    font-family: 'proxima_novalight', arial;
    font-size: 14px;
    line-height: 20px;
    color: #5992a9;
    font-style: italic;
    margin:0;
    padding:0;
} 

#blog article p {
    font-family: 'proxima_novalight', arial;
    font-size: 14px;
    line-height: 20px;
    color: #3b3b3b;
    margin:0;
    padding:0;
} 

#blog article p.read-more a {
    font-family: 'proxima_novasemibold', arial;
    font-size: 14px;
    line-height: 20px;
    color: #005c7e;
    text-decoration: none;
    margin:0;
    padding:0;
}
#content a {
    font-family: 'proxima_novasemibold', arial;
    font-size: 14px;
    line-height: 20px;
    color: #005c7e;
    text-decoration: none;
    margin:0;
    padding:0;
}
#content a:hover {
    font-family: 'proxima_novasemibold', arial;
    font-size: 14px;
    line-height: 20px;
    color: #005c7e;
    text-decoration: underline;
    margin:0;
    padding:0;
}

.footerlinkki {
    font-family: 'proxima_novasemibold', arial;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    text-decoration: none;
    margin:0;
    padding:0;
}
.footerlinkki:hover {
    font-family: 'proxima_novasemibold', arial;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    text-decoration: underline;
    margin:0;
    padding:0;
}

#blog article p.read-more a:hover {
    text-decoration: underline;
}

#social-feeds {
    margin: 30px auto;
    max-width: 372px;
    width: 100%;
}

#social-feeds .social-margin { 
    margin-right: 0px;
    margin-bottom: 30px;
}

#social-feeds article {
    margin: 0 auto;
    max-width: 340px;
    width: 100%;
    height: 499px;
}

.footer-background {
    margin-top: 75px;
    height: 75px;
    line-height: 75px;
    background-color: #404245;
}

footer, footer a {
    font-family: 'proxima_novasemibold', arial;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.js #menu {
    display:none;
}

.js .slicknav_menu {
    display:block;
}

#content p::first-letter {
    font-size: 18px;
 
}

#form label {
    display: inline-block;
    width: 100px;
    margin-bottom: 10px;
}
#form #submit {
    font-family: 'proxima_novasemibold', arial;
    font-size: 18px; 
    font-weight: normal; 
    text-transform: uppercase;
    letter-spacing: 2px; 
    border: 1px solid #005c7e; 
    background-color: white; 
    color: #005c7e; 
    padding: 8px;
}

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

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

@media only screen and (min-width: 641px) {
    #hanna {
        top:-2px;
    }
}
@media only screen and (min-width: 1024px) {
        #nro {        
        font-size: 110px;
    }
	     #nro2 {        
        font-size: 110px;
    }
    
    .js #menu {
        display:block;
    }
    
    .js .slicknav_menu {
	   display:none;
    }
    
    .gray-wrapper {
        
    }
    
    header {
        text-align: left;
    }
    
    header img {
        float: left;
	}
    
    #introduction h1 {
        line-height: 92px;
    }
    
    nav {
        float:right;
    }
    nav ul li {
        float:left;
		
    }
    
    #introduction {
        left: 51%;
    }
    
    aside {
        margin-top: 30px;
        max-width: 180px;
    }
    #content {
		text-align:left;
        float: right;
        padding: 60px 60px 15px 60px;
        margin-top: -346px;
        margin-bottom: 30px;
        margin-right: 10px;
    }
    
    #blog {
        width: 98%;
        max-width: 300px;
        padding: 25px 20px 25px 20px;
        border-left: 1px solid #d0e6ef;
    }
    
    #social-feeds {
        float:right;
        max-width: 770px;
        margin: 30px 0;
    }
    
    #social-feeds article {
        margin: 0;
        width: 50%;
        float:left;
        /*
        border-top: 1px solid #d6d6d6;
        border-left: 1px solid #d6d6d6;
        background-color: #e0e0e0;   
        */
    }
    
    #social-feeds .social-margin { 
        margin-right: 24px;
        margin-bottom: 0px;
    }
}

@media only screen and (min-width: 1170px) {
    
    nav ul li a:last-child {
        padding-right:0;
    }
    nav ul li a {
	 padding: 52px 12px 25px 20px;
	 	font-size: 16px;
	 
    }
     aside {
        max-width: 380px;
    }
    
    #social-media {
        margin: 0;
        width: auto;
    }
    
    #social-media a {
        font-size: 14px;
    }
    
    #social-media img {
        padding-right: 10px;    
    }
    
    #content {
        text-align: left;
        margin-right: 0px;
    }
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}
