/*ESTILOS DE PRUEBA PARA CPT smf-bozzetti */
.sc-btn-filtra-pubblicazioni button:hover{
    cursor:pointer;
}
.sc-index-bozzetti{
	text-align:center;
	box-shadow:
    inset 0 -3em 3em rgba(194, 196, 196, 0.3),
    0 0 0 2px white,
    0.3em 0.3em 1em rgb(200 0 0 / 60%);
}
.sc-index-bozzetti .eltdf-post-title{
	margin-bottom:0;
}
.smf-link-img-bozzetto{
	display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 100%;
}
.sc-index-bozzetti .eltdf-related-post-image{
	padding: 1rem;
	
}
/*MODAL*/
.modal-bozzetto {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height:80%;/*nuevo*/
  }
    /*asigno otros estilos para fotos del modal en vertical */
  #img01.vertical {
    margin: auto;
    display: block;
    width: auto;
    max-width: 700px;
    height: 80%;
    max-height:80%;/*nuevo*/
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }

  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  /* The Close Button */
.close {
    position: absolute;
    top: 55px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
/*radio buttons as switch tab*/
.togglebuttons .smf-radio-item {
    margin: 0 2px 0 0;
    display: inline-block;
}
.togglebuttons >  input {
    opacity: 0;
    position: absolute;
}

.togglebuttons >  .smf-radio-item-label {
    cursor: pointer;
    display: block;
    color: #333;
    background: #ffffff;
    padding: 5px 10px;
    
    box-shadow: 0 1px 1px rgba(0,0,0,.2);
    border: 1px solid #e0e0e0;
}
.sc-filter-pubblicazioni .togglebuttons > .first  {border-radius:0 !important;}
.sc-filter-pubblicazioni .togglebuttons > .last   {border-radius: 0 !important;}

.sc-filter-pubblicazioni .togglebuttons > .first label .wpcf7-list-item-label,
.sc-filter-pubblicazioni .togglebuttons > .last label .wpcf7-list-item-label{
    border-radius: 0 !important;
}
.togglebuttons >  input:checked + .smf-radio-item-label {
    background: #00acd7;
    border: 1px solid #00acd7;
    color: #ffffff;
    font-weight: bold;
}

@media only screen and (min-width:1029px){
    /*desplegando bozzetti en corso-breve*/
  .smf-cont-bozzetti{
    width: 90vw !important;
    margin-left: calc(-40vw + 60%) !important;
    max-width: 90vw !important;
  }
  #myModal .owl-carousel {
    max-height:80vh;
    width: 40%;
   
    margin: 20px auto;
}
}
.single-corso-breve .index-bozzetti-corso{
    margin-top:50px;
}
  /* 100% Image Width on Smaller Screens */
  .eltdf-course-single-outer .sc-filter-pubblicazioni{
    justify-content: space-evenly;
    margin-bottom:0 !important;
}
@media screen and (max-width:1020px){
    #responseBozzetti .eltdf-grid-col-4.index-bozzetti-corso{
        width:50% !important;
        float:left !important;
        margin-bottom:50px;
    }
    .sc-filter-pubblicazioni .wp-block-column{
        text-align:center
    }
}
@media  screen and (max-width:768px){
    .sc-filter-pubblicazioni select{
        vertical-align:text-top;
    }
    #responseBozzetti .eltdf-grid-col-4.index-bozzetti-corso h4{
        font-size:100%;
    }
    #responseBozzetti .eltdf-grid-col-4.index-bozzetti-corso span{
        font-size:70%;
    }

    .modal-bozzetto {
        padding-top:100px;
    }
      .modal-content {
      margin: auto;
      display: block;
      width: 80%;
      max-width: 90%;
    }
    #img01.vertical {
      margin: auto;
      display: block;
      width: auto;
      max-width: 90%;
      height: auto;
    }
    
}  
@media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
}
@media screen and (max-width:575px){
    .single-corso-breve .eltdf-container-inner.clearfix{
        width:90%;
    }
    .sc-filter-pubblicazioni{
        flex-flow:column;
    }
    .form-group{
        max-width:90%;
    }
    .form-group *{
        width:80%;
    }
}