/*
Theme Name:     Circles Child
Theme URI:      
Description:    Child theme for Circles theme 
Author: Team
Author URI: http://medialayout.com/
Template:       circles
Version:        1.0
*/

/* fonts override */
a, p, h1, h2, h3, h4, h5, h6, li {
    font-family: Roboto, sans-serif!important;
}

body {
    border-top: 2px solid #2affbd;
    background:#f9f9f9;
    /*color:#818181;*/
    color: black;
}

.text-block p{
    /*color:#818181;*/
    color: black;
}

/* Mobile Menu */
header .menu.opened {
  height: auto !important;
}

.h2-ac-bold h2 {
    font-weight: 200!important;
    font-size: 40px!important;
    line-height: 44px!important;
}
.h2-margin-bottom h2 {
    margin-bottom: 80px!important;
}
.h3-ac-bold h3 {
    font-weight: 400!important;
    font-size: 26px!important;
    line-height: 40px!important;
}
.h3-ac-light h3 {
    font-weight: 100!important;
    font-size: 26px!important;
    line-height: 40px!important;
}
.h3-ac-vertical-middle h3 {
    position: absolute!important;
    top: 50%!important;
    transform: translateY(-50%)!important;
}

h4.purple-header {
    text-transform: uppercase;
    font-weight: lighter;
    color: #903bf1;
    border-top: 1px solid #d9e0e4;
    border-bottom: 1px solid #d9e0e4;
    padding: 10px 0px;
    font-size: 25px;
    margin-bottom: 0px;
}

.ac_h4_underline {
    display: inline-block;
    border-bottom: 2px solid #1bfdc0;
    padding: 0 14px 14px;
    color: black;
}
.ac_header_text p {
    font-size: 40px!important;
}

.media-list ul {
    list-style-type: none;
    font-weight: bold;
    color: #949494;
    line-height: 35px;
}
.media-list ul li {
    font-size: 16px;
}

div.standard-text, div.standard-text p, .ac-icon-box .service p, .post-body-text,
.tab-contents .contents p {
    font-family: Roboto, sans-serif;
    font-size: 17px;
    line-height: 35px;
    font-weight: 200;
    margin-bottom: 0px;
}

.lighter-text{
    font-weight:lighter;
}

.larger-text {
    font-weight: bold;
    font-size:1.5em;
}

.media-box {
    text-transform: uppercase;
}

div.media-icon-box-1 .icon-box .content p {
    color: white;
}

div.media-icon-box-2 .icon-box .content p {
    color:#585858;
}

div.media-icon-box-1 .icon-box .icon-container, div.media-icon-box-2 .icon-box .icon-container{
    margin-right:0px;
}

/* header */
body.home .page-header {
    top: 31px!important;
}
@media screen and (min-width: 768px){
    body.home .page-header {
        top: 19px!important;
    }
}

@media screen and (min-width: 769px){
    .headerstyle4 .page-header {
        height: 550px;
    }
}
@media screen and (min-width: 1066px){
    .headerstyle4 .ac_header_text {
        /*margin-top: 90px;*/
    }
}
.page-template-default .page-header {
    margin-top: -61px!important;
    top: 61px!important;
}
.page-header .wrapper.menu-bg.transparent.border-bottom-white,
.page-header .default .wrapper.menu-bg.border-bottom-white {
    background: transparent!important;
    box-shadow: none!important;
    border-bottom: none;
}
.page-header .wrapper.menu-bg.transparent.border-bottom-white .container,
.page-header .default .wrapper.menu-bg.border-bottom-white .container {
    border-bottom: 1px solid rgba(255,255,255,.3);
}

.headerstyle2 .page-header .wrapper.menu-bg.transparent.border-bottom-white .container{
    border-bottom:0px;
}

.page-header .wrapper.menu-bg.transparent.border-bottom-white .container .logo{
    top: 12px;
    position: relative;
}

body.home .page-header .wrapper.menu-bg.transparent.border-bottom-white .container .logo{
    top: auto;
}
@media screen and (min-width: 768px) {
    body.home .page-header .wrapper.menu-bg.transparent.border-bottom-white .container .logo{
        top: 9px;
    }
}

#menu-primary > .menu-item > a {
    color: white!important;
    font-size: 15px!important;
}
#menu-primary > .menu-item:hover > a {
    color: white!important;
    background: linear-gradient(to bottom, #570e9e, #6c03e2);
}
#menu-primary > .menu-item.menu-item-has-children > span.fa {
    display: none!important;
}
#menu-primary > .menu-item:last-of-type a {
    color: #6b84d7!important;
}
#menu-primary > .menu-item:hover .sub-menu {
    border-top: 2px solid #6c03e2;
}
.sub-menu > .menu-item > a {
    color: black!important;
    background: white!important;
    font-size: 15px!important;
}
.sub-menu > .menu-item:hover > a {
    color: #6b84d7!important;
    background: white!important;
}

/* Header 4 Style */
.headerstyle4 .wrapper.dark-menu {
    background: none;
}

.headerstyle4 .page-header {
    top: 0;
	float: none;
	margin-bottom: 0;
}

.headerstyle4 .wrapper.headline {
    height: auto;
}

.headerstyle4 footer .menu {
	float: none;
	
}

.headerstyle4 footer .menu > li > a {
	height: auto;
	line-height: 40px;
}

.headerstyle4 .container.main .header-style4-row {
	display: none;
}

.headerstyle4 header .wrapper.headline {
	display: none;
}

.headerstyle4 .header-style4-row p {
	font-family: Roboto;
	font-weight: 200;
	margin-bottom: 0;
}

.headerstyle4 header .menu > li > a {
	font-size: 1.1em;
	letter-spacing: 3px;
	padding: 0 20px;
}

.headerstyle4 header .grid_12, .headerstyle2 header .grid_12{
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.headerstyle4 header + div.wrapper {
	margin-top: 61px;
}

.headerstyle4 header + div.wrapper > div.container.main {
	padding-top: 0px;
}

article.case_study > header,
article.case_study > footer,
article.brand > header,
article.brand > footer,
article.type-team > footer {
	display: none;
}

.mktoForm{
    max-width:100%;
}

/* submenu shortcode */
#ac_submenu .vc_column_container .vc_column-inner {
    padding: 0!important;
}
#ac_submenu .secondary-nav, #ac_submenu_2 .secondary-nav {
    background: #f3f3f3;
    padding: 0!important;
}
#ac_submenu .secondary-nav .inner-menu li,
#ac_submenu_2 .secondary-nav .inner-menu li {
    padding: 26px 0!important;
    margin: 0!important;
}
#ac_submenu .secondary-nav .inner-menu li a,
#ac_submenu_2 .secondary-nav .inner-menu li a {
    padding: 26px!important;
    opacity: 1;
}
#ac_submenu .secondary-nav .inner-menu li a:hover,
#ac_submenu .current-menu-item.current_page_item,
#ac_submenu .current-menu-item.current_page_item a,
#ac_submenu_2 .secondary-nav .inner-menu li a:hover,
#ac_submenu_2 .current-menu-item.current_page_item,
#ac_submenu_2 .current-menu-item.current_page_item a {
    color: white;
    background: linear-gradient(to bottom, #570e9e, #6c03e2);
}
#ac_submenu .current-menu-item.current_page_item,
#ac_submenu .current-menu-item.current_page_item a {
    color: rgba(255,255,255,1)!important;
    opacity: 1!important;
}

#ac_submenu .wpb_text_column {
	display: none;
}

/* body */
body.headerstyle2 .page-header {
    margin-top: -31px!important;
}

/* home slider */
.slide_green {
    color: #1bfdc0;
}
.button.violet-gradient {
    background: linear-gradient(to right, #570e9e, #6c03e2)!important;
}

/* banner */
.ac_dark_gradient {
    background: linear-gradient(to right, #18242f, #11121b)!important;
}
.cta.ac_cta {
    padding-top: 60px;
    padding-bottom: 0;
}
.cta.ac_cta h3 {
    margin-bottom: 30px;
}
.cta h3{
font-size:40px;
}
.ac_cta_empty {
    height:1px!important;
}
.ac_banner_stats_section {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-bottom: 50px;
}
.ac_banner_stats_value {
    color: white;
    font-size: 52px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}
.ac_banner_stats_unit {
    color: #1bfdc0;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
}

/* "a force when together* tabs/images section */
.ac_tab_section_title,
.ac_h4_underline {
    position: relative;
    margin-bottom: 36px!important;
}
.ac_tab_section_title:after {
    content: '';
    display: block;
    position: absolute;
    width: 185px;
    bottom: -15px;
    left: 0;
    border: 1px solid #1bfdc0;
}
.ac_tab_section_title.underline_center:after {
    position: relative;
    margin: 0 auto;
}
.ac_tab_section_description {
    margin-bottom: -30px!important;
}
#tabs_images .nav-tabs {
    border-bottom: 1px solid #cecece!important;
}
#tabs_images .tabs_images_tabs .button.gradient-border.ac_gradient_border {
    background-color: #f9f9f9!important;
}
#tabs_images .tabs_images_tabs .button.gradient-border.ac_gradient_border span {
    background-color: #f9f9f9!important;
}
#tabs_images {
    position: relative;
}
@media screen and (min-width: 1366px ){
    #tabs_images.tabs_images_row {
        background-repeat: no-repeat!important;
padding-right:50px !important;
    }
    #tabs_images .tabs_images_tabs {
        /*padding-bottom: 18px!important;*/
    }
    #tabs_images {
        z-index: 2!important;
        overflow: visible!important;
        height: 760px!important;
    }
    #tabs_images .tabs_images_block {
        /*position: absolute!important;
        right: 0!important;*/
        margin: 0;
        padding: 0;
        width: 50%;
    }
    #tabs_images .tabs_images_block .tabs_images_html {
        position: absolute;
        right: -63px;
        left: 0;
        /*box-shadow: -6px 6px 6px rgba(0,0,0,.3);*/
    }

    .tabs_image{
        box-shadow: -6px 6px 6px rgba(0,0,0,.3);
    }
}
.tabs_image {
    position: relative;
    padding: 0!important;
    margin: 0 auto;
    max-width:365px;
}
.tabs_image_cover {
    margin: 0!important;
    padding: 0!important;
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    transform: scale(.75);
    z-index: 1;
    background: white;
    border: 6px solid white;
    box-shadow: -6px 6px 6px rgba(0,0,0,.3);
    opacity: 0;
    transition: all .4s ease;
}
.tabs_image_active > .tabs_image_cover {
    opacity: 1;
    transform: scale(1.1);
}
.tabs_image_cover.z {
    z-index: 9999;
}
.tabs_image img {
    width: 100%;
}
.tabs_image.tl {
    margin: 7.5px 5px 0 0;
}
.tabs_image.tr {
    margin: 7.5px 0 0 2.5px;
}
.tabs_image.bl {
    bottom: -5px;
    margin: 0 5px 0 0;
}
.tabs_image.br {
    bottom: -5px;
    margin: 0 0 0 2.5px;
}
.tabs_image.tabs_image_active .tabs_image_cover img {
    max-height: 474px!important;
}

/* icon boxes */
.cta.ac_cta h3.color-dark {
    color: black;
    font-weight: bold;
    font-size: 32px;
}

/* iconic brands */
.iconic_brands_image_container {
    position: relative;
    background: linear-gradient(to bottom, #18222d, #212536);
}
@media screen and (min-width: 768px){
    .brand_image_holder {
        width: 115%;
    }
}
.iconic_brands_image_container img {
    position: relative;
    display: none;
    height: auto;
}
.iconic_brands_image_container img.img_displayed {
    display: block;
}
@media screen and (min-width: 768px){
    .iconic_brands_image_container img.img_displayed {
        right: -100px;
    }
}
@media screen and (min-width: 1020px){
    .iconic_brands_image_container img.img_displayed {
        right: -150px;
    }
}
@media screen and (min-width: 1260px){
    .iconic_brands_image_container img.img_displayed {
        right: -180px;
    }
}
@media screen and (min-width: 1500px){
    .iconic_brands_image_container img.img_displayed {
        right: -200px;
    }
}
@media screen and (min-width: 1750px){
    .iconic_brands_image_container img.img_displayed {
        right: -260px;
    }
}
@media screen and (max-width: 767px){
    .iconic_brands_image_container img.img_displayed{
        left: 50%;
        transform: translateX(-36%);
    }
}
#carousel {
    position: relative;
    margin: 65px 0;
    max-height: 85px;
}
#carousel:before {
    content: "[";
    color: lightgrey;
    position: absolute;
    left:-10px;
    top: 50%;
    font-size: 120px;
    font-weight: 100;
    transform: translateY(-50%);
}
#carousel:after {
    content: "]";
    color: lightgrey;
    position: absolute;
    left:170px;
    top: 50%;
    font-size: 120px;
    font-weight: 100;
    transform: translateY(-50%);
}
#carousel-overlay {
    position: absolute;
    top:0;left:0;right:0;bottom:0;
    z-index:999;
    background: linear-gradient(to right, rgba(243,243,243,0),rgba(243,243,243,0),rgba(243,243,243,0), rgba(243,243,243,1));
}
.carousel_container {
    display: inline-block;
    overflow:hidden;
    max-height: 85px;
}
.carousel_slide_container {
    width: 200%;
}
.carousel_slide {
    position: relative;
    display: inline-block;
    width: 14%;
    min-width: 180px;
    height: 100%!important;
    text-align: center;
    background: transparent;
    margin: 0 5px 0 0;
    padding: 10px 5px;
}
.carousel_slide:not(.carousel_slide_active) .carousel_img {
    filter: grayscale(100%);
}
.carousel_nav {
    background: #34495e;
    text-align: center;
    font-size: 20px;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
    position: absolute;
    border-radius: 5px;
}
@media screen and (min-width: 769px){
    .carousel_nav {
        right:-60px;
        top: 50%;
        transform: translateY(-50%);
    }
}
.disable-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
@media screen and (max-width: 1000px){
    #explore_button_slider {
        display: block;
        width: 278px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 768px){
    #carousel {
        width: 60%;
        margin: 0 auto;
    }
    .carousel_nav {
        left: 0;
        right: 0;
        bottom: -100px;
    }
    #explore_button_slider {
        margin: 40px auto 60px;
    }
    .iconic_brands_slider {
        padding: 40px!important;
    }
}


/* latest insights */
#ac_latest_insights .latest-posts > .row {
    margin-top: 0!important;
}


/* homepage footer cta */
#ac_home_cta .bg-gradient1,
#contact_left.bg-gradient2 {
    background: linear-gradient(to right, #161d27, #161d27)!important;
}

/* fix for footer styles when using header style 2 (should be totally unrelated!) */
.headerstyle2 header .menu>li>a,
.headerstyle2 header .menu>ul>li>a {
    letter-spacing: 3px;
    padding: 0 20px;
}
.headerstyle2 header .menu {
    width: auto;
    float: right;
}
.headerstyle2 footer .menu>li>a,
.headerstyle2 footer .menu>ul>li>a {
    height: 44px;
    line-height: 44px;
}
.headerstyle2 footer .menu {
    width: auto;
    float: none;
}

@media only screen and (min-width: 768px) {
    .headerstyle2 .menu > li {
        margin-right: 0;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        -ms-transition: 0.3s;
        transition: 0.3s;
    }

    .headerstyle2 .menu {
        float: right;
        width: auto;
    }
}

/* Our Story page */
.our-story-page-title div {
    font-size: 36px!important;
    color: rgba(255,255,255,.8)!important;
    font-weight: 100!important;
    text-align: center;
    margin-top: 80px!important;
}
.our-story-page-title div .no-alpha {
    color: rgba(255,255,255,1)!important;
}
.p-our-story p:not(.dropcap_text) {
    font-weight: 200!important;
    color: #bababa!important;
    font-size: 15px!important;
    line-height: 30px!important;
}
.p-our-story p.p-our-story-bold {
    color: black!important;
    font-size: 18px!important;
}
#our_story_bg_img_row {
    background-repeat: no-repeat!important;
    background-position: right bottom!important;
    background-size: contain!important;
}
.hr-sect {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    color: #949494;
    margin: 8px 0;
    font-weight: bold;
}
.hr-sect::before,
.hr-sect::after {
    content: "";
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.05);
    height: 1px;
    font-size: 0;
    line-height: 0;
    margin: 0 8px;
}
.hr-sect.hr-sect-bold {
    color: rgba(0, 0, 0, 0.65);
    margin: 8px 0;
    font-size: 28px;
    font-weight: 200;
}
.ac_our_groups {
    text-align: center;
    padding: 0 40px;
}
.ac_our_groups .our_groups_title {
    color: #8e3bef;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 32px;
    padding: 15px 0;
}
.ac_our_groups .our_groups_logo {
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(0,0,0,.2);
}
.ac_our_groups .our_groups_logo img {
    display: block;
    width: auto;
    height: 27px!important;
    margin: 0 auto;
}
.ac_our_groups .our_groups_blurb {
    padding: 10px 0;
    font-size: 15px;
    line-height: 24px;
}

/* ac_testimonial shortcode */
.ac_testimonial_row .vc_column-inner {
    padding: 0!important;
}
.ac_testimonial_row .wpb_content_element{
    display: none!important;
}
.ac_testimonial {
    position: relative;
    min-height: 400px;
    background: url(/wp-content/uploads/2017/07/testimonial_bg.png) center center no-repeat;
    background-size: cover;
    padding-top: 40px;
}
.ac_testimonial_overlay {
    position: absolute;
    left:0;top:0;right:0;bottom:0;
    background: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,0), rgba(255,255,255,0), rgba(255,255,255,0), rgba(255,255,255,0));
}
.ac_testimonial_block {
    display: none;
}
.ac_testimonial_block.test_show {
    display: block;
}
.ac_testimonial_block {
    position: relative;
    width: 50%;
    margin: 0 auto;
    padding: 0 0 60px;
}
.ac_testimonial_block .test_before,
.ac_testimonial_block .test_after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    cursor: pointer;
    color: rgba(0,0,0,.2);
    transition: color .5s ease;
}
.ac_testimonial_block .test_before:hover,
.ac_testimonial_block .test_after:hover {
    color: rgba(0,0,0,.5);
}
.ac_testimonial_block .test_before {
    left: -35px;
}
.ac_testimonial_block .test_after {
    right: -35px;
}
.ac_testimonial_quote {
    position: relative;
    font-size: 24px;
    font-style: italic;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    user-select: none;
}
.ac_testimonial_quote:after {
    display: block;
    content: '\201D';
    position: absolute;
    top:0;
    right:-60px;
    font-family: serif;
    font-size: 80px;
    color: rgba(0,0,0,.2);
    user-select: none;
}
.ac_testimonial_signature {
    position: relative;
    width: 25%;
    margin: 40px auto 0;
    min-height: 100px;
    user-select: none;
}
.ac_testimonial_signature:after {
    content: '';
    display: block;
    position: absolute;
    width: 50%;
    right: 25%;
    border: 1px solid #1bfdc0;
}
.ac_testimonial_photo {
    position: absolute;
    top: 20px;
    left: -30px;
    width: 100px;
    height: 100px;
    background-size: cover!important;
    background-repeat: no-repeat!important;
    border-radius: 50%;
}
.ac_testimonial_author {
    position: absolute;
    top: 60%;
    right: 10%;
    color: rgba(0,0,0,.4);
}
@media screen and (max-width: 1500px) {
    .ac_testimonial_signature {
        width: 30%;
    }
}
@media screen and (max-width: 1300px) {
    .ac_testimonial_signature {
        width: 35%;
    }
}
@media screen and (max-width: 1120px) {
    .ac_testimonial_signature {
        width: 40%;
    }
}
@media screen and (max-width: 949px) {
    .ac_testimonial_quote:after {
        top: -32px;
        right: 50%;
        transform: translateX(50%);
    }
    .ac_testimonial_signature {
        width: 50%;
    }
}
@media screen and (max-width: 767px) {
    .ac_testimonial_block {
        width: 80%;
    }
    .ac_testimonial_signature {
        width: 40%;
    }
}
@media screen and (max-width: 599px) {
    .ac_testimonial_signature {
        width: 50%;
    }
}
@media screen and (max-width: 499px) {
    .ac_testimonial_signature {
        width: 70%;
    }
}

/* ac_two_button_nav shortcode */
#ac_two_button_nav .ac_two_button_nav_button {
    width: 49%!important;
    float: left;
}
#ac_two_button_nav_prev {
    border-right: 1px solid rgba(0,0,0,.2);
}
#ac_two_button_nav_next {
    border-left: 1px solid rgba(0,0,0,.2);
}
div#ac_two_button_nav_next i {
    float: right;
}
div.ac_two_button_nav_button i {
    border: 1px solid #959595;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding: 5px;
    font-weight: normal;
    height: 25px;
    width: 25px;
    text-align: center;
    box-sizing: border-box;
    color: black;
}
div#ac_two_button_nav_prev .ac_button_text_container {
    text-align: left;
}
div#ac_two_button_nav_next .ac_button_text_container {
    text-align: right;
}
.ac_button_text_container i:after {
    color: rgba(0,0,0,.2)!important;
}
.ac_button_text_container a {
    text-transform: uppercase;
    color: black!important;
    font-family: Montserrat,sans-serif !important;
    letter-spacing: 2px;
	line-height:25px;
}
#ac_two_button_nav_prev .ac_button_text_container i {
margin-right:15px
}
#ac_two_button_nav_next .ac_button_text_container i {
margin-left:15px;
}
div#ac_two_button_nav > div.ac_two_button_nav_button {
    padding: 25px 0px;
}

#our_story_cta .bg-gradient1 {
    background: linear-gradient(to right, #18242f, #11121b)!important;
    margin-top: -34px!important;
}
#our_story_cta h3 {
    font-size: 40px!important;
}

footer.style-modern {
    background-color: #f9f9f9 ;
}
.preloading-screen {
    background: gray;
}
div.copyright-bar {
    text-align: center;
    background-color: #f5f5f5 ;
}
span.copyright {
    float: none;
}
footer.style-modern .widget address i {
    color: #6578bd ;
}
footer.style-modern .widget address a {
    color: inherit;
}
.standard-text, .standard-text p,
.ac-icon-box .service p {
    font-family: Roboto, sans-serif;
    font-size: 17px;
    line-height: 28px;
    font-weight: 200;
    /*color: #bababa;*/
    color: black;
}
.standard-text-large, .standard-text-large p {
    font-family: Roboto, sans-serif;
    font-size: 19px;
    line-height: 32px;
    font-weight: 200;
    /*color: #bababa;*/
    color: black;
}
.ac-icon-box .service p{
    font-size:15px;
}

/* Fix for Two Button Nav */
div#ac_two_button_nav + div.wpb_text_column {
    display: none;
}

footer.style-modern {
    padding-bottom: 0px;
}

/* Icon Boxes */
.ac-icon-box .tran03slinear {
    font-size: 17px;
    color: #8e3bef;
    font-weight: normal;
    border-top: 1px solid rgba(0,0,0,.2);
    border-bottom: 1px solid rgba(0,0,0,.2);
    padding: 10px 0;
}

/* Rev Slider overlay */
.home .rs-background-video-layer:before {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    content: " ";
    z-index: 99999;
}

/* Gradient Buttons */
.insights-cta a.button, .cta a.button, .insights-cta a.button:hover, .cta a.button:hover {
    position: relative;
    border: 4px solid transparent;
    border-radius: 50px;
    background: linear-gradient(#161d27,#161d27);
    background-clip: padding-box;
    box-shadow: 15px 21px -2px black, inset 0 0 9px black;
    transform: none;
}

.insights-cta a.button:hover::after, .insights-cta a.button::after, .cta a.button:hover::after, .cta a.button::after {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    background: linear-gradient(#398fad, #7160ae);
    content: '';
    z-index: -1;
    border-radius: 35px;
}

.insights-cta a.button, .insights-cta a.button:hover {
    color: black;
    background: linear-gradient(white,white);
}

.cta-outer section.bg-gradient1 {
    background: none;
}

/* Insights Page Fix */
.page-id-4290 nav.secondary-nav.gallery-filters {
    display: none;
}

@media screen and (min-width: 769px){
    .page-id-4290.headerstyle4 .page-header, .error404 .page-header, .smaller-header .page-header,  body.archive.category .page-header {
        height: 181px;
    }

    .headerstyle4 .wrapper.dark-menu > div.container > div.grid_12 {
        padding-top: 0px;
    }
}
@media screen and (min-width: 1067px){
    .page-id-4290.headerstyle4 .page-header, .error404 .page-header, .smaller-header .page-header,  body.archive.category .page-header {
        height: 102px;
    }
}

/* Brands Page */
#brand-grid .vc_single_image-wrapper:after{
    transition:all 0.3s ease;
    content:"";
    opacity:0;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(107,4,223,0.5);
    width: 100%;
    height: 100%;
}

#brand-grid .vc_single_image-wrapper:hover::after {
    opacity:1;
}

#brand-grid .vc_col-sm-12.vc_gitem-col.vc_gitem-col-align-left {
    padding: 0px;
}

#brand-grid .wpb_single_image.wpb_content_element.vc_align_ {
    margin-bottom: 0px;
}

#brand-grid ul.vc_grid-filter {
    display: none;
}

/* Creative Page */
#creative-icons .service-icon {
    box-shadow: none;
    background: none;
    margin-bottom: 0px;
}

#creative-icons .service.service-style2 div {
    background: none;
}

#creative-icons .service-icon img {
    width: auto;
    height: auto;
}

#creative-icons .service-icon span {
    width: 65px;
    margin-left: -32px;
}

#creative-icons .service.service-style2 {
    padding: 0px 15px 30px;
    margin-bottom:0px;
}

.creative-divider {
    width: 30%;
    margin: 0 auto;
}

#case-studies h4 {
    font-size: 36px;
    color: black;
}

.latest-case-studies .post.format-link:before {
    content: none;
}

.latest-case-studies .post .post-content {
    bottom: auto;
    top: 25%;
}

.latest-case-studies .post p {
    font-size: 15px;
}

.latest-brands .post.format-image:before, .latest-brands .post.format-gallery:before, .latest-brands .post.format-video:before {
    content: none;
}

.latest-brands > .row > [class*=grid_]:not(.grid_sizer) {
    margin-bottom: 0px;
}

.latest-brands div.post {
    margin-bottom: 0px;
    margin-top: 0px;
}

.page-id-4299 nav.gallery-filters, #media_latest_brands nav.gallery-filters{
    display:none;
}

.person-column > .vc_column-inner{
    padding:10px;
}
.person-name {
    color: #45484a;
}
.person-column:hover .person-name {
    color: white;
}
.person-social-icons {
    font-size: 15px;
    color: #cecece;
    padding: 2px 0 0;
}
.person-social-icons a,
.person-social-icons a i {
    color: #cecece!important;
    margin-right: 2px;
}
.person-social-icons a:hover,
.person-social-icons a i:hover{
    color: #1bfdc0!important;
}

.single-team .page-header,
.single-team .header-image,
.single-post .header-image,
.archive.category .header-image {
    height: auto!important;
}
.single-team .page-header {
    margin-top: 0;
}

.single-post .page-header {
    height: auto!important;
}

.brand_rollover_gradient {
    background: rgba(136,42,245,.7);
    position:absolute;
    top:0;bottom:0;left:0;right:0;
    opacity: 0;
    transition: opacity .3s ease;
}
.format-image:hover .brand_rollover_gradient {
    opacity: 1;
}
.latest-brands .format-image img:not(.brand_logo) {
    visibility: hidden;
}
.brand_content_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
}
.brand_logo {
    display: block;
    margin: 0 auto 20px;
    max-height: 50px;
}
.brand_blurb {
    position: absolute;
    visibility: hidden;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease;
}
.format-image:hover .brand_blurb {
    position: relative;
    visibility: visible;
    opacity: 1;
}

.latest-posts.latest-brands .grid_sizer,
.latest-posts.latest-brands div[class^=grid_] {
    box-sizing: border-box;
}
.latest-posts.latest-brands .grid_sizer {
    width: 16.666%;
}
@media screen and (max-width: 1800px){
    .latest-posts.latest-brands .grid_sizer,
    .latest-posts.latest-brands div[class^=grid_] {
        width: 20%;
    }
}
@media screen and (max-width: 1499px){
    .latest-posts.latest-brands .grid_sizer,
    .latest-posts.latest-brands div[class^=grid_] {
        width: 25%;
    }
}
@media screen and (max-width: 1080px){
    .latest-posts.latest-brands .grid_sizer,
    .latest-posts.latest-brands div[class^=grid_] {
        width: 33%;
    }
}
@media screen and (max-width: 768px){
    .latest-posts.latest-brands .grid_sizer,
    .latest-posts.latest-brands div[class^=grid_] {
        width: 50%;
    }
}
@media screen and (max-width: 568px){
    .latest-posts.latest-brands .grid_sizer,
    .latest-posts.latest-brands div[class^=grid_] {
        width: 100%;
    }
}

body.single-case_study .container.main{
    padding:0px;
}

body.single-case_study .post{
    padding-bottom:0px;
}

body.single-case_study div.post-body{
    margin-top:0px;
}

body.single-brand div.post-body {
    margin-top: -30px;
}

.error404 div.wrapper.header-image, .smaller-header div.wrapper.header-image, body.archive.category div.wrapper.header-image {
    display:none;
}

@media screen and (min-width:768px){
    .headerstyle2 .logo, .headerstyle4 .logo{
        position:relative;
        top:9px;
    }
}

body.home header + .wrapper + .wrapper {
    margin-top: -74px;
}
@media screen and (min-width: 768px) {
    body.home header + .wrapper + .wrapper {
        margin-top: -15px;
    }
}


body.headerstyle2 .page-header {
    display: inline-block;
    width: 100%;
}

.tab-contents {
    min-height: 315px;
}

/* Fixes for header style 2 on homepage to make it look like interior pages on mobile */

@media screen and (max-width: 767px) {
    body.headerstyle2 .page-header, body.headerstyle4 .page-header {
        background: #162029;
    }

    .headerstyle4 .page-header .container .grid_12 {
        margin: 0;
        width: 100% !important;
    }

    .headerstyle4 .page-header .container {
        padding: 0 !important;
        text-align: center;
    }

    .headerstyle4 .page-header > .wrapper {
        display: block;
    }

    .headerstyle4 .logo img {
        height: 100% !important;
        margin-top: 7.5px;
    }

    .headerstyle4 .logo {
        width: auto;
        height: 30px;
        display: inline-block;
    }

    .headerstyle2 .page-header .container .grid_12 {
        margin: 0;
        width: 100% !important;
    }

    .headerstyle2 .page-header .container {
        padding: 0 !important;
        text-align: center;
    }

    .headerstyle2 .page-header > .wrapper {
        display: block;
    }

    .headerstyle2 .logo img {
        height: 100% !important;
        margin-top: 7.5px;
    }

    .headerstyle2 .logo {
        width: auto;
        height: 30px;
        display: inline-block;
        margin: 0!important;
    }

    .headerstyle2 .wrapper.dark-menu {
        background: none;
    }

    .headerstyle2 .page-header {
        top: 0;
        float: none;
        margin-bottom: 0;
    }

    .headerstyle2 .wrapper.headline {
        height: auto;
    }

    .headerstyle2 footer .menu {
        float: none;

    }

    .headerstyle2 footer .menu > li > a {
        height: auto;
        line-height: 40px;
    }

    .headerstyle2 .container.main .header-style4-row {
        display: none;
    }

    .headerstyle2 header .wrapper.headline {
        display: none;
    }

    .headerstyle2 .header-style4-row p {
        font-family: Roboto;
        font-weight: 200;
        margin-bottom: 0;
    }

    .headerstyle2 header .menu > li > a {
        font-size: 1.1em;
        letter-spacing: 3px;
        padding: 0 20px;
    }

    .headerstyle2 header + div.wrapper {
        margin-top: 61px;
    }

    .headerstyle2 header + div.wrapper > div.container.main {
        padding-top: 0px;
    }

    body.home ul.socials.mobile-socials {
        display: none;
    }

    /* Front Page Header Updates */
    div#rev_slider_4_1 div.tp-caption span.update-size {
        font-size: 20px !important;
        line-height: normal !important;
    }

    div#rev_slider_4_1 div.tp-caption span.update-size.header {
        font-size: 35px !important;
    }

    div#slide-9-layer-7 {
        width: 100% !important;
        max-width: 100% !important;
        float: left !important;
    }

    div#slide-9-layer-6 {
        display: none;
    }

    div#rev_slider_4_1_wrapper div.slotholder + div.tp-parallax-wrap + div.tp-parallax-wrap {
        width: 100% !important;
        top: 25% !important;
    }

    div#rev_slider_4_1_wrapper div.slotholder + div.tp-parallax-wrap + div.tp-parallax-wrap .tp-loop-wrap{
        width:100%;
    }

    body.home .vc_column-inner.vc_custom_1502993811437 {
        padding-top: 25px !important;
    }

    .contents p + div {
        display: none;
    }

    .tab-contents {
        min-height: 350px;
    }

    /* Secondary Menu Fixes */

    div#ac_submenu nav#inner-nav > div.container {
        padding: 0px !important;
        max-width: 100%;
    }

    div#ac_submenu {
        padding: 0px !important;
    }

    div#ac_submenu nav#inner-nav > div.container div.grid_12 {
        margin: 0px;
        width: 100% !important;
    }

    #ac_submenu .secondary-nav .inner-menu li a{
        display:block;
    }

    #ac_submenu .secondary-nav .inner-menu li{
        padding:0px !important;
    }

    .ac_button_text_container a{
        font-size:9px;
    }

    /* Contact Page */
    .vc_column-inner.vc_custom_1500914046587 {
        padding: 20px !important;
    }

    form#mktoForm_2182, .vc_column-inner.vc_custom_1500914046587 p {
        max-width: 360px;
    }

    .mktoForm span.mktoButtonWrap.mktoLight {
        float: left;
        display: block;
        margin-left: 0px !important;
    }
}

body.single-case_study .section-title {
    color: black;
    font-weight: normal;
    font-size: 1.5em;
}

.single-case_study .detail-title {
    color: #6775B2;
    margin-bottom: 0px;
}

.single-case_study .detail-info {
    margin-top: 0px;
}

/* Mobile Fixes */
@media screen and (max-width: 767px) {
    .h3-ac-bold {
        margin: 40px auto 0;
    }
    .ac_header_text .wpb_text_column .wpb_wrapper {
        padding: 0 20px;
    }
}
@media screen and (max-width: 525px) {
    .ac-creative-top-logo img {
        margin-top: 30px;
    }
}

/* Contact Form mobile fixes */
@media screen and (max-width: 1450px) {
    .mktoFieldDescriptor.mktoFormCol {
        float: none!important;
    }
    .mktoFieldDescriptor.mktoFormCol textarea {
        width: 100%!important;
        margin-bottom: 10px!important;
        margin-top: 15px!important;
        height: 120px!important;
    }
    label[for="Brand_Opt_in_AspenCore__c"],
    label[for="Consent_Privacy_Policy_AspenCore__c"] {
        width: 60%!important;
    }
    .mktoButtonRow > span.mktoButtonWrap {
        margin-left: 0!important;
        margin-top: 20px!important;
    }
}
@media screen and (max-width: 1124px) {
    label[for="Brand_Opt_in_AspenCore__c"],
    label[for="Consent_Privacy_Policy_AspenCore__c"] {
        width: 50%!important;
    }
}
@media screen and (max-width: 950px) {
    label[for="Brand_Opt_in_AspenCore__c"],
    label[for="Consent_Privacy_Policy_AspenCore__c"] {
        width: 40%!important;
    }
}
@media screen and (max-width: 768px) {
    .mktoFieldDescriptor.mktoFormCol {
        float: left!important;
    }
    .mktoFieldDescriptor.mktoFormCol textarea {
        width: auto!important;
        margin-bottom: 0!important;
        margin-top: 0!important;
        height: auto!important;
    }
    label[for="Brand_Opt_in_AspenCore__c"],
    label[for="Consent_Privacy_Policy_AspenCore__c"] {
        width: 453px!important;
    }
    #mktoForm_2182 {
        max-width: 100%!important;
    }
}
@media screen and (max-width: 640px) {
    #mktoForm_2182 {
        max-width: 90%!important;
    }
}
@media screen and (max-width: 500px) {
    .mktoFieldDescriptor.mktoFormCol {
        float: none!important;
    }
    .mktoFieldDescriptor.mktoFormCol textarea {
        width: 100%!important;
        margin-bottom: 10px!important;
        margin-top: 15px!important;
        height: 120px!important;
    }
    label[for="Brand_Opt_in_AspenCore__c"],
    label[for="Consent_Privacy_Policy_AspenCore__c"] {
        width: 100%!important;
    }
}

.ac_socials_ul {
    list-style-type: none;
    margin-bottom: 20px;
}
.ac_socials_li {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
}
.ac_socials_li a {
    color: lightgrey;
    transition: color .3s ease;
}
.ac_socials_li a:hover {
    color: grey;
}

body.single-brand .ac_socials_ul {
    margin-top: 20px;
}

.closer-look-col {
    position: relative;
    z-index: 0;
}
a.button.custom-cta {
    position: relative;
    border: 4px solid transparent;
    border-radius: 50px;
    background: linear-gradient(#161d27,#161d27);
    background-clip: padding-box;
    transform: none;
    display: inline-block;
    margin-right: 20px;
}
a.button.custom-cta.white {
    position: relative;
    border: 4px solid transparent;
    border-radius: 50px;
    background: linear-gradient(#fff,#fff);
    background-clip: padding-box;
    transform: none;
    display: inline-block;
    margin-right: 20px;
    font-weight: bold;
}
a.button.custom-cta:after {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    background: linear-gradient(#398fad, #7160ae);
    content: '';
    z-index: -1;
    border-radius: 35px;
}
a.button.custom-cta:hover:after {
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
}
@media screen and (max-width: 859px ){
    .two-button-cta-col {
        width: 100%!important;
    }
    .two-button-cta-col .text-right,
    .two-button-cta-col .text-left {
        text-align: center!important;
    }
    .two-button-cta-col .custom-cta {
        margin-left: 0!important;
        margin-right: 0!important;
    }
}
@media screen and (max-width: 440px ){
    .two-button-cta-col .custom-cta {
        font-size: 12px!important;
    }
}

body.single-brand .detail-title {
    margin-bottom: -26px;
}
body.single-case_study .detail-title {
    margin-bottom: -8px;
}

@-moz-document url-prefix(){
    @media screen and (min-width: 768px) {
        body.home header + .wrapper + .wrapper {
            margin-top: -17px;
        }
        body.home .page-header .wrapper.menu-bg.transparent.border-bottom-white .container .logo{
            top: 8px;
        }
    }
}

#case_study_cta .arrow-indicator {
    bottom: -20px!important;
}
.remove-whitespace-above-nav .vc_column_container .vc_column-inner {
    padding-top:6px!important;
}

body.error404 {
    background: white;
}

body.error404 .container.main {
    padding-top: 0px;
}

.fourohfour-image{margin-bottom:0px !important;margin-top:0px;}

#fourohfour-row {
    margin-top: -35px!important;
}

footer.style-modern .widget .menu li a {
    color: black;
}

.minimal-list li {
    color: black;
}

.latest-posts .post footer span.comments,
.posts-container footer .post-comments {
    display: none;
}

@media screen and (max-width: 767px){
    .tp-revslider-slidesli.active-revslide .slotholder .tp-bgimg.defaultimg {
        background-image: url(https://aspencoreit.wpengine.com/wp-content/uploads/2017/07/home-header.jpg)!important;
    }
}

body .ultimate-layouts-container .ultimate-layouts-listing-grid-2 .ultimate-layouts-item .ultimate-layouts-entry-wrapper{
    position:relative;
}
body .ultimate-layouts-container .ultimate-layouts-listing-grid-2 .ultimate-layouts-item .ultimate-layouts-entry-wrapper .ultimate-layouts-content {
    padding-bottom:40px;
}
body .ultimate-layouts-container .ultimate-layouts-listing-grid-2 .ultimate-layouts-item .ultimate-layouts-entry-wrapper .ultimate-layouts-content .ultimate-layouts-metas-st2{
    position: absolute;
    bottom: 0;
    left: 5px;
    right: 5px;    
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 5px !important;
}

/* Take a Closer Look (Brands) */
.closer-look-col > .arrow-indicator.position-center-left {
    left: -85px!important;
}

/* Custom Heading Styles */
.ac_header_text_roboto,
.ac_header_text_roboto p {
    font-family: 'Roboto Slab', serif!important;
    font-weight: 300!important;
    font-style: normal!important;
}
.ac_header_text_roboto.wpb_content_element {
    margin-bottom: 0!important;
}
.ac_header_text > .vc_column-inner {
    padding-top: 0!important;
    padding-bottom: 0!important;
}

#top_section.header-style4-row {
    height: 449px;
}

/* Contact Page Fixes */
body.page-id-4936 > .wrapper {
    background: white;
}

h1.contact-us-header{
    font-family: 'Roboto Slab' !important;
}

/* Top Navigation Fixes */
ul#menu-primary ul.sub-menu {
    box-shadow: 0px 3px 9px 0px #b3b3b3;
}

#menu-primary > .menu-item:last-of-type:hover a {
    color: white !important;
}

.standard-text #menu-primary > .menu-item > a {
    font-weight: normal;
}

/* Home Loading Flash Fix */
body.home{
    /*background:#0a0a0a;*/
    background:#000000;
}

/* Secondary Menu on Media page */
#ac_submenu_2 div.wpb_text_column {
    display: none;
}

/* Media page / Brands Section */
#ac_submenu_2 .vc_column-inner {
    padding-top: 3px;
}

div#media_latest_brands div.vc_column-inner {
    padding-top: 0px;
}

.headerstyle4 .menu li ul li a {
	font-weight: normal;
}