/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/** BOOSTRAP AVADA CONFLICTS **/

#main .container h2{
    margin-bottom:20px;
}

/** MISC **/
.fullwidth {
    margin-left: -15px;
    margin-right: -15px;
}

.bg_primary{
    background-color: #fbd500;
}
.bg_dark {
    background-color: #333;
}
.text-primary *, .text-primary{
    color: #fbd500 !important;
}
.text-medium *, .text-medium {
    color: #9EA4A9 !important;
}
.text-white *, .text-white{
    color: #ffffff !important;
}
a { font-weight: 700; text-decoration: none !important;}

/** TYPOGRAPHY **/

h1{ font-size: 70px; font-weight:700;}
h2{ font-size: 25px; font-weight:700; margin-bottom:20px;}
h3{ font-size: 25px; font-weight:300; margin-bottom:20px;}
h4{ font-size: 20px; font-weight:300; margin-bottom:20px;}
h5{ font-size: 14px; font-weight:700; margin-bottom:20px;}


/** BUTTONS **/
.btn {border-radius:40px !important;}
.btn-primary{
    border-color: #fbd500;
    background-color:#fbd500;
    color:#333;
}
.btn-primary:hover{
    border-color: #f1a852 !important;
    background-color:#f1a852 !important;
    color:#333;
}
.btn-outline-primary{
    border-color: #fbd500;
    color:#fbd500;
}
.btn-outline-primary:hover, .btn-outline-primary:focus .btn-outline-primary:active {
    background: #fbd500;
    color:#ffffff;
    border-color: #fbd500;
}


#top_header{
    padding:15px;
}

section {
    width:100%;
}

/** HOME **/

.with_arrow_top:after{
    content: '';
    position: absolute;
    left: 50%;
    margin-left:-30px;
    top: 0%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #fff;
}

#list500{
    list-style: none;
    padding:20px;
    -webkit-box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 35px 0px rgba(0,0,0,0.2);
}
#list500 li.company{
    display:flex;
    flex-flow: row;
    align-items: center;
    margin-bottom:5px;
}
#list500 li.table_head {
    display:flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    margin-bottom:5px;
    font-size:10px;
    color:#ccc;
}
#list500 li.table_head .active a{ color:#f1a852}
#list500 li.table_head div a { display: none; color:#ccc}
#list500 li.table_head div a.active {display: flex; align-items: center; justify-content: center;}

#list500 li.table_head .ranking{ width:100px; text-align:center; }
#list500 li.table_head .company{ flex-grow: 1;}
#list500 li.table_head .sustainability{ width:80px; text-align:center; align-self: flex-end; }
#list500 li.table_head .digital{ width:80px; text-align:center; align-self: flex-end;}
#list500 li.table_head .business_size{ width:80px; text-align:center; align-self: flex-end;}
#list500 li.table_head .total{ width:100px; text-align:center; align-self: flex-end;}
#list500 li.table_head .fa-sort-down { margin-top:-6px; margin-left:3px;}
#list500 li.table_head .fa-sort-up { margin-top:2px; margin-left:3px;}

#list500.collapsed li.company:nth-child(n+12) {
    filter: blur(3px);
}

#list500 li.company .ranking {
    margin-left:30px;
    margin-right:30px;
    width: 40px;
    height: 40px;
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius:100%;
    background-color:#f2f2f2;
    font-size:25px;
    font-weight: 700;
}


#list500 li.company .ranking a {
    color:#333;
}
#list500 li.company:nth-child(-n+11) .ranking {
    background-color: #f1a852;
}
#list500 li.company .title {
    font-size:16px;
    font-weight: 700;
    border-bottom:1px solid #ccc;
    flex-grow: 1;
    margin-bottom:0px !important;
}
#list500 li.company .title a {
    color:#333;
}
#list500 li.company .sustainability,
#list500 li.company .digital,
#list500 li.company .business_size {
    margin-left:20px;
    margin-right:20px;
    width: 40px;
    height: 40px;
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius:100%;
    border: 1px solid #ccc;
    font-size:20px;
    font-weight: 700;
    align-self: flex-end;
}
#list500 li.company .total {
    width:100px;
    height: 40px;
    text-align:center;
    align-self: flex-end;
    display:flex;
    align-items: center;
    justify-content: center;
    font-size:25px;
    font-weight: 700;
}

#list500 li.company .sustainability {border-color: #317D2D; color:#317D2D}
#list500 li.company .digital { border-color: #041027; color:#041027}
#list500 li.company .business_size { border-color: #E04C4C; color:#E04C4C}

@media (max-width:768px){
    #list500 li.table_head .ranking{ width:60px; }
    #list500 li.company .ranking{
        margin-left:10px;
        margin-right:10px;
    }
    #list500 li.company .title {
        font-size:13px;
        font-weight: 400;
        margin-bottom:0px !important;
    }
    #list500 li.company .total {
        width:60px;
    }
    #list500 li.table_head .total{ width:60px;}

}

/** SINGLE COMPANY PAGE **/

.title_wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}
.title_wrapper h1{
    margin-top:0px;
    display:flex;
    justify-content: start;
    align-items: center;
    line-height:85px;
}
.title_wrapper .ranking{
    font-size:3em;
    line-height: 0.8em;
}
.title_wrapper .company_name{
    font-size:0.9em;
    line-height:0.8em;
    margin-left: -30px;
}

.company_desc { font-size:1.5em; line-height:1.5em;}

@media (max-width:768px) {
    .title_wrapper h1 {
        font-size: 30px;
    }
    .title_wrapper .ranking{
        font-size:1em;
        line-height: 1em;
    }
    .title_wrapper .company_name {
        margin-left:10px;
    }
    .company_desc { font-size:1em;}
}



.address_wrapper i{
    margin-right:10px;
}
.related_wrapper, .goals_wrapper{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}
.related_wrapper img, .goals_wrapper img {
    max-width:100px;
    margin-right:20px;
    margin-bottom:20px;
}

.goal_img_wrapper img {
    max-width:100px;
    width:100%;
}

#sidebar {
}
#sidebar .sidebar_title{
    text-transform: uppercase;
}
#sidebar img {
    max-width:150px;
}
#sidebar .total_score{
    font-size:60px;
    font-weight: 700;
}
#sidebar .partial_score .label {
    font-size:12px;
    font-weight: 600;
}
#sidebar .partial_score .score {
    display:block;
    width: 80px;
    height:80px;
    margin:auto;
    margin-top:0px;
    background-color:#ccc;
    color: #fff;
    border-radius:100%;
    margin-bottom:10px;
    font-size:20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
#sidebar .partial_score .sustainability { background-color: #317D2D;}
#sidebar .partial_score .digital { background-color: #041027;}
#sidebar .partial_score .business { background-color: #E04C4C;}
#sidebar .partial_score .overall { background-color: #f1a852;}


.bg-light-grey{
    background-color: #f2f2f2;
    padding-top:100px;
    padding-bottom:100px;
}

#list_wrapper #showAllNewsletter {
    display:none;
}
  .partial_score path {
    fill: transparent;
  }
  .partial_score text {
    fill: #FF9800;
  }

.wpcf7-form {
    margin-top:15px;
}
input[type="text"], input[type="tel"], input[type="email"] {
    height:40px !important;
    line-height: 40px !important;
    margin-bottom:10px !important;
}

.shadowed {
    /* -webkit-filter: drop-shadow(0px 0px 1px #fff);
    filter:         drop-shadow(0px 0px 1px #fff);  */
    background-color: #ccc;
}


/* ===== 2021 EDITION ===== */
#list500.edition2021 {
    box-shadow: none;
    padding-top:10px;
}
#list500.edition2021 li.company {
    margin-bottom:0px;
    padding-top:8px;
    padding-bottom:8px;
}
#list500.edition2021 li.company:nth-child(even) {
    background-color: rgba(0,0,0,.03);
}
#list500.edition2021 li.company .ranking {
    background-color: transparent;
}
#list500.edition2021 li.company .ranking a {
    color: #FF9800 !important;
}
/* #list500.edition2021 li.company:nth-child(-n+11) .ranking a {
    color: #FF9800 !important;
} */
#list500.edition2021 li.company .title{
    border-bottom: 0px;
}
#list500.edition2021 li.company .title a {
    text-transform: uppercase;
    font-weight:700;
    font-size: 16px;
}
/* #list500.edition2021 li.company:nth-child(-n+11) .title a {
    font-weight:700;
    font-size: 16px;
} */

#list500.edition2021 li.company .total{
    font-size: 16px;
    color:#000;
}
.form_modal_wrapper {
    padding-top:10%;
    display: none;
    background-color: rgba(255,255,255,0.8);
    top:0px;
    right:0px;
    left:0px;
    bottom:0px;
    z-index: 999999;
}
@media screen and (max-width:768px) {
    .form_modal_wrapper {
        position:relative !important
    }
}
.form_modal_wrapper #form_modal {
    background-color: #ffffff;
    border: 1px solid #000;
}
.years-wrapper {
    background: #fbd500;
    box-shadow: 0px 0px 10px rgba(0,0,0,.2);
    color:#000;
}
.years-wrapper a{
    color:#000;
}
.year_label {
    font-size: 10px;
}

.years-wrapper a.active {
    background: black;
    padding: 7px 20px;
    color: #fbd600 !important;
}