
:root {
  --border-color: #3b82f6d9;
  --max-width: 1280px;
  --font-family: AvenirNextLTCom-Demi;
  --font-size-small: 48px;
  --line-height-normal: normal;
  --font-family-secondary: AvenirNextLTCom-Regular;
}

.breadcrumb ul {
  margin: 0 0 18px 35px;
}

.breadcrumb.cg-padding-top--desktop--20 {
  max-width: var(--max-width);
  margin: 0 auto;
}

.ns-title-wide.investor {
  background: #fff url(/content/dam/cgc/shared-content/afi-legacy-assets/bgs/investor-title-bar-bg-new-desktop.jpg) no-repeat center top;
}

.ns-title-wide.fullwidth.investor .ns-outer-control,
.ns-title-wide.fullwidth.investor .ns-outer-control .ns-body,
.ns-title-wide.qtr-left-rail.investor .ns-outer-control .ns-body,
.ns-title-wide.qtr-left-rail.investor .ns-outer-control .ns-search-body,
.ns-title-wide.qtr-right-rail.investor .ns-outer-control .ns-body,
.ns-title-wide.third-right-rail.investor .ns-outer-control .ns-body {
  background: transparent;
}

.ns-title-wide .ns-title-bar.tenant-investor h1,
.ns-title-wide .ns-title-bar.tenant-investor .h1,
.ns-title-wide .ns-title-bar.investor h1,
.ns-title-wide .ns-title-bar.investor .h1 {
  font-family: var(--font-family);
  padding: 64px 0px;
  line-height: var(--line-height-normal);
}

.investor h1.small {
  font-family: var(--font-family);
  font-size: var(--font-size-small) !important;
  line-height: var(--line-height-normal) !important;
}

.ns-outer-control {
  max-width: var(--max-width);
  margin: 0px auto;
  width: auto;
}


.container {
  padding-left: 3.6%;
  padding-right: 3.6%;
  margin-left: 0px;
  margin-right: 0px;
  max-width: initial;
}

.container .row {
  margin-left: 0px;
}

.ns-outer-control .container .row .span12 {
  width: 100%;
}

[class*="span"] {
  margin-left: 0px !important;
}

.row-fluid .span8 {
  width: 92.77319587628865%;
}

.row-fluid div.span4,
.row-fluid .span4 {
  width: 4%;
}

*,
:after,
:before {
  box-sizing: border-box;
}

.ns-disclosure-wide {
  background-color: transparent;
}

.ns-disclosure-wide .ns-outer-control .ns-disclosure .span12 {
  width: 100%;
}

.wrap-footer .span12 {
  width: 100%;
}

#foreign-tax-result {
  background-color: transparent;
  padding-left: 60px;
  padding-right: 60px;
}

#foreignTaxDto  table.row-separators th, 
#businessTaxDto  table.row-separators th,
#usTreasDto table.row-separators th {
  font-size: 18px !important;
  font-family: var(--font-family) !important;
  color: #000 !important;
  line-height: 1.56;
  font-weight: bold;
  background-color: #e2e2e2;
}

#foreignTaxDto table.row-separators td, 
#businessTaxDto table.row-separators td, 
#usTreasDto table.row-separators td,
#municipalTaxDto table.row-separators td,
#corporateTaxDto table.row-separators td  {
  font-size: 18px !important;
  font-family: var(--font-family-secondary) !important;
  line-height: 1.56;
}

#municipalTaxDto select {
  padding: 0px;
}


#foreignTaxDto table.row-separators td input,
#usTreasDto table.row-separators td input,
#foreignQdivDto table.row-separators td input,
#businessTaxDto table.row-separators td input,
#municipalTaxDto table.row-separators td input,
#corporateTaxDto table.row-separators td input {
  width: 132px;
  height: 27px;
  margin-left: 15px;
}

#foreign-tax-result .section-margin {
  margin-top: 124px;
}

#foreign-tax-result h3,
#foreign-tax-result+h3,
#foreign-tax-result+h3+#foreignTaxDto {
  font-family: var(--font-family-secondary);
  color: #000;
}

#foreign-tax-result h3 {
  font-size: 36px;
  margin: 0 10.5px 15px 0;
  font-weight: normal;
  line-height: 1.22;
}

#foreign-tax-result .title-section {
  margin-top: 60px !important;
}

#foreign-tax-result+h3 {
  font-size: 36px;
  margin-bottom: 64px;
  padding: 0px 60px;
}

#foreign-tax-result+h3+#usTreasDto,
#foreign-tax-result+h3+#municipalTaxDto,
#foreign-tax-result+h3+#foreignQdivDto,
#foreign-tax-result+h3+#businessTaxDto,
#foreign-tax-result+h3+#corporateTaxDto,
#foreign-tax-result+h3+#foreignTaxDto {
  font-size: 18px;
  padding: 0px 60px;
}

#foreign-tax-result p {
  font-family: var(--font-family-secondary);
  font-size: 18px;
  margin-bottom: 30px;
  width: 797px;
  font-weight: normal;
  line-height: 1.56;
  color: #000;
}

.format-discloser p {
  font-family: var(--font-family-secondary);
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: normal;
  line-height: 1.56;
  color: #000;
}

#foreign-tax-result strong {
  font-family: var(--font-family);
  font-weight: normal;
}

#foreign-tax-result .pull-right {
  margin-top: 65px;
}

#foreign-tax-result .print-container {
  display: flex;
  align-items: center;
}

#foreign-tax-result .print-icon {
  flex: 1;
  flex-shrink: 0;
  height: 21px;
  width: 21px;
  margin-right: 10px;
}

#foreign-tax-result .print {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.56;
  color: #005f9e;
  text-decoration: underline !important;
}

#disclosure.hedge {
  color: #000;
}

#disclosure p {
  margin-bottom: 25px;
}

.foreign-tax-body .ns-title-bar {
  width: 100%;
}

#ustreas .ns-title-wide .ns-title-bar.investor h1.small,
#ustreasResultPage .ns-title-wide .ns-title-bar.investor h1.small,
#corptax .ns-title-wide .ns-title-bar.investor h1.small,
#corptaxResultPage .ns-title-wide .ns-title-bar.investor h1.small {
  padding: 36px 0px;
}

#munitaxResult .ns-title-wide .ns-title-bar.investor h1,
#munibondtax .ns-title-wide .ns-title-bar.investor h1 {
  padding: 38px 0px;
}

#corporateTaxDto table.row-separators th[scope="col"], table.row-separators th[scope="colgroup"],
#municipalTaxDto table.row-separators th[scope="col"], table.row-separators th[scope="colgroup"] {
    border-top: 0 none;
    border-bottom: 1px solid #666;
    font-size: 18px !important;
    font-family: var(--font-family) !important;
    color: #000 !important;
    line-height: 1.56;
    font-weight: bold;
    background-color: #e2e2e2;
}

.btn { 
	border: unset;
	background-image: initial;
	background-color: #003a66;
	width: 106px;
	height: 52px;
	padding: 16px 10px;
}

.btn:hover, .btn:active {
	background-color: #005f9e;
}

#ustreasResultPage p {
  width: auto !important;
}
/* desktop */
@media screen and (min-width: 1220px) {
  .breadcrumb ul {
    margin: 0 0 18px 20px;
  }
  
  .ns-title-bar {
    margin-bottom: 2px;
    width: 100%;
    padding-left: 60px;
  }

  .foreign-tax-container {
    padding: 0px 60px;
  }

  .ns-outer-control .container .row .span12 {
    width: 100%;
  }

  .row-fluid .span8 {
    width: 85.77319587628865%;
  }

  .row-fluid div.span4,
  .row-fluid .span4 {
    width: 11.5%;
  }

  .ns-disclosure-wide .ns-disclosure.container {
    padding: 30px 110px 60px;
  }
}

@media screen and (max-width: 1024px) {
  .ns-disclosure-wide .ns-disclosure.container {
    padding: 30px 38px 60px;
  }

  .ns-title-wide .ns-title-bar.investor h1.small {
    font-family: var(--font-family);
    padding: 37px 0px;
    line-height: var(--line-height-normal);
  }

  .breadcrumb ul {
    margin: 0 0 18px 29px;
  }

  .container {
    padding-left: 2.5%;
  }
}

@media screen and (max-width: 1023px) {
  .breadcrumb ul {
    margin: 0 0 18px 30px;
  }

  .ns-title-wide.investor {
    background: #fff url(/content/dam/cgc/shared-content/afi-legacy-assets/bgs/investor-title-bar-bg-new-tablet.jpg) no-repeat center top;
    background-size: cover;
    height: 135px
  }

  .ns-title-wide .ns-title-bar.tenant-investor h1,
  .ns-title-wide .ns-title-bar.tenant-investor .h1,
  .ns-title-wide .ns-title-bar.investor h1,
  .ns-title-wide .ns-title-bar.investor .h1 {
    padding-top: 46px;
    font-size: 36px;
  }  
   
  .ns-outer-control {
    padding: 0 4%;
  }

  .foreign-tax-container {
    padding: 0px 30px !important;
  }

  .container {
    padding-left: 0px;
    padding-right: 0px;
  }

  .ns-title-bar {
    padding-left: 30px;
  }

  .row-fluid .span8 {
    width: 65.77319587628865%;
  }

  .ns-disclosure-wide .ns-disclosure.container {
    padding: 30px 30px 60px !important;
  }

  .ns-body.container .row .span12,
  .ns-outer-control,
  .ns-disclosure.container .row,
  .ns-disclosure-wide .ns-outer-control .ns-disclosure .span12 {
    width: 100%;
  }

  html, body {
    box-sizing: border-box;
  }
  *, *::before, *::after {
    box-sizing: inherit;
  }
  .container, .row, .span12 {
    max-width: 100%;
  }
  
  .investor h1.small {
    font-size: 32px !important;
	  padding: 48px 0px;
  }
  
  #ustreas .ns-title-wide .ns-title-bar.investor h1.small, 
  #ustreasResultPage .ns-title-wide .ns-title-bar.investor h1.small,
  #corptax .ns-title-wide .ns-title-bar.investor h1.small {
    padding: 28px 0px;
  }

  .foreign-tax-container .box {
    padding: 32px 24px !important;
  }

  .foreign-tax-container .what-you-will-need {
    margin: 30px 0 44px !important;
  }

  .foreign-tax-container h2 {
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  .foreign-tax-container .worksheet h3 {
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
  }

  .foreign-tax-container .what-you-will-need .box,
  .foreign-tax-container .worksheet {
    max-width: 100%;
    margin-bottom: 0px;
  }

  #foreign-tax-result {
    padding-left: 0px;
    padding-right: 0px;
  }

  #foreign-tax-result h3 {
    font-size: 30px;
    line-height: 1.2;
    padding: 0 0px;
    margin: 0 0 24px;
  }

  #foreign-tax-result .section-margin {
    margin-top: 66px;
  }

  #foreign-tax-result+h3 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 62px;
  }

  #foreign-tax-result+h3,
  #foreign-tax-result+h3+#foreignTaxDto {
    padding: 0 30px;
  }

  #foreign-tax-result p {
    width: 768px;
    padding: 0 0px;
  }

  #ustreasResultPage p {
    width: auto !important;
  }

  #foreign-tax-result .span4 {
    width: 30%;
  }

  #foreign-tax-result .pull-right {
    margin-top: 36px;
  }

  #disclosure {
    padding-right: 18px;
  }

  #foreign-tax-result {
    padding: 30px 20px;
  }

  #foreign-tax-result table.row-separators th[scope="col"] {
    vertical-align: top;
    text-align: left;
  }

}


/* Mobile */
@media screen and (max-width: 767px) {
  .breadcrumb ul {
    margin: 0 0 18px 30px;
  }

  .ns-title-wide.investor {
    background: #fff url(/content/dam/cgc/shared-content/afi-legacy-assets/bgs/investor-title-bar-bg-new-mobile.jpg) no-repeat center top;
  }

  .ns-body.container .row .span12,
  .ns-outer-control,
  .ns-disclosure.container .row .span12 {
    width: 100%;
  }

  .ns-title-wide .ns-title-bar.tenant-investor h1,
  .ns-title-wide .ns-title-bar.tenant-investor .h1,
  .ns-title-wide .ns-title-bar.investor h1,
  .ns-title-wide .ns-title-bar.investor .h1 {
    padding: 32px 0px;
    font-size: 30px;
    line-height: 1.2;
  }

  .ns-outer-control {
    padding: 0 21px;
  }

  .ns-title-bar.investor {
    width: 350px;
    margin-bottom: 0px;
  }

  .ns-title-bar {
    padding-left: 0px;
  }

  #foreign-tax-result {
    padding: 30px 0px 0px 0px;
  }
  

  #foreign-tax-result .section-margin {
    margin-top: 84px;
  }
  #foreign-tax-result h3 {
    width: 358px;
    font-size: 24px;
    padding: 0;
    line-height: 1.33;
  }

  #foreign-tax-result+h3+#municipalTaxDto,
  #foreign-tax-result+h3+#usTreasDto,
  #foreign-tax-result+h3+#foreignQdivDto,
  #foreign-tax-result+h3+#businessTaxDto,
  #foreign-tax-result+h3+#corporateTaxDto,
  #foreign-tax-result+h3,
  #foreign-tax-result+h3+#foreignTaxDto {
    padding-left: 0px;
    padding-right: 0px;
  }

  #foreign-tax-result+h3 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  #foreign-tax-result+h3+#foreignTaxDto {
    font-size: 16px;
  }

  #foreign-tax-result p {
    width: 358px;
    font-size: 16px;
    padding: 0;
    line-height: 1.5;
  }

  #ustreasResultPage p {
    width: auto !important;
  }

  #foreign-tax-result .span4 {
    width: 34%;
  }

  #foreign-tax-result .pull-right {
    margin-top: 38px;
  }

  #disclosure {
    padding-right: 0px;
  }

  #foreign-tax-result .ns-title-wide.investor {
    height: 135px;
  }
  
  #foreignTaxDto table.row-separators td input,
  #foreignQdivDto table.row-separators td input,
  #usTreasDto table.row-separators td input,
  #businessTaxDto  table.row-separators td input,
  #munibondtax  table.row-separators td input,
  #corporateTaxDto table.row-separators td input  {
    width: 82px;
    height: 30px;
    margin-left: 5px;
  }
    
  #businessTaxDto table.row-separators td, 
  table.row-separators th {
    padding: 6px 5px;
  }
  
  .ns-title-wide .ns-title-bar.investor h1.small {
	  padding: 13px 0px;
    font-size: 30px;
    line-height: 1.2;
  }

  #ustreas .ns-title-wide .ns-title-bar.investor h1.small,
  #ustreasResultPage .ns-title-wide .ns-title-bar.investor h1.small {
    padding: 16px 0px !important;
    font-size: 22px !important;
  }

  #munibondtax .ns-title-wide .ns-title-bar.investor h1.small {
	  padding: 20px 0px !important;
	  font-size: 27px !important;
	}

  #corptaxResultPage .ns-title-wide .ns-title-bar.investor h1.small,
  #corptax .ns-title-wide .ns-title-bar.investor h1.small {
    padding: 20px 0px !important;
  }

  .format-discloser p {
    font-size: 14px;
  }

  #corporateTaxDto .col-width {
    min-width: 389px;
  }

  #foreignTaxDto .col-width {
    min-width: 379px;
  }

  #usTreasDto .col-width {
    min-width: 492px;
  }

  #municipalTaxDto .col-width {
    min-width: 476px;
  }

  #foreignQdivDto .col-width {
    min-width: 385px;
  }
}

@media screen and (max-width: 390px) {
  .breadcrumb ul {
    margin: 0 0 18px 10px;
  }


  #foreign-tax-result h3,
  #foreign-tax-result p {
    width: 330px;
  }

  #ustreasResultPage p {
    width: auto !important;
  }

  #foreignTaxDto table.row-separators td,
  #foreignTaxDto table.row-separators th,
  #usTreasDto  table.row-separators td,
  #businessTaxDto table.row-separators th,
  #usTreasDto table.row-separators th,
  #municipalTaxDto table.row-separators th,
  #municipalTaxDto table.row-separators td,
  #corporateTaxDto table.row-separators th,
  #corporateTaxDto table.row-separators td {
    font-size: 15px !important;
  }

  .format-discloser p {
    font-size: 14px;
  }
  
}

@media screen and (max-width: 280px) {
  .ns-title-bar.investor {
    width: 240px;
  }

  #foreign-tax-result h3,
  #foreign-tax-result p {
    width: 240px;
  }

  #ustreasResultPage p {
    width: auto !important;
  }

  .format-discloser p {
    font-size: 14px;
  }
}

@media print {
  .print-icon {
    display: none;
  }
}

/* updated css of Foreign Qualified Dividend Income Worksheet */

.foreign-tax-container h2 {
  font-size: 36px;
  line-height: 1.22;
  margin-bottom: 16px;
  color: #000;
}

.foreign-tax-container .what-you-will-need ul {
  line-height: 1.56;
  font-size: 18px;
  color: #000;
}

.foreign-tax-container .worksheet h3 {
  font-size: 36px;
  font-family: var(--font-family-secondary);
  line-height: 1.22;
  color: #000;
  margin-bottom: 15px;
}

.foreign-tax-container .worksheet p {
  margin: 0 0 30px;
  font-size: 18px;
  font-family: var(--font-family-secondary);
  color: rgb(0,0,0);
  line-height: 1.56;
}

.worksheet_section  p, .worksheet_section  li,  .worksheet_section  dl {
  margin: 0 0 30px;
  font-size: 18px;
  font-family: var(--font-family-secondary);
  color: #000;
  line-height: 1.56;
}

.foreign-tax-container .worksheet #foreignQdivDto,
.foreign-tax-container .worksheet #foreignTaxDto {
  padding-top: 30px;
  font-size: 18px;
  line-height: 1.56;
  color: #000;
}

#resultPage .hr,
#corptaxResultPage .hr,
#munitaxResult .hr,
#ustreasResultPage .hr,
#municipalTaxDto .hr {
  padding-top: 32px;
  border-top: 0px !important;
}

.foreign-tax-container .worksheet .hr {
  padding-top: 32px;
}

.foreign-tax-container .box {
  border: none;
  padding: 64px 32px;
  background-color: #f7f7f7;
  box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.foreign-tax-container .what-you-will-need a {
  text-decoration: underline;
}

.foreign-tax-container .worksheet p a {
  text-decoration: underline;
}

.foreign-tax-container .what-you-will-need {
  margin: 64px 0 46px;
}

.ns-outer-control {
  padding-left: 0px;
  padding-right: 0px;
}

.breadcrumb {
  width: 100%;
  max-width: 79rem;
  margin-left: auto;
  margin-right: auto;
}

.foreign-tax-container table.row-separators th[scope="col"],
.foreign-tax-container table.row-separators th[scope="colgroup"] {
  border-top: 0 none;
  border-bottom: 1px solid #000;
  color: #000 !important;
  background-color: #e2e2e2;
  height: 44px;
}

.currency-div {
  display: flex;
  align-items:center;
  justify-content: flex-end;

}

.parentList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.parentList li {
  font-size: 18px;
  font-family: var(--font-family-secondary);
  color: #000;
  line-height: 1.56;
}

.sub-container {
  font-size: 18px;
  font-family: var(--font-family-secondary);
  color: #000;
  line-height: 1.56;
}


.instructions {
  margin-bottom: 60px;
}


/* Ipad */
@media (max-width: 991px) {

  .foreign-tax-container .what-you-will-need .box,
  .foreign-tax-container .worksheet {
    max-width: 100%;
  }

  .foreign-tax-container .ns-disclosure-wide .span12 {
    width: 100%;
  }

  .row,
  .ns-disclosure .row {
    margin-left: 0px;
  }

  [class*="span"] {
    margin-left: 0px !important;
  }

  .span12 {
    width: 100% !important;
  }

  .ns-outer-control,
  .ns-disclosure.container {
    width: 100% !important;
  }

  .foreign-tax-body .ns-disclosure.container {
    padding: 30px 30px !important;
    overflow: hidden;
    box-sizing: border-box;
  }

  .format-discloser p {
    font-size: 14px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .foreign-tax-container {
    padding: 0px !important;
  }

  .foreign-tax-container .what-you-will-need {
    margin: 48px 0 46px;
  }

  .foreign-tax-container .box {
    padding: 32px 16px;
  }

  .foreign-tax-container h2 {
    font-size: 24px !important;
    line-height: 1.33 !important;
  }

  .foreign-tax-container .what-you-will-need ul {
    line-height: 1.5;
    font-size: 16px;
  }

  .foreign-tax-container .worksheet h3 {
    font-size: 24px !important;
    line-height: 1.33 !important;
  }

  .foreign-tax-container .worksheet p {
    font-size: 16px;
    line-height: 1.5;
  }

  .foreign-tax-container .worksheet #foreignQdivDto,
  .foreign-tax-container .worksheet #foreignTaxDto {
    font-size: 16px;
    line-height: 1.5;
  }

  .foreign-tax-container .timesheet-table {
    width: 200px;
    display: inline-block;
    word-wrap: break-word;
  }

  .ns-outer-control {
    padding: 0 21px;
  }

  .foreign-tax-body .ns-outer-control {
    padding: 0 4%;
  }

  .foreign-tax-body .ns-title-wide .ns-title-bar.investor h1.small {
   padding: 36px 4px !important;
  }

  .investor h1.small {
    padding: 2px 0 !important;
    font-size: 27px !important;
  }

  .foreign-tax-container .what-you-will-need .box,
  .worksheet {
    max-width: 100%;
  }

  .breadcrumb {
    width: initial;
  }

  .breadcrumb ul {
    margin: 0px !important;
  }
  .breadcrumb nav {
    margin-left: 21px;
  }

  .caption,
  th,
  td {
    vertical-align: middle;
  }

  .ns-disclosure-wide .ns-disclosure.container {
    padding: 0px !important;
  }

  .foreign-tax-body .ns-disclosure.container {
    padding: 0px;
  }

  #corporateTaxDto .corptax-result, 
  #usTreasDto .ustrea-result {
    width: 100%;
    overflow-x: scroll;
  }

  #usTreasDto .nowrap {
    white-space: normal;
  }

  #munitaxResult .ns-title-wide .ns-title-bar.investor h1.small {
    padding: 21px 0 !important;
    font-size: 27px !important;
  }
  #municipalTaxDto .munitax-result {
    width: 100%;
    overflow-x: scroll;
  }
  #municipalTaxDto .nowrap {
    white-space: normal;
  }

  #foreignTaxDto #resultPage{
   overflow-x: scroll;
  }

  #foreignQdivDto #resultPage{
   overflow-x: scroll;
  }

  #corporateTaxDto .col-width {
    min-width: 389px;
  }

  #foreignTaxDto .col-width {
    min-width: 379px;
  }

  #usTreasDto .col-width {
    min-width: 492px;
  }

  #municipalTaxDto .col-width {
    min-width: 476px;
  }

  #foreignQdivDto .col-width {
    min-width: 385px;
  }
}

@media screen and (min-width: 1002px) and (max-width: 1219px) {
  .ns-disclosure-wide .ns-disclosure.container {
    padding: 30px 40px 60px;
  }

  #ustreasResultPage  .ns-disclosure-wide .ns-disclosure.container,
  #resultPage  .ns-disclosure-wide .ns-disclosure.container {
    padding: 30px 97px 60px;
  }
}

