/*
Theme Name: Cheme Consulting
Author: John Bard
Author URI: 
Description: Cheme Consultants custom theme - requires the Twenty Seventeen theme
Version: 0.8
Template: twentyseventeen
*/

html, body {
    height: 100%;
}
body {
    position: relative;
    padding-bottom: 40px;
}
#page {
    /* height: 100%; */
    min-height: 100%;
    overflow: inherit;
    margin-bottom: 40px;
    background-image: url(/wp-content/themes/cheme/images/grid-tile2.png);
    background-size: 7px;
}

    #cheme-logo {
        display: block;
        text-align: center;
        padding-right: 30px;
    }
/*  reduce logo size on page scroll */
.custom-logo-link img {
    max-height: 100px;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
.shrink .custom-logo-link img {
    max-height: 50px;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
.main-navigation {
    clear: none;
    display: inline-block;
    vertical-align: bottom;
}
#top-menu .nav-home {
    display: none;
}
.navigation-top a {
    color: #00a2e8;
    font-weight: bold;
		padding-bottom: 0;
}
.main-navigation a:hover {
    color: #00597F;
}
.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a {
    color: #FF3100;
}
/* hide mobile menu toggle */
.js .menu-toggle {
    display: none;
}
.site-content-contain {
    height: 100%;
    background-color: transparent;
}
#content {

    height: 100%;
}

/* no title on homepage */
.home header.entry-header {
    display: none;
}
.page .panel-content .entry-title, .page-title, body.page:not(.twentyseventeen-front-page) .entry-title {
    font-size: 1em;
    font-style: italic;
    text-align: center;
}
#content li {
    margin-left: 2em;
}
.home h3 > a {
    color: red;
    border-bottom: 1px solid;
    padding-bottom: 2px;
    box-shadow: none;
    -webkit-box-shadow: none;
    font-style: italic;
}
.home h3 > a:hover {
    box-shadow: none;
    -webkit-box-shadow: none;
    color: black;
}
.col-two-thirds {
    float: left;
    width: 55%;
    padding: 0 2% 2em 0;
    min-width: 320px;
}
.col-one-third {
    float: left;
    width: 32%;
    padding: 2em 0 2em 4%;
    min-width: 320px;
}
#caldera_form_1 {
    background: #0DA8D2;
    padding: 1em 0 1em 1em;
    border-radius: 5px;
}
#caldera_form_1 h2 {
    color: white;
    text-align: center;
}
#caldera_form_1 input[type="submit"] {
    background-color: forestgreen;
    color: white;
    margin: 0 auto;
    display: block;
    border-radius: 5px;
    font-weight: bold;
}
.site-footer {
    margin-top: 0;
    background: transparent;
    color: black;
    border: none;
}
#colophon .widget {
    padding-bottom: 1em;
}
#copyright-info {
    display: block;
    position: absolute;
    border-top: 1px solid #eee;
    height: 40px;
    bottom: -40px;
    padding-top: 10px;
    width: 100%;
}
.site-info {
    font-size: 10px;
    margin-bottom: 0em;
    padding: 0;
    text-align: center;
    width: 100%;
}
.site-footer .widget-area {
    padding-bottom: 0em;
    padding-top: 0em;
}
#colophon .wrap {
    max-width: 697px;
    padding: 0.3em 0;
}


.main-navigation {
    display: block;
    float: right;
    position: absolute;
    right: 0;
    bottom: 0;
}
@media screen and (max-width: 767px) {

    .custom-logo-link img {
        margin: 10px 0 0 2.5em;
    }
    /*** mobile nav ***/

    .main-navigation.toggled-on {
        clear: both;
        float: none;
        position: relative;
    }
    button.menu-toggle {
        font-size: 13px;
        margin-bottom: 0;
        padding: 10px;
        color: #1984BB;
        display: none;   /* hide toggle */
    }
    button.menu-toggle:focus {
        outline: none;
    }
    button.menu-toggle svg {
        font-size: 18px;
    }
    .toggled-on .menu-toggle .icon-close {
        display: inline-block;
    }
}   /* media max 48em */

@media screen and (min-width: 48em) {
    #cheme-logo {
        display: inline-block;
    }
    .navigation-top {
        top: 0;
        bottom: unset;
        position: fixed;
    }
    .navigation-top .wrap {
        max-width: 697px;
    }
    .main-navigation {
        clear: none;
        display: inline-block;
        vertical-align: bottom;
        position: relative;
        float: none;
        right: unset;
        bottom: unset;
    }
  	.main-navigation li {
      	border: 0;
      	display: inline-block;
    	  vertical-align: bottom;
  	}
  	.home #content {
  	    padding-top: 4em;
  	}
  	.site-content {
  	    padding: 10em 0 0;
  	}
    .page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
        margin-bottom: 0em;
    }
}

