/**
 * Data
 *
 */

/* Custom class for Data content. */
.avid-data {}

/* Data image borders */
.data-image-border-right {
	border-right: solid 2px #95989A;
    padding-right: 20px;
    margin-right: 45px;
}
.data-image-border-left {
	border-left: solid 2px #95989A;
    padding-left: 20px;
    margin-left: 45px;
}

/* Set dimensions for data images. */
.avid-data .flex-item img {
	display: block;
    width: 100%;
    max-width: 250px;
    min-width: 100px;
    height: auto;
}

/* Data percent text */
.data-percent {
	display: inline-block;
	font-size: 65px;
    font-weight: 600;
    font-family: "Montserrat";
    margin-bottom: 20px;
}

/* Data color graphs */
.vertical-graph-column {
	height: 300px;
    margin: 0px 7px;
}
.data-color-bar {
	color: #FFF;
    font-size: 45px;
    font-weight: 600;
    font-family: "Montserrat";
    line-height: 1;
}
.horizontal-graphs .data-color-bar {
	padding: 20px 30px;
    margin-bottom: 30px;
}
.data-bar-text {
    font-weight: 600;
    font-family: "Montserrat";
    line-height: 1;
}
.horizontal-graphs .data-bar-text {
	font-size: 65px;
	margin-bottom: 30px;
    padding-left: 20px;
}
.vertical-graphs .data-bar-text {
	font-size: 35px;
    text-align: center;
    padding-bottom: 10px;
}
.data-color-bar.horizontal.eighty-five {
	width: 85%;
}
.data-color-bar.horizontal.seventy-eight {
	width: 78%;
}
.data-bar-text.vertical.thirty {
	height: 30%;
}
.data-color-bar.vertical.eighty-five {
	height: 85%;
}
.data-bar-text.vertical.forty-six {
	height: 46%;
}
.data-color-bar.vertical.seventy-nine {
	height: 79%;
}
.data-bar-text.vertical.fifty-three {
	height: 53%;
}
.data-color-bar.vertical.seventy-three {
	height: 73%;
}
.data-bar-text.vertical.sixty {
	height: 60%;
}
.data-color-bar.vertical.sixty-six {
	height: 66%;
}

/* Data vertical graph label */
.data-graph-label {
	width: 100%;
    font-size: 16px;
    text-align: center;
    padding-top: 20px;
}

/* Data text */
.data-text {
	font-size: 20px;
    max-width: 270px;
	line-height: 1.5em;
}
.data-text p {
	margin: 0px;
}
.data-text.right-align {
	text-align: right;
}

/* WCM 768 Breakpoint */
@media (max-width: 1023px) {
	/* Adjust inset content width */
    .avid-data.inset-content,
    .avid-data.double-inset-content {
    	max-width: none;
        margin 0px;
    }
    
    /* Adjust horizontal bar graph widths */
    .data-color-bar.horizontal.eighty-five {
        width: 65%;
    }
    .data-color-bar.horizontal.seventy-eight {
        width: 58%;
    }

    /* Adjust data item padding for mobile devices. */
    .avid-data.inset-content .flex-item {
    	padding-bottom: 40px;
    }
    .avid-data.flex-container.inset-content:last-child .flex-item {
    	padding-bottom: 0px;
    }
}

/* WCM 480 Breakpoint */
@media (max-width: 639px) {
	/* Adjust data percent for mobile devices. */
	.data-percent {
        font-size: 30px;
        margin-bottom: 5px;
    }

	/* Adjust data text for mobile devices. */
    .data-text {
        font-size: 13px;
    }
    
    /* Adjust data image borders for mobile devices. */
    .data-image-border-right {
        padding-right: 10px;
        margin-right: 15px;
    }
    .data-image-border-left {
        padding-left: 10px;
        margin-left: 15px;
    }
}

/* WCM 320 Breakpoint */
@media (max-width: 479px) {
	/* Adjust horizontal graph font sizes */
	.data-color-bar {
        font-size: 25px;
    }
    .horizontal-graphs .data-bar-text {
		font-size: 35px;
    }
    
    /* Adjust orientation of the vertical graphs */
    .avid-data.vertical-graphs {
    	-webkit-flex-direction: column; /* Safari/iOS Support */
        -ms-flex-direction: column; /* IE Support */
        flex-direction: column; /* Standard */
    }
    .vertical-graph-container > .flex-container {
    	-webkit-justify-content: center; /* Safari/iOS Support */
        -ms-flex-pack: center; /* IE Support */
        justify-content: center; /* Standard */
    }
}