/* - - - - - - - - - - - - - - - - - - - - - - - -

// Taideportfolio 1.0
// Light, mobile-first php design.
// Koodi ja suunnittelu: Irina Raski | http://www.irinara.com

// SlimBox2 | http://www.digitalia.be/software/slimbox2
// Iconic | http://somerandomdude.com/work/iconic/
// Basic Social icons | http://finegoodsmarket.com/

- - - - - - - - - - - - - - - - - - - - - - - - - */


/*Rakennemuotoilu*/

html {
    background-color: #fff;
    color: #000;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font: 300 100%/1.6 'Helvetica Neue', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

header {
    border-bottom: solid 1px lightGray;
    margin: 0;
    text-align: center;
}

nav {
    margin: 1em 1em;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav li {
    display: inline-block;
    margin: .5em .8em;
}

section {
    text-align: center;
}

article {
    margin: 1em 0;
}

footer {
    border-top: solid 1px lightGray;
    color: #888;
    font-size: 70%;
    margin-top: 4em;
    padding: 1em;
    text-align: right;
}

/*Sivun linkit*/

a {
    text-decoration: none;
    color: #000;
}


/*Yhteystietojen ja cv:n linkit*/

#yhteystiedot section a,
#ansioluettelo section a {
    color: purple;
    border-bottom: dotted purple 1px;
    text-decoration: none;
}

#yhteystiedot section a:hover,
#ansioluettelo section a:hover {
    border-bottom: solid purple 1px;
    color: #000;
}


/*Navigoinnin linkit*/

nav a {
    color: purple;
    border-bottom: dotted purple 1px;
    text-decoration: none;
}

nav a:hover {
    border-bottom: solid purple 1px;
    color: #000;
}


/*Avatun navigointi linkin muotoilu*/

body#teokset a#teoknav,
body#ansioluettelo a#ansiolnav,
body#yhteystiedot a#yhtnav {
    color: #000;
    font-weight: 400;
    border-bottom: none;
}

body#teokset a:hover#teoknav,
body#ansioluettelo a:hover#ansiolnav,
body#yhteystiedot a:hover#yhtnav {
    color: #000;
    font-weight: 400;
}


/*Mail ja Facebook kuvakkeiden muotoilu*/

nav img {
    margin: 1em .1em 0 0;
    opacity: 0.3;
    filter:alpha(opacity=30);
}

nav img:hover {
    opacity: 1;
    filter:alpha(opacity=100);
}

.noborder,
.noborder:hover {
    border: none;
}


/*Sivun perus tekstimuotoilut*/

h1,
h2,
h3,
h4 {
    font-weight: 100;
}

h2,
h3,
h4 {
    margin: 2em 0 .5em 1em;
    text-align: left;
}

p {
    text-align: left;
    padding: 1em .5em 0 2em;
}

b {
    font-weight: 400;
}



/*Teoskuvakkeiden divin muotoilu. Käytössä etusivulla ja teokset sivulla*/

.kuvalista {
    margin-top: 2em;
    text-align: center;
}

.kuvalista img {
    width: 200px;
    height: 200px;
    margin: 0 1px;
}


/*Teosten selaus*/

div.selaus {
    margin-top: 1em; 
    text-align: center;
}

/* Muuttaa nuolen harmaaksi: käytetään ensimmäisessä ja viimeisessä kuvassa */

img.ensin,
img.viim {
    opacity: 0.3;
    filter:alpha(opacity=30);
}

/*Teoskuvan div*/
.otsikkoteos {
    background: url('loading.gif') no-repeat center;
}

.otsikkoteos img {
    max-width: 100%;
}

/*Teostiedot*/

.otsikkoteos ul {
    background: #fff;
    font-size: 75%;
    line-height: normal;
    list-style-type: none;
    padding: .2em 0;
}

.otsikkoteos li {
    margin: 0;
    padding: 0;
    width: auto;
}


/*Artikkelin tesktimuotoilu, käytössä ansioluettelossa ja teossivuilla*/

article p {
    font-size: 90%;
    margin: 0 0 .2em 0;
}


/* - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (min-width: 50em) { /*Aloittaa muotoilun suurille ruuduille*/
    

#wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 70em;
}

section {
    margin: 0 0 1em 12em;
    padding: 0;
    text-align: left;
    width: 45em;
}
    
footer {
    border: none;
    padding: 2em;
    text-align: right;
}

    
/*Navigoinnin muotoilu suurille ruuduille*/
    
nav {
    position: fixed;
    top: 20%;
    font-size: 90%;
    text-align: right;
    padding: 1em 2em 1em 1em;
    border-right: solid 1px lightGray;
}
    
nav li {
    display: list-item;
    margin: 1em 0;
}


/*Teoskuvakkeiden muotoilu suurille ruuduille*/    
    
.kuvalista img {
    padding: .2em;
    width: 200px;
    height: 200px;
}
    

/*Teoskuvan div*/
    
.otsikkoteos {
    background: url('loading.gif') no-repeat center;
    margin: 1em 0 0 0;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    min-width: 400px;
}

    
/*Tekstimuotoilu suurille ruuduille*/

h2,
h3,
h4 {
    margin: 2em 0 .5em .3em;
}
    
p {
    padding: 1em 2em 0 2em;
}
    
    
    
    
} /*Sulkee muotoilun suurille ruuduille*/

/* - - - - - - - - - - - - - - - - - - - - - - - - - */
