
#galleries-nav-items {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-justify-content: flex-start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	list-style-type: none;
	margin-bottom: 14px;
	padding: 0;
}

	.galleries-nav-item {
		display: inline-block;
		margin-top: 14px;
		padding: 6px 12px;
		border: 1px solid #999;
		border-radius: 3px;
		background-color: transparent;
		font-size: 14px;
		text-transform: uppercase;
		font-weight: 600;
		line-height: 1;
		transition-property: background-color;
		transition-duration: 0.2s;
		cursor: pointer;
	}
	
	.galleries-nav-item:not(:last-child) {
		margin-right: 14px;
	}
	
	.galleries-nav-item:hover, .galleries-nav-item.current {
		background-color: #eee;
		color:#181617;
	}

#galleries-thumbs {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	-webkit-justify-content: flex-start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-flex-wrap: wrap;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
}

	.gallery-thumb {
		display: block;
		width: calc(33.333% - (29px * 2 / 3));
		margin-bottom: 29px;
		margin-right: 29px;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
	}
	
	.gallery-thumb:nth-child(3n+0) {
		margin-right: 0;
	}
	
		.gallery-thumb > div {
			width: 100%;
			height: 0;
			padding-bottom: 64.356435643564356%;
		}
		
#galleries-pagination {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-justify-content: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

	#prev-gallery-page, #next-gallery-page {
		cursor: pointer;
	}
	
	#gallery-page-list {
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-align-items: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-justify-content: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		margin: 0 25px;
	}
	
		#gallery-page-list > span {
			margin: 0 5px;
			padding: 5px 10px;
			cursor: pointer;
		}
		
		#gallery-page-list > .current-page {
			cursor: auto;
			opacity: 0.5;
		}
		
@media (max-width: 960px) {
	.gallery-thumb {
		width: calc(33.333% - (15px * 2 / 3));
		margin-bottom: 15px;
		margin-right: 15px;
	}
	
	#galleries-pagination {
		font-size: 15px;
	}

		#gallery-page-list {
			margin: 0 10px;
		}
		
		#gallery-page-list > span {
			margin: 0 2px;
		}
}

@media (max-width: 600px) {
	.galleries-nav-item {
		margin-top: 8px;	
	}
	
	.galleries-nav-item:not(:last-child) {
		margin-right: 8px;
	}
	
	.gallery-thumb {
		width: calc(33.333% - (8px * 2 / 3));
		margin-bottom: 8px;
		margin-right: 8px;
	}
}#ft-apdental-menu-button {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}


#ft-apdental-menu #footer-apd-nav li {
	list-style-type: none;
}

	#footer-apd-nav #menu-footer-menu {
		padding-left: 0;
		margin: 0;
	}

		#ft-apdental-menu #footer-apd-nav li a {
			color: inherit;
			text-decoration: none;
			font-weight: 500;
			position: relative;
		}

#ft-apdental-menu  .footer-nav > .menu {
					display: -ms-flexbox;
					display: -webkit-flex;
					display: flex;
					-ms-flex-align: center;
					-webkit-align-items: center;
					align-items: center;
					-ms-flex-pack: start;
					-webkit-justify-content: flex-start;
					justify-content: flex-start;
			}

				#ft-apdental-menu  .footer-nav ul, 
				#ft-apdental-menu .footer-nav li {
					margin: 0;
					padding: 0;
					list-style: none;
					position: relative;
				}

				#ft-apdental-menu .footer-nav .menu > .menu-item > a {
						display: block;
						padding: 12px 32px;
						text-transform: uppercase;
						font-weight: 600;
						font-size: 22px;
						text-decoration: none;
						color:inherit;
						position: relative;
						font-family: 'Lato',sans-serif;
					}
#ft-apdental-menu-button .apd-menu-button {
	padding: 12px 25px;
	background-color: #2DACD6;
}
 
.apd-ft-columns {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	font-size: 20px;
}


.apdft-text-large-map-text {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: space-between;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-align-items: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
}

	.apdft-text-large-map-text .apd-text-large-map {
		max-width: 100%;
		width: 100%;
	}

		.apdft-text-large-map-text .apd-text-large-map iframe {
			max-width: 100%;
			display: block;
			width: 100%;
		}

		.apdft-text-large-map-text.text-right .apdft-tf-text-and-heading {
			-webkit-order: 1;
			    -ms-flex-order: 1;
			        order: 1;
			width:50%;
			padding-bottom: 20px;
			padding-top: 80px;
		}

		.apdft-text-large-map-text.text-right .apdft-tf-text-and-heading {
			max-width: 600px;
			
		}

		.apdft-text-large-map-text.text-left .apdft-tf-text-and-heading {
			-webkit-order: 0;
			    -ms-flex-order: 0;
			        order: 0;
			
			max-width: 600px;
		}

			.apdft-text-large-map-text.text-left .apd-text-large-map {
				-webkit-flex-shrink: 1;
				    -ms-flex-negative: 1;
				        flex-shrink: 1;
				-webkit-order: 1;
				    -ms-flex-order: 1;
				        order: 1;
			}

			.apdft-text-large-map-text.text-right .apd-text-large-map {
				-webkit-order: 0;
				    -ms-flex-order: 0;
				        order: 0;
				display: -webkit-flex;
				display: -ms-flexbox;
				display: flex;
				-webkit-flex-direction: column;
				    -ms-flex-direction: column;
				        flex-direction: column;
				-webkit-flex-grow: 1;
				    -ms-flex-positive: 1;
				        flex-grow: 1;
			}

			.apdft-text-large-map-text iframe {
				-webkit-flex-grow: 1;
				    -ms-flex-positive: 1;
				        flex-grow: 1;
			}

			.apdft-text-large-map-text .apd-tm-large-map {
				width:50%;
				display: -webkit-flex;
				display: -ms-flexbox;
				display: flex;
				-webkit-flex-direction: column;
				    -ms-flex-direction: column;
				        flex-direction: column;
			}

			.apdft-text-large-map-text .apdft-tf-text-and-heading {
				width: 43%;
			}

		
@media ( max-width: 1250px ){
		.apdft-text-large-map-text.text-right .apdft-tf-text-and-heading {
			padding-left: 30px;
			padding-right: 30px;
	}
}

@media ( max-width: 960px ) {
	.apdft-text-large-map-text {
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	.apdft-text-large-map-text.text-left .apdft-tf-text-and-heading {
		order: 1;
		margin: 0 auto 0 0;
		padding: 50px 0 0px 20px;
		max-width: 100%;
		width: 100%;
	}
	
	.apdft-text-large-map-text .apd-tm-large-map,
	.apdft-text-large-map-text.text-right .apdft-tf-text-and-heading  {
		width:100%;
	}
	
	.apdft-text-large-map-text.text-right .apdft-tf-text-and-heading {
		padding-left: 0;
		margin:0 auto;
	}
	
		.apdft-text-large-map-text .apd-text-large-map {
			padding-top: 0px;
		}
	
	.apd-tm-large-map,
	.apd-tf-text-and-heading {
		width: 100%;
	}
	
	.apdft-text-large-map-text.text-right .apdft-tf-text-and-heading {
		padding-left: 15px;
		padding-top: 30px;
		padding-right: 15px;
	}
		.apdft-text-large-map-text.text-right .apd-text-large-map {
			padding-left: 0;
		}
	
	.apdft-text-large-map-text.text-right .apdft-tf-text-and-heading {
		padding-right: 0;
	}
		.apdft-text-large-map-text.text-left .apd-text-large-map {
			padding-right: 0;
		}
}

@media (max-width:1200px) {
	#ft-apdental-menu .footer-nav .menu > .menu-item > a {
		font-size: 18px;
		padding: 12px 20px;
	}
}

@media (max-width:960px) {
	#ft-apdental-menu .footer-nav .menu > .menu-item > a {
		padding: 10px 14px;
		font-size: 16px;
	}
	#ft-apdental-menu .footer-nav > .menu, #ft-apdental-menu-button {
		display: block;
	}
	#ft-apdental-menu-button .apd-menu-button {
		margin-left: 0;
	}
}