/* Theme Name: Brad Theme URI: http://www.tommusrhodus.com/brad-wordpress-theme/ Version: 1.0.0 Description: Brad WordPress Theme Author: Tom Rhodes Author URI: http://www.tommusrhodus.com/ License: GNU General Public License version 3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html Tags: custom-background, threaded-comments, translation-ready, custom-menu Text Domain: brad */ /* WARNING! DO NOT EDIT THIS FILE! To make it easy to update your theme, you should not edit the styles in this file. Instead use the custom css area in "appearance => customise" from your wp-admin. IF you make edits to this or any other theme file, they will be lost in a theme update. You have been warned. */ body { font-size: 16px; line-height: 1.6; overflow-y: scroll; overflow-x: hidden; background: #ffffff; -ms-word-wrap: break-word; word-wrap: break-word; } *, *::before, *::after { margin: 0; padding: 0; outline: 0; border: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .container { max-width: 1440px; margin: 0 auto; padding: 0 100px; position: relative; } .column { float: left; padding: 0 25px; position: relative; } .column:first-child { padding-left: 0; } .column:last-child { padding-right: 0; } .column.col-1 { width: 8.333%; } .column.col-2 { width: 16.666%; } .column.col-3 { width: 25%; } .column.col-4 { width: 33.333%; } .column.col-5 { width: 41.666%; } .column.col-6 { width: 50%; } .column.col-7 { width: 58.333%; } .column.col-8 { width: 66.666%; } .column.col-9 { width: 75%; } .column.col-10 { width: 83.333%; } .column.col-11 { width: 91.666%; } .column.col-12 { width: 100%; } .container::after, .row::after, .clear::after { content: ''; display: block; clear: both; } a { text-decoration: none; color: inherit; } a.link, .single-post-content a { text-decoration: none; border-bottom: 2px solid transparent; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } h1, h2, h3, h4, h5, h6 { font-weight: 600; } h1 { font-size: 42px; } h2 { font-size: 36px; } h3 { font-size: 30px; } h4 { font-size: 26px; } h5 { font-size: 22px; } h6 { font-size: 18px; } blockquote { font-size: 20px; font-style: italic; padding: 25px 50px; } input[type="submit"], .btn { display: inline-block; position: relative; font-family: inherit; font-size: 16px; padding: 5px 30px; line-height: 50px; cursor: pointer; } input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea { display: block; width: 100%; line-height: 50px; font-family: inherit; font-size: 16px; padding: 5px 15px; margin: 7px 0 25px; } textarea { max-width: 100%; min-height: 120px; line-height: inherit; padding: 15px; } label { display: block; position: relative; cursor: pointer; font-size: 14px; font-weight: 600; margin-bottom: 5px; } .float-right { float: right; } .float-left, .custom-logo-link { float: left; } img { max-width: 100%; height: auto; vertical-align: middle; } .text-center { text-align: center; } .text-right { text-align: right; } .text-left { text-align: left; } .header { width: 100%; padding-top: 50px; line-height: 50px; position: absolute; top: 0; left: 0; z-index: 100; } .main-logo { text-transform: uppercase; font-size: 22px; font-weight: 700; letter-spacing: 5px; } .main-nav { list-style: none; } .main-nav li { display: inline-block; position: relative; margin-right: 50px; } .main-nav li:last-child { margin-right: 0; } .main-nav li a { font-size: 16px; position: relative; } .main-nav li a::before { content: ''; width: 0; height: 2px; position: absolute; bottom: -4px; left: 0; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } .main-nav li.current-menu-ancestor > a::before, .main-nav li.current-menu-item > a::before, .main-nav li a:hover::before { width: 100%; } .main-nav li .sub-menu { display: none; position: absolute; top: 100%; left: 0; white-space: nowrap; } .main-nav li .sub-menu.visible { display: block; } .main-nav li .sub-menu li { display: block; margin: 0; line-height: normal; } .main-nav li .sub-menu li + li { padding-top: 5px; } .main-nav li .sub-menu li a { font-size: 14px; } .main-nav li .sub-menu li a::before { display: none; } .main-content { padding-top: 150px; } .entry-image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; } .entry .reveal { width: 100%; height: 100%; } .works .headline { margin-bottom: 100px; } .work-entry .desc { text-align: center; padding-top: 15px; } .blog-entry.sticky .desc { padding: 15px; } .work-entry .desc .title { font-size: 20px; } .works.works-3-columns .work-entry .desc .title { font-size: 16px; } .work-entry .desc .cat { font-size: 14px; opacity: 0.7; } .project .headline { margin-bottom: 150px; } .project-cat { font-size: 14px; } .related { margin-top: 200px; } .about-content { margin-top: 100px; } .blog .blog-entry .desc { padding-top: 15px; } .blog .blog-entry .desc .title { font-size: 16px; font-weight: 600; } .blog .blog-entry .desc .title a { border-bottom: 2px solid transparent; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } .single-post-header, .single-post-media { margin-bottom: 100px; } .single-post-header .title { font-weight: 700; line-height: 52px; margin-bottom: 15px; } .single-post-content * { margin-bottom: 25px; } .single-post-content *:last-child { margin-bottom: 0; } .single-post-content .post-tags { list-style: none; margin-top: 100px; padding-left: 50px; position: relative; } .single-post-content .post-tags::before { content: ''; width: 25px; height: 2px; position: absolute; top: 50%; left: 0; margin-top: -1px; } .single-post-content .post-tags li { display: inline-block; margin: 0 15px 0 0; } .metas span { display: inline-block; margin-right: 15px; font-size: 14px; position: relative; } .metas span:last-child { margin-right: 0; } .contact-form { max-width: 500px; margin: 200px auto 0; } .footer { padding: 200px 0 100px; } footer a { font-weight: 700; position: relative; border-bottom: 2px solid transparent; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } .loader-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 999; -webkit-transition: all 0.5s cubic-bezier(0.5, 0.3, 0.2, 1); transition: all 0.5s cubic-bezier(0.5, 0.3, 0.2, 1); } .loader-mask.hide { opacity: 0; visibility: hidden; } .loader-mask .loader { width: 30px; height: 30px; position: absolute; top: 50%; left: 50%; margin: -15px 0 0 -15px; border-radius: 50%; -webkit-animation: scale 1s infinite; animation: scale 1s infinite; } @-webkit-keyframes scale { 0% { -webkit-transform: scale(1); } 50% { -webkit-transform: scale(0.5); } 100% { -webkit-transform: scale(1); } } @keyframes scale { 0% { transform: scale(1); } 50% { transform: scale(0.5); } 100% { transform: scale(1); } } .back2top { width: 20px; height: 16px; position: fixed; bottom: 30px; right: 40px; z-index: 10; cursor: pointer; opacity: 0; visibility: hidden; -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } .back2top.visible { bottom: 50px; opacity: 1; visibility: visible; } .back2top .arrow { width: 2px; height: 16px; position: absolute; bottom: 0; left: 50%; margin-left: -1px; } .back2top::before { content: ''; width: 8px; height: 8px; position: absolute; top: 0; left: 50%; margin-left: -4px; -webkit-transform: rotate(45deg); transform: rotate(45deg); } .share { width: 30px; position: fixed; right: 35px; bottom: 150px; z-index: 10; text-align: center; list-style: none; } .share li { display: block; position: relative; margin-bottom: 10px; } .share li:last-child { margin-bottom: 0; } .share li a { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; } .reveal { opacity: 0; position: relative; top: 50px; -webkit-transition: all 1s ease; transition: all 1s ease; } .reveal.reveal-in { opacity: 1; top: 0; } .elementor-section.elementor-section-boxed>.elementor-container { max-width: 1460px; padding: 0 100px; } .elementor-inner p { margin-bottom: 25px; } .comments-wrapper { margin-top: 100px; } .comments-list { list-style: none; padding-left: 0 !important; } .comments-list .comment:not(:last-child) { margin-bottom: 50px; } .comments-list .comment .children { list-style: none; margin: 50px 0 0 50px; } .comments-list .comment .comment-user { float: left; width: 100px; position: relative; } .comments-list .comment .comment-user img { border-radius: 5px; } .comments-list .comment .comment-content { margin-left: 120px; } .comments-list .pingback.comment .comment-content { margin-left: 0px; } .comments-list .comment .comment-content .date { font-size: 14px; } .comments-list .comment .comment-content p:first-of-type { margin-top: 15px; } .comments-list .comment .comment-content .name { margin-bottom: 0; } @media (max-width: 600px) { .comments-list .comment .children { margin: 50px 0 0 15px; } .comments-list .comment .comment-user { width: 50px; } .comments-list .comment .comment-content { margin-left: 70px; } } .blog-pagination { position: relative; top: 50px; } .blog-pagination::after { content: ''; display: block; clear: both; } .blog-pagination span { display: block; position: relative; width: 50%; top: 0; } .blog-pagination span.prev { float: left; } .blog-pagination span.next { float: right; } .blog-pagination span a { display: block; text-align: center; font-size: 15px; font-weight: 600; padding: 50px; -webkit-transition: all 0.3s ease-in-out 0s; -moz-transition: all 0.3s ease-in-out 0s; -ms-transition: all 0.3s ease-in-out 0s; -o-transition: all 0.3s ease-in-out 0s; transition: all 0.3s ease-in-out 0s; } @media (max-width: 800px) { .blog-pagination span { width: 100%; position: relative; float: none !important; } .blog-pagination span a { padding: 25px; } } @media (max-width: 1024px) { .container, .elementor-section.elementor-section-boxed>.elementor-container { padding: 0 50px; } } @media (max-width: 768px) { .column { width: 100% !important; padding: 0 !important; margin-bottom: 50px; } .column:last-child { margin-bottom: 0; } .header { position: relative; line-height: 30px; } .main-content { padding-top: 100px; } .main-nav li { display: block; margin: 0; text-align: right; } .main-nav li .sub-menu { position: relative; margin-bottom: 15px; } .share { width: auto; position: relative; right: 0; bottom: 0; text-align: left; margin: 100px 50px 0; } .share li { display: inline-block; margin-right: 15px; margin-bottom: 0; } .share li a { display: block; width: 40px; height: 40px; border-radius: 50%; text-align: center; line-height: 40px; } .share li a i { vertical-align: middle; margin-top: -5px; } } @media (max-width: 500px) { .container, .elementor-section.elementor-section-boxed>.elementor-container { padding: 0 25px; } .share { margin: 70px 25px 0; } } .elementor-widget-container .container { padding: 0; } aside.column { float: right; } .comment-form label { margin-bottom: 0; } .widget { margin-bottom: 50px; } .sticky { opacity: 1; } .bypostauthor img.avatar { border-color: #fff; } .screen-reader-text, p:empty { display: none; } select { max-width: 100%; width: 100%; } .alignleft, .aligncenter, .alignright, .alignnone { margin-bottom: 25px; } .alignnone { display: block; } .alignleft { float: left; margin: 0 30px 30px 0 !important; } .alignright { float: right; margin: 0 0 30px 30px !important; } .aligncenter { display: block; margin-right: auto; margin-left: auto; text-align: center; } figure.aligncenter a { display: inline-block; overflow: hidden; position: relative; } .wp-caption { max-width: 100%; text-align: center; } .wp-caption img { margin-bottom: 10px; } .gallery-caption { margin: 20px 0; max-width: 100%; text-align: center; z-index: 999; } .wp-caption-text, .gallery-caption-text { margin: 6px 0; font-style: italic; font-size: 95%; line-height: 120%; } .aligncenter { text-align: center; } table#wp-calendar { border: 1px solid #cccccc } table#wp-calendar>tbody>tr>td>a { text-decoration: underline } table#wp-calendar thead>tr>th { width: 35px; height: 20px; text-align: center; border: 1px solid #cccccc; } table#wp-calendar tbody>tr>td { width: 35px; height: 20px; text-align: center; border: 1px solid #cccccc; } table#wp-calendar tfoot>tr>td>a, tfoot>tr>td>a:link, tfoot>tr>td>a:visited, tfoot>tr>td>a:hover, tfoot>tr>td>a:active { text-decoration: underline; height: 23px; margin-left: 10px; padding-bottom: 3px; } table#wp-calendar tfoot>tr>td#prev { width: 58px; height: 20px; text-align: left; } table#wp-calendar tfoot>tr>td#next { width: 58px; height: 20px; text-align: right; } .single-post-content table, .wpb_text_column table { margin-bottom: 25px; border-collapse: collapse; } .single-post-content table th, .single-post-content table tr, .single-post-content table td, #wp-calendar table tr, #wp-calendar table td, .wpb_text_column tr, .wpb_text_column td, .commentlist table tr, .commentlist table td { padding: 10px 15px; border: 1px solid #cccccc; } dd { margin-bottom: 25px; } dt { margin-bottom: 10px; font-size: 20px; font-weight: bold; } .widget_rss li { margin-bottom: 20px; padding-bottom: 20px; } .widget_rss li .rsswidget, .widget_rss li cite { font-weight: bold; display: block; } .widget_rss li .rss-date { display: block; margin-bottom: 10px; } .widget_rss li cite { margin-top: 10px; } .single-post-content hr, .wpb_text_column hr { clear: both; } .single-post-content span.pull-right, .single-post-content span.pull-left, .wpb_text_column span.pull-right, .wpb_text_column span.pull-left { float: right; display: inline-block; width: 300px; margin: 0 0 20px 20px; font-size: 22px; line-height: 30px; } .single-post-content span.pull-right, .wpb_text_column span.pull-right { float: right; margin: 0 0 20px 20px; text-align: right; } .single-post-content span.pull-left, .wpb_text_column span.pull-left { float: left; margin: 0 20px 20px 0; } .single-post-content table, .wpb_text_column table { text-align: left; width: 100%; } .single-post-content table td, .single-post-content table th, .wpb_text_column table td, .wpb_text_column table th, .commentlist table td, .commentlist table th { padding: 15px; } .single-post-content table tr:nth-child(even), .single-post-content table thead tr, .wpb_text_column table thead tr, .wpb_text_column table tr:nth-child(even), .commentlist table thead tr, .commentlist table tr:nth-child(even) { background: rgba( 255, 255, 255, 0.1 ); } .widget .children:before, .widget .children:after { display: none; } .widget .children { padding-top: 0; list-style: square; padding-left: 0; margin-left: 0; list-style-position: inside; } .widget ul, .single-post-content ul, .single-post-content ol { padding-left: 25px; } .single-post-content ul li, .single-post-content ol li { margin-bottom: 5px; } dt + dd { margin-top: -20px; } .widget ul.social { padding-left: 0; } .commentlist ul.children { list-style: none; } pre { word-wrap: break-word; } sub { position: relative; top: 5px; } sup { position: relative; bottom: 5px; } .widget ul ul ul ul ul ul ul ul { padding-left: 0; } .widget img { margin: 10px 0 25px; } code { padding: 3px; } .clearfix { clear: both; } div.wpcf7 .wpcf7-not-valid { border-color: #b54d4d } span.wpcf7-not-valid-tip { display: none !important } div.wpcf7-validation-errors, .highlight { margin: 0; padding: 10px; background-color: #fcf8e3; color: #c09853; border-bottom: 2px solid #faebcc; } div.wpcf7-mail-sent-ok { margin: 0; padding: 10px; border: 2px solid #d6e9c6; background-color: #dff0d8; color: #468847; } div.wpcf7 input[type="submit"], div.wpcf7 p { margin-bottom: 0; } div.wpcf7-response-output { clear: both; margin-top: 20px; }