.selectnav {
    display: none;
}

#log-panel .button1 {
    display: none;
}

@media screen and (max-width: 767px) {
    #search-position form {
        float: none;
        padding: 0px;
        width: 235px;
        margin: 0 auto;
    }
    #search-position .search .inputbox {
        width: 185px !important;
        max-width: 100% !important;
    }
    #search-position .search .button {
        width: 35px !important;
    }
    #searchForm fieldset.phrases,
    #searchForm fieldset.only {
        width: 100%;
        display: block;
        float: none;
        box-sizing: border-box;
    }
    body div.panel1 {
        /*position: fixed;*/
        top: 0px;
    }
    a#menupanel {
        display: block;
    }
    #menu-handler a#menupanel:hover:before,
    #menu-handler a#menupanel:hover span,
    #menu-handler a#menupanel:hover span:before,
    #menu-handler a#menupanel:hover span.rm-line:before {
        color: #fff !important;
    }
    #menu-handler a#menupanel:hover span.rm-line:before {
        background-color: #fff !important;
    }
    #menu-handler a#menupanel:hover .rm-line {
        border-color: #fff !important;
    }
    #menu #nav {
        display: none;
    }
    #menu .selectnav {
        display: block;
        width: 98%;
    }
    .selectnav {
        margin: 3px 1%;
    }
    .menu-nav {
        display: none;
    }
    #log-panel .button1 {
        display: inline;
        float: none !important;
        margin: 3px;
    }
    a#v_toggle {
        display: none;
    }
    body #calc_wrapper {
        width: 100% !important;
    }
    #calc_container table.calcilist tr>td>ul {
        margin-left: 0px !important;
    }
    #calc_container h2.heading a {
        line-height: normal !important;
    }
}

@media (min-width: 1200px) {
    #search-position .search .inputbox,
    #search-position .finder .inputbox {
        max-width: 105px;
    }
    nav#menu {
        margin-left: -60px;
    }
    .p20 {
        width: 17.94% !important;
    }
}

@media (min-width: 1255px) {}

@media (min-width: 1190px) and (max-width: 1254px) {}

@media (min-width: 767px) and (max-width: 1240px) {
    .product-sl-handler ol li.prev {
        left: 10px !important;
    }
    .product-sl-handler ol li.next {
        right: 10px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .yjsgbody-contact-us .span9 {
        width: 65%;
    }
    .yjsgbody-contact-us .span3 {
        width: 32%;
    }
}

@media only screen and (max-width: 767px) {
    .yjsgbody-contact-us .span9 {
        width: 100%;
    }
    .yjsgbody-contact-us .span3 {
        width: 100%;
    }
}


/* Large desktop */

@media (min-width: 980px) and (max-width: 1199px) {
    .inner {
        padding: 0px 30px;
    }
    #log-panel li a {
        padding: 11px 6px 7px 6px;
        font-size: 11px;
    }
    #search-position .search .inputbox,
    #search-position .finder .inputbox {
        max-width: 75px;
    }
    #menu ul.menu-nav>li>a {
        padding: 11px 6px 9px 6px !important;
        font-size: 12px;
    }
    #menu #nav ul {
        width: 14.5em !important;
    }
    #menu #nav ul ul {
        left: 14.5em !important;
    }
    .total_products {
        font-size: 10px;
    }
    .moduletable_menu ul.menu li a,
    .moduletable_menu ol.menu li a,
    ul.latestnews_menu li a,
    .VMmenu li div a {
        font-size: 13px;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
    a.product-details {
        display: inline-block;
    }
    nav#menu {
        margin-left: -20px;
    }
    .p20 {
        width: 18.22% !important;
    }
    #menu .menu-nav>li {
        padding: 0px 0px !important;
    }
}


/* Portrait tablet to landscape and desktop */

@media (min-width: 768px) and (max-width: 979px) {
    body {
        font-size: 13px !important;
        padding-top: 0px !important;
    }
    h3 {
        font-size: 130%;
    }
    .inner {
        padding: 0px 20px;
    }
    #top-quick-nav {
        margin-left: -24px;
    }
    #log-panel li a {
        padding: 11px 5px 7px 5px;
        font-size: 11px;
    }
    #top-quick-nav {
        padding-top: 0px;
    }
    a.product-details {
        display: inline-block;
    }
    #search-position {
        margin-top: 0px;
    }
    #search-position .search .inputbox,
    #search-position .finder .inputbox {
        width: 85px;
    }
    .total-items {
        text-align: right;
    }
    #search-position .search .button {
        text-indent: -9999px;
    }
    #search-position .search .advanced-search-button {
        width: 21px;
        text-indent: 9999px;
        font-size: 0.01em;
        background-image: url(../images/advanced-search.png);
        background-position: 2px 3px;
        background-repeat: no-repeat;
        overflow: hidden;
        float: left;
    }
    #search-position .search .advanced-search-button:hover {
        background-position: 2px -46px;
    }
    nav#menu {
        margin-left: 0px;
    }
    #menu ul.menu-nav>li>a {
        padding: 6px 4px 6px 4px !important;
        font-size: 9px;
        font-weight: 400;
        text-transform: none;
    }
    #menu #nav ul {
        width: 11em !important;
    }
    #menu #nav ul ul {
        left: 11em !important;
    }
    #menu #nav ul li a {
        font-size: 11px;
    }
    .vmproduct.productdetails .spacer .pr-add {
        height: 20px;
        overflow: hidden;
    }
    .category-view .row-fluid .category .spacer h2 a .cat-title {
        padding: 30% 0% 0% 5% !important;
        width: 65% !important;
        height: 70% !important;
        margin-bottom: -1px;
        font-size: 12px;
    }
    .category-view .row-fluid:hover .category:hover .spacer h2 a .cat-title {
        padding: 30% 10% 0% 5% !important;
        height: 70% !important;
    }
    .moduletable_menu ul.menu li a,
    .moduletable_menu ol.menu li a,
    ul.latestnews_menu li a,
    .VMmenu li div a,
    .button,
    button,
    a.button,
    a.product-details,
    input.addtocart-button,
    a.ask-a-question,
    .highlight-button,
    .vm-button-correct,
    span.quantity-controls input.quantity-plus,
    span.quantity-controls input.quantity-minus {
        font-size: 11px !important;
    }
    .p20 {
        width: 17.74% !important
    }
    .navbar-fixed-top {
        margin: 0px !important;
    }
    #quick-menu li a {
        padding: 5px 5px;
        font-size: 11px;
    }
    #search-position .search #mod-search-searchword {
        width: 151px;
    }
    #top-nav-line {
        height: 34px;
    }
    #quick-menu p {
        font-size: 11px;
    }
    #menu-handler {
        width: 79% !important;
    }
    #site-name-handler {
        width: 20% !important;
    }
    #menu .menu-nav>li {
        padding: 0px 0px !important;
    }
    #sn-position {
        top: 30px !important;
    }
    #top-modules h3 {
        font-size: 17px;
    }
    #bottom-bg #bot-modules h3,
    #bottom-bg #bot-modules h3 span {
        font-size: 13px !important;
    }
    body #bot-modules {
        font-size: 11px !important;
        line-height: 14px !important;
    }
    #bot-modules div#fd.eb .cell-top .mod-table .mod-cell:nth-child(2) {
        font-size: 11px !important;
    }
    #bot-modules .well .btn {
        font-size: 12px;
    }
    #bot-modules .well .control-group:nth-child(1) {
        width: 52%;
    }
    #bot-modules .well .validate-email {
        padding: 2px 2px;
        font-size: 13px;
    }
    #slideshow-handler {
        min-height: 0 !important;
    }
    #slideshow-handler-bg {
        margin-top: 0;
    }
    .yjsgbody-contact-us .span9 {
        width: 65%;
    }
    .yjsgbody-contact-us .span3 {
        width: 32%;
    }
    .main_contact_tbl p {
        width: 80%;
    }
    body h2.contact-name {
        padding-bottom: 0;
        font-size: 30px;
        padding-top: 0px;
        margin-top: 0px;
        text-align: left !important;
    }
}

@media (min-width: 481px) and (max-width: 766px) {
    .category-view .category.span3 {
        width: 48%;
        float: left;
        margin: 4px 1%;
    }
    .category-view .category.span3 img {
        width: 100%;
    }
}


/* Landscape phone to portrait tablet */

@media (max-width: 767px) {
    #top .container {
        position: relative;
    }
    body.yjsgbody-fee-schedule .item-page table {
        width: 100% !important;
    }
    body.yjsgbody-fee-schedule .item-page table td {
        width: auto !important;
    }
    body.yjsgbody-fee-schedule .item-page .western {
        margin-right: 0px !important;
    }
    table.main_contact_tbl .contact-form-area {
        max-width: 100% !important;
        width: auto !important;
    }
    .navbar-fixed-top {
        margin: 0px !important;
    }
    .navbar-fixed-top .container {
        width: auto !important;
    }
    #main-handler {
        padding: 0px 10px;
    }
    body {
        padding: 0px 2px !important;
    }
    #top {
        height: auto !important;
    }
    .sn-underline {
        display: none;
    }
    ul.vmmanufacturer,
    .vmmanufacturer li {
        border: 0px !important;
    }
    .product-sl-handler ol li.next,
    .product-sl-handler ol li.prev {
        display: none !important;
    }
    #top {
        padding: 5px;
    }
    .moduletable,
    .moduletable_text,
    .moduletable_style1,
    .moduletable_style2,
    .browse-view .row,
    .moduletable_menu,
    .spacer,
    .vmproduct li,
    .category {
        margin-bottom: 5px;
    }
    .dk_options {
        left: 0px;
    }
    .inner {
        padding: 0px 10px;
    }
    #site-name-handler {
        height: auto !important;
    }
    #sn-position {
        text-align: center;
    }
    #sn-position #h1,
    #sn-position #h2 {
        position: static !important;
    }
    #social-links {
        text-align: center;
        width: 100%;
    }
    #social-links li {
        display: inline;
        background: none;
        margin: 0px;
    }
    #social-links li a {
        display: inline-block;
        float: none;
        margin: 0px 1px;
    }
    #top-quick-nav {
        float: none;
    }
    #log-panel {
        float: none;
        text-align: center;
        margin-bottom: 20px !important;
    }
    #quick-menu,
    #log-panel,
    #quick-menu li a,
    #log-panel li a {
        float: none;
    }
    #quick-menu {
        display: block;
        clear: both;
    }
    #quick-menu ul {
        margin-bottom: 0px;
    }
    #top-nav-handler {
        float: right;
        width: 78%;
    }
    #search-position .search .advanced-search-button {
        width: 21px;
        text-indent: 9999px;
        font-size: 0.01em;
        background-image: url(../images/advanced-search.png);
        background-position: 2px 3px;
        background-repeat: no-repeat;
        overflow: hidden;
        float: left;
    }
    .rm-line {
        display: block;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        width: 23%;
        height: 2px;
        margin: 4px 15% 3px 67%;
        background-color: #000 !important;
    }
    a#menupanel {
        padding-top: 7px;
        padding-bottom: 7px;
        width: 63px;
        margin: 0 auto;
        padding-left: 7px;
    }
    ul.vmproduct.productdetails {
        padding: 0px !important;
    }
    ul.vmproduct.productdetails .spacer {
        padding-bottom: 10px;
    }
    #cart,
    #currency {
        float: right;
    }
    #currency input.button {
        float: left;
    }
    #cart .show_cart a#cartpanel,
    #cart .show_cart a {
        margin-right: 5px
    }
    #cart .vmCartModule .total_products {
        padding-left: 10px;
    }
    #bot-modules .span2,
    #bot-modules-2 .span2,
    .row-fluid .ex-span2,
    .row-fluid .ex-span1_5 {
        width: 100% !important;
    }
    .product-sl-handler ol li.prev,
    .product-sl-handler ol li.next {
        display: none;
    }
    .vmproduct.productdetails .spacer .pr-add {
        height: auto;
    }
    a.product-details {
        display: inline-block;
    }
    .span2.sp20 {
        width: 100% !important;
    }
    #top-nav-handler {
        padding-top: 0px !important;
    }
    #log-panel li {
        background: none !important;
        margin-top: 2px;
    }
    #log-panel li a {
        border-bottom: none !important;
        padding: 8px 10px 6px 10px;
        border-radius: 4px;
    }
    #social-panel {
        padding: 0px;
        position: static;
        width: 100%;
    }
    #social {
        width: 100%;
        height: 30px;
        padding: 20px 0px;
        text-align: center;
        float: none;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
    }
    #joinus-hs {
        display: none;
    }
    #bottom-bg .container,
    #footer .container {
        padding: 0px 20px;
    }
    #menu-handler {
        width: 39% !important;
        float: right;
        padding-top: 0px !important;
    }
    .moduletable.top-menuC .module-content {
        margin-top: 0;
    }
    #quick-menu p {
        margin-top: 0;
    }
    #top-nav-line #search-position {
        display: block;
    }
    #top-nav-line #quick-menu {
        display: block;
        margin-right: 0px;
    }
    #top-nav-line {
        height: auto !important;
    }
    #quick-menu ul {
        text-align: center;
    }
    #quick-menu p {
        display: block;
        float: none;
        text-align: center;
        margin-right: 0;
    }
    #quick-menu .moduletable {
        display: block;
    }
    #search-position .search .inputbox,
    #search-position .finder .inputbox {
        max-width: 87%;
    }
    .moduletable.box-border {
        margin-right: 0;
    }
    #site-name-handler {
        width: 53% !important;
    }
    body a#menupanel {
        background-color: #fff !important;
        border: 1px solid #e1e1e1;
        color: #000 !important;
        position: relative;
    }
    .navbar-fixed-top a#menupanel:before {
        content: 'Menu';
        float: left;
        text-transform: uppercase;
        font-size: 11px;
        font-weight: 600;
        position: absolute;
        top: 9px;
        -webkit-transition: all 0.6s ease;
        -moz-transition: all 0.6s ease;
        -o-transition: all 0.6s ease;
        -ms-transition: all 0.6s ease;
        transition: all 0.6s ease;
    }
    .custom.home-bannerC {
        background-color: rgba(0, 0, 0, 0.6) !important;
    }
    .navbar-fixed-top {
        border-bottom: 0;
    }
    #sn-position {
        top: 8px;
    }
    #slideshow-handler-bg {
        margin-bottom: 0px !important;
    }
    #slideshow-handler-bg {
        margin-top: 0;
    }
    #menu-handler {
        margin-top: -26px;
    }
    #slideshow-handler-bg {
        padding: 10px;
        margin-top: 0px !important;
    }
    .custom.sub-m {
        background-attachment: scroll;
        background-size: cover;
        background-repeat: repeat;
        background-position: center top;
        height: 360px;
        border-radius: 10px;
        display: block;
        background-image: url(/images/grandparent-with-grandchild-cropped.jpg) !important;
    }
    .navbar-fixed-top.scrolldown a#menupanel:before {
        /*display:none;*/
    }
    .navbar-fixed-top.scrolldown {
        border-bottom: 0;
        opacity: 1;
    }
    .navbar-fixed-top.scrolldown #menu-handler {
        padding-top: 0px !important;
    }
    body a#menupanel {
        color: #000 !important;
        cursor: pointer;
        min-width: 33px;
        height: 18px;
        border: 1px solid #e1e1e1;
        position: absolute;
        top: 45px;
        right: 24px;
        background-color: #fff;
    }
    .navbar-fixed-top a#menupanel:before {
        content: 'Menu';
        float: left;
        text-transform: uppercase;
        font-size: 11px;
        font-weight: 600;
        position: absolute;
        top: 0px;
        width: 63px;
        display: inline-block;
        content: 'MENU';
        float: left;
        line-height: 17px;
        margin: 9px 0 0 0;
        color: #000000;
        overflow: hidden;
        word-wrap: normal!important;
        word-break: normal!important;
        text-decoration: none;
        font-weight: 700;
        text-indent: 0px;
        width: 42px;
        -webkit-transition: all 0.6s ease;
        -moz-transition: all 0.6s ease;
        -o-transition: all 0.6s ease;
        -ms-transition: all 0.6s ease;
        transition: all 0.6s ease;
    }
    body .rm-line {
        display: inline-block;
        height: 10px;
        width: 15px;
        float: right;
        margin: 2px 8px;
        line-height: 5px;
        border: 2px solid #555;
        border-width: 2px 0;
        background-color: transparent !important;
    }
    body .rm-line:before {
        display: inline-block;
        content: '';
        height: 2px;
        width: 15px;
        margin-top: 4px;
        background-color: #555;
        float: left;
    }
    body .s2.rm-line,
    body .s3.rm-line {
        display: none;
    }
    .navbar-fixed-top.scrolldown a#menupanel {
        /*width: 0;
        padding-left: 0;*/
    }
    body .navbar-fixed-top div.panel1 .menupanel {
        background: #fff;
        width: 80%;
    }
    #slideshow-handler {
        min-height: 0 !important;
    }
    #quick-menu .menu {
        margin-right: 0;
        margin-top: 0;
    }
    #sn-position .customlogo img {
        width: 160px;
    }
    #slideshow-handler .custom p {
        margin-bottom: 0px !important;
    }
    #search-position form {
        float: none;
    }
    #search-position .search,
    #search-position .finder {
        text-align: center;
    }
    #search-position .search #mod-search-searchword {
        float: none;
        display: inline-block;
        width: auto;
    }
    #search-position .search .button {
        float: none;
        display: inline-block;
        margin-top: -3px;
    }
    .blog-featured .items-leading {
        width: 100% !important;
    }
    .iexodus_bg .blog-featured .apicontentsearch {
        width: 100% !important;
    }
    .items-more {
        width: 100% !important;
    }
}


/* Landscape phones and down */

@media (max-width: 480px) {
    .category-view .category.span3 img {
        width: 100%;
    }
    #site-name-handler {
        height: auto !important;
    }
    #sn-position {
        text-align: center;
    }
    #sn-position h1,
    #sn-position h2 {
        position: static !important;
    }
    #top-nav-handler #social {
        float: none;
        padding: 35px 0px 10px 0px;
    }
    #social-links {
        text-align: center;
    }
    #social-links li {
        display: inline;
        background: none;
        margin: 0px;
    }
    #social-links li a {
        display: inline-block;
        float: none;
        margin: 0px 1px;
    }
    .inner {
        padding: 0px 5px;
    }
    #search-position .search .inputbox,
    #search-position .finder .inputbox {
        max-width: 87%;
    }
    #foo-left-right .span6 p {
        text-align: center !important;
    }
    .camera_pag {
        bottom: 6% !important;
    }
}

@media (max-width: 410px) {
    #search-position .search {
        clear: both;
    }
    #search-position form {
        float: none;
        padding: 0px;
    }
    #search-position .search .advanced-search-button {
        float: right;
    }
    a#menupanel {
        margin-bottom: 3px;
    }
}