/*
Theme Name: REA
Theme URI: http://www.bronco.co.uk
Author: Ben Drummond/Paul Dobson
Description: Bespoke Wordpress Theme
Version: 0.9beta
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* ================================== Above Fold (see header.php) ========================= */
/* ================================== Below Fold ========================= */

/* Icon Sprites */
span.nopic{background:#ccc url(img/logo.png) no-repeat center center/40% !important ;opacity:0.5}

#arrow a,p#resp a:after,#msg-response ul:after,p.quote:before,p.quote:after,footer ul.contacts li:not(:first-child):before,a.social,.bios span.nopic,.comrades div.item span.nopic,.comrade .avatar,a.pdf:before,a.doc:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='100' viewBox='0 0 1200 100'%3E%3Cpath opacity='.4' d='M0 50a50 50 0 1 0 100 0A50 50 0 0 0 0 50'/%3E%3Cpath fill='%23FFF' d='M32.5 52.5L25 45l25-25 25 25-7.5 7.5L55 40v40H45V32.5v20V25v15'/%3E%3Cpath fill='%230A253E' d='M100 15h100v15H100V15zm0 30h100v15H100V45zm0 30h100v25H100V75z'/%3E%3Cpath d='M336.9 9.1A60.9 60.9 0 0 0 301 63.3c0 15.9 10.1 27.5 22.6 27.5 13 0 19.7-9.8 19.7-18.8 0-10.4-7.2-18.5-18-18.5-3.2 0-6.4.9-8.1 2.3 0-12.7 10.1-27.8 25.8-35.6l-6.1-11.1zM386.9 9.1A60.9 60.9 0 0 0 351 63.3c0 15.9 10.1 27.5 22.6 27.5 13 0 19.7-9.8 19.7-18.8 0-10.4-7.2-18.5-18-18.5-3.2 0-6.4.9-8.1 2.3 0-12.7 10.1-27.8 25.8-35.6l-6.1-11.1z'/%3E%3Cpath fill='%23FFF' d='M220 9.3L290.6 80 280 90.6 209.3 20 220 9.3zm60.1 0l10.6 10.6L220 90.7l-10.6-10.6 70.7-70.8M450 100l-2.6-3.1c-1.4-1.7-34-41.1-34-60.4a36.5 36.5 0 1 1 73.1 0c0 19.3-32.6 58.7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.8 0 0 0-11.4-6.1M666.6 54l22.3 23.1H611L633.2 54l16.7 16.4L666.6 54zm-60.1-26.3l22.1 21.8-22.1 22.9V27.7zm64.7 21.8l22.3-22v45.1l-22.3-23.1zm-60.3-26.6h78l-39 38.5-39-38.5zM600 83.6h100V16.4H600v67.2M800 0h100v100H800V0zm60.5 87.5V54H872l1.5-13h-13v-8c0-3.5 1-6.5 6.5-6.5h7V15c-1 0-5.5-.5-10-.5-10 0-16.5 6-16.5 17V41H836v13h11v33h13.5v.5M1100 0h100v100h-100V0m92.5 22c-3.2 1.5-7 2.5-10.5 3 4-2.2 6.8-9 8-10.3-3.5 2-7.5 3.5-11.7 4.5a18.4 18.4 0 0 0-32 12.5c0 1.5 0 3 .5 4.2a51 51 0 0 1-38-19.5c-1.5 2.7-2.5 6-2.5 9.3 0 6.5 3.3 12 8.3 15.2-3.3 0-6-1-8.5-2.2v.3a18 18 0 0 0 15 18c-1.5.5-3 .8-5 .8-1.2 0-2.2 0-3.5-.3 2.5 7.2 9 12.5 17.2 12.8a35.5 35.5 0 0 1-22.7 8.2c-1.5 0-3 0-4.5-.3 8 5.2 18 8.2 28.5 8.2a52 52 0 0 0 52.5-52.5v-2.5c3.1-2.4 6.4-5.6 8.9-9.4z'/%3E%3Cpath fill='%23D10321' d='M748.5 75.3l-2.4.2v15.6l1.9.1c4.9 0 8-2.6 8-8.3.1-5-2.8-7.6-7.5-7.6zm-20.8-.1l-2.2.2v7l1.8.1c2.9 0 4.6-1.4 4.6-3.9 0-2.1-1.5-3.4-4.2-3.4zM786.3 24c0-.5-.2-.9-.5-1.3L766.5.7l-.4-.3-.1-.1-.4-.2h-.1L765 0h-47.4a3.9 3.9 0 0 0-3.9 3.9v92.2c0 2.2 1.8 3.9 3.9 3.9h64.7c2.2 0 3.9-1.8 3.9-3.9V24.2l.1-.2zm-51.2 60.2a11.2 11.2 0 0 1-7.7 2.5l-1.8-.1v8.5h-5.3V71.7c1.7-.3 4-.5 7.3-.5s5.7.6 7.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 .8-.1 1.1.1.5.3.9.8 1.3 1.2-.5.4-.9 1-1.4 1.1l-5.5.1h-12.3v-.1zm-.1 20.9c-5.5 0-10.9.1-16.4-.1-.8 0-2.1-.7-2.2-1.1-.1-1.6 1.3-1.2 2.3-1.2h33c.5 0 1.1-.1 1.5.1.4.2 1 .8.9 1-.1.5-.5 1.1-1 1.2-.8.2-1.8.1-2.7.1h-15.4zm-18.3-39c2.8 0 2.2 1.9 2.5 3.1.4 1.4.7 2.9 1.3 4.4.5-2 .8-4 1.4-5.9.2-.6.9-1.1 1.4-1.6.4.5 1.1 1.1 1.2 1.7.5 1.8.9 3.8 1.6 5.7l1.4-6.1c.1-.5.9-1 1.4-1.4l.5.5-2.4 9.1c-.1.4-.9 1-1.2.9-.5-.1-1.1-.7-1.2-1.2-.5-2-.9-4-1.6-5.9l-1.6 6.1c-.1.4-.7 1-1.1 1-.4.1-1.1-.4-1.2-.8-.9-3.1-1.6-6.2-2.4-9.6zm22.2 7.8c-2.1 0-4.3.1-6.4-.1-.7-.1-1.2-.8-1.8-1.3.6-.4 1.3-1.2 1.9-1.2h12.6c.7 0 1.3.8 2 1.2-.7.5-1.4 1.3-2 1.4h-6.3zm-28.5 62.6V75.6c2.8-.9 6.1-.2 7.6 1.7 1.7 2 2 6.4.6 9.1-1.8 3.2-4.7 3.6-8.2 3.3zm21.8-7.2c.5-1.6.8-3.3 1.5-4.8 1.8-3.4 6.2-3.5 8-.2a10 10 0 0 1-.1 10.3c-1.8 3-6.3 2.7-8-.5-.8-1.4-1-3.1-1.4-4.8'/%3E%3C/svg%3E") !important;background-size:cover}

/* Generic Classes */
iframe,video{width:100%;height:500px;border:0}
video{height:auto}
.group:after,.wrap:after{content:"";display:table;clear:both}
.entry-meta a{background:#d10321;color:#fff;margin:10px;padding:5px 10px}
section{clear:both;margin:20px auto}
small{font-size:12px;font-size:1.2rem}
a.pdf:before,a.doc:before{content:"";display:block;width:50px;height:50px;background-position:-350px 0}
a.doc:before{background-position:-500px 0}
ul.spacedli li{margin-bottom:20px;list-style-type:none}

/* Floating Nav */
#arrow {position:fixed;top:5px;right:5px;text-align:right;display:none;z-index:9999}
#arrow a{float:right;width:40px;height:40px;background-position:0 0}

/* Message */
#msg-response{display:none;position:absolute;width:500px;left:0;background:#C99;border-radius:5px;margin-top:40px;padding:10px;border:3px #fff solid;color:#fff;box-shadow:2px 2px 4px 5px #ccc;z-index:9999}
#msg-response ul{position:relative;width:100%}
#msg-response ul:after{position:absolute;right:0;top:0;width:20px;height:20px;content:"";background-position:-40px 0}
#msg-response ul:hover{cursor:pointer}
#msg-response li{list-style-type:none}
#msg-response li:first-child{margin-right:25px}

/* Footer */
footer{background:#8a2332;color:#fff;text-align:left;padding:20px 0}
footer p,footer ul{float:left;margin:0}
footer ul{margin:10px 0}
footer ul li{clear:both;list-style-type:none;margin:10px 0}
footer ul li:first-child{font-size:20px;font-size:2rem;text-transform:uppercase}
footer p:first-child{width:140px;text-align:left}
footer p:last-child{float:right;width:auto;margin-top:10px;font-size:13px;font-size:1.3rem}
footer strong{display:block}
footer a{color:inherit;text-decoration:none}
footer a:hover{color:inherit;text-decoration:underline}
footer ul li:not(:first-child):before{content:"";float:left;width:20px;height:20px;background-position:-80px 0;margin-right:10px}
footer ul li:nth-child(3):before{background-position:-100px 0;margin-bottom:20px}
footer ul li:last-child:before{background-position:-120px 0}

a.social{float:left;width:32px;height:32px}
a.social:hover{text-decoration:none;opacity:0.75}
a.facebook{background-color:#238a2332;background-position:-256px 0}
a.twitter{margin-left:10px;background-color:#238a2332;background-position:-352px 0}

/* Front Page */
section.actions ul{display:flex;flex-wrap:wrap;margin:10px 0;justify-content:space-between;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='960' height='10' viewBox='0 0 960 10'%3E%3Cpath fill='%230a253e' d='M306 0h1v10h-1zM652 0h1v10h-1'/%3E%3C/svg%3E") repeat-y 0 0/contain}
section.actions ul li{list-style-type:none;flex:0 1 28%;margin-bottom:10px;padding-bottom:50px;position:relative;box-sizing:border-box}
section.actions ul li h3{text-transform:uppercase;color:#8a2332}
section.actions ul li em{display:block;color:#8a2332;margin:20px 0}
section.actions ul li button{display:block;margin:20px 0}
section.news li span{float:left;width:100%;height:0;padding-bottom:71.41%;background-color:#ccc;background-size:cover;margin-bottom:10px}
section.news li p{margin-top:10px}
section.actions:not(.news) ul li:before{float:left;content:"";width:100%;background:url(img/actions.jpg) no-repeat 0 0/700%;height:0;padding-bottom:71.5%}
section.actions:not(.news) ul li h3{margin-top:76%}
section.actions ul li:first-child:before{background-position:16.66% 0}
section.actions ul li:nth-child(2):before{background-position:0 0}
section.actions ul li:last-child:before{background-position:33.33% 0}
section.row2 ul li:first-child:before{background-position:49.99% 0}
section.row2 ul li:nth-child(2):before{background-position:66.67% 0}
section.row2 ul li:last-child:before{background-position:83.32% 0}

section.membership {background-image:url(img/membership.jpg)}
section.membership h2{color:inherit}
section.membership li{margin:20px 0}
section.membership ul ul{margin-left:40px}
section.membership ul ul li{list-style-type:none;margin:10px 0}
section.membership ul ul li:before{content: "-";margin-right:5px}

section.join{background:#eff0f4;color:#8a2332}
section.join button{background:#003761;color:#fff;border:1px solid white}
section.join .rightcol{background:url(img/actions.jpg) no-repeat 100% 0/cover;height:0;padding-bottom:36%}

/* Legacies */
div.poem {width:360px;background:#e8cBa3;color:#000;font-style:italic;padding:20px;box-sizing:border-box}

/* Days Pay Scheme */
#post-832 ul{list-style-position:outside}
#post-832 li {margin:20px}
svg#dps2{width:100%;height:auto}

/* Contact */
.contact {width:100%}
.contact form{background:#F3E9EA;padding:20px;max-width:600px}
.contact label,.contact.accounts label.short{float:left;width:200px;font-weight:700}
.contact label.required:after,.contact .help:before{content:" * ";color:#900}
.contact textarea{height:160px;font:inherit}
.contact input[type="text"],.contact input[type="number"]{height:30px}
.contact textarea, input[type="text"]{min-width:260px}
.contact button{background:#8A2332;color:#fff;border:1px #fff solid}
.contact .help,.contact button{margin-left:200px}
.contact .message {display:none;border:1px #fff solid;color:#fff;padding:5px;background:#396}

.contact.badge form{margin-bottom:40px}
.contact.badge fieldset{border:1px #999 solid;border-radius:5px;padding:20px;margin-bottom:20px}
.contact.badge legend{color:#8a2332}
.contact.badge input.num{width:100px;min-width:75px}
.contact.badge textarea.full{width:100%;height:470px}

.contact.accounts label{width:320px}
.contact.accounts input:read-only{background:#ddd;border:1px #000 solid}

/* Join */
.join form {margin-bottom:20px}
.join textarea{height:72px}
.join input.date{width:100px;min-width:100px}
.join input[type="radio"]{margin-right:35px}

#ui-datepicker-div {background:#fff;border:1px #ccc solid;left:2px;padding:5px}
.ui-datepicker-header a{cursor:pointer;color:inherit;text-decoration:none}
.ui-datepicker-header a:after{content:"\00bb";background:#efefef;padding:0 5px}
.ui-datepicker-header a:first-child{margin-right:10px}
.ui-datepicker-header a:first-child:after{content:"\00ab"}
.ui-datepicker-header a:hover:after,#ui-datepicker-div a:hover{background:#999;color:#fff}
.ui-datepicker-header a span {display:none}
.ui-datepicker-title{float:right}
.ui-datepicker-calendar{border-collapse:collapse}
.ui-datepicker-calendar th,.ui-datepicker-calendar td{border:1px #ccc solid;padding:2px 4px;text-align:center}
.ui-datepicker-calendar td {background:#efefef}
.ui-datepicker-calendar td:hover{background:#999;color:#fff}
.ui-datepicker-calendar td.ui-datepicker-other-month{background:#fff}


/* Single */
.photo{display:inline-block}
.photo img{width:100%}
.newsitem img {width:100%}

/* Latest News */
.latestnews div.item{clear:both;padding:10px}
.latestnews div.item h3 {margin-top:0}
.latestnews div.item:not(.nohover):hover {cursor:pointer;background:#efefef}
.latestnews div.item span {float:left;width:150px;height:0;padding-bottom:100px;background-size:cover;margin:0 10px 10px 0}

.latestnews .resources .events p{flex:0 1 100%;margin:0;padding:10px;text-align:left}
.latestnews .resources .events p.link:hover{cursor:pointer;background:#efefef}
.latestnews .resources .events p time{margin-right:10px}

.latestnews .resources div.item{flex:0 1 46%;text-align:left}
.latestnews .resources div.item span{margin-top:5px}
.latestnews .resources div.item p{margin:0}

/* Links */
.links div.item {clear:both;padding:10px;border-bottom:1px #ccc solid}
.links div.item h3 {margin:0 0 10px 0}
.links div.item p {margin-top:0}
.links div.item:hover {cursor:pointer;background:#efefef}
.links div.item span {float:left;width:200px;height:0;padding-bottom:80px;background-size:100%;background-repeat:no-repeat;margin:0 10px 10px 0}
.links div.item span.nopic{background-size:25% !important}

/* Comrades */
.comrades div.items{display:flex;flex-wrap:wrap;margin:10px 0;justify-content:space-between}
.comrades div.item{flex:0 1 22%;margin-bottom:10px;text-align:center;padding:10px}
.comrades div.item:not(.nohover):hover {cursor:pointer;background:#efefef}
.comrades div.item p{display:inline-block;width:120px;height:120px;margin:0}
.comrades div.item h3{clear:both;margin:10px 0}
.comrades div.item h3 a{text-decoration:none}
.comrades div.item h3 a:hover{color:inherit}
.comrades div.item span{border:0;display:block;padding-bottom:120px;background-size:cover !important}
.comrades div.item span.nopic{border:10px solid #ccc;opacity:1;background-position:-900px !important;padding-bottom:100px}
.comrade  img{max-width:300px}
.comrade .avatar{float:left;width:150px;height:0;padding-bottom:150px;background-position:-1350px;background-color:#ccc;border:10px solid #ccc}

/* Branches */
#filters {background:#F3E9EA;padding:10px;width:100%;box-sizing:border-box;line-height:40px}
#filters legend{font-weight:700;color:#8A2332;font-size:18px;font-size:1.8rem}
#filters label{float:left;width:300px;font-weight:700;margin-right:5px}
#filters select{padding:4px}
#filters input{min-width:120px;width:120px !important;margin-right:5px;padding:4px}
#filters button{padding:0 10px 3px 10px}
#map-canvas{width:100%;height:0;padding-bottom:65%;margin:20px 0;opacity:0.99}

.region {display:none}
#regional-group{margin-bottom:40px}
#regional-group strong {display:block}

#cboxLoadedContent #wpadminbar,#cboxLoadedContent header,#cboxLoadedContent nav,#cboxLoadedContent .breadcrumb,#cboxLoadedContent footer{display:none}
#cboxLoadedContent #main>.newsitem>div:before{content:url(/wp-content/themes/rea/img/logo.png)}

/* Resources */
.resources{margin-bottom:20px}
.resources div.resource,.resources div.items div.content>h3 {display:none} /* Hidden Content */
.resources h2 {border:1px #ccc solid;padding:5px 10px;margin:0;font-weight:700;color:#8a2332;margin-top:10px;text-transform:capitalize}
.resources h2:hover{cursor:pointer}
.resources h2:before{content:"+";margin-right:10px;font-weight:700}
.resources h2.open:before{content:"-"}
.resources div.items{display:flex;flex-wrap:wrap;justify-content:space-around;border:1px #ccc solid;border-top:0}
.resources div.items div.content{padding:10px;flex:0 1 100%}
.resources div.item{flex:0 1 22%;margin:5px 0;text-align:center;padding:10px}
.resources div.item:not(.nohover):hover {cursor:pointer;background:#efefef}
.resources div.item a:before{margin:auto}
.resources div.item a{text-decoration:none}
.resources div.item a:hover{color:inherit}
.resources div.rea-forms-documents strong,.resources div.rea-forms-documents a{display:block}
.resources div.rea-forms-documents ol{list-style-type:lower-alpha;font-style:italic;color:#333 !important}
.resources div.rea-forms-documents em{color:#333 !important}

/* Benevolence */
.benevolence div.items{display:block}
.benevolence div.items li {margin:10px}
#post-186 .resources h2{text-transform:none}

/* Bios */
.bios{clear:both;background:#f1f1f1}
.bios>h2{padding-top:40px;margin-left:2.1%}
.bios>div{display:flex;flex-wrap:wrap;justify-content:space-around}
.bios>div>div{border-bottom:5px #fff solid;padding:40px 0}
.bios>div>div:nth-child(odd){flex:0 1 28%;}
.bios>div>div:nth-child(odd) p span{display:inline-block;margin-left:7.5%;width:85%;height:0;padding-bottom:115%;background-size:cover !important;background-position:center center}
.bios>div>div:nth-child(odd) p span.nopic{background-position:90% !important;background-size:1100% !important}
.bios>div>div:nth-child(even){flex:0 1 72%}
.bios>div>div:nth-child(even)>div{margin:0 10px 0 0}
.bios>div>div:nth-child(even) h4{color:#8A2332;font-weight:400;font-size:16px;font-size:1.6rem}
.bios>div>div:nth-child(even) h4 strong{font-size:18px;font-size:1.8rem}
.bios>div>div:nth-child(even) h4 a{text-decoration:none}

/* BJD Colorbox  2018/07/13 */
#colorbox,#cboxOverlay,#cboxWrapper{position:absolute;top:0;left:0;z-index:9998;overflow:hidden;-webkit-transform: translate3d(0,0,0)}
#cboxWrapper {max-width:none}
#cboxOverlay{position:fixed;width:100%;height:100%}
#cboxMiddleLeft,#cboxBottomLeft{clear:left}
#cboxContent{position:relative}
#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling: touch}
#cboxTitle{margin:0}
#cboxLoadingOverlay,#cboxLoadingGraphic{position:absolute;top:0;left:0;width:100%;height:100%}
#cboxPrevious,#cboxNext,#cboxClose,#cboxSlideshow{cursor:pointer}
.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}
.cboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0}
#colorbox,#cboxContent,#cboxLoadedContent{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}
#cboxOverlay{background:#000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9999' height='9999' viewBox='0 0 9999 9999'%3E%3Cpattern id='p' patternTransform='rotate(45 0 0)' patternUnits='userSpaceOnUse' width='8' height='8'%3E%3Cline x1='0' y1='0' x2='0' y2='8' style='stroke:%23111;stroke-width:4'/%3E%3C/pattern%3E%3Crect x='0' y='0' width='9999' height='999' fill='url(%23p)'/%3E%3C/svg%3E")}
#colorbox{outline:0}
#cboxTopLeft,#cboxTopRight,#cboxBottomLeft,#cboxBottomRight,#cboxMiddleLeft,#cboxMiddleRight,#cboxPrevious,#cboxNext,#cboxClose{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='176' height='50'%3E%3Cdefs%3E%3Cpath id='s' d='M30.9,18.5l3.7-5.6l-3.3-5.1h2.5l2.2,3.4l2.1-3.4h2.5L37.2,13l3.7,5.5h-2.6l-2.4-3.7l-2.4,3.7H30.9M59.7,17.3v-2.1l5.1-2l-5.1-2v-2l7.4,3.2v1.8L59.7,17.3M90.8,17.3l-7.4-3.2v-1.8l7.4-3.2v2.1l-5.1,2 l5.1,2V17.3'/%3E%3C/defs%3E%3Crect id='r' opacity='.5' width='14' height='50'/%3E%3Crect id='r2' fill='white' x='14' width='11' height='50'/%3E%3Cpath id='c' fill='%23B3B3B3' d='M36,24c-6.1,0-11-4.9-11-11S29.9,2,36,2s11,4.9,11,11S42.1,24,36,24M36,3c-5.5,0-10,4.5-10,10s4.5,10,10,10s10-4.5,10-10S41.5,3,36,3M62,24c-6.1,0-11-4.9-11-11S55.9,2,62,2s11,4.9,11,11S68.1,24,62,24M62,3c-5.5,0-10,4.5-10,10s4.5,10,10,10s10-4.5,10-10S67.5,3,62,3M88,24c-6.1,0-11-4.9-11-11S81.9,2,88,2s11,4.9,11,11S94.1,24,88,24M88,3c-5.5,0-10,4.5-10,10s4.5,10,10,10c5.5,0,10-4.5,10-10S93.5,3,88,3'/%3E%3Cuse xlink:href='%23s' fill='%23B3B3B3'/%3E%3Cuse xlink:href='%23c' y='25.5'/%3E%3Cuse xlink:href='%23s' fill='%232E3192' y='24.6'/%3E%3Cpath opacity='.5' d='M131 50h-12a19 19 0 0 1-19-19V19a19 19 0 0 1 19-19h12a19 19 0 0 1 19 19v12a19 19 0 0 1-19 19zm-12-36a5 5 0 0 0-5 5v12a5 5 0 0 0 5 5h12a5 5 0 0 0 5-5V19a5 5 0 0 0-5-5h-12'/%3E%3Cpath fill='white' d='M136 32a4 4 0 0 1-4 4h-14a4 4 0 0 1-4-4V18a4 4 0 0 1 4-4h14a4 4 0 0 1 4 4v14'/%3E%3Cuse xlink:href='%23r2' x='137'/%3E%3Cuse xlink:href='%23r' x='162'/%3E%3C/svg%3E") !important}
#cboxTopCenter,#cboxBottomCenter{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1' height='21'%3E%3Crect opacity='.5' width='1' height='14'/%3E%3Crect y='14' fill='white' width='1' height='7'/%3E%3C/svg%3E") !important}
#cboxTopLeft,#cboxTopRight,#cboxBottomLeft,#cboxBottomRight{width:21px;height:21px;background-repeat:no-repeat;background-position:-100px 0}
#cboxTopRight{background-position:-129px 0}
#cboxBottomLeft{background-position:-100px -29px}
#cboxBottomRight{background-position:-129px -29px}
#cboxMiddleLeft,#cboxMiddleRight{width:21px;background-position:0 0;background-repeat:repeat-y}
#cboxMiddleRight,#cboxBottomCenter{transform:rotate(180deg)}
#cboxTopCenter,#cboxBottomCenter{height:21px;background-position:-60px 0;background-repeat:repeat-x}
#cboxContent{background:#fff;overflow:hidden}
.cboxIframe{background:#fff}
#cboxError{padding:50px;border:1px solid #ccc}
#cboxLoadedContent{margin-bottom:28px}
#cboxTitle{position:absolute;bottom:4px;left:0;text-align:center;width:100%;color:#949494}
#cboxCurrent{position:absolute;bottom:4px;left:58px;color:#949494}
#cboxLoadingOverlay{background:#fff}
#cboxLoadingGraphic{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath opacity='.2' d='M20.2 5.2a14.9 14.9 0 1 0 0 29.8 14.9 14.9 0 1 0 0-29.8zm0 26.6a11.6 11.6 0 1 1 11.6-11.6c0 6.3-5.2 11.5-11.6 11.6'/%3E%3Cpath d='M26 10l1.7-2.9c-2.2-1.3-4.7-2-7.5-2v3.3c2.1.1 4.1.7 5.8 1.6'/%3E%3C/svg%3E") no-repeat center center;animation:spin 1s infinite}
@keyframes spin {100% {transform:rotate(360deg)}}
#cboxPrevious,#cboxNext,#cboxSlideshow,#cboxClose{border:0;padding:0;margin:0;overflow:visible;width:auto;background:none}
#cboxPrevious:active,#cboxNext:active,#cboxSlideshow:active,#cboxClose:active {outline:0}
#cboxSlideshow{position:absolute;bottom:4px;right:30px;color:#0092ef}
#cboxNext,#cboxPrevious,#cboxClose{position:absolute;bottom:0;left:0;background-repeat:no-repeat;background-position:-75px 0;width:25px;height:25px;text-indent:-9999px}
#cboxClose{left:auto;right:0;background-position:-25px 0;}
#cboxNext{left:27px;background-position:-50px 0}
#cboxPrevious:hover{background-position:-75px -25px}
#cboxNext:hover{background-position:-50px -25px}
#cboxClose:hover{background-position:-25px -25px}
.cboxIE #cboxTopLeft,.cboxIE #cboxTopCenter,.cboxIE #cboxTopRight,.cboxIE #cboxBottomLeft,.cboxIE #cboxBottomCenter,.cboxIE #cboxBottomRight,.cboxIE #cboxMiddleLeft,.cboxIE #cboxMiddleRight {filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)}

/* Custom Changes */
#cboxClose{background-color:#fff;bottom:auto;top:-2px;right:-2px}
#cboxLoadedContent{margin-bottom:0}


@media only screen and (max-width:860px)
{
section.actions ul{background:none}
section.actions ul li{flex:0 1 32%}
footer p:last-child{clear:both;float:left}
}

@media only screen and (max-width:640px)
{
#msg-response{width:280px}

section.actions ul li{flex:0 1 100%;margin-bottom:30px;padding-bottom:0}
section.actions ul li h3,section.actions ul li p{margin-bottom:0}
section.actions ul li button{display:block;position:inherit;margin-top:10px}
section.news li span,section.actions:not(.news) ul li:before{padding-bottom:60%}
section.join .rightcol{padding-bottom:72%}
section.actions:not(.news) ul li h3{margin-top:62%}
section.news li span.nopic{padding-bottom:0}
section.featured p{margin-right:0}

.bios>h2{margin-left:10px}
.bios>div>div{padding:0}
.bios>div>div:nth-child(odd){flex:0 1 100%;text-align:left;border:0;padding-bottom:0}
.bios>div>div:nth-child(odd) p{width:50%;padding-bottom:0;margin-left:10px}
.bios>div>div:nth-child(even){flex:0 1 100%;padding-top:0}
.bios>div>div:nth-child(even)>div{margin:0 10px}
.bios>div>div:nth-child(even) h4{margin-top:0}

.latestnews .resources div.item{flex:0 1 100%}
svg#dps1{width:100%;height:auto}
#filters label{width:200px}

footer ul.contacts li:nth-child(2):before{margin-bottom:20px}
}

@media only screen and (max-width:480px)
{
#map-canvas{padding-bottom:75%}
.contact label{clear:both}
.contact .help,.contact button{margin-left:0}
.links div.item span{float:none;display:block;padding-bottom:80px}
footer svg{width:90px;height:auto}
footer ul li:first-child{font-size:16px;font-size:1.6rem}
footer ul li span{display:none}
footer ul li:nth-child(3):before{margin-bottom:40px}
div.poem {width:100%}
#filters label{width:100%}
}