﻿.CGDirectoryBody {
    margin: 0;
    background-color: #fafafa;
    font-family: 'Montserrat', 'Helvetica', 'Arial', 'sans-serif';
}

/* Directory Search Classes */
#CGAchievementSearch div {
    margin: 0.5em 1em;
}

#CGAchievementSearch label {
    margin-right: 1em;
}

.CGSearchInput {
    display: block;
    width: 100%;
}

.CGSearchSelect {
    display: block;
    min-width: 30%;
}

.CGSearchFirstName, .CGSearchLastName, .CGSearchCompanyName, .CGSearchCity, .CGSearchState, .CGSearchCountry {
    display: inline-block;
    width: 30%;
}

@media screen and (max-width: 900px) {
    .CGSearchFirstName, .CGSearchLastName, .CGSearchCompanyName, .CGSearchCity, .CGSearchState, .CGSearchCountry {
        width: 45%;
    }
}

@media screen and (max-width: 500px) {
    .CGSearchFirstName, .CGSearchLastName, .CGSearchCompanyName, .CGSearchCity, .CGSearchState, .CGSearchCountry {
        width: 90%;
    }
}

/* Directory Results classes */

#CGAchievementResults .CGResultsCard {
    border: solid 1px;
    margin: 1em;
}

#CGAchievementResults .CGResultsCard:hover {
    background-color: #d4d4d4;
    cursor: pointer;
}

#CGAchievementResults .CGProfilePic, #CGAchievementResults .CGProfileContact, #CGAchievementResults .CGAchievementList {
    display: inline-block;
    vertical-align: top;
    margin: 1em;
}

#CGAchievementResults .CGAchievementList .CGAchievement {
    display: inline-block;
}


#CGAchievementResults .CGFullName {
    font-size: 110%;
    font-weight: bold;
}


/* Public Profile classes */
#CGPublicProfile .CGProfilePic {
    display: inline-block;
    margin: 1em;
    max-width: 200px;
    justify-content: center;
}

#CGPublicProfile .CGProfileContact {
    margin: 1em;
    display: inline-block;
    vertical-align: top;
}

#CGPublicProfile .CGAchievementList {
    margin-top: 1em;
}

#CGPublicProfile .CGAchievement {
    margin: 1em 0;
    vertical-align: top;
}

#CGPublicProfile .CGBadge, #CGPublicProfile .CGBadgeExpired, #CGPublicProfile .CGBadgeExpiredNotice {
    cursor: pointer;
}

#CGPublicProfile .CGProfileAchievementDetails {
    margin: 0;
    display: inline-block;
    vertical-align: top;
}

#CGPublicProfile .CGProfileAchievementDetails h3 {
    margin: 0;
}

#CGPublicProfile .CGProfileAchievementDetails div {
    margin-top: 0.5em;
}

#CGPublicProfile .CGProfileAchievementDetails .CGExpired {
    color: red;
    font-weight: bold;
}


.CGBadgeContainer {
    display: inline-block;
    max-width: 100px;
    margin-right: 1em;
    position: relative;
    justify-content: center;
}

.CGBadgeContainer .CGBadgeExpired img {
    opacity: .5;
}

.CGBadgeExpiredNotice {
    position: absolute;
    top: -5px;
    z-index: 10;
}

.CGBadgeExpiredNotice p {
    color: red;
    font-size: 35px;
    transform: rotate(315deg);
    -webkit-transform: rotate(315deg);
}

/* For public verify page */
.CGVerifyAppBar {
    padding: 12px 24px;
    margin: 0;
    display: flex;
    align-items: center;
}
.CGVerifyLogo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.CGVerifyLogo {
    display: inline-block;
}
.CGVerifyIssuingOrganization {
    display: inline-block;
    margin-left: 1em;
}
.CGVerifyContainer {
    padding: 2em;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: white;
}
.CGVerifyStatusCurrent {
    font-size: 250%;
    font-weight: bold;
    color: green;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0V0zm0 0h24v24H0V0z' fill='none'%3E%3C/path%3E%3Cpath fill='green' d='M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    padding-left: 1.3em;
}
.CGVerifyStatusExpired {
    font-size: 250%;
    font-weight: bold;
    color: red;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0V0zm0 0h24v24H0V0z' fill='none'%3E%3C/path%3E%3Cpath fill='red' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    padding-left: 1.3em;
}
.CGVerifyStatusPursuing {
    font-size: 250%;
    font-weight: bold;
    color: cornflowerblue;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 0h24v24H0V0zm0 0h24v24H0V0z' fill='none'%3E%3C/path%3E%3Cpath fill='cornflowerblue' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    padding-left: 1.3em;
}
.CGVerifyFullName {
    margin-top: 1em;
    margin-bottom: 4px;
}
.CGVerifyCompanyName {
}
.CGVerifyCityLine {
}
.CGVerifyCountry {
}
.CGVerifyAchievementName {
    font-size: 150%;
    margin-top: 1em;
    margin-bottom: .5em;
}
.CGVerifyLicenseNo {
}
.CGVerifyIssuedOn {
}
.CGVerifyExpiredOn .CGVerifyDate {
    color: red;
}
.CGVerifyExpiresOn {
}
.CGVerifyDate {
    display: inline-block;
    font-weight: bold;
}
.CGVerifyAchievement {
    display: flex;
    margin-top: 1.5em;
}
.CGVerifyBadge {
}
.CGVerifyBadge img {
    height: 100px;
    width: auto;
    object-fit: contain;
}
.CGVerifyDescriptionTitle, .CGVerifyCriteriaTitle {
    font-weight: bold;
}
.CGVerifyCriteriaTitle {
    margin-top: 1em;
}

.CGVerifyAchievementDescription {
        padding: 8px;
    }
.CGVerifyLearnMore {
    margin-top: 4px;
}

