@charset "UTF-8";
/**
 *
 * @author Simon Moore @ 604media | https://dlc.ca
 * @package DLC Contemporary
*/


/*------------social----------*/
.top-header {
    border-bottom: none;
    background: #f7f7f7;
    border: solid 1px #d3d3d3;
}

.top-image{ 
    margin-left:1px;
    margin-right:1px; 
}


.top-header .social {
    float: right;
    clear: left;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 15px;
}

.top-header .social li:first-child {
    border-left: solid 1px #d3d3d3;
}

.top-header .social li {
    float: left;
    border-right: solid 1px #d3d3d3;
    padding: 10px 20px;
    list-style-type: none;
}

.top-header .social li a {
    font-size: 16px;
    color: #004282;
}
/*----------------------*/

/*----------------------*/
.top-header .contact {
    float: left;
    margin-right: 5px;
    margin-top: 11px;
    width: 100%;
}

.top-header .contact ul {
    padding: 0;
}

.top-header .find-url {
    font-size: 13px;
    padding: 3px 10px;
    display: inline-block;
    border: 1px solid #d3d3d3;
    background: #fff;
    margin: 7px auto;
    width: 100%;
    text-align: center;
}

.top-header .contact li {
    float: left;
    font-size: 13px;
    margin-right: 10px;
    list-style: none;
}
/*----------------------*/


.header-buttons {
    margin: 70px 0;
}

.header-buttons .btn-default {
    width: 100%;
    padding: 10px 17px;
}

.btn-default, .agent-search input[type=submit] {
    display: block;
    color: #004282;
    text-transform: uppercase;
    text-shadow: 1px 1px rgba(255,255,255,0.4);
    font-size: 16px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    background: #fecc4e;
    border: none;
}

.btn-default, .agent-buttons .btn-default, .agent-search input[type=submit] {
    display: block;
    background: #fecc4e;
    background-image: -webkit-linear-gradient(top, #fecc4e, #e8ba47);
    background-image: -moz-linear-gradient(top, #fecc4e, #e8ba47);
    background-image: -ms-linear-gradient(top, #fecc4e, #e8ba47);
    background-image: -o-linear-gradient(top, #fecc4e, #e8ba47);
    background-image: linear-gradient(to bottom, #fecc4e, #e8ba47);
    -webkit-border-radius: 5;
    -moz-border-radius: 5;
    border-radius: 5px;
    color: #004282;
    text-transform: uppercase;
    text-shadow: 1px 1px rgba(255,255,255,0.4);
    font-size: 18px;
    padding: 10px 20px;
    border: solid #e8ba47 1px;
    text-decoration: none;
    font-weight: 600;   
    text-align: center;
}

.agent-buttons .btn-default, .agent-search input[type=submit], .prev-link .btn-default, .next-link .btn-default {
    font-size: 16px;
}



.btn-default:hover, .agent-search input[type=submit]:hover {
    background: #e8ba47;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}


ul#main-menu li a:hover, ul#main-menu li a:focus {
    background-color: #ececec;
    color: #00274e;
    transition: all 0.6s;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: #ececec;
}

ul#main-menu li.active > a:after {
    width: 90px;
    height: 80px;
    border-radius: 50%;
    background: #fed46c;
    content: '';
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: -70px;
    opacity: 1
}

ul#main-menu {
    background: #fff;
    position: relative;
}

ul#main-menu li a {
    border: 1px solid #ececec;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1;
    text-transform: uppercase;
    color: #004282;
    font-weight: 100;
    -webkit-transition: all .7s ease-in-out; 
    -moz-transition: all .7s ease-in-out; 
    -o-transition: all .7s ease-in-out; 
    transition: all .7s ease-in-out;
    position: relative;
    overflow: hidden
}

.navbar-nav>li:last-child {
    background: #fed46c;
    background-image: -webkit-linear-gradient(top, #fecc4e, #e8ba47);
    background-image: -moz-linear-gradient(top, #fecc4e, #e8ba47);
    background-image: -ms-linear-gradient(top, #fecc4e, #e8ba47);
    background-image: -o-linear-gradient(top, #fecc4e, #e8ba47);
    background-image: linear-gradient(to bottom, #fecc4e, #e8ba47);
}

.navbar-nav>li:last-child > a {
    color: #004282 !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px rgba(255,255,255,0.4);
}

.navbar-nav>li:last-child a:hover,
.navbar-nav>li:last-child a:focus {
    background: #d9b55d;
}

ul#main-menu {
    border-top: solid 1px #fff;
    -webkit-box-shadow: 0px -1px 0px 0px #fff;
    -moz-box-shadow: 0px -1px 0px 0px #fff;
    box-shadow: 0px -1px 0px 0px #fff;
}

ul#main-menu li.active > a:after {
    width: 90px;
    height: 80px;
    border-radius: 50%;
    background: #fed46c;
    content: '';
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: -70px;
    opacity: 1
}

ul#main-menu li a:after {
    width: 90px;
    height: 80px;
    border-radius: 50%;
    background: #d5aa41;
    content: '';
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: -70px;
    opacity: 0;
    -webkit-transition: all .7s ease-in-out; 
    -moz-transition: all .7s ease-in-out; 
    -o-transition: all .7s ease-in-out; 
    transition: all .7s ease-in-out;
}

ul#main-menu li:hover a:after {
    opacity: 1;
    -webkit-transition: all .7s ease-in-out; 
    -moz-transition: all .7s ease-in-out; 
    -o-transition: all .7s ease-in-out; 
    transition: all .7s ease-in-out;
}


.navbar-nav>li>.dropdown-menu {
    background: #fff;
    padding: 0;
}

.navbar-nav>li:last-child a:hover,
.navbar-nav>li:last-child a:focus {
    background: #d9b55d !important;
}


#main {
    width: 100%;
}









/********************************************************************************************************************************************************************************************************/

.content-area ul.nav-tabs {
    margin: 0;
}
.content-area ul.nav-tabs li {
    margin-bottom: 0;
}

.tab-content>.active {
    margin: 20px 0;
}

.tab-content {
    margin-top: 30px;
}

.office-title{
    margin-bottom: 20px;
}

.office-info{
    min-height: 100px;
}

.office{
    min-height: 300px;
}
.agent{
    min-height: 340px;
}
.office, .agent {
    background: #fff;
    border: 1px solid #ececec;
    padding: 15px 20px 30px; 
    margin: 20px 0;
}

.content-area .office p, .content-area .agent p {
    font-size: 16px;
    margin-bottom: 0 !important;
}

.office h4, .agent h4 {
    font-weight: bold;
    color: #004282;
    font-size: 20px;
}

.agent {
    box-shadow: 2px 2px 7px #D3D3D2;
}

.agent h4 {
    margin-bottom: 0;
}

.agent h5 {
    font-weight: bold;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
}

.office-buttons, .agent-buttons {
    margin-top: 20px;
    border-top: 1px solid #ececec;
}

.office .btn-default, .agent-buttons .btn-default {
    margin-top: 20px;
        
}

.agent-buttons .btn-default{
    padding: 13px 14px 15px;
}
    
.office-search input, .agent-search input, .office-search select, .agent-search select {
    display: block;
    width: 100%;
    height: 50px;
    margin: 10px 0px 20px;
    padding: 6px 12px;
    font-size: 18px;
    line-height: 1.428571429;
    color: #555;
    vertical-align: middle;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.office-search input[type=submit], .agent-search input[type=submit] {
    color: #004282;
    font-size: 18px;
}

.advanced-search {
    margin-bottom: 20px;
    cursor: pointer;
}

.agent-container:nth-child(odd) {
    padding-left: 0;
}

.agent-container:nth-child(even) {
    padding-right: 0;
}

.google-maps {
    position: relative;
    padding-bottom: 50%;
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}





/*
        -----------------------------------------------------------
                CONTACT PAGE
        -----------------------------------------------------------
*/

.page-template-contact-page .gform_wrapper li.gfield.field_description_below + li.gsection {
    padding: 15px !important;
}















/*
        -----------------------------------------------------------
                FIND AN OFFICE
        -----------------------------------------------------------
*/

.office {
    display: block; 
    padding: 15px 20px 20px;
}



.office-search input {
    font-size: 14px;
    margin: 10px 0px 15px;
}

.content-area ul.nav-tabs {
    margin: 0;
}

/*********************************************************/











/*
        -----------------------------------------------------------
                OFFICES & AGENTS
        -----------------------------------------------------------
*/

.office, .agent {
    background: #fff;
    border: 1px solid #ececec;
    padding: 15px 20px 30px;
    margin: 20px 0;
}

.office p, .agent p, .office-single p, .office-single h2, .agent-search h2, .office-search h2 {
    text-align: left;
}

.office h4, .agent h4 {
    font-weight: bold;
    font-size: 20px;
    text-align: left;
    color: #004282;
}

.agent h5 {
    font-size: 16px;
    margin-top: 5px;
    font-weight: 200;
    text-align: left;
}

.office p, .agent p {
    font-size: 16px;
}

.office-single .btn-default {
    padding: 20px;
}

.office-buttons, .agent-buttons {
    border-top: 1px solid #d3d3d3;
}

.agent-info-email{
    margin-top:8px;
    min-height: 26px;
}

.agent-info{
    min-height: 180px;
}

#show-contact-info .agent-info{
    min-height: auto;
}

/* Agent search */
.agent-search fieldset{
    clear:both;
}


.agent-search a:hover, a:focus, a:active {
    color: #004282;
}


.agent-page-links {
    border-top: 1px solid #d3d3d3;
    margin-top: 20px;
}

.oa-pagination {
    padding: 0;
}

.prev-link, .next-link {
    margin-top: 35px;
}

.prev-link {
    padding-left: 0;
}

.next-link {
    float: right; 
    padding-right: 0;
}

.agent-profile-image {
    margin-top: 15px;
    width: 100%;
    padding-top: 100%;
    margin-top: 15px;
    background-position: top center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-radius: 50%;
    border: 1px solid #ccc;
}

#newsletter_list_label{ color:white; font-weight: normal;}

/*******************************************************************************************************************************************************************************************************/


@media (max-width: 1200px) {
    .header-buttons {
        margin: 18% 0;
    }
    
    .header-buttons .btn-default {
        font-size: 15px;
                
    }
    
    .top-header .social {
        display: none; visibility: hidden;
    }

    .agent-profile-image{
        width: 90% !important;
        padding-top: 90% !important;
        margin-left: 10%;
    }
}

@media (max-width: 990px){
    .nav>li>a {
        padding: 10px 5px;
    }
    
    .page-template-find-an-agent-page .content-area, .page-template-find-an-office-page .content-area {
        display: flex;
    }
    
    .agent-container {
        padding: 0
    }
    
    .office-search input, .agent-search input {
        font-size: 14px;
        height: 45px;   
    }
    
    .blog .content-area {
        display: grid;
    }
}

@media (max-width: 900px){
    ul#main-menu li a{
        font-size: 12px !important;
    }
    
}
@media (max-width: 800px){
    ul#main-menu li a{
        font-size: 11px !important;
    }
}

@media (max-width: 767px){
    .top-header .contact ul {
        display: table;
        text-align: center;
        margin: 0 auto;
    }
    
    #lang_sel {
        width: 100%;
        float: none;
    }
    
    #lang_sel li {
        width: 100%;
    }
    
    .header-buttons .btn-default {
        font-size: 12px;
    }
    
}

@media (max-width: 675px){
    .prev-link, .next-link {
        margin-top: 20px;
    }
}

@media (max-width: 600px){
    
    /** HEADER **/
    .header-buttons .btn-default {
        font-size: 12px;
    }
    
    .main-header {
        height: 260px;
    }
    
    .header-buttons {
        margin: 40px 0;
    }
    
    .logo-area p {
        margin-left: 80px;
        bottom: 20px;
    }
    
    /** AGENTS & OFFICES **/
    .office h4, .agent h4 {
        font-size: 16px;
    }
    
    .office h5, .agent h5 {
        font-size: 13px;
    }
    
    .office p, .agent p {
        font-size: 13px;
    }
    
    .agent-page-info h3, .office-title h3 {
        font-size: 16px;
    }
    
    .agent-info {
        min-height: 135px;
    }
    
    #agent-profile-info-wrapper, #agent-profile-wrapper {
        width: 100%;
    }
    
    .top-header .contact li {
        float: none;
        text-align: center;
    }
    
}


@media (max-width: 595px) {
    .content-area {
        padding: 20px;
    }
}



@media (max-width: 440px) {
    .page-template-contact-page .ginput_left, .page-template-contact-page .ginput_right {
        width: 100%;
    } 
}



@media (max-width: 400px){
    .logo-area .logo {
        left: 21%;
        top: 63%;
        width: 30%;
    }
    
    .logo-area p {
        margin-left: 90px;
        bottom: 35px;
    }
    
    .header-buttons .btn-default {
        font-size: 10px;
    }
}