/*========================================================================= 1. Reset CSS 2. Typography 3. General 4. Header 5. Posts 6. Footer 7. Responsive =========================================================================*/ /* =========== 1. Reset CSS =========== */ img, legend { border: 0; } legend, td, th { padding: 0; } html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { color: #ababab; background-color: transparent; } a:hover, a:active { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, optgroup, strong { font-weight: 700; } dfn { font-style: italic; } h1 { font-size: 2em; margin: .67em 0; } mark { background: #ffffff; color: #333333; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } svg:not(:root) { overflow: hidden; } figure { margin: 1em 40px; } hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } pre, textarea { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type=button], input[type=reset], input[type=submit] { -webkit-appearance: button; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { border-radius: 0; line-height: normal; } input[type=checkbox], input[type=radio] { box-sizing: border-box; padding: 0; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { height: auto; } input[type=search] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; } input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { border: 1px solid #333333; margin: 0 2px; padding: .35em .625em .75em; } table { border-collapse: collapse; border-spacing: 0; } a, input, textarea, button, select { outline: none; } a:hover, a:focus, input:focus, textarea:focus, button:focus, select:focus { text-decoration: none; color: rgba(0,0,0,0.5); } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } :after, :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #ababab; } input:-moz-placeholder, textarea:-moz-placeholder { color: #ababab; } /* =========== 2. Typography =========== */ h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { font-weight: 400; line-height: 1.2em; margin-bottom: 20px; margin-top: 0; } h1 > a, .h1 > a, h2 > a, .h2 > a, h3 > a, .h3 > a, h4 > a, .h4 > a, h5 > a, .h5 > a, h6 > a, .h6 > a { color: inherit; } h1, .h1 { font-size: 36px; } h2, .h2 { font-size: 30px; } h3, .h3 { font-size: 26px; } h4, .h4 { font-size: 22px; } h5, .h5 { font-size: 18px; } h6, .h6 { font-size: 14px; } a { color: #ababab; text-decoration: none; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } a:hover { color: #000000; } .taxonomy-description a, .page-content a, .entry-meta a, .post-content a:not(.wp-block-button__link):not(.wbb-share-button), .author-info a, .comment-content a, .textwidget a, .comment-navigation a, .image-navigation a, .pingback .comment-body > a, .comments-link a, .logged-in-as a, .widget_calendar a, .author.vcard a, .post-content .wp-block-calendar tfoot a { color: #bfa370; } .taxonomy-description a:hover, .page-content a:hover, .post-content a:not(.wp-block-button__link):not(.wbb-share-button):hover, .comment-content a:hover, .author-info a:hover, .textwidget a:hover, .cat-links a:hover, .entry-meta a:hover, .comment-navigation a:hover, .image-navigation a:hover, .pingback .comment-body > a:hover, .comments-link a:hover, .logged-in-as a:hover, .widget_calendar a:hover, .author.vcard a:hover, .copyright a:hover, .nav-previous a:hover, .nav-next a:hover, .portfolio-grid .portfolio-cats a:hover, .post-content .wp-block-calendar tfoot a { color: #a9874a; } .quicklinks a:hover, .quicklinks a:active, .quicklinks a:focus { color: #00b9eb !important; } p { margin-top: 0; margin-bottom: 10px; } code, kbd, pre, samp { font-family: 'Lato', serif; -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; } code { background-color: #eee; letter-spacing: 0.015em; } abbr { background-color: #A1D71A; color: #111; border-width: 2px; } mark, .mark { color: #ffffff; background-color: #a4b4c4; } dfn { border-bottom: 1px dashed; } cite { font-style: normal; } blockquote { font-size: 1.25em; line-height: 1.6; text-align: center; margin: 2em 3em; } blockquote:not(.wp-block-quote):before { content: '\201C'; margin-bottom: .2em; } blockquote:not(.wp-block-quote):after { content: '\201D'; margin-top: .2em; } blockquote:not(.wp-block-quote):before, blockquote:not(.wp-block-quote):after { display: block; font-family: Georgia,serif; font-size: 6rem; color: inherit; opacity: .15; line-height: 1; height: .45em; } blockquote p:last-child { margin-bottom: 0; } blockquote footer, blockquote cite { font-size: 12px; color: #333333; font-weight: 700; } blockquote footer:before, blockquote cite:before { content: '- '; color: #333333; } blockquote footer:after, blockquote cite:after { content: ' '; color: #333333; } pre { line-height: 1.8em; padding: 15px; border: 1px solid #E4E4E4; font-style: italic; overflow: auto; white-space: pre-wrap; background-color: #f7f7f7; word-wrap: break-word; max-width: 100%; } img { max-width: 100%; height: auto; vertical-align: middle; border: 0; } input[type="search"], input[type="text"], input[type="url"], input[type="number"], input[type="password"], input[type="email"], input[type="file"], select, textarea { height: 36px; width: 100%; border: 1px solid #ababab; padding: 0 10px; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -webkit-appearance: none; } ::-moz-selection { color: #f7f7f7; background-color: #222222; } ::selection { color: #f7f7f7; background-color: #222222; } iframe { border: 0; max-width: 100%; } /* =========== 3. General =========== */ body { margin: 0; padding: 50px 0 0; font-family: 'Lora','Georgia',serif; background: #ffffff; color: #333333; overflow-x: hidden; word-spacing: 1px; line-height: 1.8; font-size: 1rem; height: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .container { max-width: 100%; } .block-mobile { display: none; margin-bottom: 60px; } .block-mobile .menu-mobile { width: 35px; height: 35px; display: inline-block; } .block-mobile .menu-mobile button{ padding: 0; border: 0; background: transparent; height: 20px; width: 20px; position: relative; } .block-mobile .menu-mobile .item { display: block; width: 22px; height: 2px; background-color: #000000; position: absolute; } .block-mobile .menu-mobile .item-1 { top: 0; } .block-mobile .menu-mobile .item-2 { top: calc(50% - 1px); } .block-mobile .menu-mobile .item-3 { bottom: 0; } .block-mobile .logo { padding-bottom: 0; padding-top: 10px; text-align: left; display: inline-block; } .hide-menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 998; background-color: rgba(0, 0, 0, 0.7); visibility: hidden; opacity: 0; -webkit-transition: visibility 0.3s ease, opacity 0.3s ease; -moz-transition: visibility 0.3s ease, opacity 0.3s ease; -ms-transition: visibility 0.3s ease, opacity 0.3s ease; -o-transition: visibility 0.3s ease, opacity 0.3s ease; transition: visibility 0.3s ease, opacity 0.3s ease; } main#primary { padding: 0px; } .block-wrapper { max-width: 800px; margin: 0 auto; padding-top: 45px; } /* =========== 4. Header =========== */ .header { width: 33.333333%; bottom: 0; top: 0; text-align: center; z-index: 9; } .affix{ position: fixed; } .header-text { margin-bottom: 50px; } .header-text blockquote { font-size: 16px; padding-left: 50px; } .header-text blockquote:before { font-size: 30px; } .menu-left .header { text-align: left; } .menu-left .main-menu .sub-menu { padding-left: 0; padding-right: 20px; right: 100%; left: auto; text-align: right; } .table { display: table; width: 100%; height: 100%; } .table-cell { display: table-cell; vertical-align: middle; } .main-menu { font-size: 1.8571428em; margin: 0 0 0.461538em; padding-top: 15px; padding-bottom: 15px; } .main-menu ul, .main-menu li { list-style: none; padding: 0; margin: 0; } .main-menu .menu-list > li > a { padding-top: 3px; padding-bottom: 3px; display: block; color: #444; } .main-menu .menu-list > li > a:hover{ color: #dbca9e; } .main-menu .active a { color: #000000; } .main-menu li { position: relative; line-height: 1.4; } .main-menu .sub-menu li { padding-left: 20px; padding-right: 20px; } .main-menu .sub-menu li:first-child { padding-top: 10px; } .main-menu .sub-menu li:last-child { padding-bottom: 10px; } .main-menu .sub-menu a { font-size: 14px; } .dropdown-plus { background: transparent; border: 0; padding: 0; position: absolute; width: 15px; height: 15px; top: 9px; } .main-menu .sub-menu .dropdown-plus{ top: 7px; } .dropdown-plus:before, .dropdown-plus:after { position: absolute; content: ''; width: 11px; height: 1px; background-color: #8a8a8a; left: 2px; top: 7px; } .dropdown-plus:after { -webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); -o-transform: rotate(90deg); transform: rotate(90deg); } .main-menu li>ul{ display: none; } .main-menu li:focus-within > ul, .main-menu li:focus > ul, .main-menu li:hover > ul { visibility: visible; opacity: 1; } .main-menu li:focus-within > ul{ display: block; } .dropdown-plus.dropdown-open:after{ opacity: 0; } .logo{ padding-bottom: 30px; padding-top: 10px; } .logo img{ max-width: 240px; padding-bottom: 15px; } .logo .site-description{ color: #626262; } .site-title { font-size: 2rem; line-height: 1.35; font-weight: 700; letter-spacing: 0; margin: 0 0 0.357142em; } .site-title a{ color: #000; } .social-links li:last-child { margin-right: 0; } .socials .fa-search { color: #000000; } .search-box { position: relative; padding: 12px 0 15px 15px; } .search-form{ position: absolute; right: 0; top: 0; } .search-form label{ position: relative; height: 32px; padding: 0 2px; z-index: 1; margin: 0; } .search-form label:before { position: absolute; top: 6px; right: 0; z-index: 20; font: normal normal normal 14px/1 FontAwesome; content: "\f002"; speak: never; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .search-field{ display: inline-block; float: none; position: relative; z-index: 30; height: 24px !important; width: 0 !important; max-width: none; padding: 3px!important; margin: 0; color: #c3c4c7; background-color: rgba(255,255,255,0); border: none !important; outline: 0; cursor: pointer; box-shadow: none; box-sizing: border-box; transition-duration: .4s; transition-property: width,background; transition-timing-function: ease; } .search-field:focus { z-index: 10; color: #000; width: 200px!important; background-color: rgba(255,255,255,.9); cursor: text; border: 0; } .search-submit{ display: none; } .box-search { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 999; background-color: #ffffff; opacity: 0; visibility: hidden; -webkit-transition: opacity 0.3s ease, visibility 0.3s ease; -moz-transition: opacity 0.3s ease, visibility 0.3s ease; -ms-transition: opacity 0.3s ease, visibility 0.3s ease; -o-transition: opacity 0.3s ease, visibility 0.3s ease; transition: opacity 0.3s ease, visibility 0.3s ease; } .box-search input[type="search"] { height: 50px; font-size: 24px; padding-top: 0; border: none; border-bottom: 1px solid #000000; } .box-search.active { opacity: 1; visibility: visible; } .btn-close { width: 50px; height: 50px; display: inline-block; cursor: pointer; font-size: 24px; color: #ffffff; line-height: 48px; text-align: center; display: none; } .btn-close:before { content: ''; width: 30px; height: 2px; background-color: #ffffff; display: block; -webkit-transform: rotate(44deg) translate(26px, 10px); -moz-transform: rotate(44deg) translate(26px, 10px); transform: rotate(44deg) translate(26px, 10px); } .btn-close:after { content: ''; width: 30px; height: 2px; background-color: #ffffff; display: block; -webkit-transform: rotate(-46deg) translate(-10px, 24px); -moz-transform: rotate(-46deg) translate(-10px, 24px); transform: rotate(-46deg) translate(-10px, 24px); } .active .btn-close{ display: inline-block; } .copyright { color: #ababab; } #top-social{ display: block; margin: 0 auto; padding-bottom: 1.2em; } #top-social a{ display: inline-block; justify-content: center; align-items: center; border: 1px solid #ababab; margin: 5px 0 0 5px; border-radius: 100%; height: 42px; width: 42px; line-height: 42px; } /* =========== 6. Posts =========== */ .entry-header{ text-align: center; margin-bottom: 2.142857em; } .cat-links { position: relative; display: block; font-family: 'Raleway', 'Open Sans', sans-serif; text-transform: uppercase; letter-spacing: 0.227272em; font-size: 0.785714em; padding-bottom: 1.2rem; margin-bottom: 1.2rem; } .cat-links a{ color: #333; } .cat-links:after { content: ''; position: absolute; bottom: 0; left: 50%; width: 2em; margin-left: -1.090909em; height: 2px; background: #eee; } .post { max-width: 800px; margin: 0 auto; margin-bottom: 40px; padding-top: 2.5rem; padding-bottom: 2.5rem; } .post:last-child { margin-bottom: 0; } .post .post-content { padding: 30px 0px; } .single .post .post-content p a, .single .post .post-content h1 a, .single .post .post-content h2 a, .single .post .post-content h3 a, .single .post .post-content h4 a, .single .post .post-content h5 a, .single .post .post-content h6 a, .single .post .post-content .the-content ul li a, .single .post .post-content .the-content ol li a{ text-decoration: underline; } .search-empty { margin-top: 30px; } .title { font-size: 2.875em; line-height: 1.2; font-weight: 400; margin: 0 0 .35em; letter-spacing: -.0263157em; } .post-details { font-size: 1em; line-height: 1.6; } .post-meta, .post-date, .comment-meta, .portfolio-grid .portfolio-cats a { font-style: italic; color: #aaa; } .post-details span { display: inline-block; } .post-details span:after { content: '\2022'; margin: 0 0.8em; font-size: 0.571428em; vertical-align: middle; color: #d5d5d5; } .post-details span:last-child:after { content: normal; } .the-content { margin-top: 20px; } .the-content p:last-child { margin-bottom: 0; } .the-content ul, .the-content ol { font-size: 13px; font-style: italic; padding-left: 20px; } .the-content ul li, .the-content ol li { margin-bottom: 5px; } .the-content ul > li:last-child, .the-content ol > li:last-child { margin-bottom: 0; } .post-footer { margin-top: 30px; } .cat strong { margin-right: 5px; } .cat a { color: #000000; } .cat a:after { content: ','; margin-right: 5px; } .cat a:last-child:after { content: normal; } .post-tags a { opacity: 1; display: inline-block; color: #000000; } .post-tags a:before { margin-left: 5px; content: '#'; } .post-tags a:first-child:before { margin-left: 0; } .post-tags a:hover { opacity: 0.8; } .post-share { text-align: center; padding-top: 10px; margin-bottom: 30px; } .post-share a { color: #000000; margin-left: 5px; margin-right: 5px; } .the-excerpt { margin: 20px 0; } .post-navigation { margin-top: 40px; padding-top: 10px; border-top: 1px solid #ababab; } .post-navigation a{ color: #333; font-size: 16px; font-weight: 500; } .post-navigation span.nav-subtitle{ display: block; } #comments { margin-top: 40px; padding-top: 30px; border-top: 1px solid #ababab; } .comment-reply-title{ margin-top: 0; margin-bottom: 5px; line-height: 24px; color: #000000; font-size: 24px; letter-spacing: 1px; } #comments .comment-list, #comments .children { list-style: none; } #comments .comments-inner { margin-top: 30px; } #comments .comments-inner + #respond { margin-top: 50px; } #comments .comment-list { padding-left: 0; margin: 0; } #comments .children { padding-left: 30px; } #comments .comment-avatar { width: 60px; height: 60px; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; overflow: hidden; float: left; } #comments .comment-context { margin-left: 60px; padding-left: 20px; } #comments .comment-context .title { font-size: 16px; display: inline-block; } #comments .comment-content p:last-child { margin-bottom: 0; } #comments .comment-date { color: #ababab; font-size: 14px; font-style: italic; } #comments .comment-date:before { content: '-'; margin-left: 5px; margin-right: 5px; } #comments .comment-body { margin-top: 30px; } #comments .reply { display: inline-block; font-family: 'Raleway','Open Sans',sans-serif; font-size: .642857rem; text-transform: uppercase; letter-spacing: .111111em; padding: .555555em 1.222222em .555555em 1.333333em; border-radius: 3px; border: 1px solid #e7e7e7; } #comments .reply a{ color: #333; } .comment-form { margin-top: 20px; } .contact-item { margin-bottom: 20px; } .contact-item textarea { padding-top: 5px; height: 100px; resize: vertical; } .comment-form-cookies-consent label { margin-left: 5px; display: inline; } .comment-form .submit:hover { opacity: 0.5; } button, input[type=button], input[type=reset], input[type=submit] { background-color: #cbb78f; border: none; color: #fff; cursor: pointer; font-family: 'Raleway','Open Sans',sans-serif; text-transform: uppercase; letter-spacing: .178571em; font-size: .78571428rem; line-height: 1.45454545; padding: 1.36363636em 1.636363em 1.36363636em 1.772727em; vertical-align: top; } .post_404_not_found { margin-top: 20px; } .go-to-home { min-width: 100px; padding: 5px 15px; display: inline-block; background-color: #000000; color: #ffffff; margin-top: 10px; } .go-to-home a { color: inherit; opacity: 1; } .go-to-home a:hover { color: inherit !important; opacity: 0.8; } .nav-links { max-width: 800px; margin: 0 auto; } /* =========== 7. Footer =========== */ .footer-inner { margin-top: 80px; border-top: 1px solid #ababab; padding-top: 40px; padding-bottom: 40px; margin-left: 80px; margin-right: 50px; font-size: 12px; } .footer-inner .title { font-size: 14px; font-weight: 700; } .footer-inner ul { list-style: none; font-size: 12px; margin: 0; padding: 0; } /* =========== 8. Responsive =========== */ @media screen and (max-width: 991px) { .block-mobile { display: flex; align-items: center; justify-content: space-between; } .header, .menu-left .header { left: 0; width: 250px; z-index: 9999; background-color: #000000; text-align: center; -webkit-transform: translateX(-101%); -moz-transform: translateX(-101%); transform: translateX(-101%); -webkit-transition: transform 0.3s ease; -moz-transition: transform 0.3s ease; -ms-transition: transform 0.3s ease; -o-transition: transform 0.3s ease; transition: transform 0.3s ease; } .header .logo a, .menu-left .header .logo a { color: #ffffff; } .header.active, .menu-left .header.active { -webkit-transform: translateX(0); -moz-transform: translateX(0); transform: translateX(0); } .main-menu, .menu-left .main-menu { max-height: 45%; overflow-y: auto; overflow-x: hidden; } .main-menu a:hover, .menu-left .main-menu a:hover { color: #ffffff !important; } .main-menu .active a, .menu-left .main-menu .active a { color: #ffffff; } .main-menu .sub-menu, .menu-left .main-menu .sub-menu { display: none; position: relative; width: 100%; left: 0; visibility: visible; opacity: 1; padding-left: 0; text-align: center; } .main-menu .sub-menu li, .menu-left .main-menu .sub-menu li, .main-menu .sub-menu li:first-child, .menu-left .main-menu .sub-menu li:first-child, .main-menu .sub-menu li:last-child, .menu-left .main-menu .sub-menu li:last-child { padding-top: 5px; padding-bottom: 5px; } .main-menu .sub-menu li{ background: transparent; } .block-wrapper { padding-left: 0; padding-right: 0; } .footer-inner { margin-left: 50px; margin-right: 50px; } .socials a { margin-right: 10px; } .copyright, .main-menu .menu-list > li > a, .logo .site-description, .search-form label:before { color: #ffffff; } .hide-menu.active { visibility: visible; opacity: 1; } .dropdown-plus{ right: 40px; } .header .center{ justify-content: center!important; } } @media screen and (max-width: 768px) { body { padding-top: 30px; } .project-item { margin-bottom: 30px; } .block-wrapper{ width: 95%; padding-top: 15px; } .title { font-size: 2.075em; } .site-title{ text-align: center; } .block-mobile .site-description{ display: none; } .post { padding-top: 1.5rem; padding-bottom: 1.5rem; } .main-menu { font-size: 1.4571428em; } .copyright{ width: 95%; margin: 0 auto; } } @media screen and (max-width: 600px) { .post .post-content { padding: 20px; } #comments .children { padding-left: 0; } } @media screen and (max-width: 480px) { .footer-inner { margin-left: 0; margin-right: 0; } .block-mobile { margin-bottom: 50px; } .block-mobile .logo { font-size: 30px; padding-left: 20px; } .project-item { margin-bottom: 20px; } #comments .comment-avatar { float: none; } #comments .comment-context { margin-top: 20px; margin-left: 0; padding-left: 0; } #comments .reply { text-align: right; } .navigation-wrap { margin-top: 30px; } .footer-inner { margin-top: 50px; } }