/*
 Theme Name:   Cura Child
 Theme URI:    https://cura.radiantthemes.com/
 Description:  Cura Child Theme
 Author:       radiantthemes
 Author URI:   https://radiantthemes.com/
 Template:     cura
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 Text Domain:  cura-child
*/

/* header */

/* seems impossible to set column width using elementor; everytime I choose a width for a column, all others columns changes their witdh. So I've blocked the columns of the header menu by css */

.elementor-30500 .elementor-element.elementor-element-106041c {
    width: 60% !important;
}
/* .elementor-30500 .elementor-element.elementor-element-82681db {
    display: none;
} */
.elementor-30500 .elementor-element.elementor-element-76bda78 {
    width: 3% !important
}
.elementor-30500 .elementor-element.elementor-element-790f88f {
    width: 27% !important;
}
.elementor-30500 .elementor-element.elementor-element-210fb2a {
    width: 10% !important;
}

@media (min-width: 768px) {
    .elementor-30500 .elementor-element.elementor-element-106041c {
        width: 20% !important;
    }
    .elementor-30500 .elementor-element.elementor-element-82681db {
        width: 58% !important;
    }
    .elementor-30500 .elementor-element.elementor-element-76bda78 {
        width: 3% !important
    }
    .elementor-30500 .elementor-element.elementor-element-790f88f {
        width: 14% !important;
    }
    .elementor-30500 .elementor-element.elementor-element-210fb2a {
        width: 5% !important;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .elementor-30500 .elementor-element.elementor-element-106041c {
        width: 74% !important;
    }
    /* .elementor-30500 .elementor-element.elementor-element-82681db {
        display: none;
    } */
    .elementor-30500 .elementor-element.elementor-element-76bda78 {
        width: 3% !important
    }
    .elementor-30500 .elementor-element.elementor-element-790f88f {
        width: 18% !important;
    }
    .elementor-30500 .elementor-element.elementor-element-210fb2a {
        width: 5% !important;
    }
}

/* spaces between main menu items */
#rt-mainMenu nav > ul > li {
    padding-left: 20px !important;
}

/* fix search icon position */
.elementor-widget-radiant-custom-search .header-slideout-searchbar {
    margin: 0px !important;
}

/* breadcrumb container color gradient */
.radiantthemes-website-layout .wraper_inner_banner {
    background: rgb(38,51,139);
    background: linear-gradient(90deg, rgba(38,51,139,1) 0%, rgba(0,157,226,1) 50%, rgba(148,28,130,1) 100%);
    padding-top: 112px !important;
}

/* page top padding */
.wraper_blog_main .container.page-container {
    padding-top: 60px !important; /* default 112px seems too much */
}


/* login/register links */
.elementor-30500 .elementor-element.elementor-element-d6fa18c {
    font-size: 10px;
}


#menu-ittbiomed-pagine-editoriali li {
    text-align: end;
}


/* category */ 
.archive.category .wraper_inner_banner_breadcrumb > .container, 
.archive.tax-location .wraper_inner_banner_breadcrumb > .container {
    padding-bottom: 5px !important;
}

.archive.category .wraper_inner_banner_breadcrumb > .container a, 
.archive.category .wraper_inner_banner_breadcrumb > .container span, 
.archive.tax-location .wraper_inner_banner_breadcrumb > .container a, 
.archive.tax-location .wraper_inner_banner_breadcrumb > .container span {
    color: #ffffff !important;
}

.archive.category .wraper_inner_banner_main, 
.archive.tax-location .wraper_inner_banner_main {
    background-color: #ffffff;
}
.archive.category .wraper_inner_banner_main .container, 
.archive.tax-location .wraper_inner_banner_main .container {
    padding-top: 50px !important;
    padding-bottom: 0px !important;
}

.archive.category .wraper_inner_banner_main .container .title, 
.archive.tax-location .wraper_inner_banner_main .container .title {
    color: #101010;
    line-height: 120% !important;
    margin-bottom: 0;
}

.wraper_blog_main > .container {
    padding-top: 40px !important; 
}

.post.style-three .entry-main .post-meta > span {
    margin-right: 0;
    line-height: 100%;
}



/* Box newsletter */
.newsletter .row div p {
    margin-bottom: 0;
}
.newsletter > .row > div {
    padding-top: 20px;
    padding-bottom: 20px;
}
.newsletter > .row > div:first-child {
    background-color: #961b81;
    color: #ffffff;
}
.newsletter > .row > div:first-child p {
    line-height: 125% !important;
    text-align: center;
}
.newsletter > .row > div:last-child {
    background-color: #f0f0f0;
}
.newsletter input[type="email"] {
    width: 100%;
    border: 1px solid #961b81;
    border-radius: 5px;
    font-size: 10px;
    padding: 4px 8px !important;
}
.newsletter .submit-col {
    position: relative;
    align-items: center;
    display: flex;
    padding-left: 0;
}
.newsletter .submit-col .wpcf7-spinner {
    position: absolute;
    top: -5px;
    left: -5px;
    margin: 0;
    display: none;
}
.wpcf7-form.submitting .wpcf7-spinner {
    display: block;
}
.newsletter input[type="submit"] {
    width: 14px;
    height: 14px;
    border: none;
    font-size: 0;
    background-color: transparent;
}
.newsletter .submit-btn-container {
    background-color: #961b81;
    display: inline-block;
    position: relative;
    margin-bottom: 0;
    cursor: pointer;
    border-radius: 14px;
}
.newsletter .submit-btn-container:after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border: 1px solid #ffffff;
    border-left: none;
    border-bottom: none;
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translate(0, -50%) rotate(45deg);
}
.newsletter span.wpcf7-not-valid-tip {
    position: absolute;
    z-index: 10;
    opacity: 1;
}

.newsletter p {
    line-height: 0 !important;
}


.newsletter .wpcf7-list-item {
    margin: 0;
}

/* LARGE DESKTOP PART */
/* @media screen and (min-width:1200px){
} */

/* DESKTOP PART */
/* @media screen and (min-width:992px) and (max-width:1199px){
} */

/* TABLET LANDSCAPE PART */
/* @media screen and (min-width:768px) and (max-width:991px){
} */

/* TABLET PROTRAIT PART */
/* @media screen and (min-width:480px) and (max-width:767px){
} */

.newsletter input[type="checkbox"] {
    margin: 0 10px 0 0;
}

.newsletter .wpcf7-list-item label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.newsletter .wpcf7-list-item label .wpcf7-list-item-label {
    font-size: 8px;
    line-height: 120%;
}

@media screen and (max-width: 991px) {
    .newsletter .wpcf7-list-item label .wpcf7-list-item-label {
        margin-top: 7px; 
    }
    .newsletter input[type="checkbox"] {
        margin-top: 7px; 
    }
}





.wpcf7 form.invalid .wpcf7-response-output {
    margin: 0;
    font-size: 12px;
}

span.wpcf7-not-valid-tip {
    margin-top: -4px !important;
}


/* FRONT PAGE */

/* categories call to action boxes */
.target-call-to-actions {
    margin: 0 -10px;
}
.target-call-to-actions a {
    position: relative;
    overflow: hidden;
}
.target-call-to-actions a img {
    /* max-width: 250px; */
}
.target-call-to-actions a .overlay {
    position: absolute;
    bottom:0;
    left:0;
    transition: all .35s cubic-bezier(.38, 3, .57, 1.6);
    transform: translate3d(0px, 60%, 0);
    /* width: 100%; */
}
.target-call-to-actions a:hover .overlay {
    transform: translate3d(0px, 55%, 0);
}



/* latest article separator */
.latest-article-separator .elementor-widget-wrap {
    display: flex;
}

.latest-article-separator .elementor-widget-wrap .elementor-widget-divider {
    flex-grow: 1;
    padding-left: 10px;
    padding-right: 10px;
}

.blog.element-two .blog-item {
    padding: 0 12px !important;
}

.elementor-element-4b58511 .blog.element-two .blog-item { /* only home latest articols */
    width: 100%;

    @media (min-width: 576px) {
        width: 50%;
    }

    @media (min-width: 768px) {
        width: 33.3%;
    }
}

.blog.element-two .blog-item > .holder {
    box-shadow: none !important;
}

.elementor-section.full-width .elementor-widget-wrap {
    padding: 0 !important;
}

.blog.element-two.ittbiomed-blog > .col-12 {
    padding: 0 !important;
}


.full-width-first-item-ittbiomed-blog-container {
    background-color: #e8eaf2;
}
.full-width-first-item-ittbiomed-blog-container.relevance {
    background-color: #eaeaea;
}

.blog.element-two.ittbiomed-blog .blog-item {
    float: none;
    display: flex;
}
.blog.element-two.ittbiomed-blog .blog-item.first-item {
    padding: 0 !important;
}

.blog.element-two.ittbiomed-blog .blog-item > .holder {
    padding: 0;
}
.blog.element-two.ittbiomed-blog .blog-item.first-item > .holder > .pic > img {
    height: 430px;
}

.blog.element-two .blog-item > .holder > .data > .post-meta span.comments {
    display: none;
}

.full-width-first-item-ittbiomed-blog-container.relevance h4 {
    line-height: 70%;
    margin-right: 13px;
    color: #0098DB;
    margin-top: 10px;
}


    .full-width-first-item-ittbiomed-blog-container.relevance h3 {
        font-size:20px;
        line-height: 120%;
    }



.full-width-first-item-ittbiomed-blog-container.relevance .post-content {
    font-size: 15px;
    line-height: 140%;
}

@media (min-width: 768px) {
    .full-width-first-item-ittbiomed-blog-container.relevance .post-content {
        font-size: 16px;
        line-height: 28px;
    }
}

.full-width-first-item-ittbiomed-blog-container.relevance .post-meta {
    font-size: 14px;
}
@media (min-width: 768px) {
    .full-width-first-item-ittbiomed-blog-container.relevance .post-meta {
        font-size: 16px;
    }
}



.bullets-ico-container {
    padding: 7px 10px 0 0;
    border-right: 1px solid #0098DB;
    display: flex;
    margin-right: 14px;
}
.bullets-ico-container .bullet {
    width: 4px;
    height: 4px;
    background-color: #961b81;
    border-radius: 4px;
    margin-right: 6px;
}
.bullets-ico-container .bullet:first-child {
    background-color: #0098DB;
}
.bullets-ico-container .bullet:last-child {
    background-color: #21307d;
}

.blog.element-two.ittbiomed-blog .blog-item.first-item .data .post-content h2 {
    display: none;
}


/* front page article list */
.ittbiomed-blog-posts-list h4 {
    color:#21307d;
    text-transform: capitalize;
}

.ittbiomed-blog-posts-list h4 img {
    height: 22px !important;
    margin-bottom: 6px;
    margin-right: 16px;
}

.light-blue-arrow-right {
    color: #21307d;
    position: relative;
    padding-right: 20px;
}
.light-blue-arrow-right:after {
    content: '';
    display: block;
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid #21307d;
    border-left: none;
    border-bottom: none;
    top: 50%;
    right: 0;
    transform: translate(0px, -50%) rotate(45deg);
}



/* discover more button over the post image */
.blog.element-two .blog-item > .holder > .post-btn > .post-button {
    white-space: nowrap;
    width: 45% !important;
    background: rgb(38,51,139) !important;
    background: linear-gradient(90deg, rgba(38,51,139,1) 0%, rgba(0,157,226,1) 100%) !important;
}


/* homepage team carousel */
.team.element-two .rt-doctor-team {
    overflow: hidden;
}

.team.element-two .rt-doctor-team .box-content {
    padding: 0 15px;
    color: #ffffff !important;
    background-color: #000000;
    position: absolute;
    z-index: 10;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;

    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

.team.element-two .rt-doctor-team .box-content p {
    display: none;
}

.team.element-two .rt-doctor-team .box-content a {
    margin-top: 15px;
    color: #c0c0c0;
    position: absolute;
    color: transparent;
    height: 100%;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
}
.team.element-two .rt-doctor-team .box-content h4 {
    color: #ffffff;
    margin-bottom: 5px;
}

.team.element-two .rt-doctor-team:hover .box-content {
    opacity: 1;
}
.team.element-two .rt-doctor-team img {
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.team.element-two .rt-doctor-team:hover img {
    -webkit-transform: translateX(5%) skewX(2deg);
    -ms-transform: translateX(5%) skewX(2deg);
    transform: translateX(5%) skewX(2deg);
}

.team.element-two .swiper-button-next {
    background-image: url(/wp-content/themes/cura-child/img/swipe-rx-opa.png);
    width: 100px;
    background-size: contain;
    right: -15px;
    cursor:grabbing;
    background-position-x: left;
}
.team.element-two .swiper-button-next:hover:after {
    content: 'Hold and scroll to see all the members of the Scientific Board';
    display: block;
    width: 332px;
    left: -260px;
    position: absolute;
    bottom: -27px;
    background-color: #FFFFFF;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 12px;
}

.team.element-two .swiper-button-prev {
    background-image: url(/wp-content/themes/cura-child/img/swipe-sx-opa.png);
    width: 100px;
    background-size: contain;
    right: -15px;
    cursor:grabbing;
}
.team.element-two .swiper-button-prev:hover:after {
    content: 'Hold and scroll to see all the members of the Scientific Board';
    display: block;
    width: 332px;
    left: 3px;
    position: absolute;
    bottom: -27px;
    background-color: #FFFFFF;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 12px;
}


/* doctors/relator archive page */
.page-id-36847 .team.element-two .rt-doctor {
    display: inline-block;
    padding: 0 5px;
}
.page-id-36847 .team.element-two .rt-doctor .box-content p {
    display: none;
}
.page-id-36847 .team.element-two .rt-doctor:before {
    background-color: #000000 !important;
    left: 5px !important;
    width: calc(100% - 10px) !important;
}
.page-id-36847 .team.element-two .rt-doctor .box-content h4, .page-id-36847  .team.element-two .rt-doctor .box-content .post {
    color: #ffffff;
}
.page-id-36847 .team.element-two .rt-doctor .box-content a {
    text-decoration: none !important;
}
.page-id-36847 .team.element-two .rt-doctor .box-content a:before, .page-id-36847 .team.element-two .rt-doctor .box-content a:after {
    display: none;
}


/* single-doctor */
.single-doctor .wraper_inner_banner, .archive.category .wraper_inner_banner, .archive.tax-location .wraper_inner_banner {
    background: linear-gradient(90deg, rgb(38, 51, 139) 0%, rgb(0, 157, 226) 50%, rgb(148, 28, 130) 100%) !important;
    padding-top: 112px !important;
}

.single-doctor .elementor-50657 .elementor-element.elementor-element-2d613ff {
    width: auto !important;
    left: initial !important;
}

.single-doctor .site-main > .container > .row {
    margin-left: -15px;
    margin-right: -15px;
}



/* contact page */
.home7_contactus > .row {
    padding: 25px;
}

/* right bar */
#secondary .wp-block-contact-form-7-contact-form-selector {
    margin-bottom: 0;
}
#secondary .wp-block-contact-form-7-contact-form-selector .newsletter > .row {
    flex-direction: column !important;
}
#secondary .wp-block-contact-form-7-contact-form-selector .newsletter > .row > div {
    width: 100% !important;
    max-width: 100% !important;
}
#secondary .wp-block-contact-form-7-contact-form-selector .newsletter .wpcf7-acceptance {
    margin-top: 10px;
    display: block;
}

#secondary #block-6 { /* last post h4 */
    margin-bottom: 0 !important;
}

#secondary ul.wp-block-latest-posts {
    padding-left: 0 !important;
}





/* FOOTER */

.wraper_footer.custom-footer {
    border-top: 1px solid #21307d;
    padding-top: 24px;
    margin-top: 7px;
}

.elementor-31177 .elementor-element.elementor-element-6e0d273 {
    min-width: 300px;
}
#nav_menu-3 ul {
    display: flex;
}
#nav_menu-3 ul li {
    display: flex;
    flex-grow: 1;
}
#nav_menu-3 ul li a {
    color: #ffffff;
}

.wp-block-tag-cloud { margin-bottom: 0; }

.tag-cloud-link {
    text-align: center;
    background: #FFFFFF;
    font-size: 16px !important;
    border-radius: 0px;
    color: #696969;
    display: inline-block;
    vertical-align: top;
    margin: 0px 10px 10px 0px;
    padding: 0px 10px 0 10px;
    border: 1px #696969 solid;
    /* text-transform: capitalize; */
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
  }


 .tag-cloud-link:hover {
    opacity: 1;
    background: #696969;
    color: #fff;
  }
  
 .tag-cloud-link:after,
 .tag-cloud-link:before {
    display: none;
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    -webkit-transition: .35s cubic-bezier(.04, .11, .6, .97);
    -o-transition: .35s cubic-bezier(.04, .11, .6, .97);
    transition: .35s cubic-bezier(.04, .11, .6, .97);
  }
  
 .tag-cloud-link:before {
    -webkit-transform-origin: 100% 50%;
    -ms-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
  }
  
 .tag-cloud-link:hover:before {
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
  }
  
 .tag-cloud-link:after {
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
  }
  
 .tag-cloud-link:hover:after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transition-delay: .34s;
    -o-transition-delay: .34s;
    transition-delay: .34s;
  }