/*
Theme Name: PLP London
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: plp
*/




/* FONTS */


@font-face {
font-family: 'Avenir';
font-style: normal;
font-weight: 300;
src: local('Avenir LT Std 45 Light'), url('fonts/AvenirLTStd-Light.woff') format('woff');
}

@font-face {
font-family: 'Avenir';
font-style: normal;
font-weight: 400;
src: local('Avenir LT Std 45'), url('fonts/AvenirLTStd-Roman.woff') format('woff');
}

@font-face {
font-family: 'Avenir';
font-style: normal;
font-weight: 500;
src: local('Avenir LT Std 45 Book'), url('fonts/AvenirLTStd-Book.woff') format('woff');
}


@font-face {
font-family: 'Avenir';
font-style: normal;
font-weight: 600;
src: local('Avenir LT Std 65 Medium'), url('fonts/AvenirLTStd-Medium.woff') format('woff');
}

@font-face {
font-family: 'Avenir';
font-style: normal;
font-weight: 700;
src: local('Avenir LT Std 65 Bold'), url('fonts/AvenirLTStd-Black.woff') format('woff');
}




/* GENERIC */


body {
    color: #333333;
    font-family: "Avenir";
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 300;
    overflow-x: hidden;
    color: #575756;
	background: #e3e3e3;
}

.error404 .content_block a {
    color: #333333;
    text-decoration: underline;
}


.inner_container {
	width: 1800px;
	max-width: 100%;
	margin: 0 auto;
	background: #fff;
}


.h1,
h1 {
	font-size: 3.5rem;
	/*font-weight: 600;*/
	font-weight: 300;
	margin-bottom: 1rem;
}

.h2,
h2 {
    color: #cd1619;
	font-size: 3.5rem;
	margin-bottom: 1rem;
}

strong {
	font-weight: 600;
}

img {
    max-width: 100%;
}

a,
a > * {
    -webkit-transition: .2s linear;
    -moz-transition: .2s linear;
    -o-transition: .2s linear;
    transition: .2s linear;
}

a,
a:hover {
    text-decoration: none;
	outline: 0;
}

.row.gutter-20 {
    margin-left: -10px;
    margin-right: -10px;
}

.row.gutter-20 [class*='col-'] {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.col-sm-d-2 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

.btn {
    border: 1px solid #000;
    color: #000;
    text-transform: uppercase;
    border-radius: 0;
    background: transparent;
    outline: 0;
	min-width: 150px;
	padding: 8px 15px 5px;
	letter-spacing: 0.2rem;
	margin-top: 10px;
}

.btn:focus,
.btn:active,
.btn:hover {
    background: #cd1719;
    color: #fff;
    border-color: #cd1719;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}


.block {
    padding: 30px 0;
}

.block h2 {
	margin-top: 1rem;
}

.block p {
	padding: 0 3rem;
}

.block .content_cols p {
	padding: 0 0;
}

.projects_block p,
.clients_block p {
	margin-bottom: 3rem;
}


body:not(.home) .projects_block p,
body:not(.home) .clients_block p {
	font-size: 1.8rem;
	letter-spacing: 0.1rem;
}

.projects_block .card {
	min-height: 420px;
}

.archive-clients.block {
    padding-bottom: 10px;
}

.block.grey_bg {
    background: #f1f1f1;
}


.single-projects .content_block h1 {
	color: #cd1619;
	margin-bottom: 1rem;
	font-size: 500;
}

.single-projects .content_block p {
	margin-bottom: 2rem;
	letter-spacing: 0.1rem;
}

.single-projects .content_block h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: #575756;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
}

.single-projects .content_cols p {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	letter-spacing: 0;
}

.single-projects hr {
	width: 410px;
	margin: 0 auto 2rem;
	display: block;
	color: #575756;
	background: #575756;
}

.single-projects .image_block {
	padding-bottom: 0;
}

.single-projects .projects_block {
	padding-top: 0;
}

.single-projects .projects_block h2 {
	font-size: 2rem;
	margin: 1rem auto 2rem;
	text-transform: uppercase;
}

@media (min-width: 1399px) {
    .container {
        max-width: 1330px;
    }
	
}

/* HEADER */

#header-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}

.admin-bar #header-section {
	top: 32px;
}

#main-header-section {
    background: #333332;
    color: #fff;
    padding: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    height: 90px;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    margin-top: 0;
    transition: top .35s 0s, margin 0s 0s, opacity 0s 0s;
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
	display: flex;
	align-items: center;
}

#main-header-section .row {
	align-items: center;
}

#main-header-section.alt-menu {
	height: 90px;
}

#main-header-section.alt-menu {
	background: #cd1619;
}

#main-header-section p {
	font-size: 1.5rem;
}

#main-header-section ul {
	list-style: none;
    padding: 0;
	margin: 0;
}

#main-header-section ul li {
	list-style: none;
	padding: 0;
    display: inline-block;
    text-align: center;
    margin: 0 1rem;
}

#main-header-section ul li a {
	color: #fff;
	font-size: 1rem;
	font-weight: 300;
	text-transform: uppercase;
	line-height: 90px;
	display: block;
}

#main-header-section.alt-menu ul li a {
	line-height: 90px;
}

#main-header-section.alt-menu ul li a:hover {
	opacity: 0.6;
}

#main-header-section.show {
    margin-top: -90px;
    top: 90px;
    opacity: 1;
    visibility: visible;
}

#main-header-section.alt-menu.show {
	margin-top: -90px;
	top: 90px;
}

.admin-bar #main-header-section.show {
    top: 112px;
}

.admin-bar #main-header-section.alt-menu {
	top: 122px;
}

#main-header-section p {
    text-transform: uppercase;
}

#main-header-section img {
	height: 90px;
	height: auto;
}

#main-header-section.alt-menu img {
    height: 90px;
}



#main-header-section .nav-icon {
    position: static;
    display: inline-block;
}

#main-header-section p {
    margin: 0;
}

#logo img {
    display: block;
    margin: 0 auto;
    width: 150px;
	width: 300px;
	margin-top: 30px;
}

@media( max-width: 767px ) {
	width: 200px;
}

.archive #logo,
.single #logo {
	display: none;
}

.nav-icon {
  position: absolute;
  top: 30px;
  right: 15px;
  margin: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#main-header-section .nav-icon img,
.nav-icon img {
	width: 35px;
	max-width: 100%;
	height: auto;
	display: block;
}

/*
.admin-bar .nav-icon {
    top: 62px;
}
*/

#main-nav .nav-icon {
    top: 30px;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 4px;
  left: 5px;
  right: 5px;
  background: #fff;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
  z-index: 9999999999;
}


.nav-icon span:nth-child(1) {
  top: 5px;
}

.nav-icon span:nth-child(2),
.nav-icon span:nth-child(3) {
  top: 14px;
}

.nav-icon span:nth-child(4) {
  top: 23px;
}

.nav-icon.open span:nth-child(1) {
  top: 14px;
  width: 0%;
  left: 50%;
}

.nav-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.nav-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}


#main-nav {
    background: #333332;
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    top: 0;
    z-index: 999999999;
	max-height: 100vh;
    overflow-y: scroll;
	padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */
    box-sizing: content-box; /* So the width will be 100% + 17px */
}

.admin-bar #main-nav {
    top: 32px;
	max-height: calc(100vh - 32px);
}

#main-nav .container {
    max-width: 850px;
}

#main-nav .logo img {
    width: 300px;
	margin-top: 30px;
}

@media( max-width: 767px ) {
	#main-nav .logo img {
		width: 200px;
	}
}

#main-nav ul#menu-main {
    list-style: none;
    padding: 0;
    overflow: hidden;
    margin: 60px auto 30px;
	width: 630px;
	max-width: 100%;
}

#main-nav ul#menu-main li {
    list-style: none;
    width: 190px;
    display: block;
    float: left;
    text-align: center;
    margin: 10px 10px;
    height: 190px;
	position: relative;
	border: 1px solid #fff;
}

#main-nav ul#menu-main li a {
    display: block;
    position: absolute;
	top:0;
	bottom: 0;
    color: #fff;
	font-size: 1.5rem;
	left: 0;
	right: 0;
}

#main-nav ul#menu-main li a span {
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	left: 0;
	right: 0;
	
}

#main-nav ul#menu-main li a span:before {
	content: "";
	width: 20px;
	height: 20px;
	background-image: url('img/star.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: block;
	margin: 0 auto 1rem;
}

#main-nav ul#menu-main li a img {
	width: 165px;
	display: block;
	margin: 0 auto;
	max-width: 90%;
}

#main-nav ul#menu-main li:hover {
	background-image: url('img/red-bg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

#main-nav ul#menu-main li:last-of-type {
	background: none;
    height: auto;
    width: 100%;
    border: 0;
    text-align: center;
	margin: 15px 0 0;
}

#main-nav ul#menu-main li:last-of-type a span,
#main-nav ul#menu-main li:last-of-type a {
	position: static;
	transform: none;
	text-transform: uppercase;
}
#main-nav ul#menu-main li:last-of-type a:hover {
	color: #cd1719;
}

#main-nav ul#menu-main li:last-of-type a span:before {
	display: none;
}


/* HEADER BLOCK */

.header_block p {
	font-size: 2rem;
}

.header_block h3 {
	/*font-weight: 600;*/
    font-weight: 300;
	font-size: 1rem;
	margin-bottom: 1rem;
	margin-top: 2rem;
	text-transform: uppercase;
}

.header_slider_block p {
	font-size: 2rem;
	width: 1100px;
	max-width: 100%;
	margin: 0 auto;
	display: block;
}

.header_block {
    height: 510px;
    position: relative;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.header_block h1 {
    padding-top: 60px;
	letter-spacing: 0.2rem;
}

.header_block p {
	padding: 0 3rem;
}

.header_block p:last-of-type {
    margin: 0 auto;
}

.header_block .justify-content-end {
    padding-bottom: 1rem;
}

/* LARGE HEADER BLOCK */

.large_header_block {
    height: calc(100vh - 75px - 150px);
    min-height: 700px;
    background-size: cover;
    background-position: center;
}

.admin-bar .large_header_block {
    height: calc(100vh - 75px - 150px);
}

.large_header_block.projects_large_header_block {
	height: auto;
	min-height: 0;
}

.large_header_block.projects_large_header_block .mobile {
	display: none;
}

.large_header_block.projects_large_header_block .video_container {
    position: relative;
    height: 800px;
    overflow: hidden;
}

.large_header_block.projects_large_header_block .video_container iframe {
    width: 100vw;
    height: 56.25vw; /* Given a 16:9 aspect ratio, 9/16*100 = 56.25 */
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* HEADER SLIDER */

.header_slider_block {
    height: calc(100vh - 75px - 150px);
    min-height: 700px;
}

.header_slider_block .item {
    color: #fff;
    height: calc(100vh - 75px - 150px);
    position: relative;
    min-height: 700px;
    background-size: cover;
    background-position: center;
	background-position: 0 bottom;
}

.header_slider_block .item:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.54);
    display: block;
    content: "";
}

.header_slider_block .item .row {
    width: 100%;
}

.slider_block .owl-dots,
.header_slider_block .owl-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}

.slider_block .owl-dots .owl-dot,
.slider_block .owl-dots .owl-dot span,
.header_slider_block .owl-dots .owl-dot,
.header_slider_block .owl-dots .owl-dot span {
    outline: 0;
}

.slider_block .owl-dots .owl-dot span,
.header_slider_block .owl-dots .owl-dot span {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 15px;
    height: 15px;
    margin: 0 2.5px;
}

.slider_block .owl-dots .owl-dot:hover span,
.slider_block .owl-dots .owl-dot.active span,
.header_slider_block .owl-dots .owl-dot:hover span,
.header_slider_block .owl-dots .owl-dot.active span {
    background: #fff;
}


/* SERVICES BLOCK */

.services_block p {
	margin-bottom: 3rem;
}

.card-img,
.card {
    border-radius: 0;
    background-color: transparent;
    border: 0;
}

.card a:hover .card-img-overlay {
    opacity: 1;
}

.invert .card a .card-img-overlay {
	opacity: 1;
}

.invert .card a:hover .card-img-overlay {
	opacity: 0;
}

.card-img-overlay {
    background: rgba(0,0,0,0.7);
    opacity: 0;
}

.card-img-overlay img {
	width: 25px;
	margin-bottom: 1rem;
}

.card h3 {
    text-transform: uppercase;
    margin: 0;
	letter-spacing: 0.2rem;
	font-size: 2rem;
}

.card h4 {
    text-transform: uppercase;
    margin: 5px 0 0;
	font-size: 1rem;
	/*font-weight: 500;*/
    font-weight: 300;
	letter-spacing: 0.1rem;
}

.card a {
    color: #fff;
}



/* SLIDER BLOCK */

.slider_block p {
	margin-bottom: 2rem;
}

.slider_block ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.slider_block ul li {
    display: inline-block;
}

select.select {
	opacity: 0;
}

.bootstrap-select .dropdown-toggle:focus, .bootstrap-select>select.mobile-device:focus+.dropdown-toggle,
.btn-light:not(:disabled):not(.disabled).active:focus, .btn-light:not(:disabled):not(.disabled):active:focus, .show>.btn-light.dropdown-toggle:focus {
	outline: 0!important;
	box-shadow: none;
}

.slider_block ul li a {
    color: #fff;
    background: #a29e9e;
    padding: 9px 15px 5px;
    text-transform: uppercase;
	display: block;
	font-size: 1rem;
	letter-spacing: 0.2rem;
	/*font-weight: 400;*/
    font-weight: 300;
}

.slider_block ul li a:hover {
    background: #cd1719;
}



/* IMAGE BLOCK */

.image_block .container {
    max-width: 1360px;
}

.grid {
    max-width: 1320px;
    margin: 0 auto;
    box-sizing: border-box;
}

.grid-item {
    box-sizing: border-box;
    margin-bottom: 20px;
    max-width: 100%;
    float: left;
    margin-right: 10px;
    margin-left: 10px;
}

.grid-item {
    overflow: hidden;
}

.grid-item .video {
    padding: 56.25% 0 0 0;
    position: relative;
    width: 100%;
}

.grid-item iframe {
   position: absolute;
   top: 0;
   bottom: 0;
   right: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

.grid-sizer {
    width: 420px;
}
.grid-item.project_1 {
    width: 1300px;
    height: 800px;
}

.grid-item.project_2 {
    width: 640px;
    height: 420px;
}

.grid-item.project_3 {
    width: 860px;
    height: 584px;
}

.grid-item.project_4 {
    height: 584px;
}

.grid-item.project_5 {
    height: 420px;
}

.grid-item.project_6 {
    height: 282px;
}

.grid-item.project_4,
.grid-item.project_5,
.grid-item.project_6 {
    width: 420px;
}




/* CONTACT BLOCK */

.contact_block {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 270px 0 30px;
}

.contact_block p {
	font-size: 1.5rem;
	margin-bottom: 2rem;
}

.contact_block .contact_grid {
	margin-top: 2rem;
}

.contact_block .contact_grid.contact_grid_alt {
	margin-top: 0;
}

.contact_block h1 {
	margin-bottom: 2rem;
}

.contact_block h3 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	line-height: 1.1;
}

.contact_block img {
	width: 20px;
	margin-bottom: 1.5rem;
}

.contact_block .contact p {
	font-size: 1rem;
	letter-spacing: 0.1rem;
	margin-bottom: 0;
}

.contact_block p a {
	color: #fff;
}

.contact_block h3 img {
	width: 200px;
	max-width: 90%;
	margin: 0 auto;
}

.contact_grid {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.contact_grid .contact {
    border: 1px solid #fff;
    padding: 15px;
    width: 236px;
    height: 236px;
    
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
    margin: 0 10px 20px;
    
}

.contact_grid .contact h3 img {
    vertical-align: bottom;
}

.contact_grid .contact p {
    margin: 0;
}


/* FOOTER */

#cookie-notice p {
	font-size: 1rem;
}

.top_footer {
    background: #333332;
    padding: 20px 0;
}

.top_footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    
}

.top_footer ul li {
    display: inline-block;
    margin: 0 2px;
}

.top_footer ul li a {
    color: #000;
    background: #dedede;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
    border-radius: 100%;
    font-size: 26px;
	-webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear;
}

.top_footer ul li a svg {
    position: relative;
    top: 3px;
    left: 1px;
}

.top_footer ul li a svg.fa-facebook-f {
	left: 0;
}

.top_footer ul li a svg.fa-instagram {
	left: 0px;
	top: 3px;
}

.top_footer ul li a:hover {
    color: #cd1719;
}

.footer {
    background: #cd1719;
    color: #fff;
    padding: 20px 0;
	font-size: 1rem;
	line-height: 1.3;
}

.footer a {
    color: #fff;
}

.footer .widget p:last-of-type {
    margin-bottom: 0;
}

.footer h3 {
    margin: 0;
	/*font-weight: 600;*/
    font-weight: 300;
	font-size: 1rem;
}

.footer .row > div {
    border-right: 1px solid #fff;
}

.footer .row > div:last-of-type {
    border-right: 0;
}

.btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active, .show>.btn-light.dropdown-toggle {
	background-color: transparent;
	outline: 0;
}

.bootstrap-select {
	margin: 0 0.5rem 1rem;
}

.bootstrap-select>.dropdown-toggle,
.bootstrap-select>.dropdown-toggle.bs-placeholder {
	border-color: #fff;
	color: #fff;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder, .bootstrap-select>.dropdown-toggle.bs-placeholder:active, .bootstrap-select>.dropdown-toggle.bs-placeholder:focus, .bootstrap-select>.dropdown-toggle.bs-placeholder:hover,
.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
	text-align: center;
	color: #fff;
}

@media( max-width: 1399px ) {
	.projects_block .card {
		min-height: 350px;
	}
}


@media( max-width: 1349px ) {
	
	
	
	
	.grid {
		max-width: 1140px;
		margin: 0 auto;
		box-sizing: border-box;
	}

	.grid-sizer {
		width: 420px;
	}
	.grid-item.project_1 {
		width: 1120px;
		height: auto;
	}

	.grid-item.project_2 {
		width: 550px;
		height: auto;
	}

	.grid-item.project_3 {
		width: 740px;
		height: auto;
	}

	.grid-item.project_4 {
		height: auto;
	}

	.grid-item.project_5 {
		height: auto;
	}

	.grid-item.project_6 {
		height: auto;
	}

	.grid-item.project_4,
	.grid-item.project_5,
	.grid-item.project_6 {
		width: 360px;
	}
	
	#main-header-section ul li {
		margin: 0 0.5rem;
	}
	
	
}

@media( max-width: 1199px ) {
	
	.projects_block .card {
		min-height: 295px;
	}
	
	#main-header-section ul li a {
		font-size: 0.8rem;
	}
	
	.grid {
		max-width: 960px;
		margin: 0 auto;
		box-sizing: border-box;
	}

	.grid-sizer {
		width: 420px;
	}
	
	
	.grid-item.project_1 {
		width: 940px;
		height: auto;
	}

	.grid-item.project_2 {
		width: 460px;
		height: auto;
	}

	.grid-item.project_3 {
		width: 620px;
		height: auto;
		min-height: 420px;
	}

	.grid-item.project_4 {
		height: auto;
		min-height: 420px;
	}

	.grid-item.project_5 {
		height: auto;
	}

	.grid-item.project_6 {
		height: auto;
	}

	.grid-item.project_4,
	.grid-item.project_5,
	.grid-item.project_6 {
		width: 300px;
	}
	
	.card h3 {
		font-size: 1.6rem;
	}
	
}


@media( max-width: 991px ) {
	
	.projects_block .card {
		min-height: 200px;
	}
	
	.card h3 {
		font-size: 1.2rem;	
	}
	
	.grid {
		max-width: 720px;
		margin: 0 auto;
		box-sizing: border-box;
	}

	.grid-sizer {
		width: 420px;
	}
	
	
	.grid-item.project_1 {
		width: 700px;
		height: auto;
	}

	.grid-item.project_2 {
		width: 340px;
		height: auto;
	}

	.grid-item.project_3 {
		width: 460px;
		height: auto;
		min-height: 312px;
	}

	.grid-item.project_4 {
		height: auto;
		min-height: 312px;
	}

	.grid-item.project_5 {
		height: auto;
	}

	.grid-item.project_6 {
		height: auto;
	}

	.grid-item.project_4,
	.grid-item.project_5,
	.grid-item.project_6 {
		width: 220px;
	}
	
	#main-nav .container {
		max-width: 660px;
	}

    .header_block p {
        font-size: 1.5rem;
    }
	
}


.bootstrap-select .dropdown-menu {
	top: 100%!important;
	-webkit-transform:translate3d(0,0,0)!important;
	transform:translate3d(0,0,0)!important;
}



@media( max-width: 767px ) {

	
	.large_header_block.projects_large_header_block .desktop {
		display: none;
	}
	
	.large_header_block.projects_large_header_block .mobile {
		display: block;
	}

    .large_header_block.projects_large_header_block .video_container {
        height: 400px;
    }
	
	.portfolio_block.fadeIn {
		animation-name: none!important;
		-webkit-animation-name: none!important;
	}
	
	.header_block p {
		padding: 0 1rem;
	}
	
	.card h3 {
		font-size: 2rem;
	}
	
	.post-type-archive-clients .header_block {
		background-image: none!important;
		background: #4a4a49;
		height: 250px;
	}
	
	.post-type-archive-clients .header_block p {
		display: none;
	}
	
	.archive-clients.block {
		background: #4a4a49;
	}
	
	.slider_block ul li {
		width: 100%;
		display: block;
		margin-bottom: 0.2rem;
	}
	#main-nav .container {
		max-width: 90%;
	}
	
	#main-nav ul#menu-main li {
		border-left: 0;
		border-right: 0;
		border-top: 0;
		margin: 0;
		width: 100%;
		float: none;
		height: auto;
	}
	
	#main-nav ul#menu-main li a {
		position: static;
		padding: 1rem 0;
		transform: none;
	}
	
	#main-nav ul#menu-main li a span {
		transform: none;
		position: static;
	}
	
	#main-nav ul#menu-main li:first-of-type {
		border-top: 1px solid #fff;
	}
	
	.contact_block img {
		display: none;
	}
	
	#main-header-section p {
		font-size: 1rem;
	}
	
	.h2, h2,
	.h1, h1 {
		font-size: 2.5rem;
	}
	
	.single-projects .content_block h2,
	.header_block p,
	.contact_block h3,
	.card h3,
	body,
	.header_slider_block p {
		font-size: 1.3rem;
	}
	
	.single-projects .content_cols p,
	.contact_block p {
		font-size: 1rem;
	}
	
	.col-sm-d-2 {
    	-ms-flex: 0 0 100%;
    	flex: 0 0 100%;
    	max-width: 100%;
	}
	
	.footer .row > div {
		border: 0!important;
		margin-bottom: 1rem;
	}
	
	.footer .row > div:last-of-type {
		margin-bottom: 0;
	}
	
	.syncHeights,
	.syncHeightFooter {
		min-height: 0!important;
	}
	
	.contact_grid,
	.contact_grid .contact {
		width: 100%;
		height: auto;
		display: block!important;
		border-left: 0;
		border-right: 0;
		border-top: 0;
	}
	
	.contact_block .col > div:first-of-type > div:first-of-type {
		border-top: 1px solid #fff;
	}
	
	.contact_grid .contact {
		margin: 0;
		padding: 1rem 0;
	}

	.header_block .justify-content-center {
	    -ms-flex-item-align: end!important;
    	align-self: flex-end!important;
	    -ms-flex-pack: end!important;
    	justify-content: flex-end!important;
		margin-bottom: 2rem;
	}
	
	
	.grid {
		max-width: 720px;
		margin: 0 auto;
		box-sizing: border-box;
	}

	.grid-sizer {
		width: 420px;
	}
	
	
	.grid-item.project_1 {
		width: calc(100% - 20px);
		height: auto;
	}

	.grid-item.project_2 {
		width: calc(100% - 20px);
		height: auto;
	}

	.grid-item.project_3 {
		width: calc(100% - 20px);
		height: auto;
		min-height: 0;
	}

	.grid-item.project_4 {
		height: auto;
		min-height: 0;
		width: calc(100% - 20px);
	}
	
	#main-header-section .col-8 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}

	.grid-item.project_5 {
		height: auto;
	}
	
	.header_block {
		height: 600px;
	}

	.grid-item.project_6 {
		height: auto;
	}

	.grid-item.project_4,
	.grid-item.project_5,
	.grid-item.project_6 {
		width: calc(100% - 20px);
	}
	
	.bootstrap-select {
		margin-bottom: 0.5rem;
	}

}

#main-nav ul#menu-main {
	margin-bottom: 30px;
}

#main-nav ul#menu-main li:first-of-type {
	border: 0;
}

#main-nav ul#menu-main li a {
	padding: 0;
}

#main-nav ul#menu-main li {
	float: none;
	margin: 0 auto 15px;
	height: auto;
	width: 100%;
	text-align: center;
	border: 0;
}

#main-nav ul#menu-main li a span:before {
	display: none;
}

#main-nav ul#menu-main li a {
	position: static;
	    text-transform: uppercase;
}

#main-nav ul#menu-main li:hover {
	background: none;
}

#main-nav ul#menu-main li:hover a {
	color: #cd1719;
}

#main-nav ul#menu-main li a span {
	position: static;
	transform: none;
}
