/* Essence Pro Front Page
Loads on the front page */

/* Front Page
---------------------------------------------------------------------------- */

.front-page .site-inner {
	background-color: transparent;
	box-shadow: none;
}

.front-page .site-inner::before {
	display: none;
}

.front-page.full-width-content .content {
	max-width: none;
	width: 100%;
}

.front-page .site-inner .display-posts-listing {
    padding-top: 30px;
}

/* Front Page Hero
--------------------------------------------- */

.hero-section {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
	padding: 1% 0 0 0;
	position: relative;
	text-align: center;
    height: 100%;
}

.hero-section .wrap {
    padding: 0 10% 0 10%;
}

.hero-section a:focus,
.hero-section a:hover,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section .button.more-link.text:focus,
.hero-section .button.more-link.text:hover {
	border-width: 0;
	color: #fff;
	text-decoration: none;
}

.hero-title {
	color: #fff;
    margin-left: auto;
    margin-right: auto;
	font-size: 50px;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-description {
	margin: 0 auto 28px;
	max-width: 600px;
    font-size: 25px;
}

/* Titles
--------------------------------------------- */

.front-page .site-inner h3 {
    font-family: 'Boogaloo', serif;
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin: 0 40px 40px 40px;
}

.front-page .site-inner h4 {
    color: #888888;
    font-family: 'Fira Sans', sans-serif;
    font-size: 23px;
    text-align: center;
    margin: 0 0 40px 0;
}

.front-page-3 h4:before,
.front-page-5 h4:before,
.front-page-6 h4:before {
    background-color: #dedede;
    content: "";
    height: 2px;
    display: block;
    width: 100%;
}

.front-page-3 h4 span,
.front-page-5 h4 span,
.front-page-6 h4 span {
    width: 50%;
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #f4f4f4;
    padding: 20px 7% 20px 7%;
    margin-top: -35px;
}

.front-page .display-posts-listing .entry-title {
    font-family: 'Fira Sans', sans-serif;
}


/* Front Page 1
--------------------------------------------- */

.front-page-1 {
    margin-bottom: 40px;
}

.front-page-1 .flexible-widgets {
    background-color: #fff;
    box-shadow: 0 25px 60px 0 rgba(0, 0, 0, 0.05);
    padding: 10px 0px 10px 10px;
}

.front-page-1 blockquote {
    font-size: 18px;
    font-size: 1.8rem;
}

.front-page-1::after {
    background-color: #95dee3;
    content: "";
    display: block;
    height: 100px;
    margin: -50px auto 0px auto;
    position: relative;
    width: 2px;
    z-index: 9;
}

/* Front Page 2
--------------------------------------------- */

.front-page-2 {
	margin-bottom: 20px;
}

.front-page-2 .display-posts-listing {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.front-page-2 article {
    width: 31%;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 25px 60px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.front-page-2 article img {
    width: 100%;
}

.front-page-2 article .entry-header {
    padding: 15px 20px 15px 20px;
}

.front-page-2 article .entry-title {
    font-size: 20px;
    text-decoration: none;
    color: #111;
}

.front-page-2 article .entry-title:hover {
    text-decoration: underline;
    color: #26619C;
}



/* Front Page 3
--------------------------------------------- */

.front-page-3 h3 {
    margin-top: 40px;
}

.front-page-3 .display-posts-listing {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.front-page-3 article {
    width: 32%;
    box-shadow: 0 25px 60px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.front-page-3 article a {
    height: 220px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.front-page-3 article img {
    min-width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition:    all 0.3s ease-in-out;
    -ms-transition:     all 0.3s ease-in-out;
    -o-transition:      all 0.3s ease-in-out;
    transition:         all 0.3s ease-in-out;
}

.front-page-3 article img:hover {
    transform: scale(1.05);
}

.front-page-3 .read-more {
    margin-bottom: 60px;
}

/* Front Page 4
--------------------------------------------- */

.front-page-4 {
    margin-bottom: 40px;
}

.front-page-4::before {
    background-color: #95dee3;
    content: "";
    display: block;
    height: 100px;
    margin: 0px auto -50px auto;
    position: relative;
    width: 2px;
    z-index: 9;
}

.front-page-4 .flexible-widgets {
    padding-top: 80px;
    background-color: #fff;
    box-shadow: 0 25px 60px 0 rgba(0, 0, 0, 0.05);
}

.front-page-4 article img {
    width: 50%;
}

.front-page-4 article:first-child img {
    float: left;
    margin-right: 30px;
}

.front-page-4 article:first-child .entry-header,
.front-page-4 article:first-child .entry-content {
    padding-right: 30px;
}

.front-page-4 article:nth-child(2) img {
    float: right;
    margin-left: 30px;
}

.front-page-4 article:nth-child(2) .entry-header {
    padding-top: 30px;
}

.front-page-4 article:nth-child(2) .entry-header,
.front-page-4 article:nth-child(2) .entry-content {
    padding-left: 30px;
}

.front-page-4 article .entry-header {
    padding-bottom: 20px;
    font-size: 30px;
    color: #111;
}

.front-page-4 article .entry-content .read-more {
    margin-top: 40px;
}

.front-page-4 article .entry-content a {
    font-weight: normal;
}

/* Front Page 5
--------------------------------------------- */

.front-page-5 .flexible-widgets .widget {
    padding: 80px 0 50px 0;
}

.front-page-5 .category-wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0 20px 0;
}

.front-page-5 .category-wrap .category {
    width: 18%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
}

.front-page-5 .category-wrap .category i {
    height: 110px;
    font-size: 70px;
    text-align: center;
    color: #95dee3;
}

.front-page-5 .category-wrap .category .category-title {
    width: 90%;
    font-family: 'Boogaloo', serif;
    font-size: 22px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    text-align: center;
    padding: 5px;
    background-color: #888888;
}

.front-page-5 .category-wrap .category .category-title:hover {
    background-color: #95DEE3;
}

.front-page-5 .category-wrap .category a {
    text-decoration: none;
    color: white;
    display: block;
    width: 100%;
}

.front-page-5 .category-wrap .category-description {
    text-align: center;
}

/* Front Page social media
--------------------------------------------- */

.front-page-social-media::before {
    background-color: #95dee3;
    content: "";
    display: block;
    height: 100px;
    margin: 0px auto -50px auto;
    position: relative;
    width: 2px;
    z-index: 9;
}

.front-page-social-media {
    margin-bottom: 40px;
}

.front-page-social-media .flexible-widgets {
    background-color: #fff;
    box-shadow: 0 25px 60px 0 rgba(0, 0, 0, 0.05);
    padding-top: 80px;
    padding-bottom: 40px;
}

.front-page-social-media .flexible-widgets .social-media-wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
}

.front-page-social-media .social-media {
    width: 21%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.front-page-social-media .social-media a {
    width: 100%;
    height: 100px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.front-page-social-media .social-media a:hover {
    opacity: 0.7;
}

.front-page-social-media #facebook a {
    background-image: url(/wp-content/themes/essence-pro/images/facebook.svg);
}

.front-page-social-media #facebook-group a {
    background-image: url(/wp-content/themes/essence-pro/images/facebook-group.svg);
}

.front-page-social-media #instagram a {
    background-image: url(/wp-content/themes/essence-pro/images/instagram.svg);
}

.front-page-social-media #pinterest a {
    background-image: url(/wp-content/themes/essence-pro/images/pinterest.svg);
}

.front-page-social-media .social-media-description {
    padding-top: 20px;
    text-align: center;
}


/* Front Page 6
--------------------------------------------- */

.front-page-6 h3 {
    margin-top: 40px;
}

.front-page-6 .display-posts-listing {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 15% 0 15%;
}

.front-page-6 article {
    width: 45%;
    box-shadow: 0 25px 60px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.front-page-6 article a {
    height: 220px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.front-page-6 article img {
    min-width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition:    all 0.3s ease-in-out;
    -ms-transition:     all 0.3s ease-in-out;
    -o-transition:      all 0.3s ease-in-out;
    transition:         all 0.3s ease-in-out;
}

.front-page-6 article img:hover {
    transform: scale(1.05);
}

/* Front Page 7
--------------------------------------------- */
.front-page-7 .flexible-widgets {
    padding: 80px 0 40px 0;
}

.front-page-7 blockquote {
    font-family: 'Boogaloo', serif;
    text-align: center;
    font-size: 40px;
}

.front-page-7 span {
    font-size: 22px;
    display: block;
    width: 100%;
    text-align: center;
    color: #888;
}

/* Media Queries
---------------------------------------------------------------------------- */

@media only screen and (max-width: 1360px) {}

@media only screen and (max-width: 1200px) {

    .front-page-3 article a {
        height: 180px;
    }

        .front-page-4 article .entry-header {
        font-size: 24px;
    }

    .front-page-4 article .entry-content {
        font-size: 17px;
    }

    .front-page-4 article .entry-content .read-more {
        margin-top: 20px;
    }

    .front-page-6 .display-posts-listing {
        padding: 0 10% 0 10%;
    }

}

@media only screen and (max-width: 1023px) {

    .site-inner {
        padding-top: 0% !important;
    }

    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .front-page-2 article {
        width: 46%;
    }

    .front-page-3 article {
        width: 48%;
    }

    .front-page-3 article a {
        height: 220px;
    }

    .front-page-4 article:first-child img {
        margin-right: 15px;
    }

    .front-page-4 article:first-child .entry-header,
    .front-page-4 article:first-child .entry-content {
        padding-right: 15px;
    }

    .front-page-4 article:nth-child(2) img {
        margin-left: 15px;
    }

    .front-page-4 article:nth-child(2) .entry-header {
        padding-top: 15px;
    }

    .front-page-4 article:nth-child(2) .entry-header,
    .front-page-4 article:nth-child(2) .entry-content {
        padding-left: 15px;
    }

    .front-page-4 article .entry-header {
        padding-bottom: 15px;
        font-size: 22px;
    }

    .front-page-4 article .entry-content {
        font-size: 16px;
    }

    .front-page-5 .category-wrap {
        justify-content: space-evenly;
    }

    .front-page-5 .category-wrap .category {
        width: 31%;
    }

    .front-page-social-media .social-media {
        width: 40%;
    }

    .front-page-6 .display-posts-listing {
        padding: 0 5% 0 5%;
    }
}

@media only screen and (max-width: 860px) {

    .front-page .site-inner h3 {
        font-size: 30px;
    }

    .front-page .site-inner h4 {
        font-size: 22px;
    }

    .front-page-1 .wrap {
        padding-right: 0px;
        padding-left: 0px;
    }

    .front-page-2 article .entry-title {
        font-size: 18px;
    }

    .front-page-3 article a {
        height: 150px;
    }

    .front-page-4 article img {
        width: 100%;
    }

    .front-page-4 article:first-child img {
        margin-right: 0px;
        margin-bottom: 15px;
    }

    .front-page-4 article:first-child .entry-header,
    .front-page-4 article:first-child .entry-content {
        padding-right: 15px;
    }

    .front-page-4 article:nth-child(2) img {
        margin-left: 0px;
        margin-bottom: 15px
    }

    .front-page-4 article:nth-child(2) .entry-header {
        padding-top: 15px;
    }

    .front-page-4 article:nth-child(2) .entry-header,
    .front-page-4 article:nth-child(2) .entry-content {
        padding-left: 15px;
    }

    .front-page-4 article .entry-header {
        padding-bottom: 15px;
    }

    .front-page-4 article .entry-content {
        padding-bottom: 15px;
    }

    .front-page-5 .category-wrap .category {
        width: 48%;
    }

    .front-page-social-media section.widget_media_image {
        width: 45%;
    }

    .front-page-6 .display-posts-listing {
        padding: 0 0 0 0;
    }

    .front-page-6 article {
        width: 48%;
    }

    .front-page-6 article a {
        height: 150px;
    }

}

@media only screen and (max-width: 700px) {

    .front-page .site-inner .display-posts-listing {
        padding-top: 15px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 22px;
    }

    .front-page .site-inner h3 {
        font-size: 28px;
    }

    .front-page .site-inner h4 {
        font-size: 16px;
    }

    .front-page-3 h4 span,
    .front-page-5 h4 span {
        margin-top: -30px;
    }

    .front-page-1 .flexible-widgets img {
        width: 50%;
    }

    .front-page-2 article,
    .front-page-3 article,
    .front-page-6 article {
        width: 100%;
    }

    .front-page-3 article a,
    .front-page-6 article a{
        height: auto;
    }

    .front-page-social-media .social-media {
        width: 70%;
    }

    .front-page-7 blockquote {
        font-size: 30px;
    }
}

@media only screen and (max-width: 450px) {

    .hero-title {
        font-size: 35px;
    }

    .front-page-1 .flexible-widgets {
        padding: 0px 0px 0px 0px;
    }

    .front-page-1 .flexible-widgets img {
        width: 100%;
        margin-top: -30px;
    }

    .front-page-5 .category-wrap .category {
        width: 100%;
    }

    .front-page-social-media section.widget_media_image {
        width: 100%;
    }

    .front-page-social-media .social-media {
        width: 90%;
    }

    .front-page-7 blockquote {
        font-size: 25px;
    }

    .front-page-7 span {
        font-size: 20px;
    }
}
