html, 
body { 
    width: 100%;
    height: 100%;
    min-height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	color: #323232;
	font-size: 14px;
}

body > .addthis_toolbox {
	display: none;
}

main {
    min-height: 90%;
    padding-bottom: 20px;
}

main:before {
    content: '';
    width: 100%;
    height: 255px;
    background: #2C2A29;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-in-out;
}

main:after {
    content: '';
    width: 100%;
    height: 25px;
    background: rgb(250,203,100);
    background: linear-gradient(130deg, rgba(250,203,100,1) 0%, rgba(248,160,64,1) 50%, rgba(177,110,45,1) 100%);
    position: absolute;
    z-index: 1;
    top: 255px;
    left: 0;
    transition: transform 0.5s ease-in-out;
}

main > .container-fluid > .row > .col-lg-9 {
	padding: 0 30px;
}

.clearfix {
    clear: both;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        AGENT PROFILE - SIDEBAR
     -------------------------------------------
 */

#profile-sidebar {
    font-size: 12px;
    padding: 25px 20px;
    position: fixed !important;
    z-index: 999;
    top: 0;
    right: 0;
    background: #F5F5F8;
    border: 1px solid #ECECF2;
    text-align: center;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
}

#profile-sidebar .pic-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    background: rgb(250,203,100);
    background: linear-gradient(130deg, rgba(250,203,100,1) 0%, rgba(248,160,64,1) 50%, rgba(177,110,45,1) 100%);
    background-size: 400% 400%;
    -webkit-animation: Gradient 4s ease;
    -moz-animation: Gradient 4s ease;
    animation: Gradient 4s ease;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}

#profile-sidebar .sidebar-container .col-4 {
    display: none;
    margin: 0;
}

#profile-sidebar .agent-infos {
    margin: 0 auto;
    padding: 0 15px;
}

@-webkit-keyframes Gradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
@-moz-keyframes Gradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
@keyframes Gradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}
@-webkit-keyframes GradientSingle{0%{background-position:0 50%}100%{background-position:100% 50%}}
@-moz-keyframes GradientSingle{0%{background-position:0 50%}100%{background-position:100% 50%}}
@keyframes GradientSingle{0%{background-position:0 50%}100%{background-position:100% 50%}}

#profile-sidebar .profile-image {
    width: 170px;
    height: 170px;
    margin: 5px auto;
    border-radius: 50%;
    border: 4px solid #fff;
    background-repeat: inherit;
    background-size: cover !important;
    background-position: top !important;
}

#apply-now-btn.col-6 {
    padding-right: 5px;
}

#app-btn.col-6 {
    padding-left: 5px;
}

.info-box {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 5px;
    background: #E2E2E3;
    position: relative;
    text-align: right;
    font-weight: bold;
}

.info-box.vertical-box {
    text-align: center;
    padding: 8px 15px 22px;
}

.info-box p {
    margin: 0;
    position: absolute;
    right: 15px;
}

.info-box span {
    position: absolute;
    left: 15px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: normal;
    color: #323232;
}

.info-box.vertical-box span {
    top: auto;
    left: 0;
    right: 0;
    bottom: 5px;
}

#broker-id.col-6,
#franchise-id.col-6 {
    font-size: 10px;
}

#broker-id.col-6 {
    padding-right: 5px;
}

#franchise-id.col-6 {
    padding-left: 5px;
}

#broker-id.col-6 p,
#franchise-id.col-6 p {
    position: relative;
    right: 0;
}

.office-infos {
    padding: 10px 0;
    font-size: 10px;
    text-align: center;
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        TYPOGRAPHY
     -------------------------------------------
 */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight:bold;
	color:#002E5D;
}

h1 {
	text-transform:uppercase;
	font-size:24px;	
}

h2 {
	font-size: 20px;
}

h2 a {
    text-transform:uppercase;
}

h3 {
	line-height:1.4em;
}

h4 {
    font-size: 1.2rem;
}

ul, 
ol {
    padding: 10px 15px;
    margin: 15px 10px;
    line-height: 1.3em;}

li {
    list-style-type: inherit;
    padding: 3px 0;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        LINKS & BUTTONS
     -------------------------------------------
 */

a { 
	color: #002E5D;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

a:hover,
a:focus {
    color: #001B36;
	text-decoration: none;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}

.btn-default,
input[type=submit] {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    background: #F1B434;
    padding: 12px 15px;
    margin-bottom: 5px;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.btn-default:hover,
.btn-default:focus,
input[type=submit]:hover,
input[type=submit]:focus {
    color: #fff;
    background: #CE9A2E;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

input, 
input:focus, 
input:hover, 
input:active,
textarea,
textarea:focus,
textarea:hover,
textarea:active {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button, 
.btn, 
.btn:focus, 
.btn:hover, 
.btn:active, 
input, 
input:focus, 
input:hover, 
input:active,
select,
select:focus,
select:hover,
select:active,
textarea,
textarea:focus,
textarea:hover,
textarea:active,
.form-control {
    outline: 0 !important;
    outline-offset: 0 !important;
    background-image: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

form .error {
    width: 100%;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: .25rem;
}

/** HIGHLIGHT *******************************/
::-moz-selection {
  color: #795E28;
  background: #F1B434;
}
::selection {
  color: #795E28;
  background: #F1B434;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        HEADER
     -------------------------------------------
 */

.fixed-top {
    width: 75%;
    padding: 25px 5px 0 30px;
    transition: 0.4s;
    z-index: 999;
}

#company-logo {
    width: 160px;
    height: 100px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left !important;
    transition: 0.4s;
}

.b-licence {
    width: 160px;
    bottom: -10px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    left: 0;
    right: 0;
}

header.affix .b-licence {
    bottom: -3px;
    font-size: 10px;
}

@media screen and (max-width: 990px) {
    .b-licence {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
}

header:before {
    content: '';
    width: 200%;
    height: 90px;
    position: absolute;
    top: 0;
    left: 0;
}



.navbar-brand {
	float: left;
	padding: 0 !important;
	font-size: 16px;
	line-height: 0;
}

.navbar {
    padding: 0;
}

.navbar-nav {
    margin-top: 0;
}

#main-navigation a {
    color: #fff !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 7px !important;
    border-bottom: 3px solid transparent;
}

#main-navigation li {
    padding-right: 15px;
}

#main-navigation li:last-child {
    padding-right: 0 !important;
}

#main-navigation li a {
    position: relative;
}

#main-navigation li.active a:after,
#main-navigation li:hover a:after {
    content: '';
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -4px;
    background: rgb(250,203,100);
    background: linear-gradient(130deg, rgba(250,203,100,1) 0%, rgba(248,160,64,1) 50%, rgba(177,110,45,1) 100%);
    background-size: 400% 400%;
    -webkit-animation: Gradient 4s ease;
    -moz-animation: Gradient 4s ease;
    animation: Gradient 4s ease;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}

header.fixed-top {
    padding-top: 25px;
    transition: 0.4s;
}

header.fixed-top.affix {
    padding-top: 15px;
    transition: 0.4s;
}

header.affix #company-logo {
    width: 100px;
    height: 50px;
    transition: 0.4s;
}

header.affix:before {
    background: rgba(44,42,41,0.95);
    transition: 0.4s;
}

.social-media li a {
    display: block;
    background: #fff;
    color: #2C2A29;
    padding: 7px 10px !important;
    border-radius: 50px;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.social-media li a:hover,
.social-media li a:focus,
.social-media li a:active {
    color: #fff;
    background: #F1B434;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.social-media li {
    padding-right: 10px;
}

.social-media li:last-child {
    padding-right: 0;
}

.social-media i {
    font-size: 14px;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        BANNER
     -------------------------------------------
 */

.banner {
    overflow: hidden;
    padding: 30px;
    height: 225px;
    border-radius: 10px;
    margin: 150px 0 30px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    box-shadow: 3px 4px 10px rgba(27, 27, 27, .3);
}

.banner:before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
}

.banner .image {
    width: 125% !important;
    height: 125% !important;
    top: -50px;
    left: 0;
    position: absolute;
    background: url('https://via.placeholder.com/2040x500/F5F5F8');
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

main.home .image {
    background: url('../images/banners/home-banner.jpg');
}

main.about-us---the-mortgage-centre .image {
    background: url('../images/banners/about-banner.jpg');
}

main.mortgage-calculators .image {
    background: url('../images/banners/calculators-banner.jpg');
}

main.blog .image {
    background: url('../images/banners/blog-banner.jpg');
}

main.contact .image {
    background: url('../images/banners/contact-banner.jpg');
}

main.privacy-policy .image {
    background: url('../images/banners/privacy-policy-banner.jpg');
}

main.terms-of-use .image {
    background: url('../images/banners/terms-of-use-banner.jpg');
}

main.sitemap .image {
    background: url('../images/banners/sitemap-banner.jpg');
}

main.error .image {
    background: url('../images/banners/error-banner.jpg');
}


.banner-text-block {
    position: relative;
    z-index: 3;
}

.banner-text-block h1,
.banner-text-block p {
    color: #fff;
    position: relative;
}

.banner-text-block h1:after {
    content: '';
    width: 10%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -8px;
    background: rgb(250,203,100);
    background: linear-gradient(130deg, rgba(250,203,100,1) 0%, rgba(248,160,64,1) 50%, rgba(177,110,45,1) 100%);
    background-size: 400% 400%;
    -webkit-animation: Gradient 4s ease;
    -moz-animation: Gradient 4s ease;
    animation: Gradient 4s ease;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}

main {
    transition: transform 0.5s ease-in-out;
}

main.home .banner-text-block h1:after {
    display: none;
}

.banner-text-block p {
    padding-top: 15px;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        FOOTER
     -------------------------------------------
 */

 #footer-container {
    padding: 0 30px;
    transition: transform 0.5s ease-in-out;
 }

footer {
    height: 70px;
    padding: 25px 0;
	border-top: 1px solid #ECECF2;
	font-size: 10px;
}

footer img {
    margin: 0 3px;
}

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





/*
     -------------------------------------------
        FORMS
     -------------------------------------------
 */

main form section {
    margin-bottom: 40px;
}

input,
textarea,
select,
.form-control {
    height: 50px !important;
    color: #323232;
    background: #F5F5F8;
    border: 1px solid #ECECF2;
    border-radius: 5px;
    padding: 10px;
}

textarea {
    height: 200px !important;
    resize: vertical;
}

.best-day,
.best-day:hover,
.best-day:focus,
.best-day:active {
    background: #F5F5F8 url(../images/calendar.svg) no-repeat 93% 13px !important;
    background-size: 8% !important;
}

.ui-datepicker {
    font-size: 12px!important;
}

input[placeholder],
input::-moz-placeholder,
input:-moz-placeholder,
input::-webkit-input-placeholder,
input:-ms-input-placeholder {
	color: #323232;
    text-transform: capitalize;
}

span.red {
    color: #e74c3c;
    font-weight: bold;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        REQUEST A CALL - COMPONENT
     -------------------------------------------
 */

#request-panel .input-text, 
#request-panel .input-select{
    width: 100%;
    margin: 0 0 16px 0;
}

.request-foot {
    margin: 20px 0;
}

.bootstrap-datetimepicker-widget .collapse {
    display: block !important;
}

.bootstrap-datetimepicker-widget .list-unstyled > .picker-switch {
    display: none !important;
}

.bootstrap-datetimepicker-widget .timepicker table td {
    padding: 0 !important;
}

.bootstrap-datetimepicker-widget table td span.glyphicon {
    color: #fff;
    background: #F1B434;
    position: relative;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.bootstrap-datetimepicker-widget table td span.glyphicon:hover {
    color: #fff;
    background: #CE9A2E;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.bootstrap-datetimepicker-widget table td span.glyphicon::before {
    content: '';
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 15px auto;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
  }

.bootstrap-datetimepicker-widget table td span.glyphicon-chevron-up:before {
    background: url('../images/arrow-up.svg');
}

.bootstrap-datetimepicker-widget table td span.glyphicon-chevron-down:before {
    background: url('../images/arrow-down.svg');
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    display: none;
}

.btn-primary {
    background: #002E5D;
    border-color: #002E5D;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background: #001B36 !important;
    border-color: #001B36 !important;
}

.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: #002E5D !important;
}

.bootstrap-datetimepicker-widget table td.active, 
.bootstrap-datetimepicker-widget table td.active:hover,
.bootstrap-datetimepicker-widget table td span.active,
.bootstrap-datetimepicker-widget table td span.active:hover {
    background-color: #F1B434 !important;
}

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





/*
     -------------------------------------------
        NEWSLETTER - COMPONENT
     -------------------------------------------
 */

#newsletter-panel {
    color: #fff;
    padding: 30px;
    margin: 40px 0 0;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: rgb(250,203,100);
    background: linear-gradient(130deg, rgba(250,203,100,1) 0%, rgba(248,160,64,1) 50%, rgba(177,110,45,1) 100%);
    background-size: 400% 400%;
    -webkit-animation: Gradient 4s ease;
    -moz-animation: Gradient 4s ease;
    animation: Gradient 4s ease;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    box-shadow: 3px 4px 10px rgba(27, 27, 27, .3);
}

#newsletter-panel:before {
    content: '';
    width: 100%;
    height: 100%;
    background: url(../images/newsletter.svg);
    background-position: top;
    background-size: cover;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 10px;
}

#newsletter-panel:after {
    content: '';
    width: 100%;
    height: 100%;
    background: #2C2A29;
    background-position: top;
    background-size: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    opacity: 0.4;
    border-radius: 10px;
}

#newsletter-panel h3 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

#request-news {
    position: relative;
    z-index: 2;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        BLOG
     -------------------------------------------
 */

.calculators a {
    min-height: 315px;
    color: #2C2A29;
    display: block;
    padding: 30px;
    margin: 10px 0;
    text-align: center;
    background: #F5F5F8;
    border: 1px solid #ECECF2;
    border-radius: 10px;
}

.calculators a:hover {
    color: #CE9A2E;
    text-decoration: none;
    box-shadow: 2px 4px 10px rgba(27, 27, 27, .1);
}

.calculators i {
    font-size: 100px;
    margin-bottom: 20px;
}

.calculators h3 {
    font-size: 1.4rem;
}

.calculators p {
    color: #323232;
}

.fancybox-close-small {
    background: #F1B434;
    color: #fff !important;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.fancybox-close-small:hover {
    background: #CE9A2E;
    color: #fff !important;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        BLOG
     -------------------------------------------
 */

.rss-feed {
    display: block;
    float: right;
    text-align: right;
    padding: 10px 0;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 10px;
}

.rss-feed i {
    font-size: 20px;
}

.blog-article {
    margin: 10px 0 15px;
    padding: 0 0 25px 0;
    display: inline-block;
    position: relative;
    border-bottom: 1px solid #EBEBEB;
}

.blog-article h4 {
    color: #999;
    font-family: "TradeGothic LT";
    font-size: 12px;
    font-weight: 400;
    float: right;
}

.blog-article p {
    font-size: 16px;
}

.blog-article .time-stamp {
    top: 5px;
    right: 0;
}

.blog-article-link {
    display: block;
}

.blog-post-header {
    margin: 165px -15px 65px;
}

.back-to-blog {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-post-header .read-more {
    margin-top: 0;
}

.blog-post-content {
    padding-top: 25px;
}

.time-stamp {
    position: absolute;
    top: 0;
    right: 15px;
    background: #E2E2E3;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.read-more {
    margin-top: 20px;
}

.read-more i {
    margin-left: 5px;
}

.back-to-blog i {
    margin-right: 5px;
}

.blog-nav {
    margin-top: 35px;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        CALCULATORS
     -------------------------------------------
 */
.social {
    background: #f6f8fa;
    padding: 20px 0;
}
.facebook-panel, 
.twitter-panel {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    padding: 2px;
    margin: 10px 0;
}
.fb-icon, 
.tw-icon {
    text-align: center;
    margin: -35px 0 -30px 0;
}
.twitter-header {
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #f5f5f5;
    height: 38px;
    line-height: 30px;
}

.copy {
    text-align: left;
}
.share {
    float: right;
}
.privacy {
    text-align: center;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        CALCULATORS
     -------------------------------------------
 */
.embed-holder {
    background-color: #000000;
    height: 519px;
    width: 100%;
}

.mccCalculatorIframe {
    height: 600px;

    overflow: hidden;
}

.mccCalculatorContent {
    display: none;
}
/***********************************************************************************************************/





/*
     -------------------------------------------
        RESPONSIVE
     -------------------------------------------
 */

@media only screen and (min-width: 700px) {
    .mccCalculatorIframe {
        width: 700px;
    }
}
@media only screen and (max-width: 700px) {
    .mccCalculatorIframe {
        width: 330px;
        margin-left: 15px;
    }
}
/*********************************************/


@media screen and (min-width: 1500px) {
    #profile-sidebar {
        font-size: 15px;
    }

    .info-box span {
        font-size: 12px;
    }

    #broker-id, #franchise-id {
        font-size: 12px;
    }
}
/*********************************************/



@media screen and (max-width: 1370px) {
    .agent-infos-pop {
        font-size: 12px;
    }

    .info-box span {
        font-size: 8px;
    }
}
/*********************************************/




@media screen and (max-width: 1200px) {
    .agent-infos-pop {
        font-size: 10px;
    }

    .best-day, 
    .best-day:hover, 
    .best-day:focus, 
    .best-day:active {
        background: #F5F5F8 url(../images/calendar.svg) no-repeat 95% 15px !important;
        background-size: 8% !important;
    }
}
/*********************************************/



@media (max-width:1200px) and (min-width:990px) {
    #profile-sidebar .pic-container {
        width: 160px;
        height: 160px;
    }

    #profile-sidebar .profile-image {
        width: 150px;
        height: 150px;
    }

    #profile-sidebar .btn-default {
        font-size: 11px;
    }

    .office-infos {
        font-size: 8px;
        bottom: 5px;
    }
}
/*********************************************/



@media (max-width:1050px) and (min-width:990px) {
    #company-logo {
        width: 130px;
        height: 90px;
    }

    #main-navigation a {
    	font-size: 16px;
    }
    
    #broker-id, 
    #franchise-id,
    #profile-sidebar .btn-default,
    .agent-infos-pop {
        font-size: 9px;
    }

    .best-day, .best-day:hover, .best-day:focus, .best-day:active {
        background: #F5F5F8 url(../images/calendar.svg) no-repeat 93% 16px !important;
        background-size: 8% !important;
    }
}
/*********************************************/



@media screen and (max-width: 990px) {

    header nav .pic-container {
        width: 50px;
        height: 50px;
        position: absolute;
        top: 5px;
        right: 0;
        z-index: 9999;
        border-radius: 50px;
        overflow: hidden;
        cursor: pointer;
        border: 4px solid transparent;
        background: rgb(250,203,100);
        background: rgb(250,203,100);
        background: linear-gradient(130deg, rgba(250,203,100,1) 0%, rgba(248,160,64,1) 50%);
        background-size: 400% 400%;
        -webkit-animation: Gradient 4s ease;
        -moz-animation: Gradient 4s ease;
        animation: Gradient 4s ease;
        animation-fill-mode: both;
        animation-iteration-count: infinite;
    }

    header nav .profile-image {
        width: 100%;
        height: 100%;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        border: 3px solid #fff;
        border-radius: 50px;
    }

    main:before {
        height: 200px;
    }

    main:after {
        top: 200px;
    }

    #mobile-toggle {
        display: inline-block;
        padding: 14px 0;
        margin: 0;
        background-color: transparent;
        cursor: pointer;
        z-index: 2;
        position: absolute;
        top: 0;
        border: none;
    }
    
    .bar {
        display: block;
        background-color: #F1B434;
        width: 35px;
        height: 4px;
        border-radius: 50px;
        margin: 5px auto;
        transition: background-color 0.5s ease-in, transform 0.5s ease-in, width 0.5s ease-in;
    }

    body.mobile-toggle-menu-active,
    body.mobile-toggle-agent-profile-active {
        overflow: hidden;
    }

    body.mobile-toggle-menu-active #mobile-toggle .top {
        -webkit-transform: translateY(10px) rotateZ(45deg);
        -moz-transform: translateY(10px) rotateZ(45deg);
        -ms-transform: translateY(10px) rotateZ(45deg);
        -o-transform: translateY(10px) rotateZ(45deg);
        transform: translateY(10px) rotateZ(45deg);
    }
    
    body.mobile-toggle-menu-active #mobile-toggle .bottom {
        -webkit-transform: translateY(-8px) rotateZ(-45deg);
        -moz-transform: translateY(-8px) rotateZ(-45deg);
        -ms-transform: translateY(-8px) rotateZ(-45deg);
        -o-transform: translateY(-8px) rotateZ(-45deg);
        transform: translateY(-8px) rotateZ(-45deg);
    }

    body.mobile-toggle-menu-active #mobile-toggle .middle {
        width: 0;
    }

    body.mobile-toggle-menu-active #sidebar-mobile, 
    body.mobile-toggle-menu-active #mobile-nav-sidebar,
    body.mobile-toggle-menu-active main,
    body.mobile-toggle-menu-active #footer-container {
        transform: translateX(350px);
    }

    body.mobile-toggle-agent-profile-active #profile-sidebar,
    body.mobile-toggle-agent-profile-active main,
    body.mobile-toggle-agent-profile-active #footer-container {
        transform: translateX(-350px);
    }

    body.mobile-toggle-menu-active main .container-fluid:before,
    body.mobile-toggle-agent-profile-active main .container-fluid:before,
    body.mobile-toggle-menu-active #footer-container:before,
    body.mobile-toggle-agent-profile-active #footer-container:before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        z-index: 99;
        background: rgba(44,42,41,0.95);
    }

    main.mobile-toggle-menu-active:before,
    main.mobile-toggle-menu-active:after {
        left: 350px;
    }

    body.mobile-toggle-menu-active #mobile-nav-sidebar {
        top: 90px;
    }

    #mobile-nav-sidebar {
        max-width: 350px;
        padding: 0;
        position: fixed !important;
        z-index: 999;
        left: -350px;
        transition: transform 0.5s ease-in-out;
        background: #F5F5F8;
        border: 1px solid #ECECF2;
        overflow: hidden;
    }

    #mobile-nav-sidebar .navbar-collapse {
        display: block !important;
    }

    #mobile-nav-sidebar .navbar-nav {
        position: absolute;
        top: 20px;
        left: 20px;
    }

    #main-nav-mobile a {
        font-family: 'Roboto Condensed', sans-serif;
        font-size: 18px;
        font-weight: bold;
        text-transform: uppercase;
        padding-bottom: 20px;
    }

    #mobile-nav-sidebar .social-media {
        margin: 0;
        padding: 0;
        display: table;
        position: absolute;
        left: 0;
        bottom: 90px;
        background: #fff;
        border-top: 1px solid #ECECF2;
        text-align: center;
    }

    #mobile-nav-sidebar .social-media a {
        padding: 25px !important;
        display: table-cell;
        border-right: 1px solid #ECECF2;
    }

    #mobile-nav-sidebar .social-media i {
        font-size: 20px;
        color: #2C2A29;
    }

    header.fixed-top {
        width: 100%;
        padding: 15px 30px;
    }

    .navbar-brand {
        margin: 0 auto;
    }

    #company-logo,
    header.affix #company-logo {
        width: 180px;
        height: 60px;
        background-position: center !important;
    }

    header:before {
        background: rgba(44,42,41,1);
        transition: 0.4s;
    }

    #profile-sidebar {
        max-width: 350px;
        top: 90px;
        right: -350px;
        padding-top: 15px;
        border-radius: 0;
        transition: transform 0.5s ease-in-out;
    }

    #profile-sidebar .pic-container {
        width: 120px;
        height: 120px;
    }

    #profile-sidebar .profile-image {
        width: 110px;
        height: 110px;
    }

    #profile-sidebar .btn-default {
        padding: 10px 15px;
        font-size: 12px;
    }

    .office-infos {
        bottom: 95px;
    }

    .banner {
        margin-top: 100px;
    }

    .best-day, 
    .best-day:hover,
    .best-day:focus, 
    .best-day:active {
        background: #F5F5F8 url(../images/calendar.svg) no-repeat 95% 17px !important;
        background-size: 6% !important;
    }

    input,
    select,
    .form-control {
        height: 65px !important;
    }


    input, 
    input:focus, 
    input:hover, 
    input:active,
    select,
    select:focus,
    select:hover,
    select:active,
    textarea,
    textarea:focus,
    textarea:hover,
    textarea:active,
    .form-control,
    .form-control:focus,
    .form-control:hover,
    .form-control:active {
        font-size: 16px !important;
    }

    input[type=submit] {
        width: 100% !important;
    }

    .btn-default, 
    input[type=submit] {
        font-size: 16px;
        padding: 15px;
    }

    .blog-post-header {
        margin-top: 110px;
    }

    .blog-post-header .time-stamp {
        position: absolute;
        max-width: none;
        margin: 0;
        right: 15px;
    }

    footer,
    #request-news {
        text-align: center;
    }

    #request-news input {
        margin-bottom: 10px;
    }

    footer .col-lg-4 {
        display: none;
    }
}
/*********************************************/



@media screen and (max-width: 767px) {
    .banner .banner-text-block {
        text-align: center;
        width: 100% !important;
    }

    .banner-text-block h1:after {
        right: 0;
        margin: 0 auto;
    }

    .time-stamp {
        position: relative;
        max-width: 165px;
        text-align: center;
        margin-bottom: 20px;
    }

    .rss-feed {
        text-align: center;
    }

    .read-more {
        width: 100%;
    }

    .best-day, 
    .best-day:hover, 
    .best-day:focus, 
    .best-day:active {
        background: #F5F5F8 url(../images/calendar.svg) no-repeat 97% 15px !important;
        background-size: 4% !important;
    }
}
/*********************************************/



@media screen and (max-width: 650px) {
    footer span {
        display: block;
    }

    footer {
        height: auto;
    }

    .best-day, 
    .best-day:hover, 
    .best-day:focus, 
    .best-day:active {
        background: #F5F5F8 url(../images/calendar.svg) no-repeat 97% 19px !important;
        background-size: 4% !important;
    }
}
/*********************************************/



@media screen and (max-width: 420px) {
    .banner-text-block h1 {
        font-size: 20px;
    }

    .banner-text-block p {
        font-size: 14px;
    }

    .blog-post-header {
        margin-top: 120px;
    }

    .blog-post-header span,
    .blog-post-header a {
        font-size: 12px;
    }

    .best-day, 
    .best-day:hover, 
    .best-day:focus, 
    .best-day:active {
        background: #F5F5F8 url(../images/calendar.svg) no-repeat 95% 17px !important;
        background-size: 6% !important;
    }
}
/*********************************************/



@media (max-width:420px) and (max-height:700px) {
    #profile-sidebar .clearfix {
        padding-top: 10px;
    }

    #profile-sidebar > .pic-container {
        display: none;
    }

    #profile-sidebar .sidebar-container .col-4 {
        display: block;
    }

    #profile-sidebar .sidebar-container .pic-container {
        margin: 0 15px;
    }

    #profile-sidebar .pic-container {
        width: 80px;
        height: 80px;
    }

    #profile-sidebar .profile-image {
        width: 70px;
        height: 70px;
    }

    #profile-sidebar .agent-infos {
        display: flex;
        justify-content: center;
        text-align: left;
        flex: 0 0 55%;
        max-width: 55%;
        margin: 0 15px;
    }

    .agent-infos .position {
        margin: 0;
    }
}
/*********************************************/



@media (max-width:380px) and (max-height:680px) {
    #profile-sidebar .sidebar-container .pic-container {
        display: none;
    }

    #profile-sidebar .agent-infos {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin: 0;
    }

    .info-box {
        font-size: 9px;
        min-height: 30px;
    }

    .info-box.vertical-box {
        padding: 8px 15px 18px;
    }
}
/*********************************************/



@media (min-width:767px) and (max-height:700px) {
    #profile-sidebar .pic-container {
        width: 110px;
        height: 110px;
    }

    #profile-sidebar .profile-image {
        width: 100px;
        height: 100px;
    }
}
/*********************************************/



@media (min-width:650px) and (max-height:650px) {
    #profile-sidebar > .pic-container {
        display: none;
    }

    #profile-sidebar .sidebar-container .col-4 {
        display: block !important;
    }

    #profile-sidebar .sidebar-container .pic-container {
        display: block;
        width: 65px;
        height: 65px;
    }

    #profile-sidebar .profile-image {
        width: 55px;
        height: 55px;
        border: 3px solid #fff;
    }

    #profile-sidebar .agent-infos {
        display: flex;
        text-align: left;
        flex: 0 0 65%;
        max-width: 65%;
        margin: 0;
    }

    .agent-infos .position {
        margin: 0;
    }
    
}
/*********************************************/



@media (min-width:650px) and (max-height:550px) {
    #profile-sidebar .btn-default {
        padding: 8px 15px;
        font-size: 12px;
    }

    .info-box {
        min-height: 35px;
        padding: 10px 15px;
        font-size: 10px;
    }

    .info-box.vertical-box {
        padding: 8px 15px 20px;
    }

    .info-box span {
        font-size: 8px;
    }
}
/*********************************************/



@media screen and (min-height:820px) {
    .agent-infos-pop {
        height: 60vh;
    }
}
/*********************************************/



@media (min-width:1025px) and (min-height:1200px) {
    #profile-sidebar {
        font-size: 16px;
    }

    #profile-sidebar .pic-container {
        width: 280px;
        height: 280px;
    }

    #profile-sidebar .profile-image {
        width: 270px;
        height: 270px;
    }

    #profile-sidebar .btn-default {
        font-size: 16px;
        padding: 20px 15px;
    }

    #profile-sidebar h4 {
        font-size: 1.6rem;
    }
}
/*********************************************/



@media (max-width:900px) and (max-height:450px) {
    body {
        overflow: hidden;
    }

    body:before {
        content: "";
        width: 100%;
        height: 100%;
        background: rgba(44,42,41,0.95);
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
    }

    body:after {
        content: "";
        width: 120px;
        height: 100%;
        margin: 0 auto;
        position: fixed;
        z-index: 99999;
        top: 0;
        left: 0;
        right: 0;
        background: url('../images/rotate-to-portrait.svg');
        background-repeat: no-repeat;
        background-position: center;
    }
}
/*********************************************/
