/**
 * Project Lifecycle Phase Graphic CSS
 */

.projectPhases {
    padding-bottom: 50px;
}

.projectPhases ul {
    display: inline;
    list-style: none;
    padding: 0;
    margin: 0;
}

.projectPhases .phase {
    float: left;
    list-style: none;
}

.projectPhases .phase:nth-of-type(1) a {
    z-index: 5;
    padding-top: 7px;
}

.projectPhases .phase:nth-of-type(1) a:after {
    border-left-color: #C0504D !important;
}

.projectPhases .phase:nth-of-type(2) a {
    z-index: 4;
}

.projectPhases .phase:nth-of-type(2) a:after {
    border-left-color: #9BBB59 !important;
}

.projectPhases .phase:nth-of-type(3) a {
    z-index: 3;
}

.projectPhases .phase:nth-of-type(3) a:after {
    border-left-color: #8064A2 !important;
}

.projectPhases .phase:nth-of-type(4) a {
    z-index: 2;
}

.projectPhases .phase:nth-of-type(4) a:after {
    border-left-color: #4BACC6 !important;
}

.projectPhases .phase:nth-of-type(5) a {
    padding-top: 7px;
}

.projectPhases .phase:nth-of-type(5) a:after {
    border-left-color: #F79646 !important;
}

.projectPhases .phase a {
    position: relative;
    width: 155px;
    height: 55px;
    margin-right: 10px;
    color: #FFFFFF !important;
    background-color: blue;
    text-align: center;
    display: block;
    padding-left: 23px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 20px;
    padding-top: 15px;
    text-decoration: none;
    padding-bottom: 15px
}

.projectPhases .phase a:before {
    content: "";
    position: absolute;
    right: 100%;
    top: 0px;
    width: 0px;
    height: 0px;
    left: 0px;
    border-top: 27px solid rgba(255,255,255,0);
    border-left: 15px solid white;
    border-bottom: 27px solid rgba(255,255,255,0);
}

.projectPhases .phase a:after {
    content: "";
    position: absolute;
    left: 100%;
    top: 0px;
    width: 0px;
    height: 0px;
    border-top: 27px solid rgba(255,255,255,0);
    border-left: 15px solid white;
    border-bottom: 27px solid rgba(255,255,255,0);
}

.projectPhases .phase a:hover {
    opacity: .7 !important;
}

.transparent-triangle-before {
    display: none;
}

.transparent-triangle-after {
    display: none;
}

.projectPhases.phase-one .phase a, 
.projectPhases.phase-two .phase a, 
.projectPhases.phase-three .phase a, 
.projectPhases.phase-four .phase a, 
.projectPhases.phase-five .phase a {
    height: 55px;
}

.transparent-triangle-before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 27px 0 27px 15px;
    border-color: transparent transparent transparent white;
    position: absolute;
    left: -2px;
    top: 0;
}

.transparent-triangle-after {
    content: "";
    position: absolute;
    left: 98%;
    top: 0px;
    width: 0px;
    height: 0px;
    border-top: 27px solid rgba(255,255,255,0);
    border-left: 15px solid white;
    border-bottom: 27px solid rgba(255,255,255,0);
    z-index: 1;
}

/* PHASE 1*/
.projectPhases.phase-one .phase:nth-of-type(1) a:after {
    border-left-color: #C0504D !important;
}

.projectPhases.phase-one .phase:nth-of-type(1) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-one .phase:nth-of-type(1) a .transparent-triangle-after {
    display: none;
}

.projectPhases.phase-one .phase:nth-of-type(2) a, 
.projectPhases.phase-one .phase:nth-of-type(3) a, 
.projectPhases.phase-one .phase:nth-of-type(4) a, 
.projectPhases.phase-one .phase:nth-of-type(5) a {
    background-color: #fff !important;
    border: 1px solid #A6A6A6;
    color: #A6A6A6 !important;
}

.projectPhases.phase-one .phase:nth-of-type(2) a:before, 
.projectPhases.phase-one .phase:nth-of-type(3) a:before, 
.projectPhases.phase-one .phase:nth-of-type(4) a:before, 
.projectPhases.phase-one .phase:nth-of-type(5) a:before {
    border-left: 15px solid #A6A6A6 !important;
}

.projectPhases.phase-one .phase:nth-of-type(2) a:after, 
.projectPhases.phase-one .phase:nth-of-type(3) a:after, 
.projectPhases.phase-one .phase:nth-of-type(4) a:after, 
.projectPhases.phase-one .phase:nth-of-type(5) a:after {
    border-left-color: #A6A6A6 !important;
    content: "";
    position: absolute;
    left: 100%;
    top: -1px;
    width: 0px;
    height: 0px;
    border-top: 27px solid rgba(255,255,255,0);
    border-left: 15px solid white;
    border-bottom: 27px solid rgba(255,255,255,0);
}

.projectPhases.phase-one .phase:nth-of-type(2) a .transparent-triangle-before, 
.projectPhases.phase-one .phase:nth-of-type(3) a .transparent-triangle-before, 
.projectPhases.phase-one .phase:nth-of-type(4) a .transparent-triangle-before, 
.projectPhases.phase-one .phase:nth-of-type(5) a .transparent-triangle-before {
    display: block;
}

.projectPhases.phase-one .phase:nth-of-type(2) a .transparent-triangle-after, 
.projectPhases.phase-one .phase:nth-of-type(3) a .transparent-triangle-after, 
.projectPhases.phase-one .phase:nth-of-type(4) a .transparent-triangle-after, 
.projectPhases.phase-one .phase:nth-of-type(5) a .transparent-triangle-after {
    display: block;
}

.projectPhases.phase-one .phase:nth-of-type(5) a {
    background-color: #fff !important;
    border: 1px solid #A6A6A6;
    color: #A6A6A6 !important;
    font-size: 16px;
}

/* PHASE 2*/
.projectPhases.phase-two .phase:nth-of-type(1) a {
    background-color: #A6A6A6 !important;
}

.projectPhases.phase-two .phase:nth-of-type(1) a:after {
    border-left-color: #A6A6A6 !important;
}

.projectPhases.phase-two .phase:nth-of-type(1) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-two .phase:nth-of-type(1) a .transparent-triangle-after {
    display: none;
}

.projectPhases.phase-two .phase:nth-of-type(2) a:after {
    border-left-color: #9BBB59 !important;
}

.projectPhases.phase-two .phase:nth-of-type(2) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-two .phase:nth-of-type(2) a .transparent-triangle-after {
    display: none;
}

.projectPhases.phase-two .phase:nth-of-type(3) a, 
.projectPhases.phase-two .phase:nth-of-type(4) a, 
.projectPhases.phase-two .phase:nth-of-type(5) a {
    background-color: #fff !important;
    border: 1px solid #A6A6A6;
    color: #A6A6A6 !important;
}

.projectPhases.phase-two .phase:nth-of-type(3) a:before, 
.projectPhases.phase-two .phase:nth-of-type(4) a:before, 
.projectPhases.phase-two .phase:nth-of-type(5) a:before {
    border-left: 15px solid #A6A6A6 !important;
}

.projectPhases.phase-two .phase:nth-of-type(3) a:after, 
.projectPhases.phase-two .phase:nth-of-type(4) a:after, 
.projectPhases.phase-two .phase:nth-of-type(5) a:after {
    border-left-color: #A6A6A6 !important;
    content: "";
    position: absolute;
    left: 100%;
    top: -1px;
    width: 0px;
    height: 0px;
    border-top: 27px solid rgba(255,255,255,0);
    border-left: 15px solid white;
    border-bottom: 27px solid rgba(255,255,255,0);
}

.projectPhases.phase-two .phase:nth-of-type(3) a .transparent-triangle-before, 
.projectPhases.phase-two .phase:nth-of-type(4) a .transparent-triangle-before, 
.projectPhases.phase-two .phase:nth-of-type(5) a .transparent-triangle-before {
    display: block;
}

.projectPhases.phase-two .phase:nth-of-type(3) a .transparent-triangle-after, 
.projectPhases.phase-two .phase:nth-of-type(4) a .transparent-triangle-after, 
.projectPhases.phase-two .phase:nth-of-type(5) a .transparent-triangle-after {
    left: 98%;
    display: block;
}

.projectPhases.phase-two .phase:nth-of-type(5) a {
    background-color: #fff !important;
    border: 1px solid #A6A6A6;
    color: #A6A6A6 !important;
    font-size: 16px;
    padding-top: 6px;
}

/* PHASE 3*/
.projectPhases.phase-three .phase:nth-of-type(1) a, 
.projectPhases.phase-three .phase:nth-of-type(2) a {
    background-color: #A6A6A6 !important;
}

.projectPhases.phase-three .phase:nth-of-type(1) a:after, 
.projectPhases.phase-three .phase:nth-of-type(2) a:after {
    border-left-color: #A6A6A6 !important;
}

.projectPhases.phase-three .phase:nth-of-type(1) a .transparent-triangle-before, 
.projectPhases.phase-three .phase:nth-of-type(2) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-three .phase:nth-of-type(1) a .transparent-triangle-after, 
.projectPhases.phase-three .phase:nth-of-type(2) a .transparent-triangle-after {
    display: none;
}

.projectPhases.phase-three .phase:nth-of-type(3) a:after {
    border-left-color: #8064A2 !important;
}

.projectPhases.phase-three .phase:nth-of-type(3) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-three .phase:nth-of-type(3) a .transparent-triangle-after {
    display: none;
}

.projectPhases.phase-three .phase:nth-of-type(4) a, 
.projectPhases.phase-three .phase:nth-of-type(5) a {
    background-color: #fff !important;
    border: 1px solid #A6A6A6;
    color: #A6A6A6 !important;
}

.projectPhases.phase-three .phase:nth-of-type(4) a:before, 
.projectPhases.phase-three .phase:nth-of-type(5) a:before {
    border-left: 15px solid #A6A6A6 !important;
}

.projectPhases.phase-three .phase:nth-of-type(4) a:after, 
.projectPhases.phase-three .phase:nth-of-type(5) a:after {
    border-left-color: #A6A6A6 !important;
    content: "";
    position: absolute;
    left: 100%;
    top: -1px;
    width: 0px;
    height: 0px;
    border-top: 27px solid rgba(255,255,255,0);
    border-left: 15px solid white;
    border-bottom: 27px solid rgba(255,255,255,0);
}

.projectPhases.phase-three .phase:nth-of-type(4) a .transparent-triangle-before, 
.projectPhases.phase-three .phase:nth-of-type(5) a .transparent-triangle-before {
    display: block;
}

.projectPhases.phase-three .phase:nth-of-type(4) a .transparent-triangle-after, 
.projectPhases.phase-three .phase:nth-of-type(5) a .transparent-triangle-after {
    display: block;
}

.projectPhases.phase-three .phase:nth-of-type(5) a {
    background-color: #fff !important;
    border: 1px solid #A6A6A6;
    color: #A6A6A6 !important;
    font-size: 16px;
}

/* PHASE 4*/
.projectPhases.phase-four .phase:nth-of-type(1) a, 
.projectPhases.phase-four .phase:nth-of-type(2) a, 
.projectPhases.phase-four .phase:nth-of-type(3) a {
    background-color: #A6A6A6 !important;
}

.projectPhases.phase-four .phase:nth-of-type(1) a:after, 
.projectPhases.phase-four .phase:nth-of-type(2) a:after, 
.projectPhases.phase-four .phase:nth-of-type(3) a:after {
    border-left-color: #A6A6A6 !important;
}

.projectPhases.phase-four .phase:nth-of-type(1) a .transparent-triangle-before, 
.projectPhases.phase-four .phase:nth-of-type(2) a .transparent-triangle-before, 
.projectPhases.phase-four .phase:nth-of-type(3) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-four .phase:nth-of-type(1) a .transparent-triangle-after, 
.projectPhases.phase-four .phase:nth-of-type(2) a .transparent-triangle-after, 
.projectPhases.phase-four .phase:nth-of-type(3) a .transparent-triangle-after {
    display: none;
}

.projectPhases.phase-four .phase:nth-of-type(4) a:after {
    border-left-color: #4BACC6 !important;
}

.projectPhases.phase-four .phase:nth-of-type(4) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-four .phase:nth-of-type(4) a .transparent-triangle-after {
    display: none;
}

.projectPhases.phase-four .phase:nth-of-type(5) a {
    background-color: #fff !important;
    border: 1px solid #A6A6A6;
    color: #A6A6A6 !important;
    font-size: 16px;
}

.projectPhases.phase-four .phase:nth-of-type(5) a:before {
    border-left: 15px solid #A6A6A6 !important;
}

.projectPhases.phase-four .phase:nth-of-type(5) a:after {
    border-left-color: #A6A6A6 !important;
    content: "";
    position: absolute;
    left: 100%;
    top: -1px;
    width: 0px;
    height: 0px;
    border-top: 27px solid rgba(255,255,255,0);
    border-left: 15px solid white;
    border-bottom: 27px solid rgba(255,255,255,0);
}

.projectPhases.phase-four .phase:nth-of-type(5) a .transparent-triangle-before {
    display: block;
}

.projectPhases.phase-four .phase:nth-of-type(5) a .transparent-triangle-after {
    display: block;
}

/* PHASE 5*/
.projectPhases.phase-five .phase:nth-of-type(1) a, 
.projectPhases.phase-five .phase:nth-of-type(2) a, 
.projectPhases.phase-five .phase:nth-of-type(3) a, 
.projectPhases.phase-five .phase:nth-of-type(4) a {
    background-color: #A6A6A6 !important;
}

.projectPhases.phase-five .phase:nth-of-type(1) a:after, 
.projectPhases.phase-five .phase:nth-of-type(2) a:after, 
.projectPhases.phase-five .phase:nth-of-type(3) a:after, 
.projectPhases.phase-five .phase:nth-of-type(4) a:after {
    border-left-color: #A6A6A6 !important;
}

.projectPhases.phase-five .phase:nth-of-type(1) a .transparent-triangle-before, 
.projectPhases.phase-five .phase:nth-of-type(2) a .transparent-triangle-before, 
.projectPhases.phase-five .phase:nth-of-type(3) a .transparent-triangle-before, 
.projectPhases.phase-five .phase:nth-of-type(4) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-five .phase:nth-of-type(1) a .transparent-triangle-after, 
.projectPhases.phase-five .phase:nth-of-type(2) a .transparent-triangle-after, 
.projectPhases.phase-five .phase:nth-of-type(3) a .transparent-triangle-after, 
.projectPhases.phase-five .phase:nth-of-type(4) a .transparent-triangle-after {
    display: none;
}

.projectPhases.phase-five .phase:nth-of-type(5) a:after {
    border-left-color: #F79646 !important;
}

.projectPhases.phase-five .phase:nth-of-type(5) a .transparent-triangle-before {
    display: none;
}

.projectPhases.phase-five .phase:nth-of-type(5) a .transparent-triangle-after {
    display: none;
}

/* Responsive styles for mobile */
@media only screen and (max-width: 768px) {
    .projectPhases .phase {
        margin-bottom: 5px;
        width: 100%;
        display: block;
        float: none;
    }

    .projectPhases .phase a {
        position: inherit;
        width: 80%;
        line-height: 44px;
        height: 45px;
        font-size: 22px;
        margin: 0 auto;
        padding: 0;
    }

    .transparent-triangle-before,
    .transparent-triangle-after,
    .projectPhases .phase a:before,
    .projectPhases .phase a:after {
        display: none !important;
    }
}
