/*
Theme Name: Justice Index
Version: 1
Description: Justice Index theme for Wordpress
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: justiceindex
Theme URI:
*/

/* =WordPress Core
-------------------------------------------------------------- */

@media only screen and (min-width: 940px) {
#nav, #container, #access .menu-header, div.menu, #colophon, #branding, #main, #wrapper, #site-title {
width:100%;
max-width: 940px;
}

.holder_phone{
	display: none;
}

.alignnone {
    margin: 2% 4% 4% 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 2% auto 2% auto;
}

.alignright {
    float:right;
    margin: 2% 0 4% 4%;
}

.alignleft {
    float: left;
    margin: 2% 8% 8% 0;
}

.aligncenter {
    display: block;
    margin: 2% auto 2% auto;
}

a img.alignright {
    float: right;
    margin: 2% 0 4% 4%;
}

a img.alignnone {
    margin: 2% 4% 4% 0;
}

a img.alignleft {
    float: left;
    margin: 2% 4% 4% 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 94%; /* Image does not overflow the content area */
    padding: 2% 1% 5%;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 2% 4% 4% 0;
}

.wp-caption.alignleft {
    margin: 2% 4% 4% 0;
}

.wp-caption.alignright {
    margin: 2% 4% 4% 0;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky,
.bypostauthor{
	display:block;
}

.more-link{
	display: none;
}

.results-section .img-holder img {
    margin: 0;
}

.navigation{
    margin: 0 1% 5%;
}

.navigation li{
	padding: 0 2% 1% 2%;
}

.col-holder .col {
	margin: 0 0 24px 43px;	
}

#commentform label{
	margin: 0 12px;
	display: block;
}

#commentform input, #commentform textarea{
width: 385px;
}

#commentform #submit{
	width: auto;
}

}

/* main elements */


/* Tablet Settings */

@media only screen and (min-width: 481px) and (max-width: 959px) {
#nav, #access .menu-header, div.menu, #colophon, #branding, #main, #wrapper, #site-title {
width:96%;
}


#container {
width:96%;
}

.holder_phone{
	display: none
}


.components-section{
max-width:100%
height:auto
}

.issue-areas .sub-issues{
max-width: 100%;
clear: none;
}

.issue-areas .sub-issues .issue{
width: 100%;
clear: none;
}

.section-title{
max-width: 100%
}

.issue-areas .featured{
width: 100%
}

.promo{
max-width:118%
}

.text-block{
max-width:75%
}




.alignnone {
    margin: 2% 4% 4% 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 2% auto 2% auto;
}

.alignright {
    float:right;
    margin: 2% 0 4% 4%;
}

.alignleft {
    float: left;
    margin: 2% 8% 8% 0;
}

.aligncenter {
    display: block;
    margin: 2% auto 2% auto;
}

a img.alignright {
    float: right;
    margin: 2% 0 4% 4%;
}

a img.alignnone {
    margin: 2% 4% 4% 0;
}

a img.alignleft {
    float: left;
    margin: 2% 4% 4% 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 94%; /* Image does not overflow the content area */
    padding: 2% 1% 5%;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 2% 4% 4% 0;
}

.wp-caption.alignleft {
    margin: 2% 4% 4% 0;
}

.wp-caption.alignright {
    margin: 2% 4% 4% 0;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky,
.bypostauthor{
	display:block;
}

.more-link{
	display: none;
}

.results-section .img-holder img {
    margin: 0;
}

.navigation{
    margin: 0 1% 5%;
}

.navigation li{
	padding: 0 2% 1% 2%;
}

.col-holder .col {
	margin: 0 0 4 4%;	
}

.col{
max-width:80%
}

#commentform label{
	margin: 0 2%;
	display: block;
}

#commentform input, #commentform textarea{
width: 80%;
}

#commentform #submit{
	width: auto;
}



}

/* End Tablet Settings */


/* Phone Settings */

@media only screen and (max-width: 480px) {
#access .menu-header, div.menu, #colophon, #branding, #main, #wrapper, #site-title {
width:96%;
}

.excerpt{
display: none;
}

.box{
display: none;
}

.link-holder{
width: 90%
}

.holder{
display: none;
}

.holder_phone{
max-width: 90%;
}

.iframe{
max-width: 100%;
height: auto;
}

.drop-holder{
display: none;
}

.drop{
display: none;
}

.components-section{
max-width:100%
height:auto
}

.issue-areas .sub-issues{
max-width: 100%;
clear: none;
}

.issue-areas .sub-issues .issue{
width: 100%;
clear: none;
}

.section-title{
max-width: 100%
}

.issue-areas .featured{
width: 100%
}

.promo{
max-width:118%
}

.text-block{
max-width:75%
}


#nav{
display: none;
}

#container {
width:96%;
}

.alignnone {
    margin: 2% 4% 4% 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 2% auto 2% auto;
}

.alignright {
    float:right;
    margin: 2% 0 4% 4%;
}

.alignleft {
    float: left;
    margin: 2% 8% 8% 0;
}

.aligncenter {
    display: block;
    margin: 2% auto 2% auto;
}

a img.alignright {
    float: right;
    margin: 2% 0 4% 4%;
}

a img.alignnone {
    margin: 2% 4% 4% 0;
}

a img.alignleft {
    float: left;
    margin: 2% 4% 4% 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 94%; /* Image does not overflow the content area */
    padding: 2% 1% 5%;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 2% 4% 4% 0;
}

.wp-caption.alignleft {
    margin: 2% 4% 4% 0;
}

.wp-caption.alignright {
    margin: 2% 4% 4% 0;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky,
.bypostauthor{
	display:block;
}

.more-link{
	display: none;
}

.results-section .img-holder img {
    margin: 0;
}


.navigation{
    margin: 0 1% 5%;
}

.navigation li{
	padding: 0 2% 1% 2%;
}

.col-holder .col {
	margin: 0 0 4 4%
}

.col{
max-width:80%
}

#commentform label{
	margin: 0 2%;
	display: block;
}

#commentform input, #commentform textarea{
width: 80%;
}

#commentform #submit{
	width: auto;
}


}


/* End Phone Settings */
