/**
    Linear by TEMPLATED
    templated.co @templatedco
    Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/

/**
* Modified 2019 by Steve Peck steve@stevepeck.co.uk
*/

/**
*  Loading Font Awesome from a seperate file
*  @charset 'UTF-8';
*  @font-face{font-family:'FontAwesome';src:url('font/fontawesome-webfont.eot?v=4.0.1');src:url('font/fontawesome-webfont.eot?#iefix&v=4.0.1') format('embedded-opentype'),url('font/fontawesome-webfont.woff?v=4.0.1') format('woff'),url('font/fontawesome-webfont.ttf?v=4.0.1') format('truetype'),url('font/fontawesome-webfont.svg?v=4.0.1#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}
*/

/*********************************************************************************/
/* Basic                                                                                                             */
/*********************************************************************************/

body
{
    margin: 0;
    padding: 0;
    background: #161616;
}

body,input,textarea,select
{
    font-family: 'Roboto', sans-serif;
    font-size: 11pt;
    font-weight: 300;
    line-height: 1.75em;
    color: #777;
    width: 100%;
}

input[type="submit"],
input[type="button"]
{
    width: auto;
}

input[type="radio"]
{
    max-width: 1em;
    max-height: 1em;
}

h1,h2,h3,h4,h5,h6
{
    font-weight: 300;
    color: #777;
    line-height: 1em;
}

h2
{
    letter-spacing: -0.025em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
{
    color: inherit;
    text-decoration: none;
}

strong, b
{
    font-weight: 500;
    color: #000000;
}

em, i
{
    font-style: italic;
}

a
{
    text-decoration: none;
    color: #80BA8E;
}

a:hover
{
    text-decoration: underline;
}

sub
{
    position: relative;
    top: 0.5em;
    font-size: 0.8em;
}

sup
{
    position: relative;
    top: -0.5em;
    font-size: 0.8em;
}

hr
{
    border: 0;
    border-top: solid 1px #ddd;
    margin: 6em 0 0 0;
    padding: 6em 0 0 0;
}

blockquote
{
    border-left: solid 0.5em #ddd;
    padding: 1em 0 1em 2em;
    font-style: italic;
}

p, ul, ol, dl, table
{
    margin-bottom: 1em;
}

header
{
    margin-bottom: 1.6em;
}

header h2
{
}

header .byline
{
    display: block;
    margin: 1.5em 0 0 0;
    padding: 0 0 0.5em 0;
}

footer
{
    margin-top: 1em;
}

br.clear
{
    clear: both;
}

.pennant
{
    color: #bbb;
}

/* Sections/Articles */

section,
article
{
    margin-bottom: 3em;
}

section > :last-child,
article > :last-child
{
    margin-bottom: 0;
}

section:last-child,
article:last-child
{
    margin-bottom: 0;
}

.row > section,
.row > article
{
    margin-bottom: 0;
}

/* Images */

.image
{
    display: inline-block;
}

img.adjust {
    max-width:100%;
    max-height:100%;    
}

.image img
{
    display: block;
    width: 100%;
}

.image.featured
{
    display: block;
    width: 100%;
    margin: 0 0 2em 0;
}

.image.full
{
    display: block;
    width: 100%;
    margin-bottom: 2em;
}

.image.left
{
    float: left;
    margin: 0 2em 2em 0;
}

.image.centered
{
    display: block;
    margin: 0 0 2em 0;
}

.image.centered img
{
    margin: 0 auto;
    width: auto;
}

/* Lists */

ul.default
{
    margin: 0;
    padding: 0em 0em 1.5em 0em;
    list-style: none;
}

ul.default li
{
    padding: 0.60em 0em;
    font-size: 0.95em;
    border-top: 1px solid;
    border-color: rgba(0,0,0,.1);
}		

ul.default li:first-child
{
    padding-top: 0;
    border-top: none;
}

ul.default {
}

ul.style li {
    margin: 0;
    padding: 2em 0em 1.5em 0em;
    border-top: 1px solid;
    border-color: rgba(0,0,0,.1);
}

ul.style li:first-child
{
    padding-top: 0;
    border-top: none;
}

ul.style img {
    float: left;
    margin-right: 20px;
}

ul.style a {
    color: #434343;
}

ul.style .posted {
    padding: 0em 0em 1em 0em;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 8pt;
    color: #A2A2A2;
}

ul.style .first {
    padding-top: 0px;
    border-top: none;
}


/* Buttons */

.button
{
    position: relative;
    display: inline-block;
    background: #80BA8E;
    padding: 0.8em 2em;
    text-decoration: none !important;
    font-size: 1.2em;
    font-weight: 300;
    color: #FFF !important;
    -moz-transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    -webkit-transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    -o-transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    -ms-transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    text-align: center;
    border-radius: 0.25em;
    cursor: pointer;
}

.button:hover
{
    background: #70AA7E;
    color: #FFF !important;
}
.button.small {
    font-size: 0.7em;
}
.button.alt {
    background-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(144, 144, 144, 0.25);
    color: #666f77 !important;
}
.button.alt:hover {
    background-color: rgba(144, 144, 144, 0.075);
}
.button.special {
    background-color: #629DD1;
    color: #ffffff !important;
}
.button.special:hover {
    background-color: #76a9d7;
}
.button.red {
    background-color: #fd495c;
    color: #ffffff !important;
}
.button.red:hover {
    background-color: #e30219;
}

/*********************************************************************************/
/* Social Icon Styles                                                            */
/*********************************************************************************/

ul.contact
{
    padding: 1.5em 0 0 0;
    list-style: none;
    cursor: default;
}

ul.contact li
{
    display: inline-block;
    margin: 0 1em;
}

ul.contact li span
{
    display: none;
    margin: 0;
    padding: 0;
}

ul.contact li a
{
    color: inherit;
    font-size: 1.75em;
    display: inline-block;
    -moz-transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    -webkit-transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    -o-transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    -ms-transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
    transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
}

ul.contact li a:hover
{
    color: #fff;
}

/*********************************************************************************/
/* Header                                                                        */
/*********************************************************************************/

#full-screen-bg,
#header
{
    position: relative;
    background: url(../linear/images/header.jpg) no-repeat bottom center;
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
}

#full-screen-bg:before,
#header:before
{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(64,64,64,0.125);
}

header.center {
    text-align: center;
}
/*********************************************************************************/
/* Logo                                                                          */
/*********************************************************************************/

#logo
{
    position: relative;
    z-index: 1;
}

#logo h1
{
    color: #FFF;
}

#logo a
{
    display: block;
    text-decoration: none;
    font-weight: 300;
    line-height: 1em;
    font-size: 7em;
    color: #FFF;
    letter-spacing: -0.05em;
    margin: 0 0 0.125em 0;
}

#logo span
{
    font-size: 1.4em;
    color: #FFF;
}
    
    /*********************************************************************************/
    /* Stars styling                                                  */
    /*********************************************************************************/
    #logo .tag a {
        font-size: 2em;
        letter-spacing: 0.25em;
    }
    .fa.fa-star-o,
    .fa.fa-star {
        color: gold;
    }
    .fa.fa-star-o:hover,
    .fa.fa-star:hover {
        color: darkgoldenrod
    }

/*********************************************************************************/
/* Nav                                                                           */
/*********************************************************************************/

#nav
{
}

#nav .logo {
    position: absolute;
    top: 1em;
    left: 0.5em;
    height: 70%;
    text-align: left;
    vertical-align: middle;
    z-index: 99999;
}

#nav-wrapper
{
    z-index: 999;
    background: rgba(0,0,0,.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

#nav-wrapper.scrolled {
    background-color: #355859;
}

#nav > ul
{
    margin: 0;
    padding: 0;
    text-align: center;
}

#nav > ul > li
{
    display: inline-block;
    border-right: 1px solid;
    border-color: rgba(255,255,255,.1);
}

#nav li.active,
#nav > ul > li:hover
{
    background-color: rgba(0,0,0,.1);
}

#nav > ul > li:last-child
{
    padding-right: 0;
    border-right: none;
}

#nav > ul > li > a,
#nav > ul > li > span
{
    display: inline-block;
    padding: 1.5em 1.5em;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1em;
    outline: 0;
    color: #FFF;
}

#nav li.active a
{
    color: #FFF;
}

#nav > ul > li > ul
{
    /*display: none;*/
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #355859;
    padding: 1em;
    border: 3px solid rgba(255,255,255,0.1);
    border-top: none;


    -webkit-transition: visibility 0.1s ease .1s, opacity 0.2s linear .1s;
    -moz-transition: visibility 0.1s ease .1s, opacity 0.2s linear .1s;
    -o-transition: visibility 0.1s ease .1s, opacity 0.2s linear .1s;
    -ms-transition: visibility 0.1s ease .1s, opacity 0.2s linear .1s;
    transition: visibility 0.1s ease .1s, opacity 0.25s linear .1s;
}
#nav > ul > li:hover > ul
{
    /* display: block;*/
    visibility: visible;
    opacity: 1;
}

#nav > ul > li:hover > ul > li {
    height: 2em;
}

#nav ul li ul li {
    color: white;
    background: inherit;
    position: relative;
    display: table;
    height: 0;
    width: 100%;
    left: 0;
    margin-left: 0px;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-transform: capitalize;
    text-decoration: none;
    text-align: left;

    -webkit-transition: height .5s ease .1s;
    -moz-transition: height .5s ease .1s;
    -o-transition: height .5s ease .1s;
    -ms-transition: height .5s ease .1s;
    transition: height .5s ease .1s;
}

#nav > ul > li:hover > ul > li a {
    height: 2em;
}

#nav ul li ul li a {
    color: white !important;
    height: 0;
    border-top: 2px !important;
    padding: 1.5em 1.5em;
    padding-top: 0px;
    letter-spacing: 0.06em;
    text-decoration: none;    
    -webkit-transition: all 1.5s ease .1s;
    -moz-transition: all 1.5s ease .1s;
    -o-transition: all 1.5s ease .1s;
    -ms-transition: all 1.5s ease .1s;
    transition: all 1.5s ease .1s;
}

#nav ul.user-info {
    background-color: white;
    border: solid 1px black;
}

#nav ul.user-info li a {
    color: black !important;
    font-size: 1.5em;
}

/*********************************************************************************/
/* Ticket notification in menu                                                                          */
/*********************************************************************************/
#nav .ticket-num {
    color: #ccd232;
}

/*********************************************************************************/
/* Main                                                                          */
/*********************************************************************************/

#main
{
    position: relative;
    background: #fff;
}

.homepage #content
{
    text-align: center;
}

.homepage #content header h2
{
}

#sidebar h2
{
    display: block;
    padding-bottom: 0.50em;
}

.content {
    margin-bottom: 1.6em;
}

.content h2 {
    font-size: 1.6em;
    padding-bottom: 0.50em;
}

.content h3 {
    font-size: 1.5em;
    padding-bottom: 0.30em;
}

div.span-list {
    display: block;
    flex-wrap: wrap;
    border: 1px solid lightgray;
    padding: 0.5em;
}

div.span-list span  {
    display: block;
    margin-left: 0.5em;
    list-style: none;
    padding: 0.5em;
}

/*********************************************************************************/
/* Footer                                                                        */
/*********************************************************************************/

#footer
{
    position: relative;
    text-align: center;
}

#footer header h2
{
    color: #FFF !important;
}

#footer header .byline
{
    color: rgba(255,255,255,.2);
}

/*********************************************************************************/
/* Copyright                                                                     */
/*********************************************************************************/

#copyright
{
    position: relative;
    text-align: center;
    color: #774535;
}

#copyright .container
{
    padding: 3em 0em;
    border-top: 1px solid;
    border-color: rgba(255,255,255,.05);
    color:  rgba(255,255,255,.1);
}

#copyright a
{
    text-decoration: none;
    color:  rgba(255,255,255,.2);
}

/*********************************************************************************/
/* Featured                                                                      */
/*********************************************************************************/

#featured
{
    position: relative;
    background: #f2f2f2;
    text-align: center;
}

#featured h3
{
    display: block;
    font-weight: 300;
}

#featured .pennant
{
    font-size: 4em;
}

#featured .button
{
    margin-top: 1.5em;
}

/*********************************************************************************/
/* Tweet                                                                         */
/*********************************************************************************/

#tweet
{
    position: relative;
    text-align: center;
    background: url(../linear/images/header.jpg) no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
}

#tweet:before
{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(64,64,64,0.5);
}

#tweet section
{
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: rgba(255,255,255,.1);
}

#tweet blockquote
{
    position: relative;
    border: none;
    margin: 0;
    font-weight: 300;
    color: rgba(255,255,255,.6);
}	

/*********************************************************************************/
/* Provider search filter area           */
/*********************************************************************************/

#all-filters {

    border: grey 1px solid;
    padding: 1em;
}

/*********************************************************************************/
/* Make a grid layout of sub divs           */
/*********************************************************************************/
div.flexi {
    /*
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    min-width: 200px;
    padding: 5px 0;
    */
    display: table;
}
div.flexi div {
    /*
    flex: 1 1 auto;
    text-align: left;
    margin: 0 -5px;
    */
    display: inline-block;
}

.provider span.label {
    padding: 0 1em;
    margin-right: 0.1em;
    border: 1px solid #aeaeae;
    border-radius: 5px;
    background-color: lightsteelblue;
    color: white;
}

div.grey-block
{
    padding: 1.5em;
    margin: .6em;
    background-color: #eee;
    text-align: center;
    border: 2px solid darkgray;
}

/*********************************************************************************/
/* Cut corners off div         */
/*********************************************************************************/
div.cut-corner {
    position: relative;
    height: 1em;
    width: 2em;
    border-left: 2px solid beige;
    overflow: hidden;
}
div.cut-corner:after,
div.cut-corner:before {
    position: absolute;
    content: '';
    width: calc(100% - 2px);
    left: 0px;
    z-index: -1;
}
div.cut-corner:before {
    height: 20%;
    top: 0px;
    border: 2px solid beige;
    border-width: 2px 3px 0px 0px;
    transform: skew(45deg);
    transform-origin: right bottom;
}
div.cut-corner:after {
    height: calc(80% - 4px);
    bottom: 0px;
    border: 2px solid beige;
    border-width: 0px 2px 2px 0px;
}
.cut-corner.filled:before, .cut-corner.filled:after {
    background-color: beige;
}
div.filled{
    color: black;
}

/*********************************************************************************/
/*   STYLING THE CALENDAR                */
/*********************************************************************************/

/* calendar adjust default styling */
#calendar {
    margin-bottom: 1em;
}
.fc table {
    margin-bottom: 0;
}
/*
.fc-body {
    display: inline-block;
    height: 25em;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
*/
/* Feedback for selected date/time slot */
div.selected-slot {
    display: none;
    position: fixed;
    background-color: lightblue;
    color: seagreen;
    top: 5em;
    left: 0;
    height: 4em;
    width:100%;
    text-align: center;
    vertical-align: middle;
    line-height: 4em;
    opacity: 0.9;
    z-index: 9;
}

/* calendar legend */
.legend {
    padding: 0;
}
.box {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    border: 1px grey solid;
    opacity: .3;
}
.box.available {
    background-color: white;
}
.box.unavailable {
    background-color: #8fdf82;
}
.box.today {
    background-color: #fcf8e3;
}
.legend .comment {
    margin-left: .5em;
}


