﻿
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.blog-meta-left a i {
    color: #FF6600 !important;
}

.fontSizeCustom {
    font-size: 18px !important;
}

.orangeColorText {
    color: #FF6600 !important;
}

.myClass {
    list-style: disc !important;
    font-weight: 500;
    font-size: 14px;
    margin-right: 20px;
    margin-left: 20px;
    padding: 5px;
    text-align: justify;
}

.logoACI {
    width: 140px;
    height: 140px;
    margin-left: 50px;
}

.logoUniversity {
    margin-left: 40px;
}

.menuTop {
    margin-top: 50px;
}

/* Table */
table#acrylic {
    border-collapse: separate;
    background: #fff;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 50px auto;
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#acrylic thead {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

    #acrylic thead th {
        font-family: 'Roboto';
        font-size: 16px;
        font-weight: 400;
        color: #fff;
        text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
        text-align: left;
        padding: 20px;
        background-size: 100%;
        background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #646f7f), color-stop(100%, #4a5564));
        background-image: -moz-linear-gradient(#646f7f, #4a5564);
        background-image: -webkit-linear-gradient(#646f7f, #4a5564);
        background-image: linear-gradient(#646f7f, #4a5564);
        border-top: 1px solid #858d99;
    }

        #acrylic thead th:first-child {
            -moz-border-top-right-radius: 5px;
            -webkit-border-top-left-radius: 5px;
            border-top-left-radius: 5px;
        }

        #acrylic thead th:last-child {
            -moz-border-top-right-radius: 5px;
            -webkit-border-top-right-radius: 5px;
            border-top-right-radius: 5px;
        }

#acrylic tbody tr td {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #5f6062;
    font-size: 13px;
    padding: 20px 20px 20px 20px;
    border-bottom: 1px solid #e0e0e0;
}

#acrylic tbody tr:nth-child(2n) {
    background: #f0f3f5;
}

#acrylic tbody tr:last-child td {
    border-bottom: none;
}

    #acrylic tbody tr:last-child td:first-child {
        -moz-border-bottom-right-radius: 5px;
        -webkit-border-bottom-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    #acrylic tbody tr:last-child td:last-child {
        -moz-border-bottom-right-radius: 5px;
        -webkit-border-bottom-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

#acrylic tbody:hover > tr td {
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=50);
    opacity: 0.5;
}

#acrylic tbody:hover > tr:hover td {
    text-shadow: none;
    color: #2d2d2d;
    filter: progid: DXImageTransform.Microsoft.Alpha(enabled=false);
    opacity: 1;
    transition: 0.2s all;
}


/* Maps */
.Flexible-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

    .Flexible-container iframe,
    .Flexible-container object,
    .Flexible-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Tessere ACI */

.nav.nav-justified > li > a {
    position: relative;
}

    .nav.nav-justified > li > a:hover,
    .nav.nav-justified > li > a:focus {
        background-color: transparent;
    }

    .nav.nav-justified > li > a > .quote {
        position: absolute;
        right: 20px;
        bottom: 0;
        opacity: 0;
        height: 30px;
        padding: 5px;
        background-color: #13c0ba;
        border-radius: 15px;
        color: #fff;
    }

.nav.nav-justified > li.active > a > .quote {
    opacity: 1;
}

.nav.nav-justified > li > a > img {
    box-shadow: 0 0 0 5px #13c0ba;
}

.nav.nav-justified > li > a > img {
    max-width: 100%;
    opacity: .3;
    -webkit-transform: scale(.8,.8);
    transform: scale(.8,.8);
    -webkit-transition: all 0.3s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav.nav-justified > li.active > a > img,
.nav.nav-justified > li:hover > a > img,
.nav.nav-justified > li:focus > a > img {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    -webkit-transition: all 0.3s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.3s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tab-pane .tab-inner {
    padding: 30px 0 20px;
}

/* Servizi ACI */
.panel-group {
    padding-top: 50px;
}

.panel-default {
    border-radius: 0;
    border: none;
    background: none;
    margin-bottom: 0;
    padding-bottom: 14px;
}

    .panel-default > .panel-heading {
        border: none;
        background: none;
        padding: 0;
    }

        .panel-default > .panel-heading + .panel-collapse .panel-body {
            border: none;
            padding: 0 0 0 32px;
        }

    .panel-default h5 {
        font: 300 19px "Open Sans", Arial, sans-serif;
        padding: 0;
        margin: 0 0 5px;
    }

.panel-group .panel + .panel {
    margin-top: 15px;
}

.panel-default .accordion-toggle:before {
    content: "";
    width: 21px;
    height: 21px;
    display: inline-block;
    background: #e54a1a url(../img/autoscuola/toggle-icons.png) no-repeat 6px 10px;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    top: 4px;
}

.panel-default .collapsed:before {
    background: #495764 url(../img/autoscuola/toggle-icons.png) no-repeat 6px -148px;
}

.panel-default .panel-title:hover .collapsed:before {
    background-color: #e54a1a;
}

.panel-default .accordion-toggle,
.panel-default .accordion-toggle:focus,
.panel-default .accordion-toggle:hover,
.panel-default .accordion-toggle:active {
    color: #1ea9e3;
    text-decoration: none;
}

.panel-default .collapsed {
    color: #5f6f7e;
}

/* Modal Center Page */
.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

/* Alert */
.error-notice {
    margin: 5px 5px; /* Making sure to keep some distance from all side */
}

.oaerror {
    width: 90%; /* Configure it fit in your design  */
    margin: 0 auto; /* Centering Stuff */
    background-color: #FFFFFF; /* Default background */
    padding: 20px;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
}

.danger {
    border-left-color: #d9534f; /* Left side border color */
    background-color: rgba(217, 83, 79, 0.1); /* Same color as the left border with reduced alpha to 0.1 */
}

    .danger strong {
        color: #d9534f;
    }

.warning {
    border-left-color: #f0ad4e;
    background-color: rgba(240, 173, 78, 0.1);
}

    .warning strong {
        color: #f0ad4e;
    }

.info {
    border-left-color: #5bc0de;
    background-color: rgba(91, 192, 222, 0.1);
}

    .info strong {
        color: #5bc0de;
    }

.success {
    border-left-color: #2b542c;
    background-color: rgba(43, 84, 44, 0.1);
}

    .success strong {
        color: #2b542c;
    }

.custom-flex {
    display: flex;
    justify-content: center; /* centra orizzontalmente */
    flex-wrap: wrap; /* per supportare responsive */
    gap: 20px; /* spazio tra box */
}

    .custom-flex > .col-md-2 {
        float: none !important; /* disattiva float di Bootstrap */
    }