﻿#first-row-in-your-area, #second-row-in-your-area, #third-row-in-your-area, #fourth-row-in-your-area, #fifth-row-in-your-area {width: 100%;}
.local-press-release {margin: 0px;height: auto; overflow: hidden;}
#change-location {font-size: 16px;}
#localizedSubheader small {display: none;}
span.glyphicon-pencil {font-size: 20px;}
/************************************ START IN YOUR AREA CUSTOM CSS STYLES ************************************/
/* START DESKTOP STYLES */     
#category-page.in-your-area #category-gallery-first-row .gallery-row.first-column {
    border: 1px solid #92929b;
    border-radius: 0;
}
#category-gallery-first-row, #category-gallery-second-row {
    clear: both;
    padding-top: 20px;
}
#category-page.in-your-area .gallery-row p { margin-top: 10px; }
/**#category-page.in-your-area .gallery-row img {
    height: 100%;
    width: 100%;
    border: 1px solid #92929b;
    border-radius: 0;
    display: inline-block;
}**/
#category-page.in-your-area {
    padding-left: 59px;
}
a.btn.localized-donation-select-city-select {height: 38px!important;}
.in-your-area .first-row h2, .in-your-area .gallery-row h2 {
    font-size: 18px;
    line-height: normal;
    top: 0 !important;
}
.in-your-area .gallery-row .first-column .second-sub-column p { text-align: left; }
#category-page.in-your-area .gallery-row .second-sub-column a.button {
    background-color: #ff52ba !important;
    height: 40px;
    color: #fff !important;
}
#category-page.in-your-area .gallery-row.first-column,
#category-page.in-your-area .topic-row {
    padding-left: 0;
    padding-right: 0;
}
#category-page.in-your-area .second-sub-column a.button {
    padding: 25px 40px;
    color: #fff !important;
    width: 180px;
}  
.in-your-area .first-sub-column { padding: 0; }
.img-gallery-widget { border-color: #999 !important; }
#category-page.in-your-area .topic-row {
    border-color: #92929b;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
}
#category-page.in-your-area .topic-row img {
    border-radius: 0;
    border-color: #91919b;
}
#gallery-img { position: relative; }
.img-main-gallery {
    border: none !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
#gallery-caption {
    position: absolute;
    bottom: 0;
    padding: 10px;
    color: #fff;
    text-align: center;
    background: #7029ec; /* fallback color */
    background: rgba(112, 41, 236, 0.4);
    width: 100%;
}
#gallery-caption img { float: right; }       
.in-your-area .gallery-caption-text span { font-size: 20px; }       
.in-your-area .gallery-caption-link {
    background-color: transparent;
    color: #fff !important;
    font-size: 12px !important;
    text-decoration: underline;
    font-weight: bold;
}      
.purple { background-color: #7029EC; }
.blue { background-color: #009bdb; }
.A-grade {background-color: #7029EC;}
.Aminus-grade {background-color: #7029EC;}
.B-grade {background-color: #0098db;}
.Bplus-grade {background-color: #0098db;}
.Bminus-grade {background-color: #0098db;}
.C-grade {background-color: #ffd203;}
.Cplus-grade {background-color: #ffd203;}
.Cminus-grade {background-color: #ffd203;}
.D-grade {background-color: #f8901f;}
.Dplus-grade {background-color: #f8901f;}
.Dminus-grade {background-color: #f8901f;}
.F-grade {background-color: #e31a2d;}
.light-purple { background-color: #6179ff; }
.pink { background-color: #00aca0; }
.orange { background-color: #ed6d3b; }
.block {
    border-radius: 0;
    display: table-cell;
    text-align: center;
    margin: 0 auto;
    color: #fff;
    padding-bottom: 20px;
}
.block-container {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 5px;
}
.block p {font-size: 11px;color: #fff;margin-bottom: 0px;margin-top:30px!important;}
.block span {font-size: 24px;font-weight: bold;}  
#state-rank.block span {font-size: 18px;line-height: 0px;} 
#category-gallery-second-row { display: block; }    
#category-gallery-second-row-mobile { display: none; }
.cdc-warning {width:100%;border:1px solid #7029EC;background-color: rgb(112,41,236, 0.2); color:#7029EC;padding:10px;margin-bottom: 20px;}
.cdc-warning span {font-size: 16px;}
.cdc-warning p {color:#7029EC;}
.cdc-warning p a {font-family: "GraphikBold";}
.in-your-area .topic-row { height: auto !important; }
.in-your-area .topic-row .first-row {text-align: left;padding: 0;}
.in-your-area .second-row p { top: 0 !important; }
.in-your-area .second-row img { margin-bottom: 15px; }
.in-your-area .second-row.img-thumb-widget p {
    font-size: 18px;
    line-height: 30px;
    color: #7029EC;
}
.in-your-area .topic-row-link {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
.in-your-area .first-row .content-container {
    display: inline-flex;
}
.in-your-area .topic-row-link a {
    text-decoration: underline;
}
.in-your-area .first-row p {
    line-height: normal;
    top: 10px !important;
    margin-bottom: 30px;
    height: auto;
    margin-right: 15px;
    max-width: 728px;
}

#form_searchEvents {width: 100% !important;min-width: 100% !important;}
.see-more-link {width: 100%; text-align: center;}
a.more-link {
        color: #0F1934;
        font-family: "GraphikBold";
        font-weight: normal;
        font-size: 18px;
        display: inline-block;
        text-decoration: none;
        border-bottom: 2px solid #b542eb;
}

#mkt-board-recog { display: block; }
#mkt-board-recog .bx-wrapper {max-width: 880px!important;}
#mkt-board-recog .bx-wrapper .bx-viewport {box-shadow: none;border: 0px;}
#mkt-board-recog .bx-wrapper .bx-prev, #mkt-board-recog .bx-wrapper .bx-next {background: none;}
#mkt-board-recog-mobile .bx-wrapper .bx-prev img, #mkt-board-recog-mobile .bx-wrapper .bx-next img {border: none;}
#mkt-board-recog .bx-wrapper .bx-prev img, #mkt-board-recog .bx-wrapper .bx-next img {border: none;}
#mkt-board-recog .bx-wrapper .bx-controls-direction a {margin-top: -64px;}
#mkt-board-recog .bx-wrapper .bx-prev {left: -40px;}
#mkt-board-recog .bx-wrapper .bx-next {right: -40px;}

#mkt-board-recog-mobile { display: none; }

.desktop-slider {width: 175px; height: 230px; float: left;text-align: center;}
.desktop-slider img {width: 177px!important;height: 177px!important;}
.desktop-slider  p {top: 14px!important;}

.in-your-area .line { border-color: #92929b; }
#category-page.in-your-area #left-column > div:nth-child(2) { border-top: 1px solid #92929b; }
.in-your-area .second-sub-column .button {
    float: left;
    line-height: 0;
}
#category-page.in-your-area .topic-row.sections a.button {
    height: 35px;
    line-height: 0;
    padding: 20px 0;
    display: inline-block;
    width: 180px;
    color: #fff;
    background-color: #a0afff;
}
#category-page.in-your-area #sponsors.topic-row img {
    width: auto;
    height: auto;
    border: none;
    text-align: left;
}
.divSponsors {
    text-align: center;
    margin-bottom: 65px;
}
.divSponsors a {
    display: inline-block;
}
.divSponsors img {
    margin: 10px 30px 10px 10px;
}
#localizedSubheader br {display: none;}

.direct-donation {
    max-width: 540px;
    float: left;
}
.direct-donation img {
    height: 116px;
    width: 116px;
    border: 1px solid #92929b;
    border-radius: 0;
    display: inline-block;
    float: left;
}
.direct-donation-copy {
    float: left;
    width: 350px;
    padding-right: 40px;
}
.or-div {
    float: left;
    width: 22px;
    height: 65px;
    margin-top: 33px;
}
.or-div-text {
    color: #7029EC;
    padding: 10px 0px;
    clear: both;
}
.or-div-lines {
    width: 13px;
    height: 15px;
    border-left: 1px solid #92929b;
    float: right;
}
.download-donation-form {
    max-width: 322px;
    float: left;
    padding: 33px 48px 0px 20px;
}
.contact-local-office {
    /*max-width: 253px;*/
    float: left;
    padding-left: 50px;
}

.img-main-gallery {
    height: 100%;
    width: 100%;
    border-radius: 0;
    display: inline-block;
}

/* END DESKTOP STYLES */
/* START MOBILE STYLES */
@media screen and (max-width: 991px) and (orientation: portrait), screen and (max-width: 991px) and (orientation: landscape) { /* 767 */
    #category-page.in-your-area h2 { top: 0; }
    .in-your-area .line { border: none; }
    .in-your-area .first-row .content-container {
        display: block;
    }
    #category-page.in-your-area h1, #category-page.in-your-area h2, .slider-container {
        clear: both;
        text-align: center;
        font-size: 18pt !important;
    }
    #category-page.in-your-area h2 > a {
        clear: both;
        text-align: center;
        font-size: 20px !important;
    }
    .block {padding-bottom: 10px;}
    .block span { font-size: 20px; }
    #grade p {margin-bottom: 28px}
    #state-rank p {margin-bottom: 28px}
    #category-page.in-your-area .second-sub-column a.button {width: 175px;background-color: #ff52ba !important;height: 40px;color: #fff !important;}

    #category-gallery-first-row {
        text-align: center; 
    }
    #category-gallery-first-row .second-column {
        padding-left: 0px;
        padding-right: 0px;
    }
    .in-your-area .gallery-caption-text span {
        font-size: 40px;
    }
    #category-gallery-second-row-mobile .topic-row .first-sub-column,
    #category-gallery-second-row-mobile .topic-row .second-sub-column {
        margin-right: 20px;
    }
    #category-page.in-your-area .gallery-row.second-column,
    #category-page.in-your-area .topic-row:not(.section),
    #category-page.in-your-area .topic-row .fourth-section {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    #category-gallery-second-row-mobile {
        display: block;
        text-align: center;
    }
    #category-gallery-second-row-mobile .topic-row {
        border-top: 1px solid #92929b;
    }
    #category-gallery-second-row { display: none; }
    .img-gallery-widget { display: none !important; }
    .img-gallery-widget-mobile {
        display: block !important;
        margin-right: 10px;
    }
    #category-gallery-second-row-mobile img { float: left; }
    #category-gallery-second-row-mobile .second-sub-column p { text-align: left; }
    .in-your-area .topic-wrapper, 
    .slider-img { /* center floated elements */ 
        display: inline-block !important; 
    }
    #mkt-board-recog { display: none; }
    #mkt-board-recog-mobile { display: block !important; }
    .topic-content p {height: auto!important;}
    .mobile-slider {width: 100%; height: 230px; float: left;text-align: center;margin-left: 0px;}
    .mobile-slider img {width: 177px!important;height: 177px!important;}
    .mobile-slider  h3 {top: 14px!important;} 

    .slider-img {
        /*width: auto !important; /* change value to fixed width & height upon final img */
        /*height: auto !important; /* change value to fixed width & height upon final img */
        width: 200px !important;
        height: 200px !important;
    }
    .slider-container, .slider-container h1 { margin-top: 10px; }
    /* bx control icons */
    #category-page.in-your-area #mkt-board-recog-mobile .bx-wrapper .bx-prev {
        background: none;
        height: 10%;
        width: 5%;
        left: 5%;
    }
    #category-page.in-your-area #mkt-board-recog-mobile .bx-wrapper .bx-next {
        background: none;
        height: 10%;
        width: 5%;
        right: 5%;
    }
    #category-page.in-your-area .bx-wrapper .bx-controls-direction a { top: 25%; }
    /*.in-your-area .first-row.fourth-section { border-bottom: 1px solid #92929b; }*/
    .in-your-area .first-row.fourth-section.last-child { border-bottom: none; }
    #category-page.in-your-area .first-row.second-column,
    #category-page.in-your-area .first-row.third-column {
        padding-top: 10px;
    }
    .in-your-area .first-row p { top: 0 !important; }
    #category-page.in-your-area .topic-row, .topic-row-feature { margin-top: 0 !important; }
    #category-page.in-your-area .topic-row .topic-content p { top: 0; }
    #category-page.in-your-area .topic-row.sections a.button {
        width: 220px !important;
        height: 45px;
        line-height: 0;
        padding: 30px 0;
        display: inline-block;
    }
    #category-page.in-your-area .topic-row.sections { padding: 0 !important; }
    
    .download-donation-form {
        max-width: 100%;
        width: 100%;
        padding: 15px 0px 10px 0px;
    }
    .or-div-mobile {
        margin-top: 30px;
        width: 100px;
        margin: 20px auto 0px auto;
    }
    .or-div-lines-mobile {
        border-bottom: 1px solid #92929b;
        width: 15px;
        height: 10px;
        float: left;
    }
    .or-div-text-mobile {
        color: #92929b;
        width: 40px;
        float: left;
    }
    
} /* 991 */
        
@media screen and (max-width: 767px) and (orientation: portrait), screen and (max-width: 767px) and (orientation: landscape) { /* 767 */
    .in-your-area .gallery-caption-text span { font-size: 15px; }
}
/* END MOBILE STYLES */