﻿/*
    Regole per il componente CSSTransitionGroup
*/

#theForm .theMain .css-transition-enter {
    opacity: 0.01;
}

#theForm .theMain .css-transition-enter.css-transition-enter-active {
    opacity: 1;
    transition: opacity 1000ms linear;
}

#theForm .theMain .css-transition-leave {
    opacity: 1;
}

#theForm .theMain .css-transition-leave.css-transition-leave-active {
    opacity: 0.01;
    transition: opacity 1000ms linear;
}

/*
    Regole inserite per eliminare l'animazione del loader dal contenuto quando si effetua lo switch tra loader e lista company profile.
    Questa anomalia si verifica solo su IE (in tutte le versioni).
*/

#theForm .theMain #lista-company-profile {
    -webkit-animation: none;
    animation: none;
}

#theForm .theMain #lista-company-profile #page-header .page-title {
    font-size: 30px;
}

#theForm .theMain #lista-company-profile .page-description {
    padding: 10px 0px;
}

#theForm .theMain #lista-company-profile #login-container {
    padding: 10px;
}

#theForm .theMain #lista-company-profile .filters-container {
    clear: both;
    margin: 20px 0px 20px 0px;
}

#theForm .theMain #lista-company-profile .filters-container div[class*="col-sm"] {
    padding-right: 15px;
    padding-left: 15px;
}

#theForm .theMain #lista-company-profile .button-container {
    padding-top: 15px;
}

#theForm .theMain #lista-company-profile .filters-container .open-filters-container {
    float: right;
}

#theForm .theMain #lista-company-profile .filters-container .filters-alpha .btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#theForm .theMain #lista-company-profile .filters-container .filters-alpha .btn-group button[disabled] {
    color: #9e9e9e;
}

#theForm .theMain #lista-company-profile .filters-container .filters-alpha .btn-group button {
    min-width: 65px;
    border-radius: 0px;
    box-shadow: none
}

#theForm .theMain #lista-company-profile .filters-container .filters-alpha .btn-group button#AlphabetGroup_all {
    margin-left: -1px;
}


#theForm .theMain #lista-company-profile .filters-container .filters-alpha .btn-group button#AlphabetGroup_all:not(.btn-success) {
    border-color: #ccc
}

#theForm .theMain #lista-company-profile .filters-container .filters-alpha .btn-group button#AlphabetGroup_all:not(.btn-success):hover {
    border-color: #adadad
}

#theForm .theMain #lista-company-profile .filters-container .filters-alpha .btn-group button,
#theForm .theMain #lista-company-profile .filters-container .open-filters-container button {
    height: 34px;
}

#theForm .theMain #lista-company-profile .filters-container .filters-search-container {
    margin: 10px 0px 30px 0px;
    border: 1px solid #dddddd;
    background-color: #f9f9f9;
    padding: 15px 10px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

#theForm .theMain #lista-company-profile .filters-container .filters-search-container .form-group {
    flex: 1 0 50%;
}

#theForm .theMain #lista-company-profile .filters-container .filters-search-container .no-margin {
    margin: 0;
}

#theForm .theMain #lista-company-profile .filters-container .filters-search-container .form-group-parola-chiave {
    flex: 1 0 100%;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    flex-direction: row;
}

#theForm .theMain #lista-company-profile .filters-container .filters-search-container .icon-tooltip-parola-chiave {
    background-color: transparent;
    border: none;
    vertical-align: middle;
    padding: 0;
    margin-left: 5px;
}

#theForm .theMain #lista-company-profile #buttonsDiv {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}


#theForm .theMain #lista-company-profile #keywordSearchContainer {
    display: flex;
    align-items: flex-end;
}

#theForm .theMain #lista-company-profile .company-profiles-container {
    clear: both;
    margin-top: 10px;
    width: 100%;
}

#theForm .theMain #lista-company-profile .company-profiles-wrapper {
    align-items: stretch;
    display: inline-flex;
    flex-flow: row wrap;
    width: 100%;
}

#theForm .theMain #lista-company-profile .company-profiles-group .group {
    border-bottom: 1px solid #dedede;
    color: #363767;
    display: block;
    font-family: arial, sans-serif;
    font-size: 26px;
    letter-spacing: 8px;
    margin: 20px 0px 15px 0px;
    padding: 5px 10px;
    text-transform: uppercase;
    width: 100%;
}

#theForm .theMain #lista-company-profile div.company-profile {
    border: 1px solid #eeeeee;
    cursor: pointer;
    margin: 1%;
    max-width: 300px;
    /*overflow: hidden;*/
    padding-top: 10px;
    position: relative;
    text-align: center;
    width: 31%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#theForm .theMain #lista-company-profile .company-profile .logo-company-profile {
    height: 125px;
}

#theForm .theMain #lista-company-profile .company-profile .logo-company-profile img {
    max-height: 120px;
    max-width: 120px;
}

#theForm .theMain #lista-company-profile .company-profile .company-name {
    color: #505050;
    margin: 5px 0px;
    padding: 4px 10px;
    font-size: max(18px, 1.3em);
    text-transform: uppercase;
}

#theForm .theMain #lista-company-profile .company-profile .company-profile-title {
    margin: 0px;
    padding: 5px 10px 15px 10px;
    font-size: max(13px, 1em);
}

#theForm .theMain #lista-company-profile .company-profile:hover,
#theForm .theMain #lista-company-profile .company-profile:focus {
    border: 1px solid #9DBBD8;
}

#theForm .theMain #lista-company-profile .company-profile:hover .logo-company-profile img,
#theForm .theMain #lista-company-profile .company-profile:focus .logo-company-profile img {
    transform: scale(1.1, 1.1);
    transition: 500ms ease;
}

#theForm .theMain #lista-company-profile .company-profile:hover .company-name,
#theForm .theMain #lista-company-profile .company-profile:focus .company-name {
    color: #0c5ea4;
}

/***** STILE DEI BOX CON MATCH *****/

#theForm .theMain #lista-company-profile .company-profile.has-match {
    padding-top: 0px;
}

/* 0% */

#theForm .theMain #lista-company-profile .company-profile.match-0 {
    border-top: 5px solid #c1c1c1;
}

#theForm .theMain #lista-company-profile .company-profile.match-0:focus,
#theForm .theMain #lista-company-profile .company-profile.match-0:hover {
    border: 1px solid #c1c1c1;
    border-top: 5px solid #c1c1c1;
}

#theForm .theMain #lista-company-profile .company-profile.match-0 .perc-match {
    border-color: transparent #c1c1c1 transparent transparent;
    margin-top: -1px;
    margin-left: 1px;
}

/* 30%-1% */

#theForm .theMain #lista-company-profile .company-profile.match-30 {
    border-top: 5px solid #ff9933;
}

#theForm .theMain #lista-company-profile .company-profile.match-30:focus,
#theForm .theMain #lista-company-profile .company-profile.match-30:hover {
    border: 1px solid #ff9933;
    border-top: 5px solid #ff9933;
}

#theForm .theMain #lista-company-profile .company-profile.match-30 .perc-match {
    border-color: transparent #ff9933 transparent transparent;
    margin-top: -1px;
    margin-left: 1px;
}

/* 70% - 31% */

#theForm .theMain #lista-company-profile .company-profile.match-70 {
    border-top: 5px solid #93d667;
    /*#9cd874;*/
}

#theForm .theMain #lista-company-profile .company-profile.match-70:focus,
#theForm .theMain #lista-company-profile .company-profile.match-70:hover {
    border: 1px solid #9cd874;
    border-top: 5px solid #9cd874;
}

#theForm .theMain #lista-company-profile .company-profile.match-70 .perc-match {
    border-color: transparent #93d667 transparent transparent;
    margin-top: -1px;
    margin-left: 1px;
}

/* 100% - 71% */

#theForm .theMain #lista-company-profile .company-profile.match-100 {
    border-top: 5px solid #5b9e2e;
}

#theForm .theMain #lista-company-profile .company-profile.match-100:focus,
#theForm .theMain #lista-company-profile .company-profile.match-100:hover {
    border: 1px solid #5b9e2e;
    border-top: 5px solid #5b9e2e;
}

#theForm .theMain #lista-company-profile .company-profile.match-100 .perc-match {
    border-color: transparent #5b9e2e transparent transparent;
    margin-top: -1px;
    margin-left: 1px;
}

#theForm .theMain #lista-company-profile .company-profile .perc-match {
    border-style: solid;
    border-width: 0px 65px 60px 0px;
    /* per avere un triangolo che sembri isoscele devo impostare l'altezza pi� bassa di 5px perch� in alto c'� il border-top di 5px */
    color: #FFFFFF;
    font-family: arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    height: 0px;
    text-shadow: 1px 1px #666;
    width: 100%;
}

#theForm .theMain #lista-company-profile .company-profile .perc-match span {
    position: absolute;
    right: 3px;
    top: 5px;
}

#theForm .theMain #lista-company-profile .company-profile .info-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    min-height: 25px;
    background: linear-gradient(0deg, rgba(27, 42, 74, 0.07) 0%, rgb(255, 255, 255) 100%);
    padding: 0px 5px;
}

/* label offerte aperte e eventi in pagina /lau/companyProfile/Default.aspx?lang=it */
#theForm .theMain #lista-company-profile .company-profile .info-div .info-label {
    align-items: center;
    display: flex;
    font-family: Verdana, Geneva, sans-serif;
    color: #333333;
    font-size: 13px;
}

#theForm .theMain #lista-company-profile .company-profile .info-div .info-label--eventi {
    justify-content: flex-end;
    padding-right: 3px;
}

#theForm .theMain #lista-company-profile .company-profile .info-div .info-label__img {
    width: 15px
}

#theForm .theMain #lista-company-profile .company-profile .info-div .info-label__text {
    margin: 0px 2px
}

#theForm .theMain #lista-company-profile .company-profile .info-div .info-label__count {
    font-size: 1.1em;
    /* color: black */
}

#theForm .theMain #lista-company-profile .button-back-to-list:before {
    content: "\e079";
    font-family: "Glyphicons Halflings";
    display: inline-block;
    vertical-align: bottom;
    margin-right: 5px;
}

#theForm .theMain #lista-company-profile .iframe-container {
    margin-top: 10px;
}

#theForm .theMain #lista-company-profile .iframe-container .back-button-container {
    margin-bottom: 20px;
}

#theForm .theMain .error-handler,
#theForm .theMain .error-boundary {
    clear: both;
}

@media (max-width:768px) {
    #theForm .theMain #lista-company-profile div.company-profile {
        width: 48%;
        max-width: none;
    }

    #theForm .theMain #lista-company-profile .filters-container .open-filters-container {
        margin-bottom: 5px;
    }

    #theForm .theMain #lista-company-profile .filters-container .filters-alpha .btn-group button,
    #theForm .theMain #lista-company-profile .filters-container .open-filters-container button {
        height: 40px;
    }
}

@media(max-width:570px) {
    #theForm .theMain #lista-company-profile div.company-profile {
        width: 98%;
        max-width: none;
    }

    #theForm .theMain #lista-company-profile .filters-container .filters-search-container .form-group {
        flex: 1 0 100%;
    }
}


/* bootstrap 3 non mostra il tasto "clear" di default per html 5 */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

.scroll-to-top:hover,
.scroll-to-top:focus {
    background-color: white !important;
}
