/*
Theme Name: wp-bootstrap
Theme URI: http://320press.com/wpbs
Description: A simple responsive theme based on the Bootstrap framework. Includes multiple page templates, two different sidebars and a theme options panel.
Version: 2.3.1
Author: 320press
Author URI: http://320press.com
Tags: black, white, one-column, two-columns, flexible-width, custom-background, custom-colors, custom-menu, full-width-template, theme-options
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/

/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
/* For modern browsers */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
    zoom: 1;
}

/* wp-specific classes */
.wp-caption {

}

.wp-caption-text {

}

.sticky {

}

.gallery-caption {

}

/* layout */

body {
    padding-top: 0;
    color: #666666;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    color: #666666;
}

/* Admin Top Navigation fixes */

body.admin-bar .navbar-fixed-top {
    top: 28px;
}

.navbar .brand {
    color: #000;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125);
    font-weight: bold !important;
}

.nav-container {
    padding-left: 0;
    padding-right: 0;
}

#inner-header {
    width: 100%;
}

.top-contact-box {
    padding-bottom: 0;
}

.top-contact-box ul {
    list-style: none;
    margin-bottom: 0;
}

.top-contact-box ul li:not(:last-child) {
    margin-bottom: 5px;
}

.contact-link-container {
    color: #666;
    font-size: 20px;
    line-height: 28px;
    vertical-align: middle;
}

.contact-link-container:hover .social-icon {
    background: bottom;
}

#menu-home {
    width: 100%;
    text-transform: uppercase;
}

input, textarea, select, .uneditable-input {
    margin-bottom: 0;
}

.navbar-form, .navbar-search {
    margin: 0 0 9px;
}

.navbar-search {
    padding-left: 0;
}

#s {
    width: 100px;
}

#content {
    padding: 10px 0 0;
}

.more-link {
    white-space: nowrap;
}

.footer-links {
    float: right;
    margin-bottom: 18px;
}

.footer-links .menu {
    list-style-type: none;
    margin-left: 0;
}

.footer-links .menu li {
    float: left;
    margin-left: 10px;
}

#inner-footer {
    background: #2d2d2d;
    padding: 10px;
}

/* post styling */

#main p.meta {
    font-style: italic;
    color: #808080;
}

#main article {
    margin-bottom: 18px;
    border-bottom: 1px solid #eeeeee;
    padding: 0 0 9px;
}

#main article footer {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
    position: relative;
    min-height: 20px;
}

#main article footer a.edit-post {
    position: absolute;
    right: 0;
    top: 0;
    display: none;
}

.post:hover a.edit-post {
    display: inline;
}

/* Shared Post Format styling */
article.format-quote footer.entry-meta,
article.format-link footer.entry-meta,
article.format-status footer.entry-meta {
    font-size: 11px;
    font-size: 0.785714286rem;
    line-height: 2.181818182;
}

#home-videos iframe {
    width: 100%;
    height: 300px;
}

#home-media-list .media-object {
    width: 150px;
    height: 100px;
}

#home-tel-bottom {
    font-size: 32px;
}

.center-block {
    display: table;
    float: none !important;
    margin-left: auto !important;;
    margin-right: auto !important;;
}

/* =Aside post format
-------------------------------------------------------------- */
#main article.format-aside {
    padding: 0;
}

article.format-aside h1 {
    margin-bottom: 24px;
    margin-bottom: 1.714285714rem;
}

article.format-aside h1 a {
    text-decoration: none;
}

article.format-aside h1 a:hover {
}

article.format-aside .aside {
    padding: 24px 24px 0;
    padding: 1.714285714rem;
    border-left: 22px solid;
}

article.format-aside p {
    font-size: 13px;
    font-size: 0.928571429rem;
    line-height: 1.846153846;
}

article.format-aside blockquote:last-child,
article.format-aside p:last-child {
    margin-bottom: 0;
}

article.format-aside footer.aside {
    padding: 24px 24px 0;
    padding: 1.714285714rem;
    border-left: 22px solid;
}

/* Image posts */
article.format-image footer h1 {
    font-size: 13px;
    font-size: 0.928571429rem;
    line-height: 1.846153846;
    font-weight: normal;
}

article.format-image footer h2 {
    font-size: 11px;
    font-size: 0.785714286rem;
    line-height: 2.181818182;
}

article.format-image footer a h2 {
    font-weight: normal;
}

/* Link posts */
article.format-link header {
    padding: 0 10px;
    padding: 0 0.714285714rem;
    float: right;
    font-size: 11px;
    font-size: 0.785714286rem;
    line-height: 2.181818182;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    color: #848484;
    background-color: #ebebeb;
    border-radius: 3px;
}

article.format-link .entry-content {
    max-width: 80%;
    float: left;
}

article.format-link .entry-content a {
    font-size: 22px;
    font-size: 1.571428571rem;
    line-height: 1.090909091;
    text-decoration: none;
}

article.format-link footer.entry-meta {
    clear: both;
}

/* Quote posts */
article.format-quote .entry-content p {
    margin: 0;
    padding-bottom: 24px;
    padding-bottom: 1.714285714rem;
}

article.format-quote .entry-content blockquote {
    display: block;
    padding: 24px 24px 0;
    padding: 1.714285714rem 1.714285714rem 0;
    font-size: 15px;
    font-size: 1.071428571rem;
    line-height: 1.6;
    font-style: normal;
}

article.format-quote .entry-content blockquote p:before {
    content: "\201C  ";
    font-size: 2rem;
}

article.format-quote .entry-content blockquote p:after {
    content: " \201D ";
    font-size: 2rem;
}

/* Status posts */
.format-status .entry-header {
    margin-bottom: 24px;
    margin-bottom: 1.714285714rem;
}

.format-status .entry-header header {
    display: inline-block;
}

.format-status .entry-header h1 {
    font-size: 15px;
    font-size: 1.071428571rem;
    font-weight: normal;
    line-height: 1.6;
    margin: 0;
}

.format-status .entry-header h2 {
    font-size: 12px;
    font-size: 0.857142857rem;
    font-weight: normal;
    line-height: 2;
    margin: 0;
}

.format-status .entry-header header a {
    color: #757575;
}

.format-status .entry-header header a:hover {
    color: #21759b;
}

.format-status .entry-header img {
    float: left;
    margin-right: 21px;
    margin-right: 1.5rem;
}

p.tags {
    line-height: 20px;
}

div[id*='attachment_'] {
    max-width: 100%;
    height: 100%;
}

#credit320 {
    background: url('images/320press_mini.png') no-repeat left top transparent;
    padding-left: 20px;
}

#main .hero-unit img {
    margin-bottom: 1em;
}

#main article img {
    height: auto;
    max-width: 100%;
}

img.alignleft {
    margin-right: 10px;
    float: left;
}

img.alignright {
    margin-left: 10px;
    float: right;
}

img.aligncenter {
    display: block;
    margin: 0 auto;
}

.post header img {
    margin-bottom: 18px;
}

.archive #main .post h3 {
    line-height: 24px;
    margin-bottom: 10px;
}

video {
    max-width: 100%;
    height: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper {
    width: 630px;
    max-width: 100%;
    margin-bottom: 18px;
}

/* page styling */

#featured-carousel .item {
    width: 970px;
    height: 600px;
}

.carousel-caption p {
    display: none;
}

.page-template-page-homepage-php #main article {
    border-bottom: none;
}

.page-template-page-homepage-php .hero-unit,
.blog .hero-unit {
    padding: 1em;
}

.hero-unit h1 {
    font-size: 3em;
}

/* comments */

#comments {
    line-height: 24px;
    margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children {
    list-style-type: none;
    margin-left: 0;
}

.comment .vcard > div {
    margin-top: 8px;
    padding: 0 10px;
}

ol.commentlist time {
    font-size: .8em;
    color: #eeeeee;
}

ol.commentlist div.comment-author {
    position: relative;
}

ol.commentlist a.comment-edit-link {
    color: #ffffff;
    text-decoration: none;
    padding-left: 5px;
}

ol.commentlist span.edit-comment {
    position: absolute;
    right: 0;
    top: 8px;
}

ol.commentlist li.bypostauthor {
    background-color: #dddddd;
}

ol.commentlist ul.children li {
    background-color: #cccccc;
}

ol.commentlist ul.children li ul.children li {
    background-color: #bbbbbb;
}

ol.commentlist ul.children li ul.children li ul.children li {
    background-color: #aaaaaa;
}

ol.commentlist article {
    border-bottom: none !important;
}

a.comment-reply-link {
    position: absolute;
    right: 0;
    bottom: 0;
}

#comment-nav ul {
    list-style-type: none;
    margin: 0;
}

#comment-form-elements {
    list-style-type: none;
    margin: 0;
}

.comment .vcard .avatar {
    padding-right: 0;
}

.comment .vcard .comment-text {
    margin-left: 0;
}

img.avatar {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #dedede;
    border-right: 1px solid #dedede;
    border-left: 1px solid #ddd;

}

ol.commentlist li {
    padding-right: 10px;
    background-color: #F0F0F0;
}

#pings {
    margin-bottom: 9px;
}

ol.pinglist {
    list-style-type: none;
    margin: 0 0 9px 0;
}

#comment {
    width: 270px;
}

ol.commentlist #respond {
    padding: 5px 10px;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img {
    max-width: 100%;
}

.ie8 #main .media-grid img {
    max-height: none !important;
    max-width: none !important;
}

.attachment-img {
    margin-bottom: 18px;
}

.metadata p.alert-message {
    margin-right: 0;
    margin-bottom: 18px;
}

#gallery-nav {
    list-style-type: none;
    margin-left: 0;
}

li.next a, li.previous a {
    position: relative;
}

li.next a:hover:before {
    content: "\2190";
    position: absolute;
    display: block;
    top: 42%;
    left: 0;
    background-color: #BFBFBF;
    color: #444;
    width: 20px;
    height: 20px;
    padding-left: 5px;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

li.previous a:hover:before {
    content: "\2192";
    position: absolute;
    display: block;
    top: 42%;
    right: 0;
    background-color: #BFBFBF;
    color: #444;
    width: 20px;
    height: 20px;
    padding-left: 5px;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

/* widget styles */

.widget {
    margin-bottom: 18px;
}

#page-contact .widget_nav_menu {
    display: none; /* Hide widget on contact page */
}

.widgettitle {
    margin-bottom: 9px;
}

.widget-footer .widgettitle {
    color: #42B3E5;
}

#tag-cloud {
    margin-bottom: 18px;
    line-height: 160%;
}

/* for some reason the bs version currently available for download doesn't have this style */
.label {
    text-transform: uppercase;
}

/* override standard link hover for the tag cloud widget */
#tag-cloud a:hover,
.tags a:hover {
    color: #ffffff;
    text-decoration: none;
}

#tag-cloud a {
    white-space: pre;
    text-transform: uppercase;
}

/* change default form padding for search */

.widget_search form {
    padding-left: 0;
}

.widget_search input {
    width: 121px;
}

/* calendar widget */

#calendar_wrap {
    border: 1px solid #ddd;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 5px;
}

#wp-calendar {
    width: 100%;

}

#wp-calendar caption {
    font-weight: bold;
    padding: 8px;
}

#wp-calendar tr {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#wp-calendar tr:last-child {
    border-bottom: none;
}

#wp-calendar td {
    text-align: center;
    padding: 8px 0;
}

blockquote.pull-left {
    padding-right: 15px;
}

@media only screen and (min-width: 768px) {
    .carousel-caption p {
        display: block;
    }
}

@media only screen and (min-width: 980px) {
    body {
        padding-top: 60px;
    }

    .container-fluid {
        max-width: 970px;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    #content {
        padding-left: 0;
        padding-right: 0;
    }

    .topbar-inner {
        padding: 0;
    }

    .topbar form.pull-right {
        float: right;
    }

    .navbar-form, .navbar-search {
        margin-top: 6px;
        margin-bottom: 0;
    }

    .navbar-search {
        padding-left: 0;
    }

    .sidebar {
        margin-top: 0 !important;
    }

    .widget_search input {
        width: 230px;
    }

    .blog .hero-unit {
        margin-top: 10px;
    }

    .page-template-page-homepage-php .hero-unit,
    .blog .hero-unit {
        padding: 60px;
    }

    .hero-unit h1 {
        font-size: 60px;
    }

    /* hide edit comment button and show on hover on desktop version */
    .edit-comment {
        display: none;
    }

    .vcard:hover .edit-comment {
        display: inline-block;
    }

    #s {
        width: 210px;
        margin-bottom: 6px;
    }

    .widget_search input {
        width: 209px;
    }

    .comment .vcard .comment-text {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ACF */
.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
    max-width: inherit !important;
}

/* New 2018 Styles */


/* Slider */

.soliloquy-container .soliloquy-caption {
    top: 40px!important;
    left: 40px!important;
    bottom: 40px!important;
    right: auto!important;
    width: calc(100% - 80px)!important;
    max-width: 500px;
    background: rgba(61, 142, 187, 0.7)!important;
    padding: 40px!important;
    display: flex;
    align-items: center;
}

.soliloquy-container .soliloquy-caption-inside {
    text-align: left!important;
    text-shadow: none!important;
    font-size: 24px!important;
    line-height: 1.4!important;
    padding: 0!important;
}

.soliloquy-container .soliloquy-caption-inside span {
    background: #3D8EBB!important;
    font-size: 16px!important;
    display: inline-block;
    padding: 10px 14px;
    margin-top: 24px;
}

@media screen and (max-width: 800px){
    .soliloquy-container .soliloquy-caption {
        top: 30px!important;
        left: 0px!important;
        bottom: 0px!important;
        right: 0px!important;
    }
}

@media screen and (max-width: 600px) {
    .soliloquy-container .soliloquy-caption {
        display: block!important;
        padding: 25px!important;
        width: 100%!important;
    }

    .soliloquy-container .soliloquy-caption-inside {
        font-size: 18px!important;
    }
}

@media screen and (max-width: 440px) {
    .soliloquy-container .soliloquy-item {
        height: 220px!important;
        overflow: hidden!important;
    }

    .soliloquy-container .soliloquy-image {
        height: 100% !important;
        width: auto!important;
        max-width: none!important;
        position: absolute!important;
        top: 0!important;
        right: 0!important;
    }

    .soliloquy-container .soliloquy-caption-inside {
        text-align: center!important;
    }
}



.am-button {
    display: inline-block;
    margin: 10px 0;
    background: #3d8ebb;
    padding: 12px 15px;
    color: #fff;
    transition: 300ms all;
}

.am-button:hover {
    background: #3156A3;
    color: #FFF;
    text-decoration: none;
}

.home h3 {
    margin-bottom: 20px;
}

.home h4 {
    font-size: 16px;
}

.appointment-blue-box p {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
}

.appointment-blue-box a {
    font-size: 30px;
    color: #FFF;
    margin-top: 20px;
    display: block;
}

.button-style-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.button-style-list li {
    min-width: calc((100% - 32px) / 3);
    width: calc((100% - 32px) / 3);
    margin: 0 16px 16px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.button-style-list li:nth-of-type(3n) {
    margin-right: 0;
}

.button-style-list a {
    box-sizing: border-box;
    color: #666666;
    position: relative;
    font-size: 14px;
    display: block;
    line-height: 1.2;
    background: #D0E5F1;
    padding: 12px 62px 12px 12px;
    height: 40px;
}

.button-style-list li a:after {
    content: ">>";
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    color: #FFF;
    background: #3D8EBB;
}

@media (max-width: 900px) {
    .button-style-list li {
        min-width: calc((100% - 32px) / 2);
        width: calc((100% - 32px) / 2);
    }

    .button-style-list li:nth-of-type(3n) {
        margin-right: 16px;
    }

    .button-style-list li:nth-of-type(2n) {
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .button-style-list li {
        min-width: 100%;
        width: 100%;
    }

    .button-style-list li {
        margin-right: 0 !important;
    }

    .hidden-mobile {
        display: none;
    }

}

.full-height-sub > div {
    height: 100%;
}

.make-it-easy {
    height: 100%;
    box-sizing: border-box;
}

.make-it-easy h3 {
    color: #FFF!important;
    line-height: 1.4;
}

@media screen and (max-width:767px) {

    .latest-news-wrap {
        display: none!important;
    }
}

.latest-news-row {
    display: flex;
    margin: 0 -8px;
}

.latest-news-col {
    flex: 0 0 33.333%;
    min-width: 33.333%;
    box-sizing: border-box;
    padding: 0 8px;
}

.latest-news-post {
    display: block;
    background: #F0F0F0;
    height: 100%;
}

.latest-news-post-info {
    padding: 20px;
}


.latest-news-post h3 {
    line-height: 1.25;
}

.clinic-details-map {
    height: 100%;
    background: #F0F0F0;
}

.clinic-details-map .textwidget {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}

.clinic-details-map .clinic-details,
.clinic-details-map .clinic-map {
    flex: 0 0 50%;
    min-width: 50%;
}

@media screen and (max-width:600px) {
    .clinic-details-map .clinic-details,
    .clinic-details-map .clinic-map {
        flex: 0 0 100%;
        min-width: 100%;
        min-height: 200px;
    }
}

.clinic-details-map .clinic-details {
    padding: 24px;
    box-sizing: border-box;
}

.clinic-details span {
    display: block;
}

.clinic-details .clinic-default {
    font-size: 16px;
}

.clinic-details .clinic-default em {
    font-size: 15px;
}

.clinic-details .clinic-big-blue {
    font-size: 22px;
    color: #3D8EBB;
    line-height: 1.2;
}

.clinic-details .clinic-large {
    font-size: 20px;
    margin-top: 30px;
    line-height: 1.2;
}


