/*
 * Template Name: About Amber Anderson
 */

 .ip-banner {
    opacity: 0;
    display: none;
}

#main-wrapper {
    padding-top: 150px;
    position: relative;
    z-index: 1;
}
    #main-wrapper:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 571px;
        background: url(../../images/about-amber-anderson/bg-top.jpg) center/cover no-repeat;
        z-index: -1;
    }
    #inner-page-wrapper > .container {
        width: 100%;
        padding: 0;
    }
    #content-full {
        margin-top: 0;
    }
    #content-full #content{
        padding: 0 0;
    }
/*breadcrumbs*/
#content p#breadcrumbs {
    position: relative;
    margin: 0 auto;
    width: 1440px;
    max-width: calc(100% - 30px);
    padding: 13.5px 0 13.5px;
    border-bottom: 0px solid #001941;
}


    #content p#breadcrumbs span.breadcrumb_last {
        color: #002349;
        position: relative;
    }
    #content p#breadcrumbs span.breadcrumb_last:before{
        content:'';
        display: block;
        position: absolute;
        left: calc(100% + 20px);
        margin: auto 0;
        background: #001941;
        height: 2px;
        width: 100vw;
        top: 0;
        bottom: 0;
    }
        #content p#breadcrumbs span span {
            margin: 0 4px;
        }
        #content p#breadcrumbs span span:first-of-type {
            margin-left: 0;
        }
        #content p#breadcrumbs span span:last-of-type {
            margin-right: 0;
        }
/*breadcrumbs end*/

#ip-vid{
    margin: 48px 0 0;
}
#ip-vid a{
    display: block;
    position: relative;
}
#ip-vid a:before{
    content:'';
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.39;
}
#ip-vid a:after{
    content:'';
    display: block;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../../images/about-amber-anderson/abt-play.png) center center no-repeat;
    background-size: min(9.8125vw,125px) auto;
}
#ip-vid a img{
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
    filter: grayscale(0);
    -moz-filter: grayscale(0);
    transition: all ease .4s;
    -moz-transition: all ease .4s;
    -webkit-transition: all ease .4s;
}
#ip-vid a:hover img{
    filter: grayscale(1);
    -moz-filter: grayscale(1);
}
#ip-about {
    margin: 0 auto;
    width: 1440px;
    max-width: calc(100% - 30px);
}
    #ip-about p {
        font-size: 18px;
        letter-spacing: 0.02em;
        line-height: 1.846;
        color: #333333;
        margin: 18px 0;
    }
    #ip-about .ip-about-bottom-text p:nth-of-type(1),
    #ip-about p:nth-of-type(1){
        margin: 0 0 0;
    }
    .ip-about-top {
        position: relative;
        display: flex;
        flex-flow: row wrap;
        align-items: flex-start;
        padding: 111px 0 0;
    }
        .ip-about-top-text {
            /*width: 880px;*/
            width: 61.112%;
            padding: 9px 0 0;
        }
        .ip-about-top-text .ip-about-title-wrap{
            margin: 0 0 32px;
        }
            .ip-about-title-wrap .title-l-o {
                left: -15px;
                top: -164px;
            }
        .ip-about-top-img {
            width: 484px;
            width: 33.612%;
            margin-left: auto;
            margin-right: 0;
            position: relative;
        }
        .ip-about-top-agent{
            position: relative;
        }
        .ip-about-top-agent:before{
            content: '';
            display: block;
            border: 1px solid #e6e6e6;
            border-right: 0px solid #e6e6e6;
            position: absolute;
            z-index: 0;
            left: 0;
            right: 0;
            top: 12.3%;
            bottom: 17.723%;
        }
        
            .ip-about-top-img img {
                /*display: block;
                width: 100%;*/
                position: relative;
                z-index: 2;
            }

            .ip-about-top-smi {
                position: absolute;
                z-index: 2;
                width: 90px;
                /*height: 470px;*/
                /*height: 51.934%;
                background: #002349 url(/wp-content/themes/amberanderson.com/images/accent-bg.jpg) center/cover no-repeat;*/
                text-align: center;
                top: 19.15%;
                left: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
            }
                #content .ip-about-top-smi ul.smi-links {
                    margin: 0;
                }
                .ip-about-top-smi .smi-links{
                    display: block;
                    text-align: center;
                }
                    .ip-about-top-smi ul.smi-links li {
                        display: block;
                        margin-bottom: 21px;
                    }
                    .ip-about-top-smi ul.smi-links li:last-child {
                        margin-bottom: 0;
                    }
                    .ip-about-top-smi .smi-links a{
                        height: 40px;
                        width: 33px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 24px;
                        /*color: #fff;*/
                        color: var(--primary);
                        transition: 400ms ease;
                        margin: 0 auto;
                    }
                    .ip-about-top-smi .smi-links a:hover{
                        color: #178bcb !important;
                    }

                        .ip-about-top-smi .ai-font-envelope {
                            font-size: 14px;
                        }

    .ip-about-bottom {
        position: relative;
        margin-top: 81px;
        display: flex;
        flex-flow: row wrap;
        align-items: flex-start;
        justify-content: center;
    }
        .ip-about-bottom-img {
            width: 44.236%;
            position: relative;
        }
        .ip-about-bottom-img:before{
            content: '';
            display: block;
            border: 1px solid #e6e6e6;
            position: absolute;
            z-index: 0;
            left: 25px;
            right: -25px;
            top: -25px;
            bottom: 25px;
        }
            .ip-about-bottom-img img {
                position: relative;
                z-index: 2;
            }
        .ip-about-bottom-text {
            /*background: #111111 url(../../images/about-amber-anderson/bg-accent.jpg) center/cover no-repeat;
            padding: 26px 4.5% 54px;
            position: relative;*/
            width: 55.764%;
            padding: 0 0 0 67px;
        }
            #ip-about .ip-about-bottom-text p {
                /*margin: 18px 0;*/
            }

        .ip-about-contact-info {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            margin: 42px 0 0;
        }
        .ip-about-contact-info span{
            font-size: 14px;
            display: inline-block;
            vertical-align: middle;
            color: #001f46;
            margin: 0 6px 0 0;
        }
        .ip-about-contact-info span.ai-font-envelope{
            font-size: 10px;
        }
        .ip-about-contact-info span.ai-font-phone-alt{}
        .ip-about-contact-info span.ai-font-business-card{}
            .ip-about-contact-info > div {
                padding: 0 45px;
            }
            .ip-about-contact-info > div:first-child{
                padding-left: 0;
            }
            .ip-about-contact-info > div:last-child{
                padding-right: 0;
            }
                .ip-about-contact-name {
                    font-size: 29px;
                    font-weight: 500;
                    letter-spacing: 0.05em;
                    line-height: 30px;
                    color: #001f46;
                }
                .ip-about-contact-position {
                    font-size: 17px;
                    letter-spacing: 0.05em;
                }
                .ip-about-contact-email,
                .ip-about-contact-phone,
                .ip-about-contact-license {
                    font-size: 16px;
                    letter-spacing: 0.05em;
                    line-height: 1.857;
                    /*color: #fff;*/
                }
                    .ip-about-contact-info > div a {
                        transition: all .3s ease;
                        /*color: #fff;*/
                    }
                    .ip-about-contact-info > div a:hover {
                        opacity: 0.8;
                    }

            .ip-about-contact-info > div:last-child {
                border-left: 3px solid #001f46;
            }
            .ip-about-awards{
                border: 1px solid #e6e6e6;
                padding: 24px;
                margin: 87px 0 0;
            }
            .ip-about-awards-inner{
                background: #002349;
                color: #fff;
            }
            .ip-about-awards-title{
                color: #aaa;
                text-transform: uppercase;
                text-align: center;
                font-size: 20px;
                letter-spacing: 0.200em;
                line-height: 1;
                padding: 75px 0 0;
            }
            .ip-about-awards-title span{
                display: block;
                font-size: 60px;
                font-family: var(--font-family-title);
                color: #fff;
                letter-spacing: 0;
            }
            .ip-about-awards-items {
                display: flex;
                flex-flow: row wrap;
                align-items: flex-start;
                justify-content: space-evenly;
                margin: 46px 0 0;
                padding: 0 0 81px;
            }
            .ip-about-awards-items .ip-about-awards-col{
                font-size: 15px;
                letter-spacing: 0.200em;
                text-transform: uppercase;
                text-align: center;
            }
            .ip-about-awards-items .ip-about-awards-col span{
                font-size: 36px;
                line-height: 1.111;
                font-family: var(--font-family-title);
                display: block;
                letter-spacing: 0;
            }
/*modify desktop header*/
@media only screen and (min-width: 992px) {
    .main-header {
        position: absolute;
        top: 0;
    }
        .main-header .logo-flex a img:not(.blue-logo) {
            display: none;
        }
        .main-header .logo-flex a .blue-logo {
            display: block;
        }
        .main-header .logo-flex a:nth-child(2):before {
            background: rgba(102,102,102,0.2);
        }
    .navigation .aios-split-nav > li {
        border-bottom: 1px solid rgba(102,102,102,0.2);
    }
    .navigation .aios-split-nav > li > a {
        color: #666666;
    }
}
/*modify desktop header end*/

@media only screen and (max-width: 1440px) {
    .ip-about-top-smi ul.smi-links li {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 1366px) {
    .ip-about-top-img {
        margin-right: 0;
    }
    .ip-about-top-smi {
        width: 60px;
        left: inherit;
        right: -15px;
    }
    .ip-about-awards {
        padding: 15px;
    }
}

@media only screen and (max-width: 1199px) {
    .ip-about-top-smi ul.smi-links li {
        margin-bottom: 10px;
    }
    .ip-about-bottom-img {
        width: 39.236%;
    }
    .ip-about-bottom-text {
        width: 60.764%;
        padding: 0 0 0 40px;
    }
    .ip-about-contact-email,
    .ip-about-contact-phone,
    .ip-about-contact-license {
        font-size: 15px;
        letter-spacing: 0em;
    }
    .ip-about-contact-info > div {
        padding: 0 25px;
    }
    .ip-about-contact-position {
        font-size: 15px;
    }
    .ip-about-awards {
        padding: 10px;
    }
    .ip-about-awards-items .ip-about-awards-col span {
        font-size: 26px;
    }
}

@media only screen and (max-width: 991px) {
    .ip-about-top-agent:before,
    .ip-about-bottom-img:before{
        display: none;
    }
    /*breadcrumbs*/
    #content p#breadcrumbs {
        width: 100%;
        position: relative;
        padding: 13px 15px;
    }
    /*breadcrumbs end*/ 

    #main-wrapper {
        padding-top: 0;
    }
    .ip-about-top {
        padding: 80px 0 0;
        text-align: center;
    }
    .ip-about-top-text {
        width: 100%;
    }
    .ip-about-top-img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .ip-about-bottom-img {
        position: relative;
        margin: 0 auto 30px;
        width: 100%;
        height: auto;
        max-width: 637px;
    }
        .ip-about-bottom-img img {
            position: relative;
            width: 100%;
        }
    .ip-about-bottom-text {
        width: 100%;
        padding: 0;
        text-align: center;
    }
    .ip-about-awards {
        padding: 0px;
    }
    .ip-about-awards-items{
        display: block;
    }
    .ip-about-awards-items .ip-about-awards-col:not(:first-child){
        margin: 30px 0 0;
    }
}

@media only screen and (max-width: 767px) {
    .ip-about-contact-info{
        display: block;
    }
    .ip-about-contact-info > div{
        padding: 10px 0;
    }
    .ip-about-contact-info > div:last-child {
        border-left: 0px solid #001f46;
        border-top: 2px solid #001f46;
    }
}
@media only screen and (max-width: 567px) {
    .ip-about-awards-title span{
        font-size: 50px;
    }
}
@media only screen and (max-width: 480px) {
    .ip-about-contact-email, .ip-about-contact-phone, .ip-about-contact-license {
        font-size: 12px;
        line-height: 28px;
    }
    .ip-about-top-smi .smi-links a {
        font-size: 20px;
        height: 30px;
    }
    .ip-about-top-smi .ai-font-envelope {
        font-size: 12px;
    }
    .ip-about-awards-title span {
        font-size: 39px;
    }
}