/*
Theme Name:     Origami Child
Description:    Child theme for the Origami theme 
Author:         DBR
Author URI:     http://planbperformance.net/dan/blog
Template:       origami
Version:        0.1.0
*/

@import url("../origami/style.css");

body {
	font-family: "DejaVu Sans", Helvetica, "Helvetica Neue", Arial, Geneva, sans-serif;
	font-size: 14px;
	font-weight: 400;
}

//dan caption (attempt)
dancaption {
	font-size: 8px;}

.post .content {
	color: #505050;
	font-size: 14px;
	margin-bottom: 20px;

	/*Change standard margin for content 15%*/
	margin-left: 15%;
        margin-right: 15%;
}

h1.entry-title,
h1.archive-title {
	color: #333;
	/*font-family: "Dosis", Arial, Helvetica, Geneva, sans-serif;*/
	font-size: 2.2em;
	font-size: 20px;
	font-weight: 200;
	line-height: 1.25em;
	margin: 1em 0 0.4em 0;
	text-align: center;
}

/*No underlines for links*/
a {
        text-decoration: none;
}

/*Underline links when hovering over with mouse*/
a:hover {
        text-decoration: underline;
}

#footer-widgets {
	font-size: 0.9em;
}

#footer-widgets h2.widgettitle {
    font-family: Arial, Helvetica, Geneva, sans-serif;;
    font-size: 1.1em;
}

/*
iframe[src*=vimeo] {
    width: 600px;
    height: 400px;
}
*/


/*
Center table (works) and make the width responsive with page size change
*/
table.subpages-table {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-collapse: collapse;
    /*width: auto;*/
    width: 100%;
    overflow: scroll;
}


/*
Center text under images in works; make table cells (images and text) responsive with page size change
*/
td.subpages-cell {
    text-align: center;
    width: 33.33%;
}

img.subpages-image {
    width: 100%;
}

/*Change opacity of images when hovering over with mouse (works)*/
span.subpages-images-image:hover img{opacity: .5}

/*Change opacity of images again when clicking on them (works)*/
span.subpages-images-image:active img{opacity: .75}

/*Darken background behind text when hovering over with mouse (works)*/
p.subpages-text:hover {background-color: #f5f5f5}

p.subpages-text {
    /*Keep text centered under images*/
    margin-left: auto;
    margin-right: auto;

    /*Edit spacing between text and images (works)*/
    margin-top: 0px;
    padding: 15px 0px 15px 0px;

    /*Keep text from exceeding width of image*/
    max-width: 250px;
}


/*
Remove drop-down menu for works
*/
#menu ul li ul{ display:none;}
#menu:hover ul li ul{ display:none;}

/*
Custom margins for works page
*/
#works-content{
    margin-left: 10%;
    margin-right: 10%;
}

.imagect {display: none;}

/*
Exclude attachment images from search results.
*/
.search-results .main-image {
  display: none;
}

/*
Make margins for search-results same as rest of site.
*/
.search-results .page {
    margin-left: 15%;
    margin-right: 15%;
}

/*
Make video iframes responsive to page size change.
*/
.vid-container {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-bottom: 75%;
}
 
.vid-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}