/*
Theme Name: Vermont for Single Payer
Author:Michael Levy, michael.levy.vt@gmail.com
*/

/* container */

@media (min-width: 1200px)
.container {
    max-width: 1140px;
}
@media (min-width: 992px)
.container {
    width:90%;
}
@media (min-width: 768px)
.container {
   width:90%;
}

.container {
    width:90%;
}
.container {
    width:90%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.navbar-collapse {
	position:relative;
}

.navbar .row {
    width: 100%;
    justify-content: space-between;
}

div#navbarCollapse a {
    font-size: 1.15rem;
}

ul#menu-menu-2 {
  width:100%;
  padding:0px;
  text-align:justify;
  margin-bottom:0;
}

ul#menu-menu-2:after {
  content: "";
  display: inline-block;
  width: 100%;
}

ul#menu-menu-2 li {
  list-style:none;
  display:inline-block;
}

#menuMenu {
    display:none;
}

#mobileMenu ul ul {
    margin: 0;
    list-style: none;
    padding: 0;
    width:100%;
}

#mobileMenu ul li a {
    line-height:200%;
    display:block;
}

#mobileMenu ul ul a{
    color:#74787b;
}



@media (max-width: 1225px){
    font-size: 1.5vw;
}

.nav-link {
    padding: 0;
}

ul#menu-menu-1 {
    justify-content: space-between;
    width: 100%;
}

div#navbarCollapse {
    width: calc(100% - 220px);
    max-width:850px;}

nav .connect {
	position:absolute;
	top:0;
	right:0;
}

nav .connect a {
	color:#bbbcbd;
	display:inline-block;
	margin-left:20px;
}

#toggle, #mobileMenu {
    display:none;
}


/*mobile collapse */

@media (max-width:1200px){

   .navbar-expand-md .navbar-collapse {
        display:none !important;
   }

   #toggle {
        display:block;
        position:absolute;
        right:0;
        top:15px;
        font-size: 1.75rem;
        color: black;
    }

    #mobileMenu {
        display:block;
        text-align:center;
        position:fixed;
        top:0;
        left:0;
        height:100%;
        width:100%;
        padding:30px 0;
        background:white;
        z-index:9;
        opacity:0;
        transition:opacity .2s;
        z-index:-1;
    }



    #mobileMenu.open {
        display:block;
        opacity:1;
        z-index:999;
    }

    #mobileMenu ul {
        margin:40px auto;
        width:90%;
    }

    #closeMenu {
       font-size: 1.75rem;
        color: black;
        display:block;
        margin:auto;
    }


}

.dropdown-item.active, .dropdown-item:active {
    background-color: rgb(116, 120, 123);
}

/*
@media (min-width: 768px and max-width:100px)  {
  html .navbar-expand-md .navbar-collapse {
      display: none !important;
  }
}


*/

#pageHeader {
	background:#57bd7b;
	color:white;
	padding:20px 0;
}

#pageHeader h1 {
	margin:0;
}

#panel {
	background:url('img/banner2.jpg') center center;
	width:100%;
	height:500px;
	min-height:500px;
	background-size:cover;
	display:block;
	position:relative;
}

#panel .shadowStrip {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:30px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+99&0.65+0,0+100 */
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.01) 99%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.01) 99%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.01) 99%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
	z-index:1;

}

#panel .shadowStrip.bottom {
	position:absolute;
	bottom:0;
	top: auto;
	left:0;
	height:30px;
	z-index:1;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.5+100 */
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#80000000',GradientType=0 ); /* IE6-9 */
}


a {
	color:#57bd7b;
	font-weight:bold;
}

#signupform {
	background:rgba(187,188,189,.95);
	padding:0 0 10px;
}

#signupform legend {
	font-size:1em;
	margin:0;
}

#signupform input {
	padding:3px 5px;
	border:0;
	border-radius:5px;
    width:150px;
    margin-right:5px;
}

#signupform p {
    margin:0;
}

#signupform input[type='email']{
    width:220px;
}

#signupform input[type='submit']{
	background:#ca3233;
	color:white;
	padding:3px 15px;
  width:auto;
}

.memberCode{display:none;} /*SalsaLabs*/

#bottom_icon_menu {
    display:flex;
    background:#fff;
    position:fixed;
    bottom:-100%;
    left:0;
    padding:10px 0;
    width:100%;
    border-top:solid 1px #ddd;
    z-index:999;
    transition:bottom 1s;
}



    #bottom_icon_menu a {
         text-align:center;
         display:inline-block;
         font-size:.8rem;
         flex:1;

    }

    #bottom_icon_menu a i {
        display:block;
        margin:5px auto;
        font-size:1rem;
    }


@media (max-width:1200px ){
    #bottom_icon_menu {
        bottom:0;
    }
}

@media (max-width: 990px ){

   #signupform input,
   #signupform input[type='email'] {
    	padding:3px 1%;
    	border:0;
    	border-radius:5px;
        width:47.5%;
        margin-right:0;
        margin-bottom:15px;
  }

  #signupform input:nth-child(even) {
    margin-left:2%;
  }

  #signupform input[type='submit']{
    width:100%;
  }


}

#panel a:hover {
	text-decoration:none;
	border-bottom:dotted 1px white;
}

#panel aside {

	color:white;
	position:absolute;
	bottom:0;
	right:0;
	/*height:100%;*/

	/*max-width:30%;*/
	z-index:2;
}

#panel .principal   {
    background:rgba(87,189,123,.9);
    padding:20px 30px;
}

#panel .alert   {
    background:rgba(202,50,51,.9);;
    padding:10px 30px;
    border-radius:0;
    margin:0;
    font-size:130%;
}



#panel aside a {
	color:white;
	font-weight:normal;
	display:inline-block;
	margin-right:40px;
	padding-bottom:2px;
	border-bottom:dotted 1px transparent;
}

#panel aside p {
	font-size:130%;
	margin-bottom:0;
}

main {
	margin:50px 0;
}

#normalContent {
	max-width:800px;
}

main h2 {
	font-size:1.5rem;
	margin-top:20px;
	margin-bottom:10px;
}

h3.entryTitle {white-space: nowrap; overflow: hidden; position:relative;}
h3.entryTitle:after {
    content:' ';
    position:absolute;
    right:0;
    top:0;
    width:10%;
    height:100%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
    background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */

}

footer.layout {
	background:#bbbcbd;
	color:#212529;
}

footer.layout ul{

	column-count: 1;
	list-style:none;
	padding:0;
	margin:0;
}

@media (max-width:600px) {
  footer.layout ul{
    column-count:1 ;
    margin-top:20px;
  }
}

footer.layout ul ul{

	column-count: 1;

}

footer.layout ul ul a {
	font-weight:normal;
}

footer.layout a {
	color:#212529;
}

footer.layout .connect a{
	display:inline-block;
	margin-right:10px;
}

.copyright {
	padding-top:40px;
}

time {
	font-weight:bold;
	margin-bottom:10px;
}

.readmore {
	color:black;
}

 a:hover {
	color:#ca3234;
	text-decoration:none;
}

#featureLinks {
	border-top: solid 1px #ccc;
}

#featureLinks {
	width:100%;
	position:absolute;
	bottom:0;
	right:0;
	display:flex;
	justify-content:space-between;
}

#featureLinks a{

	color:#74787b;
	padding:10px 0;
	display:inline-block;

}

article.shortForm {
	padding-bottom:20px;
}

.shortForm time {
	border-right:solid 1px #777;
	padding-right:15px;
	margin-right:15px;
}

.seeAll {
	/*border-top:solid 1px #777;*/
	padding-top:20px;
	/*padding-bottom:10px;*/
}

.seeAll a{
	color:black;
}

h3 {
	font-size:1.3rem;
}

#pagination {
	padding-top:30px;
}
#pagination a {
	background:#777;
	color:white;
	padding:10px 20px;
}

/* Timeline */

.timelineRow {
	display:flex;
	margin-bottom:10px;
}

.timelineRow .date {
	min-width:120px;
	background:#bbbcbd;
	color:white;
	padding:10px;
}

.timelineRow .year {
	font-size:2em;
}

.timelineRow .month {
	font-size:1.25em;
}

.timelineRow .copy {
	width: calc( 100% - 140px);
	padding:10px;
}

.timelineRow p {
	line-height:100%;
}

.timelineRow h2 {
	margin-top:0;
	font-size:1.25em;
}

@media(max-width:600px){

    .timelineRow .date:after {
        content:" ";
        display:block;
        clear:both;
    }

    .timelineRow {
        display:block;
    }

    .timelineRow .year {
        margin-right:20px;
    }

    .timelineRow .year, .timelineRow .month {
        float:left;
        font-size:1.5rem;
    }

    .timelineRow .month {
        font-style:italic;
    }

    .timelineRow .copy {
        width:100%;
    }
}

/* Testify Form */

#testifyForm textarea {
    width:90%;
    max-width:800px;
    height:200px;
    padding:3px;
    font-family: "Segoe Script", -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"
}

#testifyForm input {
    margin:0 5px;
    padding:3px;
    width:190px;
     font-family: "Segoe Script", -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

/* actions */

#searchLegislators {
	background:#57bd7b;
	padding:20px 30px 30px 30px;
	border-radius:20px;
}

#searchLegislators legend {
	color:white;
	margin:0 0 10px 0;
	line-height:100%;
	padding:0;
}

#searchLegislators input {
	padding:3px 10px;
	border:0;
	border-radius:5px;
	width:calc(40% - 20px);
	margin-right:2%;
}

#searchLegislators button {
	width:16%;
	background:#ca3234;
	color:white;
	border-radius:5px;
	border:0;
	padding:3px 0;
}

div#senatorResults, div#representativeResults {
    margin-top: 20px;
}

div#senatorResults::after, div#representativeResults:after {
	display:block;
	content:" ";
	clear:fix;
}

.legislator {
	float:left;
	margin-right:3%;
	margin-bottom:3%;
	width:45.33%;
}

.legislator:nth-child(2n){
	margin-right:0;
}
.legislator:nth-child(2n+1){
	clear:both;
}

i.party {
    background: #ccc;
    display: inline-block;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height:24px;
    margin-right: 5px;
    text-align: center;
    font-style:normal;
}

h5 {
    text-transform: uppercase;
    font-weight: normal;
    font-size: 1em;
    color: #999;
	clear:both;
}

.result-title {
	display:none;
}

h5.result-title {
	margin-top:20px;
}


.description h4, .newspaper h4 {
    font-size: 1.15em;
    color: #333;
    margin-bottom:0;
}

#papers {
    margin-top:40px;
}

.newspaper {
    width:30%;
    float:left;
    margin-right:5%;
    margin-bottom:30px;
}

.email a img {
  height:16px;
}

@media(min-width:1251px){

  .newspaper:nth-child(3n){
      margin:0;
  }

  .newspaper:nth-child(3n+1){
      clear:both;
  }

}

@media(max-width:1250px){

  .newspaper {
      width:45%;
  }

    .newspaper:nth-child(2n){
        margin-right:0;
  }

  .newspaper:nth-child(2n+1){
      clear:both;
  }

}

.newspaper i{
    color: #999;
    margin-bottom:5px;
}

.newspaper p {
    padding-right:10px;
    line-height:140%;
}

.newspaper .location{
    font-style:italic;
}

.fa-republican {
	color: #ca3234;
	margin-right:5px;
}

.fa-democrat {
	color:#3632ca;
	margin-right:5px;
}



/* contact form */

#writeALetter {
    display:none;
    clear:both;
    max-width:800px;
}

 #writeALetter.visible {
    display:block;
 }

.contactForm {
    display:block;
    width: 100%;
}

.contactForm input,
.contactForm textarea
{
    width:100%;
    border:solid 1px #aaa;
    margin-bottom:10px;
    border-radius:15px;
    padding:3px 10px;
}

.contactForm textarea {
    min-height:300px;
}


nav#sendButtons a{
     display:inline-block;
     padding-right:20px;
     color:black;
     font-weight:normal;
}

nav#sendButtons img, nav#sendButtons i {
    margin-right:5px;
}

nav#sendButtons .fas {
    color:#bbb;
}

main img {
    max-width:100%;
}

/* contact form */

.page-id-2340 .wpcf7-form  input{
    width:100%;
    margin-bottom:10px;
}

.page-id-2340  .wpcf7-form  textarea {
    width:100%;
    margin-bottom:10px;
}

.page-id-2340  .wpcf7-form  input[type="submit"]{
    background:#57bd7b;
    color:white;
    padding:10px 0px;
    border:0;
}


#right h2 {
    margin-top:0;
}

@media ( max-width:600px) {
     h1 { font-size:2rem;}
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
