@media only screen and (max-height: 850px) {
	.person .page-scroll {
		row-gap: 1.5em;
	}
}

@media only screen and (max-height: 600px) {
	.person img {
		height: 120px;
		width: 120px;
	}
}

@media only screen and (min-height: 601px) and (max-height: 800px) {
	.person img {
		height: 160px;
		width: 160px;
	}
}

@media only screen and (min-height: 801px) and (max-height: 900px) {
	.person img {
		height: 180px;
		width: 180px;
	}
}

@media only screen and (min-height: 901px) and (max-height: 1000px) {
	.person img {
		height: 200px;
		width: 200px;
	}
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {

	.section-contact h3 {
		font-size: 30px !important;
	}

	.navbar-nav > li + li > a {
	    margin-left: 30px;
	}

	.modal-header {
		height: 400px;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {

	.section-contact h3 {
		font-size: 28px !important;
	}

	h4 {
		font-size: 24px;
	}

	.c-btn {
	    min-width: 120px;
	    line-height: 40px;
	    padding: 16px 25px;
	    font-size: 16px;
	}

	.navbar-nav > li > a {
		font-size: 14px;
	}

	.navbar-nav > li + li > a {
	    margin-left: 20px;
	}

	.person h1 {
		font-size: 38px
	}

	.site-section {
		padding-top: 80px;
	}

	.site-section h2,
	.site-section h3 {
		font-size: 32px
	}

	.service h4 {
		font-size: 22px; 
	}

	.modal-header {
		height: 350px;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {


	h4 {
		font-size: 20px;
	}

	.c-btn {
		font-size: 14px;
	    min-width: 100px;
	    line-height: 30px;
	    padding: 16px 20px;
	}

	.navbar-toggle-container {
		display: block;
	}

	.navbar-toggle {
		position: relative;
	    margin: 0 15px 0 0;
	    padding: 5px 0;
	   	border: 0;
		background-color: transparent;
	}

	.navbar-toggle .icon-bar {
		display: block;
		width: 30px;
		height: 1px;
		border-radius: 1px;
	    background-color: #212121;
	    -webkit-transition: all 0.3s;
	    -moz-transition: all 0.3s;
	    -ms-transition: all 0.3s;
	    -o-transition: all 0.3s;
	    transition: all 0.3s;
	}

	.navbar-toggle .icon-bar + .icon-bar {
		margin-top: 6px; 
	}

	.navbar-toggle.act .icon-bar:first-child, 
	.navbar-toggle.act .icon-bar:last-child  { 
	    position: absolute;
	    top: 10px;
	    height: 2px;
	    background-color: #fff;
	}

	.navbar-toggle.act .icon-bar:first-child {
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.navbar-toggle.act .icon-bar:last-child  {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	.navbar-toggle.act .icon-bar:nth-child(2) {
		opacity: 0;
	}

	.navbar-toggle.act .icon-bar + .icon-bar  {
	    margin-top: 0px;
	}

	.navbar-nav > li > a,
	.navbar-nav > li + li > a {
		display: inline-block;
		margin: 0;
		color: #fff !important;
	}
	.navbar-nav .nav-link.active,
	.navbar-nav > li > a:hover,
	.navbar-nav > li.active > a,
	.nav > li > a:hover,
	.nav > li.active > a {
	    border-bottom: 2px solid #fff !important;
	}

	.navbar-toggle.act {
		z-index: 9999;
		height: 25px;
	}

	.main-menu {
		background-color: rgba(33,33,33,0.9);
		position: fixed;
		left: 0;
		top: 0;
		z-index: 100;
		width: 100%;
		height: 100vh;
		min-height: 100%;
		display: table;
		text-align: center;
		opacity: 0;
		-webkit-transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
		transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
		-webkit-transform: scale(0);
		transform: scale(0);
		overscroll-behavior: contain;
	}

	.main-menu.act {
		opacity: 1;
		-webkit-transform: scale(1);
		transform: scale(1);
	}

	.main-menu.act ul li {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	.main-menu ul {
		display: table-cell;
		vertical-align: middle;
	}

	.main-menu li {
		padding: 8px 0;
		-webkit-transition: all 400ms 510ms;
		transition: all 400ms 510ms;
		opacity: 0;
	}

	.main-menu li:nth-child(odd) {
		-webkit-transform: translateX(30%);
		transform: translateX(30%);
	}

	.main-menu li:nth-child(even) {
		-webkit-transform: translateX(-30%);
		transform: translateX(-30%);
	}

	.person h1 {
		font-size: 32px;
		margin-bottom: 10px;
	}

	.site-section {
	   padding-top: 56px;
	}

	.section-contact {
	    padding-bottom: 60px;
	}

	.person > div {
		padding-right: 22px;
		padding-left: 22px;
	}

	.section-services > div {
		padding-right: 22px;
		padding-left: 22px;
	}

	.site-section h2,
	.site-section h3 {
	    font-size: 28px;
	}

	.img-lines {
	    margin: 10px 0 30px;
	}

	.site-section p {
	    margin-bottom: 25px;
	}

	.service h4 {
		margin: 10px 0;
	}

	.section-contact .c-btn {
		margin: 0;
	}

	.section-contact .container-btn {
		margin-left: 0;
		margin-right: 0;
		margin-top: 26px;
	}

	.section-contact .contact-info {
		margin-top: 16px;
	}

	.modal-header {
		height: 250px;
	}

}
