/* EOS Responsive Design specific CSS */
/* This is a CSS specifically designed for EOS Responsive Design pages to amend and override inherited styling from IRS.gov */
/* Created by lon.phelps */

.breadcrumbsAndTitle__wrapper {
  background-color: #f0f0f0;
  padding: 0 0 5px 0;
}

/*Per Client Mockup Commentary*/
.pup-page-site-index-sub-title {
  font-size: 20px;
}

.pup-page-node-type-landing-page__banner {
  margin-bottom: 40px;
  padding-bottom: 20px;
}

.has-div {
  margin-bottom: 60px;
}


/*end of mockup commentary*/

.eos-search-wrapper {
  overflow: auto;
  background-color: #f0f0f0;
  padding-bottom: 30px;
}

input {
  max-width: 100%;
}

label {
  font-size: 20px;
  line-height: 25px;
  margin-bottom: 15px;
  margin-top: 25px;
}

.date-label {
  margin-top:10px;
}

ul.views-row {
  list-style: none;
  padding-left: 0;
  border-top: 2px solid #227DAE;
}

.form-control {
  font-size: 16px;
  border-color: #cccccc;
  color: #333333
}

.select-wrapper select {
  line-height: 1.25em;
}

.eos-search-reset-row {
  margin-top: 55px;
}

.eos-search-reset-row > * {
  vertical-align: bottom;
}

.eos-search-reset-row a {
  display: inline-block;
  margin-bottom: 0;
}

button {
  width: 100%;
}

.pup-callout__link-btn {
  margin-left: 0;
  margin-right: 0;
  padding-top: 20px;
}


.has-glyphicons a:active, .has-glyphicons a:visited {
  color: #333333;
}

.has-glyphicons .glyphicon {
  color: #333333;
}

.has-glyphicons .glyphicon-info-sign {
  font-size: 19px;
  padding-left: 5px;
  margin-bottom: 10px;
}

.btn-default {
  border: 2px solid #227DAE;
  color: #227DAE;
}

.btn-default:hover {
  color: #234e76;
  background-color: #ffffff;
  border-color: #234e76;
}

.btn-default:active, .btn-default:focus {
  color: #227DAE;
  background-color: #ffffff;
  border-color: #227DAE;
  -moz-box-shadow: 0 0 10px 0 #2da5e5;
  -webkit-box-shadow: 0 0 10px 0 #2da5e5;
  box-shadow: 0 0 10px 0 #2da5e5;
}

.btn-default:focus, .btn-default:active:hover {
  color: #227DAE;
  background-color: #ffffff;
  border-color: #227DAE;
}
.search-results-row {
  margin-top: 30px;
}
.search-results-row a:visited{

  color: #800080;
}

.results-header-row {
  padding-bottom: 20px;
}

.pup-page-node-type-landing-page__banner {
  background-color: #eaf2fa;
  border-bottom: 5px solid #234e76;
}

@media only screen and (max-width: 768px) {
  .pup-page-site-index-search__banner {
    display: flex;
  }
}

h3.special-spacing {
  margin-top:30px;
  margin-bottom:0px;
}

label.control-label.date-label.special-spacing {
  margin-top: 0px;
}
/* ePostDetail Page */

h1.pup-search-detail-header {
  color: #227DAE;
  border-bottom: 3px solid #227DAE;
  margin-bottom: 15px;
}

.pup-search-detail-header span {
  top: 1px;
}

.pup-search-detail-capitalize-text,
.result-orgname,
.pup-search-result-capitalize {
  text-transform: capitalize;
}

/*
.detail-help-text {
  text-decoration-line: underline;
  text-decoration-style: dashed;
}*/
.line-dotted {
  /* text-decoration: underline dashed; */
  text-decoration: none;
  border-bottom: 1px dashed;
}

a.line-dotted:visited {
	color: #800080;
	}

.line-dotted:hover {
	text-decoration: none;
	/* border-bottom:1px dashed; */
	}

.line-dotted:focus {
	text-decoration: none;
	border-bottom:1px dashed;
	}
/*modals*/
.closeModalx {
  width: auto;
}

/*secondary navigation temporarily hide in mobile*/
@media only screen and (max-width: 992px) {
  .menu.nav.pup-second-nav {
    display: none;
  }
}

/*back to search link*/
.pup-back-to-search {
  font-size:10px;
  color:#227DAE;
}

/*Modals */

/* Fix Modal height
110px is taken from the EITC app*/
.modal-content {
  position: relative;
  bottom: 0;
  background-color: #fefefe;
  border: 1px solid #cacaca;
  border-radius: 0px;
  margin: 0 auto;
  overflow-y: hidden;
  overflow: hidden;
  position: relative;
  top: 110px;
  width: 560px !important; /* Specific width based on mockups; wad 600px */
  padding: 0px;
  line-height: normal;
}
/* Resolve Modal causing whitespace on right
side of pages*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
body.modal-open, .navbar-fixed-top, .modal-open, .navbar-fixed-bottom {
  overflow: visible !important;
  padding-right: 0 !important;
  margin-right: 0!important;
  width:100% !important;
  position:fixed !important;
}
}

.modal-scrollbar-measure {
  overflow: hidden !important;
  overflow-y: hidden;
}
/*fixes blue arrow and datepicker nonconformity */
.modal-backdrop {
  display: none;
}

/* datepicker*/
.datepicker-button {
  line-height: 10px;
  padding-top: 7px;
  padding-bottom: 8px;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  width: 100%; /* Specific width based on mockups */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  overflow-y: hidden;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
  /*background: rgba(0, 0, 0, 0.8);*/
  line-height: normal;
}

.close {
  color: #333 !important;
  opacity: 1 !important;
}

.modal-header {
	padding-bottom: 0px !important;
	padding-right: 20px;
 	padding-left: 20px;
 	padding-top: 18px;
 }

.modal-header h3,
.modal-header h2,
.modal-header p {
  margin: 0px;

}

.modal-body{
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 0px !important;
  line-height: normal;
  }

.modal-body h3,
.modal-body p {
  margin: 0px;
  overflow-y: hidden;
  line-height: normal;
}


.modal-footer{
  margin: 0px;
  border-top: none !important;
	padding-right: 20px;
  padding-left: 20px;
	padding-bottom: 20px;
  padding-top: 20px;
}

.select-wrapper.results-per-page select {
  padding-right: 1em;
}

@media screen and (max-width: 767px) {
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	left: 0;
	top: 0;
	width: 100%; /* Specific width based on mockups */
	height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  overflow-y: hidden;
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
	padding-top: 70px;
	padding-right: 0 !important;
  line-height: normal;
}

.modal-dialog {
	margin: 0;
	}

.modal-content {
position: relative;
	bottom: 0;
	background-color: #fefefe;
	border: 1px solid #cacaca;
	border-radius: 3px;
	margin: 0 auto;
  overflow-y: hidden;
  overflow: hidden;
	position: relative;
	top: 20%;
	width: 100% !important; /* Specific width based on mockups; wad 600px */
	padding: 0px;
  line-height: normal;
	}
}
/* Starting at 769 to address iPad scenario of no scroll bar */
@media screen and (min-width: 769px) {
	.modal-open {
		padding-right: 17px !important;
	}
}

/* iPad Pro scenario */
@media screen and (width: 1024px) and (height: 1366px) {
	.modal-open {
		padding-right: 0 !important;
	}
}
/* Fix spacing between search results & sort by in mobile */
@media only screen and (max-width: 768px) {
  .form-horizontal.sort-by {
    margin-top: 15px;
  }
}

/*epostcard and copies accordions*/
.panel-group{
  margin-bottom: 0px;
}

/*modal icons*/
.icon-button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0;
    background: transparent;
    height:20px;
    width:25px;
  /*  position: relative;
    padding: 0;
    margin: 0;*/
    float: center;

}

/* Prevent links from displaying in printed versions of the page */
@media print {
  a[href]:after {
    content: none;
  }

}

.top-of-search-header {
  margin-top:15px;
}

/* EOS-79 */
.pup-990-series-descr {
  margin-bottom: 20px;
}

/*EOS 101*/
.pup-dl-descr,
.pup-pub78-descr,
.pup-revocation-descr,
.pup-990-series-descr {
  font-size: 1em;
  line-height: 1.25rem;
}

/* EOS-80 */
.result-orgname {
  margin-top:30px;
}

i.dba-name.result-orgname {
  font-weight: normal !important;
}

.additional-sidebar {
  margin-top: 0px;
}

.select-wrapper.results-per-page {
  display: inline-flex;
}
.select-wrapper.results-per-page::after {
  top: 20px;
}

/*Pagination Current Page Highlight*/
li.pager__item > a.active {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default;
}

/* Media Queries for Tablet & Mobile */
@media only screen and (max-width:1024px){
  .top-of-search-header {
    margin-top:15px;
  }
}

/* Fixing Styling issues from Marylou Comments*/
@media only screen and (max-width:768px){

  /* EOS 79 */
  .pup-page-node-type-landing-page__banner,
  .pup-page-node-type-article-page__banner container {
    padding-top:20px;
  }

  /*EOS-80*/
  .top-of-search-header {
    margin-top:25px;
  }
  .topofsearch {
    margin-bottom:20px;
  }

  /*EOS 106*/
  .pup-dl-descr,
  .pup-pub78-descr,
  .pup-revocation-descr,
  .pup-990-series-descr {

    font-size: 1em;
    line-height: 1.5em;
  }

  div.datepicker-calendar div.datepicker-month {
    margin: -6px 53px 2px 53px;
    height: 24px;
    text-align: center;
    font-weight: bold;
    font-size: 1.0em;
    cursor: pointer;
    padding-top: 0px;
  }

  div.datepicker-calendar div.datepicker-month-fast-prev, div.datepicker-calendar div.datepicker-month-fast-next, div.datepicker-calendar div.datepicker-month-prev, div.datepicker-calendar div.datepicker-month-next {
    cursor: pointer;
    margin: 0px;
    width: 24px;
    height: 24px;
    padding-top: 3px;
  }

}

@media only screen and (max-width:360px) {
  div.container .col-xs-2.no-gutter.pup-header-content-lt .logo {
    padding-left: 0px !important;
    margin-left: -5px;
  }
}

@media only screen and (max-width:320px) {

  /*EOS-84*/
  input#eos-startdate {
    width: 98px;
    padding-left: 6px;
    padding-right: 6px;
  }

  input#eos-enddate {
    width: 98px;
    padding-left: 6px;
    padding-right: 6px;
  }

  a.datepicker-button.bootstrap {
    padding-left: 5px;
    padding-right: 5px;
  }

  div.datepicker-calendar div.datepicker-month {
    height: 24px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    word-spacing: 100vw;
    cursor: pointer;
    padding-top: 0px;
    margin-top: -7px;
    margin-right: 30px;
    margin-left: 30px;
    margin-bottom: 56px;
  }

  div.datepicker-calendar div.datepicker-month-fast-prev,
  div.datepicker-calendar div.datepicker-month-fast-next,
  div.datepicker-calendar div.datepicker-month-prev,
  div.datepicker-calendar div.datepicker-month-next {
    cursor: pointer;
    margin: 0px;
    width: 19px;
    height: 24px;
    padding-top: 3px;
    padding-right: 0px;
  }
}

/* Placeholder color correction */
.form-control::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #4e4e4e;
}
.form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #4e4e4e;
   opacity:  1;
}
.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #4e4e4e;
   opacity:  1;
}
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #4e4e4e;
}
.form-control::-ms-input-placeholder { /* Microsoft Edge */
   color:    #4e4e4e;
}
.form-control::placeholder { /* Most modern browsers support this now. */
   color:    #4e4e4e;
}

/* Data-set tags */
.tag-list {
  padding-top: 0.5em;
}

.dataset-tag {
  display: inline-block;
  border-radius: 3em;
  padding: 0.25em 0.75em 0.25em 0.75em;
  margin-right: 0.375em;
  background-color: #eaf2fa;
}

/* Other Names list */
.othernames-list {
  display: inline-block;
  list-style: none;
}
