/**
 * PW CMS Pro - Frontend Styles
 * Bootstrap 4 compatible
 */

/* .pwcmspro-content {
    margin-bottom: 30px;
}

.pwcmspro-content img {
    max-width: 400px;
    height: auto;
}

.pwcmspro-content .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.pwcmspro-content .img-fluid {
    max-width: 100%;
    height: auto;
}

.pwcmspro-content .container,
.pwcmspro-content .container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
} */

/* .pwcmspro-content .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.pwcmspro-content [class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.pwcmspro-content .col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
} */
/* 
.pwcmspro-content figure {
    margin: 0 0 1rem;
}

.pwcmspro-content figure img {
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pwcmspro-content figcaption {
    font-size: 0.875rem;
    color: #6c757d;
}

.pwcmspro-content h1,
.pwcmspro-content h2,
.pwcmspro-content h3,
.pwcmspro-content h4,
.pwcmspro-content h5,
.pwcmspro-content h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.pwcmspro-content p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.pwcmspro-content a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

.pwcmspro-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.pwcmspro-content table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.pwcmspro-content table th,
.pwcmspro-content table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.pwcmspro-content table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
}

.pwcmspro-content table tbody + tbody {
    border-top: 2px solid #dee2e6;
}

.pwcmspro-content ul,
.pwcmspro-content ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.pwcmspro-content ul ul,
.pwcmspro-content ol ol,
.pwcmspro-content ul ol,
.pwcmspro-content ol ul {
    margin-bottom: 0;
}

.pwcmspro-content blockquote {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.pwcmspro-content blockquote p:last-child {
    margin-bottom: 0;
}

.pwcmspro-content code {
    font-size: 87.5%;
    color: #e83e8c;
    word-break: break-word;
}

.pwcmspro-content pre {
    display: block;
    font-size: 87.5%;
    color: #212529;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
}

.pwcmspro-content pre code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
}

.pwcmspro-content .text-left {
    text-align: left !important;
}

.pwcmspro-content .text-right {
    text-align: right !important;
}

.pwcmspro-content .text-center {
    text-align: center !important;
}

.pwcmspro-content .text-justify {
    text-align: justify !important;
}

.pwcmspro-admin .image-gallery-item {
    margin-bottom: 15px;
}

.pwcmspro-admin .image-gallery-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
} */
/* .stessa-altezza-immagini .col-md-6 {
    display: flex;
}

.stessa-altezza-immagini img {
    width: 100%;
    height: 300px;        
    object-fit: cover;    
} */

.pwcmspro-content .stessa-altezza-immagini img {
    width: 100%;
    aspect-ratio: 4 / 3;  /* o altro rapporto */
    object-fit: cover;
}

.pwcmspro-content img.max400 {
    max-width: 400px;
    height: auto;
}
.pwcmspro-content img.maxfull, .pwcmspro-content .row img  {
    max-width: 100%;
    height: auto;
}
.pwcmspro-content .row::after {
    content: "";
    display: block;
    clear: both;
}
