/**
* THEME COLORS  ~
* light-blue    : #9DB3DC    background
* light-teal    : #8AA5CA    background
* teal          : #7999BA    background / link
* orange        : #ED6A5A    action
* light-yellow  : #F4F1BB    supportive
* light-green   : #E6EBE0    supportive
*
* text/
* light-green : #E4EAF1
*/


/***********************************************************************************************************************
    MAIN
***********************************************************************************************************************/
body {
    font-family: 'Nunito', sans-serif; /* 300 light, 400 reg, 700 bold */
    font-size: 15px;
    color: #333;
    background: #9DB3DC url('/static/img/landscape-bg-2.jpg') no-repeat fixed center bottom;
    background-size: contain;
    font-weight: 300;
}
.modal-quote-bg {
    background: #9DB3DC;
}
@media (min-width: 786px) {
    body {
        font-size: 16px;
    }
}
body.plug_in {
    background: #aaa url(/static/img/plugin-body-bg.jpg) no-repeat fixed center center;
    background-size: cover;
}
a {
    color: #ED6A5A;
}
a:hover {
    color: #FF7361;
    cursor: pointer;
}
.text-light a {
    color: #fff;
}
.text-light a:hover {
    color: #fff;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #4A4A4A;
}
.text-blue {
    color: #9DB3DC;
}
.text-green {
    color: #7999BA;
}
h1, .h1 {
    font-size: 1.375em;
    color: #9DB3DC;
}
h2, .h2 {
    font-size: 1.25em;
}
h3, .h3 {
    font-size: 1.125em;
}
.btn {
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: box-shadow ease 0.3s,
                background-color ease 0.3s,
                color ease 0.3s;
}
hr {
    border: 3px solid #E6EBE0;
    margin-top: 15px;
    margin-bottom: 30px;
}
.btn:not(.btn-link):hover{
    box-shadow: 0 2px 6px 2px rgba(0,0,0,0.2);
}
.btn-primary {
    background-color: #ED6A5A;
    border-color: #ED6A5A;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active:hover {
    background-color: #FF7361;
    border-color: #FF7361;
}
.btn-default {
    color: #ED6A5A;
    background-color: #F8F8F8;
    border: 2px solid #ED6A5A;
}
.btn-default:hover, .btn-default:focus {
    color: #ED6A5A;
    background-color: #FFFFFF;
    border-color: #ED6A5A;
}
.btn-link {
    box-shadow: none;
    color: #ED6A5A;
    border-radius: 4px;
}
.btn-link:hover {
    color: #FF7361;
}
.text-light {
    color: #FFFFFF;
}
.text-highlight {
    color: #F4F1BB;
}
.panel-default .panel-heading {
    background-color: #E6EBE0;
}
.btn.btn-borderless {
    border-color: transparent;
}
.row-vertical {
    margin-top: 15px;
    margin-bottom: 15px;
}

.fmr-form  .btn-block {
    text-align: left;
}
.fmr-form .btn-block > span,
.fmr-form .btn-block > i {
    float: right;
}

.row-vertical:first-child {
    margin-bottom: 80px;
}
@media (max-width: 767px) {
    .row-vertical img {
        width: 100%;
        max-width: 600px;
    }
}
.landscape-callout {
    color: #E6EBE0
}
.landscape-heading {
    /*padding: 10px 0;*/
    line-height: 1;
    margin-top: 10px;
    font-size: 1.1em;
    color: #FFF;
    font-weight: bold;
}
.landscape-heading, .landscape-heading + p {
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 768px) {
    .landscape-heading {
        font-size: 1.625em;
    }
}
.landscape-heading span,
.landscape-callout span {
    color: #F4F1BB;
}
.section {
    padding-top: 30px;
    padding-bottom: 30px;
}
@media (min-width: 768px) {
    h1, .h1 {
        font-size: 1.9em;
    }
    h2, .h2 {
        font-size: 1.375em;
    }
}
.phone-format {
    white-space: nowrap;
}
.opacity-50 {
    opacity: .5;
}

/***********************************************************************************************************************
    MENU / NAVIGATION
***********************************************************************************************************************/
#menu {
    background: transparent;
    border: none;
    border-radius: 0;
    min-height: 56px;
    margin-bottom: 0;
}
    /* Brand / logo */
    #menu .navbar-brand {
        padding: 11px 15px;
        line-height: 34px;
        height: 56px;
    }
    #menu .navbar-brand img {
        height: 100%;
    }
    /* Nav mobile toggle */
    #menu .navbar-toggle {
        /*color: #fff;*/
        border: none;
        padding-top: 11px;
        padding-bottom: 11px;
    }
    #menu .navbar-toggle:hover {
        background-color: #8AA5CA;
    }
    #menu .navbar-toggle:focus {
        background-color: #7999BA;
    }
    #menu .navbar-toggle .icon-bar {
        background-color: #fff;
        height: 3px;
    }
        .plug_in #menu .navbar-toggle{
            background-color: #aaa;
        }


    /* Nav buttons */
    #menu .navbar-nav>li>a {
        font-size: 0.875em;
        color: #fff;
        font-weight: bold;
        margin: 16px 8px;
    }
    #menu .navbar-nav>.active>a {
        text-decoration: underline;
        background-color: transparent;
    }
    #menu .navbar-nav>li>a:not(.action-btn):hover {
        text-decoration: underline;
    }

    #menu .navbar-nav>li>a.action-btn {
        background-color: #f8f8f8;
        color: #FF7361;
        box-shadow: 0 1px 2px rgba(0,0,0,0.2);
        border-radius: 6px;
        transition: box-shadow ease 0.3s,
                    background-color ease 0.3s;
    }
    #menu .navbar-nav>li>a.action-btn:hover {
        background-color: #FFF;
        color: #FF7361;

        box-shadow: 0 2px 6px 2px rgba(0,0,0,0.2);
    }

    @media (min-width: 768px) {
        #menu {
            padding-top: 30px;
            padding-bottom: 30px;
        }
        #menu .navbar-brand {
            padding: 13px 15px;
            line-height: 54px;
            height: 82px;
        }
        .plug_in #menu .navbar-brand {
            padding-top: 0;
            padding-bottom: 0;
        }
        #menu .navbar-nav {
            float: right;
        }
        /*#menu .navbar-nav>li>a.action-btn {*/
            /*padding-left: 32px;*/
            /*padding-right: 32px;*/
        /*}*/
    }
    /* plug-in version styling */
    .plug_in #menu {
        background: #fff;
        box-shadow: 0 4px 0 rgba(255,255,255,0.25);
    }
    .plug_in #menu .navbar-nav>li>a {
        color: #888;
    }

.scroll-btn {
    position: fixed;
    bottom: 60px;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.scroll-btn button {
    border-radius: 16px;
    background: #7999BA;
    opacity: .70;
    color: #fff;
    border: 2px solid #fff;
    padding: 5px 10px;
    outline: none;
}
.scroll-btn button:hover {
    opacity: .90;
}


/***********************************************************************************************************************
    QUESTIONNAIRE
***********************************************************************************************************************/
#choices button {
    white-space: normal;
}

/***********************************************************************************************************************
    SPOTLIGHT
***********************************************************************************************************************/
#template.landscape {
    background: url(/static/img/landscape-header.png) center bottom no-repeat;
    background-size: contain;
    padding-bottom: 80px;
}
.plug_in #template.landscape {
    background: transparent;
}
#template:not(.landscape) {
    background: url(/static/img/page-tilt-top@2x.png) top left no-repeat;
    padding-top: 30px;
    background-size: 357px;
    background-position-x: 30px;
}
.wrap {
    padding-top: 20px;
}
#template:not(.landscape) .wrap {
    background: white;
    padding-top: 30px;
    padding-bottom: 30px;
}

.heading-container h1 {
    margin: 20px 0;
}
/*.heading-container .btn {*/
    /*margin-bottom: 20px;*/
/*}*/
.hr-dashed {
    margin-top: 30px;
    margin-bottom: 20px;
    border: 1px dashed rgba(255,255,255,0.4);
}

.heading-container {
    margin: 30px 0;
}

@media (min-width: 768px) {
    #template.landscape {
        padding-bottom: 240px;
    }
}

/***********************************************************************************************************************
    PANELS
***********************************************************************************************************************/

.fmr-form {

}

    .fmr-form .panel-body:first-child {
        padding: 30px;
    }

.panel-body-lg {
    padding: 30px;
}

.panel-container {
    padding: 25px 20px;
    margin-bottom: 20px;
    background: url('/static/img/panel-tilt-bg.png') top center no-repeat;
    background-size: 100% 100%;
}
.panel-container .panel {
    margin: 0;
    border-radius: 6px;
    border-color: transparent;
}

/***********************************************************************************************************************
    MODALS
***********************************************************************************************************************/

.modal-header span {
    color: #7999BA;
}

/* -- agent -- */
.agent-body {
    background-color: #E4EAF1;
}
	td.row-heading {
		font-weight: bold;
		color: #7999BA;
		background-color: #F5F5F5;
	}
	.modal-xl thead {
		background-color: #707070;
		color: #fff;
	}
	.modal-body table {
		margin: 0;
	}
	.modal-header .pager, .modal-title {
		display: inline-block;
		margin: 0;
	}
	.modal-header .pager {
		margin-left: 15px;
	}
	.modal-xl td:last-child:not(.row-heading) {
		color: #ED6A5A;
		font-weight: bold;
	}
	@media (min-width: 768px) {
		.modal-xl .modal-dialog {
			width: 690px;
		}
        .modal-container {
            width: 720px;
        }

        .modal-body {
            padding: 30px;
        }
	}
	@media (min-width: 992px) {
		.modal-xl .modal-dialog {
			width: 910px;
		}
        .modal-container {
            width: 940px;
        }
	}
	@media (min-width: 1200px) {
		.modal-xl .modal-dialog {
			width: 1110px;
		}
        .modal-container {
            width: 1140px;
        }
	}


/***********************************************************************************************************************
    HIGHLIGHTS
***********************************************************************************************************************/
#highlights {
    padding-top: 60px;
    padding-bottom: 140px;
    color: #FFF;
    background: #7999BA url('/static/img/landscape-footer.png') bottom left repeat-x;
    background-size: 225px;
}
#highlights h2 {
    color: #FFF;
}
#highlights p {
    color: #E4EAF1;
}

/***********************************************************************************************************************
    FOOTER
***********************************************************************************************************************/
#footer {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #F8F8F8;
}
@media (max-width: 767px) {
    #footer {
        padding-bottom: 200px;
    }
}
    #footer .copyright {
        margin-top: 10px;
        margin-bottom: 10px;
        padding-right: 20px;
    }


/***********************************************************************************************************************
    QUOTE TOOLBAR
***********************************************************************************************************************/
#toolbar {
    background-color: #7999BA;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 0 rgba(0,0,0,0.3);
}
    #toolbar label {
        color: #FFF;
    }
    #toolbar .btn-link {
        color: #FFF;
        text-decoration: underline;
    }

@media (min-width: 768px) {
    #toolbar .toolbar-bottom {
        margin-top: 15px;
    }
    #toolbar button#toggle_quote_options {
        display: none;
    }
}
.plug_in #toolbar {
    background-color: rgba(255,255,255,0.25);
}

/***********************************************************************************************************************
    QUOTES
***********************************************************************************************************************/
.quote-result {
    margin-bottom: 15px;
    background-color: #FFF;
    border-radius: 8px;
    box-shadow: 0 3px 0 #8AA5CA;
}
.plug_in .quote-result {
    box-shadow: 0 3px 0 rgba(0,0,0,0.2);
}
.quote-body {
    padding: 15px;
    border-bottom: 1px solid #E4EAF1;
    margin-bottom: 1px;
}

.quote-result .label-index {
    background-color: #6e6e6e;
    padding: 4px;
    display: block;
    width: 24px;
    text-align: center;
    margin: 4px auto 0;
}

.quote-price {
    font-size: .625em;
    text-transform: uppercase;
    font-weight: 700;
}
    .quote-price strong {
        color: #7999BA;
        font-size: 2em;
        vertical-align: middle;
    }
    .quote-price span {
        padding: 2px 8px 6px;
    }
    .quote-price .e-app-link {
        float: right;
    }
.quote-carrier {
    font-weight: 400;
}
.quote-ratings .btn-link {
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
    font-weight: 300;
    text-decoration: underline;
    color: #6E6E6E;
}
.quote-ratings .btn-link:hover {
    color: #8AA5CA;
}
.quote-ratings .star-tooltip {
    margin-left: -8px;
    padding-left: 8px;
    transition: background-color .3s ease;
}
.quote-ratings .star-tooltip:hover {
    background-color: #E6EBE0;
}
.quote-ratings .star-title {
    text-transform: uppercase;
    font-size: .75em;
    font-weight: 400;
}
.quote-ratings .star-rating {
    color: #7999BA;
}
.btn-quote {
    background-color: #E6EBE0;
    border-color: #E6EBE0;
    color: rgba(0,0,0,0.5);
    font-weight: bold;
}
.btn-quote:hover {
    color: rgba(0,0,0,0.9);
}
.btn-footer {
    width: 100%;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 0 0 rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .quote-price {
        text-align: center;
        font-size: .75em;
    }
    .quote-price span {
        display: block;
    }
    .quote-price .e-app-link {
        float: none;
    }
}

.quote-featured .label {
    display: block;
    padding: 15px 0;
    margin: 15px 0;
    border-radius: 20px;
    background: #D8D8D8;
    color: #9B9B9B;
}
.quote-featured img {
    margin: 8px 0;
    max-height: 60px
}
.carrier-ad-modal img {
    max-height: 215px;
}

/***********************************************************************************************************************
    AGENT PANEL
***********************************************************************************************************************/

#agents.fixable:not(.tutorial)  {
    position: relative;
}
@media (max-width: 767px) {
    #agents.fixable:not(.tutorial) {
        position: fixed;
        right: 0; bottom: 0; left: 0;
        background: #7A99B9ee url('/static/img/transparent-noise.png') repeat;
        border-top: 1px solid rgba(0,0,0,0.12);
        z-index: 10;
    }
}
.tutorial .disableFixedAgents {
    display: none !important;
}
.agents-shell {
    width: auto;
    overflow-y: hidden;
    bottom: 0;
    left: 0;
    right: 0;
}
@media (min-width: 768px) {
    .agent-shell {
        margin: 15px -15px;
        padding: 15px;
    }
}
.container-agents {
    display: table;
}
.container-agents-cell {
    display: table-cell;
    vertical-align: middle;
}
@media (max-width: 767px) {
    #agents:not(.tutorial) .container-agents-cell:last-child .panel-agent {
        margin-right: 15px;
    }
    #agents:not(.tutorial) .agents-shell .panel-agent {
        width: 400px;
        margin-left: 15px;
    }
    .tutorial .container-agents-cell,
    .tutorial .container-agents {
        display: block;
    }
}
.panel-agent {
    box-shadow: 0 3px 0 #8AA5CA;
    border-radius: 8px;
    margin-bottom: 15px;
}

.panel-agent .agent-img {
    width: 60px;
    height: 60px;
    margin: 0;
}
.panel-agent .col-xs-3 {
    padding-right: 0; /* a fix for image sizing */
}
.panel-agent .agent-name {
    font-size: 1em;
    margin-top: 0;
}
.panel-agent .agent-subhead {
    margin-bottom: 0;
    font-size: 0.875em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.panel-agent .agent-phone,
.panel-agent .agent-email {
    font-size: 0.875em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: inherit;
}
@media (min-width: 768px) {
    .panel-agent .agent-subhead {
        margin-bottom: 10px;
    }
}
.panel-agent .agent-action,
.panel-agent .agent-schedule {
    padding: 12px;
    float: right;
}
.panel-agent-block {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
#modal-agents {
    background-color: #9DB3DC;
}
#modal-agents .panel-agent {
    margin-left: auto;
    margin-right: auto;
    float: none;
}
#modal-agents .landscape-heading.text-right {
    text-align: center;
}
.btn-secondary {
    color: #FFF;
    border: 2px solid #FFF;
    background-color: #8AA5CA;
    box-shadow: 0 3px 0 #8AA5CA;
}
.btn-secondary:hover {
    color: #FFF;
    background-color: #7999BA;
}
.btn-text-light {
    color: #fff;
}
.btn-text-light:hover {
    color: #F4F1BB;
}
.btn-panel-agent {
    width: 300px;
    margin-left: 15px;
    line-height: 100px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.disableFixedAgents {
    font-size: 1em;
    line-height: 1;
    padding: 4px 15px;
}

@media (min-width: 768px) {
    .panel-agent {
        width: 100%;
    }
    .panel-agent .agent-img {
        width: 80px;
        height: 80px;
    }

    .panel-agent, .btn-panel-agent {
        margin-right: 0;
        float: right;
    }
    .container-agents, .container-agents-cell {
        /*clear: both;*/
        display: block;
    }
    .container-agents-cell:after {
        clear: both;
        display: table;
        content: " ";
    }
    .btn-panel-agent {
        line-height: normal;
        width: 100%;
        padding: 15px;
    }
}
/* todo: fix agent ad modal–– dont print in same section as ads themselves */
.modal-backdrop {
    z-index: auto;
}

.tutorial-bg {
    position: fixed;
    z-index: 999;
    background-color: rgba(0,0,0,0.85);
    top: 0; right: 0; bottom: 0; left: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

@media (max-width: 767px) {
    .tutorial .agent-header {
        display: block !important;
    }
}
