@font-face {
    font-family: 'sourcesanspro';
	src: url('../fonts/sourcesanspro-black-webfont.eot');
    src: url('../fonts/sourcesanspro-black-webfont.eot?#iefix') format('eot'),
		 url('../fonts/sourcesanspro-black-webfont.woff') format('woff'),
		 url('../fonts/sourcesanspro-black-webfont.ttf') format('truetype'),
		 url('../fonts/sourcesanspro-black-webfont.svg#source_sans_problack') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'sourcesanspro';
	src: url('../fonts/sourcesanspro-regular-webfont.eot');
    src: url('../fonts/sourcesanspro-regular-webfont.eot?#iefix') format('eot'),
         url('../fonts/sourcesanspro-regular-webfont.woff') format('woff'),
		 url('../fonts/sourcesanspro-regular-webfont.ttf') format('truetype'),
		 url('../fonts/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sourcesanspro';
	src: url('../fonts/sourcesanspro-it-webfont.eot');
    src: url('../fonts/sourcesanspro-it-webfont.eot?#iefix') format('eot'),
		 url('../fonts/sourcesanspro-it-webfont.woff') format('woff'),
		 url('../fonts/sourcesanspro-it-webfont.ttf') format('truetype'),
		 url('../fonts/sourcesanspro-it-webfont.svg#source_sans_proitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}
    /*.svg-fonttien id:t
    <font id="source_sans_problack" >
    <font id="source_sans_proregular" >
    <font id="source_sans_proitalic" > */

body {
    font-family: 'sourcesanspro', OpenSans, Arial, sans-serif;
    font-size: 14px;
    line-height: 130%;
    background-image: url('../images/background_img.jpg');
    background-attachment: fixed;
    background-size: cover;
    overflow-y: scroll;
    margin: 0;
}

h1 {
    font-size: 30px;
    line-height: 130%;
	color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.35em;
	margin: 0;
	padding: 0;
}

h2 {
    font-size: 17px;
    line-height: 130%;
	color: #9c1006;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.15em;
	margin-top: 35px;
	padding: 0;
}

h2:first-child {
    margin-top: -5px;
}

h2.colRight {
	margin-top: -5px;
}

h3 {
    font-size: 13px;
    line-height: 130%;
    color: #000;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.15em;
	margin: 0;
	padding: 0;
}

h3.editors {
    margin-bottom: -10px;
}

.updating {
    color: #fff;
}

p {
    margin-top: 10px;
}

.breadcrumbs {
    margin-top: 5px;
}

.editors {
    font-size: 12px;
    margin-top: 0;
}

img { /* Footerin FB-ikoni ----- */
    max-width: 100%; 
}

#wrapper {
    max-width: 1000px;
    margin: 50px auto;
}

#header {
    background-color: #000;
    letter-spacing: 0.05em;
}

#logo {
	background-image: url('../images/sarks_logo_130x40.png');
	background-repeat: no-repeat;
    float: left;
	width: 130px;
	height: 40px;
    margin: 5px 15px;
}

#logo a {
    display: block;
	width: 100%;
	height: 100%;
}

#logo span {
    display: none;
}

/* Navigaation tyylit -------------------------------- */

#navigation {
    background-color: #000;
}

#navigation ul {
    margin: 0;
    padding: 0;
    float: right;
}

#navigation ul li {
    list-style-type: none;
    float: left;
}

#navigation ul li a {
    display: block;
    padding: 16px 13px;
    color: #fae6be;
    text-transform: uppercase;  
}

#navigation ul li a.act {
    ;color: #fff;
    background-color: #f77c10;
}

#navigation ul li a:hover {
    background-color: #9c1006;
    transition: background-color 0.3s ease-out;
}

.preview:hover {
    background-color: #9c1006 !important;
}

/* Kielilinkkien tyylit ------------------------------ */

#languages {
    float: right;
}

#languages ul {
    margin: 0;
    padding: 0;
}

#languages ul li {
	list-style-type: none;
    float: left;
    margin-left: 15px;
}

#languages ul li a {
    display: inline-block;
    letter-spacing: 0.05em;
	padding: 5px 6px;
	color: #fae6be;
    background-color: #9c1006;
	text-transform: uppercase;
}

#languages ul li a:last-child {
    margin-left: -7px;
}

#languages ul li a.act {
    color: #fff;
    background-color: #f77c10;
}

#languages ul li a:hover {
    background-color: #6d0902;
    transition: background-color 0.3s ease-out;
}

/* Kuvabannerin tyylit ------------------------------- */

.banner {
	position: relative;
    max-width: 100%;
    min-height: 300px;
}

.banner h1 {
	position: absolute;
	top: 35%;
    left: 5%;
    right: 5%;
}

.banner ul {
	position: absolute;
	bottom: 10px;
    right: 10px;
}

#img1 {
    background: url('../images/etusivu_img.jpg') no-repeat center center;
    background-size: cover;
}

#img2 {
    background: url('../images/ajankohtaista_img.jpg') no-repeat center center;
    background-size: cover;
}

#img3 {
    background: url('../images/julkaisut_img.jpg') no-repeat center center;
    background-size: cover;
}

#img4 {
    background: url('../images/seura_img.jpg') no-repeat center center;
    background-size: cover;
}

#img5 {
    background: url('../images/arkisto_img.jpg') no-repeat center center;
    background-size: cover;
}

#img6 {
    background: url('../images/linkit_img.jpg') no-repeat center center;
    background-size: cover;
}

/* Sisällön tyylit ----------------------------------- */

#content {
    /* padding-bottom: 35px; */
    padding: 35px 0;
    background-color: rgba(250, 230, 190, 0.8);
    /* border: 1px solid #9c1006; */
}

#googlehaku {
    margin: -15px;
    /* border: 1px solid #83ed59; */
}

div.container {
    width: 60%;
    margin: 0 auto;
    /* border: 1px solid #9459ed; */
}

div.colLeft {    /* Julkaisut-osion kuvat ja tyylit ------------- */
    width: 30%;
    float: left;
    /* border: 1px solid #83ed59; */
}

div.colLeft img:hover {
    outline: 4px solid #fdf0d0;
}

div.colRight {
    width: 65%;
    float: right;
    /* border: 1px solid #83ed59; */
}

section.pageSection {
    box-sizing: border-box;
    padding: 35px 0;
    background-size: cover;
    background-position: center;
    /* border: 1px solid #83ed59; */
}

section:first-child {
    margin-top: -35px;
}

section.clay {
    background-color: rgba(217, 200, 195, 0.8);
    /* border: 1px solid #9459ed; */
}

.colFennoscandia {
    width: 80px;
    float: left;
    margin: 0 15px 15px -10px;
    /* border: 1px solid #83ed59; */
}

#narrow {
    width: 60px;
    margin-left: 10px;
}

.colFennoscandia ul {
    margin: 0;
    padding: 0;
}

.colFennoscandia ul li {
	list-style-type: none;
    float: right;
}

.masfHeader img {
    float: left;
    margin: 0 20px 20px 0;
}

.masfHeader h2 {
    padding-top: 22px;
}

.masfUnordered ul li {
    list-style-type: none;
    margin-left: -40px;
}

.masfOrdered ol li {
    margin-left: -26px;
}

.colArkeologipaivat {
    width: 130px;
    float: left;
    margin: 0 15px 15px 0;
    /* border: 1px solid #83ed59; */
}

.colArkeologipaivat ul {
    margin: 0;
    padding: 0;
}

.colArkeologipaivat ul li {
    list-style-type: none;
    float: left;
}

#archive img {
    display: block;
    float: left;
    margin: 0 20px 10px 0;
    outline: none;
}

/* Footerin tyylit ----------------------------------- */

#footer {
    background-color: #000;
    padding: 8px 15px 25px 15px;
    line-height: 120%;
    position: relative;
}

#contactInfo {
    width: 59.2%;
    float: left;
}

address {
	font-style: normal;
    color: #a49088;
}

#socialMedia {
    width: 38.8%;
    float: right;
}

#socialMedia p {
    color: #a6bbf0;
    text-align: right;
    margin: 0;
    padding-right: 35px;
}

#socialMedia img {
    float: right;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;   
}

#socialMedia img:hover {
    /* border: 1px solid #a6bbf0;
    transition: border 0.15s ease-in; */
    outline: 1px solid #a6bbf0;
}

/* Linkit ja muut tyylit ----------------------------- */

a:link {
    color: #c31205;
    text-decoration: none;
}

a:visited {
    color: #b38471;
    text-decoration: none;
}

a:hover {
    color: #f77c10;
    text-decoration: none;
}

.clear {
    clear: both;
}

.desktopHidden {
    display: none;
}

ul {   /* seura.html ja info_mt.html -osioissa */
    list-style-type: square;
    margin-left: -26px;
}

strong {
    color: #9c1006;
}

hr {
    border: none;
    border-top: 1px solid #a49088;
    margin: 5px 0 2px 0;
}

/* Tyylit näkymille max 710px ------------------------ */

@media (max-width: 710px) {
    
    #wrapper {
        max-width: 710px;
        margin: 0;
        overflow-x: hidden;
    }
    
    #navigation ul {
        float: left;
    }
    
    #navigation ul li {
        float: none;
    }
        
    #navigation ul li a {
        width: 640px;
        padding: 6px 62px;
        border-top: 1px solid #333;
    }
    
    #archive img {
    display: block;
    float: none;
    margin: 0 auto;
    padding-bottom: 10px;
    max-width: 100%;
    max-height: 100%;
    }
    
    .banner {
    min-height: 200px;
    }
    
    .banner h1 {
    top: 25%;
    }
    
    address {
    max-width: 380px;
    }
    
    .mobileHidden {
    display: none;
    }
    
    .desktopHidden {
    display: none;
    }
    
    .desktopHidden {
    display: block;
    }
    
    div.colLeft { /* Julkaisut-osion kuvat */
    display: block;
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
    }

    div.colRight {
    width: 100%;
    }
}

/* Tyylit näkymille max 590px ------------------------ */

 @media (max-width: 590px) {

    .masfHeader h2 {
    float: left;
    margin-top: -15px;
    margin-bottom: 20px;
    }
}

/* Tyylit näkymille max 560px ------------------------ */

 @media (max-width: 560px) {

    .banner h1 {
    top: 20%;
    }
}

/* Tyylit näkymille max 420px ------------------------ */

@media (max-width: 420px) {
    
    .banner h1 {
    top: 25%;
    font-size: 25px;
    letter-spacing: 0.25em;
    }
}
