/*---------------------------------------------------------------------------------

 Theme Name:   Optimum
 Theme URI:    http://www.optimumliving.co.uk
 Description:  
 Author:       Media Fusion
 Author URI:   http://www.mediafusionuk.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

.et_pb_toggle_member_image {
    display: table-cell;
    line-height: 0;
    vertical-align: middle;
    width: 80px;
}

.et_pb_toggle_member .et_pb_toggle_heading {
    display: table-cell;
    vertical-align: middle;
    padding-left: 15px;
}

.et_pb_toggle_member .et_pb_toggle_title {
    position: unset !important;
}

.et_pb_toggle_member .et_pb_member_position {
    color: #030000;
}

.et_pb_toggle_member_heading {
    position: relative;
}

.et_pb_toggle_member .et_pb_toggle_title:before {
    content: "\4c";
    font-size: 28px;
    font-weight: 600;
}

.et_pb_toggle_member.et_pb_toggle_open .et_pb_toggle_title:before {
    content: "\4b";
    font-size: 28px;
    font-weight: 600;
}

.et_pb_toggle_member_image img {
    border-radius: 50%;
    height: 80px;
    width: 80px;
}

#main-header {
    padding-top: 21px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 1) 77%, rgba(255, 255, 255, .34) 116%) !important;
    background-color: transparent;
    -webkit-box-shadow: 0px -14px 40px 41px rgba(255, 255, 255, 0.66);
    -moz-box-shadow: 0px -14px 40px 41px rgba(255, 255, 255, 0.66);
    box-shadow: 0px -14px 40px 41px rgba(255, 255, 255, 0.66);
}

#logo {
    max-height: 140% !important;
    margin-top: 24px;
}

.centered-inline-logo-wrap {
    min-width: 25vw !important;
}

.custom-bg-position {
    background-position: center 70%;
}
/* 
.bw-effect {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.bw-effect:hover {
    -webkit-filter: initial;
    filter: initial;
}*/

.bw-effect img {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: -25%
}

.bw-effect img {
    /* filter: url(filters.svg#grayscale); Firefox 3.5+ */
      filter: gray; /* IE5+ */
      -webkit-filter: grayscale(1); /* Webkit Nightlies & Chrome Canary */
      -webkit-transition: all .4s ease-in-out;  
    }

.bw-effect img:hover {
    filter: none;
      -webkit-filter: grayscale(0);

    }

.bottom-padding img {
    padding-bottom: 10px;
}

.title-lines h2:before,
.title-lines h2:after {
    content: "‒‒‒";
    font-size: 26px;
    letter-spacing: -5px;
    padding: 0 18px 0 14px;
    color: #7ec8df;
}

.custom-blurbs img {
    max-height: 140px;
}

.custom-blurbs .et_pb_blurb_content {
    padding: 20px;
}

.custom-blurbs .et_pb_blurb:hover {
    background-color: #212f6c;
}

.custom-blurbs a.full-link {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    opacity: 0;
}

.more-icon::after {
    content: "\24";
    font-family: ETmodules;
    font-size: 21px;
    font-weight: bold;
    vertical-align: middle;
    padding-left: 4px;
}

.section-button {
    min-width: 306px;
}

.custom-blog:not(.full-blog) .et_pb_post {
    margin-bottom: 0 !important;
}

.custom-blog .et_pb_image_container,
.custom-blog {
    margin-bottom: 0 !important;
}

.custom-blog .et_pb_post .entry-featured-image-url {
    margin-bottom: 20px;
}

.fwblog .entry-featured-image-url {
    margin: -20px -20px 20px !important;
}

.fwblog .et_pb_post {
    padding: 19px;
}

.divi-icon:before {
    font-family: 'ETmodules';
    content: attr(data-icon);
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    color: #7ec8df;
    vertical-align: middle;
}

.social-post-icons .social-post-share a {
    display: inline-block;
    position: relative;
    color: #231f20;
    margin-left: 10px;
    font-size: 24px;
}

.divi-icon {
    font-style: normal !important;
}

.social-post-share .dt-share {
    position: absolute;
    display: inline-block;
    font-size: 9px;
    font-weight: normal;
    background: #231f20;
    color: #fff;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
    text-align: center;
    bottom: -45px;
    width: 60px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
}

.social-post-share a:hover .dt-share {
    opacity: 1;
    bottom: -30px;
    visibility: visible;
}

.custom-blog .more-link {
    float: left;
    color: #fff;
    background-color: #7ec8df;
    padding: 7px 56px;
    border-radius: 25px;
    margin-top: 14px;
}

.custom-blog .social-post-icons {
    float: right;
    margin-top: 20px;
}

/*----------5 Columns----------*/

.five-columns .et_pb_module {
    float: left;
    width: 20%!important;
    padding: 20px;
}

@media only screen and (max-width: 980px) {
    .five-columns .et_pb_module {
        width: 33%!important;
    }
}

@media only screen and (max-width: 479px) {
    .five-columns .et_pb_module {
        width: 50%!important;
    }
}

.always-show-arrows .et-pb-arrow-prev {
    left: 22px;
    opacity: 1;
}

.always-show-arrows .et-pb-arrow-next {
    right: 22px;
    opacity: 1;
}

#footer-bottom {
    border-top: 1px solid #464646;
}

.footer-widget .post-date {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

#footer-widgets .footer-widget #recent-posts-3 a {
    font-weight: bold;
    font-size: 1.2em;
}

.fstitle {
    font-weight: 700;
    line-height: 2em;
    font-size: 1.1em;
}

.fcontact li {
    padding-left: 21px !important;
}

.fcontact li:before {
    border: none !important;
    top: 0 !important;
    color: #94cfe1;
    font-family: ETmodules;
}

.fcontact li.address:before {
    content: "\e081" !important;
}

.fcontact li.phone:before {
    content: "\e090" !important;
}

.fcontact li.email:before {
    content: "\e076" !important;
}

#main-footer .footer-widget h4 {
    font-size: 1.5em;
}

.full-logos .et_pb_image .et_pb_image_wrap {
    height: 120px;
    vertical-align: middle;
    display: table-cell;
}

.full-logos .et_pb_image .et_pb_image_wrap img {
    max-height: 120px;
}

.full-logos .et_pb_image {
    display: table;
}

.textwidget .social-post-icons .social-post-share a:first-child {
    margin-left: 0;
}

.single .et_pb_post {
    padding-bottom: 0;
    margin-bottom: 0;
}

#left-area {
    width: 79.125%;
    padding-bottom: 0;
}

.blog-nav.et_pb_posts_nav .nav-next,
.blog-nav.et_pb_posts_nav .nav-previous {
    bottom: 14px;
    position: absolute;
}

.blog-nav.et_pb_posts_nav .nav-next {
    right: 0;
}

.blog-nav.et_pb_posts_nav .nav-previous {
    left: 0;
}

.et_pb_widget .divi-icon::before {
    font-size: 24px;
    color: #231f20;
}

.mobile_menu_bar::before {
	color: #7ec8df;
}

.et_mobile_menu {
	border-top: 3px solid #7ec8df;
}

.footer-widget .sbi_follow_btn a {
	color: #fff !important;
}

.footer-widget #text-3 {
	width: 100%;
}

#ctf .ctf-item {
	border-top-color: #464646;
}

.ctf-tweet-content::before {
    top: 0;
    color: #94cfe1;
    font-family: ETmodules;
    position: absolute;
    left: 0;
    content: "\e094";
    font-size: 18px;
}

.ctf-tweet-content {
    position: relative;
	padding-left: 24px !important;
}

.footer-widget .social-share-icons .divi-icon::before {
	color: #7ec8df;
}

.et_pb_blog_grid .et_pb_post {
    height: 599px !Important;
}

