::selection {
    color: #fff;
    background: #9A3122;
}

.tm-page {
    background-color: #FFF;;
}

/*---------------------------------- Nav Bar ----------------------------------*/

header, header > .uk-sticky, .uk-navbar-container, .uk-navbar-container > div, .uk-navbar-container nav{
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: white;
}
.uk-navbar-sticky {
    box-shadow: 0px 0px 20px 0px rgba(131, 131, 131, 0.27);
}

nav > * {
    flex-wrap: initial !important;
}

.uk-navbar-toggle-icon {
    color: #7a7a7a;
}

.uk-navbar-nav > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0px; 
    box-sizing: border-box;
    min-height: 80px;
    font-size: 16px;
    font-family: Inter;
    letter-spacing: normal;
    text-decoration: none;
}

li.uk-parent > a::after{
    content: url(/images/icone/nav-icon.svg);
    rotate: 180deg;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    transition: rotate 0.2s;
    stroke: aqua !important;
    margin-left: 4px;
}

li.uk-parent.uk-active a{
    color: #b4b5ba !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

li.uk-parent [aria-expanded="true"]::after{
    rotate: 0deg;
    transition: rotate 0.2s;
}

li.uk-parent a:hover{
    color: #000 !important;
}

.uk-navbar-dropdown {
    border-radius: 20px;
    top: 100px !important;
}

.uk-navbar-dropdown a {
    font-weight: bold;
    font-size: 16px;
    letter-spacing: normal;
	text-decoration: none !important;
}

.uk-navbar-dropdown a:hover{
	opacity: 0.8;
}

@media (max-width: 1600px) {
    .uk-navbar-right li a {
        font-size: 15px !important;
    }

    .uk-navbar-right ul {
        gap: 20px !important;
    }

    nav .uk-navbar-item a{
        font-size: 15px !important;
        padding: 0 10px;
    }
    nav .uk-navbar-item .uk-width-1-1{
        padding-left: 25px;
    }
}

@media (max-width: 1440px) {
    .uk-navbar-right li a {
        font-size: 15px !important;
    }

    .uk-navbar-right ul {
        gap: 15px !important;
    }

    nav .uk-navbar-item a{
        font-size: 15px !important;
        padding: 0 10px;
    }
}

@media (max-width: 1199px) {
    .uk-navbar-left {
        width: 150px;;
    }
}

/*---------------------------------- Nav Mobile ----------------------------------*/

#tm-dialog-mobile {
    z-index: 30;
    box-shadow: 0px 0px 20px 0px rgba(131, 131, 131, 0.27);
}

#tm-dialog-mobile .uk-modal-body {
    min-height: auto !important;
    box-shadow: 0px 0px 20px 0px rgba(131, 131, 131, 0.27);
    padding: 0px;
    width: 100% !important;
}

#tm-dialog-mobile .navbar-link {
    display: flex;
    align-items: center;
    height: 60px;
    border-top: 1.5px solid rgb(239, 239, 239);
    padding-left: 25px;
    text-decoration: none;
    font-size: 15px;
}

#tm-dialog-mobile .nav-mobile-corsi {
    border-top: 1.5px solid rgb(239, 239, 239); 
    padding: 10px 25px;
}

#tm-dialog-mobile .nav-mobile-corsi > ul > li > a{
    text-transform: none;
    text-decoration: none;
    letter-spacing: 0px;
    font-weight: 600;
    font-family: 'Inter';
    font-size: 15px;
    color: #2d2e33 !important;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#tm-dialog-mobile .uk-nav-sub > li a{
    text-transform: none;
    text-decoration: none;
    letter-spacing: 0px;
    font-weight: 500;
    font-family: 'Inter';
    font-size: 14.5px;
    color: #2d2e33 !important;
    padding: 5px 0;
}

#tm-dialog-mobile .uk-modal-dialog > button {
    top: 25px;
    right: 25px;
}

#tm-dialog-mobile .uk-modal-dialog > button > svg{
    width: 20px;
}

#tm-dialog-mobile .div[data-id]{
    border: 1px solid red;
}

@media (max-width: 960px) {
    .uk-navbar-container > div {
        padding-left: 25px !important;
        padding-right: 30px !important;
    }
}

/*---------------------------------- Slideshow header ----------------------------------*/

.slideshow_header .el-nav { 
    position: relative;
    bottom: 80px;
    display: flex;
    align-items: center;
    justify-content:space-between;
}

.slideshow_header .el-nav a {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #fff;
    margin: 0 5px;
    border-radius: 20px;
    -webkit-transition: opacity .5s, background-color .5s, width .5s;
    -o-transition: opacity .5s, background-color .5s, width .5s;
    transition: opacity .5s, background-color .5s, width .5s;
}

.slideshow_header .el-nav li.uk-active a{
    opacity: 1;
    background: #ffffff;
    width: 40px;
    border-radius: 20px;
    background-color: #9A3122;
    webkit-transition: opacity .5s, background-color .5s, width .5s;
    -o-transition: opacity .5s, background-color .5s, width .5s;
    transition: opacity .5s, background-color .5s, width .5s;

}

.slideshow_header .el-content {
   color: #fff;
}

.slideshow_header .el-overlay {
    width: 700px;
    margin-left: 100px;
    margin-right: 100px;
}	

.slideshow_header .el-item .uk-position-cover {
    background: rgb(198,198,198);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.60) 12.29%, rgba(0, 0, 0, 0.00) 57.91%, rgba(0, 0, 0, 0.46) 92.34%);
}

.slideshow_header picture img{
    object-position: center 20%;
}

@media (max-width: 960px) {
    .slideshow_header .el-nav {
        bottom: 20px;
   }
   .slideshow_header .el-overlay {
        width: auto;
        margin-left: 0px !important;
        margin-right: 0px !important;
   }

   .slideshow_header .uk-position-relative > div {
        display: flex !important;
        bottom: -20px;;
   }
}

/*---------------------------------- Slideshow Button ----------------------------------*/

.start_button a{
    background-color: transparent;
    border: 1px solid white;
    color: #fff;
    width: 160px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.start_button a::before{
    content: url(/images/icone/pause_icon.svg);
    position: relative;
    top: 2px;
}

.start_button a:hover{
    background-color: transparent;
    border: 1px solid white;
    color: #fff;
}

.pause_button a {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
    width: 160px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.pause_button a::before{
    content: url(/images/icone/start_icon.svg);
    position: relative;
    top: 2px;
}

.pause_button a:hover {
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}

/*---------------------------------- Button ----------------------------------*/

.icon_button a{
    padding-left: 7px;
}

.icon_button a:hover span{
    background-color: #fff;
}

.icon_button a:hover svg > path{
    stroke: #9A3122;
}


.icon_button span {
    height: 40px;
    width: 40px;
    background-color: #9A3122;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 50px;
}

.icon_button svg {
    width: 25px;
}

/*---------------------------------- Breadcrumbs ----------------------------------*/

nav[aria-label="Breadcrumb"] li:nth-of-type(1) a{
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav[aria-label="Breadcrumb"] li:nth-of-type(1) a::after{
    content: url(/images/icone/home.svg);
    position: relative;
    width: 18px;
    height: 20px;
}

nav[aria-label="Breadcrumb"] li:nth-of-type(1) a:hover{
    background-color: #fff;
}

nav[aria-label="Breadcrumb"] li:nth-of-type(1) a:hover::after {
    content: url(/images/icone/home-b.svg);
}

nav[aria-label="Breadcrumb"] ul {
    display: flex;
    align-items: center;
    justify-content: start;
}

nav[aria-label="Breadcrumb"] li::before{
    content: url(/images/icone/Triangle-br.svg) !important;
}

nav[aria-label="Breadcrumb"] li:nth-of-type(1)::before{
    content: none !important;
}


@media (max-width: 640px) {
    nav[aria-label="Breadcrumb"] ::before {
        margin: 0px !important;   
   }   
   nav[aria-label="Breadcrumb"] ul {
        gap: 15px !important;   
   }

   nav[aria-label="Breadcrumb"] li > *{
        font-size: 10px !important;
        line-height: 10px;
   }

   nav[aria-label="Breadcrumb"] li:nth-of-type(1) a::after {
        width: 12px;
        height: 12px;
    }

    nav[aria-label="Breadcrumb"] li:nth-of-type(1) a {
        width: 35px;
        height: 35px;
    }
}


/*---------------------------------- Image decoration ----------------------------------*/

.img_decoration {
    margin-top: 20px;  
    padding-right: 40px;
}

.img_decoration picture {
    z-index: 2;
    position: relative;
    right: -40px;
    top: -40px;
}

.img_decoration img {
    border-radius: 15px !important;
}

.img_decoration > div::before {
    border:none;
    background-color: #fcf9f2;
    z-index: 1;
    right: -20px;
    top: -20px;
    bottom: initial;
    left: initial;
    width: 100%;
    height: 100%; 
    border-radius: 15px;
}


@media (max-width: 640px) {
    .img_decoration {
        padding-right: 20px;
    }

    .img_decoration > div::before{
        border-radius: 8px !important;
    }

    .img_decoration img{
        border-radius: 8px !important;
    }

    .img_decoration picture {
        border-radius: 8px !important;
        right: -17px;
        top: -17px;
    }
}


/*---------------------------------- Card style ----------------------------------*/

.date_tag {
    font-size: 28px; 
    top: 210px; 
    right: 30px; 
    width: 120px; 
    height: 120px; 
    background-color: black; 
    color: #fff;
    border-radius: 50%;
    display: flex;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 35px;
}

.type_tag {
    top: 20px;
    left: 30px;
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.29);
    backdrop-filter: blur(13px);
    color: #fff;
    padding: 3px 20px;
    font-weight: bold;
}

.container_img_card {
    height: 300px;
}

.container_img_card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*---------------------------------- Webinar Button ----------------------------------*/

.webinar_panel > a{
    width: 375px;   
   height: 375px;
   position: absolute;
   top: -100px;
   border: 2.402px solid rgba(255, 255, 255, 0.12);
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
}   

.webinar_panel a > div {
    width: 200px;   
   height: 200px;
   border: 2px solid rgba(255, 255, 255, 0.26);
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
} 

.webinar_panel > a > div > div{
    width: 130px;   
   height: 130px;
   border: 2px solid rgba(255, 255, 255, 0.40);;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 50%;
} 

.webinar_panel > a:hover,  .webinar_panel > a:hover > div, .webinar_panel > a:hover > div > div{
   border: 2px solid #9A3122;
   transition: border 0.2s ease;
} 

.webinar_panel > a:hover > div > div {
    background-color: #9A3122;
    transition: background-color 0.2s ease;
}

.webinar_panel > a:hover svg{
    fill: #fff;
    transition: fill 0.2s ease;
}

@media (max-width: 640px) {
    .webinar_panel {
        display: none;
    }   
}


/*---------------------------------- Courses Filter ----------------------------------*/

.filtro_corsi {
    position: relative;
    top: -130px;
}

.filtro_corsi .el-nav{
    border-radius: 15px;
    background: #E1DFD2;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.17);
    padding: 30px;    
    margin: 0px;
    z-index: 1;
}

.filtro_corsi .filter_control_all {
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 30px;
}

.show_filters{
    display: none;
}

.filter_control_all .delete {
    display: inherit;
}

.filtro_corsi .filter_control_all .delete a{
    background-color: #fff;
    padding: 10px 25px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
}

.filtro_corsi .filter_control_all .delete a:hover{
    background-color: #000;
    color: #fff;
}


.filtro_corsi .filter_control_all .show_filters a{
    background-color: #000;
    padding: 10px 25px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
}

.filtro_corsi .filter_control_all .show_filters a:hover{
    background-color: #fff;
    color: #000;
}


.courses-filter h6 {
    letter-spacing: 0px;
    border-bottom: 1px solid #979797;;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.courses-filter a {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
}

.courses-filter a:hover {
    opacity: 0.8;
}


.courses-filter a::before {
    content: "";
    width: 11px;
    height: 11px;
    background-color: #2D3648;
    border: 1px solid #2D3648 ;
    border-radius: 50%;
}

.courses-filter li.uk-active a::before {
    background-color: transparent;
}

.open_menu {
    height: auto;
    transition: height 2s;
}

.open_menu  .courses-filter{
    display: block;
}

.open_menu .filter_control_all {
    padding-bottom: 20px !important;
}

.open_menu .delete {
    display: inherit !important;
}

@media (max-width: 960px){
    .filtro_corsi .el-nav {
        flex-direction: column;
        gap: 15px;
        position: relative !important;
    }

    .filtro_corsi .el-nav .courses-filter{
        margin: 0px !important;
    }

    .filter_control_all {
        margin-bottom: 0px !important;
    }

    .filtro_corsi .el-nav > *{
        padding: 0px;
    }

    .courses-filter {
        display: none;
    }

    .filter_control_all .delete{
        display: none;
    }

    .show_filters{
        display: inherit;
    }
}

@media (max-width: 640px){
    .filter_control_all {
        display: flex !important;
        flex-direction: column !important;
        align-items: start !important;
    }
}


/*---------------------------------- Grid News ----------------------------------*/

.grid-news {
    position: relative;
   top: -310px;
}

.grid-news .el-nav {
   margin-bottom: 120px;
}	

.grid-news .el-nav  li > a{
   border: 1px solid #9A3122;
   border-radius: 50px;
   height: 42px;
   padding: 0 20px;
   font-family: Inter;
   text-transform: none;
   font-size: 16px;
   font-weight: 600;
   color: white; 
   text-decoration: none;
   display: flex;
   align-items: center;
   justify-content: center;
}	

.grid-news .el-nav .uk-active a{
   border: 1px solid #9A3122;
   background-color: #9A3122;
   color: #fff; 
}	

.grid-news .el-nav li a:hover{
   border: 1px solid #9A3122;
   background-color: #9A3122;
   color: #fff; 
}	

@media (max-width: 960px) {
    .grid-news {
        position: relative;
        top: 0px;
   }
   .grid-news .el-nav {
       margin-bottom: 20px;
       justify-content: start;
   }	

   .grid-news .el-nav  li > a{
    border: 1px solid #0c0f17;
    background-color: #0c0f17;
    color: #fff;
    }	
}


/*---------------------------------- FAQ element ----------------------------------*/

.faq_element .el-item {
    background-color: white;
    padding: 30px;
    border-radius: 45px;
    border: 0px;
}


.faq_element .el-content {
 	font-size: 15px;   
}

.faq_element .el-item a::before{
    background-image: none;
    content: url(/images/icone/nav-icon.svg);
    rotate: 180deg;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    transition: rotate 0.15s;
    stroke: aqua !important;
}
.faq_element .el-item a {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    font-size: 18px;
    line-height: 1.4;
    color: #2d2e33;
    overflow: hidden;
    text-decoration: none;
    font-family: Inter;
    font-weight: 500;
    justify-content: space-between;
}

.faq_element .el-item a[aria-expanded="true"]::before {
	rotate: 0deg;
    transition: rotate 0.15s;
}

@media (max-width: 960px){
    .faq_element .el-item {
        border-radius: 30px;
    }
}

/*---------------------------------- Social Button ----------------------------------*/

.social_button  a{
    width: 40px;
   height: 40px;
   background-color: #9A3122;
   color: #fff;
   border: 1px solid #9A3122;;
}
.social_button  a:hover{
   background-color: transparent;
   color: #9A3122;
   border: 1px solid #9A3122;
}