/*!
Theme Name:   Masonic Child
Template:     masonic 
Theme URI: https://themegrill.com/themes/masonic/
Author:       ThemeGrill
Author URI: https://themegrill.com
Version: 1.3.8
Description:  This Child Theme Thanks.
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

IMPORTANT:
Read the instructions in https://github.com/webmandesign/child-theme/blob/master/readme.md
and rename CHILD_THEME_NAME and PARENT_THEME_SLUG in this file appropriately!
*/

/* Put your custom CSS styles below... */

/* TOP NAV */
.top_nav { background: #262626; padding: 10px 0;}
.top_nav .wrapper_in {
    display: grid;
    grid-template-columns: 118px 1fr;
}
.logo-img-holder.internal_logo img {
    height: 50px;
    width: auto;
}
.logo-img-holder.internal_logo {
    margin: 0;
}

.internal_nav ul { text-align: right; }
.internal_nav li {
    float: none;
    display: inline-table;
}
.wp-custom-header img {
    height: 100%;
    max-width: 100%;
    width: 100%;
}

.logo-img-holder img {
    height: 100px;
    width: auto;
}
.post {
    box-shadow: none;
}
.single_top {
    height: 400px;
    display: flex;
    background-size: cover;
    background-position: center center;
    align-items: center;
    position: relative;
    background-repeat: none;
}
.single_top h1 {
    color: #fff;
    border: none;
    margin: 0 10%;
    position: relative;
    z-index: 991;
    padding: 0;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    line-height: 55px;
}
.single_top:after {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    content: " ";
    background: rgba(0, 0, 0, 0.5);
}
.ms_meta {
    position:relative;
    z-index: 991;
    margin-bottom: 8px;
    text-align:center;
}
.ms_meta .entry-date,
.ms_meta .entry-author,
.ms_meta .entry-date,
.ms_meta .entry-tag { display:none; } 
.ms_meta .catagory-type {
    margin: 0;
}
.ms_meta .catagory-type a {
    margin: 0;
    color: #fff;
    font-size: 12px;
    background: #f36f20;
    border-radius: 50px;
    padding: 5px 20px;
}
.ms_date { color:#fff; font-size: 12px;}

.blog_detail {
    width:700px;
    margin: 0 auto;
}
.blog_detail .post { padding:0; }
.entry-info, .entry-content {
    line-height: 30px;
    padding: 0;
}
.hentry { margin: 0;}
.underline { background: none repeat scroll 0 0 #f36f20;}

.custom_footer {
    text-align: center;
    font-size:12px;
    color: #fff;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
    background: none repeat scroll 0 0 #f36f20;
    border: medium none;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    padding: 10px;
    border-radius: 50px;
    text-transform: uppercase;
    width: 100%;
}
.entry-content h2,
.entry-content h3 { font-weight:bold; color:#000; margin-bottom: 8px;}
.entry-content a { color:#f36f20; }
.entry-content iframe { width:100%; }
.post-navigation { margin:40px 0; }

#comments {
    padding:0;
    font-size:13px;
}
#comments h3 { font-size: 18px; }
#comments input,
#comments textarea {
    border: 2px solid #CCD1D9;
    border-radius: 5px;
}
.post {
    box-shadow: none;
    padding: 15px;
}
h2.entry-title {
    padding:0;
    margin-bottom: 25px;
    margin-top: 0px;
    border: none;
}
.entry-content {
    
}
.entry-info {
    line-height: 30px;
    padding: 10px 0;
    font-size: 12px;
}

.pagination ul {
    text-align:center;
    margin: 40px 0;
}
.pagination ul li {
    display: inline-table;
}
.pagination ul li a {
    display: flex;
    width: 30px;
    height: 30px;
    font-size: 14px;
    background: #E6E9ED;
    align-items: center;
    justify-content: center;
}
.pagination ul li.active a {
    background: #f36f20;
    color:#fff;
}
.archive_date {
    font-size: 12px;
    opacity:0.7;
    margin-bottom: 4px;
}
.entry-content a.button {
    margin: 0;
    color: #fff;
    font-size: 12px;
    background: #f36f20;
    border-radius: 50px;
    padding: 5px 20px;
}
.entry-content a.button:hover,
.pagination ul li a:hover,
.ms_meta .catagory-type a:hover {
    background:#1D1D1D;
    color: #fff!important;
 }
 a.custom-logo-link:focus { outline: none; }
 .masonic-search-toggle .masonic-search {
    border-bottom: 1px solid #333;
    margin: 0 auto 0;
    width: 85%;
    z-index: 999;
}
.masonic-search-toggle { height:108px; }
.masonic-search > input:focus; { color:#fff; }
.breadcrums { padding:8px 0; display:none; }
.detail_date {
    font-size: 12px;
    margin-bottom: 15px;
}
.nav-previous a,
.nav-next a {
    height: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}
.nav-next a span {
    position: absolute;
    right: 0;
    top: 0;
}
.nav-next a { 
    padding-right: 30px;
    text-align: right;
}
.nav-previous,
.nav-next { width:40%; }

.header-image {
	overflow: hidden;
	min-height: 100px;
	text-align: center;
	height: 230px;
}

@media only screen and (max-width: 980px) {
    .wp-custom-header img {
        max-width: 140%;
        width: 140%;
    }
    .logo-img-holder.internal_logo img {
        height: 35px;
        margin: 2px 5px;
    }
    .sb-icon-search {
        color: #fff;
        background: no-repeat;
        font-size: 17px;
    }
    .sb-icon-search, .sb-search-submit {
        width: auto;
        height: auto;
        display: block;
        position: absolute;
        right: 5px;
        top: -4px;
        padding: 0px;
        margin: 0px;
        line-height: 50px;
        text-align: center;
        cursor: pointer;
    }
    .navigation { height: 33px; }
    #masonic-toggle-label {
        position:absolute;
        right: 20px;
        left:auto;
        font-size: 22px;
        z-index: 99999;
    }
    .top_nav { padding:5px 0; }
    #masonic-toggle:checked ~ #masonic-toggle-label::before {
        background: none;
    }
    .internal_nav ul {
        padding: 25px;
    }
    #masonic {
        left: -110%;
        width: calc(100% - 430px);
    }
    #masonic-toggle:checked ~ #masonic-toggle-label {
        left: calc(100% - 70px);
    }
}

