@media (min-width: 576px) {
    
    .modal.adimage .modal-dialog {max-width:835px;}
    .modal.adimage .modal-dialog .modal-body img {margin: 0 auto; display: block;}
    
    .modal-instructions.modal .modal-dialog {max-width:780px; width: auto; text-align: center;}
    .modal.lto .modal-dialog {max-width: 875px; width: auto;}
    #qrcode.modal .modal-body {padding: 20px 15px;}
    #qrcode.modal .modal-body img {width:350px;}
    
    #subscribemodal .modal-dialog {max-width: 800px;}
    
    .modal.resources .modal-dialog {max-width:800px;}
    
    /* Footer */
    footer .container-fluid {-webkit-align-items: flex-start; -moz-align-items: flex-start; -ms-align-items: start; align-items:flex-start;}
    
    /** Form Pages **/
    .formContainer .form-group.half {width:48%;}
    .formContainer .form-group.half.left {margin-right:4%;}
    
    /* Business */
    .bus-image > div {width:550px;}
}

@media (min-width: 768px) {
    
    /* Index */
    #categoryslide .item a {margin: 20px 30px 20px 0;}
    #categoryslide .card {}
    .category-arrows a.btn {margin: 0 10px;}
    .indexbottom .form-container {width:100%;}
    .indexbottom .form-container .form-group.first {width:49%; margin-right:2%;}
    .indexbottom .form-container .form-group.last {width:49%;}
    
    /* Discounts & Program Info */
    .toplinks .col-12 {margin-bottom: 30px;}
    
    /**** INFORMATION PAGES ****/
    #infoboxes .card {margin: 0 20px;}
    #infoboxes .card-header {font-size: 22px;}
    #infoboxes .card-header i {font-size: 20px;}
    
    /* Signatures */
	#signature-pad {width:538px;}
	#signature-modal input.form-control {width:75%;}
	.pad-outer {padding: 15px;}
    #signature-modal .modal-dialog {width: 600px; max-width: 600px;}
    
    /* Response */
    .formbody.success #enrollformresponse .height {height: 260px;}
    .formbody.success #enrollformresponse .leftoutput { width:40%; padding: 0;}
    .formbody.success #enrollformresponse .leftoutput img {width:200px;}
    .formbody.success #enrollformresponse .rightoutput {width:60%; text-align: left;}
    .formbody.success #enrollformresponse .rightoutput h3 {font-size: 21px;}
    .formbody.success #enrollformresponse .rightoutput h5 {font-size: 18px; margin-bottom: 1rem;margin-top:1rem;}
    
    /* Examples */
    #examplepage .slick-slide {padding: 10px 10px 10px 10px; }
    #examplepage .slick-arrow {padding: 11px 14px 11px;}
}

@media (min-width: 992px) {
    
    /* Main Elements */
    .container-fluid {padding: 0 40px;}
    .container-fluid > .row:not(.no-gutters) {margin-left: -40px; margin-right: -40px;}
    
    /* Header */
    header .navbar .container-fluid {min-height: 70px;}
    
    .logo .container-fluid {-ms-flex-direction: row; flex-direction: row; -webkit-box-pack:space-between; -ms-flex-pack:justify; justify-content: space-between; height:139px; padding: 0 40px;}
    .logo .navbar-brand {padding: 0; width:auto;}
    .logo .programtitle {border-top: none; border-bottom: none; width: auto; text-align: right;}
    .logo .programtitle > span {padding: 28.5px 19.5px;}
    
    .bottomhead {display: block;}
    
    /* Index */
    #indexslides {margin-top:-54px;}
    #indexslides .caption {position: absolute; max-width: 600px; width: auto; height: auto; right: auto; left: 0; background:rgba(255,255,255,0.8); padding: 15px 37px 30px 40px; z-index: 3; overflow: hidden; /*bottom:41px;*/}
    #indexslides .slick-current .caption {-webkit-animation: slideup2 1.5s ease-in-out; -webkit-animation-fill-mode: forwards; -webkit-animation-delay: 0.5s; animation: slideup2 1.5s ease-in-out; animation-fill-mode: forwards; animation-delay: 0.5s; }
    #indexslides.unstuck .slick-current .caption {-webkit-animation: slideup 1.5s ease-in-out; -webkit-animation-fill-mode: forwards; -webkit-animation-delay: 0.5s; animation: slideup 1.5s ease-in-out; animation-fill-mode: forwards; animation-delay: 0.5s;}
    #indexslides .caption > div {text-align: left;}
    
    #indexslides .caption ul li {-ms-flex: 0 0 48%; flex: 0 0 48%; max-width: 48%;}
    
    #scrolldown {display:block;}
    
    .slide-arrows {bottom:20%;}
    #indexslides.unstuck .slide-arrows {bottom:30px;}
    .slide-arrows button { right:40px; bottom:10px;}
    
    
    /** Inside Pages **/
    .innercontent > .container-fluid > .row {-webkit-box-pack:space-between; -ms-flex-pack:justify; justify-content: space-between;}
    .leftcolumn {-ms-flex: 0 0 30.5%; flex: 0 0 30.5%; max-width: 30.5%;}
    .leftcolumn > div {padding: 32px 16px 32px 28px; height:100%;}
    .rightcolumn {-ms-flex: 0 0 68%; flex: 0 0 68%; max-width: 68%;}
    .navbar-expand-lg #accordion {display: block !important; margin-top: 1px;}
    
    #accordion {padding: 0;}
    #accordion .accordion-item {animation: flipdown 0.5s ease both; animation-delay:0.5s;}
    #accordion .accordion-item:last-child {padding-bottom: 0;}
    #accordion .accordion-collapse .accordion-body {max-height: 700px;}
    
    .innercontent.onecolumn {padding-top: 37px;}
    .innercontent.onecolumn .pagecontent {padding: 0 31px 0 29px;}
    
    .pagecontent {padding: 15px 0 15px 19px;}
    
    /**** INFORMATION PAGES ****/
    #mainimage {margin-top:-54px;}
    #mainimage .caption {position: absolute; max-width: 550px; width: auto; height: auto; right: auto; left: 0; background:rgba(255,255,255,0.8); padding: 15px 37px 30px 40px; z-index: 3; overflow: hidden; bottom:20%;}
    #mainimage.unstuck .caption {bottom:45px;}
    #mainimage .caption > div {text-align: left;}
    #scrolldown2 {display:block;}
    
    #information .row {margin-left:-20px; margin-right:-20px;}
    #information .flex-item {padding-left: 20px;padding-right:20px; margin-top:20px; margin-bottom: 20px;}
    #infoboxes .card {margin: 0;}
    #infoboxes .card-header {font-size: 26px;}
    #infoboxes .card-header i {font-size: 24px;}
    
    a#closebox {width: 3.2rem; height: 3.2rem; right: 4rem; top: 2rem; line-height: 3.2rem;}
    a#closebox i {font-size: 2rem;}
    
    .insideinfo h1.title {padding: 0; font-size: 30px;}
    
    .formouter .formbody > * {width: 85%; margin-left: 7.5%;}
    .formouter .formbody form {width: 85%; margin-left: 7.5%;}
    .formouter .formbody > #enrollformresponse {width:100%; margin-left: auto;}
    
    /* Example Page */
    #examplepage .center {padding: 10px 15px 0 15px;}
    #examplepage .slick-slide {padding: 10px 0 10px 0;}
    #examplepage .slick-slide > div {-webkit-transform: scale(.5); transform: scale(.5);}
    #examplepage .slick-center > div {-webkit-transform: scale(1); transform: scale(1);}
    #examplepage .zoomlink {display:none;}
    #examplepage .slick-center .zoomlink {display:block;}
    #examplepage .slick-arrow {font-size: 22px; padding: 13px 18px 13px;}
    #examplepage .slick-arrow.slick-next {right: 0px;}
    #examplepage .slick-arrow.slick-prev {left: 0px;}
    
    /* ERROR Pages */
    #list-tab a {-ms-flex: 0 0 33.33333%; flex: 0 0 33.33333%; max-width: 33.33333%;}
    
    /* Resources */
    .resourcerow .card .card-body img {width:80%;}
}

@media (min-width: 1200px) {
    
    /* Index */
    
    
    /**** INFORMATION PAGES ****/
    #infoboxes .card-header {}
    #infoboxes .card-header i {}
    
    .infotext {padding: 1.5rem 2rem;}
    
    /* Error Page */
    #list-tab a {-ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%;}
}

@media (min-width: 1300px) {

    /* Category */
    #allCat .col-6 {-ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%;}
    
    /* National Discounts */
    #nationaldiscounts .grid .item {-ms-flex: 0 0 20%; flex: 0 0 20%; max-width: 20%;}
    
    
}

@media (min-width: 1450px) {

    /* Vendors */
    #vendordiscounts .grid .item {-ms-flex: 0 0 20%; flex: 0 0 20%; max-width: 20%;}
    
    /* New vendors */
    #newvendors .grid .item {-ms-flex: 0 0 20%; flex: 0 0 20%; max-width: 20%;}
    
    /* Cats */
    #cat .grid .item {-ms-flex: 0 0 20%; flex: 0 0 20%; max-width: 20%;}
    
}

@media (max-width: 991px) {
    /* Index */
    .slide-arrows {bottom:36%; right: 10px; }
    .slide-arrows button {width:30px;height:30px; font-size: 16px;}
    
    /* Inside Pages */
    .breadcrumbs {display:none;}
    .programtitle {background:#f2f2f2;}
    
    /* Mobile App */
    .appslides {display: block;}
    .appbottom .card {margin: .8rem auto; width:100%;}
    .appbottom .card:first-child {margin-bottom: 1.4em;}
    
    /**** INFORMATION PAGES ****/
    .insideinfo > .container {max-width: 100%;}
}

@media (max-width: 767px) {
    /* Index */
    .slide-arrows {bottom:40%;}
    
    #categoryslide .slick-slide:nth-child(2n+1) a {margin-right: 10px;}
    #categoryslide .slick-slide:nth-child(2n+2) a {margin-right: 0px; margin-left: 10px;}
    
    /**** INFORMATION PAGES ****/
    #infoboxes .card-header {-ms-flex-direction: row; flex-direction: row; -webkit-box-pack: flex-start; -ms-flex-pack: start; justify-content: flex-start;}
    #infoboxes .card-header h4 {font-size: 1.4375rem;}
    #infoboxes .card-header i {display: none;}
    
    .contacttext > span:first-child > i {display:none;}
    .contacttext > span:first-child br {display: block;}
    
    .formbody table.formtable td {width:100%; display:block; height:auto; text-align: left;}
	.formbody table.formtable td label.control-label {padding: 10px 0px 0px 0px; margin-bottom:5px;}
    .formbody table.formtable td.answer {margin-bottom:15px; margin-top:0px;}
	.formbody table.formtable.text td {padding-top:15px;}
	.formbody table.formtable.text td.lasttext {padding-top:15px;}
	.formbody table.formtable.signaturetable {margin-top:0px;}
	.formbody table.formtable.signaturetable td {text-align: center;}
	.formbody table.formtable.signaturetable td.tablespace {display:none;}
	.formbody table.formtable.signaturetable td:not(.answer) {height:auto;}
	.formbody table.formtable.signaturetable td.answer {margin-top:15px; margin-bottom:0px;}
	.formbody table.formtable.signaturetable td input.form-control {text-align: center;}
	.formbody table.formtable.signaturetable td input[type=button] {text-align: center;}
	.formbody table.formtable.signaturetable #hiddenImage img {margin: 0 auto;}
    
    /* Signatures */
	#signature-pad {max-width:95%;}
    
    /* Response */
	.formbody.success #enrollformresponse .otherLinks {margin: 0.5rem auto 0 auto;}
}

@media (max-width: 650px) {
    /* Index */
    .slide-arrows {bottom:55%;}
}

@media (max-width: 600px) {
    
    /**** Information ****/
    .formbody.success .otherLinks a.btn { margin: 5px 5px;}
}

@media (max-width: 575px) {
    /* Header */
    .logo .programtitle > span {padding: 10px; font-weight: 600;}
    
    /* Inside Pages */
    .breadcrumbs ul {-webkit-justify-content: center; -moz-justify-content: center; -ms-justify-content: center; justify-content: center;}
    
    /*** Information Pages ***/
    #information > .container-fluid {padding-top: 30px;}
    .insideinfo > .container .col-12 {padding-left: 0; padding-right: 0;}
}

@media (max-width: 480px) {
    
    /* Header */
    .logo .navbar-brand {padding: 15px 20px;}
    .logo .navbar-brand img {width:auto; margin: 0 auto;}
    
    /* Index */
    .slide-arrows {bottom:65%;}
    
    /**** Information ****/
    .contacttext {margin: 5px auto 25px auto;}
    .contacttext > span {font-size:15px; line-height:20px;}
    .contacttext > span:last-child br {display: block;}
    .contacttext > span:last-child > i:nth-child(4) {display: none;}
	.contacttext > span:last-child > i:nth-child(6) {display:none;}
}

@media (max-width: 410px) {

	/* Response */
	.formbody.success .rightoutput {padding: 0;}
	.formbody.success .leftoutput {padding: 0; }
}

@media (max-width: 390px) {
    
    /**** INFORMATION PAGES ****/
    a#closebox {width: 2rem; height: 2rem; line-height:2rem; top: 0.75rem; right: 0.75rem; }
    a#closebox i {font-size: 1rem;}
    
    
}

@media (max-width:375px) {
    /* Response */
	.formbody.success .otherLinks a.btn {display:block; margin: 0 auto;}
	.formbody.success .otherLinks a.btn:last-child {margin-top:10px;}
}

@media (max-width: 350px) {
    /**** INFORMATION PAGES ****/
    .contacttext > span {font-size:14px;}
	.formlogo img {width:150px;}
}

html.ie .ltoImage img.img-fluid {width:100% !important;}

/* Form Pages */
html.ie .formContainer .form-group.select i {display: none;}

/* Search */
html.ie #resultsgrid .mix a span.busname {display: block; white-space: normal; width: 100%;}

/* Error Pages */
html.ie #searchgrid .mix a span.busname {display: block; white-space: normal; width: 100%;}