/* Mobile Portrait View */ @media screen and (max-width: 479px) { * { box-sizing: border-box; } #slider{ text-align:center; } .nivo-controlNav{ display:none !important; } .nivo-caption { width: 95% !important; padding: 10px; left:0 !important; } .nivo-caption p { display: none !important; } #slider .top-bar a.slide-button { font-size:12px; padding:10px 20px; } .nivo-caption h2 { font-size: 22px !important; line-height: 32px !important; text-align: center; margin-bottom: 0; } .container { width: 95%; display: inherit !important; } /* Header Css */ #header { position: inherit !important; padding: 15px 0; } #header .header-inner { width: 100%; text-align:center; padding: 0 15px; } #header .header-inner .logo{ text-align: center; padding: 0; } .header_right{ width:auto; float:none; padding:0; text-align:center; } .header-button{ display: none; } .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; } #navigation{ width:100%; background-color:transparent !important; position:relative !important; margin: 0; } .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; } /* ------ 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; } #icon-boxes .col{ padding: 0; } .pagearea-inner{ position:inherit; top:0; margin-top:20px; margin-bottom:0; flex-direction: column; text-align: center; } .main-container{ margin-top:0; } section#pagearea{ padding-bottom:0; } section#pagearea .thumb{ height: 50vh; background-size: cover !important; background-position: center !important; } .pagearea-content{ padding:3em 10px 0; } } /* Mobile Landscape View */ @media screen and (max-width: 719px) and (min-width: 480px) { * { box-sizing: border-box; } #slider .top-bar{ text-align:center; } .nivo-controlNav{ display:none !important; } .nivo-caption { width: 95% !important; padding: 10px; text-align:center; left:0 !important; } .nivo-caption p { display: none !important; } #slider .top-bar a.slide-button { font-size:12px; padding:10px 20px; } .nivo-caption h2 { font-size: 25px !important; line-height: 32px !important; text-align: center; margin-bottom: 0; } .container { width: 95%; display: inherit !important; } /* Header Css */ .header { position: inherit !important; padding: 15px 0; } .header .header-inner { width: 95%; text-align:center; } .logo { float: none; text-align: center; } .header_right{ width:auto; float:none; padding:0; text-align:center; } .header-button{ display: none; } .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%; } #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 !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; } /* ------ 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; } .pagearea-inner{ position:inherit; top:0; margin-top:20px; margin-bottom:0; flex-direction: column; text-align: center; } section{ padding:0; } h2.section_title{ font-size:30px; } .main-container{ margin-top:0; } section#pagearea{ padding-bottom:0; } section#pagearea .thumb{ height: 70vh; background-size: cover !important; background-position: center !important; } .pagearea-content{ padding:3em 20px 0; } } @media screen and (max-width: 719px){ .flex-element { flex-direction: column; display: block; margin: 0 !important; } .top-header-left .top-header-col, .top-header-right .top-header-col { margin: 0; padding: 0; width:100%; text-align: center; } .top-header-col:after{ content:none } .top-header-right{ text-align:center; } .top-header-menu ul li{ margin:0 5px; } .top-header-left { margin-right: 0; width: 100%; } .top-header-right { margin-left: 0; width: 100%; } } @media screen and (max-width: 899px) and (min-width: 320px) { h2.section-title { line-height: 48px; font-size: 35px !important; } .cat_comments { height: auto; } } /* Tablet View */ @media screen and (max-width: 999px) and (min-width: 720px) { * { box-sizing: border-box; } .pagearea-inner{ margin-top:20px; margin-bottom:0; flex-direction: column; text-align: center; } .nivo-caption { width: 80% !important; } #slider h2{ font:700 40px 'Barlow'; } .container { width: 95%; display: inherit !important; } .top-header-col{ padding-right: 5px; margin-right: 5px; } .top-header .social-icons a{ width:15px; } .top-header-left .social-icons i{ margin:0; } .header { position: inherit !important; padding:15px 0; } .header .header-inner { width: 95%; } .header .header-inner .flex-element{ display: block; } .header_right{ float:right; } .logo { float: none; text-align: center; } .header-button{ display: none; } .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; } /* --------- 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; } .home-content h3{ font-size:30px; } .main-container{ margin-top:0; } #icon-boxes .flex-element{ flex-wrap: wrap } #icon-boxes .col{ -webkit-box-flex: 0; -webkit-flex: 0 0 50%; -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; } .pagearea-content { padding:2em; } section#pagearea .thumb{ background-position:left; } } @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) { .container { width: 95%; } .header-inner { width: auto; justify-content:inherit !important; padding: 0 15px; } .sitenav ul{ font-size:12px; } .sitenav ul li:hover > ul{ top:52px; } .nivo-caption { height: auto !important; } .cat_comments { left: 35px; width: 25%; } .content-area { width: 95%; } #header .header-inner .logo{ margin-right:auto; } #navigation{ width:auto; } .nivo-caption{ width:82% !important; } .icon-box{ padding: 1.5em; } }