@import 'shared.css';

html {
    scroll-behavior: smooth;
}

#header {
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size:cover;
    background-position: center center;
}

.caselink {
    color:#383838;
    text-decoration: none;
}

.caselink:hover, .currentcase {
    color:#45065d;
    text-decoration: none;
}

#logo {
    padding:200px 0;
}

#mobiclose, #mobibtn {
    right: 30px;
    top:30px;
    background: transparent;
    padding:0;
    margin:0;
    border:none;
    width: 30px;
}

#mobiclose {
     z-index: 3;
}

#mobimenu {
    position: fixed;
    background: #171717;
    top:0;
    bottom:0;
    left:0;
    right: 0;
    z-index: 999;
}

#mobimenu ul {
    list-style: none;
    padding:0;
    margin:0;
    width: 100%;
}

#mobimenu ul li {
    padding:10px 0;
}

#mobimenu ul li:last-child {
    border-bottom: none;
}

#mobimenu ul li a {
    display: inline-block;
    font-size:20px;
    text-transform: uppercase;
    line-height: 1;
    color:#FFF;
    font-weight: bold;
}


/*
#mobimenu ul ul {
    display: none;
}

#mobimenu ul ul ul {
    display: none;
}
#mobimenu ul li:hover > ul {
    display: block;
}
*/

#mobimenu .mobiosaots {
    display: block;
    font-size:19px;
    font-weight: normal;
    line-height: 1;
    text-transform: uppercase;
    color:#FFF;
    border-bottom: none;
}

#mobimenu .mobiosalinkki {
    padding:5px 0;
    border-bottom: none;
}

#mobimenu .mobiosalinkki a {
    display: inline-block;
    font-size:18px;
    font-weight: normal;
    line-height: 1;
    text-transform: none;
    color:#FFF;
}

#mobimenu ul li a:hover,
.valikko ul li.current-menu-item a,
#mobimenu .mobiosalinkki a:hover {
    text-decoration: none;
    color: #edb228;
}

.mobiosaotslinkki:hover {
    color:#FFF !important;
}

.mobialavalikko,
.mobiosaots {
    position: relative;
}

.mobinuoli {
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top:10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.mobinuoliauki {
    background-image:url('../img/menu-auki.png');
    top:12px;
}

.mobinuolikiinni {
    background-image:url('../img/menu-kiinni.png');
    top:10px;
}

/*
.mobialavalikko:after,
.mobiosaots:after {
    content:'';
    background-image:url('../img/menu-kiinni.png');
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top:10px;
    width: 30px;
    height: 30px;
}

.mobialavalikko:hover:after,
.mobiosaots:hover:after {
    content:'';
    background-image:url('../img/menu-auki.png');
    top:12px;
}
*/

.valikko ul {
    list-style: none;
    padding:0;
    margin:0;
    text-align: center;
}

.valikko ul li {
    padding:0;
    margin:0 12px;
    display: inline-block;
    line-height: 1;
}

.valikko ul li:first-child {
    margin:0 12px 0 0;
}

.valikko ul li:last-child {
    margin:0 0 0 12px;
}

.valikko ul li a {
    display: block;
    font-size:17px;
    text-transform: uppercase;
    line-height: 1;
    color:#FFF;
    font-weight: bold;
    border-top:6px solid transparent;
    border-bottom:6px solid transparent;
    padding:20px 0 20px 0;
}

.valikko ul li a:hover, .valikko ul li.current-menu-item a, .valikko ul li.current-page-ancestor a {
    text-decoration: none;
    border-bottom: 6px solid #edb228;
}

.alavalikko {
    position: absolute;
    z-index: 20;
    width: 100%;
}

.alalinkki a {
    color:#FFF;
    font-size:16px;
    font-weight: normal;
}

.alalinkki a:hover {
    color:#edb228;
    text-decoration: none;
}

#footer {
    padding:100px 0 100px;
    background: #171717;
    text-align: center;
}

#footer .footersomet a {
    display: inline-block;
    color:#606060;
    font-weight: 400;
}

@media (min-width: 768px) {
    font-weight: 300;
}

#footer .footersomet a img {
    width:30px;
}

.case-select {
    background-image: url('../img/select-arrow.png');
    background-repeat: no-repeat;
    background-size: 16px 12px;
}

.ginput_container  input,
.ginput_container  textarea {
    padding:5px 4px !important;
}

/* Extra small devices (portrait phones, less than 576px) */
#header {
}

.headerkuvaleveys {
    width: 75%;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #header {
    }

    .headerkuvaleveys {
        width: 75%;
    }

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    #header {

    }

    .headerkuvaleveys {
        width: 75%;
    }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #header {

    }

    .headerkuvaleveys {
        width: 75%;
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #header {

    }

    .headerkuvaleveys {
        width: 75%;
    }

}

@media (min-width: 1600px) {
    #header {

    }

    .headerkuvaleveys {
        width: 65%;
    }

}