@charset "UTF-8";

/*
Theme Name: C-point Stock
Theme URI: https://c-point.co.th
Author: Wishvisit (Dai)
Author URI: https://c-point.co.th
Description: Stock management, store and reprot
Requires at least: 4.9.6
Requires PHP: 5.2.4
Version: 1.0
Text Domain: cmatch
*/

@font-face {
    font-family: 'promptpay';
    src: url('./assets/fonts/Prompt-SemiBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'promptpay';
    src: url('./assets/fonts/Prompt-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'promptpay';
    src: url('./assets/fonts/Prompt-ExtraLight.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'kozuka';
    src: url('./assets/fonts/KozukaGothicBold.otf') format('opentype'), url('./assets/fonts/KozukaGothicBold.woff') format('woff'), url('./assets/fonts/KozukaGothicBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/** general**/

.v-center {
    align-self: center;
}

.v-top {
    align-self: flex-start;
}

.font-kozuka {
    font-family: 'kozuka';
}

.font-prompt {
    font-family: 'prompt';
}


/*flex only*/

img {
    width: 100%;
    height: auto;
}

.clear {
    clear: both
}

.hidden {
    display: none;
}


/*login*/

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

section#login {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
    height: 95vh;
}

a.project-list {
    display: inline-block;
    height: 200px;
    width: 200px;
    text-align: center;
    position: relative;
    color: white;
    margin: 5px;
    text-decoration: none;
    align-self: center;
    line-height: 200px;
}

span.project-name {
    font-size: 25px;
    line-height: 1.5;
    display: inline-block;
    vertical-align: middle;
}

#stock-report tr {
    vertical-align: middle;
}

.description-column {
    max-width: 300px;
}

#stock-report img {
    max-width: 50px;
}

#product-description,
.product-description {
    white-space: break-spaces;
}

.sell-record-img {
    max-width: 150px;
}

.sell-record-product-description {
    max-height: 100px;
    overflow-y: scroll;
}