/* ----- general restyle */

h3 {
    font-weight: 600;
    color: #18304B;
}

abbr {
    display: block;
    border:none;
}

.content {
    /* max-width:972px; conflicts with current content max-width */
    width: 100%;
}

.one-fifth {
    width: 19.2%;
    margin-right: 1%;
    float: left;
}

.one_half {
    margin-bottom: 0;
}

.last {
    margin-right: 0;
}

/* ----- heading */

.feature-header {
    text-align: center;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.2);
    padding: 50px 0;
}

.feature-header h1 {
    font-size: 3.5em;
    color: #18304B;
    padding:0;
    margin:0;
}

.feature-header h2 {
    font-size: 2.3em;
    font-weight: 400;
    color: #18304B;
    padding:0;
    margin:0;
}

.feature-header.rba-header{
    background: url('/finder-au/wp-uploads/2015/05/rba-header.jpg') no-repeat 50% 50% #89a1d8;
}

.announcement {
    padding: 20px;
    border:3px solid #1591fe;
    width: 50%;
    margin: 20px auto;
    color: #1591fe;
    box-sizing: border-box;
}

/* ----- forecast predictor */

.predict-date {
    width: 100%;
    padding:0;
    margin:0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.predict-block {
    width: 100%;
    height: 60px;
    margin: 5px 0 0 0;
    border-radius: 2px;
    padding-top: 21px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    color: #fff;
    box-sizing: border-box;
    cursor: default;
}

.unlikely {
    background-color: #27ae60;
}

.slight-chance {
    background-color: #f9b704;
}

.more-likely {
    background-color: #f17935;
}

.high-chance {
    background-color: #dd4b39;
}

.expected {
    background-color: #dd1144;
}

.forecast-meter {
    border-radius: 4px;
    padding: 20px;
    margin:25px 10px 0 10px;
    background:#fcfcfc;
}

/* ----- cash rate effect explinations */

.rate-box {
    border-radius: 4px;
    border:1px solid #eee;
    padding: 10px 10px 10px 80px;
    margin: 0 0 15px 0;
    position: relative;
    box-sizing: border-box;
}

.rate-box h5 {
    margin:0 0 10px 0;
}

.rate-box.rise:before {
    content: '';
    display: block;
    height: 51px;
    width: 51px;
    position: absolute;
    top: 12px;
    left: 15px;
    background: url('/finder-au/wp-uploads/2015/02/rate-icon.png') no-repeat 0 0;
}

.rate-box.hold:before {
    content: '';
    display: block;
    height: 51px;
    width: 51px;
    position: absolute;
    top: 12px;
    left: 15px;
    background: url('/finder-au/wp-uploads/2015/02/rate-icon.png') no-repeat -57px 0;
}

.rate-box.drop:before {
    content: '';
    display: block;
    height: 51px;
    width: 51px;
    position: absolute;
    top: 12px;
    left: 15px;
    background: url('/finder-au/wp-uploads/2015/02/rate-icon.png') no-repeat -117px 0;
}

/* ----- rba expert predictions */

.rba-avatar {
    float: left;
}

.rba-avatar img {
    border-radius: 70px;
    border: 4px solid #eee;
}

.rba-expert {
    padding: 20px 0 0 20px;
    float: left;
    width: 30%;
    box-sizing: border-box;
}

.rba-expert p {
    font-weight: 600;
    font-size: 1.1em;
}

.rba-expert-row {
    width: 100%;
    padding: 20px 0 10px 0;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}

.rba-logo {
    float: left;
    padding: 21px 23px 0 0;
}

.rba-predictions {
    float: left;
    width: 45%;
    box-sizing: border-box;
}

.rba-expert-predict {
    float: left;
    width: 45%;
    border-radius:4px;
    background-color: #f6f6f6;
    margin:0 10px;
    padding: 10px;
    box-sizing: border-box;
}

.rba-prediction-text {
    font-size: 1.1em;
    text-transform: uppercase;
    position: relative;
}

.rba-prediction-text.nochange {
    color: #27ae60;
}

.rba-prediction-text.correct:after {
    content: '';
    display: inline-block;
    position: relative;
    height: 16px;
    width: 16px;
    background: url('/finder-au/wp-uploads/2015/02/rate-icon.png') no-repeat -174px 1px;
    left:5px;
    top: 1px;
}

.rba-prediction-text.incorrect {
    color: #dd1144;
}

.rba-prediction-text.incorrect:after {
    content: '';
    display: inline-block;
    position: relative;
    height: 16px;
    width: 16px;
    background: url('/finder-au/wp-uploads/2015/02/rate-icon.png') no-repeat -174px -20px;
    left:5px;
    top: 4px;
}

.rba-expert-btn {
    font-weight: 600;
    cursor: pointer;
}

.finder-accordion .collapse-inner {
    border-top: none;
}

/* ----- media queries */

@media screen and (max-width: 972px) {
    .rba-expert-predict {
        width: 43%;
        margin: 10px 10px;
    }

    .rba-predictions {
        width:40%;
    }
}


@media screen and (max-width: 640px) {

    .one-fifth {
        width: 100%;
        margin: 15px 0 0 0;
    }

    .announcement {
        width: 100%;
    }

    .feature-header h1 {
        font-size: 2.4em;
    }

    .feature-header h2 {
        font-size: 1.5em;
    }

    .feature-header.rba-header{
        background-position: 57% 50%;
    }

    .rba-expert-row {
        text-align: center;
    }

    .rba-logo {
        width: 100%;
        padding: 10px 0;
    }

    .rba-expert {
        width:100%;
        padding: 10px 0;
    }

    .rba-avatar {
        width: 100%
    }

    .rba-predictions {
        width: 100%;
    }

    .rba-expert-predict {
        width: 42%;
        margin: 10px 10px;
    }

    .pb-tabs.nav-tabs>li>a {
        min-height: 67px;
    }

}
