.csg-flex-box {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.csg-flex-wrap {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.csg-display-name {
	color: black;
    font-family: "Roboto Slab";
    font-size: 1.875em;
    font-weight: bold;
}

.csg-cand-party {
    font-size: 1.4em;
    font-weight: bold;
    color: #a4a4a4;
}

.csg-vertical-center {
	-webkit-align-items: center;
	align-items: center;
}

.csg-column {
	-webkit-flex-direction: column;
	flex-direction: column;
}

.csg-space-around {
	-webkit-justify-content: space-around;
	justify-content: space-around;
}

.csg-space-between {
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.csg-candidate-box {
    position: relative;
    width: 31%;
    margin: 1%;
    border: 1px solid #a3a3a3;
    padding: 10px;
    min-width: 300px;
    transition: all .5s !important;
}

.csg-candidate-box:hover {
    -webkit-box-shadow: 0 5px 20px rgba(0,0,0,.35) !important;
    box-shadow: 0 5px 50px rgba(0,0,0,.35) !important;
}

.csg-img-container {
	width: 200px;
	height: 200px;
	overflow: hidden;
	position: relative;
}

.csg-img-container img {
	position: absolute;
}

.csg_buttons {
	padding-top: 10px;
    background: #f9fafa;
    border: 2px solid #d9382c;
    margin: 5px;
    width: 150px;
    height: 50px;
    border-radius: 5px;
    color: #243571;
    font-weight: bold;
    text-align: center;
}

.csg_buttons:hover {
	text-decoration: none;
	color: #243571;

}

.csg-underline {
	text-decoration: underline;
}

.csg-paragraph {
	border-radius: 5px;
	padding: 10px;
}

.csg-bio {
    width: 100%;
    margin-bottom: 50px;
}

.csg-party {
	padding: 10px 20px 10px 20px;
}

.csg-push-down {
	position: absolute;
	bottom: 0;
}

.csg-container {
    display: block;
    margin: 0 auto;
    max-width: 1100px;
}

.csg-spacer {
	margin: 20px;
}

.csg-cand-name {
    margin: 0;
}

.csg-party-button {
    min-width: 200px;
    margin: 5px;
    background: none;
    color: #243571;
    border: 2px solid #d9382c;
    border-radius: 5px;
    transition: .5s;
}

.csg-party-button:hover {
    color: white;
    background: #243571;
}

#csg-search-box {
    max-width: 300px;
}

.csg-remove {
    display: none;
}

.csg-candidate-list {
    width: 100%;
}

.csg-candidate-img {
    width: 245px;
    height: 320px;
    margin: 20px;
} 

.csg-post-title {
    font-size: 2.125em;
}

.csg-post-images {
    max-width: 245px;
}

@media screen and ( max-width: 900px ) {
    .csg-single-candidate {
        -webkit-flex-direction: column;
        flex-direction: column;

        -webkit-align-items: center;
        align-items: center;
    }

    .csg-single-candidate-info {
        -webkit-align-items: center;
        align-items: center;
    }

    .csg-cand-name, .csg-cand-party {
        text-align: center;
    }
}