/* Mobile Portrait View */ @media screen and (max-width: 479px) { * { box-sizing: border-box; } .wrap { width: 95%; display: inherit !important; } .flexbox{ display: block; } /****************************** ** Top Header CSS ******************************/ .topbar{ text-align: center; } .topbar .topbar-left span{ display: block; padding: 0; margin: 0; border: none; } /****************************** ** Header CSS ******************************/ .header{ padding: 20px 0 0; text-align: center; } .header .flexbox{ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; } .header .head-left{ order: 2; margin: 10px auto; } .header .head-right{ margin: 10px auto; } .header .head-center{ width: 74%; margin: 0 auto; } .header .head-center img{ width: auto; } .site-logo{ margin: 0 0 20px; } .hideonmobile{ display: none; } /****************************** ** Navigation CSS ******************************/ #navigation{ background: transparent; margin-bottom: 20px; } .toggle { display: block; } .toggle a { width: 100%; color: #ffffff; background: url(../images/mobile_nav_right.png) no-repeat right center #373a3f; padding: 10px 10px; margin-top: 20px; font-size: 16px; } .toggle a:hover { color: #ffffff !important; } .toggle a.active { color: #ffffff; } .sitenav { display: none; margin-top:0; width:100%; } .sitenav ul { background: #000000; color: #000; width: 100%; float: none; margin-top: 0; } .sitenav ul li { border-top: 1px #303030 solid; display: block; float: none; text-align: left; } .sitenav ul li ul { color: #fff; opacity: 0; padding:0; position: absolute; right: 9999rem; top: calc(100% + 2rem); transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s; transform: translateY(0.6rem); width: 20rem; z-index: 1; } .sitenav ul li.menu-item-has-children:hover > ul, .sitenav ul li.menu-item-has-children:focus > ul, .sitenav ul li.menu-item-has-children.focus > ul { left: 0; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; background-color:#000000 !important; top:0; position: relative; } .sitenav ul li a { padding: 5px 10px; display: block; color: #ffffff !important; text-align:left; } .sitenav ul li a:hover { color: #ffffff !important; } .sitenav ul li ul, .sitenav ul li ul ul { display: block !important; } .sitenav ul li ul li a:before { content: "\00BB \00a0"; } .sitenav ul li ul li a { padding-left: 20px !important; } .sitenav ul li ul li ul li a { padding-left: 30px !important; } .sitenav ul li.current_page_item a{ background-color:transparent !important; } .sitenav ul li:hover, .sitenav ul li.current_page_item{ background-color:inherit !important; } /****************************** ** Slider CSS ******************************/ #theme-slider{ text-align: center; } #theme-slider .nivo-caption{ width: 76%; margin: 0 auto; left: 0; right: 0; } #theme-slider .inner-caption{ padding: 10px 15px; } #theme-slider .inner-caption h2{ font-size: 24px; margin-bottom: 15px; } #theme-slider .inner-caption p{ display: none; } #theme-slider .inner-caption .sliderbtn{ padding: 12px 16px; font-size: 12px; } #theme-slider .nivo-controlNav{ display: none; } /****************************** ** Sections CSS ******************************/ .whyus, .aboutus{ padding: 30px 0; } .whyus .box{ margin: 0 !important; } .aboutus .thumb{ margin-bottom: 20px; } .aboutus .about-content{ padding: 0; } /* ------ Extra ------ */ #sitemain iframe { max-width: 100%; height: auto; } /* --------- Pages ------- */ .content-area { width: 95%; margin: 0 auto; padding: 50px 0; } .site-main { width: 100%; margin: 0; padding: 0; float: none; } #sidebar { width: auto; margin: 60px 0 0; padding: 0; float: none; } .nivo-directionNav a { top: 36% !important; } section{ padding:0; } .main-container{ margin-top:0; } } /* Mobile Landscape View */ @media screen and (max-width: 719px) and (min-width: 480px) { * { box-sizing: border-box; } .wrap { width: 95%; display: inherit !important; } .flexbox{ display: block; } /****************************** ** Top Header CSS ******************************/ .topbar{ text-align: center; } .topbar .topbar-left span{ display: block; padding: 0; margin: 0; border: none; } /****************************** ** Header CSS ******************************/ .header{ padding: 20px 0 0; text-align: center; } .header .flexbox{ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; } .header .head-left{ order: 2; margin: 10px auto; text-align: left; } .header .head-right{ margin: 10px auto; text-align: left; } .header-info span{ font-size: 12px; } .header-info h5{ font-size: 14px; } .header .head-center{ width: 100%; } .header .head-center .site-logo{ width: 60%; margin: 0 auto 15px; } .header .head-center img{ width: auto; } .site-logo{ margin: 0 0 20px; } .hideonmobile{ display: none; } /****************************** ** Navigation CSS ******************************/ #navigation{ background: transparent; margin-bottom: 20px; } .toggle { display: block; } .toggle a { width: 100%; color: #ffffff; background: url(../images/mobile_nav_right.png) no-repeat right center #373a3f; padding: 10px 10px; margin-top: 20px; font-size: 16px; } .toggle a:hover { color: #ffffff !important; } .toggle a.active { color: #ffffff; } .sitenav { display: none; margin-top:0; width:100%; } .sitenav ul { background: #000000; color: #000; width: 100%; float: none; margin-top: 0; } .sitenav ul li { border-top: 1px #303030 solid; display: block; float: none; text-align: left; } .sitenav ul li ul { color: #fff; opacity: 0; padding:0; position: absolute; right: 9999rem; top: calc(100% + 2rem); transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s; transform: translateY(0.6rem); width: 20rem; z-index: 1; } .sitenav ul li.menu-item-has-children:hover > ul, .sitenav ul li.menu-item-has-children:focus > ul, .sitenav ul li.menu-item-has-children.focus > ul { left: 0; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; background-color:#303030; top:0; position: relative; } .sitenav ul li a { padding: 5px 10px; display: block; color: #ffffff !important; text-align:left !important; } .sitenav ul li a:hover { color: #ffffff !important; } .sitenav ul li ul, .sitenav ul li ul ul { display: block !important; } .sitenav ul li ul li a:before { content: "\00BB \00a0"; } .sitenav ul li ul li a { padding-left: 20px !important; } .sitenav ul li ul li ul li a { padding-left: 30px !important; } .sitenav ul li.current_page_item a{ background-color:transparent !important; } .sitenav ul li:hover, .sitenav ul li.current_page_item{ background-color:inherit !important; } /****************************** ** Slider CSS ******************************/ #theme-slider{ text-align: center; } #theme-slider .nivo-caption{ width: 76%; margin: 0 auto; left: 0; right: 0; } #theme-slider .inner-caption{ padding: 10px 15px; } #theme-slider .inner-caption h2{ font-size: 34px; margin-bottom: 15px; } #theme-slider .inner-caption p{ display: none; } #theme-slider .inner-caption .sliderbtn{ padding: 12px 16px; font-size: 12px; } #theme-slider .nivo-controlNav{ display: none; } /****************************** ** Sections CSS ******************************/ .whyus, .aboutus{ padding: 30px 0; } .whyus .box{ margin: 0 !important; } .aboutus .thumb{ margin-bottom: 20px; } .aboutus .about-content{ padding: 0; } /* ------ Extra ------ */ #sitemain iframe { max-width: 100%; height: auto; } /* --------- Pages ------- */ .content-area { width: auto; margin: 0 20px; padding: 50px 0; } .site-main { width: auto; margin: 0; padding: 0; float: none; } #sidebar { width: auto; margin: 60px 0 0; padding: 0; float: none; } .nivo-directionNav a { top: 36% !important; } section{ padding:0; } .main-container{ margin-top:0; } } @media screen and (max-width: 899px) and (min-width: 320px) { .cat_comments { height: auto; } } /* Tablet View */ @media screen and (max-width: 999px) and (min-width: 720px) { * { box-sizing: border-box; } .wrap{ width: 95%; margin: 0 auto; } /****************************** ** Top Header CSS ******************************/ .header-info .head-icon{ font-size: 20px; padding: 8px 12px; } .header-info h5{ font-size: 16px; } .header-info span{ font-size: 12px; } /****************************** ** Header CSS ******************************/ h1.site-title{ font-size: 2rem; } p.site-description{ font-size: .8rem; } /****************************** ** Navifation CSS ******************************/ #navigation{ background: transparent; margin-bottom: 20px; } .toggle { display: block; } .toggle a { width: 100%; color: #ffffff; background: url(../images/mobile_nav_right.png) no-repeat right center #373a3f; padding: 10px 10px; margin-top: 20px; font-size: 16px; } .toggle a:hover { color: #ffffff !important; } .toggle a.active { color: #ffffff; } .sitenav { display: none; float:none; } #navigation{ width:auto; background-color: transparent !important; position:relative !important; } .sitenav ul { background: #000000; color: #000; width: 100%; float: none; margin-top: 0; } .sitenav ul li { border-top: 1px #303030 solid; display: block; float: none; text-align: left; } .sitenav ul li ul { color: #fff; opacity: 0; padding:0; position: absolute; right: 9999rem; top: calc(100% + 2rem); transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s; transform: translateY(0.6rem); width: 20rem; z-index: 1; } .sitenav ul li.menu-item-has-children:hover > ul, .sitenav ul li.menu-item-has-children:focus > ul, .sitenav ul li.menu-item-has-children.focus > ul { left: 0; opacity: 1; transform: translateY(0); transition: opacity 0.15s linear, transform 0.15s linear; background-color:#303030; top:0; position: relative; } .sitenav ul li a { padding: 5px 10px; display: block; color: #ffffff !important; text-align:left; } .sitenav ul li a:hover { color: #ffffff !important; } .sitenav ul li ul li a:before { content: "\00BB \00a0"; } .sitenav ul li ul li a { padding-left: 20px !important; } .sitenav ul li ul li ul li a { padding-left: 30px !important; } .sitenav ul li:hover, .sitenav ul li.current_page_item{ background-color:inherit !important; } /****************************** ** Slider CSS ******************************/ #theme-slider .nivo-caption { width: 86% !important; left: 0; right: 0; margin: 0 auto; } #theme-slider .inner-caption{ padding: 15px; } #theme-slider .inner-caption h2{ font-size: 2rem; margin-bottom: 15px; } #theme-slider .inner-caption .sliderbtn{ padding: 12px 16px; font-size: 12px; } /****************************** ** Section CSS ******************************/ .inner-whyus{ padding: 1em; } /* --------- Pages ------- */ .content-area { width: auto; margin: 0 20px; padding: 50px 0; } .site-main { width: 60%; margin: 0; padding: 0; float: left; } #sidebar { width: 35%; margin: 0; padding: 0; float: right; } section{ padding-bottom:0; } .main-container{ margin-top:0; } } @media screen and (min-width: 1000px) { .sitenav ul li ul li { display: block; position: relative; float: none; } .sitenav ul li ul li a { display: block; padding-top: 10px; padding-bottom: 10px; border-bottom: 1px #313131 solid; } .site-main { width: 70%; } } @media screen and (min-width: 1000px) and (max-width: 1159px) { .wrap { width: 95%; } .sitenav ul{ font-size:12px; } .sitenav ul li:hover > ul{ top:52px; } .cat_comments { left: 35px; width: 25%; } .content-area { width: 95%; } #navigation{ width:auto; } .nivo-caption{ width:82% !important; } }