/**
 * Theme Name: Ink - Child Theme
 * Theme URI: https://codestag.com/themes/ink
 * Author: Codestag
 * Author URI: http://codestag.com
 * Description: A Modern and Elegant Photography theme for WordPress.
 * Version: 1.3.2
 * License: GNU General Public License
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: stag
 * Domain Path: /languages/
 * Tags: Tags: theme-options, fluid-layout, editor-style, featured-images, translation-ready
 * Template: ink
 */

/**
 * Place Custom CSS Below this.
 */

.site-title {
	font-size: 1.5rem;
}

.textwidget, .entry-content, .page-content, .comment-content {
	font-size: 1.15rem;
}

.article-cover .entry-title {
  font-size: 70px;
  font-size: 4rem;
  line-height: 1.1;
}

@media screen and (max-width: 480px) {
  .article-cover .entry-title {
    font-size: 25px;
    font-size: 1.5rem;
  }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
  .article-cover .entry-title {
    font-size: 55px;
    font-size: 3.5rem;
  }
}
@media screen and (min-width: 650px) {
[data-layout="1-2-2-2"] .post-grid:first-of-type .entry-title {
font-size: 55px;
font-size: 3rem;
}
}

/* Borders on sides of the main page */
@media screen and (min-width: 1367px) {
body.home {
margin-left: 1px;
margin-right: 1px;
background-color: #ffffff;
}
}

.textwidget p, .textwidget ul, .textwidget dl, .textwidget table, .textwidget blockquote, .entry-content p, .entry-content ul, .entry-content dl, .entry-content table, .entry-content blockquote, .page-content p, .page-content ul, .page-content dl, .page-content table, .page-content blockquote, .comment-content p, .comment-content ul, .comment-content dl, .comment-content table, .comment-content blockquote {
	margin-bottom: 30px;
	margin-bottom: 1.5rem;
}

.entry-title {
	margin-top: 2rem;
}

.ram108-slink
{
font-size: 13px;
}

.single .entry-meta, .single .entry-footer, .single .post-navigation, .single .comments-area, .page .entry-meta, .page .entry-footer, .page .post-navigation, .page .comments-area, .page-content, .entry-content, .page-header, .ink-contact-form, .entry-footer-main {
max-width: 750px;
}

.page .entry-footer, .page .post-navigation, .page .comments-area, .page-content, .page .entry-content
{
max-width: 100%;
}

.page .site-header {
position: absolute;
}

.page .entry-header {
display: none;
}

.stag_widget_recent_posts_grid .entry-header{
display: inline;
}

.page .site-title, .page .site-description, .page .site-navigation-toggle {
color: #ffffff;
}

.post-grid {
  height: 350px;
  position: relative;
  border-bottom: 2px solid;
}

@media screen and (min-width: 650px) {
  [data-layout="1-2-1-2"] .post-grid:nth-of-type(3n+1) {
    height: 600px;
  }
  [data-layout="1-2-1-2"] .post-grid:nth-of-type(3n+1) .entry-title {
    font-size: 70px;
    font-size: 4.5rem;
  }
}


@media screen and (min-width: 650px) {
[data-layout="1-2-2-2"] .post-grid:first-of-type {
height: 500px;
}
}

.stag_widget_recent_posts_grid .entry-title {
  font-size: 26px !important;
  font-size: 1.5rem !important;
}

.stag_widget_recent_posts_grid .edit-link {
visibility: hidden;
}

.article-cover
{
  height:65vh;
  margin-bottom: 40px;
  margin-bottom: 2.5rem;

}

@media screen and (min-width: 650px) {
  .article-cover {
    min-height: 500px;
  }
}
.admin-bar .article-cover {
  height: calc(65vh - 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar .article-cover {
    height: calc(65vh - 46px);
  }
}

.entry-footer-main {
border-top: none;
border-bottom: 2px solid #333;
margin-top: 0px;
}

.stag-section {
 margin: 10px 0;
 margin: 0.5rem 0;
}

.wp-pagenavi
{
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
text-align: center;
}

/*---------------------------------------------------------
 Select (_scaffolding.scss)
-------------------------------------------------------- */
::-moz-selection {
  background-color: #ccccff;
  color: #13171a;
  text-shadow: none;
}

::-webkit-selection {
  background-color: #ccccff;
  color: #13171a;
  text-shadow: none;
}

::selection {
  background-color: #ccccff;
  color: #13171a;
  text-shadow: none;
}

/*---------------------------------------------------------
 1-3-3-3 
-------------------------------------------------------- */

@media screen and (min-width: 650px) {
  [data-layout="1-3-3-3"] .post-grid {
    display: inline-block;
    vertical-align: top;
    width: 33.3333%;
    float: left;
  }
}

/*for iPad vertical*/
@media only screen and (min-width : 650px) and (max-width : 1023px) {
  [data-layout="1-3-3-3"] .post-grid {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    float: left;
  }
}

[data-layout="1-3-3-3"] .post-grid:first-of-type {
  width: 100%;
  border-left: none !important;
}
  
@media screen and (min-width: 650px) {
  [data-layout="1-3-3-3"] .post-grid:first-of-type {
    height: 500px;
  }
  
  [data-layout="1-3-3-3"] .post-grid .entry-title {
  font-size: 1.5rem;
 }

  [data-layout="1-3-3-3"] .post-grid:first-of-type .entry-title {
    font-size: 70px;
    font-size: 3.5rem;
    margin-bottom: 20px;
    margin-bottom: 1.25rem;
    line-height: 1.2;
  }
}
[data-layout="1-3-3-3"] .post-grid:first-of-type .entry-subtitle {
  font-size: .36em;
  margin: 20px 0;
  margin:  1.25rem 0;
}
[data-layout="1-3-3-3"] .post-grid:first-of-type .entry-subtitle::after {
  top: 30px;
}
@media screen and (min-width: 650px) {
  [data-layout="1-3-3-3"] .post-grid:nth-of-type(3n+4) {
    border-left: 1px solid;
  }
  [data-layout="1-3-3-3"] .post-grid:nth-of-type(3n+2) {
    border-right: 1px solid;
  }
    [data-layout="1-3-3-3"] .post-grid:nth-of-type(3n+3) {
    border-right: 1px solid;
	border-left: 1px solid;
  }
}

/*for iPad vertical*/
@media only screen and (min-width : 650px) and (max-width : 1023px) {
  [data-layout="1-3-3-3"] .post-grid:nth-of-type(odd) {
    border-left: 1px solid;
	border-right: none;
  }
  [data-layout="1-3-3-3"] .post-grid:nth-of-type(even) {
    border-right: 1px solid;
	border-left: none;
  }
}

[data-layout="1-3-3-3"] .post-grid .entry-subtitle {
  font-size: .5666666em;
  margin: 10px 0;
  margin:  0.625rem 0;
}


[data-layout="1-3-3-3"] .post-grid .entry-subtitle::after {
  top: 20px;
}

/*Fix for iOS7 */

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) 
{
	.article-cover 
	{
		max-height: 300px;
	}
}