/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*Attorney Page*/
.single-attorney h1.attorney-title {
    font-size: 32px;
	padding-bottom:20px;
	margin-bottom:40px;
    border-bottom: 1px solid #02253d; 
	font-family:"EB Garamond";
	font-weight:400;
}

.single-attorney .column-left, .single-attorney .column-right {
    width: 23%;
    float: left;
}

.single-attorney .column-mid {
    width: 48%;
    margin: 0% 1%;
    float: left;
}

.single-attorney .column-left {
    margin-left: 0%;
    margin-right: 2%;
}

.single-attorney .column-right {
    margin-right: 0%;
    margin-left: 2%;
    background: #eceded;
    padding: 20px;
}

.single-attorney .vcard a {
    background: #ccd3d8;
    color: #02253d;
    text-transform: uppercase;
    font-family: "Source Sans Pro";
    font-weight: bold;
    letter-spacing: 1px;
    padding: 10px 0px;
    border-radius: 7px;
    width: 100%;
    display: block;
    text-align: center;
}

.single-attorney .vcard {
    margin-top: 20px;
}

.single-attorney .vcard a:hover {
    background-color: #b1b7bc;
    color: #fff;
}

.single-attorney .bio > p:first-child {
    margin-top: 0px;
}

.single-attorney .contact-info > p:first-child {
    margin-top: 0px;
}

.accordian-title:before {
    content: '+ ';
}

.accordian-title.open:before {
    content: '- ';
}

.accordian-title {
    color: #02253d;
    font-weight: bold;
    font-size: 16px;
	margin-bottom:8px;
}

.accordian-title:hover {
    color: #000;
    cursor: pointer;
}

.accordian-content {
    display: none;
}

/*Single Practice Area*/
h1.practice-area-title {
    font-size: 32px;
	padding-bottom:20px;
	margin-bottom:40px;
    border-bottom: 1px solid #02253d; 
	font-family:"EB Garamond";
	font-weight:400;
	
}

/*Practice Areas*/
.attorney {
    display: inline-block;
    width: 16%;
    margin-right: 5%;
    margin-bottom: 3%;
    vertical-align: top;
}

.attorney:nth-child(5n) {
    margin-right: 0px;
}

.attorney .attorney-link {
    text-align: center;
    color: #02253d;
    font-weight: bold;
    font-size: 16px;
}

.attorney-text-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(2, 37, 61, 0.63);
    color: #fff;
    font-weight: 400;
    padding: 5px;
}

.attorney-image {
    position: relative;
}

.attorney-name {
    font-style: normal;
}

.group-manager {
    font-weight: normal;
    font-style: italic;
}

.sub-header {
    font-weight: bold;
}

h1.group-members-title {
    margin-top: 35px;
	border-bottom:none;
}

/*All Areas*/
.parent-practice-area-link a {
    color: #02253d;
    font-size: 20px;
	font-weight:bold;
}

.sub-practice-area-section {
    margin-left: 10px;
}

.child-practice-area-link a {
    color: #02253d;
    font-size: 16px;
}

.parent-area-section {
    margin-bottom: 12px;
}

.practice-column {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    margin-right: 4%;
}

.practice-column.last-practice-column {
    margin-right: 0px;
}

/*Responsive*/
@media (max-width: 980px) {
    .attorney {
        width: 21%;
    }

    .attorney:nth-child(5n) {
        margin-right: 5%;
    }

    .attorney:nth-child(4n) {
        margin-right: 0px;
    }

    /*Attorney Page*/
    .single-attorney .column-left {
        width: 40%;
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .single-attorney .column-mid {
        width: 54%;
        display: inline-block;
        float: none;
        margin-bottom: 25px;
    }

    .single-attorney .column-right {
        width: 100%;
        margin: auto;
        float: none;
    }
}

@media (max-width: 768px) {
    .attorney {
        width: 30%;
    }

    .attorney:nth-child(4n) {
        margin-right: 5%;
    }

    .attorney:nth-child(3n) {
        margin-right: 0px;
    }

    .practice-column {
        display: block;
        width: 100%;
    }

    /*Attorney Page*/
    .single-attorney .column-left, .single-attorney .column-right {
        width: 100%;
        margin: 0%;
    }

    .single-attorney .column-mid {
        width: 100%;
        margin: 25px 0%;
        margin-bottom: 25px;
    }

    .headshot img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .attorney {
        width: 47%;
    }

    .attorney:nth-child(3n) {
        margin-right: 5%;
    }

    .attorney:nth-child(2n) {
        margin-right: 0px;
    }
}