/*
 Theme Name:   generatepress-child
 Theme URI:    http://example.com/
 Description:  GeneratePress Child Theme
 Author:       Ze Li
 Author URI:   http://example.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  generatepress-child
*/

/* Footer stuff */

.site-info {
    display:none; 
}

h1.entry-title {
    display: none;

}



.footer-widgets {
    padding-top: 20px;
    padding-bottom: 20px;  
}

.footer-widget-1 p {
    margin-bottom: 0em;
}

/* Get the image and site title to look good on both big screen and small screens. */

.site-branding {
      display: inline-block;
      vertical-align: middle;
      height: 170px;
      width: 80%;
}

.site-logo {
      float: left;
      width: 20%;
      height: 170px;
      margin-bottom: 0px;
      vertical-align: middle;
}

/* Fancy stuff we dnot understand. */
p.main-title {
    font-size: 36px;
    position: relative;
    top: 50%; 
    transform: translateY(-60%);
    -webkit-transform: translateY(-60%);
}

.inside-header {
    padding-top: 10px; padding-bottom: 10px;  
    padding-right: 40px; padding-left: 40px;
    text-align: center;
    vertical-align: middle;
}

.Table {
    display: table;  
    border: 1px solid black;
    vertical-align: middle;
    }

.Title {
        display: table-caption;
        text-align: center;
        font-weight: bold;
        padding-top: 25px;
        border-top: 2px solid black;
        border-left: 2px solid black;
        border-right: 2px solid black;
        padding-bottom: 25px;
        }
.Heading {
        display: table-row;
        font-weight: bold;
        text-align: center;
        
         }
.Row {
        display: table-row;
        vertical-align: middle;
        }
.Cell {
        display: table-cell;
        padding-left: 5px;  
        padding-right: 5px;
        text-align: center;
        border-width: thin;
        border: 1px solid black;
        vertical-align: middle;
        padding-top: 10px;
        padding-bottom: 10px;
        }


@media screen and (max-width:768px) {
    p.main-title {
        font-size: 25px; /* this px should match px in non-media-query p.main-title */
    }

    .inside-header {
        padding-right: 20px;
        padding-bottom: 20px;
        padding-left: 20px;
    }

    .site-branding {
        height: 135px;
    }

    .site-logo {
        height: 135px;
    }

.Title {
        display: table-caption;
        text-align: center;
        font-weight: bold;
        padding-top: 25px;
        border-top: 2px solid black;
        border-left: 2px solid black;
        border-right: 2px solid black;
        padding-bottom: 25px;
        font-size: 14px;
        }
.Heading {
        display: table-row;
        font-weight: bold;
        text-align: center;
        font-size: 14px;
         }
.Row {
        display: table-row;
        vertical-align: middle;
        font-size: 14px;
        }
.Cell {
        display: table-cell;
        padding-left: 5px;  
        padding-right: 5px;
        text-align: center;
        border-width: thin;
        border: 1px solid black;
        vertical-align: middle;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 14px;
        }


}


@media screen and (max-width:550px) {
    .Title {
        display: table-caption;
        text-align: center;
        font-weight: bold;
        padding-top: 25px;
        border-top: 2px solid black;
        border-left: 2px solid black;
        border-right: 2px solid black;
        padding-bottom: 25px;
        font-size: 14px;
    }

    .Heading {
        display: table-row;
        font-weight: bold;
        text-align: center;
        font-size: 11px;
    }

    .Row {
        display: table-row;
        vertical-align: middle;
        font-size: 11px;
    }

    .Cell {
        display: table-cell;
        padding-left: 5px;
        padding-right: 5px;
        text-align: center;
        border-width: thin;
        border: 1px solid black;
        vertical-align: middle;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 11px;
    }
}