/*
FONTS
*/

@import url('https://fonts.googleapis.com/css?family=Asap:400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Asap+Condensed:400,500,600,700');


/*
LAYOUT
*/
body {
    font-family: 'Asap', sans-serif;
    color: #4A4A4A;

}

h1 {
    font-family: 'Asap';
    font-weight: 600;
    font-size: 2.25rem;
    color: #030404;

}

h2 {
    font-family: 'Asap Condensed';
    font-weight: 500;
    color: #030404;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    margin-top: 2.5rem;
}

h3 {
    font-family: 'Asap Condensed', sans-serif;
    color: #D21E47;
}

h4 {
    font-family: 'Asap', sans-serif;
}

section {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

a {
    color: #D21E47;
}

a:hover {
    color: #D21E47;
}

.btn:focus, .btn:active:focus, .btn.active:focus {
    outline-color: transparent;
    outline-style: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-shadow: none;
}

body.search-open {
    overflow: hidden !important;
}

.page-title {
    margin: 0;
    height: 97px;
    line-height: 97px;
}

.page-title-multiplerows {
    margin: 0;
    height: 97px;
    padding-top: 26px;
}


.form-control {
    border-radius: 0;
}

.section-grey {
    background-color: #F9F9F9;
}
header .navbar-light .navbar-nav > li > .dropdown-item {
    padding: .25rem .5rem;
}

/*
COLORS
*/

.color-black {
    color: #030404 !important;
}

.color-base {
    color: #D21E47 !important;
}

.color-arte {
    color: #FCC924 !important;
}

.color-scuola {
    color: #E82A93 !important;
}

.color-impresa {
    color: #409A46 !important;
}

.color-ricerca {
    color: #47A5DC !important;
}

.background-arte {
    background-color: #FCC924 !important;
}

.background-scuola {
    background-color: #E82A93 !important;
}

.background-impresa {
    background-color: #409A46 !important;
}

.background-ricerca {
    background-color: #47A5DC !important;
}

.background-arte-light {
    background-color: rgba(252, 201, 36, .20) !important;
}

.background-scuola-light {
    background-color: rgba(232, 42, 147, .15) !important;
}

.background-impresa-light {
    background-color: rgba(64, 154, 70, .15) !important;
}

.background-ricerca-light {
    background-color: rgba(71, 165, 220, .15) !important;
}

.p-scuola b {
    color: #E82A93;
}


/*
HEADER
*/

header .navbar-light .navbar-nav > li {
    padding: 0;
    margin: 0;
    vertical-align: bottom;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #D21E47;
}

header .dropdown-toggle::after {
    color: #D21E47;
}

header .navbar-light .navbar-nav.navbar-main .nav-item {
    position: relative;
    width: 100%;
    text-align: center;
}

header .navbar-light .navbar-nav.navbar-main .nav-item > a {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 18px;
    color: #555555;
    padding: 1.2rem;
    margin: 0;
    border-top: 2px solid #555;
    position: relative;
    font-family: 'Asap Condensed';
}

header .navbar-light .navbar-nav.navbar-main.main-navbar-en .nav-item > a {
    text-transform: none;
}

.navbar-collapse {
    position: relative;
}

header .navbar-light .navbar-nav.navbar-main .nav-item:first-child > a {
    border-top: 0;
}

header .navbar-light .navbar-nav.navbar-main .nav-item.active > a {
    color: #D21E47;
    font-weight: 500;
    position: relative;
}

header .dropdown-menu {
    text-align: center;
    background: transparent;
    border: transparent;
}


header .dropdown-toggle:after {
    display: none;
}


header .navbar-light .dropdown-toggle::after {
    border: 0;
}


header .nav-secondary {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    display: inline-block;
    margin-top: 1.4rem;
}

header .nav-secondary .nav-item {
    display: inline-block;
    padding: 1rem 0;
}


header .nav-secondary .nav-item a {
    font-size: 14px;
    line-height: 14px;
    text-transform: none;
    padding: 0;
    color: #555555;
}

header .nav-secondary .nav-item a.nav-margin-right {
    border-right: 1px solid #555555;
    padding-right: 0.7rem;
}


header .dropdown {
    position: inherit;

}

header .dropdown-item {
    font-size: .8rem;
}

header .dropdown h5 {
    text-transform: uppercase;

    font-size: 1.1rem;
    margin-top: 1rem;
    white-space: normal;

}

header .navbar-light .navbar-nav.navbar-main .nav-item > a[aria-expanded='true']:after {
    content: " ";
    height: 1px;
    width: 100px;
    background: #4A4A4A;
    position: absolute;
    bottom: 0;
    left: calc(50% - 50px);
    display: block;
    color: #4A4A4A;
    margin-left: 0;
    border: 0;
}

.locale-menu-lg {
    position: absolute;
    right: 0;
    top: -15px;
}
.locale-menu-lg a {
    color: #555555;
    font-size: 14px;
}

.locale-menu-lg a.current-locale {
    color: #D21E47;
}

.newsletter-header {
    position: relative;
    height: 36px;
    display: block;
    margin-top: 10px;
    margin-bottom: 15px;
}

.newsletter-header img {
    height: 32px;
}

.newsletter-header span, .newsletter-header span:hover {
    position: absolute;
    color: #fff;
    text-decoration: none;
    top: 50%;
    left: 36px;
    transform: translateY(-50%);
    font-size: 12px;
}

/* RICERCA FULLTEXT GLOBALE */
#global-fulltxt-mobile-container input, #global-fulltxt input {
    outline: none;
    border: none;
    background: transparent;
    border-bottom: 2px solid #cccccc;
    color: #666666;
    width: 100%;
}
#global-fulltxt-mobile-container input {
    padding-left: 10px;
}
#global-fulltxt-mobile-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    /*transform: translate(-50%, -50%);*/
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: rgba(241,241,241, 1.0);
    /*padding: 20px 10px 10px 10px;*/
    border: 1px solid #e1e1e1;
}
#global-fulltxt-mobile-container .wrapper-logo {
    width: 40%;
    padding: 10px;
}
#global-fulltxt-mobile-container .wrapper-logo img {
    max-width: 100%;
}
#global-fulltxt-mobile-container .fa.fa-times {
    font-size: 26px;
}
#global-fulltxt-mobile {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#global-fulltxt input[name="d-search"],
#global-fulltxt-mobile input[name="m-search"] {
    font-size: initial;
}
#global-fulltxt-mobile input[name="m-search"] {
    padding: 0 10px;
}
.close-search-box {
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 10px;
    color: #666666;
}
.close-search-box span {
    cursor: pointer;
}
#global-fulltxt {
    display: none;
    position: relative;
}
#global-fulltxt > input {
    caret-color: #666666;
}
#global-fulltxt .search-results-container {
    z-index: 999999;
    position: absolute;
    top: 30px;
    height: 480px;
    background-color: #f1f1f1;
    padding: 15px;
    -webkit-box-shadow: 0 2px 4px 1px rgba(74,74,74,0.3);
    box-shadow: 0 2px 4px 1px rgba(74,74,74,0.3);
}
#global-fulltxt .search-results-container,
#global-fulltxt-mobile-container .search-results-container-mobile {
    display: none;
}
#global-fulltxt-mobile-container .search-results-container-mobile {
    height: calc(100% - 100px);
}
#global-fulltxt-mobile-container .search-results-mobile {
    overflow-y: auto;
    position: relative;
    height: 100%;
    padding: 0 10px;
}
#global-fulltxt .search-results.loading,
#global-fulltxt-mobile-container .search-results-mobile.loading {
    background-size: cover;
    background: #f1f1f1 url("../../img/loading.gif") no-repeat center center;
}
#global-fulltxt .search-results-container.searching,
#global-fulltxt-mobile-container .search-results-container-mobile.searching {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#global-fulltxt .search-results-container .search-results {
    height: 100%;
    overflow-y: auto;
    position: relative;
}
.search-results h3.no-results,
.search-results-mobile h3.no-results {
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#global-fulltxt .search-results-container span.fa,
#global-fulltxt-mobile-container .search-results-container-mobile span.fa {
    color: #343434;
    font-size: 18px;
    font-weight: bold;
    margin-left: 10px;
}
#global-fulltxt hr {
    margin: 0 0 10px;
    border: 1px solid #d7395c;
}
#global-fulltxt-mobile-container hr {
     margin: 5px 0 5px;
     border: 1px solid #d7395c;
 }
#search-box img.close-search {
    display: none;
}
img.close-search, img.open-search {
    cursor: pointer;
}

/* RICERCA FULLTEXT GLOBALE - Risultati (box ajax desktop) */
#global-fulltxt .result {
    position: relative;
    /*max-height: 125px;*/
    padding: 10px 0;
    overflow: hidden;
    /*cursor: pointer;*/
    display: block;
}
#global-fulltxt .result:hover {
    text-decoration: none;
}
#global-fulltxt .result p {
    color: #6B6B6B;
}
#global-fulltxt .result:not(:last-child):before {
    position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 1px;
    width: 100%;
    border-bottom: 1px solid #d7395c;
}
#global-fulltxt .result h2{
    margin: 0;
    margin-bottom: 5px;
    color: #d7395c;
    font-size: 18px;
    text-transform: uppercase;
}
#global-fulltxt .result:hover h2 {
    text-decoration: underline;
}
#global-fulltxt .result .content {
    display: flex;
    align-items: center;
}
#global-fulltxt .result .preview {
    flex-basis: 80%;
    overflow: hidden;
    max-height: 100%;
    padding-right: 10px;
    line-height: 20px;
}
#global-fulltxt .result .img-wrapper {
    flex-basis: 20%;
    margin-right: 20px;
    height: 75px
}
#global-fulltxt .result .preview p{
    font-size: 16px;
    margin: 0;
}
#global-fulltxt #see-all-results {
    font-size: 16px;
}

/* RICERCA FULLTEXT GLOBALE - Risultati (box ajax mobile) */
#global-fulltxt-mobile-container .result {
    position: relative;
    /*max-height: 125px;*/
    padding: 10px 0;
    overflow: hidden;
    cursor: pointer;
}
#global-fulltxt-mobile-container .result:not(:last-child):before {
    position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 1px;
    width: 100%;
    border-bottom: 1px solid #d7395c;
}
#global-fulltxt-mobile-container .result h2{
    margin: 0;
    margin-bottom: 5px;
    color: #d7395c;
    font-size: 18px;
    text-transform: uppercase;
}
#global-fulltxt-mobile-container .result .content {
    display: flex;
    align-items: center;
}
#global-fulltxt-mobile-container .result .preview {
    flex-basis: 60%;
    overflow: hidden;
    max-height: 100%;
    padding-right: 10px;
    line-height: 20px;
}
#global-fulltxt-mobile-container .result .preview p{
    font-size: 14px;
    margin: 0;
}
#global-fulltxt-mobile-container .result .img-wrapper {
    flex-basis: 40%;
    margin-right: 10px;
    height: 75px
}
@media (max-width: 576px) {
    #global-fulltxt-mobile-container .result .preview {
        flex-basis: 60%;
        overflow: hidden;
        max-height: 100%;
        padding-right: 10px;
        line-height: 20px;
    }
}
@media (min-width: 576px) and (max-width: 760px) {
    #global-fulltxt-mobile-container .result .preview {
        flex-basis: 60%;
        overflow: hidden;
        max-height: 100%;
        padding-right: 10px;
        line-height: 20px;
    }
}
@media (min-width: 760px) and (max-width: 992px) {
    #global-fulltxt-mobile-container .result .preview {
        flex-basis: 60%;
        overflow: hidden;
        max-height: 100%;
        padding-right: 10px;
        line-height: 25px;
    }
}
@media (min-width: 992px) {
    #global-fulltxt-mobile-container .result .preview {
        flex-basis: 60%;
        overflow: hidden;
        max-height: 100%;
        padding-right: 10px;
        line-height: 20px;
    }
}
#see-all-results, #see-all-results-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;

}
#see-all-results-mobile {
    padding: 0 10px 10px;
    height: 35px;
    font-size: 16px;
}
#see-all-results a#submit-global-search, #see-all-results-mobile a#submit-global-search-mobile {
    color: #d7395c;
}

/* RICERCA FULLTEXT GLOBALE - Pagina Risultati */
#results-page .result-item {
    min-height: 150px;
    border: 1px solid red;

}

@media (max-width: 992px) {

    .result .preview h2 {
        font-size: 16px;
        color: #d7395c;
        margin: 0;
    }

    #navbar-mobile-left {
        display: block;
        position: relative;
        width: 30%;
    }

    #search-box-mobile {
        position: absolute;
        right: 70px;
        top: 5px;
    }
    li#search-box {
        display: none;
    }

}

@media (min-width: 992px) {

    .result .preview h2 {
        font-size: 18px;
        color: #d7395c;
        margin: 0;
    }

    #search-box-mobile, #navbar-mobile-left {
        display: none;
    }

    #navbarNav #search-box {
        display: flex;
        align-items: center;
        margin-right: 10px;
        cursor: pointer;
    }

    header .dropdown-menu {
        top: 95%;
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, .15);
    }

    header .dropdown-menu-aree {
        width: 800px;
        left: calc(57% - 400px);
        border-radius: 0;

    }

    header .navbar-light .navbar-nav.navbar-main .nav-item {
        text-align: inherit;
        width: auto;
    }

    header .navbar-light .navbar-nav.navbar-main .nav-item.active > a:after {
        content: " ";
        height: 3px;
        width: 100%;
        background: #4A4A4A;
        position: absolute;
        bottom: -34px;
        left: 0;
        display: block;
        color: #4A4A4A;
        margin-left: 0;
        border: 0;

    }

    header .navbar-light .navbar-nav.navbar-main .nav-item.active:after {
        background-color: #030404;
        height: 2px;
        width: 100%;
        position: absolute;
        display: block;
    }

    header .navbar-light .navbar-nav.navbar-main .nav-item > a {
        margin: 0.5em;
        padding: 0;
        border-top: 0;
    }

    header .dropdown:hover > .dropdown-menu {
        display: block;
    }

    header .dropdown h5 {
        font-size: .8rem;
        margin-top: 0rem;
    }

    header .navbar-light .navbar-nav.navbar-main .nav-item > a[aria-expanded='true']:after {
        content: none;
    }

}


/*
BUTTONS
*/

.btn {
    padding: .3rem 2rem;
    font-family: 'Asap Condensed';
    font-weight: 600;
    font-size: 1.25rem;
    border-radius: 0;
    line-height: 2rem;
    text-transform: uppercase;
}

.btn-disabled {
    background-color: #9B9B9B;
    border-color: #9B9B9B;
    color: #fff;
    cursor: not-allowed !important;
    pointer-events: none;
}

.btn-primary {
    background-color: #D21E47;
    border-color: #D21E47;
    color: #fff;
}


.btn.btn-primary, a.btn.btn-primary {
    color: #fff;
}


.btn-outline-primary, a.btn.btn-outline-primary {
    border-color: #D21E47;
    color: #D21E47;
}


a.btn.btn-arte {
    background-color: #FCC924;
    border-color: #FCC924;
}

.btn.btn-arte:hover, a.btn.btn-arte:hover {
    background-color: #fff;
    border-color: #FCC924;
    color: #FCC924;
}

a.btn.btn-scuola {
    background-color: #E82A93;
    border-color: #E82A93;
}

.btn.btn-scuola:hover, a.btn.btn-scuola:hover {
    background-color: #fff;
    border-color: #E82A93;
    color: #E82A93;
}

.btn.btn-impresa {
    background-color: #409A46;
    border-color: #409A46;
}

.btn.btn-impresa:hover, .btn.btn-impresa:hover {
    background-color: #fff;
    border-color: #409A46;
    color: #409A46;
}

a.btn.btn-ricerca {
    background-color: #47A5DC;
    border-color: #47A5DC;
}



a.btn.btn-outline-primary.btn-scuola {
    color: #E82A93;
    border-color: #E82A93;
    background: #fff;
}

a.btn.btn-outline-primary.btn-arte {
    color: #FCC924;
    border-color: #FCC924;
    background: #fff;
}

a.btn.btn-outline-primary.btn-impresa {
    color: #409A46;
    border-color: #409A46;
    background: #fff;
}

a.btn.btn-outline-primary.btn-ricerca {
    color: #47A5DC;
    border-color: #47A5DC;
    background: #fff;
}

.btn.btn-primary:hover, a.btn.btn-primary:hover, .btn.btn-primary:active, a.btn.btn-primary:active {
    background-color: #fff;
    border-color: #D21E47;
    color: #D21E47;
}

.btn.btn-ricerca:hover, a.btn.btn-ricerca:hover, .btn.btn-ricerca:active, a.btn.btn-ricerca:active {
    color: #47A5DC;
    border-color: #47A5DC;
    background: #fff;
}

.btn.btn-outline-primary:hover, a.btn.btn-outline-primary:hover {
    background-color: #D21E47;
    border-color: #D21E47;
    color: #fff;
}

a.btn.btn-ricerca:hover {
    background-color: #fff;
    border-color:#47A5DC;
    color:#47A5DC;
}


.btn-tag {
    padding-left: 5.3rem;
}

.btn-tag-label {

    position: absolute;
    left: 0;
    background: #fff;
    height: 100%;
    top: 0;
    border-radius: 0 20px 20px 0;
    font-size: 14px;
    padding: 0 15px 0 10px;
    line-height: 2.7rem;
    font-style: italic;
}

/*radio button*/
/* The container */
.radio-button-container {
    position: relative;
    padding-left: 24px;
    padding-right: 16px;
    margin: auto;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.radio-button-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.radio-button-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-button-container:hover input ~ .radio-button-checkmark {
    background-color: #ccc;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radio-button-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-button-container input:checked ~ .radio-button-checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.radio-button-container .radio-button-checkmark:after {
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

/*BOOTSRAP SLIDER*/
.slider .slider-selection {
    background: #E82A93;
    box-shadow: none;
}

.slider.slider-horizontal {
    width: 100%;
}

.slider.slider-horizontal .slider-track {
    height: 3px;
    margin-top: -1.5px;
}

.slider .slider-track-low,
.slider .slider-track-high {
    background: #969696;
}

.slider .slider-handle {
    background: #fff;
    border: 3px solid #E82A93;
}

.slider .tooltip.in {
    opacity: 0.9;
}

.slider .tooltip {
    width: 58px;
    height: 58px;
}

.slider .tooltip-inner {
    background: #fff;
    border: 1px solid #ced4da;
    color: #E82A93;
    font-family: 'Asap Condensed';
    font-weight: 600;
    display: table-cell;
    vertical-align: middle;
    width: 58px;
    height: 58px;
}

.slider .tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid #ced4da;
}

.slider .tooltip.bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 0px 5px 5px;
    /*border-bottom-color: #000;*/
    border-color: transparent transparent #000 transparent;
}

@media (min-width: 768px) {
    .slider.slider-horizontal {
        width: 60%;
    }
}


/*
TABS
*/
.tab-content > .tab-pane {
    background: none;
    border: none;
}


ul.nav-tabs li {

    margin: 0 .3rem;
    display: inline-block;
    padding-right: 0;

}

ul.nav-tabs li a.nav-link {
    display: inline-block;
    text-decoration: none;
    padding: .5rem 2rem;
    border-radius: 3px;
    transform: skew(10deg);
    -o-transform: skew(10deg);
    -moz-transform: skew(10deg);
    -webkit-transform: skew(10deg);
    color: #030404;
    background: #fff;
    border-radius: 0;
    border: 0;
    text-transform: uppercase;
}

ul.nav-tabs li a span {
    display: inline-block;
    transform: skew(-10deg);
    -o-transform: skew(-10deg);
    -moz-transform: skew(-10deg);
    -webkit-transform: skew(-10deg);
}

ul.nav-tabs.scuola-tabs li a {
    color: #E82A93;
}

ul.nav-tabs.arte-tabs li a {
    color: #FCC924;
}

ul.nav-tabs li a:hover, ul.nav-tabs li a.nav-link.active {
    color: #fff;
    background: #D21E47;
}


ul.nav-tabs.scuola-tabs li a:hover, ul.nav-tabs.scuola-tabs li a.active {
    color: #fff;
    background: #E82A93;
}


ul.nav-tabs.arte-tabs li a:hover, ul.nav-tabs.arte-tabs li a.active {
    background: #FCC924;
}

ul.nav-tabs.impresa-tabs li a:hover, ul.nav-tabs.impresa-tabs li a.active {
    background: #409A46;
}

ul.nav-tabs.ricerca-tabs li a:hover, ul.nav-tabs.ricerca-tabs li a.active {
    background: #47A5DC;
}

.nav-tabs {
    display: none;
}

.card-header {
    background-color: #f4f4f4;
}

@media (min-width: 768px) {
    .nav-tabs {
        display: flex;
    }

    .tab-content .card {
        border: none;
    }

    .tab-content .card .card-header {
        display: none;
    }

    .tab-content .card .collapse {
        display: block;
    }
}

@media (max-width: 767px) {
    #area-tabs .tab-pane {
        display: block !important;
        opacity: 1;
    }
}

/*
INFOBOX
*/

.infobox h3 {
    position: relative;
    margin-bottom: 2rem;
}

.infobox-short-text {
    height: auto;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    /*text-align: justify;*/
    padding-bottom: 30px;
}

.infobox-claim p {
    font-size: 1.4rem;
}

.infobox-short-text.short-text {
    height: 115px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.infobox-short-text.short-text:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 65px;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to bottom,
    rgba(244, 244, 244, 0),
    rgba(244, 244, 244, 1) 90%);
    width: 100%;
    height: 4em;
}


/*
MODAL
*/

.modal-content {
    border-radius: 0;
}

.modal-header h5 {
    color: #D21E47;
}

.modal-body {
    background: #F4F4F4;
}


/*
VIDEO COVER / MODAL VIDEO
*/

.video-cover {
    position: relative;
    display: block;
}

.video-cover:after {
    border-bottom: 151px solid #D8D8D8;
    border-left: 265px solid transparent;
    border-right: 1px solid transparent;
    position: absolute;
    /*content: " ";*/
    display: block;
    bottom: -5px;
    right: -5px;
}

.video-button-image {

    position: absolute;
    right: calc(50% - 40px);
    bottom: calc(50% - 27px);
    z-index: 2;
    width: 80px;
    height: 54px;
    background: #D21E47;
    border-radius: 9px;
    background-image: none !important;
    cursor: pointer;
    box-shadow: 5px 5px 10px #333;
}

.video-button-image:hover {

}

.video-button-image:after {
    width: 19px;
    height: 15px;
    border-style: solid;
    border-width: 13px 0 13px 25px;
    border-color: transparent transparent transparent #ffffff;
    content: "";
    position: absolute;
    left: calc(50% - 8px);
    top: calc(50% - 13px);
}

.modal-video .modal-dialog {
    max-width: 800px;
    margin: 30px auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    right: -30px;
    top: 0;
    z-index: 999;
    font-size: 2rem;
    font-weight: normal;
    color: #fff;
    opacity: 1;
}


/**
PAGE BOX
*/

.page-box {
    position: relative;
}

.page-box p {
    font-size: .8rem;
}

.page-box h2 {
    /*font-family: 'Asap Condensed';*/
    margin-top: 0;

}

.page-box small {
    text-transform: uppercase;
    font-family: 'Asap Condensed';
    font-weight: 700;
    color: #000;
}

.bcolor-box ul, .page-box ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.bcolor-box li, .page-box li {
    padding-left: 16px;
    text-indent: -14px;
    padding-top: 10px;
    padding-bottom: 10px;

}

.bcolor-box-impresa li, .page-box.page-box-impresa li {
    border-bottom: 1px #409A46 solid;
}

.bcolor-box li:last-child, .page-box li:last-child {
    border: none;
}

.bcolor-box li:before, .page-box li:before {
    content: "»";
    padding-right: 5px;

}

.bcolor-box-impresa li:before, .page-box.page-box-impresa li:before {
    color: #409A46;
}

.page-box:before {
    border-top: 60px solid #D8D8D8;
    border-left: 105px solid transparent;
    border-right: 1px solid transparent;
    position: absolute;
    content: " ";
    display: block;
    top: -3px;
    right: 10px;
}

.page-box.page-box-impresa:before {
    border-top-color: #409A46;
}

.page-box-icon {
    position: absolute;
    width: 40px;
    height: 36px;
    background-size: 100%;
    right: 18px;
    top: 0px;
    z-index: 2;
}

.bcolor-box {
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
    background-color: #f4f4f4;
}

.bcolor-box h2 {
    margin-top: 0;
}

.bcolor-box p {
    margin-bottom: 0;
}

.bcolor-box:before {
    position: absolute;
    content: "";
    width: 382px;
    height: 58px;
    top: -50px;
    right: 0;
    display: none;
}


@media (min-width: 767px) {
    .bcolor-box:before {
        display: block;

    }
}


/*
FOOTER
*/

footer {
    padding: 3rem 0;
    background: #F4F4F4;
}

footer ul {
    padding-left: 0;
    list-style: none;
}

footer a {
    font-family: 'Asap Condensed';
}

footer label {
    font-family: 'Asap Condensed';
}

footer li a {
    color: #6B6B6B;
    font-family: 'Asap Condensed';
}

footer a:hover {
    color: #6B6B6B;
}

footer h4 {
    font-size: 1rem;
    color: #D21E47;
    margin-bottom: 2rem;
    font-family: 'Asap Condensed';
}

footer p {
    font-family: 'Asap Condensed';
}

footer .donate-image {
    height: 20px;
    margin-right: 1rem;
    margin-top: .5rem;
}


/* COOKIE CONSENT */

.cookie-consent {
    position: fixed;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    padding: 30px;
    right: 0;
    left: 0;
}


/* NEWSLETTER MODAL */

.newsletterModal.modal {
    left: auto;
    top: auto;
}

.newsletterModal .modal-dialog {
    box-shadow: 5px 5px 10px #666;
    max-width: 320px;
}


/* HEADER NEWS/EVENTS */

.ne-banner {
    color: #fff;
    background-size: cover !important;
    margin: 0;
}

.ne-banner h1 {
    color: #fff;
    font-weight: 300;
}

.ne-banner .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}


/*CAROUSEL*/
.carousel {
    height: 400px;
}

.carousel-item img {
    height: 400px;
    width: auto !important;
    margin-left: auto;
    margin-right: auto;
}

.carousel-indicators li {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #6B6B6B;
}

.carousel-indicators li.active {
    background-color: #D21E47;
}

.event-breadcrumb__items span.active {
    color: #fff !important;
}

/*
JUMBOTRON
*/

.jumbotron {
    min-height: 500px;
}

.jumbotron p {
    font-family: 'Asap Condensed';
}

.jumbotron-over {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
    z-index: 0;
    top: 0;
}

.jumbotron-content {
    position: relative;
}

.jumbotron.bg-cover {
    background-size: cover;
    background-position: center center;
    position: relative;
}

.jumbotron h1 {
    font-size: 2.1rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px black;
}

.jumbotron p {
    color: #fff;
    font-size: 1.3rem;
}

.btn-home {
    color: rgba(255, 255, 255, .8);
    font-size: 5rem;
    display: block;

}

.btn-home:hover {
    color: #D21E47;


}

@media (min-width: 1200px) {
    .jumbotron h1 {
        font-size: 3.1rem;

    }
}

/*
STATS
*/
.stats .stats-header {
    display: inline-block;
}

.stats .stats-label {
    font-size: 2.5rem;
    color: #686868;
    font-weight: 500;
    padding-left: .5rem;
    line-height: 2.3rem;
    font-family: 'Asap Condensed';
}

.stats .stats-text {
    text-transform: uppercase;
    font-size: 14px;
    color: #9B9B9B;
}

.stats-header img {
    height: 35px;
    display: block;
    margin: .5rem auto;
}

@media (min-width: 1200px) {
    .stats-header img {
        float: left;
        display: inline;
        margin: auto;
    }
}

/*
CLAIM
*/
.main-claim {
    font-size: 1.5rem;
}

/*
BUILDING
*/
.building {
    width: 950px;
    position: relative;
    height: 450px;
    margin: 0 auto;
    margin-bottom: 6rem;
    display: none;
}

.building-block {
    position: absolute;
    width: 25%;
    height: 100%;

}

/* NEWS CONTAINER */
#news-container {
    padding: 0;
    font-family: 'Asap Condensed', serif;
    /*justify-content: space-between;*/
}

#news-container a {
    text-decoration: none;
}

@media (max-width: 576px) {
    #news-container {
        padding: 15px 0;
    }
}

.news-box {
    margin: 0;
}

.news-box .content {
    -webkit-box-shadow: 0 0 5px 1px rgba(50, 50, 50, 0.28);
    -moz-box-shadow: 0 0 5px 1px rgba(50, 50, 50, 0.28);
    box-shadow: 0 0 5px 1px rgba(50, 50, 50, 0.28);
}

@media (max-width: 576px) {
    .news-box {
        margin: 10px 0;
    }
}

.news-title {
    background-color: #D21E47;
    color: white;
    height: 60px;
    width: 100%;
    position: relative;
}

.news-title p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 100%;
    padding: 0 5px;
    font-size: 1.1rem;
}

.news-details {
    height: 200px;
    padding: 2.5rem;
    font-weight: 600;
    font-size: 1.3rem;
}

@media (min-width: 768px) and (max-width: 992px) {
    .news-details {
        height: 15rem;
        font-weight: bold;
        font-size: 1.3rem;
    }
}

.news-details > .icon {
    width: 65px;
    height: 65px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    overflow: hidden;
}

.news-details > .icon img {
    max-width: 100%;
    height: 100%;
}

.news-details > span {
    max-width: 100%;
    height: 100px;
}

.building-block-image, .building-block-image-on {
    position: absolute;
    right: 0;
    width: 100%;
}

.home-area-accordion .card {
    background: #f8f9fa;
    border: 0;
    margin-bottom: 10px;
}

.home-area-accordion .card .card-header {
    background: transparent;
    border: 0;
}

.home-area-accordion .card .card-header .btn {
    width: 100%;
    text-align: left;
    position: relative;
    background: #f8f9fa;
}


@media (min-width: 992px) {

    .building {

        display: block;
    }

    .building-block-1 {
        right: 0;

    }

    .building-block-2 {
        right: 25%;
    }

    .building-block-3 {
        right: 75%;
    }

    .building-block-4 {
        right: 50%;
    }

    .building-block-3 .building-block-image, .building-block-3 .building-block-image-on {
        width: 260px;
        top: 130px;
        right: -15px;
        z-index: 3;
    }

    .building-block-4 .building-block-image, .building-block-4 .building-block-image-on {
        width: 470px;
        top: 15px;
        right: -15px;
        z-index: 2;
    }

    .building-block-2 .building-block-image, .building-block-2 .building-block-image-on {
        top: 89px;
        right: -30px;
        width: 255px;
    }

    .building-block-1 .building-block-image, .building-block-1 .building-block-image-on {
        width: 235px;
        top: 87px;
        right: 25px;
    }

    .building-block-trees {
        position: absolute;
        right: 115px;
    }

    .building-block-people {
        position: absolute;
        right: 305px;
        top: 73px;
    }

    .building-en a.btn {
        font-size: 1rem;
    }

    .building-en .btn-ricerca {
        width: 330px !important;
    }


}

@media (min-width: 1200px) {
    .building-block .building-block-image, .building-block .building-block-image-on {
        width: auto;
    }


    .building-block-1 .building-block-image, .building-block-1 .building-block-image-on {
        top: 78px;
        right: -40px;
    }


    .building-block-2 .building-block-image, .building-block-2 .building-block-image-on {
        top: 78px;
        right: -70px;
    }


    .building-block-3 .building-block-image, .building-block-3 .building-block-image-on {
        top: 130px;
        right: -15px;
    }


    .building-block-4 .building-block-image, .building-block-4 .building-block-image-on {
        top: 0px;
        right: -15px;

    }

    .building-block-trees {
        right: 115px;
    }

    .building-block-people {
        right: 305px;
        top: 73px;
    }

}


.building-block .building-block-image-on {
    display: none;
}

.building-block:hover .building-block-image-on {
    display: block;
}

.building-block .btn {
    bottom: 0;
    position: absolute;
    width: 200px;
    font-weight: 500;
    left: 50%;
    margin-left: -100px;
}

.building-block .btn-image {
    margin-top: -2px;
}

.building-block a.btn {
    background-color: #F4F4F4;
    border-color: #F4F4F4;
}

.building-block a.btn.btn-arte {
    color: #FCC924;
}

.building-block a.btn.btn-scuola {
    color: #E82A97;
}


.building-block a.btn.btn-impresa {
    color: #409A46;
}


.building-block a.btn.btn-ricerca {
    color: #47A5DC;
}

.building-block:hover a.btn {
    color: #fff;
}

.building-block:hover a.btn.btn-arte {
    background-color: #FCC924;
}


.building-block:hover a.btn.btn-scuola {
    background-color: #E82A97;
}


.building-block:hover a.btn.btn-impresa {
    background-color: #409A46;
}


.building-block:hover a.btn.btn-ricerca {
    background-color: #47A5DC;
}

.building-block img.indicatore {
    bottom: 54px;
    position: absolute;
    left: 50%;
    margin-left: -12px;
}


/*
AREA INFO
*/

.area-info {
    /*background: #F4F4F4;*/
    background: #FFF;
    padding: 4rem 0;
    position: relative;
    display: none;
    background-position: center bottom;
}

.area-info .container {
    position: relative;
}

.area-info .container:before {
    content: '';
    position: absolute;
    left: calc(20%);
    top: -98px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 35px solid #F4F4F8;
    clear: both;
}

.area-info h2 {
    text-transform: uppercase;
    margin-bottom: .5rem;
    margin-top: 0;
}

.area-info-image img {
    width: 100%;
}

.area-info p {

}

.area-info-content ul {
    list-style: none;
    padding: 0;
    padding-bottom: .5rem;
}

.area-info-content ul li {
    padding-bottom: .5rem;
}


.area-info-menu ul {
    margin: 0.75em 0;
    padding: 1rem 1rem 1rem 2rem;
    list-style: none;
    height: 195px;
}

.area-info a.btn {
    width: 100%;
    color: #fff;
}

.area-info-scuola .area-info-menu ul li:before {
    border-color: transparent #E82A97;
}

.area-info-scuola b {
    color: #E82A97;
}


.area-info-arte .area-info-menu ul li:before {
    border-color: transparent #FCC924;
}

.area-info-impresa .area-info-menu ul li:before {
    border-color: transparent #409A46;
}

.area-info-ricerca .area-info-menu ul li:before {
    border-color: transparent #47A5DC;
}

.area-info-menu ul li:before {
    content: "";
    border-style: solid;
    border-width: 0.30em 0 0.30em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1em;
    position: relative;
}


.area-info-menu ul li a {
    margin-bottom: 5px;
    font-size: .875rem;
}

.area-info ul li a {
    color: #4A4A4A;
}


/* aree */


.area-info-scuola .container::before {
    left: 37%;
}

.area-info-arte .container::before {
    left: 16%;
}

.area-info-impresa .container::before {
    left: 58%;
}

.area-info-ricerca .container::before {
    left: 79%;
}


/*
ACCORDION
*/
@media (min-width: 992px) {
    .home-area-accordion {
        display: none;
    }
}

/*
FONDAZIONE
*/
.fondazione h3 {
    position: relative;
}

/*.fondazione h3:after{
    content: " ";
    height: 2px;
    width: 40px;
    background: #4A4A4A;
    position: absolute;
    bottom: -33px;
    left: 0;
    display: block;
    color: #4A4A4A;
    margin-left: 0;
}*/

.fondazione p {
    font-size: 1.1rem;
}

.fondazione .short-text {
    height: 140px;
}

.fondazione .short-text:after {
    top: 94px;
}

article.news {
    background: #F4F4F4;
}

article.news .col-md-6 {
    min-height: 300px;
}

article.news .news-anchor {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
}

article.news img {
    width: 100%;
}


.event-main__details__category > * {
    display: inline-block;
}

.event-main__details__category > img {
    margin-right: 10px;
    width: 50px;
    height: 50px;
}

article p {
    font-size: .9rem;
}

.rassegna-list a, .comunicati-list a {
    display: block;
    text-decoration: none;
    background: #F4F4F4;
    margin: 1rem 0;
    padding: 1rem;
}

.rassegna-list .rassegna-date, .rassegna-list .rassegna-testata, .rassegna-list .rassegna-description {
    color: #4A4A4A;
    font-size: 0.8125rem;
}

.rassegna-list .rassegna-testata {
    float: right;
}

.news-main__image {
    padding-left: 0;
    min-height: 312px;
    position: relative;
}

.news-main__image #player {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.news-main__image #player > .controls {
    color: white;
}

.news-main__image img {
    width: 100%;
}

.news-main h2 {
    font-size: 1.5rem;
}

.news-content {
    padding: 1.5rem;
}

@media (min-width: 992px) {

    .news-content {
        padding-right: 15px;
        padding-left: 15px;
    }
}


/* carousel */

.carousel-item article.news {
    min-height: 360px;
}

#homeCarousel {
    height: 800px;
}

#homeCarousel .news-image {
    height: 360px;
    background-size: cover;
}

#homeCarousel .news-content {
    height: 360px;
}

#homeCarousel .carousel-control-next, #homeCarousel .carousel-control-prev {
    width: 5%;
}

#homeCarousel article.news .news-anchor {
    right: 3rem;
}

#homeCarousel article.news h3 {
    font-size: 1.4rem;
}


@media (min-width: 992px) {
    #homeCarousel {
        height: 360px;
    }

    #homeCarousel .news-image {
        height: 360px;
    }

    #homeCarousel .news-content {
        height: 360px;
    }

    #homeCarousel article.news h3 {
        font-size: 1.8rem;
    }
}


.jumbotron-chisiamo.bg-cover {
    background-color: #fff;
    background-position: center bottom;
    padding-bottom: 6rem;
}

.jumbotron-chisiamo p {
    color: #6B6B6B;
    font-size: 1.2rem;
    /*text-align: justify;*/
}

.signature-container {
    float: right;
}

.signature {

    font-size: 1.6rem;
}

.membro-consiglio {
    background-color: #F4F4F4;
}

.staff-member {
    margin-bottom: 2rem;
}

.staff-member h5 {
    font-size: 1.1rem;
}

.staff-member p {
    font-size: .7rem;
}

.staff-member a {
    position: absolute;
    bottom: 3px;
    font-size: .7rem;
}

.staff-member .staff-img {
    width: 120px;
    margin-right: 1rem;
}

.more-staff {
    display: none;
}

.partner {
    background-color: #fff;
    padding: 10px;
    text-align: center;
    border: 2px solid #f9f9f9;
}

.partner img {
    max-width: 100%;
    max-height: 110px;
    text-align: center;
}

.more-partner {
    display: none;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 30%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}


/* MARINO GOLINELLI */


.mg-text, .mg-date {
    position: absolute;
    z-index: 10;
}

h1 {
    font-size: 2.3rem;
    position: relative;
    z-index: 4;
}

@media screen and (min-width: 960px) {
    h1 {
        font-size: 3.5rem;

    }
}

img {
    max-width: 95vw;
}

.edge {
    width: 100%;
    height: 25px;
    position: absolute;

    z-index: 1;
}

.golinelli-section {
    position: relative;
}

/*
SECTION 1
*/

.golinelli-section-1 {
    height: 350px;
    background-color: #F7B0D8;
    position: relative;
    margin-top: 0;
}

.edge-bottom-1 {
    bottom: 0px;
}

.golinelli-main-figure {
    position: absolute;

    z-index: 2;
    right: 10px;
    bottom: -112px;
    width: 310px;
}

.golinelli-main-mobile {
    position: absolute;
    top: 6rem;
    margin-left: 1rem;
    z-index: 2;
}

.golinelli-section-1 h1 {
    margin-top: 2rem;
    font-size: 2.1rem;
    margin-left: 2rem;
}

.timeline-1 {
    position: relative;
    z-index: 3;
    width: 500px;
}

.timeline-1-mobile {
    margin-top: 0px;
    z-index: 4;
    width: 360px;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    margin-bottom: 60px;
}


.role-list {
    color: #fff;
    list-style-type: none;
    position: relative;
    margin-left: 2rem;
    margin-top: 5rem;
    z-index: 4;
}

img.main-design {
    position: absolute;
    left: 0;
    top: 40px;
}

img.signature {
    margin-left: 1rem;
}

.video-story-1 {
    width: 80%;
    margin: auto;
    position: relative;
}


@media screen and (min-width: 960px) {

    .golinelli-section-1 {
        height: 650px;

    }

    .golinelli-main-figure {

        left: 65%;
        right: auto;
        top: 155px;
        width: 378px;

    }


    .golinelli-section-1 h1 {
        margin-top: 11rem;
        font-size: 3.3rem;
        margin-left: 3rem;
    }

    .role-list {
        margin-left: 5rem;
        margin-top: 1rem;
        z-index: 4;
    }

    .timeline-1 {
        margin-top: 3rem;
    }

}

/*
SECTION 2
*/

.golinelli-section-2 {
    padding-top: 0rem;
    padding-bottom: 5rem;
}

img.video-play-button {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.golinelli-section-3 {
    background-color: #7ee1c6;

}

.edge-top-2 {
    height: 23px;
    top: -10px;
}

.edge-bottom-2 {
    bottom: -12px;
}

.video-story-2 {
    width: 80%;
    position: relative;
    margin-top: -6rem !important;
    margin-left: auto;
    margin-right: auto;
}


.timeline-2 {
    margin-top: -6rem;
    position: absolute;
}

.video-play-button-2 {
    width: 36px;
    bottom: 20px;
    right: 20px;

}

@media screen and (min-width: 960px) {

    .golinelli-section-2 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .video-story-2 {
        width: 300px;
    }

    .golinelli-section-3 {

        height: 640px;
    }

    .video-story-2 {

        margin-left: 3rem;
    }

}


/*
SECTION 4
*/

.golinelli-section-4 {

    min-height: 640px;
}

.golinelli-standing {
    z-index: 2;
    position: relative;
}


/*
SECTION 5
*/

.golinelli-section-5 {
    background-color: #d7395d;
    height: 450px;
}

.edge-top-3 {
    height: 25px;
    top: -10px;
}

.edge-bottom-3 {
    bottom: 0px;
}


.video-story-3 {
    width: 80%;

    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.golinelli-section-6, .golinelli-section-8 {
    position: relative;
    min-height: 640px;
}

.sketch-founds-container {
    color: #2E408F;
    margin-top: 1rem;
}

.logo-sketch {
    position: absolute;
    right: 0;
    bottom: 0;
}

.golinelli-founds {
    position: absolute;
    bottom: 50px;
}

.timeline-3 {
    position: relative;
}

@media screen and (min-width: 960px) {

    .golinelli-section-5 {
        height: 640px;
    }

    .video-story-3 {
        width: 300px;
        position: absolute;
        top: 0;
        LEFT: 18%;
    }

    .golinelli-section-6 .col-md-6 {

        min-height: 500px;
    }

    .sketch-founds-container {
        margin-top: 5rem;
    }

    .golinelli-founds {
        width: auto;
        bottom: 50px;
    }
}

/*
SECTION 7
*/

.golinelli-section-7 {
    position: relative;
    height: 450px;
    background-color: #fdcd4b;
}

.edge-top-4 {
    height: -5px;
    top: -10px;
}

.edge-bottom-4 {
    bottom: 0px;
}

.star-vector {
    position: absolute;
}

.timeline-4 {
    /*margin-left: 6rem;*/
    margin-top: 2rem;
    position: relative;
    z-index: 3;

}

.timeline-4 .timeline-4-img {
    margin-left: auto;
    margin-right: auto;
    width: 138px;
}


.video-story-4 {
    width: 80%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.video-story-4-1 {
    width: 36%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 550px;
    left: 55%;
}


@media screen and (min-width: 960px) {
    .golinelli-section-7 {
        height: 640px;
    }

    .video-story-4 {
        width: 300px;
        position: absolute;
        top: 0;
        right: 60px;
    }

    .video-story-4-1 {

        width: 400px;
        position: absolute;
        top: 635px;
    right: calc(50% - 510px);

    }
}

/*
SECTION 9
*/
.golinelli-section-9 {
    position: relative;
    background-color: #7ec0e6;
}

.edge-top-5 {
    height: -5px;
    top: -10px;
}

.edge-bottom-5 {
    bottom: 0px;
}

.video-story-5 {
    position: relative;
}

.golinelli-section-10 h1 {
    color: #7ec0e6;
    margin-bottom: 2rem;
}

.golinelli-section-10 ul {
    list-style: none;
    padding-left: 0;
}

.golinelli-section-10 ul li {
    padding-bottom: 10px;
}

.marino-paola {
    width: 100%;
}


.jumbotron-area {
    margin-bottom: 0;
}

.jumbotron-area p {
    font-size: 1.3rem;
}


.area-tab {

    position: relative;
    margin-top: 0;
}

.area-tab-content {
    position: relative;
    margin: 20px;
}

.area-tab .nav-tabs {
    border: 0;
    position: absolute;
    width: 100%;
    text-align: center;
    justify-content: center;
    top: -1rem;
}

.area-tab-text {

    width: 100%;
    padding-bottom: 65px;
}

.area-tab-text.short-text {
    height: 188px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.area-tab .tab-content > .tab-pane {
    margin-bottom: 10px;
    background-color: #F4F4F4;
}


.area-tab h5 a:hover {
    text-decoration: none;
}


.area-tab-content .btn-show-more {

    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

.area-tab-text.short-text:after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background-image: linear-gradient(to bottom,
    rgba(244, 244, 244, 0),
    rgba(244, 244, 244, 1) 90%);
    width: 100%;
    height: 4em;
}

.area-tab-text p {
    text-align: justify;
    /*padding-bottom:5rem;*/
}

.area-tab-buttons {
    padding-left: 10px;

    width: 100%;
    bottom: 0;
    padding-right: 10px;
}

.area-tab-buttons .col-md-3 {
    padding: 0 5px;
}

.area-tab-buttons a.btn {
    width: 100%;
    white-space: normal;
    margin: 0;
    padding: .5rem;
    height: 60px;
    font-size: 1.1rem;
    line-height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.area-tab .tab-content > .tab-pane.fade {
    opacity: 100;
}


@media (min-width: 768px) {
    .area-tab {
        background-color: #F4F4F4;
    }

    .area-tab-content {
        margin: 0;
    }

    .area-tab-buttons {
        position: absolute;
    }

    .area-tab-content .btn-show-more {

        bottom: 60px;
        position: absolute;
        width: 25%;
        right: 15px;

    }

    .area-tab-content .btn-show-more {

        bottom: 40px;
        top: auto;

    }

    .area-tab-buttons a.btn {
        margin-bottom: 0;
    }

    .area-tab .tab-content > .tab-pane.fade:not(.show) {
        opacity: 0;
    }
}


/* REACTOR */

.mini-timeline {
    display: flex;

    align-items: stretch;
    width: 100%;
    height: .7rem;
    margin-left: -2px;
    margin-right: -2px;
}

.mini-timeline-item {
    flex: 1;
    background: #ccc;
    margin: 0 2px;
}

.reactor-tabs {
    position: initial;
    background: #eee;
    display: flex;
}

.reactor-tab-content > .tab-pane:not(.active) {
    display: none !important;
}

ul.reactor-tabs li {
    flex: 1;
    font-size: 14px;
    margin-left: 0;
    margin-right: 0;
}

ul.reactor-tabs li a.nav-link {
    background: none;
    transform: none;
    -o-transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    width: 100%;
}

@media (min-width: 992px) {
    .reactor-tab-content {
        height: 666px;
    }
}

.reactor-tab-content img {
    width: 100%;
}

ul.reactor-tabs li a:hover, ul.reactor-tabs li a.nav-link.active {
    color: #fff;
    background: #47A5DC;
}


.reactor-tab-content .tab-pane {
    height: 100%;
    background: #eee;
}

.reactor-tab-content-text {

    padding: 1.2rem;
}

.timeline-reactor {

    margin-left: -4px;
    margin-right: -1px;
    flex-direction: row;
    flex-wrap: wrap;
}


.timeline-reactor-item {
    width: auto;
    height: 170px;

    text-align: right;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}

@media (min-width: 576px) {
    .timeline-reactor {
        display: flex;
    }

    .timeline-reactor-item {
        width: 33.3%;
    }
}


.timeline-reactor-item-header {
    color: #fff;
    background-color: #47A5DC;
    text-align: right;
    height: 37px;
    padding: .5rem 1rem;
    display: block;
    font-size: 14px;
    font-weight: 700;

}

.timeline-reactor-item-body {
    padding: 1rem;
    background: #eee;
    height: 132px;
}

.timeline-reactor-item-final {

    font-size: 34px;
    color: #fff;
    font-weight: 700;
    line-height: 36px;
}

.timeline-reactor-item-final .timeline-reactor-item-body {
    background-color: #47A5DC;
    height: 100%;
}


/* ROTATING CARDS */

/* Card styles for rotation */
.rotate-container {
    position: relative;
}

.rotate-container .card-front, .rotate-container .card-back {
    width: 100%;
    height: 100%;
    -webkit-transform: perspective(600px) rotateY(0deg);
    transform: perspective(600px) rotateY(0deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.5s linear 0s;
}

.rotate-container .card-back {
    -webkit-transform: perspective(1600px) rotateY(180deg);
    transform: perspective(1600px) rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.card:hover .card-front {
    -webkit-transform: perspective(1600px) rotateY(-180deg);
    transform: perspective(1600px) rotateY(-180deg);
}

.card:hover .card-back {
    -webkit-transform: perspective(1600px) rotateY(0deg);
    transform: perspective(1600px) rotateY(0deg);
}


.rotate-container .rotate-card-front {
    -webkit-transform: perspective(1600px) rotateY(-180deg);
    transform: perspective(1600px) rotateY(-180deg);
}

.rotate-container .rotate-card-back {
    -webkit-transform: perspective(1600px) rotateY(0deg);
    transform: perspective(1600px) rotateY(0deg);
}

/* Modified card styles */
.startup.card {
    box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.5);
}

.startup.card {
    padding-top: 45px;
    padding-bottom: 45px;
}

.card-front {
    border: 0;
    box-shadow: none;
}

.card .card-header p {
    margin: 0;
}

.card-back p {
    font-size: 14px;
    margin-top: 10px;
}

.card-website {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    padding: 5px;
    color: #fff;
    text-transform: uppercase;
}


/* HUMANITIES */

ul.humanities-tabs li a, ul.humanities-tabs li a.nav-link {
    text-align: center;
    font-size: 18px;
}

ul.humanities-tabs li a:hover, ul.humanities-tabs li a.nav-link.active {
    background: #FCC924;
}

.humanities-tab-content {
    height: auto;
}

.humanities-tab-content .tab-pane {
    height: auto;

}

.humanities-tab-content .reactor-tab-content-text {
    padding: 0;
}

/*# sourceMappingURL=frontend.css.map */


.jumbrotron-social {
    position: absolute;
    right: 0;
    display: flex;

    /* height: 100%; */
    left: 0;
    bottom: 0;
    background: #D21E4750;
    padding: 24px;
    justify-content: space-evenly;
}


@media (min-width: 992px) {
    .jumbrotron-social {
        position: absolute;
        right: 0;
        display: flex;
        flex-direction: column;
        /* height: 100%; */
        top: 0;
        bottom: 0;
        left: auto;
        background: #D21E4799;
        padding: 20px;
        flex-direction: column;
    }
}


/* REACTOR CASE HISTORIES */


.card.startup-reactor {
    border-radius: 40px;
    box-shadow: 7px 7px 20px -6px rgb(0 0 0 / 20%);
    margin-bottom: 50px;
    margin-top: 50px;
}


.startup-reactor .startup-reactor-img {
    padding: 50px;
    text-align: center;
    width: 100%;
}

.startup-reactor img {
    max-width: 100%;
    max-height: 160px;
}

.startup-reactor h3 {
    color: #fff;
    background-color: #47A5DC;
    padding: 5px 10px 5px 50px;
    position: relative;
    box-shadow: 0 8px 6px -6px rgb(0 0 0 / 50%);
    margin-right: -1px;
}

.startup-reactor p {
    padding: 10px 50px 0px 50px;
    text-align: justify;
    margin-bottom: 0;
    font-size: .9rem;
}


.startup-reactor h3:before {
    content: "  ";
    position: absolute;
    height: 45px;
    width: 45px;
    background-color: #12c2f6;
    border-radius: 23px;
    left: -22px;
    top: 0;
}

@media (max-width:600px){
    .startup-reactor a{
        margin-left: 17px;
        display: block;
    }
}

/* SLICK CAROUSEL */
#slick-carousel p {
    margin: 0;
}
#slick-carousel img {
    margin-right: 10px;
}
#slick-carousel .fa:hover {
    color: #666;
}
@media screen and (min-width: 750px) {
    .slick-slide {
        margin: 0 5px;
    }
}

#slick-carousel .fa {
    font-size: 64px;
    color: #999;
}
#slick-carousel .slick-carousel-item-inner {
    padding: 10px;
    background-color: #f6f6f6;
    /*min-height: 400px;*/
    /*max-height: 400px;*/
}
#slick-carousel .course-image img{
    max-width: 100%;
}
#slick-carousel .course-dates {
    font-size: 12px;
}
#slick-carousel .course-title {
    height: 90px;
    overflow: hidden;
    font-family: 'Asap Condensed', sans-serif;
    margin-top: 8px;
}
#slick-carousel h4.course-title  a {
    color: #47a5dc;
    font-size: 22px;
}
#slick-carousel .course-location-container {
    display: flex;
    align-items: center;
    font-size: 14px;
}
#slick-carousel hr {
    border: 1px solid #DADADA;
}
#slick-carousel .course-location-container img {
    margin-left: 10px;
}
#slick-carousel .course-targets-container {
    margin-bottom: 10px;
}
#slick-carousel .course-targets-container,
#slick-carousel .course-sectors-container {
    display: flex;
    align-items: center;
    font-size: 0.8em;
    height: 40px;
}
#slick-carousel .course-targets-container img,
#slick-carousel .course-sectors-container img {
    max-height: 24px;
}
