/*
Theme Name: Dikka Child
Description: Child theme for the Dikka Theme
Author: UX-Qode
Template: dikka-installable
*/

.navbar {
	z-index: 999;
}

.team-div .social-icomoon {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	margin: 10px 0 0;
}

.social-icomoon li a {
	line-height: 28px;
}
.social-icomoon li a i {
	font-size: 18px;
}

.team-image img {
	width: 100%;
}

#pg-1821-8:after {
	clear: both;
	content: "";
	display: table;
}
.footer {
	background: #fff;
	color: #5C5C5C;
}
.logo-footer img {
	margin: 0;
}
.footer .widget li {
	background: none;
}
.footer .widget .contacts-footer, .footer .contacts-footer li, .footer .socialdiv ul, .footer .socialdiv li {
	padding-left: 0;
}
.footer .socialdiv li {
	padding-bottom: 0;
}
.logo-footer {
	text-align: left;
}
.footer .b-text p {
	text-align: left;
}


/*Mobile Screens*/
@media (max-width:520px) {

	.team-div .hoverleft{
		display: flex;
	}

	.team-div .team-image {
		height: auto;
		order: 1;
		width: 50% !important;
	}

	.team-div .overlay {
		left: 50%;
		opacity: 1;
		order: 2;
		padding: 2% 0;
		transition: none;
		width: 50%;
	}

	.team-div:hover .overlay .team-details {
		cursor: default;
	}

	.team-div .overlay .team-details {
		box-sizing: border-box;
		left: 5%;
		margin: 0;
		padding: 0;
		position: relative;
		width: 90%;
  	top: 50%;
  	transform: translateY(-50%);
	}

	.team-div .overlay .team-details h4 {
		font-size: 1.2em;
		font-weight: 700;
		line-height: auto;
		margin-bottom: 0;
	}

	.team-div .overlay .team-details .team-position {
		margin-bottom: 0;
	}

	.footer .widget, .footer .widget_text .textwidget div, .logo-footer, .footer .b-text p  {
		text-align: center;
	}
	.logo-footer img {
		margin: 0 auto;
	}

}

/*Tablets Screen*/
@media (min-width: 520px) and (max-width: 768px) {
	#team-row-1 .container:before,
	#team-row-1 .container:after,
	#team-row-2 .container:before,
	#team-row-2 .container:after,
	#team-row-3 .container:before {
		display: none;
	}

	#team-row-1 .panel-grid-cell,
	#team-row-2 .panel-grid-cell,
	#team-row-3 .panel-grid-cell {
		float: left;
		width: calc(50% - 7px);
	}

	#team-row-1 .panel-grid-cell:nth-child(even),
	#team-row-3 .panel-grid-cell:nth-child(even) {
		float: right;
	}

	#team-row-2 .panel-grid-cell:nth-child(odd) {
		float: right;
	}

	.team-div .overlay {
		opacity: 1;
	}

	.team-div .overlaycolor {
		opacity: 0.5 !important;
	}

	.team-div .overlay .team-details .team-position {
		color: #ddd !important;
	}

	.team-div .overlay .team-details {
		box-sizing: border-box;
		left: 5%;
		margin: 0;
		padding: 0;
		position: relative;
		width: 90%;
  	top: 50%;
  	transform: translateY(-50%);
	}

	.team-div .overlay .team-details h4 {
		font-size: 1.2em !important;
		font-weight: 700;
		line-height: auto;
		margin-bottom: 0;
	}

	.team-div .overlay .team-details .team-position {
		margin-bottom: 0;
	}

	.footer .widget, .footer .widget_text .textwidget div, .logo-footer, .footer .b-text p  {
		text-align: center;
	}
	.logo-footer img {
		margin: 0 auto;
	}


}

/*Large screens*/
@media (min-width: 768px) and (max-width: 980px) {
	.appdesign .app-service .icon-container .icon {
		display: table-cell;
	}

	.container .panel-grid-cell {
		padding: 0 4px;
	}

	.team-div .overlay {
		opacity: 0;
	}

	.team-div .team-details {
		left: 5%;
		top: 80%;
		width: 90%;
		-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
				transform: translateY(-50%);
	}

	.team-div:hover .team-details {
		top: 50%;
	}

	.team-div .overlay .team-details {
		box-sizing: border-box;
		left: 5%;
		margin: 0;
		padding: 0;
		position: relative;
		width: 90%;
  	top: 50%;
  	transform: translateY(-50%);
	}

	.team-div .overlay .team-details h4 {
		font-size: 1.2em !important;
		font-weight: 700;
		line-height: auto;
		margin-bottom: 0;
	}

	.team-div .overlay .team-details .team-position {
		margin-bottom: 0;
	}

}

/* Ultra Large Screen */
@media (min-width: 980px) {

	.team-div .overlay .team-details {
		box-sizing: border-box;
		left: 5%;
		margin: 0;
		padding: 0;
		position: relative;
		width: 90%;
  	top: 50%;
  	transform: translateY(-50%);
	}

}

.single-portfolio .cbpw-page-popup {
	margin: 145px auto 100px;
	max-width: 1024px;
	width: 94%;
}


