/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** LIGHT  ***************/
/*:root{    
    --body-bg : #F5F5F5;
    --body-color: #000;
    --link : #289dcc;
    --content-bg:#fff;

    --header-bg : #1a5684;
    --nav-bg:#289dcc;
    --nav-color:#fff;
    --nav-active:#cc001b;

    --header-btn:#fff;
    --header-btn-1:#2a8fbd;
    --header-btn-2:#cc001b;

    --footer-bg:#1a5684;
    --footer-color:#fff;
    --footer-link:#fff;
    --footer-copyright:#1CAFFF;

    --heading1:#ACBEE1;
    --heading2:#fff;
    --heading3:#fff;
    --heading4:#fff;

    --widget-bg:#fff;
    --widget-title:#fff;
    --widget-link-color: #289dcc;
    --widget-divider-bg : #FF6533;
}*/
/*************** DARK  ***************/
:root{    
    --body-bg : #141414;
    --body-color: #fff;
    --link : #289dcc;
    --content-bg:#222222;

    --header-bg : #141414;
    --nav-bg:#222222;
    --nav-color:#fff;
    --nav-active:#FBCD12;

    --header-btn:#fff;
    --header-btn-1:#2a8fbd;
    --header-btn-2:#FBCD12;

    --footer-bg:#222222;
    --footer-color:#fff;
    --footer-link:#fff;
    --footer-copyright-bg:#141414;

    --heading1:#FBCD12;
    --heading2:#fff;
    --heading3:#fff;
    --heading4:#fff;

    --widget-bg:#222222;
    --widget-title:#fff;
    --widget-link-color: #289dcc;
    --widget-divider-bg : #FF6533;
    --widget-title-bg:#FBCD12;
}

/*************************** END  ***********************/
#main, #wrapper{
	background-color: var(--body-bg) !important;
}
body{
	color: var(--body-color) !important;
}
a{
	color: var(--link);
}
h1{
    color: var(--heading1) !important;
}
h2{
    color: var(--heading2) !important;
}
h3{
    color: var(--heading3) !important;
}
h4{
    color: var(--heading4) !important;
}
.wp-block-button__link{
	margin-bottom: 20px;
}
.wp-block-button__link:hover{
	opacity: .7;
	-webkit-transition: all .3s ease 0s;
	-moz-transition: all .3s ease 0s;
	-ms-transition: all .3s ease 0s;
	-o-transition: all .3s ease 0s;
	transition: all .3s ease 0s;
	color: #fff;
}

ol, ul {
    margin: 0 0 10px 25px;
}
.header-button .button{
	font-weight: 400;
}
b, strong{
	font-weight: 500;
}

#ez-toc-container{
	width: 100%;
}
.post-page{
	text-align: center;
	margin-top: 10px;
}
h1.page-title{
	font-size: 2.25em;
}
.nav-icon a{
	color: #fff !important;
}
.page-wrapper #content,
#post-list article,
#post-list .post-item{
	background: var(--content-bg);
	padding-top: 20px;
	padding-bottom: 20px;
}
#post-list article,
#post-list .post-item{
	padding-left: 15px;
	padding-right: 15px;
}
.taxonomy-description{
	background: var(--content-bg);
	padding: 20px 20px 10px 20px;
	margin-top: 30px;
	margin-left: -15px;
	margin-right: -15px;
}
/*==================================================
>>>       HEADER     
==================================================*/
.header-bg-color{
	background-color: var(--header-bg) !important;
}
.header-bottom{
	background: var(--nav-bg) !important;
}
.top-divider{
	display: none;
}
.header-bottom-nav.header-nav li a{
	color: var(--nav-color) !important;
}
.header-bottom-nav.header-nav li a:hover,
.header-bottom-nav.header-nav li.current-menu-item a{
	color: var(--nav-active) !important;
}
.header-nav .header-button a{
	color: var(--header-btn);
}
.header-button-1 .header-button a{
	background: var(--header-btn-1);
}
.header-button-2 .header-button a{
	background: var(--header-btn-2);
}
/*==================================================
>>>       WIDGET     
==================================================*/

#secondary{
	margin: 0 -15px;
}
#secondary aside.widget{
	background: var(--widget-bg);
	margin-bottom: 20px;
}
#secondary aside.widget .widget-title {
	font-size: 15px;
    background: var(--widget-title-bg);
    color: var(--widget-title);
    text-align: center;
    padding: 5px;
    margin: 0 0 10px;
    display: block;
    font-weight: 400;
    line-height: 25px;
    text-transform: capitalize;
}
#secondary aside.widget .is-divider{
	display: none;
}
.category-posts-internal{
	padding: 0 10px;
}
.category-posts-internal li{
	display: flex;
	margin: 3px 0 0px !important;
}
.category-posts-internal li > div{
	display: flex;
	
}
.category-posts-internal li > div a{
	color: var(--widget-link-color);
	font-size: 12px;
}
.category-posts-internal li .thumb img{
	border: 1px solid #eee ;
	box-shadow: none ;
	margin: 2px 10px 2px 0 ;
	padding: 3px ;
}
.category-posts-internal li .post-date{
	color: #bbb;
	font-size: 11px;
}

/*==================================================
>>>       FOOTER     
==================================================*/
#footer,
.copyright-footer{
	color: var(--footer-color);
}
#footer h3{
	color: var(--footer-color);
	font-size: 22px;
	border-bottom: 1px solid #fff;
}
#footer > .section{
	background: var(--footer-bg);
}
.absolute-footer{
	background-color: var(--footer-copyright-bg) !important;
}
/*-----------------------*\
    RESPONSIVE
\*-----------------------*/

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
	#secondary{
		margin-right: 0;
	}
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	#secondary{
		margin: 0;
	}
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	#secondary{
		margin: 0;
	}

	.header-button .button{
		animation: 1s linear infinite border-rotate;
		transition: all .3s ease 0s;
	}
}

/* Landscape phones and smaller */
@media (max-width: 576px) {

}

/* Landscape phones and smaller */
@media (max-width: 480px) {

}

@keyframes border-rotate {
	0%{
		transform: scale(1.0);
		transition: all .3s ease 0s;
	}
	50%{
		transform: scale(1.2);
		transition: all .3s ease 0s;
	}
  	100% {
	    transform: scale(1.0);
	    transition: all .3s ease 0s;
	}
}