@media (min-width: 576px) {
    #searchmodal .modal-dialog {max-width:750px;}
    
    .modal.adimage .modal-dialog {max-width:800px;}
    .modal.adimage .modal-dialog .modal-body img {margin: 0 auto; display: block;}
    
    .modal-instructions.modal .modal-dialog {max-width:800px; 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;}
    #subscribemodal .subscribeindex form {padding: 15px;}

    .modal.resources .modal-dialog {max-width: 875px; width: auto;}
    
    /* Business */
    .bus-image > div {width:520px;}
    
    /* Index */
    #indexslides .swiper-pagination.swiper-pagination-bullets {left: 25px; top:55%;}
    #indexslides .swiper-button {left: auto; right:25px; top:50%;}
    #categoryslide a {height:180px;}
}

@media (min-width: 768px) {
    /* Index */
    .indexmiddle > .container-fluid {padding: 40px 32px;}
    
    /* Error & Search Pages */
    #list-tab a {flex-basis:24%;}
    
    /* 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;}
    
    
    .formbody.success #enrollformresponse .leftoutput {}
    .formbody.success #enrollformresponse .leftoutput img {width:200px;}
    .formbody.success #enrollformresponse .rightoutput {text-align: left;}
    .formbody.success #enrollformresponse .rightoutput h3 {margin-bottom: 0;font-size: 22px;}
    .formbody.success #enrollformresponse .rightoutput h5 {text-align: left;margin-top:1rem; margin-bottom: 1rem; font-size: 18px; }

}

@media (min-width: 992px) {
    /* Header */
    header .sitename > div {-webkit-box-pack: end;-webkit-justify-content: flex-end;-ms-flex-pack: end;justify-content:flex-end; }
    header .sitename > div h1 {}
    
    header .navbar .container-fluid {-webkit-box-pack: space-between;-ms-flex-pack: space-between;justify-content: space-between;flex-direction: row;}
    header .navbar {padding: 8px 0;}
    
    header .navbar a.navbar-brand {margin:0;}
    header .navbar a.navbar-brand img {height:64px;}
    header .togglebuttons {padding:30px 0; }
    header .togglebuttons button {height:42px;}
    header .togglebuttons button#translatebutton span {padding-right: 7px; padding-left: 0;}
    
    #navbarCollapse .offcanvas-body > ul {display: flex; flex-direction:row; align-items: center; justify-content: space-evenly; width:100%; position: relative; flex-wrap: wrap;}
    #navbarCollapse .offcanvas-body > ul > li {width:33%;}
    #navbarCollapse .offcanvas-body > ul > li > a i {display: none; transform:rotate(90deg); transition: all .4s;}
    #navbarCollapse .offcanvas-body > ul > li > a[aria-expanded="true"] i {transform:rotate(-90deg); }
    
    #navbarCollapse .offcanvas-body > ul > li > a > span {position: relative;}
    #navbarCollapse .offcanvas-body > ul > li.hasdrop > a > span:after {display: inline-block; z-index: 30; content: ' '; border-right: 8px solid; border-right-color: inherit; border-top:8px solid transparent; margin-left:10px;}
    #navbarCollapse .offcanvas-body > ul > li.hasdrop > a[aria-expanded="true"] > span:after {transform: rotate(180deg);}
    
    #navbarCollapse .sub-menu {visibility: hidden; opacity: 0; position: absolute; display: block; left: 0; transform: scale(.9); transition:transform .2s,opacity .2s,visibility 0s .2s,-webkit-transform .2s; background-color:#fff; font-size: 14px; text-transform: uppercase; text-align: left; font-weight:700; z-index: 1000;}
    #navbarCollapse .sub-menu.subopen {visibility: visible; opacity: 1;transform: scale(1); transition:transform .4s,opacity .4s,-webkit-transform .4s; }
    
    #navbarCollapse .sub-menu ul {padding: 10px 0; display: flex; flex-flow: row wrap; text-align: left; line-height: normal; margin: 0; min-width:280px;}
    #navbarCollapse .sub-menu ul li {width:75%; padding: 5px 30px; font-weight: 500; position: relative; letter-spacing: normal; margin: 0; text-transform: capitalize;}
    #navbarCollapse .sub-menu ul li a {font-size: 14px; text-transform: capitalize; text-align: left; position: relative; display: block; line-height: normal;}
    
    /* Index */
    #indexslides .caption {position: absolute; z-index: 105; bottom:0px; height:auto; align-items: center; justify-content: center;}
    #indexslides .caption > div {width:700px; padding: 40px; background-color:rgba(1, 125, 184, 0.8);}
    #indexslides .caption h3 {font-size: 28px;}
    
    #indexslides .swiper-pagination.swiper-pagination-bullets {left: 25px; top:auto;}
    #indexslides .swiper-button {left: auto; right:25px; top:auto; bottom:12px;}
    
    .indextitle h2 {font-size: 36px;}
    
    /* Inside Pages */
   /*.breadcrumbs ul {padding: 0 10px 0 188px;}*/
    .breadcrumbs ul {padding: 0; -webkit-justify-content: flex-start; -moz-justify-content: flex-start; -ms-justify-content: start; justify-content: flex-start; text-align: left;}
    .leftcolumn {width:28.75%;}
    .leftcolumn .sidebar {padding-top:20px;}
    .rightcolumn {width:71.25%}
    .rightcolumn .pagecontent {padding:10px 0 50px 30px;}
    .pagecontent.pb-5 {padding-bottom: 4rem !important;}
    
    .navbar-expand-lg #accordion {display:block !important;}
    #accordion .accordion-item {animation: flipdown 0.5s ease both; animation-delay:0.5s;}
    #accordion .accordion-item .accordion-body {max-height:700px;}
    
     /* Error & Search Pages */
    #searchouter {width:80%;}
    #list-tab a {flex: 1;}
    
    /***** Information Pages *****/
    #mainimage .caption {position: absolute; z-index: 105; bottom:0px; height:auto; align-items: center; justify-content: center;}
    #mainimage .caption > div {width:700px; padding: 40px; background-color:rgba(1, 125, 184, 0.8);}
    #mainimage .caption h3 {font-size: 28px;}
    
    a#closebox {right: 4rem; top: 1rem;}
    a#closebox i {font-size:30px;}
}

@media (min-width: 1200px) {
    header .navbar {padding: 0;}
    header .navbar a.navbar-brand {display: flex; align-items: center; box-sizing: content-box;}
    header .navbar a.navbar-brand:before {content:''; background-image: url(../images/b-logo-baltimore.jpg); background-position: contain; background-size: 104px 104px; margin-right:20px; height:104px; display: inline-block;  width:104px; position: relative; margin-left:-24px;}
    header .togglebuttons button {height:auto;}
    
    /* Index */
    #indexslides .caption { left: 169px; bottom:60px; justify-content: flex-start;}
    #indexslides .caption > div {}
    
    #indexslides .swiper-pagination.swiper-pagination-bullets {left: 189px; bottom:40px;}
    #indexslides .swiper-button {left: 169px; right:auto; bottom:4px;}
    
    .indexmiddle > .container-fluid {border-top:5px solid #017DB8; max-width:90%;}
    .indexbottom > .container-fluid {border-top:5px solid #017DB8; max-width:90%;}
    .indextitle h2 span {display: none;}
    
    /* Business */
    .subtitle.businesspage {text-align: left;}
    #bus {flex-direction: row; -webkit-justify-content: flex-start; -moz-justify-content: flex-start; -ms-justify-content: start; justify-content: flex-start; margin-top:1.5rem;}
    .businesslinks {margin-top:0;}
    .businessContent {margin-right:2rem;}
    .businesslinks > ul { flex-direction: column; -webkit-align-items: flex-start; -moz-align-items: flex-start; -ms-align-items: start; align-items: flex-start;}
    .businesslinks > ul li {padding: 0 0 1rem; flex-grow: 1; width:100%;}
    .businesslinks > ul > li > a.btn { width: 100%; max-width:250px;}
    
    /***** Information Pages *****/
    #mainimage .caption { left: 169px; bottom:60px; justify-content: flex-start;}
    #mainimage .caption > div {}
    
    .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;}

}

@media (min-width: 1400px) {
    /***** Information Pages *****/
    .inforow .card-body h4 {font-size: 22px;}
    
    /* Vendors */
    #vendordiscounts .grid .item {width:20%; padding:10px;}
    
    /* New Vendors */
    #newvendors .grid .item {width:20%; padding:10px;}
    
    /* Cats */
    #cat .grid .item {width:20%; padding:10px;}
    
    /* National Discounts */
    #nationaldiscounts .grid .item {width:20%; padding:10px;}
    
    /* Business */
    .bus-image > div {width:575px;}
    #alternate-ad {width:575px;}
}

@media (max-width: 991px) {
    #navbarCollapse .sub-menu {position: fixed; display: block; right: -100%; width:100%; z-index: 1001; transform:translate3d(0, 0, 0); transition:all 0.5s; background-color:rgba(1, 125, 184, 1); height:calc(100% - 57px); top:57px;}
    #navbarCollapse .sub-menu.subopen {right: 0; transform:translate3d(0px, 0, 0);}
    #navbarCollapse .sub-menu ul {position: relative; padding: 0;}
    #navbarCollapse .sub-menu ul li {position: relative; color:#fff;}
    #navbarCollapse .sub-menu ul li a {position: relative; display: flex; width:100%; padding:0.5rem 0; color:#fff; font-weight: 700; text-transform: uppercase; font-size: 14px; text-align: center; align-items: center; justify-content: center;}
    
   
}
@media (max-width: 767px) {
    /** Information Pages **/
    .contacttext > span:first-child > i {display:none;}
    .contacttext > span:first-child br {display: block;}
    
    .formbody .form-group label {text-align: center;width:100%;}
    .formbody .signaturetable input.form-control {text-align: center;}
    .formbody .signaturetable #hiddenImage img {margin: 0 auto;}
    
    /* Signatures */
	#signature-pad {max-width:95%;}
    
    /* Response */
	.formbody.success .otherLinks a.btn {min-width: 175px;}

}

@media (max-width: 575px) {
    /* Header */
    header .sitename > div {-webkit-box-pack: space-between;-webkit-justify-content: space-between;-ms-flex-pack: justify;justify-content: space-between; }
    header .sitename > div h1 {font-size: 14px; line-height: 22px;}
    header .togglebuttons {-webkit-box-pack: space-between;-webkit-justify-content: space-between;-ms-flex-pack: justify;justify-content: space-between;}
    
    #navbarCollapse .offcanvas-header h5 {font-size: 14px; line-height: 22px; font-weight: 400;}
   
    /* Inside Pages */
    .top-pagination {-ms-flex-direction:column; flex-direction: column; text-align: center;}
    .top-pagination > * {margin-bottom: 10px;}
    .top-pagination > *:last-child {margin-bottom: 0;}
    
    #form-outer > form .row {flex-direction: column;}
    #form-outer > form .col {width:100%; margin-bottom: 1rem; margin-right:0;}
    #form-outer > form .col-auto {margin: 0 auto; max-width: 100%;}
    
    /** Information Pages **/
    .contacttext > span {font-size: .925rem;}
    .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;}
    .contacttext > span i {font-size: 5px;}
    .formbody label {font-size: .95rem;}
    
    /* Response */
    .formbody.success .otherLinks {flex-direction: column;}
    .formbody.success .otherLinks a.btn.btn-green {min-height:50px;}
}

@media (max-width: 480px) {
    /** Information Pages **/
    body.infopage .insideinfo > .container {width:95%;}
    
    .formlogo img {width:175px;}
    .contacttext > span {font-size: .825rem;}

}

@media (max-width: 390px) {
    /*** Information Pages ***/
    .insideinfo .infoform.formContainer .form-group label {font-size: .925rem;}
    .insideinfo .infotext p {font-size: .925rem;}
    form#enrollment .enrolltext p {font-size: .925rem;}
}

@media (max-width: 375px) {
    /*** Information Pages ***/
    /* 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 **/
    .formbody.p-4 {padding-left:1rem !important; padding-right:1rem !important;}
    .formlogo img {width:150px;}
    .contacttext > span {font-size: .8rem;}
}

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