@charset "utf-8";

/*
Theme Name: The Cove Properties Theme
Version: 1.1
Author: Manuel Antonio Sandoval Valenzuela.
Description: Theme for "The Cove Properties Baja" Website.
Tags: one-column.
*/

@font-face {
	font-family: 'Montserrat';
	font-weight: normal;
	font-style: normal;
	src: url('assets/fonts/montserrat-regular.ttf') format('truetype');
}

@font-face {
	font-family: 'Montserrat';
	font-weight: bold;
	font-style: normal;
	src: url('assets/fonts/montserrat-bold.ttf') format('truetype');
}

@font-face {
	font-family: 'Montserrat';
	font-weight: normal;
	font-style: italic;
	src: url('assets/fonts/montserrat-italic.ttf') format('truetype');
}

body {
  background-image: url('assets/img/bg_1.jpeg');
  background-attachment: fixed;
  font-family: 'Montserrat';
  font-size: 16px;
  margin: 0;
  padding: 0;
	z-index: 0;
}

main {
	z-index: 1;
}

/* SITE HEADER */

.main-header {
  background-color: #ffffff;
  width: 100%;
}

.header-title {
  border-bottom: 1px solid #ebebeb;
  width: 100%;
}

.header-title h1,
.header-title p {
  text-align: center;
  padding: 0;
  margin: 0;
}

.header-title h1 {
  font-weight: bold;
}

/* RESPONSIVE STYLES */

/* XX-Large screen */
@media screen and (min-width: 1400px) {
  .main-header {
    height: 110px;
    padding: 0;
  }

  .header-title {
    border-bottom: 1px solid #ebebeb;
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* X-Large screen */

@media screen and (min-width: 1200px) {
  .main-header {
    height: 110px;
    padding: 0;
  }

  .header-title {
    border-bottom: 1px solid #ebebeb;
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Large screen */

@media screen and (min-width: 992px) {
  .main-header {
    height: 110px;
    padding: 0;
  }

  .header-title {
    border-bottom: 1px solid #ebebeb;
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Medium screen */

@media screen and (min-width: 768px) {
  .main-header {
    height: 110px;
    padding: 0;
  }

  .header-title {
    border-bottom: 1px solid #ebebeb;
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Small screen */

@media screen and (min-width: 576px) {
  .main-header {
    height: 110px;
    padding: 0;
  }

  .header-title {
    border-bottom: 1px solid #ebebeb;
    height: 110px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Extra Small screen */

@media screen and (min-width: 1px) and (max-width: 575px) {
  .main-header {
    height: 110px;
    padding: 0;
  }

  .header-title {
    border-bottom: 1px solid #ebebeb;
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* SITE MENU */

.main-menu {
  background-color: #fff;
  overflow: hidden;
  position: sticky;
  z-index: 9999;
}

.main-menu ul {
  list-style: none;
  text-align: center;
  background-color: #fff;
}

.main-menu ul li {
  transition: 0.3s;
  text-transform: uppercase;
  background-color: white;
}

.main-menu ul li:hover {
  color: #a0a0a0;
}

.main-menu ul li a {
  display: block;
  padding: 0 2em;
  text-decoration: none;
  color: #000000;
}

.main-menu ul li a:hover {
  color: #a0a0a0;
}

/* Hover link color. */
.main-menu ul li:hover a,
.main-menu ul li:focus a {
  color: #a0a0a0;
}

@media (min-width: 992px) {
  .main-menu {
    align-items: center;
    border-bottom: 1px solid #ebebeb;
    display: flex;
    justify-content: center;
    margin: 0;
    min-height: 64px;
    padding: 0;
    top: 0;
    width: 100%;
  }

  .main-menu ul {
    height: 64px;
    margin: 0;
    padding: 0;
  }

  .main-menu ul li {
    font-size: 1rem;
    line-height: 64px;
    display: inline-block;
    height: 64px;
    margin-right: -4px;
  }

  .menu-logo {
    width: auto;
    height: 64px;
    text-align: center;
    margin: 0;
    display: inline-block;
  }

  .menu-logo img {
    width: auto;
    height: 54px;
	margin: 5px 0;
  }

  .menu-button {
    display: none;
  }
}

@media (min-width: 1px) and (max-width: 991px) {
  .menu-logo,
  .menu-logo img {
    display: none;
  }

	.main-menu {
    border: 1px solid #ebebeb;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    height: 64px;
    margin: 0.5em;
    top: 0.5em;
    width: 64px;
    z-index: 999;
  }

  .main-menu:hover {
    width: auto;
    height: auto;
  }

  .main-menu ul li {
    font-size: 1rem;
    line-height: 64px;
    height: 64px;
    text-align: left;
  }

  .menu-button {
    float: left;
  }

  .menu-button button {
    width: 64px;
    height: 64px;
    border: 1px solid white;
    background-color: white;
    color: #000000;
  }
}


/* SITE FOOTER */

.main-footer {
  width: 100%;
}

.main-footer-content {
  background-color: #ebebeb;
  height: 100%;
  width: 100%;
}

.main-footer-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.main-footer-content p {
  font-size: 0.9rem;
  text-align: justify;
}

.main-footer-content span {
  color: #a0a0a0;
}

/* RESPONSIVE STYLES */

/* Large screen */

@media screen and (min-width: 992px) {
  .main-footer {
    padding: 2em 4em;
    margin: 0;
  }
}

/* Extra Small screen */

@media screen and (min-width: 1px) and (max-width: 991px) {
  .main-footer {
    padding: 1em;
    margin: 0;
  }
}

/* FRONT PAGE */

.front-page-content-center {
  z-index: 2;
}

.front-page-content-form {
  background-color: #ebebeb;
}

.front-page-content-form [type="submit"] {
  background-color: #8f859e;
  border: 1px solid #8f859e;
  color: #ffffff;
  padding: 0.5em;
  width: 100%;
}

.front-page-content-form [type="text"],
.front-page-content-form [type="email"],
.front-page-content-form [type="tel"],
.front-page-content-form textarea {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.5em;
  width: 100%;
}

.front-page-content-form-2 {
  background-color: #ebebeb;
}

.front-page-content-form-2 [type="submit"] {
  background-color: #8f859e;
  border: 1px solid #8f859e;
  color: #ffffff;
  padding: 0.5em;
  width: 100%;
}

.front-page-content-form-2 [type="text"],
.front-page-content-form-2 [type="email"],
.front-page-content-form-2 [type="tel"],
.front-page-content-form-2 textarea {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.5em;
  width: 100%;
}

/* RESPONSIVE STYLES */

/* Large screen */

@media screen and (min-width: 992px) {
  .front-page-content-center {
    margin: 1em auto;
    padding: 0 4em;
    width: 75%;
  }

  .front-page-content-form {
    padding: 2em;
  }

  .front-page-content-form-2 {
    margin: 4em auto;
    padding: 1em;
    width: 50%;
  }
}

/* Extra Small screen */

@media screen and (min-width: 1px) and (max-width: 991px) {
  .front-page-content-center {
    margin: 1em auto;
    padding: 0;
    width: 95%;
  }

  .front-page-content-form {
    padding: 0.5em;
  }

  .front-page-content-form-2 {
    margin: 0 auto;
    padding: 0.5em;
    width: 100%;
  }
}

/* BLOG PAGE. */


.blog-page-title h2 {
  font-weight: bold;
  text-align: center;
}

.blog-article:nth-of-type(odd) {
  background-color: #ebebeb;
}

.blog-article-header {
  min-width: 0;
  max-width: 100%;
}

.blog-article-header h3 {
  font-weight: bold;
}

.blog-article .blog-article-header-line {
  width: 0;
  height: 2px;
  transition: 0.3s;
  background-color: #8f859e;
}

.blog-article:hover .blog-article-header-line {
  width: 100%;
}

.blog-article-header a {
  text-decoration: none;
  color:#8f859e;
  transition: 0.3s;
}

.blog-article-header a:hover {
  color: #8f859e;
  filter: brightness(0.7);
}

/* RESPONSIVE STYLES */

/* Large screen */

@media screen and (min-width: 992px) {
  .blog-page-title {
    margin: 2em auto;
  }

  .blog-article {
    margin: 1em auto;
    padding: 1em;
    width: 75%;
  }
}

/* Extra Small screen */

@media screen and (min-width: 1px) and (max-width: 991px) {
  .blog-page-title {
    margin: 0 auto;
  }

  .blog-article {
    margin: 1em auto;
    padding: 1em;
    width: 95%;
  }
}

/* PAGINATION BAR ON BLOG */

.pagination {
	background-color: none;
	text-align: center;
}

.pagination a {
  border: 1px solid #8f859e;
	display: inline-block;
	text-decoration: none;
	color: #ffffff;
	background-color: #8f859e;
	margin: 0 0.25em;
}

.pagination a:hover {
	color: #ffffff;
	background-color: #8f859e;
	border: 1px solid #8f859e;
  filter: brightness(1.2);
}

.pagination span {
  border: 1px solid #8f859e;
	display: inline-block;
	text-decoration: none;
	color: #8f859e;
	cursor: default;
	transition: 0.3s;
	background-color: #ffffff;
}

@media screen and (min-width: 992px) {
	.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
	}

	.pagination a {
		min-width: 40px;
		height: 40px;
		line-height: 40px;
		padding: 0 .5em;
	}

	.pagination span {
		min-width: 40px;
		height: 40px;
		line-height: 40px;
		padding: 0 .5em;
		margin: 0 .5em;
	}
}

@media screen and (min-width: 0) and (max-width: 991px) {
	.pagination {
		width: 100%;
		min-height: 100px;
		padding: 1em 0;
	}

	.pagination a {
		min-width: 40px;
		height: 40px;
		line-height: 40px;
		margin: 0 .5em;
		padding: 0 .5em;
	}

	.pagination a:hover {
		color: #ffffff;
		background-color: #f37f65;
		border: 2px solid #f37f65;
	}

	.pagination span {
		min-width: 40px;
		height: 40px;
		line-height: 40px;
		padding: 0 .5em;
		margin: 0 .5em;
	}
}

/* SINGLE PAGE */

.single-header h1 {
  font-weight: bold;
  text-align: center;
}

/* RESPONSIVE STYLES */

/* Large screen */

@media screen and (min-width: 992px) {
  .single-header {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
  }

  .single-article {
    margin: 0 auto;
    width: 75%;
  }
}

/* Extra Small screen */

@media screen and (min-width: 1px) and (max-width: 991px) {
  .single-header {
    margin-bottom: 2em;
  }

  .single-article {
    margin: 0 auto;
    width: 90%;
  }
}
