/*!
 * Start Bootstrap - Creative Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Work Sans',sans-serif;
}

hr {
    max-width: 50px;
    border-color: #f05f40;
    border-width: 3px;
}

hr.light {
    border-color: #fff;
}

/*
a {
    color: #f05f40;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

a:hover,
a:focus {
    color: #eb3812;
}
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Work Sans', sans-serif !important;
}
h1, h2, h3 {
    color:#110252;
    font-weight: 900;
}
h1 {
    font-size:2.5rem;
    
}
h2 {
    font-size: 3.8rem;
    line-height: 4.5rem;
    margin-top: 5px;
}
p {
    font-family: 'Work Sans','Helvetica Neue', sans-serif;
    margin-bottom: 20px;
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 300;
}
.header h1,.header h2,.header h3 {
    font-weight: 700;
}
.header h1 {
font-size:2.5rem;
}
.header h2 {
    font-size: 2.5rem;
    line-height: 3.4rem;
    margin-top: 5px;
}
.header p {
    font-family:'Works Sans','Helvetica Neue',Arial,sans-serif;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}
.headline {
    display: block;
    font-size: 2.2rem;
    color:#110252;
    font-weight: 300;
    padding-bottom: 30px;
    margin-top:-5px;
    
}

.darkblue {
color:#10123a;
}
.header-text p {
    padding-top:20px;
    font-size: 1.4rem;
    line-height: 1.89rem;
}
.header-text {
    padding-top: 6px;
    padding-bottom: 15px;
    padding-left: 10%;
    padding-right: 10%;
    
    
}
.bg-primary {
    background-color: #f05f40;
}

.bg-dark {
    color: #fff;
    background-color: #222;
}
.bg-gold {
    color:#110252;
    background-color:#d1b555;
}

.text-faded {
    color: rgba(255,255,255,.7);
}

section {
    padding: 73px 0;
}

aside {
    padding: 50px 0;
}
.footer ul{
    list-style: none;
}
.footer ul{
    list-style: none;
    margin-top:-6px;
}
.footer .footer-menu a {
    color: #110252;
    text-transform: uppercase;
    font-size: 1.7rem;
    font-weight: 300;
}
.footer-menu ul li {
    padding: 5px 20px 20px 0;
}
.footer-address {
    padding-left:30px;
    font-size: 1.5rem;
    line-height: 2.6rem;
    font-weight: 300;
}
.footer {
    color: #110252;
    background: #d1b555;
}
.no-padding {
    padding: 0;
}
.border-white-left {
    border-left:4.6px solid #fff;
}
.text-align {
    text-align: left;
}
.navbar-default {
    border-color: #d1b555;
    font-family: 'Work Sans',sans-serif;
    background-color: #fff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.navbar-default .navbar-header .navbar-brand {
    text-transform: uppercase;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    font-weight: 400;
    color: #0e0e0e;
}

.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
    color: #eb3812;
}

.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
    text-transform: uppercase;
    font-size: 1.7rem;
    font-weight: 300;
    color: #0e0e0e;
}

.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
    color: #110252;
}

.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
    color: #000 !important;
    background-color: transparent;
    padding-bottom: 6px;
}

.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover {
    background-color: transparent;
}
.logo {
    display:none;
}
.logo-mobile img{
    max-height: 100px;
    margin-top: -17px;
    position:relative;
    z-index: 1000
}
.container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
    margin-right: -15px;
    margin-left: -15px;
    min-height: 68px;
    border-color:#E1CF90;
}
.navbar-nav {
    margin: 43.5px -4px;
}
.header-image {
        width: 100%;    
    
}
.header-text {
    
    text-align: center;
}
.alue img {
    width:100%;
}
.introduction img {
    width: 100%; 
}
.introduction {
    background:#d1b555;
}
.taloinfo img {
    display:none;
}
.taloinfo p {
    font-weight: 500 !important;
}
.pdf-link img { max-width: 250px; }
.mies img {
    display:none;    
}
.esittely {
    padding:2.5rem 0;
}
.slick-prev {
    left: 2%;
    z-index: 1000
}
.slick-next {
        right: 2%;
}
.pdf-link {
    margin-top:45px;
    float:left;
}
.pdf-link {display: block}
section#asunto1, section#asunto2, section#alue, section#contact {
    padding: 20px 0;
}
section#contact {
    padding: 70px 0;
}

.text-padding {
        padding-top:60px;
    }
img.huoneistokoot {
        max-height: 90px;
        width:auto;
        float:none;
        padding-left:0px;
}
img.nelio {
        display: block;
        width: 90px !important;
        float: none;
        margin-right: 20px;
}
h3. h2, .headline { text-transform: uppercase;}

#asunnot p {
    font-size:1rem;
}
.talo-overflow2 {
        padding-top:55px;
    }

@media(min-width:768px) {
    .contact img {
        width:100%;
    }
    .contact .seller p {        
        
        font-weight: 300;
        color: #110252;
        font-size: 2rem;
        line-height: 1.3;
    }
    .contact .seller .name {        
        font-size: 2.3rem;
        font-weight: 500;
        color: #110252;
        
    }
    section#alue {
        padding-bottom:138px;
    }
    #asunnot p {
        font-size:1.5rem;
    }

    .talo-overflow2 {
        padding-top:80px;
    }
    .navbar-default .nav > li.active>a,
    .navbar-default .nav>li.active>a:focus {
            text-decoration:none;
    } 
    section#asunto1 { 
    padding: 70px 0;
    }
    section#asunto2 {
        padding: 70px 0;
    }
    section#asunto1, section#asunto2, section#alue {
    padding-top:143px;
}
    .text-align {
    text-align: right;
    }
    .info-talo-2 p {
        margin-bottom: 3px;
        padding-right: 50px;
    }
    
    .goto-link {
        max-width: 250px;
        display: block;
        float:right;
    }
    .asunto1-slider .slick-next:before {
        display:none;
        
    }
    .asunto2-slider .slick-prev:before {
        display:none;
    }
    .slick-prev {
        left: -63px;
    }
    .slick-next {
        right: -63px;
    }
    .right {
        float:right;
    }  
    
    #bodyContent p {
        color: #d1b555;
        padding-top:20px
    }
    .header-section {
        margin-top: 3px;
/*        background: url('../img/kuva_tausta1.png');*/
        background-position: center top;
        background-repeat: no-repeat;
        background-size: cover;
        
        
    }
    .cc {
        background: #10123a repeat-x;
        background-position: 0 -1042px;
        min-height: 550px;
            padding-top: 13%;
    }
    .c-asunto1 {
        background: url('../img/asunto-1-tausta-2.jpg') #110252 repeat-x;
        background-position: center -450px;
        min-height: 550px;
        color: #d1b555;
        padding-top: 16%;
    }
    .c-asunto1 h3 {
        color: #d1b555;
    }  
    .c-asunto2 {
        background:url('../img/tausta-4.jpg') #d1b555 repeat-x;
        background-position: center -450px;
        min-height: 550px;
        padding-top:9.2%;
    }
    .asunto1-slider {
        margin-left:110px;
    }
    .asunto2-slider {
        margin-right:110px;
    }
    .cc2 {
        background-color:#10123a;
        min-height: 500px;
    }
    .overflow-container {
        position:absolute;
        top:0;
    }
    .img-100 {
        width:100%;
    }
    img.nelio {
        display: block;
        width: 90px !important;
        float: left;
        margin-right: 20px;
    }
    
    .esittely {
        margin-top: 10%;
        min-height: 800px;
        margin-bottom: -100px;
        box-shadow: 18px 31px 89px rgba(0, 0, 0, 0.17);
    }
    .esittely img {
        padding:5px ;
        
    }
    .esittely h3 {
        padding-left:55px;
    }
    .esittely-container {
        margin-top: 20px;
    }
    .esittely-container p {
        margin-top:20px;
        margin-left:20px;
    }
    
    .header-image {
        margin-left: -30px;
        margin-top:-5px;
    }
    .introduction {
        background: url('../img/taustakuvio-kultatausta.png') #d1b555 no-repeat;
        background-position: -20% 38%;
        min-height: 1200px
    }
    .mies img {
        display:block;
        margin-top: -154px;
    }
    .pdf-link {
        margin-top: 15px;
        display: block;
        max-width: 350px;
    }
    .bmarg {
        margin-bottom:15px;
    }
    .text-white {
        color:#fff;
    }
    .contact {
        min-height: 200px;
        background:url('../img/pohja2.png') center no-repeat #F4F4F4;
    }
    .twhite {
        color:white;
    }
    
    .taloinfo img {
        vertical-align: text-bottom;
        display: block;
        position: absolute;
        bottom: 0;
        width: 90%;
    }
    .molemmat-talot {
        padding-bottom: 30px;
    }
    .info-talo-2 {
            min-height: 200px;
    }
    .pohjat img {
        
    }
    .footer {
        background:url(../img/footer_kuviot.png) #d1b555 left no-repeat;
    }
    #map {
        width:100%;
        height:500px;
    }
    img.huoneistokoot {
        max-height: 90px;
        width:auto;
        float:right;
        padding-left:30px;
    }
    img.nelio {
        display: block;
        width: 150px !important;
        float: left;
        margin-right: 20px;
    }
    
    .navbar-default {
        border-bottom:1px solid #d1b555;
        background-color: #fff;
        height: 114px;
    }

    .navbar-default .navbar-header .navbar-brand {
        color: rgba(255,255,255,.7);
    }

    .navbar-default .navbar-header .navbar-brand:hover,
    .navbar-default .navbar-header .navbar-brand:focus {
        color: #fff;
    }

    .navbar-default .nav > li>a,
    .navbar-default .nav>li>a:focus {
        color: #0e0e0e;
    }

    .navbar-default .nav > li>a:hover,
    .navbar-default .nav>li>a:focus:hover {
        color: #0e0e0e;
    }

    .navbar-default.affix {
        background-color: #fff;
    }

    .navbar-default.affix .navbar-header .navbar-brand {
        font-size: 14px;
        color: #f05f40;
    }

    .navbar-default.affix .navbar-header .navbar-brand:hover,
    .navbar-default.affix .navbar-header .navbar-brand:focus {
        color: #eb3812;
    }

    .navbar-default.affix .nav > li>a,
    .navbar-default.affix .nav>li>a:focus {
        
        padding-bottom: 6px;
    }

    .navbar-collapse.collapse {
        display: block!important;
        height: auto!important;
        padding-bottom: 0;
        overflow: visible!important;
        
    }
    .navbar-right {
        float: right!important;
        margin-right: -15px;
        margin-top: 35px;
    }
    .navbar-brand {
        float: left;
        height: 50px;
        padding:0;
        font-size: 18px;
        line-height: 20px;
    }
    .navbar-brand>img {
        display: block;
        margin-top: -2px;
    }
    .logo {
        display:block;
        padding-left:30px;
    }
    .logo-mobile {
        display:none;
    }
    .nav>li>a {
        position: relative;
        display: block;
        padding:0;
        
    }
    .nav>li {
        padding: 15px 35px 20px 0;
    }
    .nav>li>a:hover {
        
        color:#000;
        border-bottom: 3px solid #0e0e0e;
        padding-bottom: 6px;
    }
    .navbar-default .nav > li.active>a, .navbar-default .nav>li.active>a:focus {
        color: #000 !important;
        background-color: transparent;
        border-bottom: 3px solid #0e0e0e;
    }
    .header-text {
        padding-top: 60px;
        padding-bottom: 60px;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: -43px;

    }
    
}
@media(min-width:992px) {
    
    .logo {
        display:block;
        padding-left:100px;
    }
    .nav>li {
        padding: 15px 55px 0 0;
    }
    .c-asunto2 {
        background:url('../img/tausta-4.jpg') #d1b555 repeat-x;
        background-position: center -338px;
        min-height: 550px;
        padding-top:9.2%;
    }
    .c-asunto1 {
        background: url('../img/asunto-1-tausta-2.jpg') #110252 repeat-x;
        background-position: center -220px;
        min-height: 550px;
        color: #d1b555;
        padding-top: 16%;
    }
    
    
}
@media(min-width:1200px) {
     
    .nav>li {
        padding: 15px 75px 0 0;
    }
    .talo-overflow {
        max-width: 853px;
        margin-top: 80px;
        margin-bottom: -172px;
        float: right;
        margin-right: -86px;
    }
    .talo-overflow2 {
        max-width: 853px;
        margin-top: 57px;
        margin-bottom: -139px;
        float: left;
        margin-left: -86px;
    }
}

header {
    position: relative;
    width: 100%;
    min-height: auto;
    text-align: center;
    color: #fff;
    
/*
    background-image: url(../img/header.jpg);
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
*/
}

header .header-content {
    position: relative;
    width: 100%;
    padding: 100px 15px;
    text-align: center;
}

header .header-content .header-content-inner h1 {
    margin-top: 0;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 700;
}

header .header-content .header-content-inner hr {
    margin: 30px auto;
}

header .header-content .header-content-inner p {
    margin-bottom: 50px;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,.7);
}

@media(min-width:768px) {
    header {
        min-height: 100%;
    }

    header .header-content {
        position: absolute;
        top: 50%;
        padding: 0 50px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    header .header-content .header-content-inner {
        margin-right: auto;
        margin-left: auto;
        max-width: 1000px;
    }

    header .header-content .header-content-inner p {
        margin-right: auto;
        margin-left: auto;
        max-width: 80%;
        font-size: 18px;
    }
}

.section-heading {
    margin-top: 0;
}

.service-box {
    margin: 50px auto 0;
    max-width: 400px;
}

@media(min-width:992px) {
    .service-box {
        margin: 20px auto 0;
    }
}

.service-box p {
    margin-bottom: 0;
}

.portfolio-box {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 650px;
}

.portfolio-box .portfolio-box-caption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    opacity: 0;
    background: rgba(240,95,64,.9);
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    padding: 0 15px;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

@media(min-width:768px) {
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
        font-size: 16px;
    }

    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
        font-size: 22px;
    }
}

.call-to-action h2 {
    margin: 0 auto 20px;
}

.text-primary {
    color: #f05f40;
}

.no-gutter > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

.btn-default {
    border-color: #fff;
    color: #222;
    background-color: #fff;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    border-color: #ededed;
    color: #222;
    background-color: #f2f2f2;
}

.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    border-color: #fff;
    background-color: #fff;
}

.btn-default .badge {
    color: #fff;
    background-color: #222;
}

.btn-primary {
    border-color: #f05f40;
    color: #fff;
    background-color: #f05f40;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    border-color: #ed431f;
    color: #fff;
    background-color: #ee4b28;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    border-color: #f05f40;
    background-color: #f05f40;
}

.btn-primary .badge {
    color: #f05f40;
    background-color: #fff;
}

.btn {
    border: 0;
    border-radius: 300px;
    text-transform: uppercase;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    font-weight: 700;
}

.btn-xl {
    padding: 15px 30px;
}

::-moz-selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

::selection {
    text-shadow: none;
    color: #fff;
    background: #222;
}

img::selection {
    color: #fff;
    background: 0 0;
}

img::-moz-selection {
    color: #fff;
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #222;
}
