/*
Theme Name: Square Elephant
Theme URI: https://hashthemes.com/wordpress-theme/square/
Author: Amanda Wright @ Little Bird Web Services
Author URI: https://littlebirdwebservices.co.uk
Description: Square child theme.
Template: square
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0.0
*/

/* Styles for text */
/* Blockquotes - Gutenberg Default Styles */
/*.wp-block-quote{
    background: url("images/icon-elephant.png") no-repeat top left;
    padding-bottom: 3.25em;
}
.wp-block-quote p{
    padding-left:170px; padding-top:1em;
 }
.wp-block-quote cite {
    padding-left: 170px;
}
blockquote{
    margin-bottom: 2em; margin-top:1em;
}
blockquote p{
    margin-bottom: 0;
}
blockquote p:before, q:before  {
    content:"\201C";
}
blockquote p:after, q:after  {
    content:"\201D"
}
blockquote cite {font-style: normal; font-weight: 600; font-size: 14px;  }*/

/* Styles for Easy Testimonial Plugin Output */
.single-testimonial .easy_testimonial_title {
    display:none;
}

.testimonial_body p:before {
    content:"\201C";
}

.testimonial_body p:last-of-type {
    margin-bottom: 0;
}

.testimonial_body p:last-of-type:after {
    content:"\201D";
}

blockquote.easy_testimonial .wp-post-image {
    float: left;
    margin: 0.5em 1em 1em 0;
}
.testimonial-client:after {
    content:", ";
}

.testimonial_author {
    line-height: 1.2;
    margin-top:0.5em;
}

blockquote.easy_testimonial cite {
    font-style: normal; font-weight: 600; font-size: 14px;
}

.easy_testimonial {
    background: url("images/icon-elephant-sml.png") no-repeat center bottom;
    margin-bottom: 2.5em;
    padding-bottom: 3.5em;
}

.single-testimonial .easy_testimonial {
    background-image: none;
}

.easy_testimonial_title {
    font-weight: 700;
    margin-bottom: 0.25em;
}

@media screen and (max-width: 480px) {

    blockquote.easy_testimonial .wp-post-image {
        float: none;
        margin: 1em auto 1em auto;
        display: block;
    }

    .easy_testimonial {
        margin-bottom: 4.5em;
        padding-bottom: 4em;
    }
}

/* Style the footer changes */
#sq-colophon .sq-site-info {font-size:13px;}
.sq-site-social {text-transform: uppercase; font-weight: 600;}

@media screen and (max-width: 768px){

    #sq-bottom-footer{
        text-align: center;
    }
    .sq-site-info{
        float: none;
    }

    .sq-site-social{
        float: none;
        margin-top: 15px;
    }
    
}

/* Extra CF7 styles  */
input.wpcf7-submit {font-weight: 600; text-transform: uppercase; background-color: #53b848; color: black;}
input.wpcf7-submit:hover, input.wpcf7-submit:focus {background-color: black; color: white; }

/* Darken the heading text in page header/slider for better readability on photo backgrounds*/
.sq-main-title, .sq-slide-cap-title, .sq-slide-cap-desc {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

/*
* Make accessible link/button/navigation colour - needs colour contrast with white
* - excluded WooCommerce styles as not required in this project
*/
a:hover,
a:focus,
a:active {
    color: #2579B1;
}

.single-entry-content a{
    color: #2579B1;
    text-decoration: underline;
}

.single-entry-content a:hover, .single-entry-content a:focus {
    color: black;
}

.square-share-buttons a:hover{
    background: #2579B1;
    color: #FFF;
    border: 1px solid #2579B1;
}
#sq-bottom-footer .sq-site-info a{
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}


#sq-bottom-footer .sq-site-info a:hover, #sq-bottom-footer .sq-site-info a:focus {
    color:white;
}

.comment-navigation .nav-previous a,
.comment-navigation .nav-next a {
    background: #2579B1;
}

.comment-navigation .nav-next a:after {
    border-left: 11px solid #2579B1;
}

.comment-navigation .nav-previous a:after {
    border-right: 11px solid #2579B1;
}

.sq-main-navigation ul ul li:hover > a{
    background: #2579B1;
}

.sq-white .sq-menu > ul > li:hover > a::before,
.sq-white .sq-menu > ul > li.current_page_item > a::before,
.sq-white .sq-menu > ul > li.current-menu-item > a::before {
    background:#5bc2ce;
}

#sq-home-slider-section .bx-wrapper .bx-controls-direction a:hover{
    background: #2579B1;
}

/* Keep inaccessible turquoise
.sq-featured-post .sq-featured-readmore:hover{
    color: #53b848;
}*/

.pagination a:hover,
.pagination span{
    color:#2579B1;
    border-bottom: 2px solid #2579B1;
}

