/*Edit amends from nots 19032019 */

.description-slide img {
	display: none !important;
}
.latest-new {
	display: none;
}
.home .testimonial {
	padding-top: 55px;
}
/*END Edit amends from nots 19032019*/

.dialog {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.8);
}

.dialog legend {
	display: none;
}

.small-dialog {
	animation: fadeIn 300ms linear 0ms both;
	background: white;
	padding: 40px 30px 10px;
	text-align: left;
	max-width: 800px;
	margin: 40px auto;
	position: relative;
	-webkit-transition: all 0.3s ease;
	-khtml-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	top: 50%;
	transform: translate(0, -50%);
	font-size: 14px;
}

.small-dialog p {
	font-size: 14px !important;
}

.small-dialog input[type='radio'],
.small-dialog input[type='checkbox'] {
	width: auto !important;
}

.small-dialog input[type='button'],
#survey-form .small-dialog input[type='button'] {
	width: 160px;
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	cursor: pointer;
	border: 1px solid #61b5cf;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 3px 0;
	height: auto;
	margin: 0;
	outline: 0;
}

.small-dialog > div {
	margin-bottom: 20px;
}

.small-dialog .error {
	float: none !important;
	width: 100% !important;
	margin-bottom: 5px;
}

.small-dialog .btn-close {
	width: 44px;
	height: 44px;
	line-height: 44px;
	position: absolute;
	right: 0;
	top: 0;
	text-decoration: none;
	text-align: center;
	opacity: 0.65;
	padding: 0 0 18px 10px;
	color: #000000;
	font-style: normal;
	font-size: 28px;
	font-family: Arial, Baskerville, monospace;
	overflow: visible;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	display: block;
	outline: none;
	padding: 0;
	z-index: 1046;
	box-shadow: none;
	touch-action: manipulation;
}

.small-dialog input,
.small-dialog label {
	float: none !important;
	display: inline-block !important;
	width: auto !important;
	margin: auto !important;
}

.small-dialog a {
	color: #000000;
	text-decoration: underline;
}

.js-toggle-title {
	cursor: pointer;
	position: relative;
	display: inline-block;
	padding-right: 30px;
}

.js-toggle-title:before {
	content: '\003e';
	position: absolute;
	top: -5px;
	right: 0;
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid #000;
	border-radius: 50%;
	text-align: center;
	line-height: 20px;
}

.js-toggle.active .js-toggle-title:before {
	transform: rotate(90deg);
}

.js-toggle-content {
	display: none;
}

.result .success {
	color: green;
}

.result .error {
	color: red;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

table {
	margin: 0 0 20px 0;
	width: 100%;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

table thead tr {
	font-weight: 700;
	color: #000000;
	background: #ffc425;
}

table thead tr th {
	padding: 8px 12px;
	border: 1px solid #000000;
}

table tbody tr td {
	padding: 6px 12px;
	border: 1px solid #000000;
}

table a {
	color: #000000;
}

table a:hover,
.site-content table a:active,
.site-content table a:focus {
	color: #000000;
}

.navbar-nav ul li a {
	white-space: nowrap;
}
footer #footer-sidebar1 .item#text-4 {
	width: 100%;
}
#footer-sidebar1 .textwidget {
	display: flex;
	padding-bottom: 25px;
}
#footer-sidebar1 .textwidget p {
	max-width: 23%;
	margin-right: 1%;
}
#footer-sidebar1 .textwidget p img {
	max-width: 100%;
	max-height: 108px;
	width: auto;
}
#footer-sidebar2 .social-wrap a {
	margin-right: 15px;
}
#footer-sidebar2 .social-wrap a img {
	width: 25px;
	height: 25px;
	border-radius: 5px;
}
#footer-sidebar2 .social-wrap {
	display: flex;
	justify-content: center;
	padding-bottom: 10px;
}

.block-team .wrapper {
	display: flex;
	flex-wrap: wrap;
}

.block-team .item {
	width: calc(33.33% - 14px);
	margin-left: 2.1rem;
	text-align: left;
}

.block-team .item:nth-child(3n + 1) {
	margin-left: 0;
}

.block-team .item:nth-child(n + 4) {
	margin-top: 2.5rem;
}

.block-team .item-image {
	position: relative;
	overflow: hidden;
}

.block-team .item-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

.block-team .item-image::after {
	content: '';
	display: block;
	position: relative;
	width: 100%;
	padding-top: 100%;
}

.block-team .item-title {
	font-size: 2.5rem;
	margin: 2rem 0 1rem;
}

.block-team .item-subtitle {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.block-team .item-desc {
	margin-bottom: 0;
}

@media (max-width: 1023px) {
	.block-team .item {
		width: calc(50% - 10px);
		margin-left: 20px !important;
		margin-top: 0;
	}

	.block-team .item:nth-child(2n + 1) {
		margin-left: 0 !important;
	}

	.block-team .item:nth-child(n + 3) {
		margin-top: 2.5rem;
	}
}

@media (max-width: 767px) {
	#footer-sidebar1 .textwidget {
		flex-wrap: wrap;
		justify-content: space-evenly;
	}
	#footer-sidebar1 .textwidget p {
		max-width: unset;
		width: 45%;
		margin-right: 0;
	}

	footer #footer-sidebar2 .item#text-3 {
		width: 80%;
	}

	.block-team .item {
		width: 100%;
		margin-left: 0 !important;
		margin-top: 0;
	}

	.block-team .item:nth-child(n + 2) {
		margin-top: 2.5rem;
	}
}

/* override the plugin style after updating*/
.wpmslider-prev::before,
.wpmslider-next:before {
	display: block !important;
	height: 57px !important;
	width: 39px !important;
	top: -50px !important;
	left: initial !important;
	position: absolute !important;
	mask: none !important;
}

.wpmslider-prev::before {
	background: url(../images/btn-prev.png) no-repeat center center !important;
}

.wpmslider-next:before {
	background: url(../images/btn-next.png) no-repeat center center !important;
}

.testimonial .testimonial-name {
	text-align: center !important;
	margin-top: 28px !important;
}

/* remove popup for form */
.full-form {
	clear: both;
}
.full-form .wpcf7-list-item {
	margin-left: 0;
}
.full-form > p,
.full-form span.wpcf7-list-item-label {
	font-size: 14px;
	text-align: left;
}
.full-form label {
	font-weight: normal;
	display: flex;
	align-items: flex-start;
}
.full-form input {
	width: 13px;
	margin: 0;
}
.full-form .wpcf7-list-item-label {
	display: inline-block;
	width: calc(100% - 13px);
}
