/* Theme "tao": settings from the former GreatMag customizer + child theme, and own additions. */

/* ---- Former customizer output (greatmag-style-inline-css) ---- */
.site-title,.site-title a,.site-title a:hover{color:#000}
.site-description{color:#999}
.site-branding{background-color:#eee}
.navbar.bgf6{background-color:#f6f6f6}
.navbar .navbar-nav>li>a{color:#999}
.comment-form .btn:hover,.comment-form .btn:focus,.list-style1 li:before,.navbar .navbar-nav>li .dropdown-menu>li .absp-cat:hover,.navbar .navbar-nav>li .dropdown-menu>li .absp-cat:focus,.btn-primary:hover,.btn-primary:focus,.button:hover,button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover{background-color:#f8c200}
a:hover,a:focus,.nav>li>a:hover,.nav>li>a:focus,.sidebar-area .widget a:hover,.pbc-carousel .owl-prev:hover,.pbc-carousel .owl-prev:focus,.pbc-carousel .owl-next:hover,.pbc-carousel .owl-next:focus,.post-title-small:hover,.post-title-small:focus,.post-title-standard:hover,.post-title-standard:focus,.go-top:hover,.go-top:focus,.off-close,.section-title .this-title span{color:#f8c200}
.comment-form .btn:hover,.comment-form .btn:focus{border-color:#f8c200}
.footer-widgets{background-color:#222}
.footer-widgets,.footer-widgets a:not(:hover){color:#bbb}
.footer-widgets .widget-title{color:#fff}
.bottom-footer{background-color:#191919}
body,.sidebar-area .widget,.sidebar-area .widget a,.sidebar-area .widget select{color:#666}
body{font-family:"Open Sans",sans-serif;font-size:14px}
h1,h2,h3,h4,h5,h6,.site-title,.post-title-standard,.post-title-small,.post-title-big{font-family:Lato,sans-serif}
.site-title{font-size:30px}
.site-description{font-size:16px}
.navbar .navbar-nav>li>a{font-size:13px}
.post-title-standard{font-size:16px}
.entry-title.post-title-big{font-size:24px}
.widget-area .widget-title,.footer-widgets .widget-title{font-size:12px}

/* ---- Former child theme ---- */
.sticky-post-style2::after{content:'';background-color:rgba(0,0,0,.2);width:100%;height:100%;position:absolute;top:0;left:0;z-index:0}
span.tags-links,nav.navigation.post-navigation{display:none}
.absp-cat:hover,.absp-cat:focus{color:#fff;background-color:#15afaf!important}
.post-cat,.widget-title{display:table;width:100%;text-transform:uppercase;letter-spacing:.25px;font-size:18px;font-weight:800;line-height:1;padding-bottom:14px;border-bottom:5px solid #f6f6f6;position:relative;transition:all 300ms linear 0s;margin-bottom:30px;margin-top:0;color:#000}
.footer-menu li a{padding:0;color:#999;font-size:12px;text-transform:uppercase;font-weight:bold;line-height:1.4;letter-spacing:.25px}
h1{color:#000;font-weight:600}
input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],textarea{border:1px solid #9d9d9d}

/* ---- Category colours (GreatMag default #908e8e, were inline styles) ---- */
.absp-cat{background-color:#908e8e}
.sticky-post .post-cat a,.post-by-cats.multiple-cats .post-cat .ispan,.post-by-cats.multiple-cats .post-cat a{color:#908e8e}
.post-cat .ispan>span:empty{background-color:#908e8e}
.post-by-cats.multiple-cats .post-cat a:hover{color:#f8c200}

/* ---- Post meta: author is plain text (author archives are switched off) ---- */
.post-meta .author{font-weight:bold;color:inherit}

/* ---- Header: language flag in the menu ---- */
.lang-flag{display:inline-block;width:18px;height:12px;margin-right:.3em;vertical-align:-1px;line-height:0}
.lang-flag svg{width:18px;height:12px;display:block}

/* ---- Menu: submenu toggle only in the mobile menu ---- */
.sub-toggle{display:none}
.mob-menu .sub-toggle{display:block;position:absolute;right:0;top:0;width:44px;height:44px;border:0;background:transparent;color:#fff;font-size:18px;padding:0}
.mob-menu .sub-toggle:hover,.mob-menu .sub-toggle:focus{background:transparent;color:#f8c200}
.mob-menu li{position:relative}
.mob-menu li.open>.sub-toggle .fa{transform:rotate(180deg)}

/* ---- Home page rows (replace the SiteOrigin rows) ---- */
.tao-home{display:block}
.tao-row--hero{padding-bottom:30px}
.tao-row--hero .sticky-posts{display:grid;grid-template-columns:1fr;grid-auto-flow:row dense}
.tao-row--hero .featured-item{float:none;width:auto;padding:0}
.tao-row--hero .featured-item img{display:block;width:100%;height:100%;object-fit:cover}
@media (min-width:768px){.tao-row--hero .sticky-posts{grid-template-columns:repeat(2,1fr)}.tao-row--hero .featured-item.col-md-6{grid-column:span 2}}
@media (min-width:992px){.tao-row--hero .sticky-posts{grid-template-columns:repeat(4,1fr)}.tao-row--hero .featured-item.col-md-6{grid-column:span 2;grid-row:span 2}}
.tao-row--intro{padding-top:60px}
.tao-intro{text-align:center}
.tao-intro h1{margin-top:20px}
.tao-row--cats{padding:60px 0}
.tao-row--cats .widget{margin:0 -15px}
@media (min-width:992px){.tao-row--latest>.container>.row{display:grid;grid-template-columns:65.9% 31.6%;column-gap:2.5%}.tao-row--latest>.container>.row::before,.tao-row--latest>.container>.row::after{display:none}.tao-row--latest>.container>.row>[class*=col-]{width:auto;padding:0;float:none}}
.tao-row--latest{padding:30px 0}
.tao-row--carousel{padding:60px 0}
.tao-row--carousel .widget{margin:0 -15px}

/* ---- Carousel (own, Owl markup) ---- */
.tao-carousel{position:relative}
.tao-carousel .owl-stage-outer{overflow:hidden;position:relative}
.tao-carousel .owl-stage{display:flex;transition:transform .35s ease}
.tao-carousel .owl-item{flex:0 0 auto;min-height:1px}
.tao-carousel .owl-nav .disabled{opacity:.4;cursor:default}
.tao-carousel .owl-nav button,.editor-choice-nav button{background:transparent;border:0;padding:0;box-shadow:none}

/* ---- Share buttons ---- */
.tao-share{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 10px}
.tao-share__btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:36px;height:36px;padding:0 10px;background:#fff;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.25);border-bottom:3px solid currentColor;font-size:14px;text-decoration:none}
.tao-share__btn:hover,.tao-share__btn:focus{text-decoration:none;opacity:.85}
.tao-share__label{font-family:Helvetica,Arial,sans-serif;font-size:13px;color:#333}
.tao-share__btn--facebook{color:#1877f2}
.tao-share__btn--x{color:#000}
.tao-share__btn--pinterest{color:#cb2027}
.tao-share__btn--whatsapp{color:#25d366}
.tao-share__btn--email{color:#666}

/* ---- Go to top ---- */
.go-top{position:fixed;right:20px;bottom:20px;width:40px;height:40px;line-height:40px;text-align:center;background:#222;color:#fff;font-size:20px;opacity:0;visibility:hidden;transition:opacity .3s;z-index:98}
.go-top.show{opacity:.8;visibility:visible}
.go-top:hover,.go-top:focus{color:#f8c200}

/* ---- Gravity Forms (no GF CSS) ---- */
.gform_wrapper{margin:20px 0}
.gform_wrapper .gform_fields{list-style:none;margin:0;padding:0;display:grid;gap:15px}
.gform_wrapper .gfield{margin:0;padding:0}
.gform_wrapper .gform_validation_container{display:none!important}
.gform_wrapper .gfield_label,.gform_wrapper .hidden_label .gfield_label,.gform_wrapper .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gform_wrapper input[type="text"],.gform_wrapper input[type="email"],.gform_wrapper input[type="url"],.gform_wrapper textarea{width:100%;max-width:100%;padding:8px 12px;font-size:14px;line-height:1.5;color:#555;background:#fff;border:1px solid #9d9d9d;border-radius:0;box-shadow:none}
.gform_wrapper textarea{min-height:200px}
.gform_wrapper input:focus,.gform_wrapper textarea:focus{outline:2px solid #f8c200;outline-offset:0}
.gform_wrapper .gform_footer{margin-top:15px}
.gform_wrapper .gform_button{background:#222;color:#fff;border:0;padding:10px 25px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.gform_wrapper .gform_button:hover,.gform_wrapper .gform_button:focus{background:#f8c200;color:#fff}
.gform_wrapper .gfield_required{color:#c02b0a}
.gform_wrapper .validation_message,.gform_wrapper .gform_validation_errors{color:#c02b0a;font-size:13px;margin-top:5px}
.gform_wrapper .gform_validation_errors{border:1px solid #c02b0a;padding:10px 15px;margin-bottom:15px}
.gform_wrapper .gfield_error input,.gform_wrapper .gfield_error textarea{border-color:#c02b0a}
.gform_confirmation_message{padding:15px;background:#f6f6f6;border-left:4px solid #15afaf}
.gform_ajax_spinner{margin-left:10px;vertical-align:middle}
