/*
 Theme Name:   Naturally Animals
 Description:  Naturally animals custom theme based on the pet-business theme.
 Author:       Jonathan Barbin
 Template:     pet-business
 Version:      0.1.10
 Text Domain:  naturally-animals
*/

@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

/****************************************/
/**************  GLOBAL  ****************/
/****************************************/

hr {
    margin: 50px 0;
    background-color: #009999;
    opacity: 0.4;
}

#inner-content-wrapper {
    padding: 100px 0!important;
}

div.entry-content {
    text-align: justify;
}

/****************************************/
/**************  /GLOBAL  ***************/
/****************************************/

/****************************************/
/************  NAVIGATION  **************/
/****************************************/

.language-switcher {
    float: right;
    margin-left: 40px;
}

.language-switcher ul {
    list-style: none;
}

.language-switcher > div > ul > li > a {
    padding: 36px 18px;
    display: block;
    text-align: center;
}

.language-switcher > div > ul > li {
    position: relative;
    width: 80px;
}

.language-switcher > div > ul > li > ul.sub-menu {
    display: none;
    position: absolute;
    padding: 0;
    margin: -18px 0 0;
}

.language-switcher > div > ul > li > ul.sub-menu > li {
    width: 80px;
}

.language-switcher > div > ul > li > ul.sub-menu > li > a {
    display: block;
    text-align: center;
}

.language-switcher > div > ul > li:hover > ul.sub-menu {
    display: block;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation ul.nav-menu > li > a:hover,
.main-navigation ul.nav-menu > li > a:focus {
    color: #009999;
}

div.mobile-menu > div > nav a {
    padding: 0!important;
    text-align: center;
}

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

    nav#site-language {
        display: none;
    }

}

/****************************************/
/************  /NAVIGATION  *************/
/****************************************/

/****************************************/
/*************  HOMEPAGE  ***************/
/****************************************/

.posts-wrapper .entry-container.pricing h5 {
    margin-bottom: 5px;
}

.posts-wrapper .entry-container.pricing h5 span {
    float: right;
}

.posts-wrapper .entry-container.pricing span.description {
    font-size: .8rem;
    font-style: italic;
    line-height: normal;
}

.posts-wrapper.prices article {
    margin-bottom: 25px;
}

.single-wrapper h2.section-title {
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #009999;
}

.service-more-button {
    margin: 0 auto 0;
    display: flex;
    align-items: center;
}

.service-more-button a {
    text-transform: uppercase;
    font-weight: 700;
    background-color: #009999;
    border-radius: 20px;
    padding: 10px 19px;
    color: #ffffff;
    border: 1px solid #009999;
    transition: background-color 0.3s, color 0.3s;
    font-size: 0.9em;
}

.service-article .featured-image {
    position: relative;
    border-radius: 25px 25px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}

.service-article .featured-image > img {
    border-radius: 0;
}

.service-article .entry-container {
    padding: 0 20px;
    border-radius: 0 0 25px 25px;
    height: 300px;
}

.homepage-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.homepage-services > article.service-article {
    box-shadow: rgb(0 153 153 / 35%) 0 0 10px 0;
    border-radius: 25px;
    flex: 0 0 calc(50% - 50px);
    margin: 0 25px 100px;
    width: calc(50% - 50px);
    padding: 0;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.homepage-services > article.service-article > div.entry-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.homepage-services > article.service-article > div.entry-container > div.entry-header {
    flex: 1 0 20%;
    display: flex;
    align-items: center;
}

.homepage-services > article.service-article > div.entry-container > div.entry-header h2 {
    margin: 0;
}

.homepage-services > article.service-article > div.entry-container > div.service-more-button {
    flex: 1 0 30%;
    display: flex;
    align-items: center;
}

.homepage-services > article.service-article > div.entry-container > div.entry-content {
    flex: 1 0 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.homepage-services > article.service-article:hover div.service-more-button a {
    background-color: #ffffff;
    color: #009999;
}

.homepage-services > article.service-article:hover  {
    background-color: rgb(0 153 153 / 20%);
    box-shadow: rgb(0 153 153 / 35%) 0 0 40px 0;
    border-radius: 20px;
}

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

    .homepage-services > article.service-article {
        flex: 0 0 auto;
        width: inherit;
    }

}

/****************************************/
/*************  /HOMEPAGE  **************/
/****************************************/

/****************************************/
/*************  SERVICES  ***************/
/****************************************/

.page-service {
    padding-top: 0;
}

.page-service .service-header {
    margin-bottom: 60px;
    border-radius: 100px;
    overflow: hidden;
}

.page-service .prices {
    border-radius: 10px;
}

.page-service .prices:hover {
    background-color: rgba(0, 153, 153, 0.1);
}

.category-services .entry-container {
    margin: 40px 0 35px 0;
}

.page-service article.review-wrapper #respond .comment-notes,
.page-service article.review-wrapper #respond .comment-form-attachment__file-types-notice,
.page-service article.review-wrapper #respond .comment-form-attachment__autoembed-links-notice {
    display: none;
}

.page-service article.review-wrapper #respond .rating-wrapper {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: left;
}

.page-service article.review-wrapper #respond .comment-form-author {
    width: 100%;
    float: none;
}

.page-service article.review-wrapper #respond .comment-form-author > input {
    max-width: none;
}

.page-service article.review-wrapper #respond fieldset,
.page-service article.review-wrapper #respond label,
.page-service article.review-wrapper section.review fieldset,
.page-service article.review-wrapper section.review fieldset {
    margin: 0;
    padding: 0;
}

/****** Style Star Rating Widget *****/
.page-service article.review-wrapper #respond .rating {
    border: none;
    float: left;
}

.page-service article.review-wrapper section.review .rating {
    border: none;
}

.page-service article.review-wrapper #respond .rating > input,
.page-service article.review-wrapper section.review .rating > input {
    display: none;
}

.page-service article.review-wrapper #respond .rating > label:before,
.page-service article.review-wrapper section.review .rating > label:before {
    margin: 5px;
    font-size: 1.25em;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
}

.page-service article.review-wrapper #respond .rating > .half:before,
.page-service article.review-wrapper section.review .rating > .half:before {
    content: "\f089";
    position: absolute;
}

.page-service article.review-wrapper #respond .rating > label,
.page-service article.review-wrapper section.review .rating > label {
    color: #ddd;
    float: right;
}

/***** CSS Magic to Highlight Stars on Hover *****/

.page-service article.review-wrapper > #respond .rating > input:checked ~ label, /* show gold star when clicked */
.page-service article.review-wrapper > #respond .rating:not(:checked) > label:hover, /* hover current star */
.page-service article.review-wrapper > #respond .rating:not(:checked) > label:hover ~ label,
.page-service article.review-wrapper > section.review .rating > input:checked ~ label{ color: #009999;  } /* hover previous stars in list */
 >
.page-service article.review-wrapper > #respond .rating > input:checked + label:hover, /* hover current star when changing rating */
.page-service article.review-wrapper > #respond .rating > input:checked ~ label:hover,
.page-service article.review-wrapper > #respond .rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.page-service article.review-wrapper > #respond .rating > input:checked ~ label:hover ~ label { color: #d0f1f1;  }

article.review-wrapper > h3 {
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    color: #009999;
}

article.review-wrapper > section.review {
    padding: 20px 20px;
    margin: 20px 0;
    box-shadow: rgb(0 153 153 / 35%) 0 0 25px -5px;
    border-radius: 15px;
}

article.review-wrapper > section.review > header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

article.review-wrapper > section.review > header > div.review-author-picture {
    margin: 0 30px;
}

article.review-wrapper > section.review > header > div.review-author-information > h5 {
    margin: 0;
    font-size: 1.1em;
}

article.review-wrapper > section.review > header > div.review-author-information > time {
    margin: 0;
    color: #000000a8;
}

article.review-wrapper > section.review > div.review-pictures {
    margin: 30px auto;
}

article.review-wrapper > section.review > div.review-pictures > a > img {
    max-height: 100px;
}

/****************************************/
/*************  /SERVICES  **************/
/****************************************/

/****************************************/
/*************  PARTNERS  ***************/
/****************************************/

.partner-wrapper {
    position: relative;
    margin-bottom: 100px;
    margin-top: 250px;
}

.partner-wrapper:hover .partner-content {
    background-color: rgb(0 153 153 / 20%);
    box-shadow: rgb(0 153 153 / 35%) 0 0 40px 0;
}

.partner-wrapper .partner-picture {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    height: 80%;
    width: 35%;
    z-index: 10;
}

.partner-wrapper.right .partner-picture {
    right: 0;
    border-radius: 0 30% 0 30%;
    transform: translate(50%, -50%);
}

.partner-wrapper.left .partner-picture {
    left: 0;
    border-radius: 30% 0 30% 0;
    transform: translate(-50%, -50%);
}

.partner-wrapper .partner-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-size: 0.8em;
    overflow: hidden;
    box-shadow: rgb(0 153 153 / 35%) 0 0 5px 0;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.partner-wrapper.right .partner-content {
    left: 0;
    padding: 0 20% 0 50px;
    border-radius: 100px 0;
}

.partner-wrapper.left .partner-content {
    right: 0;
    padding: 0 50px 0 20%;
    border-radius: 0 100px;
}

.partner-wrapper .partner-content h5 {
    font-weight: 700;
    text-align: center;
}

.partner-wrapper .partner-content .partner-description {
    line-height: 1.5em;
    text-align: justify;
    overflow: hidden;
    margin-bottom: 15px;
}

.partner-wrapper .partner-content .partner-link a {
    display: block;
    width: fit-content;
    margin: 20px auto;
    border: 1px solid #009999;
    padding: 5px 25px;
    border-radius: 20px;
    background-color: #009999;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.partner-wrapper:hover .partner-content .partner-link a {
    background-color: #ffffff;
    color: #009999;
}

#map {
    height: 500px;
}

div.sidr-class-partner-picture,
div.sidr-class-partner-content {
    display: none;
}

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

    .partner-wrapper .partner-picture {
        position: relative;
        height: 300px;
    }

    .partner-wrapper .partner-content {
        position: relative;
        width: 100%;
    }

    .partner-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .partner-wrapper.left .partner-content {
         padding: 0 50px 0 50px;
     }

    .partner-wrapper.right .partner-picture {
        transform: none;
    }

    .partner-wrapper.left .partner-picture {
        transform: none;
    }

}

/****************************************/
/*************  /PARTNERS  **************/
/****************************************/

/****************************************/
/**************  CONTACT  ***************/
/****************************************/

.page-contact .contact-wrapper {
    display: flex;
}

.page-contact .contact-wrapper > div.contact-information {
    flex: 0 0 50%;
}

.page-contact .contact-wrapper > div.contact-information h3 {
    font-weight: 700;
}

.page-contact .contact-wrapper > div.contact-information p.contact-information-title {
    font-weight: 700;
    color: #000000b5;
    margin-top: 30px;
}

.page-contact .contact-wrapper > div.contact-form {
    flex: 0 0 50%;
    box-shadow: rgb(0 153 153 / 35%) 0 0 10px 0;
    border-radius: 40px 5px;
    padding: 30px;
}

.page-contact .contact-wrapper > div.contact-form form > p > input {
    border-radius: 30px;
}

.page-contact .contact-wrapper > div.contact-form form > p > label > span > input:focus-visible {
    outline: 2px solid #009999;
}

.page-contact .contact-map-wrapper {
    margin-top: 100px;
}

.page-contact .contact-map-wrapper #map-contact {
    height: 400px;
}

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

    .page-contact .contact-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .page-contact .contact-wrapper > div.contact-form {
        margin-top: 50px;
    }

}

/****************************************/
/*************  /CONTACT  ***************/
/****************************************/

/****************************************/
/**************  FOOTER  ****************/
/****************************************/

footer {
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000000e0;
    color: #ffffff;
}

footer > h3 {
    text-transform: uppercase;
    margin-left: 40px;
}

footer > h3 > a {
    text-decoration: none;
    color: #ffffff;
}

footer > h3:hover > a {
    color: #009999;
}

footer > nav > ul {
    list-style: none;
    padding: 0;
}

footer > nav > ul > li {
    position: relative;
    margin: 10px 0;
    text-align: center;
}

footer > nav > ul > li > a::before {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    background-color: #009999;
    bottom: 0;
    left: 50%;
    direction: rtl;
    transition: width 0.5s, left 0.5s;
}

footer > nav > ul > li > a::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    background-color: #009999;
    bottom: 0;
    left: 50%;
    transition: width 0.5s ease-out;
}

footer > nav > ul > li:hover > a::before {
    left: 0;
    width: 50%;
}

footer > nav > ul > li:hover > a::after {
    width: 50%;
}

footer > nav > ul > li:hover > a {
    color: #009999;
}

footer > nav > ul > li > a {
    position: relative;
    margin: 10px 0;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    padding-bottom: 4px;
}

footer > article.social-network {
    width: 300px;
}

footer > article.social-network > header > h5 {
    text-align: center;
    color: #ffffff;
}

footer > article.social-network > header > h5 {
    text-align: center;
}

footer > article.social-network > section {
    display: flex;
    justify-content: center;
}

footer > article.social-network > section > a > img {
    width: 30px;
}

@media screen and (max-width: 850px) {
    footer {
        flex-direction: column;
        height: fit-content;
        padding: 50px 0;
    }

    footer > h3 {
        margin-bottom: 40px;
    }

    footer > article.social-network {
        margin-top: 40px;
    }
}

/****************************************/
/**************  /FOOTER  ***************/
/****************************************/
