/*
Theme Name: San Diego Tango Festival
Theme URI: https://www.sandiegotangofestival.com
Author: Kazimer Corp
Author URI: https://www.kazimer.com
Description: 2017 San Diego Tango Festival Theme
Version: 4.0
Template: twentyseventeen
Template Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
*/

@import url("../twentyseventeen/style.css");

/* Body */
body.home .entry-header {
    display: none;
    margin: 0;
}
h1, h2, h3, h4 {
    color: #333;
    font-family: "Exo 2", "Helvetica Neue", helvetica, arial, sans-serif;
}
ul, ol {
    margin: 0 auto 1.5em 1em;
}

/* Navigation */
.navigation-top {
    bottom: unset;
    top: 0;
}

/* Header */
.custom-header, .site-branding {
    margin-bottom: 0 !important;
}
body.has-header-image .site-title,
body.has-header-video .site-title,
body.has-header-image .site-title a,
body.has-header-video .site-title a {
    display: none;
}
body.has-header-image .site-description, body.has-header-video .site-description {
    color: #ffa24c;
    opacity: 1.0;
    text-shadow: 0 2px 5px #000;
    font-family: 'Exo 2', helvetica, arial, sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
}
body:not(.title-tagline-hidden) .site-branding-text {
    display: block;
}
.site-branding {
    margin-bottom: 0 !important;
    padding: 5em 2em 1em 2em;
}
.custom-logo-link img {
    display: block;
    max-height: 182px;
    width: auto;
}

/* Content */
.page.page-one-column:not(.twentyseventeen-front-page):not(.has-sidebar) #primary {
    max-width: 1000px
}
.clear-all {
    clear:both;
    display: block;
}
.site-content {
    padding-top: 2em;
}
.entry-header .entry-title {
    font-size: 32px !important;
    font-size: 2rem !important;
    margin-bottom: 0;
}
tr {
    border: none;
}

/* Sidebar */
.has-sidebar:not(.error404) #primary{
    float: left;
    width: 70%;
}
.has-sidebar:not(.error404) #secondary{
    float: right;
    width: 24%;
    margin: 15em auto 0 0;
}
.panel-content .wrap{
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* Photospace */
.photospace .pagination span.current {
    background-color: #000 !important;
    border-color: #000 !important;
}
.entry-content .photospace a {
    box-shadow: none !important;
}

/* Footer */
.site-info {
    display: none;
    visibility: hidden;
}

/* Screen size adjustments */
@media screen and (min-width: 30em) {
    img.alignleft, img.alignright {
        margin-top: 2em
    }
    .site-content .wrap {
        margin: 0 auto 0 0
    }
}
@media screen and (min-width: 48em) {
    body.home .site-content .wrap {
        margin: 0 8em
    }
    body:not(.home) .site-content .wrap {
        margin: 0 3em
    }
}
@media screen and ( min-width: 67em ) {
    body:not(.home) .site-content .wrap {
        margin: 0 8em
    }
}
@media screen and (max-width: 50em) {
    .has-sidebar:not(.error404) #primary{
        float: none;
        width: 100%
    }
    .has-sidebar:not(.error404) #secondary{
        float: none;
        width: 100%;
        margin: 0 auto;
        text-align: center
    }
    table {
        display:block;
    }
    tr, td {
        display:inline-block;
    }
    tr {
        clear: both;
        display: block;
    }
    th:first-child {
        text-indent:0;
        padding: 2px;
    }
    td:first-child {
        display:list-item;
        width: unset !important;
    }
    table.schedule span.room {
        display:none
    }
    th:empty, td:empty {
        display:inline-block;
    }
    th[colspan]:not([colspan="1"]), td[colspan]:not([colspan="1"]) {
        display:block;
        width:100%;
    }
    tr > td[colspan]:not([colspan="1"]) > hr {
        margin: 0 0 20px;
        padding: 0 90% 0 10%;
    }

    th p, td p {
        padding:0 !important;
    }
}