/* ===== RESPONSIVE STYLES ===== */
/* ============================= */

/* General */
#dnn_dnnLOGO_imgLogo {
    /* max-height: 100%; */
}
img {
    max-width: 100%;
}
img.moulding-height {
    max-width: initial;
}
.DNNEmptyPane {
    padding: 0px !important;
}
.storeskin .mouldingtrigger {
    display: none;
}
.TitleHead {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
/* Moulding Index Menu Styles */

.SmithProdtext>table { /* Menu Arrows */
    width: 100%;
}
.SmithProdtext>table img { 
    /* width: 100%; */
    max-width: initial;
}

@media(max-width:980px) {
    #Body {
        background: none;
    }
    .TopPane {
        max-width: 100%;
        width: auto;
		margin-right: 10px;
    	margin-left: 10px;
    }
    .s_logo {
        height: 50px;
        width: 160px;
        max-width: 160px;
        padding: 19px 0px;
        display: inline-block;
        position: relative;
        z-index: 1;
    }
    .contacttable>tbody>tr>td {
        display: block;
        border-bottom: 1px #ccc solid;
        padding: 20px 0px;
        max-width: 50%;
    }
    /* Table breaking for Moulding Index menu */
    .shadow-effect>table,
    .shadow-effect>table>tbody,
    .shadow-effect>table>tbody>tr,
    .shadow-effect>table>tbody>tr #dnn_LeftPane,
    .shadow-effect>table>tbody>tr #dnn_LeftPane[style*="table-cell"],
    .shadow-effect>table>tbody>tr #dnn_RightPane {
        display:block;
        width: 100%; /* overwite inline table width */
    }
    .shadow-effect>table>tbody>tr #dnn_LeftPane,
    .shadow-effect>table>tbody>tr #dnn_RightPane {
        width: 85%;
    }
    /* Collapsing Moulding Index styles */
    .storeskin .shadow-effect>table>tbody>tr #dnn_LeftPane.menuhide {
        display:none;
    }
        .storeskin .shadow-effect>table>tbody>tr #dnn_LeftPane.active {
            display:block !important;
            height:
        }
    .storeskin .mouldingtrigger {
        display:block;
        text-align: center;
        background: #cd3a35;
        color: #fff;
        padding: 10px;
        cursor: pointer;
        position: relative;
    }
    .storeskin .mouldingtrigger i {
        position: absolute;
        right: 10px;
        top: 10px;
    }
    .storeskin .mouldingtrigger .fa-minus {
        display: none;
    }
}

/* Skin and Layout */
#s_wrap_main,
#footer_inner{
    max-width: 100%;
}
.LeftPane {
    background: none;
}
/*.SmithProdTextLrg {
    display: block;
}*/
@media(max-width:980px) {
    #Body {
        max-width: 100%;
        overflow-x: hidden;
    }
    #s_wrap_sub {
        padding: 15px 0px;
        background: #e8e8e8;
    }
    .shadow-effect {
        box-shadow: 0px 0px 15px #ccc;
        margin: 30px 50px;
        overflow-x: overlay;
    }
    #dnn_ContentPane {
        padding: 20px;
        display: block;
    }
    #footer_inner * {
        text-align: center;
        float:none;
    }
    #footer_top>div,
    #footer_bot>div {
        margin: 0 auto;
        width: 100%;
    }
    /* Products Listing */
    div[id*="ProductDetails"] #topdiv {
        margin-top: 40px;
    }
    .SmithProdTextSm {
        width: 90%;
    }
    table[id*="Productslist"]>tbody>tr {
        display: inline;
    }
    table[id*="Productslist"]>tbody>tr>td {
        display: block;
        width: 32%;
        float: left;
    }
    table[id*="Productslist"]>tbody>tr>td>table,
    table[id*="Productslist"]>tbody>tr>td>table * {
        display: block;
    }
    table[id*="Productslist"]>tbody>tr>td>table img {
        margin: 0 auto;
    }
    /* Products Details */
    div[id*="ProductDetails"] #bottomdiv {
        width: 80vw !important;
    }
    div[id*="ProductDetails"] #bottomdiv,
    div[id*="ProductDetails"] #bottomdiv>table,
    div[id*="ProductDetails"] #bottomdiv>table>tbody,
    div[id*="ProductDetails"] #bottomdiv>table>tbody>tr,
    div[id*="ProductDetails"] #bottomdiv>table>tbody>tr>td {
        display:block;
        padding: 0px;
        width: 100%;
    }
    .owl-carousel.owl-loaded.owl-drag {
        width: 100% !important;
    }
    a.btn-partos {
        display:block;
        margin:10px 0px;
        width: 100%;
    }
}
@media (max-width:767px) {
    /* Products Details */
    div[id*="ProductDetails"] #bottomdiv {
        width: 100% !important;
    }
    div[id*="ProductDetails"] #topdiv>table,
    div[id*="ProductDetails"] #topdiv>table>tbody,
    div[id*="ProductDetails"] #topdiv>table>tbody>tr,
    div[id*="ProductDetails"] #topdiv>table>tbody>tr>td {
        display:block;
    }
    div[id*="ProductDetails"] #topdiv>table>tbody>tr>td img {
        margin: 0 auto;
        display:block;
    }
    .SmithProdTextLrg {
        padding-top: 30px !important;
    }
    .shadow-effect {
        margin: 10px;
    }
    /* Products Listing */
    table[id*="ProductsList_tbMain"]>tbody,
    table[id*="ProductsList_tbMain"]>tbody>tr,
    table[id*="ProductsList_tbMain"]>tbody>tr>td {
        display: block;
    }
    table[id*="ProductsList_tbMain"]>tbody>tr>td input {
        display: inline-block;
        margin: 0px 0px 10px;
    }
    table[id*="ProductsList_dtProductslist"]>tbody>tr>td {
        display: block;
        width: 49%;
        float: left;
    }
}

/* Navigation Bar */
#dnn_dnnLOGOmobile_hypLogo {
    display: block;
    padding: 0px 35px;
}
#dnn_dnnLOGOmobile_imgLogo {
    margin: 15px auto;
    display: block;
    max-width: 0px;
    transition: all 0.5s ease;
}
#dnn_dnnLOGOmobile_imgLogo.active {
    max-width: 80% !important;
}
.mobile_menu_bg {
    position: fixed;
    clear:both;   
    opacity: 0;
    transition: all 0.25s ease; 
    background: #fff;
    width: 80%;
    height: 100vh;
    z-index:-1;
    margin-left:-100px;
}
    .mobile_menu_bg.slidein {
        margin-left: 0px;
        opacity: 1;
        z-index: 101;
        box-shadow: 5px 0px 20px #000;
    }
.mobile_menu_overlay {
    position: fixed;
    transition: all 0.5s ease;
    opacity: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.60);
    z-index:-1;
}
    .mobile_menu_overlay.active {
        z-index: 100;
        opacity: 1;
    }
.mobile_menu_bg .mainMenu {
    display: block;
    max-width:100%;
}
.mobile_menu_bg .mainMenu .root {
    display: block;
    float: none;
    /*padding: 20px;*/
    margin: 0px;
    border-bottom: 3px #ffffff solid;
    /*opacity:0;*/
    transition: all 1s ease;
    /*margin-top:30px;*/
}

.mobile_menu_bg .mainMenu .root a {
	background-color: #eeeeee;
	padding:20px;
}
    .mobile_menu_bg .mainMenu>.root.active a {
        /*opacity:1;*/
        margin-top: 0px;
    }

.mobile_menu_bg .mainMenu>.root a {
    font-weight: 600;
}

.offcanvas-toggle {
    display: none;
    cursor:pointer;
    float: left;
    padding: 30px 25px;
}
    .offcanvas-toggle .fas {
        font-size: 25px;
    }
.offcanvas-close {
    cursor: pointer;
    text-align: right;
    padding: 10px;
    position: absolute;
    z-index: 100;
    right: 5px;
}
    .offcanvas-close .fa-times{
        font-size: 25px;
        opacity: 0;
        transition: all 1.5s ease;
    }
    .offcanvas-close .fa-times.active{
        opacity: 1;
        transform: rotate(180deg);
    }
.shadow-effect {
    transition: all 0.5s ease;
}
    .shadow-effect.active {
        margin-left: 100px;
        margin-right: -50px;
    }
    
@media(max-width:980px) {
    .mainMenu .selected,
	.mainMenu .selected a { /* Active link */
        color: #cd1726 !important;
    }
    .mainMenu .root:hover,
    .mainMenu .root:focus {
        color: #000 !important;
    }
    .offcanvas-toggle {
        display:block;
    }
	.menu_bg { 
		display: none;
	}
} 