/* ----------------- RESAET CSS  ------------------------ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section,footer, banner {
    display: block;
}

ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ----------------------------COMMON STYLE-------------------------- */
body{
    font-family: arial;
}

h1{
    text-align: left;
    font-size: .91em;
    padding: 10px;
    font-weight: bold;
    box-sizing: border-box;
}


.popupContainer h2 span,
h1 span{
    text-align: right;
    text-align: right;
    font-size: 11px;
    float: right;
    font-weight: normal;
    vertical-align: middle;
    position: relative;
    color: #555;
}

.popupContainer h2 span{
    height: 20px;
}

.popupContainer h2 span img,
h1 span img{
    position: absolute;
    left: -25px;
    top:-2px;
}

.popupContainer h2 span img{
    top:8px;
}

.liststyle{
    padding: 0px;
    text-align: center;
}
.blockcontainer{
    text-decoration: none;
    width: 24%;
    padding: 0;
    text-align: center;

    display: inline-block;
    zoom: 1;
    vertical-align: top;
    padding-right: 0.2857em;
    margin-bottom: 0.857em;
}


.blockcontainer a{
    text-decoration: none;

    margin: 0;
    border: none;
    direction: ltr;
    text-align: left;
    vertical-align: middle;
    word-wrap: break-word;
    width: 100%;
    padding: 0;
    font-size: 14px;
    line-height: 1.25em;
    color: #000;
}

.ac_image{
    width: 100%;
}
.blockcontainer a:hover{
    text-decoration: underline;
}

.blockcontainer:nth-child(4n) {
    margin-right: 0px;
}

.popupContainer {
    display: none;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100%;
    min-height: 1300px;
    border-width: 0 0 1px;
    z-index: 99;

    background: #fff;
}

.popTxtCon{
    max-width: 1036px;
    margin: 0 auto;
}
.popupContainer h2 {
    font-size: 1.2em;
    line-height: 2em;
    padding: 30px 10px;
    box-sizing: border-box;
}

.popupContainer h2 span{

}

.modal-close{
    cursor: pointer;
    position: fixed;
    right:30px;
    top:20px;
}


.maincont .blockcontainer{
    max-width: 420px;
}

.mobilepop{
    border-top: 4px solid #999;
    position: fixed;
    bottom: 0px;
    left: 0px;
    height: 320px;
    background: #fff;
    padding: 10px;
    text-align: right;
    display: none;
    text-align: right;
}

.scrollX{
    background: #777;
    text-align: center;
    border-radius: 30px;
    width: 25px;
    height: 25px;
    color: #fff;
    line-height: 1.46em;
    display: block;
    position: absolute;
    right:10px;
    top:-5px;
        cursor: pointer;
}

.containemo h2{
    text-align: left;
    font-size: .8em;
    padding: 5px;
}

.mobilepop .ac_image{
    height: 100px;
    max-width: 200px;
}

.mobilepop .blockcontainer{
    width: 46%;
}

.containemo{
    position: relative;
    padding-top: 0px;
}

@media only screen and (max-width:882px) {


    .blockcontainer{
        width: 23%;
    }

    .ac_image{
        height: 140px;
    }
}


@media only screen and (max-width:652px) {

    .maincont{
        padding: 5px;
        box-sizing: border-box;
    }
    .mobilepop{
        display: block;
    }
    .blockcontainer{
        width: 100%;
    }

    .ac_image {
        height: 220px;
        max-width: 400px;
    }
}