/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: SW-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive Wordpress + eCommerce Theme.
Version: 1.1.2
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready

*/

@import url("../porto/style.css");

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

.ostoskoripopup {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgb(0 0 0 / 80%);
    z-index: 2000000001 !important;
}

.ostoskoripopup_sisalto {
    display: flex;
    background: #0188cc;
    color: #fff;
    padding: 50px;
    width: 1200px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    position: relative;
}

.ostoskoripopup_sisalto h2 {
    color: #fff;
}

.ostoskoripopup_sisalto_kuva {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    position: relative;
}

.ostoskoripopup_sisalto_kuva img {
    display: block;
}

.ostoskoripopup_sisalto_data {
    display: block;
    width: calc(100% - 400px);
    padding-left: 50px;
    box-sizing: border-box;
}

span.ostoskori_eikiitos {
    height: 3rem!important;
    padding: 0 2em;
    margin-bottom: 5px;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: -0.015em;
    font-weight: 700;
    line-height: 3rem;
    border: none;
    background-color: #000000 !important;
    color: #fff !important;
    margin-left: 20px;
}

span.ostoskoripopup_sulje.suljepopup {
    display: block;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 8px;
    right: 8px;
    background: url(close.svg);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 1.0;
    transition: 0.25s opacity;
}

span.ostoskoripopup_sulje.suljepopup:hover {
    opacity: 0.7;
}

.ostoskoripopup_sisalto p.hinta {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
}

@media screen and (max-width: 1000px) {
    .ostoskoripopup_sisalto_kuva {
        width: 30%;
    }
    
    .ostoskoripopup_sisalto_data {
        width: 70%;
    }
}

@media screen and (max-width: 800px) {
    .ostoskoripopup_sisalto {
        display: block;
        padding: 50px 25px 25px 25px;
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        overflow-y: scroll;
    }
    
    .ostoskoripopup_sisalto_kuva {
        width: 500px;
        max-width: 100%;
        margin: 0 auto 50px auto;
    }
    
    .ostoskoripopup_sisalto_data {
        width: 100%;
        padding-left: 0;
        text-align: center;
    }
    
    .ostoskoripopup .button {
        display: block;
        width: 100%;
        margin-left: 0;
    }
    
    .ostoskoripopup p.hinta {
        margin-bottom: 50px;
    }
}