/* -- Reset Start -- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* -- Reset End -- */

* {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

body {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #054e92;
    color: #ffffff;
}

body::after {
    display: block;
    position: fixed;
    left:0;
    right:0;
    top:0;
    bottom:0;
    content:'';
    background-image: url(../images/CovidBG.jpg);
    background-size: 100%;
    z-index: -1;
    opacity: 0.15;
}

.skipToContent {
    position: absolute;
    right: -9999px;
    top: -9999px;
    display: inline-block;
    padding: .5em;
    background-color: white;
    font-size: .75em;
    color:#444444;
}

.skipToContent:focus {
    right: 1em;
    top: 1em;
    z-index: 9999;
}

/* -- Animations -- */

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1.0;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(2em);
    }
    100% {
        opacity: 1.0;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(2em);
    }
    100% {
        opacity: 1.0;
        transform: translateY(0);
    }
}

/* -- Buttons -- */

.btn {
    display: inline-block;
    padding: 1em 2em;
    border-radius: 100px;
    text-decoration: none;
    color: inherit;
    margin: 0 0 1em;
    text-align: center;
    background-color: #dddddd;
    outline:none;
}

.btn.secondary {
    border-radius:4px;
    background-color:transparent;
    border:solid 1px #cccccc;
}

.btn:focus {
    outline: none;
}

.btn:hover {
    background-color: #eeeeee;
}

.btn.primary {
    background-color: #009ace;
    color: #ffffff;
}

.btn.primary:hover {
    background-color: #009ace5f;
}

.btn.orange {
    background-color: #ff4e00;
    color:#ffffff;
}

.btn.orange:hover {
    background-color: #ff4e005f;
}

.btn.ghost {
    background-color: transparent;
}

.btn.ghost:hover {
    opacity: 0.2;
}

/* -- Covid Council -- */

.covid-council-wrapper {
    overflow: auto;
    padding-top: .5rem;
    margin: 4rem 0;
    background-color: rgba(0, 0, 0, 0.1);
    background-image:url(../images/CouncilBG.jpg);
    background-size: 100%;
}

@media(max-width: 1250px) {
    .covid-council-wrapper {
        margin-left: -2rem;
        margin-right: -2rem;
    }
}

.covid-council {
    min-width: 1200px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 2rem;
}

.covid-council .col {
    flex: 1 1 33.333%;
    display: flex;
    flex-flow: column nowrap;
}

.covid-council .col:nth-child(2) {
    align-items: center;
}

.covid-council .col:last-child {
    align-items: flex-end;
}

.covid-council .category {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 8rem;
    margin-bottom: 2rem;
    background-color: #009ace5f;
    width: 75%;
    padding: 0 2rem;
    text-align: center;
    line-height: 1.3;
    border-radius: 0;
    transition: 0.2s ease;
    z-index: 100;
    position:relative;
    /* border:solid 1px white;
    background-color: transparent !important; */
}

.covid-council .category:not(.blank):hover {
    box-shadow: 0px 12px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-.5rem);
    background-color: #009ace !important;
    cursor: pointer;
}

.covid-council .category.dark {
    background-color: rgba(0, 0, 0, 0.15);
}

.covid-council .category.blank {
    background-color: transparent !important;
}

.covid-council .category.sm {
    width: 50%;
    height:4rem;
}

.covid-council .category.lg {
    width: 100%;
}

.covid-council .category.circle {
    height: 24rem;
    width: 24rem;
    border-radius: 24rem;
    margin-top: 2rem;
}

.covid-council .category.new-updates::before,
.covid-council .category.new-service::before {
    display:block;
    content:'New Update';
    background-color:#ff4e00;
    color:white;
    padding:.5em;
    position:absolute;
    right:1em;
    top:-.75em;
    font-size:.9em;
    line-height:1em;
}
.covid-council .category.new-service::before {
    content:'New Service';
}

.covid-council .category.circle.new-updates::before,
.covid-council .category.circle.new-service::before {
    right:auto;
    left:50%;
    transform:translateX(-50%);
    top:33.333%;
}

/* -- Header -- */

header {
    background-color: rgba(0,0,0,0.15);
    padding:1rem 0;
}

header nav ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    margin: -2rem 0 0 -2rem;
    font-size: .9em;
}

header nav ul li {
    margin: 2rem 0 0 2rem;
}

header nav ul li a {
    opacity: 0.5;
}

header nav ul li a:hover {
    opacity: 1.0;
}

/* -- Layout -- */

.container {
    width: calc(100% - 4rem);
    max-width: 1200px;
    margin: auto;
}

main#content {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 4rem 0;
    text-align: center;
}

main#content>div {
    animation: fadeInUp 1s ease;
}

hr {
    display: block;
    height: 1px;
    margin: 2rem 0;
    border: none;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 33%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 4px 1px;
    background-repeat: repeat-x;
}

/* -- Integrations -- */

ul.integrations {
    list-style: none;
    margin: -1rem 0 0 -1rem;
    padding: 4rem 0 2rem;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

ul.integrations>li {
    border: solid 1px rgba(255,255,255,0.25);
    padding: .8em 1.2em;
    border-radius: 4px;
    margin: 1rem 0 0 1rem;
    font-weight: 600;
    transition: 0.2s ease;
}

/* ul.integrations>li:hover {
	box-shadow: 0px 12px 16px rgba(0, 0, 0, 0.1);
	transform: translateY(-.25rem);
	cursor: pointer;
	opacity: 0.5;
} */

/* -- Side Panel -- */

.side-panel:not(.active) {
    display: none;
}

.side-panel {
    animation: fadeInRight 0.25s ease;
    background-color: #ffffff;
    color: #444444;
    padding: 3rem;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 768px;
    box-shadow: 0px 0px 32px rgba(0, 0, 0, 0.5);
    z-index: 999;
    overflow: auto;
    font-size: .95em;
}

.side-panel .close {
    position: absolute;
    top: calc(3rem + 1em);
    right: 3rem;
    font-weight: 600;
}

.side-panel h2 {
    margin: 0;
    padding-right: 4rem;
}

.side-panel-grid {
    display: flex;
    flex-flow: row-reverse nowrap;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 33%, rgba(255, 255, 255, 0) 0%);
    background-position: top;
    background-size: 4px 1px;
    background-repeat: repeat-x;
    padding-top: 2rem;
    margin-top: 2rem;
    align-self: flex-start;
}

.side-panel-grid-sidebar {
    flex-basis: 200px;
}

.side-panel-grid-sidebar h3:not(:nth-of-type(1)) {
    margin-top:1em;
}

.side-panel-grid-sidebar .btn {
    width: 100%;
}

.side-panel-grid-content {
    flex: 1;
    padding-right: 3rem;
}

.side-panel p {}

html.side-panel-active {
    overflow: hidden;
}

html.side-panel-active header, html.side-panel-active main {
    opacity: 0.25;
    transition: 0.25s ease;
}

.side-panel-filter {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
}

.side-panel-filter.active {
    display: block;
}

@media(max-width:768px) {
    .side-panel {
        width: 100%;
        padding: 2rem;
    }
    .side-panel .close {
        position: absolute;
        top: calc(2rem + 1em);
        right: 2rem;
        font-weight: 600;
    }
    .side-panel-grid {
        flex-flow: column-reverse nowrap;
    }
    .side-panel-grid-sidebar, .side-panel-grid-content {
        width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }
    .side-panel-grid-sidebar .btn {
        width: auto;
    }
}

/* -- Typograhy -- */

html {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333333;
}

h1, h2, h3, h4, h5, h6, p {
    -webkit-font-smoothing: antialiased;
    /* Chrome, Safari */
    -moz-osx-font-smoothing: grayscale;
    /* Firefox */
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1em;
}

h1 {
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    margin-bottom: .5em;
}

h2 {
    font-size: 1.75em;
    font-weight: 600;
}

h3 {
    font-weight: 400;
    font-size: 1.2em;
    font-weight: 600;
}

p {
    font-size: 1em;
    line-height: 1.3;
}

p+h3 {
    margin-top: 2rem;
}

.text-light {
    font-weight: 100;
}

@media(max-width:768px) {
    html {
        font-family: 'Open Sans', sans-serif;
        font-size: 14px;
        color: #333333;
    }
}

/* -- Links -- */

a {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

a:hover, a:focus {
    transition: 0.25s ease;
}

p>a {
    text-decoration: underline;
}

/* -- Lists -- */

ul.list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    line-height: 1.5;
}

ul.list.bullets {
    list-style: disc;
    padding-left: 2rem;
    padding-top: -1em;
}

ul.list.bullets>li {
    margin-top: 1em;
}

/* -- Modal -- */

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    animation: fadeIn 0.5s ease;
    overflow: auto;
}

.modal-wrapper.active {
    display: block;
}

.modal {
    background-color: #ffffff;
    border-radius: 4px;
    padding: 3rem;
    z-index: 999;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    width: calc(100% - 4rem);
    margin: auto;
    max-width: 800px;
    color: #444;
}

.modal .mobile-warning {
    display: none;
    color:#009ace;
    font-weight: 600;
}

.modal *:last-child {
    margin-bottom: 0;
}

@media(max-height: 650px) {
    .modal {
        top: 1rem;
        transform: translateY(0);
        margin-bottom: 1rem;
        width: calc(100% - 2rem);
    }
    .modal {
        padding: 2rem;
    }
    .modal .mobile-warning {
        display: block;
    }
}

@media(max-width: 768px) {
    .modal .mobile-warning {
        display: block;
    }
}

/* -- Citizen -- */

.citizen {
    padding: 2rem 0;
    width: 100%;
}

.citizen-icon {
    opacity: 0.5;
}

.citizen:hover .citizen-icon {
    transform: translateY(-26rem);
    transition: 2s ease;
    opacity: 1.0;
    cursor: pointer;
}

/* -- Shine animation -- */

.testntrace{
    display:inline-block;
    height:200px;
    width:200px;
    position:relative;
    overflow:hidden;
}
.testntrace img{
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
}
.testntrace:before{
    content:"";
    z-index:10;
    position:absolute;
    height:200%;
    width:200%  ;
    top:-120%;
    left:-120%;
    background:linear-gradient(transparent 0%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 100%);
    transition:all 2s;
    transform:rotate(-45deg);
    animation: shine 10s infinite forwards;
}
@keyframes shine{
    0%{top:-120%;left:-120%;}
    10%{left:100%;top:100%;}
    20%{left:100%;top:100%;}
    100%{left:100%;top:100%;}

}
 



/* == Custom == */ 

.custom-border-box {
  text-align: center;
  display: block;
  border: 10px solid;
  border-style: solid;
  border-image-slice: 1;
  border-width: 5px;
  border-image-source: -webkit-linear-gradient(45deg, #005c7c 10%, transparent 20%, transparent 80%, #005c7c 100%);
}