/* Settings panel: theme (light/dark) and language. */
.settings_panel{
	position: fixed;
    right: -166px;
    top: 24%;
    width: 166px;
    background: #fff;
    text-align: center;
    z-index: 999;
    opacity: 1;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.settings_panel.active{
	right: 0px;
}
.toggle_bts {
    padding: 0;
    position: absolute;
    top: 0;
    right: 166px;
    height: 40px;
    line-height: 40px;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.toggle_bts a {
    float: left;
    display: block;
    width: 40px;
    height: 40px;
    color: #000;
    background: #fff;
    text-align: center;
}
.toggle_bts a i {
    font-size: 20px;
    line-height: 40px;
    color: #222;
    animation-name: settings;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-webkit-keyframes settings {
	0% {
		-webkit-transform: rotate(0deg);
	}
    100% {
		-webkit-transform: rotate(360deg);
	}
}
@keyframes settings {
	0% {
		transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
		-webkit-transform: rotate(360deg);
	}
}

.settings-content h5 {
    margin: 25px 0 15px 0;
    padding: 0 15px;
    display: block;
    font-size: 13px;
    line-height: 16px;
    color: #222;
    background: #fff;
    text-transform: uppercase;
    font-weight: 500;
}

.theme-switch,
.lang-switch {
	text-align: center;
	margin: 0;
	padding: 0 0 20px 0;
}
.theme-switch li,
.lang-switch li {
	margin: 0 4px 5px 4px;
	display: inline-block;
}
.theme-switch a,
.lang-switch a {
	display: block;
	min-width: 40px;
	padding: 4px 0;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	border: 1px solid #ddd;
	text-decoration: none;
}
.theme-switch a:hover,
.theme-switch a.active,
.lang-switch a:hover,
.lang-switch a.active {
	background: #222;
	color: #fff;
	border-color: #222;
}
