/*
Theme Name: sanai
Theme URI: http://konkhmer.net
Author: konkhmer
Author URI: http://konkhmer.net
Description: This template build for wordpress plate form by konkhmer communication Co.,Ltd
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sanai
*/


/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    /*font-family: sans-serif;*/
    /*font-family: "Hiragino Mincho ProN" !important;*/
        font-family: "Hiragino Kaku Gothic ProN","Meiryo", sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}

body {
    margin: 0  
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
    text-decoration: none;
}
p{
    font-size: 16px;
    padding: 0 0 12px;
}
.entry-content p, .entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{
    margin-bottom: 20px ;
}
a:active,
a:hover {
    outline: 0;
    text-decoration: none !important;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}
ul{
    list-style-type: none;
    padding: 0;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background-color: #FFF0F5 !important; /* Fallback for when there is no custom background color defined. */
        
}
hr {
    background-color: #7030a0;
    border: 0;
    height: 3px;
    margin-bottom: 1.5em;
}
img {
    max-width: 100%;
    height: auto;
}
.site_layout {
    position: relative;
    /*background-color: #fff;*/
    margin: 0 auto;
    /*width: 1100px;*/
}

.mt20{
    margin-top:20px; 
}

.mt30{
    margin-top:30px; 
}
.mb20{
    margin-bottom: 20px;
}
.text-red{
    color:#ee0000;
}
.text-pink {
    color: #FF00CC;
}
.mt-navi {
    background-color: #fff0f5;
    margin-top: -1px;
    margin-right: -15px !important;
    margin-left: -15px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#what-new-title_shortcode,
#staff-blog {
    text-decoration: underline;
    font-size:22px;
    font-weight:bold;
    color:#7030a0;
}


.box-pdf h4 {
   font-size:17px;
}
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site-header {    
    padding: 10px 0px;
    background-color: #fff;
}
.inner-header {
    /*height: 150px;*/
}
/*Logo*/
.site-logo {

}
.site-center {

}
.site-contact{

}
#content {
    background-color: #fff;
}

footer#footer {
    padding-bottom: 15px;
    /*padding-left: 0px;
    padding-right: 0px;
    margin-top: -10px;*/
}

#head_iso
{
float:left;
}
#head_login
{
float:login;
}
    .iso_logo p {
        font-size:6px;
        margin-bottom:2px;
    }
    .iso_logo img{
        display:block;
        margin:0 auto;
    }
    .iso_logo a{
        display:block;
        margin: 0 auto;
        text-align: center;
        font-size: 14px;
    }
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
a:hover{
    text-decoration: none;
}
nav a#pull {
  display: none;
}
nav.navi,
nav.navi-foot{
    position: relative;
}
nav.navi ul li,
nav.navi-foot ul li{
    float: left;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    text-align: center;
    padding: 0px;
    height: 45px;
    position: relative;
    z-index: 11;/*change*/
}
nav.navi ul li:first-child{
    border-left:none;
}
nav.navi ul li a:hover,
nav.navi-foot ul li a:hover{
    color: #000000;
    -webkit-transition: color 1s ease,
    background-color 1s ease, box-shadow 1s ease;
    transition: color 1s ease, 
    background-color 1s ease, box-shadow 1s ease;
     background-color: #FFF0F5;
}
nav.navi ul li a,
nav.navi-foot ul li a{
    background-color: #7030a0;
    color: #fff;
    padding: 12px 0;
    display: block;
}
nav.navi ul li a,
nav.navi-foot ul li a{
    color: #fff;
}
nav.navi ul li.current-menu-item a,
nav.navi-foot ul li.current-menu-item a{
    display: block;
    color: #000;
    padding: 13px 0px;
    background-color: #FFF0F5;
    font-size: 14px;
}
nav.navi ul li.current-menu-item a:hover,
nav.navi-foot ul li.current-menu-item a:hover{
    color: #000;
    text-decoration: none;
    transition:  1s;
}
nav.navi ul li.current-menu-item a:focus,
nav.navi ul li.current-menu-item a:active,
nav.navi-foot ul li.current-menu-item a:focus,
nav.navi-foot ul li.current-menu-item a:active{
    color: #fff !important;
    outline: none !important;
    text-decoration: none !important;

}
nav.navi ul li.hasChild:after,
nav.navi-foot ul li.menu-item-has-children:after {
    content: "\f078";
    font-family: FontAwesome;
    margin: 2px 0 0 10px;
    position: absolute;
    right: 5%;
    top: 17%;
    color: #ffffff;/*change*/
}
nav.navi ul li.hasChild>ul li.hasChild:after,
nav.navi-foot ul li.menu-item-has-children>ul li.menu-item-has-children:after {
    color: #000000;
    content: "\f105";
}
nav.navi ul li ul,
nav.navi-foot ul li ul {
    margin-top: 0px;
    -moz-opacity:0;
    opacity:0;
    filter: alpha(opacity=0);
    -webkit-transition-duration:0.4s;
    transition-duration:0.4s;
    z-index:-10;
    display: none;/*change*/
}
nav.navi ul li:hover>ul,
nav.navi-foot ul li:hover>ul,
nav.navi ul li>ul li:hover>ul,
nav.navi-foot ul li>ul li:hover>ul{
    -moz-opacity:1;
    opacity:1;
    filter: alpha(opacity=100);
    -webkit-transition-duration:0.4s;
    transition-duration:0.4s;
    z-index:10;
    display: block;/*change*/
}

nav.navi ul li ul li,
nav.foot ul li ul li {
    border-right: none;
    width: 100%;
    z-index: 999;
    /*height: auto;*/
    border-top: none;
}
.navi ul li ul li:last-child{
    border-bottom:none;
    border-bottom: 1px solid  #b7b5b5;
}
nav.navi ul li ul.sub-menu li a,
nav.navi-foot ul li ul.sub-menu li a {
    font-size:13px;
    background: #ffc9f5;/*changed*/
    color: #000000;
   
}

/* sub menu */
nav.navi ul.sub-menu li,
nav.navi-foot ul.sub-menu li{
  width: 100%;
}
nav.navi ul li>ul li:hover>ul,
nav.navi-foot ul li>ul li:hover>ul{
    position: relative;
    top: -45px;
    left: 165px;

}

/* End Sub Many */

/* end menu
-------------------------*/
/*.navi-foot ul li {
    background-color: #7030a0;
    border-right: 1px solid #fff;
    float: left;
    font-size: 12px;
    height: 45px;
    text-align: center;
    width: 16.6667% !important;
    width: 16% !important;
    font-size: 12px;
    display: inline-block;
    text-align: center;
    border-right: 1px solid #fff;
    background-color: #7030a0;
    padding: 5px 0;
}
.navi-foot ul li:last-child{
    border-right: none;
}
.navi-foot ul li:hover,
.navi-foot ul li:hover a{
    color: #000;
    background-color:#FFF0F5; 
}*/
/* site-buttom header
-------------------
*/
.site-buttom{
    margin: 10px 0px;
}
.site-buttom .mem_log_on li,
.site-buttom .mem_log_off li{
    color: #000;
}
.site-buttom li {
    /*background: #7030a0;
    list-style: none;
    margin: 5px 0;*/
    padding: 1px;
}
.site-buttom li{
    color: #fff;
}
.site-buttom li a{
    color: #ffffff;
    display: block;
}
.site-buttom li span{
    padding-left: 15px;
}
.site-buttom li a:hover,
.site-buttom li:hover{
    color: #000000;
}
.chpcs_foo_content .chpcs_img{
    height: 200px;
}
/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}
.site-contact {
    margin-left: 20%;
}
.site-banner{
    text-align: left;
}
.footer-site {
    padding: 10px 0px;
    display: inline-block;
    margin-top: 20px;
}
/*Contact widget*/
.site-contact ul{
    /*text-align: right;*/
    /*padding: 0px 15px;*/
    font-size: 13px;
}
.site-contact ul li {
    line-height: 32px;
}

/*--------------------------------------------------------------
# Back to top
--------------------------------------------------------------*/

.back-top {
    z-index: 11000;
    background-color: #ccc;
    display: none;
}
.back-top a{
    display:none;
}

.back-top a:hover, .back-top a:focus, .back-top a:active
{
  outline: none;
}
.back-top a {
    background: none repeat scroll 0 0 transparent;
    border: 1px solid #000;
    bottom: 5px;
    color: #000;
    content: "";
    display: block;
    font-family: FontAwesome;
    font-size: 28px;
    height: 50px;
    position: fixed;
    right: 5px;
    text-align: center;
    transition: all 1s ease 0s;
    width: 50px;
    z-index: 1110;
}
.back-top span i{
    margin-top: 10px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.detail dl{
    font-size: 13px;
    margin: 0;
    padding: 13px;
}
.detail dt {
    float: left;
    line-height: 32px;
    /*color: #757575;*/
    font-weight: normal;
}
.detail dd {
    line-height: 32px;
    text-align: right;
}

/*Box Content*/
.box-content {
    margin: 15px 0px;
    border: 3px solid #ffc000;
    padding:5px;
    border-radius: 4px;
}
.box-content ul{
    display: block;
}
.box-content ul li {
    display: inline-block;
    vertical-align: top;
}
.box-content .box-pdf ,
.box-content .box-banner {
    text-align:center;
    vertical-align:bottom;
}
.box-content .box-banner img {
    padding-bottom: : 5%;
}
.st-title-fil{
    text-align: left; 
    font-size: 25px; 
    font-weight: bold; 
    margin: 0px; 
    padding: 5px 5px 0px 0;
}
#blog_block h4{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}
#blog_block #blog_outer {
    margin-top:20px;
}
#blog_block .blog_line {
    line-height:30px;
    border-bottom: #ddd 1px solid;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Product
--------------------------------------------------------------*/
.product-list dl{
    font-size: 13px;
    margin: 0;
    padding: 0;
}
.product-list dt {
    float: left;
    line-height: 32px;
    color: #757575;
}
.product-list dd {
    line-height: 32px;
    text-align: right;
}
/*--------------------------------------------------------------
## Welcart Plugin
--------------------------------------------------------------*/
#memberpages div.loginbox {
    text-align: center;
    width: 50% !important;
}
.thank-page {
    background-color: #fad392;
    padding: 10px 0px;
}
.thank-page > h3 {
    font-weight: bold;
}
.mem_log_off{
    display: none;
}
.style_login{
    background: #FFF0F5;
    border: 1px solid #B992C9;
    margin-bottom: 0px;
    padding: 0px;
}
.style_login_name{
    font-size:15.5px;
    text-align:left;
    margin-bottom: 0px;
    padding: 0px;
}
.off_top .style_login{
    width: 300px;
}
.rn-note-top{
    width: 100%;
}
#lg-login #rt-name,
#lg-login #rt-email,
#lg-login .lb{
    display: none;
}
#rt-contact{
    width: 50%;
    margin: 0 auto;
}
#rt-contact input[type="submit"].wpcf7-form-control.wpcf7-submit {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    width: 70px;
    padding: 5px;
    background: #7030a0;
    border: 1px solid #ccc;
    color: #fff;

}
.text-line p{
    text-align: center;
    font-size: 19px;
}
.btn-danger {
    color: #d9534f!important;
    background-color: #FFFFFF!important;
    border-color: #FFFFFF!important;
}
#member_loginw {
    color: #fff !important;
    background-color: #d9534f !important;
    border-color: #d43f3a !important;
}


/*--------------------------------------------------------------
## Responsive
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
    .site_layout{
        width: 100%;
    }
}
@media only screen and (max-width: 992px) {

}
@media only screen and (max-width: 768px) {
    .iso_logo .iso_img{
        display:none;
    }
    img {
        max-width: 100%;
        height: auto;
    }
    .site_layout{
        width: 100%;
    }
    .inner-header {
        height: auto;
    }
    .iso_logo .iso_img{
        display:none;
    }
    .iso_logo .iso_text {
        text-align:center;
    }
    #head_iso, #head_login {
        float:none;
    }
    nav.navi {

    }
    nav.navi ul{
        display: none;
    }
    nav.navi a#pull{
        color: #7030A0;
        border-bottom: 1px solid #7030A0;
    }
    .navi ul li:first-child,
    .navi-foot ul li:first-child{
        border-left: none;
    }
    nav.navi ul li{
        float: none;
        display:table;
        border-right: none;
        height: auto;
        border-bottom: 1px solid #ccc;
        border-bottom: 1px solid #ddd;
    }
    nav.navi ul li:hover ul{
        display: none;
    }
    nav.navi ul li a {     
        height: auto;
    }
    /* sub menu*/
    nav.navi ul li.hasChild:after {
        right: 0px;
        top: 0px;
        z-index: 999;
        text-align: left;
        cursor: pointer;
        background: #171616;
        padding: 11px;
        color: #fff;
    }
    nav.navi ul li ul{
        margin-top: 0px;
        opacity: 1;
        display: none;
        border-top: 1px solid  #b7b5b5;
    }
    nav.navi ul li ul li{
        border-bottom: 1px solid  #b7b5b5;
    }
    .mem_log_off li{
        display: inline-block;
    }
    .mem_log_off{
        display: block;
        text-align: center;
    }
    .mem_log_on{
        display: none;
    }
    #primary-menu li {
        width: 100% !important;
    }
    /* end menu
    ----------------*/
    
    nav.navi a#pull{
        display: block;
        width: 100%;
        position: relative;
        height: 40px;
        padding: 10px;
        
    }
    .mt-navi{
        margin-top: 0px;
    }
    /*
    nav.navi ul li,
    .navi-foot ul li{
        width: 100%;
        border-top: none;
        border-right: none;
    }*/
   
    .navi ul li, .navi-foot ul li {
        font-size: 11px;
        border-top: none;
        border-right: none;
    }
    .navi-foot ul li{
        width: 100%!important;
        display: block;
        padding: 10px 0px;
        border-bottom: 1px solid #f7d7e2;
    }
    #memberpages div.loginbox{
        width: 100% !important;
    }
    .sold-out-dis{
        width: 95%;
    }
    .site-contact ul {
        padding: 0;
    }
    .site-contact {
        margin-left: 0px;
    }
    .site-banner{
        text-align: center;
    }
    

}
@media only screen and (max-width: 640px) {
    .site-contact ul{
        text-align: center;
    }
    nav.navi {

    }
    nav.navi ul{
        display: none;
    }
    nav.navi a#pull{
        color: #7030A0;
        border-bottom: 1px solid #7030A0;
    }
    .navi ul li:first-child,
    .navi-foot ul li:first-child{
        border-left: none;
    }
    nav.navi a#pull{
        display: block;
        width: 100%;
        position: relative;
        height: 40px;
        padding: 10px;
        
    }
    nav.navi ul li{
        width: 100%;
        border-top: none;
        border-right: none;
    }
    .navi ul li, .navi-foot ul li {
        font-size: 12px;
    }
    #rt-contact{
        padding: 15px;
    }
    #rt-contact,
    #rt-contact input,
    #rt-contact textarea{
        width: 100%;
    }
    .wpf_slides .sold-out-dis a img,
    .wpf_slides .sold-out-dis{
        width: auto;
    }
    
}
@media only screen and (max-width: 340px) {
    .mem_log_off li{
        width: 30%;
    }
    .off_top li{
        width: 100%;
    }
    .item-cart-blog .item-image-sm div{
        height: 120px;
    }
    
}
@media only screen and (max-width: 320px) {
    .off_top .style_login{
        width: 100%;
    }    

}

/*--------------------------------------------------------------
## New Style on page PDF
--------------------------------------------------------------*/
.title-pdf-new {
    background-color: #f8cbad;
    padding: 5px;
}
.title-pdf-past {
    background-color: #deebf7;
    padding: 5px;
}