/* Theme Name: WP Clean Green Theme URI: http://deucethemes.com/themes/clean-green/ Author: Deuce Themes Author URI: http://deucethemes.com Description: WP Clean Green is a magazine style blogging theme which displays posts by category on the home page, and has a range of features to customize the look without any coding necessary. With no code changes you can upload your own logo and/or favicon, add social media links, add a banner in the header, adjust the slider behaviour, change the main theme colors, or choose whether to display Author bios and/or related content on each post. It is simple and easy to use and looks great. Text Domain: wpcleangreen Domain Path: /library/translation Version: 1.0.4 License: GNU General Public License v2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: custom-menu, sticky-post, microformats, translation-ready, full-width-template, post-formats */ /*******************************************************************************************/ /*globals*/ a { color: #000; text-decoration: underline; } a:hover { text-decoration: underline; } iframe { width: 100%; } body.custom-background { background-size: cover; } .entry-content ul li:before { content: "\203A \020 \020"; font-family: 'Raleway-Heavy', sans-serif, arial; font-size: 20px; } .entry-content ol { counter-reset: my-counter; } .entry-content ol > li:before { content: counter(my-counter) ". \020"; counter-increment: my-counter; font-family: 'Raleway-Heavy', sans-serif, arial; font-size: 20px; } .entry-content ul, .entry-content ol { margin: 0 30px; } .widget li:before, nav[role="navigation"] li:before { content: ""; } .clear { clear: both; } .front-wrapper #content { margin-top: 0; } .divider-title { padding: 40px 0 5px; } .divider-title:before { content: ""; display: block; border-top: solid 1px black; width: 100%; height: 1px; position: absolute; z-index: 1; } .divider-title span { font-size: 24px; letter-spacing: 10px; font-family: 'Raleway-Regular', sans-serif, arial; text-transform: uppercase; background: none repeat scroll 0 0 #fff; display: block; margin: 0 auto; padding: 0 20px; position: relative; text-align: center; top: -18px; width: 200px; z-index: 5; color: #000; } .table { display: table; height: 100%; margin: 0 auto; width: 100%; } .table-cell { display: table-cell; text-align: center; vertical-align: middle; width: 100%; } .tagcloud a { border: 1px solid #ddd; font-size: 14px !important; padding: 10px; display: inline-block; margin-bottom: 5px; } .full.d-5of7 { width: 100%; } /*required css*/ .sticky {} .gallery-caption {} .bypostauthor {} /*social-icons*/ .social-icons { width: auto; max-width: 100%; padding: 0 0 14px; font-size: 20px; } .social-icons a { margin-right: 10px; text-decoration: none; text-transform: uppercase; color: #000; display: inline-block; width: auto; } .social-icons a .fa:hover { color: #A9D300; } .social-icons a .fa { color: #fff; } /*header*/ .has-backgroud { background: rgb(255, 255, 255); background: transparent\9; background: rgba(255, 255, 255, 0.8); filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#7fffffff, endColorstr=#7fffffff); zoom: 1; } .has-backgroud:nth-child(n) { filter: none; } #logo { width: auto; padding: 15px 0; float: left; width: 40%; } #logo a { text-transform: uppercase; font-family: 'Raleway-Heavy', sans-serif, arial; font-size: 60px; } .advertisement-area.no-add { border: 1px solid #ddd; max-height: 90px; min-height: 90px; } .advertisement-area { float: left; margin: 20px 0 0; max-width: 728px; text-align: center; width: 60%; } .advertisement-area p.no-add { padding: 15px 0; } .advertisement-area .widget { padding: 0; } .advertisement-area img { width: 100%; } .navigation-area { background: #333333; box-shadow: 0 -5px 0 #aaa inset; -moz-box-shadow: 0 -5px 0 #aaa inset; -webkit-box-shadow: 0 -5px 0 #aaa inset; margin: 20px 0 0; } nav[role="navigation"] { width: auto; } nav[role="navigation"] .nav { float: none; } nav[role="navigation"] .nav li { padding: 20px 15px; float: left; display: block; position: relative; } nav[role="navigation"] .nav li ul li { padding: 0; box-shadow: none; } nav[role="navigation"] .nav li ul li:hover { background: #A9D300; } nav[role="navigation"] .nav li.current-menu-item ul li, nav[role="navigation"] .nav li:hover ul li { box-shadow: none; } nav[role="navigation"] .nav li.current-menu-item, nav[role="navigation"] .nav li:hover { box-shadow: 0 -5px 0 #a9d300 inset; -moz-box-shadow: 0 -5px 0 #a9d300 inset; -webkit-box-shadow: 0 -5px 0 #a9d300 inset; } nav[role="navigation"] .nav li:first-child { margin-left: 0; } nav[role="navigation"] .nav li a { color: #fff; font-family: 'Raleway-Regular', sans-serif, arial; text-align: left; padding: 0; font-size: 20px; } nav[role="navigation"] .nav li.current_page_item a { font-family: 'Raleway-Bold', sans-serif, arial; } nav[role="navigation"] .nav li ul { border: none; margin: 0; padding: 0; position: absolute; top: 100%; z-index: 999; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); } nav[role="navigation"] .nav li ul ul { top: 0; left: 100%; } nav[role="navigation"] .nav li ul ul ul ul { left: -100%; } nav[role="navigation"] ul li:hover > ul, nav[role="navigation"] ul li:focus > ul { border-left: 0; clip: inherit; overflow: inherit; height: inherit; width: inherit; } nav[role="navigation"] .nav li ul li a { background: #333; border: 1px solid #333; display: block; font-size: 14px; line-height: 2.181818182; padding: 8px 10px; padding: 0.571428571rem 0.714285714rem; width: 150px; white-space: normal; color: #fff; } nav[role="navigation"] .nav li ul li a:hover, nav[role="navigation"] .nav li ul li a:focus { background: none!important; color: #fff; border: none; } .nav-show { display: block!important; } /*slider*/ .captions { position: absolute; bottom: 0; background-image: url(images/trans.png); padding: 10px 40px; width: 60%; box-sizing: border-box; } .captions a { text-decoration: none; } .captions h1 { font-size: 24px; text-transform: uppercase; color: #fff; font-family: 'Raleway-Bold', sans-serif, arial; margin-top: 0; } .captions h1:hover { color: #ddd; } /*blog list*/ .category-items { margin-top: 40px; } .category-items:last-child { margin-bottom: 40px; } .category-items.has-backgroud { padding: 20px; } .category-items .category-title { box-shadow: 0 -5px 0 #a9d300 inset; -moz-box-shadow: 0 -5px 0 #a9d300 inset; -webkit-box-shadow: 0 -5px 0 #a9d300 inset; margin: 0; } .category-items .category-title a { background: #a9d300; color: #eee; padding: 10px 20px 4px; font-family: 'Raleway-Bold', sans-serif, arial; font-size: 20px; text-transform: uppercase; } .category-items .inner-category-items { border: 1px solid #ddd; padding: 20px; } .category-items .inner-category-items h1 { margin: 0; font-size: 24px; font-family: 'Raleway-Bold', sans-serif, arial; } .category-items .inner-category-items h1 a { color: #333; } .category-items .inner-category-items .first-post { width: 49%; float: left; } .category-items .inner-category-items .first-post h1 { border-left: 4px solid #A9D300; padding-left: 10px; } .category-items .inner-category-items .category-posts { width: 49%; float: right; } .category-items .inner-category-items .first-post img, .category-items .inner-category-items .category-posts img { width: 100%; height: auto; } .category-items .inner-category-items .first-post .post-image { position: relative; } .category-items .inner-category-items .first-post .fa, .category-items .inner-category-items .category-posts .fa { bottom: 7px; color: #ddd; font-size: 16px; padding: 8px; position: absolute; right: 0; background: rgba(0, 0, 0, 0.5); } .category-items .inner-category-items .category-posts ul { margin: 0; } .category-items .inner-category-items .category-posts ul li { margin-bottom: 20px; overflow: auto; clear: both; } .category-items .inner-category-items .category-posts .post-image { float: left; width: 30%; position: relative; } .category-items .inner-category-items .category-posts .post-content { float: right; width: 68%; } .category-items .inner-category-items .category-posts .post-content .time { color: #777; font-size: 15px; } .category-items .inner-category-items .category-posts .post-content h1 { font-size: 20px; margin: 5px 0 10px; } .category-items .inner-category-items .category-posts .post-content p { margin: 0; } /*formats*/ .blog-list .item a:hover span.fa { color: #adadad; } .blog-list .item.format span.fa { bottom: 20px; color: #fff; display: block; font-size: 30px; left: 0; padding-right: 20px; position: absolute; text-align: right; text-shadow: 1px 2px 4px #000; width: 100%; } body.home .pagination, body.blog .pagination { background: #F1F4F5; } body .pagination { margin: 0; } body .pagination ul { background: none; border-radius: 0; } body .pagination li:before { content: ""; } body .pagination li { border: none; } body .pagination li span { font-family: 'Raleway-Bold', sans-serif, arial; font-size: 30px; background: none; border: 2px solid #000; color: #000; } body .pagination li .dots { border: none; padding: 10px 0; } body .pagination li .dots:hover { background: none; color: #333; } body .pagination li a { font-family: 'Raleway-Bold', sans-serif, arial; font-size: 30px; background: none; color: #333; } body .pagination li a:hover, body .pagination li a:focus { color: #000; background: none; } .quote-content { color: #808080; font-size: 20px; font-style: italic; } .quote-source { font-weight: bold; text-align: right; } .status-content { background: #ECECEC; padding: 10px; text-align: center; } .chat-content .wp-smiley { margin: 0; } p.format-link a { background: none repeat scroll 0 0 #ececec; color: #000; display: block !important; padding: 10px; text-align: center; } body .mejs-controls .mejs-time-rail .mejs-time-loaded { background: #444; } body .mejs-controls .mejs-time-rail .mejs-time-current { background: #ddd; } body .mejs-container { margin: 20px 0; } .video-container { position: relative; height: 0; overflow: hidden; padding-bottom: 56.25%; margin-bottom: 5px; } .video-container iframe { position: absolute; height: 100%; top: 0; width: 100%; } /*single-post*/ .single-post-page.has-backgroud { padding: 20px; } .hentry .article-header, .archive .article-header, .search .article-header { margin-top: 30px; padding: 0; border-bottom: 4px solid #a9d300; } .archive .article-header { margin-bottom: 40px; } .article-header h1, .archive .article-header h1 { font-family: 'Raleway-Bold', sans-serif, arial; font-size: 27px; margin: 0; } .article-header h1 span, .archive .article-header h1 span { font-family: 'Raleway-Regular', sans-serif, arial; } .add-info { box-shadow: 0 -4px 0 #a9d300 inset; -moz-box-shadow: 0 -5px 0 #a9d300 inset; -webkit-box-shadow: 0 -5px 0 #a9d300 inset; margin: 0; margin-bottom: 30px; } .add-info span { background: #a9d300; color: #eee; padding: 8px 20px 3px; font-family: 'Raleway-Bold', sans-serif, arial; font-size: 20px; text-transform: uppercase; } .add-info span.author-name { text-transform: none; } body .byline { margin-top: 5px; font-style: normal; color: #777; font-size: 15px; } body.page-template-full-width-php .byline { display: none; } body .hentry footer, body .related { padding: 0; margin: 80px 0 0; } body .tag-links { margin-top: 40px; font-family: 'Raleway-Bold', sans-serif, arial; } body .tag-links span { color: #333; } body .tag-links a { text-decoration: none; color: #A9D300; } body .tag-links a:hover { text-decoration: underline; } body .avatar { float: left; } body .avatar img { width: 100%; max-width: 80px; max-height: 80px; } body .info { width: 88%; float: right; } body .info p.author-desc { font-size: 18px; } body .commentlist article { border-bottom: 1px solid #ddd; padding-bottom: 20px; margin-bottom: 30px; } body .comment-respond { padding: 20px 0; } body #comments-title { font-family: 'Raleway-Bold', sans-serif, arial; font-size: 20px; } body .related ul li { width: 245px; float: left; margin-left: 30px; margin-bottom: 30px; } body .related ul li:first-child { margin-left: 0; } body .related ul li a { text-decoration: none; } body .related ul li a h3 { font-size: 20px; margin: 0; } body .related ul li a img { width: 100%; height: auto; } body .comment-title { margin: 60px 0 30px; display: block; } body .comment .comment-author { margin: 0; width: auto; padding: 0; } body .comment_content { margin-bottom: 5px; margin: 0 0 1.5em 7em; } body .comment_content time { display: block; } body .comment_content time a { font-size: 15px; text-decoration: none; } body .comment:not(.depth-1) { padding: 0; } body .comment.depth-3 { margin-bottom: 20px; } body .comment_content p { margin-bottom: 0; font-size: 18px; } body .comment .vcard { margin-left: 0; margin-right: 10px; } body .comment .vcard .avatar { position: static; } body cite.fn { font-style: normal; font-family: 'Raleway-Bold', sans-serif, arial; font-size: 18px; } body .comment-reply-link { border-radius: 0; margin: 0; color: #777; font-family: 'Raleway-Bold', sans-serif, arial; background: none; font-size: 18px; } body .comment-respond small { display: block; } body .comment-reply-link:hover { background: none; color: #aaa; } body .comment-reply-title { font-family: 'Raleway-Bold', sans-serif, arial; font-size: 20px; } body .comment-inner { border-bottom: 1px solid #ddd; padding-bottom: 10px; } body #comments-title { padding: 20px 0; } body.page #comments-title { border-top: 1px solid #ddd; } body .comment-form input, body .comment-form textarea { background: none; border: 2px solid #ddd; } /*comments*/ nav.comment-navigation[role="navigation"] { float: none; width: 100%; border: 1px solid #ddd; padding: 15px; box-sizing: border-box; } /*widgets*/ body .sidebar { margin: 40px 0; } body .sidebar a { text-decoration: none; } body .sidebar a:hover { text-decoration: underline; } body .sidebar img { width: 100%; height: auto; } .widget:first-child { margin-top: 0; } .widget:first-child h4 { margin-top: 0; } .widget ul li { border-bottom: 1px solid #ddd; padding-bottom: 10px; } .widget ul li.menu-item-has-children ul, .widget ul li.page_item_has_children ul { margin-bottom: 0; } .widget ul li.menu-item-has-children li, .widget ul li.page_item_has_children li { border-bottom: none; margin-bottom: 0; } .searchform .screen-reader-text { display: none; } .searchform input[type="text"] { border: 2px solid #ddd; background: none; } .widget #wp-calendar { width: 100%; } .widget #wp-calendar td { text-align: center; } .widget #wp-calendar td#today { font-family: 'Raleway-Heavy', sans-serif, arial; } .widget #wp-calendar caption { background: #333; text-transform: uppercase; padding: 8px 0; font-family: 'Raleway-Bold', sans-serif, arial; color: #A9D300; } .widget #wp-calendar thead { border: 1px solid #333; } .widgettitle { border-bottom: 4px solid #A9D300; margin-bottom: 30px; font-family: "Raleway-Bold", sans-serif, arial; text-transform: uppercase; } /*archive*/ article.archive:first-child { margin-top: 20px; } article.archive img { width: 40%; display: block; float: left; height: auto; } article.archive .entry-content { float: right; width: 55%; padding: 0; } article.archive .entry-content h3 { font-family: "Raleway-Bold", sans-serif, arial; font-size: 24px; line-height: 1em; position: relative; top: -4px; } .archive .hentry { margin-bottom: 40px; } .archive .hentry p { margin-top: 30px; } .archive .hentry .excerpt-read-more { background: none repeat scroll 0 0 #a9d300; color: #fff; display: block; font-family: "Raleway-bold"; margin-top: 40px; max-width: 150px; padding: 10px; text-align: center; text-decoration: none; text-transform: uppercase; } .archive .hentry .excerpt-read-more:hover { background: #333; } .featured-page{ background-size: cover; background-position: center; padding: 100px; position: relative; } .featured-page .overlay{ position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0,0,0,0.5); z-index: 99; } .featured-page #main{ position: relative; z-index: 100; } body .featured-page .article-header{ margin: 0!important; border: none!important; } body .featured-page .article-header h1{ color: #A9D300; text-align: center; font-size: 50px; text-transform: uppercase; } body .featured-page .entry-content, body .featured-page .entry-content p{ color: #fff; } .featured-widgets .featured-widgets-item { display: inline-block; text-align: left; margin: 10px; vertical-align: top; width: 23%; } .footer-widgets .featured-widgets-item .widget{ width: 100%; } /*footer*/ footer.footer[role="contentinfo"] { background: #333; } footer.footer[role="contentinfo"] p, footer.footer[role="contentinfo"] a { color: #fff; } footer .footer-social { float: right; margin-top: 15px; } footer .footer-social a:last-child { margin-right: 0; } body.paged footer .copyright span { display: none; } .footer-widgets { padding: 40px 0 20px; border-bottom: 1px solid #aaaaaa; } .footer-widgets .no-menu-widgets p { margin: 0; border: none; padding: 80px; text-align: center; } .footer-widgets ul { margin-top: 0; } footer.footer[role="contentinfo"] .footer-widgets li { border: none; margin: 0; } .footer-widgets a { text-decoration: none; } footer.footer[role="contentinfo"] a:hover { color: #A9D300; } .footer-widgets h4 { text-transform: uppercase; margin-top: 0; font-family: "Raleway-Bold", sans-serif, arial; border: none; margin-bottom: 30px; color: #A9D300; } .footer-widgets .widget { float: left; width: 25%; margin-bottom: 30px; } .footer-widgets .widget img { height: auto; max-width: 100%; width: auto; } /*responsive nav*/ #responsive-nav, .no-display { display: none; } /*gallery*/ body .gallery { clear: both; margin-bottom: 20px; overflow: auto; } body .gallery img { margin-bottom: 0; display: block; } .gallery .gallery-caption { background: #ddd; padding: 10px; color: #000; line-height: 1.5em; margin-bottom: 0; } .gallery-item { margin: 0; } .gallery-item img { width: 100%; } .gallery-columns-1 { width: 520px; margin: 0 auto; } .gallery-columns-1 .gallery-item { width: 100%; margin-bottom: 20px; } .gallery-columns-2 .gallery-item, .gallery-columns-2 .gallery-icon.portrait, .gallery-columns-2 .gallery-icon.landscape { width: 46%; float: left; margin-right: 50px; } .gallery-columns-2 .gallery-item .gallery-icon.portrait, .gallery-columns-2 .gallery-item .gallery-icon.landscape { width: 100%; margin-bottom: 20px; } .gallery-columns-2 .gallery-item:nth-child(2n+2) { margin-right: 0; } .gallery-columns-3 .gallery-item, .gallery-columns-3 .gallery-icon.portrait, .gallery-columns-3 .gallery-icon.landscape { width: 29%; float: left; margin-right: 42px; } .gallery-columns-3 .gallery-item .gallery-icon.portrait, .gallery-columns-3 .gallery-item .gallery-icon.landscape { width: 100%; margin-bottom: 20px; } .gallery-columns-3 .gallery-item:nth-child(3n+3) { margin-right: 0; } .gallery-columns-4 .gallery-item, .gallery-columns-4 .gallery-icon.portrait, .gallery-columns-4 .gallery-icon.landscape { width: 22%; float: left; margin-right: 22px; } .gallery-columns-4 .gallery-item .gallery-icon.portrait, .gallery-columns-4 .gallery-item .gallery-icon.landscape { width: 100%; margin-bottom: 20px; } .gallery-columns-4 .gallery-item:nth-child(4n+4) { margin-right: 0; } /*slider*/ /****************************************************************** jQuery SLIDER STYLES ******************************************************************/ #load-cycle { background: url(library/images/loading.gif) no-repeat center center; width: 100%; height: auto; min-height: 100px; } #slide-wrap { border-top: 0; background: #eee; box-shadow: 0 8px 20px #aaa; -moz-box-shadow: 0 8px 20px #aaa; -webkit-box-shadow: 0 8px 20px #aaa; } .cycle-slideshow { position: relative; height: 500px; width: 100%; display: none; overflow: hidden; } .slides { height: 500px; width: 100%; overflow: hidden; } .slides .slide-thumb { position: relative; width: 100%; height: 500px; overflow: hidden; white-space: nowrap; } .slides .slide-thumb img { position: absolute; left: 50%; top: 50%; -moz-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: auto; min-width: 102%; height: auto; min-height: 500px; } html.no-csstransforms .slides .slide-thumb img { left: 0; top: 0; } .slides .slide-noimg { position: relative; width: 100%; height: 500px; overflow: hidden; white-space: nowrap; background-color: #333; font-family: "Raleway-Regular", Helvetica, sans-serif; font-size: 21px; font-weight: 400; text-transform: uppercase; color: #d0d0d0; text-align: center; } .slides .slide-noimg p { position: absolute; width: 100%; left: 0; top: 42%; } .slide-title { font-family: "Raleway-Bold", Helvetica, sans-serif; font-size: 28px; text-transform: uppercase; font-weight: 400; line-height: 1; margin-top: 0; margin-bottom: 15px; } .slide-copy p { margin: 0; } .slide-title a, .slide-title a:visited {} .slide-copy-wrap { position: absolute; bottom: 0; z-index: 100; color: #fff; width: 50%; } .slide-copy-wrap a { color: #fff !important; } html.no-csstransforms .slide-copy-wrap { left: 60px; right: 60px; } .slide-copy { padding: 0 40px 10px 40px; background-image: url(library/images/trans.png); } .slide-copy .category-lists { margin-bottom: 20px; } .slide-copy .category-lists a { text-decoration: none; text-transform: uppercase; padding: 10px; display: block; float: left; background: #A9D300; font-family: "Raleway-Bold", Helvetica, sans-serif; border-left: 1px solid #eee; color: #eee; } .slide-copy .category-lists a:first-child { border: none; } #sliderprev, #slidernext { text-align: center; position: absolute; top: 42%; border-radius: 50%; text-decoration: none; background-color: #fff; font-family: "Raleway-Regular", Helvetica, sans-serif; font-size: 50px; width: 72px; height: 72px; line-height: 67px; z-index: 9998; text-indent: -9999px; outline: none; opacity: 0.9; display: none; } #sliderprev { left: 10px; background: url(library/images/slider-nav.png) no-repeat 0 -13px; } #slidernext { right: 10px; background: url(library/images/slider-nav.png) no-repeat -128px -11px; } .cycle-slideshow:hover #sliderprev, .cycle-slideshow:hover #slidernext, .cycle-slideshow:focus #sliderprev, .cycle-slideshow:focus #slidernext { display: block; } .cycle-paused:after { content: 'Paused'; font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 12px; /* for ie8 & below */ font-size: 0.75rem; text-transform: uppercase; color: white; background: black; padding: 5px 15px; z-index: 500; position: absolute; top: 10px; right: 10px; opacity: .5; filter: alpha(opacity=50); } /* pager */ .cycle-pager { text-align: center; width: 100%; z-index: 500; position: absolute; bottom: 10px; overflow: hidden; } .cycle-pager span { font-family: Arial, Helvetica, sans-serif; font-size: 50px; line-height: .6; width: 18px; height: 22px; display: inline-block; color: #f7f7f7; cursor: pointer; text-shadow: -1px -1px #bcbcbc; overflow: hidden; } .cycle-pager span.cycle-pager-active { color: #efefef; } .cycle-pager > * { cursor: pointer; } .no-slide-image { position: absolute; width: 100%; top: 40%; font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 34px; font-weight: 700; text-transform: uppercase; text-align: center; line-height: 1.5em; } /*media queries*/ @media screen and (max-width: 1279px) { body .wrap { width: 1000px; } body #logo { margin: 28px 0; } body #logo a { font-size: 50px; } .captions h1 { font-size: 18px; } .captions p { font-size: 12px; } .gallery-columns-2 .gallery-item, .gallery-columns-2 .gallery-icon.portrait, .gallery-columns-2 .gallery-icon.landscape { width: 46%; float: left; margin-right: 42px; } .gallery-columns-3 .gallery-item, .gallery-columns-3 .gallery-icon.portrait, .gallery-columns-3 .gallery-icon.landscape { width: 28%; float: left; margin-right: 45px; } .gallery-columns-4 .gallery-item, .gallery-columns-4 .gallery-icon.portrait, .gallery-columns-4 .gallery-icon.landscape { width: 21%; float: left; margin-right: 28px; } body .info { width: 85%; } body .related ul li { width: 198px; } .featured-widgets .featured-widgets-item { width: 22%; } } @media screen and (max-width: 1039px) { body .wrap { width: 799px; position: relative; } body .wrap.static { position: static; } body #logo { margin: 12px 0; padding-bottom: 0; float: none; text-align: center; width: 100%; } .advertisement-area { width: 100%; float: none; margin: 0 auto; } .no-display { display: block; } body nav[role="navigation"] { margin: 0; } nav[role="navigation"] .nav li { padding: 10px 0; } nav[role="navigation"] .nav li ul { height: auto; } nav[role="navigation"] .nav li.current-menu-item, nav[role="navigation"] .nav li:hover { box-shadow: none!important; } nav[role="navigation"] .nav li ul li:hover { background: none!important; } nav[role="navigation"] .nav li.current_page_item a { color: #A9D300; } #responsive-nav { display: block; cursor: pointer; width: auto; height: 50px; position: absolute; top: 25px; right: 0; } #responsive-nav h4 { margin: 0; color: #fff; } #responsive-nav img { width: 30px; margin: 15px 0; } #main-navigation { display: none; float: none; width: 100%; position: absolute; z-index: 9999; left: 0; background: #333; min-height: 320px; height: auto; overflow: auto; top: 105px; } #main-navigation ul { width: 70%; margin: 0 auto; float: none; } #main-navigation ul li { display: block; text-align: center; margin-right: 0; margin: 0; float: none; } #main-navigation ul li a { border-left: 0; border-right: none; border-top: none; display: block; padding: 10px 0; text-align: left; text-decoration: none; border-bottom: 1px dotted rgba(255, 255, 255, 0.2); font-size: 12px; } #main-navigation ul li a:hover { color: #A9D300; } #main-navigation ul li ul.sub-menu, #main-navigation ul li ul.children { background: none!important; border: none!important; max-width: 100%; min-width: 100%; } #main-navigation ul li ul.sub-menu, #main-navigation ul li ul.children { display: block; margin-top: 5px !important; padding: 0; position: relative; width: 90%; visibility: visible; } #main-navigation ul li ul.sub-menu li, #main-navigation ul li ul.children li { border-left: 1px solid rgba(255, 255, 255, 0.2)!important; display: block; padding: 0; } #main-navigation ul li ul.sub-menu li a, #main-navigation ul li ul.children li a { padding: 10px; } #main-navigation ul li ul.sub-menu ul.sub-menu, #main-navigation ul li ul.children ul.children { width: 100%; left: 20px; max-width: 100%; min-width: 100%; } .slides, .slides .slide-thumb, .cycle-slideshow { height: 400px; } #sliderprev, #slidernext, .slides .slide-noimg p { top: 32%; } .slide-copy { margin: 0; } .captions { padding: 10px 30px; width: 100%; } .captions h1, .captions p a { font-size: 14px; } .gallery-columns-2 .gallery-item, .gallery-columns-2 .gallery-icon.portrait, .gallery-columns-2 .gallery-icon.landscape { width: 46%; float: left; margin-right: 31px; } .gallery-columns-3 .gallery-item, .gallery-columns-3 .gallery-icon.portrait, .gallery-columns-3 .gallery-icon.landscape { width: 28%; float: left; margin-right: 33px; } .gallery-columns-4 .gallery-item, .gallery-columns-4 .gallery-icon.portrait, .gallery-columns-4 .gallery-icon.landscape { width: 21%; float: left; margin-right: 20px; } .category-items .inner-category-items .category-posts .post-image { width: 26%; } body .info { width: 80%; } body .related ul li { width: 140px; } .featured-widgets .featured-widgets-item { width: 47%; } } @media screen and (max-width: 839px) { body .wrap { width: 599px; } body .t-2of3 { width: 100%; float: none; } body .sidebar { width: 100%; float: none; } .slide-copy p { font-size: 14px; } .captions h1 { margin: 0; } footer .footer-social { float: none; } .gallery-columns-1 { width: 100%; } .gallery-columns-1 img { width: 100%; } .gallery-columns-2 .gallery-item, .gallery-columns-2 .gallery-icon.portrait, .gallery-columns-2 .gallery-icon.landscape { width: 47%; float: left; margin-right: 22px; } .gallery-columns-3 .gallery-item, .gallery-columns-3 .gallery-icon.portrait, .gallery-columns-3 .gallery-icon.landscape { width: 28%; float: left; margin-right: 25px; } .gallery-columns-4 .gallery-item, .gallery-columns-4 .gallery-icon.portrait, .gallery-columns-4 .gallery-icon.landscape { width: 22%; float: left; margin-right: 15px; } body .related ul li { width: 158px; } .category-items .inner-category-items .first-post, .category-items .inner-category-items .category-posts { width: 100%; float: none; } .category-items .inner-category-items .category-posts { margin-top: 30px; } .category-items .inner-category-items .category-posts .post-image { width: 20%; } .category-items .inner-category-items .category-posts .post-content { width: 76%; } .footer-widgets .widget { width: 100%; float: none; } .featured-widgets .featured-widgets-item { width: 46%; } } @media screen and (max-width: 639px) { body .wrap { width: 499px; } .blog-list .item { width: 46%; } .slide-title { font-size: 20px; margin-bottom: 5px; } .gallery-columns-2 .gallery-item, .gallery-columns-2 .gallery-icon.portrait, .gallery-columns-2 .gallery-icon.landscape, .gallery-columns-3 .gallery-item, .gallery-columns-3 .gallery-icon.portrait, .gallery-columns-3 .gallery-icon.landscape, .gallery-columns-4 .gallery-item, .gallery-columns-4 .gallery-icon.portrait, .gallery-columns-4 .gallery-icon.landscape { width: 46%; float: left; margin-right: 29px; } .gallery-columns-3 .gallery-item:nth-child(3n+3) { margin-right: 29px; } .gallery-columns-3 .gallery-item:nth-child(4n+4) { margin-right: 29px; } .gallery-columns-3 .gallery-item:nth-child(2n+2), .gallery-columns-3 .gallery-icon.portrait, .gallery-columns-3 .gallery-icon.landscape { margin-right: 0; } .gallery-columns-4 .gallery-item:nth-child(2n+2), .gallery-columns-4 .gallery-icon.portrait, .gallery-columns-4 .gallery-icon.landscape { margin-right: 0; } body .related ul li { width: 133px; } article.archive img, article.archive .entry-content { width: 100%; float: none; margin-bottom: 20px; } .featured-widgets .featured-widgets-item { width: 100%; } } @media screen and (max-width: 539px) { body .wrap { width: 90%; } body #logo { text-align: left; } #responsive-nav { top: 14px; } .slide-copy-wrap { width: 100%; } .slide-copy p { display: none; } .slides, .slides .slide-thumb, .cycle-slideshow { height: 300px; } .slides .slide-noimg p { top: 22%; font-size: 12px; } .gallery-columns-2 .gallery-item, .gallery-columns-2 .gallery-icon.portrait, .gallery-columns-2 .gallery-icon.landscape, .gallery-columns-3 .gallery-item, .gallery-columns-3 .gallery-icon.portrait, .gallery-columns-3 .gallery-icon.landscape, .gallery-columns-4 .gallery-item, .gallery-columns-4 .gallery-icon.portrait, .gallery-columns-4 .gallery-icon.landscape { width: 100%; float: left; margin-right: 0; } body .related ul li { width: 115px; } body .info { width: 78%; } } @media screen and (max-width: 499px) { body #logo img { width: 250px; } .blog-list .item { width: 100%; } body #logo a { font-size: 35px; } #responsive-nav { top: 24px; } .captions h1 { text-align: center; } body .comment article.cf { margin-bottom: 20px; } .category-items .inner-category-items .category-posts .post-image { margin-top: 30px; } .category-items .inner-category-items .category-posts .post-image, .category-items .inner-category-items .category-posts .post-content { width: 100%; } body .avatar { float: none; } body .info { margin-top: 20px; width: 100%; } body .avatar img { display: block; margin: 0 auto; } body .related ul li { margin-left: 0; width: 100%; } body .comment .vcard { display: none; } body .comment_content { margin-left: 0; } }