
@font-face {
    font-family: Bauer Bodoni;
    src: url(/Content/fonts/2a1afe1d-1124-4b36-9d7e-da2adf5cb7b8.eot?#iefix);
    src: url(/Content/fonts/2a1afe1d-1124-4b36-9d7e-da2adf5cb7b8.eot?#iefix) format("eot"),url(/Content/fonts/8c580a0c-dd3e-4e73-adfd-7c10699d30b9.woff2) format("woff2"),url(/Content/fonts/a63aa696-363d-4cf5-bdc0-3ffe8a6d478e.woff) format("woff"),url(/Content/fonts/937224c2-f10f-4e84-9f09-d8221371e2b2.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: Bauer Bodoni;
    src: url(/Content/fonts/26e9c27b-76bf-493f-a0cf-292ed7c26a98.eot?#iefix);
    src: url(/Content/fonts/26e9c27b-76bf-493f-a0cf-292ed7c26a98.eot?#iefix) format("eot"),url(/Content/fonts/127ff8bf-5c08-4439-a560-42f81c85ee15.woff2) format("woff2"),url(/Content/fonts/4e1fefa6-8c15-44f1-a2df-cc3311dd75d7.woff) format("woff"),url(/Content/fonts/3bd35dca-6286-43bf-b0bc-3ea04dfdedc4.ttf) format("truetype");
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: Bauer Bodoni;
    src: url(/Content/fonts/846cac63-9856-4bd8-a8a5-f86848441efe.eot?#iefix);
    src: url(/Content/fonts/846cac63-9856-4bd8-a8a5-f86848441efe.eot?#iefix) format("eot"),url(/Content/fonts/f3ec2ec4-a83f-4386-96cc-fbf48b738294.woff2) format("woff2"),url(/Content/fonts/acb683eb-903c-4dad-8485-7a4391ea6e4c.woff) format("woff"),url(/Content/fonts/d3aa7669-3154-4164-b8c1-0e729f0f04ab.ttf) format("truetype");
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: Bauer Bodoni;
    src: url(/Content/fonts/fd1e8fb3-d71d-42aa-8ba0-763dc7823352.eot?#iefix);
    src: url(/Content/fonts/fd1e8fb3-d71d-42aa-8ba0-763dc7823352.eot?#iefix) format("eot"),url(/Content/fonts/8018e691-a1b4-44cc-88ae-64ef177a82e2.woff2) format("woff2"),url(/Content/fonts/1790c8e1-de80-435f-987a-7e1978d6b475.woff) format("woff"),url(/Content/fonts/e442cdb5-c80a-4cb6-bc6d-f70f087db9c7.ttf) format("truetype");
    font-weight: 700;
    font-style: italic
}

body {
    
}

.table-clickable > tbody > tr {
    cursor: pointer;
}

.control-display {
    padding-top: 7px;
}

.control-checkbox {
    margin-top: 10px !important;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.breadcrumb {
    padding: 8px 15px !important;
    float: left !important;
    margin-bottom: 0 !important;
    background-color: transparent !important;
    list-style: none;
}

.breadcrumb > li {
    display: inline-block;
}

.breadcrumb > li > a {    
    text-decoration: underline;
}

.breadcrumb > li + li:before {
    content: "/\00a0";
    padding: 0 5px;
    color: #ccc;
}

.breadcrumb > .active {
    color: #777777;
}



.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.img-thumb {
    max-width: 100px;
    max-height: 100px;
}

.btn-toolbar {
    color: #343b43;
    background-color: #EBEBEB;
    border-color: #EBEBEB;
    width: 50px;
    height: 40px;
}

    .btn-toolbar:hover {
        color: #343b43;
        background-color: #BFBFBF;
        border-color: #BFBFBF;
    }

    .btn-toolbar > i {
        margin: auto auto;
    }

#navbar-website > .navbar-nav > li > a {
    /*font-family: 'Bauer Bodoni', 'Droid Sans';*/
    font-family: 'Bauer Bodoni', 'Droid Sans';
    color: #EEE !important;
    border-top: 4px solid transparent;
    text-shadow: none;
    /*font-size: 14px;*/
    font-size: 14px;
    /*padding: 28px 20px;*/
    padding: 28px 17px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

    #navbar-website > .navbar-nav > li > a:focus,
    #navbar-website > .navbar-nav > li > a:hover {
        background: #2C3C4C !important;
        color: #EEE;
    }

.header-small .tg-logo {
    padding: 10px 0 !important;
}

.header-small .tg-logo > a > img {
    height: 44px !important;
}

.header-small .tg-middlecontainer {
    padding: 0 !important;
}

.header-small .navbar-nav > li > a {
    padding: 10px 20px !important;
}

.form-control-noborder {
    border-color: #ffffff !important;
}

.field-money {
    text-align: right;
}

.grid-pagine > div:nth-child(even) {
    padding-left: 0 !important;
    padding-right: 10px !important;
}

.grid-pagine > div:nth-child(odd) {
    padding-left: 10px !important;
    padding-right: 0 !important;
}

.item-button-red {
    padding: 5px 15px 5px 15px;
    border: none;
    margin-top: 1px;
    font-size: 14px;
    text-align: center;
    background: rgb(143,31,27);
    color: #fff;
    cursor: pointer;
}

.tg-featureimg {
    cursor: pointer;
}
/* Filters
=================================================================== */
#filters {
    text-align: center;
    right: 0;
    margin: 0px 0px 10px 0px;
    font-size: 16px;
    text-shadow: 0px 1px 1px #fff;
    color: #666;
    position: relative;
    z-index: 3;
}

    #filters ul li {
        display: inline;
    }

    #filters a {
        cursor: pointer;
        padding: 5px 10px;
        display: inline-block;
        color: #666;
        margin: 0 5px 10px 0;
        -webkit-transition: all 0.1s ease-in-out;
        -moz-transition: all 0.1s ease-in-out;
        -o-transition: all 0.1s ease-in-out;
        -ms-transition: all 0.1s ease-in-out;
        transition: all 0.1s ease-in-out;
    }

        #filters a:hover,
        .selected {
            color: rgb(143,31,27) !important;
            border-bottom: 1px solid rgb(143,31,27) !important;
            text-decoration: none;
        }
/* ----------  PICTURES ------------ */
.fig-caption {
    padding: 20px 40px;
}

.picture {
    position: relative;
}

    .picture a {
        display: block;
        position: relative;
    }

    .picture .item-description {
        padding: 5px 15px 5px 15px;
        border: none;
        margin-top: 1px;
        background: transparent;
        font-size: 12px;
        text-align: center;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }

        .picture .item-description a {
            color: #414141;
            font-size: 15px;
            -webkit-transition: all 0.5s ease-in-out;
            -moz-transition: all 0.5s ease-in-out;
            -o-transition: all 0.5s ease-in-out;
            -ms-transition: all 0.5s ease-in-out;
            transition: all 0.5s ease-in-out;
        }

    .picture:hover .item-description {
        background: rgb(143,31,27);
        color: #fff;
    }

        .picture:hover .item-description a {
            color: #fff;
        }

.post .picture {
    position: relative;
    background: #fff;
    padding: 5px;
    border: 1px solid #fcfcfc;
    -webkit-box-shadow: 0px 1px 1px rgba(0,0,0,.25);
    box-shadow: 0px 1px 1px rgba(0,0,0,.25);
}

    .post .picture:before, .post .picture:after {
        bottom: 14px;
        content: "";
        position: absolute;
        z-index: -1;
        -ms-transform: rotate(-1deg);
        -webkit-transform: rotate(-1deg); /* Safari and Chrome */
        -o-transform: rotate(-1deg); /* Opera */
        -moz-transform: rotate(-1deg); /* Firefox */
        box-shadow: 0 15px 5px rgba(0, 0, 0, 0.3);
        height: 50px;
        left: 5px;
        max-width: 50%;
        width: 50%;
    }

    .post .picture:after {
        -ms-transform: rotate(1deg); /* IE 9 */
        -webkit-transform: rotate(1deg); /* Safari and Chrome */
        -o-transform: rotate(1deg); /* Opera */
        -moz-transform: rotate(1deg); /* Firefox */
        left: auto;
        right: 5px;
    }

#portfolio-wrapper .picture {
    position: relative;
}

#portfolio-wrapper .portfolio-item {
    margin-bottom: 20px;
}


.picture img {
    width: 100%;
    height: 300px;
    object-fit: contain;
}

.image-overlay-link,
.image-overlay-zoom {
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 40;
    display: none;
    background-color: #222;
    background: rgba(200, 200, 200, 0.6);
    background-repeat: no-repeat;
    background-position: 50%;
    cursor: pointer;
    display: block;
}

.image-overlay-link:hover,
.image-overlay-zoom:hover {
    opacity: 1;
}    
/* ----------------------------------- */
.sidenav {
    position: fixed;
    z-index: 9999;
    width: 200px;
    left: -200px;
    height: 100%;
    transition: 0.5s;
    background: white;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #94090D;
    background-color: #f3f3f3;
}

    .sidenav.open {
        /*width: 500px !important;*/
        left: 0 !important;
    }

.sitenav-content {
    overflow-y: scroll;
    height: 100%;
    padding: 10px 20px;
}

.sitenav-content .tg-featureimg {
    width: 70%;
    left: 15%;
}

    .sitenav-content h3 {
        font-size: 13px;
    }

.sitenav-openclose {
    position: absolute;
    bottom: 100px;
    right: -40px;
    height: 100px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #94090D;
    color: white;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border: 1px solid #FFFFFF;
}



#tg-partners {
    background-image: url('images/partners/sfondo.jpg');
    background-size: cover;
}

#page-loading {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    background-color: #CCCCCC88;
    z-index: 9999;
    text-align: center;
}

.sottotitolo-bodoni-bianco {
    font-family: 'Bauer Bodoni';
    text-align: left;
    line-height: 1.3;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
}

.testo-bodoni {    
    font-family: 'Bauer Bodoni';
    text-align: left;    
    line-height: 1.3;
    color: #000;
    -webkit-font-smoothing: antialiased;
    font-size: 22px;
}

h2.testo-bodoni {
    text-transform: uppercase;
}

@media screen and (min-width: 992px) {
    /* Hide captions */
    #tg-main {
        min-height: 575px;
    }
}

mark .mark {
    padding: 0.2em 0 !important;
}