/*
Theme Name: Berryfields Aylesbury 2022
Author: WebRam
Author URI: https://www.webram.co.uk
Version: 2.0
*/


.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
}

.alignleft {
    float: left;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.gallery-caption {
    display: block;
    font-size: 0.71111em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0.5rem;
}

.bypostauthor {
    display: block;
}

/*Custom Styles*/
/* CB1C69  */

.navbar-brand {margin: 0 auto !important;}

section {
    margin: 1em 0;
}

header .navbar-brand {margin: 0 auto !important: }

#footer .copyright {
    background-color: #CB1C69;
    color: #ffffff;
}

#footer .copyright a,
#footer .copyright a:visited {
    color: #ffffff;
}

#footer .copyright a:hover, #footer .copyright a:visited:hover, #footer .copyright a:focus, #footer .copyright a:active {
    color: #000000;
}

.bsui body {
    background: #ffffff;
}

.bsui .shadow-sm {
    box-shadow: none !important;
}

.page-id-175 .content-single {display: none; visibility: hidden;}

.home .content-single header,
.home .content-single article {display: none; visibility: hidden;}


.gd-cats-display-checkbox span {
    width: 50% !important;
    display: inline-block !important;
}

.gd-cats-display-checkbox span .gd-make-default-term,
.gd-cats-display-checkbox span .gd-is-default-term { visibility: hidden; }



/*TEXT COLUMNS*/
.textColumns .col,
.textColumns img {
    margin-bottom: 1em;
}

.textColumns a.button {
    display: block;
}

a .lBox:hover {opacity: 0.8;}

/*CAROUSEL*/
.carousel-item {
    height: 70vh;
}

.carousel-control-next, .carousel-control-prev {
    width:5%;
}

.carousel-control-next, .carousel-control-prev {
    font-size: 2em;
    opacity:1;
}

.carousel-item .textBlock {
    background-color: rgba(44, 44, 44, 0.6);
    padding:5em 0;
}

.carousel-item .title {
    color:#ffffff;
    font-weight:400;
    font-size:1.8em;
    padding-left:7%;
    padding-right:7%;
}

.carousel-item .textBox {
    background-color: rgba(44, 44, 44, .7);
    padding:1em 0;
}


@media (max-width:1024px) {
    .carousel-item .title {
        font-size:2em;
    }
}

@media (max-width:768px) {
    .carousel-item .title {
        font-size:1.8em;
    }
}

@media (max-width:320px) {
    .carousel-item .title {
        font-size:1.4em;
    }
}

.carousel-item .button {
    margin-top:1em;
    margin: 20px ;
    background: #ffffff;
    color: #CB1C69;
    padding: 1em;
    display: block;

}

.item {
    /*margin: 30px 0;*/
}

.item .text {
    margin: 30px 0;
}

/*section p:last-of-type {
    margin-bottom: 0;
}
*/
@media (max-width: 768px) {
    section.textImage img {
        margin:20px 0;
    }
}

.cta {
    background:#CB1C69;
    text-align: center;
    padding: 1em;
}

.cta h1, .cta h2, .cta h3, .cta h4, .cta h5, .cta p {
    color: #ffffff;
}

.cta a.button {
    display: inline-block;
    background: #ffffff;
    color: #CB1C69;
    padding: 1em;
    margin: 10px;
}


/*Form*/
.gform_wrapper ul {
    list-style: none;
    padding-left:0;
}

.gform_wrapper li {
    margin-bottom: 15px;
}

.gform_wrapper label {
    width:100%;
    display: block;
    margin-bottom: 5px;
}

.validation_error {
    display: none;
}

.gform_wrapper input,
.gform_wrapper select,
.gform_wrapper textarea {
    width:100%;
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    background: #F5F5F5;
    border:1px solid #707070 ;
}

.gform_wrapper select {
    padding: 10px;
}

.gform_wrapper label {
    font-weight: 500;
}

.gform_wrapper .validation_error,
.gform_wrapper .validation_message {
    color:#C72C33 ;
    font-weight: 500;
}

.gform_wrapper .gfield_error input {
    border: 1px solid #C72C33;
}

.gform_footer .gform_button {
    border: none;
    padding: 0.5em 2.5em;
    display: inline-block;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.2em;
    background: #595959;
    color: #ffffff;
    float: left;

}

.gform_footer .gform_button:hover {
    text-decoration:none;
    cursor: pointer;
    opacity: 0.8;
}

