/*

Theme Name: Dr Sam
Theme URI: http://appworkshop.net/
Author: The App Workshop
Author URI: http://appworkshop.net/
Description: Custom theme for Dr Sam
Version: 1.0.0

*/

@import url("mobile.css?v=1.11");

html {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #fff;
    /*background-color: #f6f6f6;*/
    height: 100%;
}

/*
 * Shortcode Styles
 * ----------------
 * 
 * Styles specific to shortcode components.
 */

.full-height {
    height: 100%;
    position: relative;
}

.img-header h1 {
    font-weight:700;
}

@media (min-width: 768px) {
    .full-height-fluid {
        height: 100% !important;
        position: relative;
    }

    .img-header h1 {
        font-size: 5em;
    }
}

.full-width {
    width: 100%;
    position: relative;
}

.img {
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
}

.img.cover {
    background-size: cover;
}

.img > img {
    opacity: 0;
    display: block;
    position: absolute;
    min-height: 100%;
    min-width: 100%;
}

.standout {
    background-color: #fff;
    padding: 20px 0;
    font-size: 1.3em;
    text-align: center;
}

/**
 * Content Separator
 */
.content-separator, .read-more, .read-less {
    display: none;
}

/*.questions {
    margin-bottom: 30px;
}

.question {
    display: block;
    position: relative;
    background-color: #00c0bf;
    height: 200px;
    color: #fff;
    text-transform: uppercase;
    padding: 20px;
    font-size: 1.3em;
    text-align: center;
}

.question-header {
    margin: 0 0 10px;
}

.question:focus:after {
    content: 'A.';
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    font-size: 2em;
    text-align: center;
    top: 0;
    left: 0;
    padding-top: 70px;
}*/

/*.answer .panel-heading {
    color: rgb(51, 51, 51);
    background-color: rgb(245, 245, 245);
    border-color: rgb(221, 221, 221);
}*/

.question {
    background-color: #00c0bf;
    min-height: 200px;
    color: #fff;
    text-transform: uppercase;
    padding: 40px 20px 20px;
    font-size: 1.4em;
    text-align: center;
}

.question:hover,
.question:active,
.question:focus,
.answer .panel-heading:hover,
.answer .panel-heading:active,
.answer .panel-heading:focus {
    background-color: #00b0af;
    cursor: pointer;
}

.answer {
    border: 1px solid #00c0bf;
    min-height: 200px;
    /*max-height: 200px;*/
    background-color: #fff;
}

.answer .panel-heading {
    background-color: #00c0bf;
    color: #fff;
    font-size: 1.2em;
    border-radius: 0;
}

.answer .panel-content {
    padding: 15px;
    max-height: 0px;
    overflow: scroll;
    transition: 0.3s max-height;
}

.hover .answer .panel-content {
    max-height: 156px;
}

.question h2 {
    margin: 0 0 10px;
}

.answer p {
    font-size: 1.1em;
}


/* entire container, keeps perspective */

.flip-container {
    perspective: 1000px;
    transform-style: preserve-3d;
    min-height: 200px;
    margin-bottom: 30px;
    z-index: 20000;
}

/* flip the pane when hovered */

/*.flip-container:hover .flipper,*/
.flip-container.hover .front {
    transform: rotateY(180deg);
    pointer-events: none; /* Stops mouse pointer coming through on safari (fixes scrollability) */
}

.flip-container.hover .back {
    transform: rotateY(0deg);
}

.flip-container,
.front,
.back {
    width: 100%;
}


/* flip speed goes here */

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}




/* hide back of pane during swap */

.front,
.back {
    backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
}


/* front pane, placed above back */

.front {
    z-index: 2;
    /* for firefox 31 */
    transform: rotateY(0deg);
}

/* back, initially hidden pane */

.back {
    transform: rotateY(-180deg);
}


/**
 * Gallery
 * -------
 */

.horizontal-gallery-container {
    margin-bottom: 30px;
}

/**
 * Next/Prev Buttons
 */

.btn-dir {
    position: absolute;
    top: 145px;
    display: block;
    font-size: 0;
    line-height: 0;
    height: 35px;
    width: 20px;
    cursor: pointer;
    z-index: 1001;
}

.btn-dir:before, .btn-dir:after {
    width: 20px;
    height: 20px;
    content: '';
    position: absolute;
    border-bottom: 2px solid #ff9933;
    z-index: 1001;
}

.btn-prev:before {
    transform: translateY(6px) translateX(7px) rotate(130deg);
    -webkit-transform: translateY(6px) translateX(7px) rotate(130deg);
    -moz-transform: translateY(6px) translateX(7px) rotate(130deg);
    -ms-transform: translateY(6px) translateX(7px) rotate(130deg);
    -o-transform: translateY(6px) translateX(7px) rotate(130deg);
}

.btn-prev:after {
    transform: translateY(8px) translateX(7px) rotate(50deg);
    -webkit-transform: translateY(8px) translateX(7px) rotate(50deg);
    -moz-transform: translateY(8px) translateX(7px) rotate(50deg);
    -ms-transform: translateY(8px) translateX(7px) rotate(50deg);
    -o-transform: translateY(8px) translateX(7px) rotate(50deg);
}

.btn-next:before {
    transform: translateY(6px) translateX(-7px) rotate(-130deg);
    -webkit-transform: translateY(6px) translateX(-7px) rotate(-130deg);
    -moz-transform: translateY(6px) translateX(-7px) rotate(-130deg);
    -ms-transform: translateY(6px) translateX(-7px) rotate(-130deg);
    -o-transform: translateY(6px) translateX(-7px) rotate(-130deg);
}

.btn-next:after {
    transform: translateY(8px) translateX(-7px) rotate(-50deg);
    -webkit-transform: translateY(8px) translateX(-7px) rotate(-50deg);
    -moz-transform: translateY(8px) translateX(-7px) rotate(-50deg);
    -ms-transform: translateY(8px) translateX(-7px) rotate(-50deg);
    -o-transform: translateY(8px) translateX(-7px) rotate(-50deg);
}

.btn-prev {
    left: 40px;
}

.btn-next {
    right: 40px;
}

/*
 * Customize Slick Slider styling (to match design spec)
 */

.slick-dots li button::before {
    opacity: 0.05;
}

.slick-dots li.slick-active button::before,
.slick-dots li.slick-active button:hover:before, .slick-dots li.slick-active button:focus:before {
    opacity: 0.15;
}

.slick-dots li button:hover:before, .slick-dots li button:focus:before {
    opacity: 0.10;
}

.slick-dots {
    z-index: 100;
}

.slick-slider {
    margin-bottom: 0px;
}

/**
 * Custom styles for the photos and header/caption areas
 */

.photo {
    height: 400px;
    width: 400px;
    display: inline-block;
    background-color: #123;
    color: #fff;
    line-height: initial;
    font-size: initial;
}

.double-photo {
    overflow: auto;
    white-space: nowrap;
    line-height: 0;
    font-size: 0;
}

.gallery-header {
    padding: 15px 0;
}

.gallery-header, .gallery-caption {
    background-color: #f6f6f6;
    text-align: center;
}

.gallery-header h2 {
    margin: 20px 0;
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-caption {
    padding: 55px 50px 35px;
    margin-top: -3px;
}

.gallery-caption, .gallery-caption p {
    font-size: 1.1em;
}

.photo-caption {
    padding: 10px;
    display: inline-block;
    background-color: rgba(255,255,255,0.3);
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    white-space: normal;
}

.slick-slide {
    transition: opacity ease 0.3s
}

.slick-slide.slick-active {
    border-bottom: 3px solid #ff9933;
}

.slick-slide:not(.slick-active) {
    opacity: 0.5;
}

/*   End Gallery   */


/*
 * General Theme Styles
 * --------------------
 *
 * Selectors in this section should be general references, not page or site specific.
 */

/**
 * Headings
 */

video.background { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover; 
}

h1, h2, h3 {
    font-weight: 700;
}

h4, h5, h6 {
    font-weight: 600;
}

h2 {
    font-size: 2em;
}

span.vertical-align {

}

/*.container, .row {
    background-color: #fff;
}*/

/**
 * Blog page / Post page - feature images
 */

@media (min-width: 992px) {
    img.post-feature {
        max-width: 600px;
    }
}

@media (max-width: 991px) {
    img.post-feature {
        max-width: 400px;
    }
}

article div.pull-right > img {
    margin-left: 30px;
}

article div.pull-left > img {
    margin-right: 30px;
}

/**
 * Post Content
 */

article:first-child {
    margin-top: 70px;
}

article {
    background-color:#f6f6f6;
    position: relative;
    margin-bottom: 70px;
}

article.post-single {
    margin-top: 70px;
}

article.post-single p {
    font-size: 1em;
}

.entry-header {
    padding: 30px 30px 0;
    font-weight: 600;
}

.entry-content {
    padding: 30px;
    font-size: 1.5em;
}

.entry-title {
    font-size: 2.6em;
    margin: 0;
}

.entry-date {
    font-size: 1.4em;
    margin-top: 10px;
}

.entry-header hr {
    width: 6em;
    border-width: 3px;
    border-color: black;
    margin: 30px 0 0;
    text-align: left;
}

article.post-single .post-feature {
    margin-left: 0;
    width: 100%;
    max-width: initial !important;
    margin-bottom: 30px;
}

/**
 * Typography, general text related customizations
 */

* {
    font-family: "proxima-nova", sans-serif;
}

.text-light {
    font-weight: 300;
}

.text-uppercase {
    text-transform: uppercase;
}

.color-black {
    color: black;
}

.color-white {
    color: #ffffff;
}

p {
    font-size: 1.2em;
}

h2 {
    margin: 10px 0 20px;
}

p a, p a:hover, p a:focus, p a:active, p a:visited {
    color: inherit;
    text-decoration: underline;
}

p a:hover, p a:focus, p a:active {
    opacity: 0.8;
}

/**
 * Primary Color
 */

.navbar-inverse .navbar-brand.color-orange,
.color-orange,
.question:focus:after {
    color: #ff9933;
}

/**
 * Customization of Bootstrap navbar
 */

.navbar {
    height: 81px;
    z-index: 100 !important;
    margin-bottom: 0 !important;
}

.navbar a.navbar-brand,
.navbar ul.nav > li > a {
    padding: 30px 15px;
}

.navbar .navbar-toggle {
    margin: 23px 15px 23px 0;
}

/* Navbar active item underlining */
.navbar .active > a:after {
    content:'';
    position:absolute;
    right:15px;
    left: 15px;
    bottom: 20px;
    border: 1px solid #fff;
}

.social-links a {
    margin-left: 15px;
    padding-bottom: 15px;
}

.social-links a:first-child {
    margin-left: 0px;
}

.social-links a:hover,
.social-links a:active,
.social-links a:focus {
    text-decoration: none;
    border-bottom: 2px solid #ff9933;
}

.social-links.top-right-corner {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    z-index: 10;
}

/**
 * Customization of Bootstrap layout
 */

.row {
    clear: both;
}

.row.no-padding {
    margin: 0;
    padding: 0;
}

.row.no-padding > div {
    padding: 0;
    height: 100%;
}

.navbar-inverse {
    background-color: #000;
}

/**
 * Misc
 */

table.table.table-borderless,
table.table.table-borderless td {
    border-top-style: none;
    border-left-style: none;
    border-right-style: none;
    border-bottom-style: none;
}

.form-control {
    border-radius: 0;
}

label {
    font-weight: 600;
}

.page-title {
    font-weight: 700;
    font-size: 4em;
}


/*
 * Custom Styles
 * -------------
 *
 * Selectors in this section can reference specific elements to whatever.
 * Save general selectors for the theme section if the style could be used in more than one place.
 */

/**
 * OVERLAY
 */

.overlay {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    overflow:scroll;
    background-color:rgba(0,0,0,0.6);
    z-index:0;
    display: flex;
    align-items: center;
}

.overlay-content {
    color: #fff;
    padding: 2em;
    font-size: 1.8em;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
}

.overlay-content > :first-child {
    margin-top: 0;
}

.overlay.hover {
    opacity: 0;
    transition: opacity 0.5s;
}

div:hover > .overlay.hover {
    opacity: 1;
}

.overlay.scroll {
    transition: 0.2s opacity;
}

.navbar.unsticky {
    margin: -80px 0 0;
}

.navbar {
    z-index: 100 !important;
}

.navbar.stickynavbar {
    border-radius: 0;
    top: 0;
    width: 100%;
    /*transform: translate3d(0px, 0px, 0px);*/
}

.navbar.stickynavbar .navbar-collapse.in,
.navbar.stickynavbar .navbar-collapse.collapsing,
.navbar .navbar-collapse.in,
.navbar .navbar-collapse.collapsing {
    background-color: #101010;
}

.navbar .active {
    color: #fff !important;
}

#home {
    background-image: url('library/img/home-page-1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#home h1 {
    margin-top: 0;
    position: relative;
    top: 40%;
    font-weight: 300;
    font-size: 5em;
}

#home h2 {
    position: relative;
    top: 40%;
    font-weight: 300;
    font-size: 2.5em;
    margin-top: 0.3em;
}

/**
 * Affiliations
 */

.affiliations {
    height: 250px;
    position:relative;
    padding:50px 0;
    background-color:black;
    text-align:center;
}

/**
 * Front page text next to profile pic
 */
.front-page-about-text {
    font-size: 3em;
    font-weight: 400;
    padding: 1em;
    max-width:100%;
}

/**
 * Vertical Align Stuff
 */

.vertical-align {
    height: 100%;
    align-items: center;
}

span.vertical-align,
p.vertical-align {
    display: inline-flex;
}

div.vertical-align {
    display: flex;
}


.text-center {
    /*height: 100%;
    display: inline-flex;
    align-items: center;*/
}

/**
 * Charity Work orange box (on about page)
 */

#charity-work-section {
    background-color: #ff9933;
    padding: 2em;
    color: #fff;
}

@media (min-width: 768px) {
    #charity-work-section {
        position: absolute;
        left: 100%;
        bottom: 0;
        width: 70%;
        overflow: scroll;
        max-height: 50%;
    }
}

@media (min-width: 992px) {
    #charity-work-section {
        width: 100%;
        height: auto;
    }
}

/**
 * Call to action box (on about page)
 */

#about-call-to-action {
    padding: 2em 0;
}

@media (min-width: 768px) {
    #about-call-to-action {
        margin-top: -200px;
        width: 100%;
        min-height: 30%;
        background-color: #fff;
        padding: 2em;
    }
}

/* Snake Call to action button / animation */

.btn {
    border-radius: 0;
    border: 2px solid transparent;
    font-weight: 600;
    text-decoration: none;

}

.btn-primary {
    background-color: #fff;
    color: #1f1f1f;
    border: none;
    transition: color 0.2s;
    transition: border-color 0.2s;
    transition: background-color 0.2s;
    border-color: #1f1f1f;
    border-style: solid;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:hover,
.btn-primary:active:focus {
    background-color: #fff;
    color: #ff9933;
    border-color: #ff9933;
}

.btn-primary.btn-orange {
    color: #ff9933;
    border-color: #ff9933;
    background-color: #fff;
    border-radius: 0;
    border-width: 2px;
    font-weight: 600;
}

.btn-primary.btn-orange:hover,
.btn-primary.btn-orange:focus,
.btn-primary.btn-orange:active,
.btn-primary.btn-orange:active:hover,
.btn-primary.btn-orange:active:focus {
    border-color: #ff9933;
    background-color: #ff9933;
    color: #fff;
}

/**
 * Footer
 */

#footer-logo {
    margin-top: 4em;
}

#footer-text {
    margin-top: 2em;
    margin-bottom: 4em;
}

/*.btn-snake {
    position: relative;
}

.btn-snake:before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -3;
    background-color: #1f1f1f;
}

.btn-snake:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: -2;
    background-color: #ff9933;
}

.btn-snake:hover:after,
.btn-snake:focus:after,
.btn-snake:active:after {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    animation: snake-after 0.8s 1 ease-in;
    -webkit-animation: snake-after 0.8s 1 ease-in;
}

@keyframes snake-after {
    0%   {top: -2px; right: 100%; bottom: 100%; left: 0px;}
    35%  {top: -2px; right: -2px; bottom: 100%; left: 0px;}
    49%  {top: -2px; right: -2px; bottom: 0px; left: 0px;}
    50%  {top: -2px; right: -2px; bottom: -2px; left: -2px;}
    100% {top: -2px; right: -2px; bottom: -2px; left: -2px;}
}

@-webkit-keyframes snake-after {
    0%   {top: -2px; right: 100%; bottom: 100%; left: 0px;}
    35%  {top: -2px; right: -2px; bottom: 100%; left: 0px;}
    49%  {top: -2px; right: -2px; bottom: 0px; left: 0px;}
    50%  {top: -2px; right: -2px; bottom: -2px; left: -2px;}
    100% {top: -2px; right: -2px; bottom: -2px; left: -2px;}
}

.btn-snake:hover:before,
.btn-snake:focus:before,
.btn-snake:active:before {
    animation: snake-before 0.8s 1 ease-out;
    -webkit-animation: snake-before 0.8s 1 ease-out;
}

@keyframes snake-before {
    0%   {top: -2px; right: -2px; bottom: -2px; left: -2px; z-index: -3}
    49%  {top: -2px; right: -2px; bottom: -2px; left: -2px; z-index: -3}
    50%  {top: 0px; right: 0px; bottom: -2px; left: -2px; z-index: -1}
    85%  {top: 0px; right: 100%; bottom: -2px; left: -2px; z-index: -1}
    100% {top: 0px; right: 100%; bottom: 100%; left: -2px; z-index: -1}
}

@-webkit-keyframes snake-before {
    0%   {top: -2px; right: -2px; bottom: -2px; left: -2px; z-index: -3}
    49%  {top: -2px; right: -2px; bottom: -2px; left: -2px; z-index: -3}
    50%  {top: 0px; right: 0px; bottom: -2px; left: -2px; z-index: -1}
    85%  {top: 0px; right: 100%; bottom: -2px; left: -2px; z-index: -1}
    100% {top: 0px; right: 100%; bottom: 100%; left: -2px; z-index: -1}
}*/



