﻿/*
Style Name:     main-style.css
Description:    Stili comuni per le pagine diTernaPlus
Author:         NS12 - dream-team - rcs 
Version:        2.7
Date:           08/11/2018
Modified:      	26/03/2019
*/

/* =============================================================
>> TABLE OF CONTENTS:
================================================================

1.0 - Impostazioni Comuni
    1.1 - Link Separator
    1.2 - Lang selector
    1.3 - Img Fit Cover
    1.4 - HP Banner Claim
2.0 - Colors
    2.1 - Backgrounds Colors
    2.2 - Fonts Colors
3.0 - Typography
    3.1 - Comuni
    3.2 - Size
    3.3 - Trn Font Family
    3.4 - Trn Font size
    3.5 - Trn Font style
4.0 - BackGround HP + BasePage
5.0 - Buttons
    5.1 - Link Leggi di più
    5.2 - Button TernaPlus Blu
    5.3 - Button Anchor Top

--------------------------------------------------------------*/

/* 
>> 1.0 - Impostazioni Comuni
   since: ver 1.0
==============================================================*/

/*.content-wrap{
    width: 100%;
    position: relative;
}*/

.trn-clear {
    clear: both;
}

section {
    width: 100%;
    position: relative;
    padding-top: 25px;
    padding-top: 1.5625rem;
    padding-bottom: 25px;
    padding-bottom: 1.5625rem;
    display: flow-root;
}

section > .container > .row > .col-md:first-child > h4 + .content-txt {
	margin-top: 2rem;
}

/* Fix per ie */

@media (min-width: 576px) {
    .card-deck .card {
        -ms-flex: 1 0;
    }
}

/*
>> 1.1 - Link Separator
   since: ver 1.1
--------------------------------------------------------------*/

.link-separator {
    display: inline;
    margin: 0 8px;
    margin: 0 0.5rem;
}

/*
>> 1.2 - Lang selector
   since: ver 1.1
--------------------------------------------------------------*/

.txt-lang {
    display: none;
}

    .txt-lang.lang-active {
        display: block;
    }

/*
>> 1.3 - Img Fit Cover
   Usato con funzione in shared-function.js
   since: ver 2.4
--------------------------------------------------------------*/

.img-cover {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .img-cover img {
        top: 50%;
        left: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
    }

    /*#Section-Banner-Top img{
        top: 0;
        transform: translate(-50%, 0);
    }*/

/*
>> 1.4 - HP Banner Claim
   since: ver 1.9
--------------------------------------------------------------*/

.hp-claim-title.trn-title.trn-xxl {
    font-size: 60px;
    font-size: 3.75rem;
    line-height: 48px;
    line-height: 3rem;
    font-weight: bold;
}

/* 
>> 2.0 - Colors
   since: ver 1.7
==============================================================*/

/*
>> 2.1 - Backgrounds Colors
--------------------------------------------------------------*/

.bg-blue {
    background-color: #2e5fb8;
}

.bg-dark-blue {
    background-color: #0A3C82;
}

.bg-orange {
    background-color: #d78c00;
}

.bg-liquid-steel {
    background-color: #f1f9ff;
}

.bg-steel {
    background-color: #f7f7f7;
}

.bg-white {
    background-color: #fff;
}

.bg-green {
    background-color: #90C04A;
}

.bg-dark-green {
    background-color: #1E5A32;
}

.bg-red {
    background-color: #C85000;
}

.bg-dark-red {
    background-color: #8C1432;
}

/* News - News */
.bg-news{
    background-color: #90C04A;
}
/* News - Comunicati Stampa */
.bg-comunicati-stampa{
    background-color: #d78c00;
}
/* News - Avvisi e bandi */
.bg-avvisi-bandi{
    background-color: #A40059;
}

/* 2.2 - Fonts Colors
--------------------------------------------------------------*/

.trn-blue {
    color: #2e5fb8;
}
/* blu */
.trn-dark-blue {
    color: #0A3C82;
}
/* dark blu */
.trn-orange {
    color: #d78c00;
}
/* orange */
.trn-gl {
    color: #989898;
}
/* grigio chiaro */
.trn-gm {
    color: #828282;
}
/* grigio medio */
.trn-gd {
    color: #050505;
}
/* grigio scuro */
.trn-w {
    color: #fff;
}
/* Bianco */
.trn-green {
    color: #90C04A;
}
/* Verde */
.trn-dark-green {
    color: #1E5A32;
}
/* dark green */
.trn-red {
    color: #C85000;
}
/* Rosso */
.trn-dark-red {
    color: #8C1432;
}
/* Dark red */

.sct-dark a,
.sct-dark a:visited {
    color: #bbb;
}

    .sct-dark a:hover {
        color: #ddd;
    }

/* News - News */
.trn-news{
    color: #90C04A;
}
/* News - Comunicati Stampa */
.trn-comunicati-stampa{
    color: #d78c00;
}
/* News - Avvisi e bandi */
.trn-avvisi-bandi{
    color: #A40059;
}

/* 
>> 3.0 - Typography
   since: ver 1.7
==============================================================*/

/* 3.1 - Comuni
--------------------------------------------------------------*/

html {
    font-size: 100%;
}

@media (max-width: 576px) {
    html {
        font-size: 90%;
    }
}

body, .Normal, p {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 100;
    line-height: 22px;
    line-height: 1.375rem;
}

body, .Normal {
    color: #505050;
}

h1, h2, h3, h4 {
    font-family: Oswald, Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #2e5fb8;
}

/* 3.2 - Size
--------------------------------------------------------------*/

h1 {
    font-size: 50px;
    font-size: 3.125rem;
    line-height: 50px;
    line-height: 3.125rem;
}

h2 {
    font-size: 38px;
    font-size: 2.375rem;
    line-height: 38px;
    line-height: 2.375rem;
}

h3 {
    font-size: 26px;
    font-size: 1.625rem;
    line-height: 28px;
    line-height: 1.75rem;
}

h4 {
    font-size: 24px;
    font-size: 1.25rem;
    line-height: 22px;
    line-height: 1.375rem;
    font-weight: bold;
}

/* 3.3 - Trn Font Family
--------------------------------------------------------------*/

.trn-txt {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: lighter;
}

.trn-title {
    font-family: Oswald, Helvetica, Arial, sans-serif;
    font-weight: normal;
}

/* 3.4 - Trn Font size
--------------------------------------------------------------*/

.trn-xs {
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 18px;
    line-height: 1.125rem;
}

.trn-sm {
    font-size: 16px;
    font-size: 1rem;
    line-height: 20px;
    line-height: 1.25rem;
}

.trn-md {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 20px;
    line-height: 1.25rem;
}

.trn-lg {
    font-size: 24px;
    font-size: 1.5rem;
    line-height: 26px;
    line-height: 1.625rem;
}

.trn-xl {
    font-size: 36px;
    font-size: 2.25rem;
    line-height: 36px;
    line-height: 2.25rem;
}

.trn-xxl {
    font-size: 48px;
    font-size: 3rem;
    line-height: 48px;
    line-height: 3rem;
}

/* 3.5 - Trn Font style
--------------------------------------------------------------*/

.trn-upc {
    text-transform: uppercase;
}

.trn-lc {
    text-transform: lowercase;
}

.trn-txt.trn-it,
.trn-txt em, .trn-txt i {
    font-weight: lighter;
    font-style: italic;
}

.trn-txt.trn-bd,
.trn-txt strong, .trn-txt b {
    font-weight: bold;
}

    .trn-txt.trn-bdit,
    .trn-txt strong em, .trn-txt strong i, .trn-txt b em, .trn-txt b i,
    .trn-txt em strong, .trn-txt em b, .trn-txt i strong, .trn-txt i b {
        font-weight: bold;
        font-style: italic;
    }

.trn-title.trn-bd,
.trn-title strong, .trn-txt b {
    font-weight: bold;
}

/* 
>> 4.0 - BackGround HP + BasePage
   since: ver 1.0
==============================================================*/

/*since: ver 1.2*/
#contentCenter,
#contentBottom,
#contentBottomDown {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* 
>> 5.0 - Buttons
   since: ver 1.5
==============================================================*/

.btn:focus {
    box-shadow: none;
}

/*
>> 5.1 - Link Leggi di più
--------------------------------------------------------------*/

a.tp-more,
a.tp-more:active,
a.tp-more:visited {
    color: #2e5fb8;
}

/*
>> 5.2 - Button TernaPlus Blu
--------------------------------------------------------------*/

.btn-tp,
a.btn-tp {
    color: #fff;
    background-color: #2e5fb8;
    border-color: #2e5fb8;
    border-radius: 0;
    font-family: Oswald, Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    padding: 0.625rem 1.5625rem;
}

    .btn-tp:hover,
    .btn-tp:visited:hover {
        color: #2e5fb8;
        background-color: #fff;
        border-color: #2e5fb8;
    }

    .btn-tp.disabled, .btn-tp:disabled,
    .btn-tp.visited, .btn-tp:visited {
        color: #fff;
        background-color: #2e5fb8;
        border-color: #2e5fb8;
    }

.sct-dark .btn-tp,
.sct-dark a.btn-tp {
    color: #2e5fb8;
    background-color: #fff;
    border-color: #fff;
}

    .sct-dark .btn-tp:hover,
    .sct-dark a.btn-tp:hover,
    .sct-dark .btn-tp:visited:hover,
    .sct-dark a.btn-tp:visited:hover {
        color: #fff;
        background-color: transparent;
        border-color: #fff;
    }

.tp.card .btn-tp,
.tp.card a.btn-tp {
    color: #fff;
    background-color: #2e5fb8;
    border-color: #2e5fb8;
}

    .tp.card .btn-tp:hover,
    .tp.card .btn-tp:visited:hover {
        color: #2e5fb8;
        background-color: #fff;
        border-color: #2e5fb8;
    }

/*
>> 5.3 - Button Anchor Top
--------------------------------------------------------------*/

a.btn-top {
    color: #fff;
    background-color: #2e5fb8;
    border: 2px solid transparent;
    box-shadow: 2px 2px 5px grey;
    border-radius: 50%;
    padding: 2px 8px;
    padding: .125rem .5rem;
    font-size: 16px;
    font-size: 1rem;
    line-height: 16px;
    line-height: 1rem;
    position: relative;
    float: right;
    top: -15px;
    top: -0.9375rem;
}

.sct-dark a.btn-top {
    color: #2e5fb8;
    background-color: #fff;
}

a.btn-top:hover {
    color: #2e5fb8;
    background-color: transparent;
    border: 2px solid #2e5fb8;
    box-shadow: 1px 1px 2px grey;
}

.sct-dark a.btn-top:hover {
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
}

/*
>> 5.4 - Button TernaPlus Gray (Dark)
--------------------------------------------------------------*/

.btn-tp-gd,
a.btn-tp-gd {
    color: #fff;
    background-color: #050505;
    border-color: #050505;
    border-radius: unset;
    font-family: Oswald, Helvetica, Arial, sans-serif;
    font-weight: 500;  
    font-size: 16px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 25px;
    padding: 0.625rem 1.5625rem;
}

.btn-tp-gd:hover,
.btn-tp-gd:visited:hover {
    color: #050505;
    background-color: #fff;
    border-color: #050505;
}

.btn-tp-gd.disabled, .btn-tp-gd:disabled,
.btn-tp-gd.visited, .btn-tp-gd:visited {
    color: #fff;
    background-color: #050505;
    border-color: #050505;
}

.sct-dark .btn-tp-gd,
.sct-dark a.btn-tp-gd{
    color: #050505;
    background-color: #fff;
    border-color: #fff;
}

.sct-dark .btn-tp-gd:hover,
.sct-dark a.btn-tp-gd:hover,
.sct-dark .btn-tp-gd:visited:hover,
.sct-dark a.btn-tp-gd:visited:hover {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
}

.tp.card .btn-tp-gd,
.tp.card a.btn-tp-gd {
    color: #fff;
    background-color: #050505;
    border-color: #050505;
}

.tp.card .btn-tp-gd:hover,
.tp.card .btn-tp-gd:visited:hover {
  color: #050505;
  background-color: #fff;
  border-color: #050505;
}

/* 
>> 6.0 - Breadcrumb
   since: ver 2.7
==============================================================*/

#banner-Breadcrumb {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px 15px;
    background: rgba(0,0,0,0.2);
    -moz-border-radius: 0 10px 0 0;
    -webkit-border-radius: 0 10px 0 0;
    border-radius: 0 10px 0 0;
}

#Breadcrumb, 
.breadcrumbLink {
    font-size:1rem;
    color: #fff !important;
}

#Breadcrumb img {
    margin: 0 5px;
    margin: 0 0.3125rem;
}

@media (min-width: 576px) {
    #banner-Breadcrumb {
        display: block;
    }
}

#banner-Breadcrumb a:last-child {
	pointer-events: none;
}