/*---------------------------------------------
#. Widgets - Sidebar and Footer Widgets
-----------------------------------------------*/
.search-form {
	label {
		margin-bottom: 15px;
		display: block;
	}
	input.search-field {
		background-color: #f5f5f5;
		border-color: #e5e5e5;
		border-radius: 0;
		box-shadow: none;
		height: 40px;
		padding: 6px 12px;
		transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
		width: 100%;
		&::placeholder {
			font-style: italic;
		}
	}
	input.search-submit {
		background-color: @primaryColor;
		border: 2px solid @primaryColor;
		color: #ffffff;
		display: inline-block;
		font-size: 14px;
		font-weight: 500;
		padding: 12px 0;
		text-align: center;
		text-transform: uppercase;
		transition: all 0.5s ease-out 0s;
		width: 200px;
		font-weight: 700;
		&:hover {
			background-color: #fff;
			color: @primaryColor;
		}
	}
}
.widget_search {
	.search-form {
		padding-top: 0;
	}
	input.search-submit {
		width: 100%;
	}
}
.widget {
	select {
		padding: 8px 10px;
		width: 100%;
	}
	>form {
		padding-top: 10px;
	}
	>select {
		margin-top: 10px;
	}
	ul {
		margin: 0;
		padding: 0;
		list-style-type: none;
		li a {
			color: #444444;
			display: inline;
			transition: all 0.3s ease 0s;
			&:hover {
				color: @secondaryColor;
			}
		}
	}
}
.widget_recent_entries ul li span {
	display: block;
}
.widget_text option {
	max-width: 240px;
}
.widget_calendar table th,
.widget_calendar table td {
	padding: 7px;
}

.sidebar-widget-area {
	@media all and (max-width: 767px) {
		margin-top: 40px;
	}
	.widget {
		background: #ffffff none repeat scroll 0 0;
		border: 1px solid #e0e0e0;
		margin-bottom: 30px;
		padding: 30px 25px;
		h3 {
			color: @primaryColor;
			font-size: 22px;
			font-weight: 500;
			margin-bottom: 20px;
			padding-bottom: 15px;
			position: relative;
			line-height: 33px;
			&:after {
				background-color: @secondaryColor;
				bottom: -0;
				content: "";
				height: 3px;
				left: 0;
				position: absolute;
				width: 40px;
				z-index: 1;
			}
		}
	}
	ul li {
		border-bottom: 1px solid #e0e0e0;
		margin-bottom: 10px;
		padding-bottom: 10px;
		&:last-child {
			border: none;
			margin-bottom: 0;
			padding-bottom: 0;
		}
		ul.children,
		ul.sub-menu {
			border-top: 1px solid #e0e0e0;
			padding-left: 20px;
			padding-top: 10px;
			margin-top: 10px;
			li :last-child{
				margin-bottom: 0px;
				padding-bottom:0px;
			}
		}
	}
	.widget_tag_cloud {
		.tagcloud {
			padding-top: 10px;
		}
		a {
			color: @primaryColor;
			background-color: #e1e1e1;
			display: inline-block;
			font-size: 14px !important;
			margin: 0 2px 4px 0;
			padding: 6px 19px;
			transition: all 0.3s ease 0s;
			&:hover {
				background-color: @primaryColor;
				color: #ffffff;
			}
		}
	}
	.widget_nav_menu ul li {
		ul.children,
		ul.sub-menu {
			padding-left: 10px;
		}
	}
}

.footer-top-area {
	.widget {
		@media all and (max-width: 767px) {
			margin-bottom: 45px;
		}
	}
	.widgettitle {
		margin-bottom: 30px;
		font-weight: 400;
	}
	.search-form input.search-submit {
		background-color: #fff;
		color: @primaryColor;		
	}
	a {
		text-decoration: underline;
	}
	ul li {
		margin-bottom: 5px;
		padding-bottom: 5px;
		padding-left: 15px;
		position: relative;
		&:last-child {
			margin-bottom: 0;
			padding-bottom: 0;
		}
		ul.children,
		ul.sub-menu {
			margin-top: 5px;
			padding-left: 15px;
			padding-top: 5px;
			li :last-child{
				margin-bottom: 0px;
				padding-bottom:0px;
			}
		}
	}
	ul li a {
		text-decoration: none;
	}
	.widget_tag_cloud a {
		text-decoration: none;
	}
	.widget_nav_menu {
		ul.menu li {
			display: inline-block;
			vertical-align: top;
			width: 48%;
			@media all and (min-width: 768px) and (max-width: 991px) {
				width: 100%;
			}
			&:before {
				color: @secondaryColor;
				content: "\f105";
				font-family: FontAwesome;
				left: 0;
				position: absolute;
				top: 0;
			}
		}
		&.has-children ul.menu li {
			width: 100%;
			ul.children,
			ul.sub-menu {
				padding-left: 3px;
			}
		}
	}

}

/*---------------------------------------------
#. Custom Widgets
-----------------------------------------------*/
.widget.widget_rdtheme_about {
	h3.widgettitle {
		margin-bottom: 16px;
		font-weight: 500;
	}
	img {
		height: 40px;
		width: auto;
		margin-right: 12px;		
	}
	.rtin-des {
		margin-bottom: 30px;
	}
	ul li {
		display: inline-block;
		margin: 0 8px 0 0;
		padding: 0;
		a {
			border: 1px solid rgba(255, 255, 255, 0.2);
			display: block;
			line-height: 27px;
			text-align: center;
			transition: all 0.3s ease-out 0s;
			width: 30px;
			color: #b3b3b3;
			font-size: 13px;
			&:hover {
				background-color: @secondaryColor;
				border-color: @secondaryColor;
				color: @primaryColor;
			}
		}
		&::before {
			content: none;
		}
	}
}

.widget.widget_rdtheme_info ul li {
	color: #ffffff;
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 10px;
	padding-left: 30px;
	&:last-child {
		margin-bottom: 0;
	}
	a {
		color: #ffffff !important;
	}
	i {
		color: @secondaryColor;
		font-size: 14px;
		left: 0;
		line-height: 1;
		position: absolute;
		top: 5px;
		z-index: 1;
	}
}