.mobile-select {
    display: none;
}

@media all and (max-width:1110px) {
    body {
        margin-left: 0;
        margin-right: 0;
    }
    .s5_wrap {
        max-width: 1024px;
        width: 100%;
    }
}


@media all and (max-width:1026px) {

    /*body.pweb-modal-open {
        overflow: visible;
    }

    div.modal.fade.in {
        display: none !important;
    }

    #pwebcontact169_modal {
        display: none !important;
    }

    body.pweb-modal-white .modal-backdrop.fade.in {
        display: none !important;
    }*/

    .fa.mobile-icon {

        display: block !important;

    }

    .mobile_menu {

        display:block !important;

    }

    #s5_menu_wrap {

        display: none !important;

    }

    body.sidebar-active #menu {

        display: block !important;

    }

    .mobile-icon {
        width: 0;
        min-width: 30px;
        float: left;
        text-align: center;
        min-height: 30px;
        padding-top: 5px;
        margin-left: 19px;
    }

    .mobile-icon i {
        font-size: 35px;
        color: #fff !important;
    }

    .primary-mobile {
        display: block;
    }

    .menu-sidebar {
        right: -34%;
        width: 34%;
        box-shadow: 4px 0px 0px #99AFDE inset;
        position: fixed;
        bottom: 0px;
        z-index: 99999;
        height:100%;
        background-color: #E6EAF6;
        transition-property: all;
        transition-duration: 300ms;
        transition-timing-function: ease;
    }
    .menu-sidebar .sidebar-outer {
        position: absolute;
        top: 0px;
        left: 0px;
        right: -1em;
        width: auto;
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
    }


    body.sidebar-active {
        overflow: hidden
    }

    .sidebar-active .menu-sidebar {
        right: 0px;
        min-width: 255px;
    }
    .sidebar-inner {
        padding: 15px 0px 0px 5px;
    }
    .header-wrap {
        position: fixed;
        width: 100%;
        top: 0px;
        z-index: 99998;
    }
    #slider-wrapper {
        margin-top: 120px;
    }

    .sf-menu-mobile > li > a {
        font-family: 'Nobile',Helvetica,Arial,Sans-Serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.2em;
        text-decoration: none;
        border-bottom: 1px solid transparent;
        color: #606060;
    }
    .sf-menu-mobile li li a {
        display: block;
        font-family: "Oswald",sans-serif;
        font-size: 12px;
        line-height: 36px;
        text-align: left;
        text-decoration: none;
        transition: all 0.3s ease-out 0s;
        color: #606060;
    }
    .sf-menu-mobile > li {
        list-style-type: none;
        margin-bottom: 10px;
    }
    .sf-menu-mobile ul li {
        vertical-align: top;
        padding: 0px 0px 0.5em;
        margin: 0px;
        list-style-type: none;
    }
    .S5_submenu_item {
        border-bottom: 1px solid #606060;
        display: block;
        padding: 8px;
    }
    .S5_subtext {
        color: #606060;
    }
    .expand::before {
        content: "";
        font-family: "FontAwesome";
        color: #606060;
        margin-left: 20px;
        font-size: 22px;
        float: right;
        margin-right: 33px;
        margin-top: 2px;
    }
    .collapse::before {
        content: "";
        font-family: "FontAwesome";
        color: #606060;
        margin-left: 20px;
        font-size: 22px;
        float: right;
        margin-right: 33px;
        margin-top: 2px;
    }

    .expand > ul {display:none !important;}

    .sub-menu {
        padding-left: 10px;
    }

    #topnav-mobile {
        padding-left: 20px;
    }
    #s5_logo {
        background: url(../images/s5_logo.jpg) no-repeat top left;
        float: left;
        height: auto;
        cursor: pointer;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: -2px;
        width: 75%;
        background-size: contain;
        padding-top: 10%;
        max-width: 400px;
    }
    .flag {
        float: right;
        width: 20%;
        height: auto;
        background: url(../images/flag.png) no-repeat top left;
        background-size: contain;
        padding-top: 7.2%;
        max-width: 100px;
        background-position: right;
    }
    #s5_menu_phone, #s5_logo_banner, .s5_spacerbar, #s5_breadcrumb_wrap {
        margin-left: 23px;
        margin-right: 23px;
    }
    #s5_pos_bottom_row1_1 {
        min-width: 307px;
    }
    #s5_header_area1, #s5_top_row1_area1, #s5_top_row2_area1, #s5_top_row3_area1, #s5_center_area1, #s5_bottom_row1_area1, #s5_bottom_row2_area1, #s5_bottom_row3_area1, #s5_footer_area1 {
        margin-bottom: 24px;
        margin-left: 0;
    }
    .module_round_box_outer {
        margin-right: 0;
        color: #959599;
        margin-bottom: 15px;
    }

    .sticky-header {
        display: block !important;
        position: fixed;
        top: -100px;
        width: 100%;
        z-index: 41;
        transition: top 1s ease !important;
        background-color: #fff;
        padding: 5px 0 5px;
        border-bottom: 4px solid #99AFDE;
    }
    .sticky-header #s5_logo {
        background: url(../images/s5_logo.jpg) no-repeat;
        float: right;
        height: auto;
        cursor: pointer;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: -2px;
        width: 75%;
        background-size: contain;
        padding-top: 39px;
        max-width: 100%;
        background-position: right;
        min-width: 200px;
    }

    #nivo_slider_1_1 {
        width: 100% !important;
        height: auto !important;
        padding-top: 56%;
        /*background: none !important;*/
        margin-bottom: 7px !important;
        background-size: cover !important;
    }
    .nivo-slider-wrapper {
        border: 1px solid #808080;
        direction: ltr;
        height: auto;
        position: relative;
        text-align: left;
        width: 100% !important;
    }
    .module_round_box {
        text-shadow: none;
        color: #555555;
        margin-left: 0px;
        margin-right: 0px;
    }
    .nivo-slice {
        padding-top: 58%;
        width: 100% !important;
        height: auto !important;
        background-size: contain !important;
    }
    .nivo-directionNav {
        width: 100% !important;
        position: absolute;
        float: left;
        overflow: visible;
        height: auto;
        top: 45%;
    }
    #nivo_slider_1_1 a.nivo-nextNav {
        background-image: url(http://www.reglazemyglasses.com/media/com_nivosliderpro/assets/arrows/button_round_gray/right.png);
        top: 0;
        right: -19px;
        float: right;
        position: relative;
        left: auto;
    }
    #nivo_slider_1_1 a.nivo-prevNav {
        background-image: url(http://www.reglazemyglasses.com/media/com_nivosliderpro/assets/arrows/button_round_gray/left.png);
        top: 0;
        left: -19px;
        float: left;
        position: relative;
    }
    #nivo_slider_1_1 .nivo-controlNav {
        position: absolute;
        z-index: 10;
        max-width: 163px;
        left: calc(50% - 81.5px);
        top: 105%;
    }
    /*.s5_module_box_2 img {
        width: 100%;
        height: auto;
    }*/
    #s5_pos_top_row1_1 {
        width: calc(100% - 250px) !important;
    }
    #s5_conwrap {
        background: #ffffff;
        padding-top: 24px;
        border-left: 1px solid #ffffff;
        border-right: 1px solid #ffffff;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
    #s5_header_wrap, #s5_top_row1_wrap, #s5_top_row2_wrap, #s5_top_row3_wrap, #s5_center_wrap, #s5_bottom_row1_wrap, #s5_bottom_row2_wrap, #s5_bottom_row3_wrap, #s5_footer_wrap {
        padding-right: 26px;
    }

    .module_round_box.tell img {
        width: 100%;
        height: auto;
    }
    .boxed_green {
        position: relative;
        top: 0px;
        left: 0px;
        background: #F2F8F4;
        width: 100%;
        height: auto;
        padding-left: 4px;
        border-style: solid;
        border-width: 1px;
        border-color: #959AA2;
        text-align: center;
    }
    .boxed_blue {
        position: relative;
        top: 0px;
        left: 0px;
        background: #F2F8F4;
        width: 100%;
        height: auto;
        padding-left: 4px;
        border-style: solid;
        border-width: 1px;
        border-color: #959AA2;
        text-align: center;
        margin-left: 0;
    }
    .boxed_brown {
        position: relative;
        top: 0px;
        left: 0px;
        background: #F2F8F4;
        width: 100%;
        height: auto;
        padding-left: 4px;
        border-style: solid;
        border-width: 1px;
        border-color: #959AA2;
        text-align: center;
        margin-left: 0;
    }
    .steps {
        float: left;
        margin-top: 13px;
        width: 100%;
    }
    .module_round_box.steps {
        width: 100%;
    }
    .stepbox {
        width: 100%;
        height: auto;
        text-align: justify;
        padding-top: 10px;
    }
    .stepbox p {
        padding: 0 5px;
    }

    .page_1 #s5_component_wrap {
        margin-left: 0 !important;
    }
    .page_1 #s5_component_wrap_inner {
        margin-right: 0 !important;
    }
    .page_1 #s5_below_body .moduletable {
        margin-top: 20px;
        padding-right: 0;
    }
    .page_1 .item-page {
        margin-left: 22px;
    }
    .page_3 #s5_middle_bottom_inner {
        width: 50%;
        margin: 0 auto;
        min-width: 568px;
    }
    .page_3 #s5_middle_bottom_inner > div:first-child {
        float:left !important;
        width:50% !important;
    }
    .page_3 #s5_middle_bottom_inner #s5_pos_middle_bottom_2 {
        float:right !important;
        width:50% !important;
    }
    .page_3 #s5_middle_bottom_inner #s5_pos_middle_bottom_3 {
        float:left !important;
        width:50% !important;
    }
    .page_3 #s5_middle_bottom_inner #s5_pos_middle_bottom_4 {
        float:right !important;
        width:50% !important;
    }
    #s5_phonenumber.phonenumbers-mobile {

        display: block !important;

    }
    #s5_phonenumber {
        display:none;
    }
    .page_9 img[alt="buysafe"] {
        width: 75%;
        height: auto;
    }
    .page_9 img[alt="logoNEWBIG"] {
        width: 21%;
        height: auto;
    }

    .page_5 .bottom img {
        width: 100%;
        height: auto;
    }

    .swiperight {
        background-color: #7ACEF4;
    }

}

@media all and (max-width:889px) {

    .mobile-select {
        display: block;
        font-size: 16px;
    }
    .page_1 .mobile-select {
        display: none;
    }
    .page_4 .twoj_tabs_class9 > .twoj_tab_block_ul {
        display: none !important;
    }
    .page_4 .twoj_tab_content {
        padding: 0;
    }
    .page_4 .twoj_tab_content img {
        width:100% !important;
        height:auto !important;
    }
    .page_4 #s5_component_wrap_inner {
        margin-right: 0px !important;
    }
    .page_4 #s5_component_wrap {
        margin-left: 0 !important;
    }

}

@media all and (max-width:768px) {

    #s5_phonenumber h2 {
        font-size: 20px;
        line-height: 13px;
    }
    .page_2 #s5_center_column_wrap {
        float: left;
        left: 0;
        position: relative;
        width: 50%;
    }
    .page_2 #s5_center_column_wrap_inner {
        left: 0;
        overflow: visible;
        min-height: 1px;
        position: relative;
        margin-right: 0 !important;
    }
    .page_2 .cpright {
        float: right;
        top: 60px;
        left: 500px;
        width: 100%;
        height: auto;
        padding-right: 0;
        margin-top: 10px;
    }
    .page_2 #s5_right_wrap .s5_module_box_1 {
        margin-right: 0;
    }
    .page_2 .module_round_box {
        text-shadow: none;
        color: #555555;
        margin-left: 0px;
        margin-right: 0px;
    }
    .page_2 .module_round_box_outer {
        margin-right: 0;
        color: #959599;
        margin-bottom: 15px;
    }

}
@media all and (max-width:736px) {

    #s5_pos_top_row1_1 {
        width: 100% !important;
    }

    #s5_center_area1 {
        position: absolute;
        width: 100%;
    }
    #s5_center_area2 {
        position: absolute;
        width: 100%;
        top: -1202px;
    }
    .homecontent {
        color: #989CA0;
        text-align: justify;
        width: 95%;
        float: right;
    }
    #s5_component_wrap_inner {
        margin-right: 21px !important;
        width: calc(100% - 250px);
        float: right;
    }
    .purple {
        color: #0558A7;
        white-space: pre-wrap;
    }
    .slideBar {
        margin: 0px 0 0 11px;
        padding: 5px 0 5px 30px !important;
        max-width: 919px;
        background-color: #ffffff;
        background-repeat: no-repeat;
        background-position: left center;
        display: inline-block;
        cursor: pointer;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #B0B0B5;
        font-weight: bold;
        width: calc(100% - 35px);
    }
    .slideBarActive {
        margin: 0px 0 0 11px;
        padding: 5px 0 5px 30px !important;
        max-width: 919px;
        background-color: #ffffff;
        background-repeat: no-repeat;
        background-position: left center;
        display: inline-block;
        cursor: pointer;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #B0B0B5;
        font-weight: bold;
        width: calc(100% - 35px);
    }
    .homebox {
        border-style: solid;
        border-width: 1px;
        border-color: #e8e8e8;
        padding-left: 10px;
        padding-right: 10px;
        margin-top: 0px;
        text-align: justify;
        height: auto !important;
    }

    .page_2 #s5_center_column_wrap {
        float: left;
        left: 0;
        position: relative;
        width: 100%;
    }
    .page_2 #s5_center_column_wrap_inner {
        left: 0;
        overflow: visible;
        min-height: 1px;
        position: relative;
        margin-right: 0 !important;
    }
    .page_2 .cpright {
        float: right;
        top: 60px;
        left: 500px;
        width: 100%;
        height: auto;
        padding-right: 0;
        margin-top: 10px;
    }
    .page_2 #s5_right_wrap .s5_module_box_1 {
        margin-right: 0;
    }
    .page_2 .module_round_box {
        text-shadow: none;
        color: #555555;
        margin-left: 0px;
        margin-right: 0px;
    }
    .page_2 .module_round_box_outer {
        margin-right: 0;
        color: #959599;
        margin-bottom: 15px;
    }
    .page_2 .s5_float_left {
        float: left;
        margin-left: 0 !important;
        height: auto;
        width: 100% !important;
        margin-top: -50px;
    }
    .page_2 .pad210 {
        padding-bottom: 0;
    }
    .page_2 .foxcontainer {
        width: 100% !important;
    }

    .page_2 #s5_columns_wrap_inner {
        width: 100%;
    }
    .page_5 img {
        width: 100%;
        height: auto;
        max-width: 265px;
        margin: 0 auto !important;
        display: block;
    }
    .page_5 #s5_center_column_wrap {
        float: left;
        left: 0;
        position: relative;
        width: 100%;
    }
    .page_5 #s5_columns_wrap_inner {
        width: 100%;
    }
    .page_5 .column1 {
        float: left;
        width: 100%;
        text-align: justify;
    }
    .page_5 .column2 {
        float: left;
        margin-left: 60px;
        width: 300px;
        text-align: justify;
        display: none;
    }
    .page_5 #s5_center_column_wrap_inner {
        left: 0;
        overflow: hidden;
        min-height: 1px;
        position: relative;
        margin-right: 0 !important;
    }
    .page_5 .s5_float_left {
        float: unset;
        display: block;
        margin: 0 auto !important;
        clear: both;
    }
    .page_5 #s5_right_wrap .s5_module_box_1 {
        margin-right: 22px;
    }

    .page_6 #s5_columns_wrap_inner {
        width: 100%;
    }
    .page_6 #s5_center_column_wrap {
        float: left;
        left: 0;
        position: relative;
        width: 100%;
    }
    .page_6 #s5_center_column_wrap_inner {
        left: 0;
        overflow: visible;
        min-height: 1px;
        position: relative;
        margin-right: 0 !important;
    }
    .page_6 .custom img {
        margin-left: 29px;
    }
    .page_6 #s5_right_wrap .s5_module_box_1 {
        margin-right: 22px;
    }
    .page_6 #s5_right_column_wrap {
        margin: 0 auto !important;
        display: block;
        float: unset !important;
    }
    .page_7 #s5_columns_wrap_inner {
        width: 100%;
    }
    .page_7 #s5_center_column_wrap {
        float: left;
        left: 0;
        position: relative;
        width: 100%;
    }
    .page_7 #s5_center_column_wrap_inner {
        left: 0;
        overflow: visible;
        min-height: 1px;
        position: relative;
        margin-right: 0 !important;
    }
    .page_7 .custom img {
        margin-left: 29px;
    }
    .page_7 #s5_right_wrap .s5_module_box_1 {
        margin-right: 22px;
    }
    .page_7 #s5_right_column_wrap {
        margin: 0 auto !important;
        display: block;
        float: unset !important;
    }
    .page_8 #s5_columns_wrap_inner {
        width: 100%;
    }
    .page_8 #s5_center_column_wrap {
        float: left;
        left: 0;
        position: relative;
        width: 100%;
    }
    .page_8 #s5_center_column_wrap_inner {
        left: 0;
        overflow: visible;
        min-height: 1px;
        position: relative;
        margin-right: 0 !important;
    }
    .page_8 .custom img {
        margin-left: 29px;
    }
    .page_8 #s5_right_wrap .s5_module_box_1 {
        margin-right: 22px;
    }
    .page_8 #s5_right_column_wrap {
        margin: 0 auto !important;
        display: block;
        float: unset !important;
    }
    .page_9 #s5_columns_wrap_inner {
        width: 100%;
    }
    .page_9 #s5_center_column_wrap {
        float: left;
        left: 0;
        position: relative;
        width: 100%;
    }
    .page_9 #s5_center_column_wrap_inner {
        left: 0;
        overflow: visible;
        min-height: 1px;
        position: relative;
        margin-right: 0 !important;
    }
    .page_9 .custom img {
        margin-left: 29px;
    }
    .page_9 #s5_right_wrap .s5_module_box_1 {
        margin-right: 22px;
    }
    .page_9 #s5_right_column_wrap {
        margin: 0 auto !important;
        display: block;
        float: unset !important;
    }
}
@media all and (max-width:568px) {

    #s5_logo {
        background: url(../images/s5_logo.jpg) no-repeat top left;
        float: left;
        height: auto;
        cursor: pointer;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: -2px;
        width: 81%;
        background-size: contain;
        padding-top: 14%;
        max-width: 100%;
    }
    .flag {
        float: right;
        width: 15%;
        height: auto;
        background: url(../images/flag.png) no-repeat top left;
        background-size: contain;
        padding-top: 11.2% !important;
        max-width: 100%;
        padding: 0;
        background-position: right;
    }

    #s5_phonenumber h2 {
        font-size: 16px;
        line-height: 10px;
        margin-top: 28px;
    }

    .page_3 #s5_middle_bottom_inner {
        width: 50%;
        margin: 0 auto;
        min-width: 256px;
    }
    .page_3 #s5_middle_bottom_inner > div:first-child {
        float:left !important;
        width:100% !important;
    }
    .page_3 #s5_middle_bottom_inner #s5_pos_middle_bottom_2 {
        float:right !important;
        width:100% !important;
    }
    .page_3 #s5_middle_bottom_inner #s5_pos_middle_bottom_3 {
        float:left !important;
        width:100% !important;
    }
    .page_3 #s5_middle_bottom_inner #s5_pos_middle_bottom_4 {
        float:right !important;
        width:100% !important;
    }

}
@media all and (max-width:480px) {

    .page_8 .rightpad {
        padding-right: 0;
    }
    .page_8 .leftpad {
        padding-left: 0;
    }
    .page_8 .gray_box img {
        display: block;
        float: unset;
        margin: 20px auto -31px;
    }

    #s5_phonenumber h2 {
        font-size: 16px;
        line-height: 10px;
        margin-top: 31px;
    }

     #s5_center_area1 {
        position: relative !important;
        width: 100% !important;
    }
     #s5_center_area2 {
        position: relative !important;
        width: 100% !important;
        top: 0 !important;
    }
     .homecontent {
        color: #989CA0;
        text-align: justify;
        width: 95%;
        float: right;
    }
     #s5_component_wrap_inner {
        margin-right: 21px !important;
        width: 100% !important;
        float: right !important;
    }
     #s5_pos_top_row1_2 {
        width: 100% !important;
        text-align: center;
    }
    #tpiframe-box0 {
        margin: 0 auto;
    }
}
@media all and (max-width:320px) {
    button.foxbutton {
        cursor: pointer;
        padding: 9px;
        width: 98%;
    }
}



