/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/
/* Color #2ab391 - green #ed6d08 - orange */

/*Header*/
/*#wp-admin-bar-wp-logo {display:none;}*/
#wp-admin-bar-elementor_edit_page {display:none;}
#wp-admin-bar-cs-explain {display:none;}
.items.items-left {width:auto;}
.items.items-left img {width:auto;height:auto;}
.smart-head .logo-image {padding:2px 0;}
.search-icon.has-icon-only.is-icon {margin-right:15px;}
.navigation ul li .sub-menu li {min-width:150px;}
.navigation ul li .sub-menu li a {padding:7px 14px;}
.items.items-right a.search-icon, .items.items-right a.toggle {margin-bottom:4px;}

/*Sidebar*/
.button_all {background:linear-gradient(90deg,#222 30%,#2ab391 100%);max-width:350px;margin:0 auto;}
.button_all a {color:#f0f0f0;font-family:"Roboto Condensed",Arial,sans-serif;font-size:15px;font-weight:600;display:flex;padding:10px;align-items:center;justify-content:center;text-transform:uppercase;}
.button_all a:hover {color:#2ab391;}

/*Entry*/
.main-content {max-width:740px;}
.post-content.entry-content a, .post-content.entry-content a:hover {text-decoration:none;}
.off-canvas {width:75vw;min-width:250px;}
.comment-form-use-gravatar {display:none;}
.has-next-icon.meta-item.post-views.has-icon span {display:none;}
.pseudo-clearfy-link {color:#2ab391 !important;}
.post-share-bot span:after {}
.post-meta .post-author img {width:40px;height:40px;}
@media only screen and (min-width:768px){.single-featured img {max-width:700px;max-height:393px;}}
.wp-post-image:hover {opacity:.95;}
/*.wp-post-image img {object-fit: contain;} object-fit:cover*/
/*.wp-post-image {box-shadow:0 2px 6px -1px rgba(7, 10, 25, 0.2), 0 6px 12px -6px rgba(7, 10, 25, 0.2);}*/
.wp-caption-text {margin:15px auto;}
h1.is-title.post-title {font-size:28px;}
.post-content.entry-content a:not([class]):not([data-rel*=lightbox]) {text-decoration:none;border-bottom:2px solid rgba(237,109,8,.4);color:#ed6d08;}
.post-content.entry-content a:not([class]):not([data-rel*=lightbox]):hover{border-bottom-color:#ed6d08;}
.post-content.entry-content ul, .post-content ol {margin:30px 0 30px 30px;}
.post-content.entry-content ul li::marker {color:#ed6d08;}
.post-content.entry-content ol li::marker {font-weight:600;}
.post-content.entry-content strong {font-weight:600!important;}
.post-content.entry-content h2, .post-content h3, .post-content h4 {font-weight:600;}
.post-content.entry-content>blockquote:not([class]) {border-left:3px solid #ed6d08;font-style:italic;}
.post-content.entry-content div[style^="clear:both"] {box-shadow:0 20px 10px -15px rgba(0,0,0,.1);background: #f9f9f9;}
.post-content.entry-content div[style^="clear:both"] a {border-left:3px solid #ed6d08 !important;}
.post-content.entry-content div[style^="clear:both"] .postTitle {text-decoration:none !important;font-weight:600;color:#ed6d08;}
.post-content p iframe, .post-content p div iframe, .post-content iframe {max-width:100%;margin:0 auto !important;display:block;}

/*.post-content.entry-content table {width:100%;max-width:100%;border-collapse:collapse;margin:30px auto;}
.post-content.entry-content table p {margin:0;padding:0;}
.post-content.entry-content table thead tr th, .post-content.entry-content table thead tr td {
text-align:center;color:#fff;background:#2ab391;font-weight:600;}
.post-content.entry-content table th, .post-content.entry-content table td {padding:10px 8px;}
@media only screen and (max-width:480px) {
.post-content.entry-content table {word-break:break-word;font-size:14px;}
.post-content.entry-content table th, .post-content.entry-content table td {padding:5px 2px;}}*/

.post-content.entry-content table {width:100%;max-width:100%;border-collapse:collapse;margin:30px auto;}
.post-content.entry-content thead {background:rgba(42,179,145,.5);}
.post-content.entry-content table thead tr th, .post-content.entry-content table thead tr td {font-weight:600;text-align:center;color:#222;line-height:1.4;height:50px;vertical-align: middle;}
.post-content.entry-content table th {border:1px solid #ccc;border-collapse:collapse;margin:0;padding:15px 5px;}
.post-content.entry-content table td {border:1px solid #ccc;border-collapse:collapse;margin:0;padding:6px;line-height:1.4;}
.post-content.entry-content table p {margin:0;padding:0;line-height:1.4;}
.post-content.entry-content table tr:nth-child(even) {background:rgba(198,198,198,.1);}
@media only screen and (max-width: 640px) {.post-content.entry-content table td, .post-content.entry-content table th {padding:6px 3px;}
.post-content.entry-content table {font-size:14px;display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; width:100%; max-width:calc(100vw - 40px);word-break:normal; 
background:linear-gradient(to right,#fff 30%,rgba(255,255,255,0)),linear-gradient(to left,#fff 30%,rgba(255,255,255,0)) 100% 0,linear-gradient(to right,rgba(0,0,0,.3),rgba(0,0,0,0)),linear-gradient(to left,rgba(0,0,0,.3),rgba(0,0,0,0)) 100% 0;
background-repeat:no-repeat; background-size:40px 100%, 40px 100%, 15px 100%, 15px 100%; background-attachment:local, local, scroll, scroll;}
}


img.alignright, img.alignleft {max-width:350px;}
.wp-caption a, .wp-caption a:hover {border:none !important;}
.wp-block-pullquote.is-style-modern blockquote, .modern-quote {text-align:left;}

#ez-toc-container {border-radius:0 !important;padding:10px 20px !important;margin-bottom:1.5em !important;}
#ez-toc-container nav {margin:20px 0 0 0 !important;position:relative;}
#ez-toc-container nav::after {content:url('/img/book.png');width:auto;height:auto;position:absolute;bottom:0;right:0;opacity:.4;}
.ez-toc-title {position:relative;top:-2px;}
.ez-toc-cssicon {border:0 !important;margin: 5px 0 0 0;}
.ez-toc-link {margin:0 0 5px 0 !important;}
.ez-toc-link:hover {text-decoration:none !important;}

/*Sidebar*/
#wp-calendar #today {background:#eee;}
#wp-calendar td a {font-weight:bold;}

/*Footer*/
ul#menu-menyu-rubrik-1 {columns:2;}
ul#menu-menyu-rubrik-1 li.menu-item {padding:5px 0;}
ul#menu-menyu-rubrik-1 ul.sub-menu li {list-style:square;margin:0 0 0 18px;}
ul#menu-menyu-rubrik-1 ul.sub-menu li::marker{color:#4b4b4b;}
.foot_items {display:flex;align-items:center;flex-wrap:wrap;}
.stat_ga {margin:0 30px 0 0;}
.stat_ga a {display:block;}
.stat_ga img {display:block;opacity:.5;width:88px;height:30px;}
.stat_ga:hover img {opacity:.8;}
.inf18 {color:#2ab391;width:31px;height:31px;display:flex;border:1px solid #4b4b4b;align-items:center;justify-content:center;}
@media only screen and (max-width:1024px){.counter, .foot_items {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;}}
@media only screen and (max-width:475px){ul#menu-menyu-rubrik-1 {columns:1;}}

#totop {cursor:pointer;position:fixed;right:2%;bottom:3%;display:none;outline:none;opacity:.5;transition:all .2s ease;}
#totop:hover {opacity:1;}

/*Page*/
.author-info {position:relative;}
.uCount {position:absolute;left:50px;top:0;background:#ed6d08ba;border-radius:50%;min-width:30px;min-height:30px;color:#fff;display:flex;justify-content:center;align-items:center;font-size:.75em;}
.author-info .avatar {max-width:80px;margin-right:40px;}
.wpcf7-form-control.wpcf7-select{width:290px;height:38px;}
.wpcf7-list-item {margin:1em 0 !important;}
.wpcf7-list-item-label {margin:0 0 0 1em;}

.clearfy-cookie-accept {padding:0 .8em !important;}