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

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

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

body {
    font-family: Martel, serif;
    font-size: 15px;
    color: #000;
    background-image: url(../images/BackgroundKonekuvaYlos.svg); 
    background-color: #d0d0d0;
    background-repeat: repeat-x;
    background-size: 560px;
    background-position: center top;
    background-attachment: fixed;
}

.header {
    background-image: url(../images/kupla_header.svg);
    background-repeat: no-repeat;
    height: 700px;
    margin-top: 0; 
}

h1 {
    font-size: 44px;
    font-weight: normal;
    line-height: 115%;
    padding-top: 105px;
}

h1#logo {
    background-image: url('../images/kupla_mediapalvelu.svg');
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 110px;
    margin: 0;
    line-height: 0;
    position: relative;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

h2 {
    font-size: 44px;
    font-weight: normal;
    line-height: 115%;
    padding-top: 105px;
    padding-left: 10%;
    padding-right: 27%;
    text-align: center;
    margin-top: 0;
}

h4 {
    font-size: 28px;
    margin-bottom: 0;
    margin-top: 0;
    letter-spacing: -1px;
    font-weight: normal;
}

h5 {
    font-family: MartelSansExtrabold, sans-serif;
    font-size: 17px;
    font-weight: normal;
    text-transform: uppercase;
    color: #00a9c5; 
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

span.nosto {
    font-size: 60px;
}


div.wrapper {
    max-width: 1000px;
    margin: 150px auto;
    margin-bottom: 100px;
}

.container {
    margin: 30px auto;
}
.container a {
    text-decoration: none;
    color: #000;
}

.container:after {
    content: "";
    display: block;
    clear:both;
}

.clear {
    clear: both;
}

#esittely {
    background-color: #fff;
    background-image: url(../images/Leilameloo1.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    height: 1000px;
    margin-top: 50px;
    padding-top: 80px;
}

#esittely p {
    margin: 0 10%;
    padding: 10px 0;
}

#kuvaaja {
    margin-top: -10px;
}

#kuvaaja p {
    font-family: MartelSansExtrabold, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
}
#kuvaaja p a {
    color: #000;
}

#cv {
    background-color: #fff;
    margin-top: 30px;
    padding: 110px 17% 55px 17%;
    background-image: url(../images/kupla_cv.svg);
    background-repeat: no-repeat;
    background-position: 25px 25px;
    background-size: 134px 111px;
}

#cv p {
    margin-top: 0;
}

span.aloitussana {
    font-family: MartelSansExtrabold, sans-serif;
    font-size: 17px;
    text-transform: uppercase;
    color: #000; /* #00a9c5; */
}

span.lause {
    font-family: MartelSansExtrabold, sans-serif;
    font-size: 18px;
    text-transform: none;
    color: #000;
    line-height: 120%; 
}

span.kuplasana {
    font-size: 30px;
}

#logoEsit {
    margin-right: 12px;
    margin-left: -5px;
    width: 95px;
    float: left;
}


#kupla {
    background-image: url(../images/kupla_otayhteytta.svg);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    height: 267px;
    max-width: 362px;
    float: right;
    margin-right: 10px;
    margin-top: 20px;
}

#kupla p {
    margin-top: 25%;
    padding: 0 5% 0 5%;
    font-family: MartelSansSemibold, sans-serif;
    font-size: 16px;
    line-height: 120%;
    color: #fff;
    text-align: center;    
}

#koneToimittaja {
    background-image: url(../images/kupla_toimittaja.svg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 13%;
    margin-left: 65%;
}

#koneToimittaja p {
    padding-top: 20%;
    padding-bottom: 75px;
    font-family: MartelSansExtrabold, sans-serif;
    font-weight: normal;
    color: #fff;
    line-height: 115%;
    text-align: center;
}

#koneToimittaja p a {
    text-decoration: underline;
    color: #fff;
}

#kupla p a {
    text-decoration: underline;
    color: #fff;
}

.col-3-4 {
    width: 76%;
    float: left;
    text-align: center;
}

nav {    
    border-top: 1px dotted #000;
    border-bottom: 1px dotted #000;
    margin: 100px 0 0 0;
    padding: 0;
    background-color: rgba(208, 208, 208, 0.8);/* #d0d0d0;*/
}

nav ul {
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;    
}

nav ul li {
    list-style-type: none;
    float: left;
}

nav ul li a {
    display: block;    
    font-family: MartelSansSemibold, sans-serif;
    font-size: 22px;
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 25px 5px 25px;
    color: #000; /*#00a9c5; */
    letter-spacing: 0.05em;
} 

.col-2-3 {
    float: left;
    margin-left: 0;
    width: 66%;
    text-align: center;
}

.col-1-3 {
    max-width: 32%;
    float: left;
    margin-left: 0;
    margin-right: 2%;
}
.col-1-3:nth-child(3n+0) {
    margin-right: 0;
}

.col-1-4 {
    width: 24%;
    float: left;
}

.col-1-3, .col-2-3 p {
    font-family: MartelSansSemibold, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    line-height: 120%;
}

.col-1-3 p {
    margin-top: 5px;
    background-color: rgba(208, 208, 208, 0.8);
}

.col-2-3 p {
    text-align: center;
    margin-top: -1em;
    background-color: rgba(208, 208, 208, 0.85);
}

.col-2-3 img {
    width: 80%;
    height: auto;
    padding-top: 5%;
}

.col-1-3 a:hover {
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}

.col-1-3 img {
    margin-top: 0px;    
    width: 100%;
    height: auto;
}


span.linkki a {
    font-family: MartelSansExtrabold, sans-serif; 
    text-transform: uppercase;
    color: #000;
    font-weight: normal;
    text-decoration: none;
}

#lehdet {
    background-color: rgba(208, 208, 208, 0.85);
}

#lehdet p {
       line-height: 180%;
    }
    
#lehdet p a {
    text-decoration: none;
    color: #000;
}

span.varipallo {
    color: #9966cc; 
}


#ikonit {
    text-align: center;
    background-color: #fff;
    margin-top: 50px;
}

#ikonit ul {
    display: inline-block;
    vertical-align: bottom;
    margin: 0;
    padding: 0;
}

#ikonit ul li {
    list-style-type: none;
    float: left;
}


#ikonit ul li a {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 15px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
} 




a.twitter {
    background-image: url('../images/icon_Twitter.png');
}
a.linkedIn {
    background-image: url('../images/icon_LinkedIn.png');
}
a.facebook {
    background-image: url('../images/icon_Facebook.png');
}
a.gradu {
    background-image: url('../images/LK_gradu.svg');
}

a:hover {
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}



footer {
    background-image: url('../images/kupla_valkoinen.svg');
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 80px;   
}

#KoneKupla {
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
    float: left;
    height: 160px;
}

address {
    background-color: #00a9c5;
    padding: 10px;
    text-align: center;
    color: #fff;
    margin-top: 10px;
    font-family: MartelSansSemibold, sans-serif;
    font-size: 17px;
    text-transform: none;
    font-weight: normal;
    font-style: normal;
}

address a {
    text-decoration: underline;
    color: #fff;
}

footer h2 {
    padding-right: 0;
    padding-left: 0;
    padding-top: 0; 
    margin-left: 15%;
    float: left;
}

footer h2 a {
    text-decoration: none;
    color: #000;
}
span.nostovari {
    color: #00a9c5;
    text-decoration: underline;
}

h3 {
    font-size: 34px;
    font-weight: normal;
    line-height: 115%;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

footer p {
    font-family: MartelSansSemibold, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
}

footer p a {
    color: #000;
    text-decoration: underline;
}
    
#koneFacessa {
    background-image: url(../images/kupla_kone_facebook.svg);
    background-repeat: no-repeat;
    background-position: top center;
    width: 43%;
    height: 400px;
    float: right;
    margin-top: 50px;
}

#faceikoni {
    vertical-align: top; 
}

.taustakuvaAlas {
    background-image: url(../images/BackgroundKonekuvaAlas.svg);
    background-repeat: repeat-x;
    height: 125px;
    background-position: center bottom;
    margin: 0 -10px -10px -10px;
    background-size: 560px; 
}

#menuBtn {
    border: 1px solid #00a9c5;
    border-radius: 50px;
    font-size: 30px;
    padding: 2px 15px 3px 15px;
    margin: 10px auto;
    background-color: #00a9c5;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    display: none;
}

#nuoliup p {
    font-size: 40px;
    text-align: right;
    margin: 0;
    padding-bottom: 0;
}

#nuoliup p a {
    color: #9966cc;
    text-decoration: none;
} 

/*tästä alkaa respokokeilu*/

/* Tyylit näkymille joiden leveys on korkeintaan 915px */
@media (max-width: 915px) {
    div.wrapper {
        margin: 120px auto;
        margin-bottom: 40px;
        padding: 0 2%;
    }
    
    nav ul li a {
        padding: 10px 8px 5px 8px;
    }
    
    h2 {
        font-size: 38px;   
        padding-top: 85px;
        padding-right: 29%;
    }
    
    span.nosto {
        font-size: 48px;
    } 
    
    .header {
        height: 80%;
    }
    
        
    .col-2-3 p {
        margin-top: -0.7em;
    }
    
    #KoneKupla {
        margin-top: -20px;
    }
    
    h3 {
        margin-top: 45px;
    }
    
    #koneFacessa {
        height: 270px;
    }
    

       
}

/* Tyylit näkymille joiden leveys on korkeintaan 765px */

@media (max-width: 765px){
  
    .header {
        background-size: 110%;
        height: auto;
        margin-bottom: 5%;
    }
    
    #menuBtn {
        float: right;
        display: block;
        margin-bottom: 50px;
  }
    #menuBtn:hover {
        opacity: 0.5;
        filter: alpha(opacity=50); /* For IE8 and earlier */ 
    }
  
    .mobileHidden {
        display: none;
    }
    
    .col-1-4 {
        width: 155px;
        float: left;
    }
    
    h1#logo {
        background-position: top;
        background-size: cover;
       /* width: 155px;*/
        height: 139px;
        padding: 0;
    }
    .col-3-4 {
        margin-top: -95px;
        width: 100%;
    }
  
    nav {    
        margin: 10px 0 10px 0;
        padding: 0;
        background-color: rgba(208, 208, 208, 0.8);/* #d0d0d0;*/
        border-top: none;
        border-bottom: none;
        width: 100%;
    }
        
    h2 {
        font-size: 30px;   
        padding-top: 12%;
        padding-right: 25%;
        padding-left: 15%;
    }
    
    span.nosto {
        font-size: 42px;
    }
        
    nav ul {
        width: 100%;
        display: none;   
    }
        
    nav ul li {
        list-style-type: none;
        padding-top: 5px;
        padding-bottom: 0px;
        float: none;
    }
    
    nav ul li a {
        border-bottom: 1px dotted #000;
        display: block;    
        font-family: MartelSansSemibold, sans-serif;
        font-size: 22px;
        font-weight: normal;
        text-decoration: none;
        text-transform: uppercase;
        padding: 0px 0px 0px 0px;
        color: #000; /*#00a9c5; */
        letter-spacing: 0.05em;    
    } 
    
    nav ul li:first-child {
        border-top: 1px dotted #000;
    }
    
    #KoneKupla {
        margin-top: -10%;
        margin-bottom: 6%;
    }
    
    h3 {
        font-size: 24px;
        margin-top: 33px;
    }
    
    #koneFacessa {
        width: 75%;
        height: 185px;
        margin-top: 20px;
    }
    
    footer {
        background-position: 0 10%;
    }
  
    #koneToimittaja {
        background-image: none;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        margin: 0 auto 20px;        
    }
    
    #koneToimittaja p {
        margin-top: 47%;
        margin-bottom: 5px;
        font-family: MartelSansExtrabold, sans-serif;
        font-weight: normal;
        color: #000;
        line-height: 115%;
        text-align: center;
        background-color: rgba(208, 208, 208, 0.8);
        padding-top: 0;
        padding-bottom: 0;
    }
    
    #koneToimittaja p a {
        color: #000;
    }
    
    #kupla {
        background-image: none;
        background-position: top center;
        background-size: 100%;
        margin: 10px auto;
        max-width: 500px;
        text-align: center;
        float: none;
    }
       
    #kupla p {
        margin: 0 5%;
        padding: 5px 0 5% 0;
        font-family: MartelSansSemibold, sans-serif;
        font-size: 16px;
        line-height: 120%;
        color: #000;
        text-align: center;
    }
    
    #kupla p a {
        text-decoration: underline;
        color: #000;
}

    #cv {
        padding-top: 24%;
        padding-left: 7%;
        padding-right: 5%;
    }
        
    
    .col-1-3 img {
        width: 100%;
        height: auto;
    } 
 
    .col-1-3  {
        max-width: 48%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .col-1-3:nth-child(3n+0) {
        margin-left: 0;
        margin-right: 0;
    }
       
    .col-1-3:nth-child(2n+0) {
        margin-right: 0;
        margin-left: 4%
    }
  
    .col-1-3#juttunaytteet {
        max-width: 40%;
    }
    
    .col-2-3 {
        max-width: 58%
    }
    
    .col-2-3 img {
        width: 100%;
    }
}

/* Tyylit näkymille joiden leveys on korkeintaan 603px */

@media (max-width: 603px) {
    #cv {
        padding-top: 29%;
    }
}


/* Tyylit näkymille joiden leveys on korkeintaan 575px */

@media (max-width: 575px) {
      h2 {
        font-size: 24px;   
        padding-top: 12%;
        padding-right: 20%;
        padding-left: 13%;
    }
    
    span.nosto {
        font-size: 36px;
    }
}

/* Tyylit näkymille joiden leveys on korkeintaan 537px */

@media (max-width: 537px) {
    #kupla {
        background-image: none;
        background-position: top center;
        background-size: 100%;
        margin: 10px auto;
        max-width: 500px;
        text-align: center;
        float: none;
    }
       
    #kupla p {
        margin: 0 5%;
        padding: 5px 0 5% 0;
        font-family: MartelSansSemibold, sans-serif;
        font-size: 16px;
        line-height: 120%;
        color: #000;
        text-align: center;
        }
        
        #esittely {
        height: 1050px;
        margin-top: 0px;
        padding-top: 40px;
    }
}



/* Tyylit näkymille joiden leveys on korkeintaan 450px */

@media (max-width: 450px) {
    .header {
        background-size: 115%;
        height: auto;
        margin-bottom: 5%;
    }
    
    h1#logo {
        background-position: bottom;
        background-size: contain;
        height: 110px;
        padding-top: 105px;
    }          
    
    h2 {
        font-size: 20px;
        padding-top: 13%;
        padding-right: 10%;       
    }
     
     footer {
        background-position: 0 7%;
    } 
        
    footer h2 {
        margin-top: 5%;
    }
    
    span.nosto {
        font-size: 28px;
    }
    
    div.wrapper {
        max-width: 100%;
        margin: 100px auto;
        margin-bottom: 10px;
    }
    
    #esittely {
        height: 1050px;
        margin-top: 0px;
        padding-top: 40px;
    }
    
    #esittely p {
        margin: 0 6%;
        margin-right: 4%;
        padding: 10px 0;
    }
    
    #cv {
        padding-top: 135px;
        padding-left: 7%;
        padding-right: 5%;
        padding-bottom: 55px;      
        background-position: 50% 0.5%;        
    }
    
    #kupla {
        background-image: none;
        background-position: top center;
        background-repeat: no-repeat;
        background-size: contain;
        height: auto;
        margin-top: 10px;
        margin-right: 0;
    }
    
    #kupla p {
        margin: 0 5%;
        padding: 5px 0 5% 0;
        font-family: MartelSansSemibold, sans-serif;
        font-size: 16px;
        line-height: 120%;
        color: #000;
        text-align: center;    
    } 
        
    #koneToimittaja {
        background-image: none;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        margin: 0 auto 20px;        
    }
    
    #koneToimittaja p {
        margin-top: 47%;
        margin-bottom: 5px;
        font-family: MartelSansExtrabold, sans-serif;
        font-weight: normal;
        color: #000;
        line-height: 115%;
        text-align: center;
        background-color: rgba(208, 208, 208, 0.8);
        padding-top: 0;
        padding-bottom: 0;
    }
    
    #koneToimittaja p a {
        color: #000;
    }
    
    .col-3-4 {
        width: 100%;
        float: none;
        margin-top: 0;
    }
     
    nav {    
        margin: 10px 0 10px 0;
        padding: 0;
        background-color: rgba(208, 208, 208, 0.8);/* #d0d0d0;*/
        border-top: none;
        border-bottom: none;
        width: 100%;
    }
    
    nav ul {
        width: 100%;
        display: none;       
    }
        
    nav ul li {
        list-style-type: none;
        padding-top: 5px;
        padding-bottom: 0px;
        float: none;
    }
    
    nav ul li a {
        border-bottom: 1px dotted #000;
        display: block;    
        font-family: MartelSansSemibold, sans-serif;
        font-size: 22px;
        font-weight: normal;
        text-decoration: none;
        text-transform: uppercase;
        padding: 0px 0px 0px 0px;
        color: #000; /*#00a9c5; */
        letter-spacing: 0.05em;    
    } 
    
    nav ul li:first-child {
        border-top: 1px dotted #000;
    }
    
    .col-2-3 {
        display: none;
    }
    .col-1-3 {
        max-width: 100%;
        float: none;
        margin-left: 0;
    }
    
    .col-1-3#juttunaytteet {
        max-width: 75%;
        margin: 0 auto;
    }    
       
   .col-1-3:nth-child(2n+0) {
        margin-right: 0;
        margin-left: 0;
   }

    .col-1-4 {
        width: 100%;
        text-align: center;
        float: none;
    }
    
    #KoneKupla {
        margin-top: -15%;
        height: 110px;
        margin-bottom: 0%; /*miksi ei nollaannu?*/
    }
      
    address {
        margin-top: 15px;
        font-size: 17px;
    }
    
    h3 {
        font-size: 20px;
        margin-top: 40px;
    }
    #koneFacessa {
        width: 75%;
        height: 185px;
        margin-top: 20px;
    }
    
 /*   span.hidden {
        display: none;
    }*/
    
    .mobileHidden {
        display: none;
    }
    
    #menuBtn {
        display: block;
        float: none;
        margin-bottom: 10px;
    }
    
    
}
/* Tyylit näkymille joiden leveys on korkeintaan 380px */

@media (max-width: 380px) {
    span.hidden {
        display: none;
    }
    h2 {
        font-size: 18px;
        padding-top: 13%;
        padding-right: 10%;       
    }
    span.nosto {
        font-size: 26px;
    }
    #esittely {
        height: 1200px;

    }
}

