/*________ VARIABLES ________*/

:root {
    --sv-font-main: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    --sv-font-size-main-px: 14px;
    --sv-font-size-main-rm: 0.875rem;
    --sv-color-text: #1A202C;
    --sv-color-link: #718096;
    --sv-color-link-hover: #4A5568;
    --sv-color-heading: #4A5568;
    --sv-color1: #EDF2F7;
    --sv-color2: #E2E8F0;
    --sv-color3: #f0f6ff;
    --sv-color4: #cbd5e0;
    --sv-color-button: #4A5568;
    --sv-color-button-text: #FFF;
    --sv-color-button-hover: #646E81;
    --sv-color-button2: #E2E8F0;
    --sv-color-button2-text: #4A5568;
    --sv-color-button2-hover: #F1F5FB;
}

/*________ MAIN ELEMENTS ________*/

* {
    border: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
abbr[title],
acronym[title] {
    text-decoration: none;
}
html {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}

.ie * {

}
img {
    display: block;
    border: 0;
    position: relative;
}
img.animate {
    /*chrome fix for animations */
    -webkit-backface-visibility: hidden;
}
a { 
    outline: none;
    color: var(--sv-color-link); 
    text-decoration: underline;
    transition: all 0.15s linear;
}
a:hover { 
    color: var(--sv-color-link-hover);  
}
html {
    font-size: 100%;
}
body {
    font-size: var(--sv-font-size-main-px);
    font-size: var(--sv-font-size-main-rm);
    font-family: var(--sv-font-main);
    font-style: normal;
    font-weight: 400;
    background: #fff;
    text-align: left;
    color: var(--sv-color-text);
}
strong {
    font-weight: 700;
}

/*________ CONTENT ________*/

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    font-family: var(--sv-font-main);
    font-weight: 400;
    color: var(--sv-color-heading);
}
.content h1 {
    font-size: 2rem;
    padding-bottom: 2rem;
}
.content h2 {
    font-size: 1.625rem;
    padding-bottom: 1.25rem;
}
.content h3 {
    font-size: 1.375rem;
    border-bottom: 1px solid var(--sv-color2);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}
.content h4 {
    font-size: 1rem;
    padding-bottom: 0.25rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.content h5 {
    font-size: var(--sv-font-size-main-rm);
    padding-bottom: 0.25rem;
}
.content p {
    line-height: 1.5;
    padding-bottom: 0.875rem;
}

/*________ FORMS ________*/

form input[type="text"] {
    border: 1px solid #ccc;
    height: 2.25rem;
    box-sizing: border-box;
    padding: 0.5rem;
}

/*________ PROPERTY ________*/

.content {
    padding: 2rem 1rem;
}
.propertyDisplay {
    display: flex;
    align-items: center;
    margin-top: 1.25rem;
    background: #f1f1f1;
}
.propertyDisplay .propImgs img {
    max-width: 300px;
    height: auto;
}
.propertyDisplay .propSpecs {
    padding: 0 0 0 1.25rem;;
}
.propertyDisplay .propSpecs dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.propertyDisplay .propSpecs dl dt {
    font-weight: 700;
    margin-right: 0.25rem;
}
.propertyDisplay .propSpecs dl dd {
    margin-right: 2rem;
}

/*________ COSTS ________*/

.content .propertyPanel {
    margin: 1.25rem 0 0 0;
}
.content .propertyPanel fieldset {
    background: #f1f1f1;
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.content .propertyPanel fieldset label,
.content .propertyPanel fieldset input {
    width: 25%;
    flex-basis: 25%;
    margin: 0.5rem 0;
}
.content .propertyPanel fieldset label {
    text-align: right;
    padding-right: 1rem;
}
.content .propertyCosts .calculate {
    margin: 1.25rem auto;
    display: block;
    width: 100%;
}

/*________ MISC STYLES ________*/

.hide,
.contentArea .hide,
.contentArea .content .hide {
    display: none;
}
.animate,
.animate:hover,
.animate:focus,
.animate:active {
    transition: all 0.3s ease;
}

.svBtn {
    background: var(--sv-color-button);
    text-decoration: none;
    color: var(--sv-color-button-text);
    font-family: var(--sv-font-main);
    font-weight: 400;
    font-size: var(--sv-font-size-main-px);
    font-size: var(--sv-font-size-main-rm);
    padding: 0.625rem 1.75rem;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 0.25rem;
    display: inline-block;
    transition: all 0.3s ease; 
}
.svBtn.secondary {
    background: var(--sv-color-button2);
    color: var(--sv-color-button2-text); 
}
.svBtn.small {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}
.svBtn.large {
    font-size: 1rem;
    padding: 1rem 2.25rem;
}
.svBtn:hover {
    cursor: pointer;
    background: var(--sv-color-button-hover);
    text-decoration: none;
    color: var(--sv-color-button-text);
}
.svBtn.secondary:hover {
    background: var(--sv-color-button2-hover);
    color: var(--sv-color-button2-text);
}
.svBtn.icon {
    padding-left: 0;
    padding-right: 0;
}
.svBtn.icon img,
.svBtn.icon span {
    display: inline-block;
    vertical-align: bottom;
}
.svBtn.icon img {
    padding: 0 5px 0 10px;  
}
.svBtn.icon span {
    padding-right: 10px;  
}
.odd {
    background: var(--sv-color1);;
}
.black {
    color: #000;  
}
.uppercase {
    text-transform: uppercase;
}

/*________ SPINNERS ________*/

.content .prSpinner {
    height: 60px;
    width: 60px;
    position: relative;
    margin: 0 auto;
    -webkit-animation: prrotation .6s infinite linear;
    -moz-animation: prrotation .6s infinite linear;
    -o-animation: prrotation .6s infinite linear;
    animation: prrotation .6s infinite linear;
    border-left: 4px solid rgba(105, 105, 105, .15);
    border-right: 4px solid rgba(105, 105, 105, .15);
    border-bottom: 4px solid rgba(105, 105, 105, .15);
    border-top: 4px solid rgba(105, 105, 105, .8);
    border-radius: 100%;
}
.content .prSpinner.full {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    margin: auto;
}
.content .prSpinner.sm {
    height: 12px;
    width: 12px;
}
.content .loadWrap {
    position: relative;
    overflow: hidden;
}
.content .loadWrap .prSpinner {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

@-webkit-keyframes prrotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes prrotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes prrotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes prrotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}
