/****************** Font Families *************/
body {
  letter-spacing: -0.025rem;
  color: #172a4a;
  background: #ffffff url(../../../../content/dam/headers/clear.png) repeat;
  background-attachment: fixed;
}
h1,
h2,
h3,
h4,
h5,
[data-label] {
  color: #172a4a;
}
.coral-RichText-editor h2,
.tn-rte h2,
.tn-textandimage h2,
.tn-textandimage-event h2 {
  color: #172a4a;
}
a.button,
input.button,
button.button,
span.button,
div.button,
.fsForm .fsSubmit input.fsSubmitButton,
.poloLink a[class*=show] {
  background: #172a4a;
}
.tn-headersearch .search {
  border: 1px solid #ccc;
}
.tn-headersearch .search .search-button,
.tn-headersearch .search .icon-search:before {
  color: #172a4a;
}
.tn-previewslider + .tn-panel > .panel {
  background-color: #EEF1F6;
}
.aem-AuthorLayer-Edit .tn-previewslider + .tn-panel > .panel {
  max-height: 100%;
}
[class*=border-].border-red {
  border-color: #990000;
}
h1 a:link,
h1 a:visited,
h1 a:active,
h2 a:link,
h2 a:visited,
h2 a:active,
h3 a:link,
h3 a:visited,
h3 a:active,
h4 a:link,
h4 a:visited,
h4 a:active,
h5 a:link,
h5 a:visited,
h5 a:active {
  color: #172a4a;
}
a,
a:link,
a:visited,
a:active {
  color: #172a4a;
}
a:hover {
  color: #ee3524;
  /*#ee3524;*/
}
.coral-RichText-editor a,
.tn-rte a,
.tn-textandimage a,
.tn-textandimage-event a,
.coral-RichText-editor a:link,
.tn-rte a:link,
.tn-textandimage a:link,
.tn-textandimage-event a:link,
.coral-RichText-editor a:visited,
.tn-rte a:visited,
.tn-textandimage a:visited,
.tn-textandimage-event a:visited,
.coral-RichText-editor a:active,
.tn-rte a:active,
.tn-textandimage a:active,
.tn-textandimage-event a:active {
  color: #1b54b1;
}
.tn-rte a:hover,
.tn-textandimage a:hover {
  color: #ee3524;
}
/* -----------------
     Buttons
 ------------------ */
a.button.gray {
  background: #666666;
}
a.button.gray:hover {
  background: #414042;
}
a.button.red,
a.button.active {
  background: #990000;
}
a.button.red:hover {
  background: #6b0101;
}
a.button.orange {
  background: #ed9924;
}
a.button.orange:hover {
  background: #c24e13;
}
a.button.green {
  background: #659737;
}
a.button.green:hover {
  background: #2f470e;
}
a.button.blue {
  background: #17417c;
}
a.button.blue:hover {
  background: #1b365d;
}
ul.block-list a:link:not(.button),
ul.list-links a:link:not(.button),
ul.block-list a:visited,
ul.list-links a:visited,
ul.block-list a:active ul.list-links a:link:not(.button),
ul.list-links a:active ul.list-links a:link:not(.button),
ul.block-list a:visited,
ul.list-links a:visited,
ul.block-list a:active,
ul.list-links a:active {
  color: #172a4a;
}
ul.block-list a:hover:not(.button),
ul.list-links a:hover:not(.button),
ul.block-list a:hover:not(.button),
ul.list-links a:hover:not(.button) {
  color: #ee3524;
}
.menu-expand {
  color: #fff !important;
}

/****************** Font Families *************/
.tn-backtotop .page-top {
  background: #172a4a;
}
.tn-backtotop .page-top:hover {
  background: #990000;
}
.tn-backtotop a:before {
  color: #fff;
}

/****************** Font Families *************/
.tn-calendar table caption {
  background-color: #172a4a;
}
.tn-calendar .current {
  background-color: #ffffff;
}

/****************** Font Families *************/
.tn-columnctrl-FullWidth > .tn-fullwidth > .tn-col-ctrl .primary-color {
  background-color: #172a4a;
}
.tn-columnctrl-FullWidth > .tn-fullwidth > .tn-col-ctrl .secondary-color {
  background-color: #990000;
}
.tn-columnctrl-FullWidth > .tn-fullwidth > .tn-col-ctrl .row .parsys_column.primary-color {
  background-color: #172a4a !important;
}
.tn-columnctrl-FullWidth > .tn-fullwidth > .tn-col-ctrl .row .parsys_column.secondary-color {
  background-color: #990000 !important;
}
.tn-columnctrl-FullWidth > .tn-fullwidth > .tn-col-ctrl .row .parsys_column.primary-color:hover {
  background-color: #0d182b !important;
}
.tn-columnctrl-FullWidth > .tn-fullwidth > .tn-col-ctrl .row .parsys_column.secondary-color:hover {
  background-color: #4c0000 !important;
}
.tn-columnctrl .primary-color {
  background-color: #172a4a;
}
.tn-columnctrl .secondary-color {
  background-color: #990000;
}

/****************** Font Families *************/
.tn-complex-datatable .address-1 table,
.tn-complex-datatable .address-1 thead,
.tn-complex-datatable .address-1 tbody,
.tn-complex-datatable .address-1 th,
.tn-complex-datatable .address-1 tr,
.tn-complex-datatable .address-1 td {
  font-family: "Times New Roman", Georgia, Times, serif;
}
.tn-complex-datatable .address-1 tr {
  border-bottom: 0px #172a4a solid !important;
}
.tn-complex-datatable .address-1 td:first-child {
  background-color: #172a4a;
}
.tn-complex-datatable .address-2 table,
.tn-complex-datatable .address-2 thead,
.tn-complex-datatable .address-2 tbody,
.tn-complex-datatable .address-2 th,
.tn-complex-datatable .address-2 tr,
.tn-complex-datatable .address-2 td {
  font-family: "Times New Roman", Georgia, Times, serif;
}
.tn-complex-datatable .address-2 tr {
  border-bottom: 0px #172a4a solid !important;
}
.tn-complex-datatable .address-2 td:first-child {
  background-color: #172a4a;
}
.tn-complex-datatable .address-4 table,
.tn-complex-datatable .address-4 thead,
.tn-complex-datatable .address-4 tbody,
.tn-complex-datatable .address-4 th,
.tn-complex-datatable .address-4 tr,
.tn-complex-datatable .address-4 td {
  font-family: "Times New Roman", Georgia, Times, serif;
}
.tn-complex-datatable .address-4 tr {
  border-bottom: 0px #172a4a solid !important;
}
.tn-complex-datatable .address-4 td:first-child {
  background-color: #172a4a;
}
.tn-complex-datatable .address-4 .dataTables_info {
  display: none;
}
.tn-complex-datatable .address-4 table + .dataTables_info {
  display: none;
}

/****************** Font Families *************/
.tn-footer footer#footer #footer-bottom {
  background: #990000;
}
.tn-footer footer#footer #footer-bottom ul.inline-list li a:hover {
  color: #fff;
}
.tn-footer footer#footer #footer-bottom .columns:not(.text-right) a.first {
  font-weight: bold;
  font-style: italic;
  font-size: 1.2rem !important;
}
.tn-footer #footer-livechat {
  display: inline-block;
}
.tn-secondaryfooter footer#agency-footer {
  background: #172a4a;
  background-size: contain !important;
  color: #fff;
}
.tn-secondaryfooter footer#agency-footer ul li {
  border-color: #eef1f6;
}
.tn-secondaryfooter footer#agency-footer ul li a {
  color: #fff !important;
}
.tn-secondaryfooter footer#agency-footer ul li a:hover {
  color: #ee3524 !important;
}
.tn-secondaryfooter footer#agency-footer .columns.last {
  width: 33%;
}
.tn-secondaryfooter footer#agency-footer .contact a:not(:hover) {
  color: #ffffff;
}
.tn-secondaryfooter h2,
.tn-secondaryfooter h2 a {
  color: #fff;
}
.tn-secondaryfooter .border-darkblue {
  border-color: #fff;
}

.tn-freestyledialog {
  margin-bottom: 0px !important;
}

/****************** Font Families *************/
.tn-gallery .box {
  min-height: 235px;
}
.tn-gallery .box a {
  min-height: 235px;
}

/****************** Font Families *************/
.tn-header #header {
  background: #ffffff;
}
.tn-header #header .top-nav a.logo {
  width: 125px;
  height: 85px;
  margin-left: 8px;
}
.tn-header #header .top-nav a.search-all,
.tn-header #header .top-nav a.search-all:before,
.tn-header #header .top-nav a.search-all:hover {
  color: #172a4a;
}
.tn-header #header .backdrop {
  opacity: 0.2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=15)";
  filter: alpha(opacity=15);
  -webkit-filter: grayscale(1);
  -webkit-filter: grayscale(50%);
  -moz-filter: grayscale(50%);
  filter: gray;
  filter: url(data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/sv…0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale);
}
.tn-header #header .agency .title {
  padding-left: 115px;
  height: 85px;
}
.tn-header #header .agency .title img {
  max-width: 300px;
  margin-left: 25px;
  height: 85px;
}
.tn-header .col-lg-4.col-md-4.col-sm-4.columns.text-right {
  float: right;
  min-width: 45%;
}
@media (min-width: 1200px) {
  .tn-header .col-lg-8 {
    width: 33% !important;
  }
}
@media (min-width: 992px) {
  .tn-header .col-lg-8.col-md-8.col-sm-8.columns.title {
    width: 25%;
  }
}
@media (min-width: 641px) {
  .tn-header .col-lg-8.col-md-8.col-sm-8.columns.title {
    width: 25%;
  }
}
@media only screen and (min-width: 40em) {
  .tn-header header#header .title img {
    margin-top: 5px;
    max-height: 95px;
    margin-left: -35px;
  }
}
@media only screen and (max-width: 40em) {
  .tn-header #header .top-nav a.logo {
    height: 60px;
    background-size: contain !important;
  }
  .tn-header #header .agency .title {
    padding-left: 100px !important;
    height: 65px;
  }
  .tn-header #header .agency .title img {
    max-width: 90% !important;
  }
}

/****************** Font Families *************/
.tn-image,
.image {
  text-align: center;
}

/****************** Font Families *************/
.tn-leftnav nav.side {
  margin-bottom: 10px;
  font-size: 0.875rem;
}
.tn-leftnav nav.side h2 {
  /* font-family: @header-font;
        letter-spacing: -0.025rem;
        font-size: 1.425rem;*/
  color: #172a4a;
}

/****************** Font Families *************/
.tn-linklist .imagecube,
.tn-contenttile .imagecube,
.tn-photoblock .imagecube {
  background-color: #172a4a;
}

.tn-message {
  background-color: #EEF1F6;
  margin-bottom: 20px !important;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}
.tn-message .row-eq-height {
  background-image: url('../../../../content/dam/cot/images/logo_stars-fade.png');
  background-repeat: no-repeat;
  background-size: contain;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.tn-message .messageimg {
  magrin: 0 auto !important;
}
.tn-message .messageimg img {
  position: absolute;
  bottom: 0;
}
.tn-message .text {
  padding: 20px;
}
.tn-message .text p {
  font-size: 1.3rem;
  line-height: 1.6rem;
  margin: 10px 0 0px;
}
.tn-message .text p a {
  text-decoration: underline;
}
.tn-message .text h2 {
  font-weight: bold;
  font-family: 'Permian Slab', serif;
  font-size: 2.5rem;
  line-height: 2.5rem;
}
@media only screen and (max-width: 990px) {
  .tn-message {
    background-image: url('../../../../content/dam/cot/images/logo_stars-fade.png');
    background-repeat: no-repeat;
    background-size: auto 191px;
  }
  .tn-message .row-eq-height {
    background: transparent !important;
    display: block !important;
  }
  .tn-message .messageimg img {
    position: relative !important;
  }
}
.fancybox-slide--iframe .fancybox-content {
  max-width: 80%;
  max-height: 80%;
}

/****************** Font Families *************/
.tn-sociallist .search-label i:before,
.tn-schedulelist .search-label i:before {
  color: #fff;
}
.tn-sociallist .icon-calendar,
.tn-schedulelist .icon-calendar,
.tn-sociallist .icon-newspaper,
.tn-schedulelist .icon-newspaper {
  padding-right: 10px;
}
.tn-sociallist .box .search-label,
.tn-schedulelist .box .search-label {
  font-size: 1rem;
  padding: 12px;
  text-align: left;
  background-color: #172a4a;
  color: #fff;
}

/****************** Font Families *************/
.tn-newsroomfilters li.all-news.active a:before:hover {
  color: red;
}
.tn-newsroomfilters li.all-news.active a {
  color: transparent;
}

/****************** Font Families *************/
.tn-pagetitle h1 {
  color: #172a4a;
  /*font-family: @header-font;
        font-size: 3.125rem;
        letter-spacing: -0.035em;*/
}

/****************** Font Families *************/
.tn-panel {
  padding-left: 1rem;
  padding-right: 1rem;
}
.tn-panel .panel {
  background-color: #eef1f6;
}
.tn-accordion .panel-group .panel-heading + .panel-collapse > .panel-body > div > .tn-panel .panel,
.tn-accordion .panel-group .panel-heading + .panel-collapse > .list-group > div > .tn-panel .panel {
  background-color: #eef1f6 !important;
}
.tn-accordion .tn-panel > .panel {
  background-color: #eef1f6 !important;
}

/****************** Font Families *************/
.tn-photoblock .imagecube {
  box-shadow: 0px 0px 0px #3d3e40;
  background-position: center top;
  height: 270px;
  margin-bottom: 10px;
  background-color: #172a4a;
}
.tn-linklist .imagecube.tall,
.tn-contenttile .imagecube.tall,
.tn-photoblock .imagecube.tall {
  height: 550px;
}

/****************** Font Families *************/
.tn-previewslider .swiper-container .swiper-wrapper {
  background-color: #172a4a;
  height: 400px;
}
.tn-previewslider .swiper-container .swiper-wrapper li .darken {
  background-color: #172a4a;
}
.tn-previewslider .swiper-container .swiper-wrapper li,
.tn-previewslider .swiper-container .swiper-wrapper li .photo {
  height: 400px;
}
.tn-previewslider .swiper-container.active .swiper-wrapper {
  min-height: 400px;
  max-height: 400px;
}
@media only screen and (max-width: 460px) {
  .tn-previewslider .swiper-container .swiper-wrapper li {
    height: auto !important;
  }
  .tn-previewslider .swiper-container .swiper-wrapper li .photo {
    height: 200px !important;
  }
  .tn-previewslider .swiper-container.active .swiper-wrapper {
    min-height: auto !important;
    max-height: none !important;
  }
}

/****************** Font Families *************/
.tn-relatedcontent h2,
.tn-contacts h2 {
  font-size: 1.3125rem;
  color: #fff;
  padding: 10px 15px;
  margin: 0;
  background: #172a4a;
  display: block;
  width: 100.5%;
  margin-top: -1px;
}

/****************** Font Families *************/
.rte-editor h2,
.tn-rte h2,
.tn-textandimage h2,
.tn-textandimage-event h2,
.rte-editor h3,
.tn-rte h3,
.tn-textandimage h3,
.tn-textandimage-event h3,
.rte-editor h4,
.tn-rte h4,
.tn-textandimage h4,
.tn-textandimage-event h4,
.rte-editor h5,
.tn-rte h5,
.tn-textandimage h5,
.tn-textandimage-event h5,
.rte-editor [data-label],
.tn-rte [data-label],
.tn-textandimage [data-label],
.tn-textandimage-event [data-label] {
  color: #172a4a;
}
.rte-editor h2 a:link,
.tn-rte h2 a:link,
.tn-textandimage h2 a:link,
.tn-textandimage-event h2 a:link,
.rte-editor h2 a:visited,
.tn-rte h2 a:visited,
.tn-textandimage h2 a:visited,
.tn-textandimage-event h2 a:visited,
.rte-editor h2 a:active,
.tn-rte h2 a:active,
.tn-textandimage h2 a:active,
.tn-textandimage-event h2 a:active,
.rte-editor h3 a:link,
.tn-rte h3 a:link,
.tn-textandimage h3 a:link,
.tn-textandimage-event h3 a:link,
.rte-editor h3 a:visited,
.tn-rte h3 a:visited,
.tn-textandimage h3 a:visited,
.tn-textandimage-event h3 a:visited,
.rte-editor h3 a:active,
.tn-rte h3 a:active,
.tn-textandimage h3 a:active,
.tn-textandimage-event h3 a:active,
.rte-editor h4 a:link,
.tn-rte h4 a:link,
.tn-textandimage h4 a:link,
.tn-textandimage-event h4 a:link,
.rte-editor h4 a:visited,
.tn-rte h4 a:visited,
.tn-textandimage h4 a:visited,
.tn-textandimage-event h4 a:visited,
.rte-editor h4 a:active,
.tn-rte h4 a:active,
.tn-textandimage h4 a:active,
.tn-textandimage-event h4 a:active,
.rte-editor h5 a:link,
.tn-rte h5 a:link,
.tn-textandimage h5 a:link,
.tn-textandimage-event h5 a:link,
.rte-editor h5 a:visited,
.tn-rte h5 a:visited,
.tn-textandimage h5 a:visited,
.tn-textandimage-event h5 a:visited,
.rte-editor h5 a:active,
.tn-rte h5 a:active,
.tn-textandimage h5 a:active,
.tn-textandimage-event h5 a:active {
  color: #172a4a !important;
  text-decoration: underline;
}
.rte-editor h2 a:hover,
.tn-rte h2 a:hover,
.tn-textandimage h2 a:hover,
.tn-textandimage-event h2 a:hover,
.rte-editor h3 a:hover,
.tn-rte h3 a:hover,
.tn-textandimage h3 a:hover,
.tn-textandimage-event h3 a:hover,
.rte-editor h4 a:hover,
.tn-rte h4 a:hover,
.tn-textandimage h4 a:hover,
.tn-textandimage-event h4 a:hover,
.rte-editor h5 a:hover,
.tn-rte h5 a:hover,
.tn-textandimage h5 a:hover,
.tn-textandimage-event h5 a:hover,
.rte-editor h2 a:focus,
.tn-rte h2 a:focus,
.tn-textandimage h2 a:focus,
.tn-textandimage-event h2 a:focus,
.rte-editor h3 a:focus,
.tn-rte h3 a:focus,
.tn-textandimage h3 a:focus,
.tn-textandimage-event h3 a:focus,
.rte-editor h4 a:focus,
.tn-rte h4 a:focus,
.tn-textandimage h4 a:focus,
.tn-textandimage-event h4 a:focus,
.rte-editor h5 a:focus,
.tn-rte h5 a:focus,
.tn-textandimage h5 a:focus,
.tn-textandimage-event h5 a:focus {
  color: #990000 !important;
}
.rte-editor a,
.tn-rte a,
.tn-textandimage a,
.tn-textandimage-event a,
.rte-editor a:link,
.tn-rte a:link,
.tn-textandimage a:link,
.tn-textandimage-event a:link,
.rte-editor a:visited,
.tn-rte a:visited,
.tn-textandimage a:visited,
.tn-textandimage-event a:visited,
.rte-editor a:active,
.tn-rte a:active,
.tn-textandimage a:active,
.tn-textandimage-event a:active {
  color: #1b54b1;
  text-decoration: underline;
  word-wrap: break-word;
}
.rte-editor a:hover,
.tn-rte a:hover,
.tn-textandimage a:hover,
.tn-textandimage-event a:hover {
  color: #990000;
}

/****************** Font Families *************/
.tn-socialmediabarfooter .social {
  background: #eef1f6;
}

/****************** Font Families *************/
.tn-tooltip {
  /* line 2013, tngov.site15.scss */
}
.tn-tooltip a:hover:before {
  color: #990000 !important;
}
.tn-tooltip .tooltip .tooltip-inner {
  padding: 10px;
  color: #131e29 !important;
  text-align: left;
  border-bottom: 4px #990000 solid;
  background: white;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  z-index: 100;
  -webkit-transition: all 0.2s ease;
}
.tn-tooltip .tooltip.top .tooltip-arrow {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #990000;
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  margin-left: -10px;
}
.tn-tooltip [data-tooltip]:hover:before,
.tn-tooltip [data-tooltip]:hover {
  color: #990000;
}

/****************** Font Families *************/
.tn-topnav #nav .navbar-collapse .nav .nav-item {
  /* There are a lot of :focus situations to account for */
}
.tn-topnav #nav .navbar-collapse .nav .nav-item > a:focus,
.tn-topnav #nav .navbar-collapse .nav .nav-item .dropdown-menu > li > a:focus,
.tn-topnav #nav .navbar-collapse .nav .nav-item.open > a,
.tn-topnav #nav .navbar-collapse .nav .nav-item:hover .nav-link,
.tn-topnav #nav .navbar-collapse .nav .nav-item:active .nav-link,
.tn-topnav #nav .navbar-collapse .nav .nav-item:focus .nav-link,
.tn-topnav #nav .navbar-collapse .nav .nav-item > a:focus:hover,
.tn-topnav #nav .navbar-collapse .nav .nav-item .dropdown-menu > li > a:focus:hover,
.tn-topnav #nav .navbar-collapse .nav .nav-item.open > a:hover,
.tn-topnav #nav .navbar-collapse .nav .nav-item:hover .nav-link:hover,
.tn-topnav #nav .navbar-collapse .nav .nav-item:active .nav-link:hover,
.tn-topnav #nav .navbar-collapse .nav .nav-item:focus .nav-link:hover,
.tn-topnav #nav .navbar-collapse .nav .nav-item > a:focus:focus,
.tn-topnav #nav .navbar-collapse .nav .nav-item .dropdown-menu > li > a:focus:focus,
.tn-topnav #nav .navbar-collapse .nav .nav-item.open > a:focus,
.tn-topnav #nav .navbar-collapse .nav .nav-item:hover .nav-link:focus,
.tn-topnav #nav .navbar-collapse .nav .nav-item:active .nav-link:focus,
.tn-topnav #nav .navbar-collapse .nav .nav-item:focus .nav-link:focus {
  color: white;
  border-top-color: #ee3524;
  background: #6b0101;
}
.tn-topnav #nav .navbar-collapse .nav .nav-item.dropdown .dropdown-menu li a:hover {
  background-color: #990000;
}
.tn-topnav #nav div.logo-small.tn-logo a {
  background-image: url('../../../../content/dam/headers/comptroller_treasury_logo.png');
}
.tn-topnav #nav div.logo-small a {
  width: 58px;
  height: 42px;
}
.tn-topnav #nav a:before {
  color: #fff;
}
.tn-topnav #nav {
  background: #990000 !important;
  border-bottom: 2px #6b0101 solid;
}
.tn-topnav #nav ul.nav-items > li > a,
.tn-topnav #nav ul.nav-items > li.dropdown a {
  color: #fff;
}
.tn-topnav #nav ul.nav-items > li:hover > a,
.tn-topnav #nav ul.nav-items > li.active a {
  border-top-color: #ee3524;
  color: #fff;
  background-color: #6b0101;
}
@media only screen and (min-width: 40em) {
  .tn-topnav #nav li.dropdown > ul,
  .tn-topnav #nav li.dropdown > div {
    background: #6b0101;
    border: 2px #6b0101 solid;
    border-top: 0;
    margin-top: 0;
  }
  .tn-topnav #nav li.dropdown > ul > li > a:hover {
    background-color: #990000;
    color: #fff;
  }
  .tn-topnav #nav li.dropdown > ul li {
    border-bottom: 1px #990000 solid;
  }
  .tn-topnav #nav a:before {
    color: #fff;
  }
}
@media only screen and (max-width: 40em) {
  .tn-topnav #nav div.logo-small a {
    width: 48px;
    height: 33px;
  }
}

/****************** Font Families *************/
.cot-disclaimer .column-2 .button {
  float: right;
}

/****************** Font Families *************/
.cot-modal .modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.cot-modal .modal-content {
  background-color: #fefefe;
  margin: 2% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  max-width: 730px;
}
.cot-modal .modal-body {
  position: relative;
  padding: 15px;
  max-height: 268px;
  overflow-y: auto;
}
.cot-modal .modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.cot-modal .modal-open {
  overflow: hidden;
  overflow-y: auto;
}
.cot-modal .modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.cot-modal .modal-header .close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
}
.cot-modal .modal-header .close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
}
.cot-modal .modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: .3rem;
  border-top-right-radius: .3rem;
}
.cot-modal .modal-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #e9ecef;
}
.cot-modal .modal-footer.formbutton .btn + form {
  margin-bottom: 0;
  margin-left: 5px;
}
.cot-modal .modal-footer.formbutton {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.cot-modal .modal-footer .button {
  width: 50%;
}
.cot-modal .modal-footer.formbutton form {
  width: 100%;
}
.cot-modal button.button {
  margin-bottom: 0px;
}
@media (min-width: 641px) {
  .cot-modal .modal-dialog {
    width: 100%;
    max-width: 650px;
    margin: 5% auto;
  }
}
@media (max-width: 576px) {
  .cot-modal .modal-dialog {
    width: 100%;
  }
  .cot-modal .modal-content {
    width: 100%;
  }
  .cot-modal .modal-footer {
    flex-direction: column;
    justify-content: center;
  }
  .cot-modal .modal-footer .btn + .btn {
    margin-bottom: 0;
    margin-left: 0px;
  }
}
/****************************************************
    When Modal is active, header and nav fall back
*****************************************************/
body.modal-open .tn-header #header {
  position: relative;
  z-index: 100 ;
}
body.modal-open .tn-topnav nav#nav {
  z-index: 500 !important;
}

