@media(min-width: 320px) and (max-width: 480px) {
    html, body{
        width: 100%;
        height: 100%;
        min-height: 100%;
        margin: 0px;
        padding: 0px;
        overflow-y: scroll;
    }
    .wrapper{
		min-width: 100%;
	}
    .showd {
        display: none !important;
    }
    .showm {
        display: block !important;
    }

    .showd-inline{
        display: none !important;
    }

    .img100{
        width: 100%;
    }

    #onmain{
        margin-top: 3px;
    }

    #head {
        background:none;
        height: auto;
        margin: auto;
        position: relative;
        z-index: 1;
        padding-bottom: 15px;
        min-width: 0;
    /*     -webkit-box-shadow: 0px 5px 13px 3px rgba(50, 50, 50, 0.38);
        -moz-box-shadow:    0px 5px 13px 3px rgba(50, 50, 50, 0.38);
        box-shadow:         0px 5px 13px 3px rgba(50, 50, 50, 0.38);
*/
    }
    #head:before {
        display: none;
    }

    a.logo {
        background: none;
        width: 85%;
        height: auto;
        display: block;
        margin: 10px auto;
    }

    a.logo img{
        width: 100%;
    }

    .center{
        margin-left: auto;
        margin-right: auto;
    }

    p.texthead {
        font-size: 13px;
        color: #fff;
        text-align: center;
        line-height: 1.3em !important;
    }
    .head-container {
        width: 100%;
        margin: 0 auto;
		padding: 10px 0 0;
        top: 0;
    }
    .clip-container {
        position: relative;
        width: 100%;
        margin: 0 auto;
        padding-top: 3px;
        -webkit-overflow-scrolling:touch;
        overflow:auto;
    }
    .clip-wrap {
        background-color: #FFF;
        width: 100%;
        height: 240px;
        position: relative;
    }
    .clip-wrap .clip {
        overflow: hidden;
        width: 100%;
        height: 100%;
        position: absolute;
    }
    .clip-wrap .clip .clip-box {
        position: absolute;
        left: 0;
    }
    .clip-wrap .clip .youtube-dummy {
        width: auto;
        height: 100%;
		min-width: 100%;
		min-height: 240px;
    }
    .clip-wrap .clip .youtube-iframe {
        width: 100%;
        height: auto;
		min-height: 240px;
        display: none;
    }
    .clip-wrap .clip .clip-box li.active .youtube-dummy {
        display: none;
    }
    .clip-wrap .clip .clip-box li.active .youtube-iframe {
        display: block;
    }
    .clip-wrap .clip-arrow {
        width: 49px;
        height: 55px;
        position: absolute;
        background: url(img/dek-ibg01.png);
        top: 40%;
        opacity: 0.25;
        z-index: 4;
        cursor: default;
    }
    .clip-wrap .clip-arrow.active {
        cursor: pointer;
        opacity: 1;
    }
    .clip-wrap .clip-arrow.arrow-left {
        left: -38px;
        background-position: 0 0px;
    }
    .clip-wrap .clip-arrow.arrow-right {
        right: -39px;
        background-position: 0 -61px;
    }
    .clip-wrap .clip-arrow .arrow-img {
        display: block;
        position: absolute;
        top: 19px;
        background: url(img/dek-icon01.png) no-repeat;
        width: 17px;
        height: 26px;
    }
    .clip-wrap .clip-arrow.arrow-left .arrow-img {
        background-position: 0 0px;
        left: 23px;
    }
    .clip-wrap .clip-arrow.active.arrow-left:hover .arrow-img {
        background-position: 0 -32px;
    }
    .clip-wrap .clip-arrow.arrow-right .arrow-img {
        background-position: 0 -70px;
        left: 8px;
    }
    .clip-wrap .clip-arrow.active.arrow-right:hover .arrow-img {
        background-position: 0 -102px;
    }
    .clip .clip-box li {
        float: left;
    }
    .boximg {
        width: 96.875%;
        height: 170px;
        overflow: hidden;
        margin: 5px auto auto;    
    }
    .boximg ul.a-link {
        min-width: 85px;
        margin: 0 auto 7px;
    }
    .boximg ul.a-link li {
        float: left;
        margin-right: 3px;
        margin-bottom: 5px;
        background: #d45e07;
        margin-left: 3px;
    }
    .boximg ul.a-link li a {
        display: block;
        width: 10px;
        height: 10px;
    }
    .boximg ul.a-link li:hover {
        background: #ee5704;
    }
    .boximg ul.a-link li.active {
        background: #fcece3;
    }
    .boximg ul.a-linkimg {
        width: 874px;
        top: 0px;
        position: relative;
    }
    .boximg ul.a-linkimg li {
        float: left;
        /* margin-right: 6px; */
        margin-right: 10px;
        width: 209px;
    }
    .boximg ul.a-linkimg li a {
        display: block;
        text-decoration: none;
    }
    .boximg ul.a-linkimg li .vdo-imgthumb {
        border: solid 2px transparent;
/*         width: 205px;
        height: 115px; */
		width: 100%;
		height: auto;
    }
    .boximg ul.a-linkimg li:hover .vdo-imgthumb {
        border: solid 2px #ee5704;
    }
    .boximg ul.a-linkimg li a p {
        font-size: 13px;
        color: #8c3a10;
        text-align: center;
        padding-top: 5px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .boximg ul.a-linkimg li:hover p {
        color: #ee5704;
    }
    .boximg ul.a-linkimg li.active .vdo-imgthumb {
        border: solid 2px #facdb9;
    }
    .boximg ul.a-linkimg li.active p {
        color: #fff;
    }

    #toey-btn{
        float: left;
        width: 50%;
    }

    #poom-btn{
        float: right;
        width: 50%;
    }

    #main {
        width: 100%;
        margin: auto;
        background: #e7eaef repeat;
    }
    .manimg-right {
        display: none;
    }
    .manimg-left {
       display: none;
    }
    ul.textman {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }
    ul.textman02 {
        width: 100%;
        margin-left: 227px;
    }
    ul.textman li {
        float: none;
        margin-bottom: 5px;
    }
    ul.textman li p {
        width: 100%;
        float: none;
        color: #2a2725;
        line-height: 1.3em;
    }
    ul.textman li p.textman-text01 {
       width: 95%;
        margin-left: 5%;
        color: #FFFFFF
    }
    ul.textman li p.textman-text02 {
        width: 95%;
        margin-left: 5%;
        color: #FFFFFF
    }

    .social-box{
        padding-top: 10px;
    }

    .boxtw {
        background: none;
        width: 96%;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        float: none;
        margin-top: 30px;
    }

    .rel{
        position: relative;
    }

    #twitter-widget-0{
        height: 214px !important;
    }

    #outer-tw-box{
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        background: #469cd1;
        padding-top: 10px;
        padding-bottom: 20px;
        position: relative;
        top: -3px;
    }
    .boxtw1 {
        width: 87.5%;
        height: auto;
        background: #fff;
        margin-top: 0px;
        margin-right: auto;
        margin-left: auto;
    }

    .boxfb {
        background: none;
        width: 96%;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        float: none;
        margin-top: 10px;
    }

    .showbtn{
        background-position: left top;
        background-repeat: no-repeat;
        height: 59px;
        width: 100%;
    }

    .showbtn.showbtn0{
        background-color: #469cd1;
        border-radius: 4px;
    }

    .showbtn.showbtn1{
        background-color: #3b5998;
        border-radius: 4px;
    }

    .showbtn p{
        padding-left: 2%;
        padding-top: 7px;
        padding-bottom: 0px;
        margin: 0px;
        font-family: "supermarket", sans-serif;
        font-size: 37px;
        color: #FFF;
        line-height: 1.2em !important;
    }

    .showbtn i{
        position: absolute;
        right: 3%;
        bottom: 20%;
        font-size: 36px;
        font-weight: bold;
        color: #FFF;
        -webkit-transition: all 1s ease-in-out;
      -moz-transition: all 0.5s ease-in-out;
      -o-transition: all 0.5s ease-in-out;
      transition: all 0.5s ease-in-out;
    }

    .showbtn.active i{
        -ms-transform: rotate(180deg); /* IE 9 */
        -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
        transform: rotate(180deg);
    }

    #outer-fb-box{
         width: 100%;
        margin-left: auto;
        margin-right: auto;
         background: #3b5998;
         padding-top: 10px;
         padding-bottom: 20px;
        position: relative;
        top: -3px;
    }

    .boxfb1 {
         width: 87.5%;
        height: auto;
        background: #3b5998;
        margin-top: 0px;
        margin-right: auto;
        margin-left: auto;
    }

    .fb_iframe_widget_fluid span{
        margin-left: auto;
        margin-right:auto;
        display:block !important;
    }

    .fb_iframe_widget iframe{
        margin-left: auto;
        margin-right:auto;
        display:block !important;
    }

    #u_0_15{
        min-height: 130px !important;
    }
 /*
    ._2p3a{
        width: 100% !important;
    }
*/
    #facebook-likebox-3 iframe {
        height: 214px !important;
    }

    .topfooter {
        background: none;
        width: 100%;
/*        min-height: 211px;*/
        height: auto;
        margin-top: 30px;
/*        padding-bottom: 30%;*/
        position: relative;
        z-index: 2;
    }

    #poom-footer{
        width: 100%;
    }

    #toey-footer{
        position: absolute;
        bottom: 0px;
        right: 3%;
    }

    #greybox{
        width: 93.75%;
        background-color: #302c29;
        margin-left: auto;
        margin-right: auto;
        border-radius: 5px;
        padding: 20px 0px;
        margin-top: 20px;
    }

    #footer-txt{
        width: 66%;
        padding-bottom: 10px;
    }

    a.dekfbm img,
    a.dekyoum img,
    a.dekdeem img{
        width: 100%;
        vertical-align: middle;
    }

    a.dekfb,
    a.dekyou,
    a.dekdee{
        display: none;
    }
    .truehit {
        position: absolute;
    }
    a.dekfbm {
        width: 27.6%;
        height: auto;
        display: inline-block;
        margin-left: 2.9%;
    }
    a.dekyoum {
        width: 23.5%;
        height: auto;
        display: inline-block;
        margin-left: 4%;
        margin-right: 4%;
    }
    a.dekdeem {
        width: 31.5%;
        display: inline-block;
        height: auto;
        margin-right: 2.9%;
    }
    .truehit {
        top: auto;
        bottom: -18px;
        right: 0;
        width: 18px;
        height: 18px;
    }


    #footer{
        margin-top: 0 !important;
        z-index: 10;
        position: relative;
    }
    .dek-history{
        display: none;
    }
    #head:after{
        display: none;
    }
    ul.new-text{
        width: 100%;
        margin-top: 12px;
    }
    ul.new-text li{
        float: left;
        width: 100%;
        margin-bottom: 10px;
    }
    ul.new-text li p{
        float: left;
        width: 25.1207729468599%;
        padding-left: 2.415458937198068%;
        font-size: 14px;
        color: #2a2725;
        font-weight: bold;
        line-height: initial;
    }
    ul.new-text li p.new-t1{
        float: right;
        width: 68.11594202898551%;
        padding-left: 0;
        padding-right:2.415458937198068%; 
        font-weight: normal;
        color: #66676b;
    }


    /*footer 2012
    #wm-pond-profile .pond-ico,
    .dekd-fb,
    .dekd-tw,
    .dekd-isg {
        display: inline-block;
        width: 33px;
        height: 34px;
        line-height: 202px;
        background-image: url("https://www0.dek-d.com/assets/hp_rev1/images/icon_wm_hover.png");
        background-repeat: no-repeat;
        position: absolute;
    }
    footer {
        background-color: #FFF;
        padding: 0;
        width: 1000px;
        margin: auto;
        -webkit-box-shadow: #926530 0px 1px 4px 1px;
        -moz-box-shadow: #926530 0px 1px 4px 1px;
        box-shadow: 0 4px 4px 1px #926530;
        height: 142px;
    }
    #footer-container {
        box-shadow: 0 2px 2px 0px #dbdbdb inset;
        height: 125px;
        background-color: #f9f9f9;
        padding: 15px 0 0 0;
        position: relative;
        margin-top: 0;
    }
    #footer-container a {
        text-decoration: none;
    }
    #footer-container li {
        float: left;
    }
    #download-logo {
        background-image: url(https://www0.dek-d.com/assets/hp_rev1/images/download_logo.png);
        position: absolute;
        top: -39px;
        left: 20px;
        z-index: 100;
    }
    #download-logo a {
        display: block;
        width: 190px;
        height: 165px;
    }
    #dogilike-logo {
        background-image: url(https://www0.dek-d.com/assets/hp_rev1/images/logo_dogilike.png);
        position: absolute;
        top: 16px;
        right: 20px;
        background-repeat: no-repeat;
    }
    #dogilike-logo a {
        display: block;
        width: 128px;
        height: 22px;
        font-size: 11px;
        color: #737373;
        text-align: center;
        padding-top: 48px;
    }
    .clear {
        clear: both;
    }
    .footer-thumb {
        width: 504px;
        height: 60px;
        margin: auto;
    }
    .footer-thumb a {
        display: block;
        text-align: center;
        height: 20px;
        background-image: url(https://www0.dek-d.com/assets/hp_rev1/images/icon_footer.png);
        background-repeat: no-repeat;
        font-size: 12px;
        color: #231f20;
        padding-top: 40px;
        line-height: 12px;
    }
    .footer-thumb a:hover,
    .footer-line a:hover {
        color: #99cc00!important;
    }
    .bullet-sprite {
        background-image: url(https://www0.dek-d.com/assets/hp_rev1/images/icon_bullet.png);
        background-repeat: no-repeat;
    }
    .footer-1 {
        background-position: 36px 9px;
        width: 117px;
        font-size: 14px!important;
        color: #f37a01!important;
        font-weight: bold!important;
        line-height: 14px;
    }
    .footer-2 {
        width: 84px;
        background-position: 20px -60px;
    }
    .footer-3 {
        width: 110px;
        background-position: 33px -129px;
    }
    .footer-4 {
        width: 95px;
        background-position: 26px -196px;
    }
    .footer-5 {
        width: 98px;
        background-position: 26px -264px;
    }
    .footer-1:hover {
        background-position: 36px -330px;
    }
    .footer-2:hover {
        background-position: 20px -400px;
    }
    .footer-3:hover {
        background-position: 33px -468px;
    }
    .footer-4:hover {
        background-position: 26px -536px;
    }
    .footer-5:hover {
        background-position: 26px -604px;
    }
    .footer-line {
        width: 384px;
        height: 12px;
        margin: auto;
        margin-top: 10px;
    }
    .footer-line li {
        background-position: -2px 2px;
    }
    .footer-line a {
        display: block;
        height: 12px;
        font-size: 12px;
        line-height: 12px;
        color: #737373;
        padding: 0 10px 0 10px;
    }
    #footer-container p {
        font-size: 11px;
        line-height: 11px;
        color: #737373;
        width: 410px;
        margin: 5px auto;
    }
    #wm-pond-profile .pond-ico,
    .dekd-fb,
    .dekd-tw,
    .dekd-isg {
        display: inline-block;
        width: 33px;
        height: 34px;
        line-height: 202px;
        background-image: url("https://www0.dek-d.com/assets/hp_rev1/images/icon_wm_hover.png");
        background-repeat: no-repeat;
        position: absolute;
    }
    #pond-facebook:hover,
    .dekd-fb {
        background-position: 0 -136px;
    }
    #pond-twitter:hover,
    .dekd-tw {
        background-position: 0 -170px;
    }
    #pond-twitter:hover,
    .dekd-isg {
        background-position: 0 -205px;
    }
    .dekd-fb {
        top: 83px;
        right: 110px;
    }
    .dekd-tw {
        top: 83px;
        right: 71px;
    }
    .dekd-isg {
        top: 83px;
        right: 31px;
    }
    .dekd-fb:hover {
        background-position: 3px -30px;
    }
    .dekd-tw:hover {
        background-position: 3px -64px;
    }
    .dekd-isg:hover {
        background-position: 3px -238px;
    }
    #activity-area {
        position: relative;
        padding: 75px 10px 0;
    }
    .activity-sub {
        top: 52px;
    }
    .hr-activity {
        background: url(https://www0.dek-d.com/assets/hp_rev1/images/icon_maintitle.png) -636px -95px no-repeat;
        height: 5px;
        padding-bottom: 10px;
    }
    #act-teen {
        padding-left: 20px;
        width: 458px;
    }
    #act-brand {
        width: 478px;
    }
    .mainboard-sub {
        position: absolute;
        width: 500px;
        z-index: 2;
        top: 53px;
        left: 69px;
    }
    .mainboard-sub li {
        float: left;
        background-color: #FFF;
    }
    .mainboard-sub li a {
        display: inline-block;
        padding: 0 10px;
        height: 23px;
        line-height: 23px;
        color: #111;
        font-size: 12px;
        text-decoration: none
    }
    .mainboard-sub a.active {
        border-top: solid #f37a01 3px;
        border-left: solid #efefef 1px;
        border-right: solid #efefef 1px;
        line-height: 18px;
    }
    .mainboard-sub-case1 {
        top: 3px;
    }
    .act-content-list li {
        background-position: 6px 3px;
        height: 20px;
        padding-left: 20px;
        width: 438px;
        overflow: hidden;
        white-space: nowrap;
    }
    .act-content-list a {
        color: #444;
        font-size: 13px;
        text-decoration: none
    }
    .main-more {
        background-position: 6px -298px;
        width: 68px;
        color: #111;
        vertical-align: top;
        -webkit-border-radius: 0 8px 8px 0;
        -moz-border-radius: 0 8px 8px 0;
        border-radius: 0 8px 8px 0;
    }
    .set-mainboard-btn a,
    .set-act-btn a,
    .set-presenter-more {
        background-color: #FFFFFF;
        border: 1px solid #E6E6E6;
        box-shadow: 0 3px 0 0 #e1e1e1;
        display: inline-block;
        font-family: supermarket;
        font-size: 13px;
        height: 20px;
        line-height: 23px;
        padding: 0 10px 0 27px;
        text-decoration: none
    }
    .set-act-btn {
        float: right;
        height: 25px;
        padding-top: 10px;
        width: 237px;
    }
    #checkin-more:hover,
    .set-mainboard-btn a:hover,
    .set-act-btn a:hover,
    .set-presenter-more:hover,
    .set-writer-more:hover,
    .writer-btn-normal:hover,
    .mini-btn a:hover,
    .writer-btn-inside:hover {
        box-shadow: 0 2px 0 0 #E5E5E5 inset;
        background-color: #f7f7f7;
    }
    .act-more {
        width: auto;
    }
    .main-create {
        background-position: 7px -270px;
        width: 68px;
        color: #111;
        border-right: 1px solid white;
        -webkit-border-radius: 8px 0 0 8px;
        -moz-border-radius: 8px 0 0 8px;
        border-radius: 8px 0 0 8px;
        vertical-align: top;
    }
    .act-create {
        background-position: 9px -1453px;
    }
    .f-l {
        float: left;
    }
    .f-r {
        float: right;
    }
    #activity-area {
        position: relative;
        padding-top: 76px;
        padding-bottom: 30px
    }
    #writer-cat-area h3,
    #writer-lastup-area h3,
    #activity-area h3 {
        height: 26px;
        line-height: 26px;
        color: #111;
        font-family: supermarket;
        font-size: 22px;
        padding-left: 31px;
    }
    #writer-cat1 {
        background-position: 0 -170px;
    }
    #writer-cat2 {
        background-position: 0 -212px;
    }
    #writer-cat3 {
        background-position: 0 -255px;
    }
    #writer-cat4 {
        background-position: 0 -301px;
    }
    #writer-cat5 {
        background-position: 0 -347px;
    }
    #writer-cat6 {
        background-position: 0 -395px;
    }
    #writer-cat7 {
        background-position: 0 -444px;
    }
    #writer-cat8 {
        background-position: 0 -520px;
    }
    #writer-cat9 {
        background-position: 0 -573px;
    }
    #writer-cat-area h3 a,
    #writer-lastup-area h3 a {
        color: #111;
    }
    .writer-sprite {
        background-image: url(https://www0.dek-d.com/assets/hp_rev1/images/icon_writer.png);
        background-repeat: no-repeat;
    }
    #webmaster #wm-rec {
        width: auto;
        padding-left: 222px;
        padding-right: 28px;
    }
    #webmaster #wm-rec li,
    #act-brand li {
        width: 202px;
        float: left;
        height: 100px;
        padding-bottom: 10px;
        padding-right: 15px;
    }
    #webmaster #wm-rec li a,
    #hilight-area #hilight-box li a,
    #act-brand a,
    .hit-area-a {
        color: #616161;
        font-size: 13px;
        text-decoration: none
    }
    #webmaster #wm-rec li p,
    #hilight-area #hilight-box li p,
    #act-brand p,
    #hit-area p {
        padding-top: 5px;
    }
    .h3-1st-class {
        margin: 7px 0;
    }
    .h3-2nd-class {
        margin: 0 0 5px 0;
    }
    .h3-3rd-class {
        margin: 2px 0 7px 0;
    }
    .h3-4th-class {
        margin: 12px 0;
    }
    #presenter-area {
        position: relative;
        height: 160px;
        padding: 60px 0 50px;
    }
    #set-presenter li {
        float: left;
        width: 140px;
        padding: 0 5px;
        position: relative;
    }
    .set-presenter-hover {
        width: 140px;
        height: 80px;
        border-radius: 50%;
        background-image: url(https://www0.dek-d.com/assets/hp_rev1/images/icon_content_bg_1x1.png);
        position: absolute;
        z-index: 9px;
        top: 1px;
        left: 5px;
        display: none;
        padding-top: 60px;
        text-align: center;
    }
    #set-presenter li:hover .set-presenter-hover {
        display: block;
        z-index: 9px;
    }
    .set-presenter-hover span {
        display: inline-block;
        width: auto;
        font-size: 12px;
        line-height: 20px;
        color: #000;
        height: 20px;
        padding-left: 18px;
    }
    .presenter-view {
        background-position: -2px -2830px;
        padding-right: 5px;
    }
    .presenter-comment {
        background-position: -2px -2859px;
    }
    #presenter-container {
        width: 900px;
        margin: auto;
        height: 160px;
    }
    #set-presenter a img {
        border-radius: 50%;
    }
    #set-presenter p {
        font-family: supermarket;
        color: #444;
        font-size: 16px;
        line-height: 16px;
        text-align: center;
    }
    #presenter-btn {
        position: absolute;
        z-index: 2;
        width: 300px;
        height: 26px;
        top: 5px;
        right: 13px;
    }
    .presenter-create {
        background-position: 7px -1490px;
        color: #111;
        border-right: 1px solid #FFFFFF;
        -webkit-border-radius: 8px 0 0 8px;
        -moz-border-radius: 8px 0 0 8px;
        border-radius: 8px 0 0 8px;
    }
    .presenter-more {
        background-position: 6px -298px;
        color: #111;
        -webkit-border-radius: 0 8px 8px 0;
        -moz-border-radius: 0 8px 8px 0;
        border-radius: 0 8px 8px 0;
    }
    .set-presenter-creat {
        background-color: #f37a01;
        box-shadow: 0px 3px #d86c01, inset 0 0 1px rgba(243, 122, 1, .47);
        border: solid 1px #d86c01;
        display: inline-block;
        font-family: supermarket;
        font-size: 13px;
        height: 20px;
        line-height: 23px;
        padding: 0 10px 0 27px;
        color: #FFF;
    }
    */

    /*Popup*/

    body.inactive {
        overflow: hidden;
    }

    .main_menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 45px;
        background-color: #f8f8f8;
        box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
        padding: 10px;
        box-sizing: border-box;
        z-index: 101;
        display: block;
    }

    .container {
        -ms-transform: translateX(0px);
        -webkit-transform: translateX(0px);
        transform: translateX(0px);

        -webkit-transition: -webkit-transform 400ms ease-in-out;
        -moz-transition: -moz-transform 400ms ease-in-out;
        -o-transition: -o-transform 400ms ease-in-out;
        transition: transform 400ms ease-in-out;
/*		margin-top: 40px;*/
    }
    .container.inactive {
        -ms-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    .fa-chevron-left:before{
        font-size: 31px;
        color: #333333;
        padding-left: 7px;
        line-height: 1.5em !important;
    }

    #popUpHeader .fa{
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    #popupHeader p{
        text-align: center;
        font-family: sukhumvitreg, sans-serif;
        font-size: 25px;
        line-height: 1.2em !important;
    }

    .popupDialog {
        font-family: Tahoma, sans-serif;
        position: fixed;
        display: block;
        top: 0px;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
        background-color: #e7eaef;
        z-index: 100;
        -webkit-overflow-scrolling: touch;

        -ms-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: -webkit-transform 400ms ease-in-out;
        -moz-transition: -moz-transform 400ms ease-in-out;
        -o-transition: -o-transform 400ms ease-in-out;
        transition: transform 400ms ease-in-out;
    }
    .popupDialog.active {
        -ms-transform: translateX(0px);
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }
    .popupDialog .content {
        margin-top: 45px;
    }

    .popupDialog .active {
        display: block !important;
    }

    .popupDialog .inactive {
        display: none !important;
    }

    .fBtn{
        display: block;
        position: relative;
    }

    .fBtn img.propic{
        width: 100%;
    }

    .fBtn p{
        width: 90%;
/*        border: 1px solid #333;*/
        position: relative;
        background-color: #d85005;
        background-image: url(img/rib-start.jpg);
        background-repeat: no-repeat;
        background-position: left center;
        height: 30px;
        display: block;
        font-size: 20px;
/*        padding: 8px 0px;*/
        text-align: center;
        color: #53270e;
        font-family: "supermarket", tahoma, sans-serif;
        margin: 10px auto 0;
        line-height: 33px !important;
    }

    .rib-end{
        position: absolute;
        right: 0px;
        bottom: 0;
    }

    .rib-tail{
        position: absolute;
        right: 0px;
        bottom: 30px;
    }

    #popupHeader{
        display: block;
    }

    #popupHeader .closeBtn {
        position: absolute;
        top: 0px;
        left: 0;
        z-index: 100;
        width: 46px;
        height: 100%;
        background-color: #f8f8f8;
        color: #d7d7d7;
    }
    #popupHeader .closeBtn .line_1 {
        position: absolute;
        width: 30px;
        height: 3px;
        background: #d7d7d7;
        border-radius: 5px;
        top: 22px;
        left: 9px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #popupHeader .closeBtn .line_2 {
        position: absolute;
        width: 30px;
        height: 3px;
        background: #d7d7d7;
        border-radius: 5px;
        top: 22px;
        left: 9px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #popupHeader {
        -ms-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);

        -webkit-transition: -webkit-transform 400ms ease-in-out;
        -moz-transition: -moz-transform 400ms ease-in-out;
        -o-transition: -o-transform 400ms ease-in-out;
        transition: transform 400ms ease-in-out;
    }
    #popupHeader.active {
        -ms-transform: translateX(0px);
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
    }


    #content-more{
        width: 98%;
    }

    #content-more h2{
        font-size: 11vw;
        background-position: right 10% top -8px;
        padding-bottom: 10px;
        background-size: 32%;
    }

    #content-more ul li{
        float: left;
        margin-right: 2%;
        width: 49%;
        /* padding-bottom: 2%; */
    }

    #content-more ul li:nth-child(5n){
        margin-right: 2%;
    }

    #content-more ul li:nth-child(2n){
        margin-right: 0px;
    }

    #content-more ul li img{
        width: 98%;
    }

    #content-more a#more-btn{
       display: block;
    height: 20px;
    width: 178px;
    text-align: center;
    font-family: tahoma;
    font-size: 13px;
    line-height: 17px;
    color: #f37a01;
    border: solid 1px #f37a01;
    border-radius: 3px;
    margin: auto;
    }
}

@media screen and (max-width: 320px){
    p.texthead{
        font-size: 12px;
    }
    .boximg{
        height: 145px;
    }
    .showbtn p{
        font-size: 35px;
    }
}