@import url("fontawesome.min.css");
@import url("sweetalert.css");
@import url("framework.css");
@import url("header.css");
@import url("footer.css");
@import url("base_m2.css") (max-width: 1230px);

:root
{
    --page-width: 1200px;               
    --primary-color: #00426b;           
    --secondary-color: #488ed8;         
    --primary-text-color: #2f2f2f;      
    --secondary-text-color: #5f5f5f;    
    --disabled-color: #cccccc;          
    --background-color: #f3f3f3;        
}

body
{
    color: var(--primary-text-color);
    background: #fff;
}
a,
.active
{
    color: var(--primary-text-color);
}
a:hover
{
    color: var(--secondary-color) !important;
}

#header,
#body,
#footer,
#copyright
{
    clear: both;
    min-width: var(--page-width);
}

#body
{
    min-height: 500px;
}
#main.floatLeft
{
    padding-right: 50px;
    width: 950px;
    border-right: 1px dotted #d5d5d5;
}
#main.floatRight
{
    padding-left: 50px;
    width: 950px;
    border-left: 1px dotted #d5d5d5;
}

.wrap
{
    position: relative;
    clear: both;
    margin: 0 auto;
    width: var(--page-width);
    display: table;
    font-size: 16px;
    
}
.box.wrap
{
    margin: 40px auto;
    padding: 0;
}
.box h1
{
    margin: 0 auto 16px;
    padding: 6px 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}
.box h1 sup
{
    position: absolute;
    left: 0;
    margin: -35px 0 0 15px;
    font-size: 24px;
    font-weight: 300;
}
.box > a
{
    position: absolute;
    top: 30px;
    right: 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}
.box div a.more
{
    display: inline-block;
    padding: 4px 16px;
    width: 250px;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    background-color: var(--primary-color);
}
.box div a.more i
{
    float: right;
    margin-top: 4px;
    color: #fff;
}
.box div a.more:hover
{
    color: var(--primary-color) !important;
    background-color: var(--secondary-color);
}
.box div a.more:hover i
{
    color: var(--primary-color) !important;
}



#sideProductSort
{
    float: left;
    padding-bottom: 20px;
    width: 250px;
    border-right: 2px solid #adadad;
}
#sideProductSort h1
{
    position: relative;
    padding: 24px 20px;
    font-size: 24px;
    line-height: 1;
    color: #fff;
    background: var(--primary-color);
}
#sideProductSort h1::before
{
    position: relative;
    top: 50px;
    content: "";
    display: block;
    width: 50px;
    border-top: 2px solid #fff;
}
#sideProductSort h1 sup
{
    clear: both;
    display: block;
    margin-top: 35px;
    font-size: 12px;
    white-space: nowrap;
    color: #fff;
}



#breadcrumb
{
    padding: 10px 0;
    background: #E2E2E2;
}
#breadcrumb li
{
    display: inline-block;
    font-size: 14px;
}
#breadcrumb li:not(:last-child)::after
{
    content: ">";
    content: "\f0da";
    margin: 0 .5rem 0 .5rem;
    font-family: FontAwesome;
    color: var(--secondary-text-color);
}
#breadcrumb a
{
    color: var(--primary-color);
    text-decoration: underline;
}
#breadcrumb li:first-child a::before
{
    content: "\f015";
    display: inline-block;
    margin-right: 4px;
    font-family: FontAwesome;
    font-size: 17px;
    transform: translateY(1px);
}



.flex
{
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex #main
{
    padding: 15px 15px 50px;
    width: 925px;
    border-right: 2px solid #f3f3f3;
    box-sizing: border-box;
}
.flex #sidebar
{
    width: 275px;
    margin-bottom: 50px;
}

@media (max-width: 1200px)
{
    body
    {
        padding-top: unset;
    }
    #header
    {
        position: unset;
    }
}



.mask
{
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5) !important;
    transition: none;
}



.iPager2
{
    margin-bottom: 100px;
}
.iPager2 li a
{
    border-radius: 3px;
}



#goTop
{
    position: fixed;
    z-index: 10000;
    right: 10px;
    bottom: 6em;
    padding-bottom: 0.2em;
    width: 4em;
    height: 4em;
    display: flex;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 140%;
    text-decoration: none;
    border: 1px solid #adadad;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transition: opacity 1s ease;
}
#goTop i
{
    display: block;
    width: 1em;
    height: 1em;
    border: 1px solid #2f2f2f;
    border-width: 1px 1px 0 0;
    transform: translateY(4px) rotate(315deg);
}
#goTop:hover,
#goTop:hover i
{
    border-color: var(--primary-color);
}



#online
{
    position: fixed;
    z-index: 9999;
    right: -150px;
    
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    border-radius: 0 0 0 6px;
    background: var(--primary-color) linear-gradient(var(--primary-color), var(--secondary-color), var(--primary-color));
    transition: all 500ms ease;
}
#online:hover
{
    right: 0;
}
#online h2
{
    position: absolute;
    left: -36px;
    padding: 8px 6px 8px 10px;
    width: 36px;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    color: #fff;
    border-radius: 5px 0 0 5px;
    background: var(--primary-color) linear-gradient(var(--primary-color), var(--secondary-color));
}
#online h2:before
{
    display: block;
    content: "";
    background: url(../image/qqw.png) no-repeat -1px 0;
    height: 27px;
}
#online h2:after
{
    display: block;
    content: "<<";
    margin-top: 5px;
    font-size: 14px;
    font-family: SimSun, serif;
    transition: all 500ms ease 200ms;
}
#online:hover h2:after
{
    transform: rotate(180deg);
}
#online > ul
{
    margin: 7px;
    padding: 0 0 6px;
    color: var(--primary-color);
    border-radius: 5px;
    background: #fff;
}
#online > ul::before
{
    content: '';
    display: block;
    height: 58px;
    background: url(../image/online_logo.png) no-repeat center center;
    background-size: 100px;
}
#online > ul > li
{
    margin: 0 3px;
    padding: 10px 4px;
    border-top: 2px solid var(--primary-color);
}
#online > ul > li h3
{
    font-size: 13px;
}
#online > ul > li ol a
{
    display: block;
    margin: 14px 10px 5px;
    padding-left: 25px;
    background: url(../image/qq.png) no-repeat;
    background-size: 20px;
}
#online > ul > li > a
{
    display: block;
    font-size: 16px;
    text-align: center;
}



#qna form
{
    margin: 0 0 30px;
}
#qna input[type=text],
#qna textarea
{
    float: left;
    margin-bottom: 15px;
    padding: 15px 20px 10px;
    width: 580px;
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-width: 0 0 1px;
    border-radius: 0;
}
#qna input:nth-child(2n)
{
    margin-left: 40px;
}
#qna input[type=text]::-webkit-input-placeholder,
#qna textarea::-webkit-input-placeholder
{
    color: inherit;
    opacity: .6;
}
#qna input[name=validCode]
{
    width: 459px;
}
#qna img
{
    width: 120px;
    height: 42px;
    border: solid 1px #e8e8e8;
    cursor: pointer;
}
#qna input[type=submit]
{
    margin-top: 20px;
    margin-left: 40px;
    padding: 8px 16px;
    width: 580px;
    font-size: 20px;
    color: #fff;
    border: 0;
    border-radius: 3px;
    background-color: var(--primary-color);
}
#qna input[type=submit]:hover
{
    color: var(--primary-color) !important;
    background-color: var(--secondary-color);
}