.block-with-text {
    -webkit-box-orient: vertical;
    position: relative;
    max-width: 300px;
    word-wrap: break-word;
    padding-right: 1em;
}

    .block-with-text:before {
    }

    .block-with-text:after {
    }

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.comparison-table {
    display: block;
    width: 100%;
    padding: 10px;
    border-collapse: separate;
}

    .comparison-table thead tr {
        font-weight: bold;
        font-size: 16px;
        font-size: 1.6rem;
    }

        .comparison-table thead tr td {
            padding-bottom: 10px;
        }

        .comparison-table thead tr td {
            border: none !important;
        }

@media (max-width: 767px) {
    .comparison-table thead tr {
        font-size: 14px;
        font-size: 1.4rem;
        font-weight: normal;
    }
}

.comparison-table tr {
    width: 100%;
}

    .comparison-table tr td:first-child + td {
        padding: 10px;
    }

    .comparison-table tr:nth-child(even) {
    }

@media (max-width: 525px) {
    .comparison-table td, .comparison-table tr td, .comparison-table tr td.marker, .comparison-table tr td:first-child, .comparison-table tr td:first-child + td {
        position: relative;
        display: block;
        width: 100%;
        border-top: none;
        border-bottom: none;
    }

        .comparison-table tr td:first-child + td {
            padding: 0 10px 10px;
        }

    .comparison-table thead tr {
        display: none;
    }
}

.st-sort-ascent:after {
    content: '\25B2';
}

.st-sort-descent:after {
    content: '\25BC';
}

/* Style all font awesome icons */
.fa-icons {
    padding: 10px;
    font-size: 20px;
    width: 45px;
    text-align: center;
    text-decoration: none;
    margin-right: -5px;
    background: white;
    color: #bdbdbd;
    border-width: .5px;
    border-color: #bdbdbd;
    border-style: solid;
}

    .fa-icons:visited, .fa-icons:link, .fa-icons:active {
        text-decoration: none;
    }

    /* Add a hover effect if you want */
    .fa-icons:hover {
        opacity: 0.7;
        text-decoration: none;
    }

/* Facebook */
.fa-facebook:hover {
    background: #3B5998;
    color: white;
}

/* Twitter */
.fa-twitter:hover {
    background: #55ACEE;
    color: white;
}

/* Reddit */
.fa-reddit:hover {
    background: #ff4500;
    color: white;
}

/* LinkedIn */
.fa-linkedin:hover {
    background: #0077b5;
    color: white;
}

/* Email */
.fa-envelope:hover {
    background: grey;
    color: white;
}

/* Copy Link */
.fa-link {
    border-radius: 50%;
    margin-right: 15px;
}

    .fa-link:hover {
        background: black;
        color: white;
    }

/* PDF icon*/
.fa-file-pdf-o {
    color: #E42127;
    border-width: 0;
}
/* Speech bubble */
.speech-bubble {
    background: #efefef;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-size: 0.8rem;
    line-height: 1.3;
    margin: -51px auto 40px;
    max-width: 120px;
    padding: 15px;
    position: absolute;
}

    .speech-bubble p {
        margin: 0 0 10px;
    }

        .speech-bubble p:last-of-type {
            margin-bottom: 0;
        }

.subtext {
    font-size: 12px;
}

/* Highlight colour for mouseover on rows*/
.hoverRow:hover {
    background-color: #cccccc;
}

.petition-pagination {
    float: none;
}

/*Highlight colour for the active page*/
.petition-pagination li .active {
    background-color: #cccccc;
}

/* Sets minimum size for pagination page number select dropdown*/
.select-size {
    width: 45px;
}

/* Sets padding for pagination page number select label*/
.select-label {
    padding-top: 15px;
}

/* Formatting for the summary table on the petition summary page*/
.petition-table {
    width: 100%;
    border-width: 0;
    border-top: 1px;
    border-collapse: collapse;
    border-spacing: 0;
}

    .petition-table tr, table.petition-table tr.even, table.petition-table tr.alt, table.petition-table tr:nth-of-type(even) {
        background: white;
    }

    .petition-table td {
        border: solid;
        border-width: 1px 0;
    }

/* Container for the progress bar*/
.container {
    width: 100%;
    margin: 100px auto;
    padding-bottom: 50px;
}

/* The styling for the progress bar indicating the status of a petition */
.progressbar {
    width: 75%;
}

    .progressbar li {
        list-style-type: none;
        width: 25%;
        float: left;
        font-size: 12px;
        position: relative;
        text-align: center;
        white-space: nowrap;
        color: #7d7d7d;
    }

        .progressbar li:before {
            width: 60px;
            height: 60px;
            font-family: FontAwesome;
            content: "\f044";
            line-height: 30px;
            display: block;
            text-align: center;
            margin: 0 auto 0 auto;
            background-color: white;
        }

        .progressbar li:after {
            width: 100%;
            height: 2px;
            content: '';
            position: absolute;
            background-color: #7d7d7d;
            top: 15px;
            left: -50%;
            z-index: -1;
        }

        .progressbar li:first-child:after {
            content: none;
        }

        .progressbar li.active {
            color: green;
        }

            .progressbar li.active:before {
                border-color: #55b776;
            }

        .progressbar li.open:before {
            content: "\f040";
            font-size: 60px;
        }

        .progressbar li.closed:before {
            content: "\f273";
            font-size: 60px;
        }

        .progressbar li.presented:before {
            content: "\f15c";
            font-size: 60px;
        }

        .progressbar li.responded:before {
            content: "\f112";
            font-size: 60px;
        }

    .progressbar .speech-bubble {
        visibility: hidden;
        min-width: 220px;
        width: 250px;
        left: -30px;
        margin-top: -270px;
        font-size: 14px;
        white-space: normal;
    }

    .progressbar li.open:hover .speech-bubble {
        visibility: visible;
        color: #7d7d7d;
    }

    .progressbar li.closed:hover .speech-bubble {
        visibility: visible;
        color: #7d7d7d;
    }

    .progressbar li.presented:hover .speech-bubble {
        visibility: visible;
        color: #7d7d7d;
    }

    .progressbar li.responded:hover .speech-bubble {
        visibility: visible;
        color: #7d7d7d;
        left: -90px;
    }

/* Styling for the ministerial response section of the petition summary page*/
.ministerial-response {
    width: 100%;
    padding-bottom: 35px;
}

    .ministerial-response div {
        display: inline-block;
        text-align: center;
    }

        .ministerial-response div#left {
            padding-right: 50px;
        }

/* Styling for the social media share container*/
.ctrl-holder-share {
    padding-top: 5px;
}

/* Styling for signing a petition*/
.sign-details {
    display: inline-block;
    min-width: 40%;
}

/* Styling for petition table tabs */
.tabs {
    position: relative;
    margin-top: 25px;
    margin-bottom: 0px;
}

.tab {
    float: left;
}

.tabs a.tab {
    background: #f5f5f5;
    padding: 10px;
    border: 1px solid #ccc;
    margin-left: -1px;
    position: relative;
    left: 1px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: large;
    margin-right: 0;
    border-bottom: 2px solid #ccc;
    min-width: 150px;
    text-align: center;
}

    .tabs a.tab.selected {
        border-bottom: 2px solid #045f85;
        color: #045f85;
        text-decoration: none;
        background: #eaeaea;
    }

/* Styling for a list of steps*/
.steps-container {
    width: 100%;
}

.steps {
    margin: 30px 0;
    padding: 0;
    overflow: hidden;
}

    .steps li {
        float: left;
        margin-left: 2px; /*Width between arrows*/
        width: 150px; /* 100 / number of steps */
        height: 70px; /* total height */
        list-style-type: none;
        padding: 5px 5px 5px 30px; /* padding around text, last should include arrow width */
        position: relative;
        margin-bottom: 1px;
        color: white;
        width: 24%;
    }
        /* remove extra padding on the first object since it doesn't have an arrow to the left */
        .steps li:first-child {
            padding-left: 5px;
        }
        /* white arrow to the left to "erase" background (starting from the 2nd object) */
        .steps li:nth-child(n+2)::before {
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            border-left: 25px solid white; /* width: arrow width, color: background of document */
            border-top: 35px solid transparent; /* width: half height */
            border-bottom: 35px solid transparent; /* width: half height */
            width: 0;
            height: 0;
            content: " ";
        }
        /* colored arrow to the right */
        .steps li::after {
            z-index: 1; /* need to bring this above the next item */
            position: absolute;
            top: 0;
            right: -25px; /* arrow width (negated) */
            display: block;
            border-left: 25px solid #25466b; /* width: arrow width */
            border-top: 35px solid transparent; /* width: half height */
            border-bottom: 35px solid transparent; /* width: half height */
            width: 0;
            height: 0;
            content: " ";
        }

    /* Setup colors (both the background and the arrow) */

    /* Completed */
    .steps li {
        background-color: #536d8a;
    }

        .steps li::after {
            border-left-color: #536d8a;
        }

        /* Current */
        .steps li.current {
            background-color: #25466b;
        }

            .steps li.current::after {
                border-left-color: #25466b;
            }

            /* Following */
            .steps li.current ~ li {
                background-color: #bdbdbd;
            }

                .steps li.current ~ li::after {
                    border-left-color: #bdbdbd;
                }

        .steps li div {
            padding: 15px 0;
            text-align: center;
        }

/* Specific styling for smaller screen sizes*/
@media screen and (max-width: 823px) {
    .steps li {
        width: auto;
    }
}
