﻿/* 

    Custom CSS for A.E Robinson Oil Company.

*/

html {
    height: 100%;
    min-height: 100%;
}

body {
    height: 100%;
    min-height: 100%;
    margin: 0 0;
    padding: 0 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 175%;
    background-color: #000000;
    color: #FFFFFF;
}

/* The Form */

#frmMaster {
    background-color: transparent;
}

/* The Wrapper */

.header-wrapper {
    background-image: url('/images/layout/woods-and-mountains-gs.jpg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.color-bg .header-wrapper {
    background-image: url('/images/layout/woods-and-mountains.jpg');
}

/* The Header */

.header {
    background-image: url('/images/layout/header-overlay.png');
    background-position: bottom left;
    background-repeat: repeat-x;
}

.header-logo {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 40px;
    background-color: transparent;
}

.header-icons {
    font-size: 18px;
    color: #FFFFFF;
    line-height: 150%;
    text-align: right;
    background-color: transparent;
}

.header-icons > ul.list-inline {
    display: inline-block;
    margin: 0 0 0 auto;
}

.header-icons > ul > li {
    margin-left: 20px;
    text-align: center;
}

.header-icons i, .header-icons span {
    display: block;
}

.header-icons a, .header-icons a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.header-icons a:hover {
    color: #FFFFCC;
    text-decoration: none;
}

.header-menu {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    background-color: rgba(0, 0, 0, 0.60);
}

@media only screen and (max-width : 767px) {

    .header-wrapper {
        background-image: url('/images/layout/woods-and-mountains.jpg');
        background-position: top center;
        background-repeat: no-repeat;
        background-size: initial;
    }

    .header {
        background: none;
    }

    .header-logo {
        padding-left: 90px;
        padding-right: 90px;
        text-align: center;
    }

    .header-logo img {
        margin: 0 auto;
    }

    .header-menu {
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        background-color: #000000;
    }

    .header-icons {
        display: none;
    }

}

/* The Footer */

.footer {
    padding-top: 40px;
    padding-bottom: 40px;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 150%;
    text-align: center;
    background-color: #000000;
}

.footer a, .footer a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.footer a:hover {
    color: #FFFFCC;
    text-decoration: underline;
}

@media only screen and (max-width : 1100px) {

    .footer {
        font-size: 14px;
    }

}

/* Some general stuff. */

p {
    margin-bottom: 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

h1 {
    margin-top: 0;
    font-size: 160%;
    line-height: 100%;
}

h2 {
    font-size: 140%;
    line-height: 100%;
}

h2.bigger {
    font-size: 160%;
    line-height: 100%;
}

h3 {
    font-size: 120%;
    line-height: 100%;
}

ul, ol {
    margin-bottom: 20px;
}

hr {
    border-color: #CCCCCC;
}

.centered {
    margin-left: auto !important;
    margin-right: auto !important;
}

.flex-center {
    display: flex;
    align-items: center;
}

.shadow {
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
}

@media only screen and (max-width: 767px) {

    .flex-center {
        display: block;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1169px) {

    .hidden-spec {
        display: none;
    }

}

/* Nivo Slider */

.bigpicture {
    padding-bottom: 15px;
}

.slider-wrapper {
}

.slider-wrapper .nivoSlider {
    margin-bottom: 0;
}

.theme-default, .theme-default .nivoSlider {
    background-color: transparent;
    background-image: none;
}

.theme-default .nivo-controlNav {
    display: none;
}

.theme-default a.nivo-prevNav, .theme-default a.nivo-nextNav {
    background-image: url('/images/layout/arrows.png');
}

@media only screen and (max-width : 767px) {

    .bigpicture {
        padding-bottom: 0;
    }

    .bigpicture .container {
        margin: 0 auto;
        padding: 0 0;
    }

    .no-gutters .container .row {
        margin: 0 0;
        padding: 0 0;
    }

    .no-gutters .container .row .col-xs-12, .no-gutters .container .row .col-md-4 {
        margin: 0 0;
        padding: 0 0;
    }

}

/* Sections */

.section {
}

.section .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section .container > .row {
    margin-left: 0;
    margin-right: 0;
}

.section .container > .row:first-child > div > :first-child {
    margin-top: 0;
}

.section .container > .row:last-child > div > :last-child {
    margin-bottom: 0;
}

/* White Background */

.white-bg {
    color: #000000; 
    background-color: #FFFFFF;
}

.white-bg h1 {
    margin-top: 0;
    color: #000000;
}

.white-bg h2, .white-bg h3 {
    color: #000000;
}

.white-bg .container a, .white-bg .container a:visited {
    color: #DD0000;
    text-decoration: none;
}

.white-bg .container a:hover {
    color: #000099;
    text-decoration: none;
}

/* Dark Background */

.dark-bg {
    color: #FFFFFF;
    background-color: #202020;
}

.dark-bg h1 {
    margin-top: 0;
    color: #FFFFFF;
}

.dark-bg h2, .dark-bg h3 {
    color: #FFFFFF;
}

.dark-bg .container a, .dark-bg .container a:visited {
    color: #FFFFCC;
    text-decoration: none;
}

.dark-bg .container a:hover {
    color: #FFFF00;
    text-decoration: none;
}

.dark-bg .well {
    background-color: #333333;
    border-color: #444444;
}

    .dark-bg hr {
        border-width: 2px;
        border-color: #444444;
    }

/* Black Background */

.black-bg {
    color: #FFFFFF;
    background-color: #000000;
}

.black-bg h1 {
    margin-top: 0;
    color: #FFFFFF;
}

.black-bg h2, .black-bg h3 {
    color: #FFFFFF;
}

.black-bg .container a, .black-bg .container a:visited {
    color: #FF0000;
    text-decoration: none;
}

.black-bg .container a:hover {
    color: #0000FF;
    text-decoration: underline;
}

/* Blue Background */

.blue-bg {
    color: #FFFFFF;
    background-color: #31348E;
}

.blue-bg h1 {
    margin-top: 0;
    color: #FFFFFF;
}

.blue-bg h2, .blue-bg h3 {
    color: #FFFFFF;
}

.blue-bg .container a, .blue-bg .container a:visited {
    color: #FFFFCC;
    text-decoration: none;
}

.blue-bg .container a:hover {
    color: #FFFF00;
    text-decoration: underline;
}

/* Red Background */

.red-bg {
    color: #FFFFFF;
    background-image: url('/Images/Layout/red-grid.png');
    background-position: center bottom;
    background-repeat: repeat-x;
    background-color: #E62222;
}

.red-bg h1 {
    margin-top: 0;
    color: #FFFFFF;
}

.red-bg h2, .red-bg h3 {
    color: #FFFFFF;
}

.red-bg .container a, .red-bg .container a:visited {
    color: #FFFFCC;
    text-decoration: none;
}

.red-bg .container a:hover {
    color: #FFFF00;
    text-decoration: underline;
}

/* No Gutter */

.no-gutters {
    background-color: #242424;
}

.no-gutters .container-fluid {
    margin: 0 auto;
    padding: 0 0;
}

.no-gutters .container-fluid .row {
    margin: 0 0;
    padding: 0 0;
}

.no-gutters .container-fluid .row .col-xs-12, .no-gutters .container-fluid .row .col-md-4 {
    margin: 0 0;
    padding: 0 0;
}

/* Wide Photo */

.wide-photo img {
    width: 100%;
}

/* Fuel Prices */

.fuel-prices {
    text-align: center;
}

.fuel-prices table {
    margin: 0 auto;
}

.fuel-prices td {
    padding: 0 20px;
}

.fuel-prices .fuel-price {
    font-size: 180%;
    line-height: 100%;
    text-align: center;
}

.fuel-prices .fuel-price sup {
    top: -0.45em;
    margin-left: 2px;
    font-size: 60%;
}

.fuel-prices .fuel-name {
    font-size: 90%;
    line-height: 150%;
    text-align: center;
}

@media only screen and (max-width: 768px) {

    .fuel-prices .fuel-price {
        font-size: 120%;
        line-height: 100%;
        text-align: center;
    }

    .fuel-prices .fuel-name {
        font-size: 70%;
        line-height: 150%;
        text-align: center;
    }

}

/* Big Links on Home Page */

.biglinks h3 {
    margin-top: 0;
    margin-bottom: 5px;
    text-align: center;
}

.biglinks a:hover h3 {
    text-decoration: none;
}

@media (max-width: 768px) {

    .biglinks h3 {
        font-size: 14px;
        line-height: 100%;
    }

}

@media (max-width: 992px) {

    .biglinks img {
        margin-bottom: 20px;
    }
}

/* Service Plans */

.plans .plan {
    margin-bottom: 20px;
    padding: 20px 20px;
    background-color: #F8F8F8;
    border: 1px solid #F0F0F0;
}

.plans .plan:nth-child(2n+1) {
    background-color: #F0F0F0;
    border: 1px solid #D8D8D8;
}

.plans .new-plan {
    background-color: #d9ecff !important;
    border: 1px solid #7e93a8 !important;
}

.plans .plan h3.plan-title {
    margin-top: 0;
}

.plans .plan h3.plan-price {
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    line-height: 150%;
}

/* Heating Fuels */

.table-dark {
}

.table-dark thead th {
    background-color: #181818;
    border-color: #000000 !important;
}

.table-dark tbody tr:nth-child(2n) td {
    background-color: #181818;
}

.table-dark tbody tr td {
    border-color: #000000 !important;
}

/* Links Page */

.links {
    font-size: 14px;
    line-height: 125%;
}

.links .col-xs-12 {
    padding-bottom: 20px;
}

.links img {
    margin: 0 auto 5px auto;
    border: 1px solid #BBBBBB;
}

/* Contact Page */

.embed-google-map {
    height: 100%;
    padding-bottom: 33%;
    border-top: 1px solid #808080;
}

.embed-google-map iframe {

}

@media only screen and (max-width: 1200px) {

    .embed-google-map {
        padding-bottom: 42%;
    }

}

@media only screen and (max-width: 992px) {

    .embed-google-map {
        padding-bottom: 56%;
    }

}

@media only screen and (max-width: 768px) {

    .embed-google-map {
        padding-bottom: 75%;
    }

}

/* Forms */

fieldset {
    margin: 0 0 25px 0;
    padding: 20px 20px;
    background-color: #F8F8F8;
    border: 1px solid #CCCCCC;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

fieldset h2 {
    margin-top: 0;
    font-weight: bold;
    text-align: center;
}

fieldset h3 {
    margin-top: 0;
    font-weight: normal;
    text-align: center;
}

.checkbox input[type="checkbox"] {
    position: relative;
    top: 0;
    margin-right: 12px;
}

textarea {
    resize: none;
}

label {
    font-size: 16px;
    line-height: 150%;
}

/* Privacy Policy */

h2.priv-heading {
    text-decoration: underline;
}

/* Swiper */

@media(max-width:768px) {
    .swiper-button-next.swiper-button-white,
    .swiper-button-prev.swiper-button-white{
        display:none;
    }
}

.swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
}

/* Alert Bar */

.alert-bar {
    padding-top: 15px;
    padding-bottom: 15px;
    color: #FFFFFF;
    font-weight: bold;
    background-color: #CC0000;
}