/*Heading*/
.su-heading-style-default .su-heading-inner {
    display: inline-block;
    position: relative;
}
.su-heading-style-default .su-heading-inner:before, 
.su-heading-style-default .su-heading-inner:after {
    font-family: FontAwesome;
    content: "\f104";
    position: absolute;
    color: #300;
    font-size: 28px;
}
.su-heading-style-default .su-heading-inner:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    left: -15px;
    top: -15px;
}
.su-heading-style-default .su-heading-inner:after {
    right: -15px;
    bottom: -15px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.su-heading[class*="su-heading-style-flat-"] {
     background: transparent !important; 
     border-left: 0 !important; 
     padding: 0 !important; 
     line-height: initial !important; 
}

.su-heading[class*="su-heading-style-flat-"] h1.su-heading-inner span {
    color: #ffffff;
}

.su-heading[class*="su-heading-style-flat-"] h1.su-heading-inner {
    padding: 20px 40px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.su-heading[class*="su-heading-style-flat-"] h1.su-heading-inner:before {
    content: '';
    position: absolute;
    height: 10px;
    width: 75%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    box-shadow: 10px 0px 8px rgba(0, 0, 0, 0.5);
    top: -10px;
}

/*testimonial*/
.su-testimonial.su-testimonial-style-2 .su-testimonial-text {
    box-shadow: none !important;
    border-left: 1px solid !important;
}

/*pricing table*/
.su-pricing-table.su-pricing-style-1 .su-plan {
    padding: 2em 2.5em;
    text-align: left;
    color: #262b38;
    background: #EEF0F3 !important;
    border-width: 0 !important;
    -webkit-transition: border-color 0.3s;
    transition: border-color 0.3s;
    margin-right: 35px !important;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}
.su-pricing-table.su-pricing-style-1 .su-plan-name {
    font-size: 18px;
    padding: 0 0 10px !important;
    border-bottom: 3px solid rgba(139, 144, 157, 0.18);
    font-weight: bold;
    background: transparent !important;
}
.su-pricing-table.su-pricing-style-1 .su-plan .su-plan-head {
    border: 0 !important; 
}
.su-pricing-table.su-pricing-style-1 .su-plan-options {
    font-size: 0.85em;
    font-style: italic;
    margin: 0;
    padding-bottom: 60px;
    list-style: none;
    color: #8b909d;
}
.su-pricing-table.su-pricing-style-1 .su-plan-options ul li {
    padding: 0 !important;
    border: 0  !important;
}
.su-pricing-table.su-pricing-style-1 .su-plan-price {
    display: inline-block;
    padding-right: 8px;
}
.su-pricing-table.su-pricing-style-1 .su-plan-period {
    display: inline-block;
    padding-left: 10px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.su-pricing-table.su-pricing-style-1 .su-plan-footer {
    margin-top: auto;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}
.su-pricing-table.su-pricing-style-1 .su-plan-footer a {border-radius: 0px !important;font-weight: 700;font-size: 13px;padding: 10px 30px;}
.su-pricing-table.su-pricing-style-1 .su-plan-footer a:after, 
.su-pricing-table.su-pricing-style-1 .su-plan-badge:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 100%;
    right: -5px;
    top: 0;
    box-shadow: 10px 0 0 rgba(0,0,0,0.05);
    -webkit-transition: all .2s;
    transition: all .2s;
}
.su-pricing-table.su-pricing-style-1 .su-plan-badge {
    right: 20px !important;
}
.su-pricing-table.su-pricing-style-1 .su-plan-badge:after {
    box-shadow: 5px 0 0 rgba(0,0,0,0.05);
}

/*Icon list*/
.icon_list_item .icon_description_text p:last-child {
    margin-bottom: 0px;
}
/*member*/
.su-member.su-member-style-1 {
    position: relative;
    overflow: visible;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}
.su-member-style-1 .su-member-icons {
    border: none !important;
}
.su-member-style-1 .su-member-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
}
.su-member-style-1 .su-member-info {
    padding: 10px 25px;
    position: absolute;
    bottom: 35px;
    width: calc(50% + 10px);
    left: -10px;
    background-image: url(../images/btn-scale-bottom.svg);
    background-position: bottom right;
    background-size: 32px 12px;
    background-repeat: repeat-x;
    text-align: left;
    -webkit-transition: width .3s ease;
    transition: width .3s ease;
}
.su-member-style-1:hover .su-member-info {
    width: calc(60% + 10px);
}
.su-member-style-1 .su-member-info:before {
    content: '';
    position: absolute;
    left: 3px;
    border: 7px solid transparent;
    border-bottom-color: #444;
    bottom: -7px;
    transform: rotate(45deg);
}
.su-member-style-1 .su-member-desc {
    display: none;
}
.su-member-style-1 .su-member-info:after {
    position: absolute;
    content: '';
    right: -8px;
    height: 100%;
    width: 16px;
    top: 0;
}
.su-member.su-member-style-1 .su-member-icons {
    padding: 1.2em .8em;
    position: absolute;
    top: 10px;
    right: -10px;
}
.su-member-style-1 .su-member-icons:before {
    content: '';
    position: absolute;
    right: 3px;
    border: 7px solid transparent;
    border-bottom-color: #444;
    bottom: -7px;
    transform: rotate(-45deg);
}
.su-member.su-member-style-1 .su-member-icons a {
    display: block;
    margin: 0;
}
.su-member.su-member-style-1 .su-member-icons a i {
    font-size: 16px;
    color: #fff !important;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    display: block;
}
.su-member.su-member-style-1 .su-member-icons a:hover i {
    opacity: 0.8;
    filter: alpha(opacity=80);
    color: #fff !important;
}
.su-member.su-member-style-1 .su-member-icons a:last-child i {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
.su-member.su-member-style-1 .su-member-role {
    opacity: 1;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 12px;
    color: #fff;
    opacity: 0.7;
}
.su-member-style-6 .su-member-icons .su-member-ic a {
    border-radius: 0 !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

/*counter design*/
.su-counter-wrapper {
    background-image: url("../images/counter-wrapper-bg.svg");
    background-size: 35px 35px;
    background-repeat: repeat;
    background-color: transparent;
}
.su-counter-wrapper .su-counter-number {
    font-weight: bold;
}


/*portfolio*/
.cbp-l-filters-buttonCenter .cbp-filter-item {
    padding: 3px 20px !important;
    background-image: url(../images/btn-scale-bottom.svg);
    background-position: bottom left;
    background-size: 32px 12px;
    background-repeat: repeat-x;
    font-size: 15px !important;
    border: 0 !important;
    margin-right: 25px !important;
}
.cbp-l-filters-buttonCenter .cbp-filter-item:before {
    content: '';
    height: 100%;
    width: 10px;
    background: #ffffff;
    position: absolute;
    top: 0;
    left: -5px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.cbp-l-filters-buttonCenter .cbp-filter-item:after {
    content: '';
    height: 100%;
    width: 10px;
    background: #ffffff;
    position: absolute;
    top: 0;
    right: -5px;
    box-shadow: 4px 0 0px rgba(0, 0, 0, 0.03);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
/* Mailchimp design */
.su-newsletter-wrapper .su-newsletter {
    position: relative;
    margin-bottom: 0;
    max-width: 480px;
}
.su-newsletter-wrapper input.su-newsletter-email {
    width: 100%;
    height: 43px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: 0;
    color: #444;
    background: transparent;
    margin-bottom: 0;
}
.su-newsletter-wrapper div.su-newsletter-button {
    position: absolute;
    right: 0;
    top: 0;
}
.su-newsletter-wrapper div.su-newsletter-button:before {
    position: absolute;
    left: 50%;
    top: 50%;
    content: "\f003";
    font-family: FontAwesome;
    font-size: 18px;
    margin-left: -8px;
    pointer-events: none;
    transform: translateY(-50%);
}
.su-newsletter-wrapper div.su-newsletter-button:after {
    position: absolute;
    content: '';
    height: 24px;
    width: 1px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.su-newsletter-wrapper input.su-newsletter-submit {
    box-sizing: border-box;
    text-indent: -2000px;
    border: 0;
    outline: none;
    background: transparent;
    height: 43px;
    width: 50px;
    margin-bottom: 0;
}
.su-newsletter-wrapper p {
    margin-top: 5px;
}

/*slider layout mode navigation design*/
.su-portfolio .cbp-mode-slider .cbp-nav-controls, 
.su-post-grid .cbp-mode-slider .cbp-nav-controls {
    right: 50%;
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
}
.su-portfolio .cbp-mode-slider .cbp-nav-controls > div, 
.su-post-grid .cbp-mode-slider .cbp-nav-controls > div {
    background: transparent;
}
.su-portfolio .cbp-mode-slider .cbp-nav-controls > div:after, 
.su-post-grid .cbp-mode-slider .cbp-nav-controls > div:after {
    position: absolute;
    top: 48%;
    background: none;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    font-family: FontAwesome;
    color: rgba(0,0,0,0.8);
    font-size: 18px;
    height: auto;
    width: auto;
    bottom: auto;
}
.su-portfolio .cbp-mode-slider .cbp-nav-controls .cbp-nav-next:after, 
.su-post-grid .cbp-mode-slider .cbp-nav-controls .cbp-nav-next:after {
    content: "\f178";
    left: 50%;
}
.su-portfolio .cbp-mode-slider .cbp-nav-controls .cbp-nav-prev:after, 
.su-post-grid .cbp-mode-slider .cbp-nav-controls .cbp-nav-prev:after {
    content: "\f177";
    left: calc(50% - 13px);
}
.su-portfolio .su-portfolio-style1 .cbp-caption-activeWrap {
    background-color: rgba(0, 0, 0, 0.5);
}
.su-portfolio-style1 .sup-img-wrap:before, 
.su-portfolio-style1 .sup-img-wrap:after {
    position: absolute;
    content: '';
    top: 30px;
    left: 30px;
    z-index: 111;
    -webkit-transition: all .3s  cubic-bezier(0, .2, 0, 1);
    transition: all .3s  cubic-bezier(0, .2, 0, 1);
}
.su-portfolio-style1 .sup-img-wrap:before {
    height: 0;
    width: 2px;
}
.su-portfolio-style1 .sup-img-wrap:after {
    height: 2px;
    width: 0;
}
.su-portfolio-style1 .cbp-caption:hover .sup-img-wrap:before {
    height: 50%;
    width: 2px;
}
.su-portfolio-style1 .cbp-caption:hover .sup-img-wrap:after {
    height: 2px;
    width: 50%;
}
.su-portfolio-style1 .cbp-caption:before, 
.su-portfolio-style1 .cbp-caption:after {
    position: absolute;
    content: '';
    right: 50%;
    top: 50%;
    height: 100%;
    width: 50%;
    background-color: rgba(255, 255, 255, 0.28);
    z-index: 111;
    transform-origin: 0 100%;
    -webkit-transition: background-color .3s  cubic-bezier(0, .2, 0, 1);
    transition: background-color .3s  cubic-bezier(0, .2, 0, 1);  
}
.su-portfolio-style1 .cbp-caption:before {
    -webkit-transform: rotate(75deg) translateX(-50%) translateY(-50%);
    transform: rotate(75deg) translateX(-50%) translateY(-50%);
}
.su-portfolio-style1 .cbp-caption:after {
    -webkit-transform: rotate(77deg) translateX(-50%) translateY(-50%);
    transform: rotate(77deg) translateX(-50%) translateY(-50%);
}
.su-portfolio-style1 .sup-title h4 {
    font-size: 17px !important;
    text-transform: uppercase !important;
}
.su-portfolio-style1 .sup-meta {
    font-size: 11px !important;
    font-weight: 400;
    text-transform: uppercase;
}



/*section*/
.tm-features .su-section {z-index: 111;}
@media only screen and (min-width: 768px) and (max-width: 960px) {
    .tm-features .su-section {margin-top: -20% !important;}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .tm-features .su-section {margin-top: -25% !important;}    
}

/*contact form*/
.su-contact_form .su-form-fields {
    display: block !important;
    margin: 0 !important;
}
.tm-bottom-b .su-contact-form textarea,
.tm-bottom-b .su-contact-form input[type="text"],
.tm-bottom-b .su-contact-form input[type="email"] {
    color: #ffffff;
    border-color: #666666;
}
.su-contact-form textarea,
.su-contact-form textarea.invalid,
.su-contact-form input[type="text"],
.su-contact-form input[type="email"],
.su-contact-form input.invalid {
    border: 1px solid #e5e5e5;
    box-shadow: none !important;
    padding: 5px 15px!important;
}
.su-form-wrapper .submit-button input {
    min-width: ;
    text-align: center;
    text-transform: uppercase;
    height: 40px;
    font-size: 13px;
}


/*post grid*/
.su-post-grid.template-style .postImage, 
.su-post-grid.template-style .postDesc {
    display: inline-block;
    width: 50%;
    float: left;
}
.su-post-grid.template-style .postImage {
    position: relative;
}
.su-post-grid.template-style .postDesc {
    padding: 6% 30px;
    text-align: center;
}
.su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(4n+3) .postImage, 
.su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(4n+4) .postImage {float: right;}
.su-post-grid.template-style .cbp-l-grid-blog-title{margin-top: 0;}

.su-post-grid.template-style .cbp-wrapper .cbp-item .postImage:before {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    content: '';
    border: 14px solid transparent;
    z-index: 11;
}

.su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(4n+1) .postImage:before,
.su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(4n+2) .postImage:before {
    border-right-color: #fff;
    right: -1px;
}

.su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(4n+3) .postImage:before,
.su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(4n+4) .postImage:before {
    left: -1px;
    border-left-color: #fff;
}
.tm-sidebar-a .flickrfeed li {
    width: 25%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0 5px 5px 0;
}

/*carousel*/
.su-carousel-style-1 .su-carousel-slide {
    text-align: left !important;
}
.su-carousel-style-1 .su-carousel-caption .su-cmeta {
    margin-bottom: 5px;
}

.su-carousel-style-1 .su-carousel-slide-title {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: normal;
}

.su-carousel-style-1 .su-carousel-image {
    margin: -20px -20px 0;
}

/* Twitter */
.su-twitter-slides .su-twitter-item {
    color: #ffffff !important;
}

/* Icon list */
div[id*="qx-icon_lis"] .icon_description_text p {
    margin-bottom: 0;
}

#tm-modal .su-icon-list .icon_description h3 {
    font-weight: 300;
}

@media (max-width: 980px) {
   .su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(2n+0) .postImage {
        float: right !important;
   }
   .su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(2n+0) .postImage:before {
        border-left-color: #fff;
        left: -1px;
        border-right: 0;
   }
   .su-post-grid.template-style .cbp-wrapper .cbp-item .postImage {
        float: left !important;
   }
    .su-post-grid.template-style .cbp-wrapper .cbp-item:nth-child(2n+1) .postImage:before {
        right: -1px;
        border-right-color: #fff;
        border-left: 0;
    }
    
}

@media (max-width: 768px) {
   .su-post-grid.template-style .postImage, 
    .su-post-grid.template-style .postDesc {
        width: 100% !important;
        float: none !important;
    }
    .su-post-grid.template-style .cbp-wrapper .cbp-item .postImage:before {
        display: none !important;
    }
    .su-post-grid.template-style .postDesc {
        padding: 15px 30px 30px !important;
    }
}


/* Page 4: Blog Post */

.bdt_pg4_blog_post .cbp-nav-controls {
    display: none;
}
.bdt_pg4_blog_post .cbp-nav-pagination {
    bottom: -50px;
}


/* Page 4: Navigation */

ul.uk-list-line {
    position: relative;
    margin-bottom: 0 !important;
}

ul.uk-list-line:not(.bdt_portfolio_menu) li:after {
    content: '\f105';
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    right: 0;
}
.qx-element-text ul.uk-list-line li {
    border-color: rgba(229, 229, 229, 0.4) !important;
}
.qx-element-text ul.uk-list-line li:after {
    color: rgba(229, 229, 229, 0.4) !important;
}


/* Meet The Team Page: Slider */
.qx-element-slider-pro .qx-slide__container a {
    padding: 14px 40px !important;
    font-size: 16px;
    line-height: 16px;
    outline: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.qx-element-slider-pro .qx-slide__container a:focus {
    outline: 0;
}


/* Progress Pie Style */
.su-progress-pie .su-progress-pie-text {
    font-weight: 700;
}
