*{
    box-sizing: border-box;
}
html,
body{
    margin: 0 auto;
    font-family: 'Open Sans',Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #013E50;
}

h1,h2,h3,h4{
    font-weight: 300;
    margin: 0;
}
h2{
    color: #2092ca;
}
h4 a{
    color: #013E50;
}
h4 a:hover,
h4 a:active{
    color: #2092ca;
}
hr{
    margin-bottom: 20px;
}
input[type="submit"]{
    text-transform: uppercase;
    border-radius:3px;
    border:0;
    background-color: #ddd;
    color: white;
    font-size: 22px;
    letter-spacing: 1px;
    display:block;
    padding: 8px 25px;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    opacity: .5;
    cursor: default;
    pointer-events: none;
    outline: 0;
}
input[type="submit"].unsaved{
    background-color: #e56e39;
    opacity: 1;
    cursor: pointer;
    pointer-events: all;
}
input[type="submit"].unsaved:hover,
input[type="submit"].unsaved:active{
    background-color: #2092ca;
}
#header{
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #eee;
}
#header img{
    align-self: center;
    margin-top:5px;
    max-height: 90px;
    max-width: 300px;
}
#header h1{
    margin: 0 0 0 5px;
    font-size: 30px;
    line-height: 30px;
}
#header h1 + img{
    position: absolute;
    right: 15px;
    max-height: 90px;
}
#header .download-zip{
    background-color: #e56e39;
    height: 30px;
    line-height: 30px;
    color: white;
    border:0;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    margin-left: auto;
    margin-right: 30px;
    padding-left: 10px;
    padding-right: 10px;
    outline: 0;
}
#header .download-zip:hover{
    background-color: #2092ca;
}
#container{
    display:flex;
}
#sitemap{
    width: 25%;
    padding: 50px 15px 50px 15px;
    border-right: 2px solid #eee;
}
#sitemap h2{
    margin-bottom: 15px;
    position: relative;
}
#sitemap ul{
    margin: 0;
    padding:0;
}
#sitemap ul ul{
    padding-left: 20px;
}
#sitemap li{
    list-style-type: none;
    position: relative;
    padding-left: 15px;
}
#sitemap li:before{
    content: "\2022";
    font-weight: bold;
    position: absolute;
    left: 0;
    color: #ccc; 
    font-size: 20px;
    line-height: 22px;
}
#sitemap li.inprogress:before{
    color: #e56e39;
}
#sitemap li.complete:before{
    color: #2092ca;
}
#sitemap a{
    display: block;
    text-decoration: none;
    color: #013E50;
    font-weight: 400;
}
#sitemap a:hover,
#sitemap a:active{
    text-decoration: underline;
}
#sitemap a.active{
    font-weight:bold;
    text-decoration: underline;
}
#sitemap .colorkey-trigger{
    background-color: transparent;
    padding:0;
    width: 16px;
    height: 16px;
    position: relative;
    top: -3px;
    cursor: pointer;
    border:0;
}
#sitemap .colorkey-trigger img{
    width: 100%;
    height: 100%;
}
#sitemap .colorkey-trigger:hover,
#sitemap .colorkey-trigger:active{
    outline: 0;
    filter: brightness(0%);
}
#sitemap .colorkey-trigger:hover + .colorkey{
    display: block;
}
#sitemap .colorkey{
    position: absolute;
    top: -45px;
    left: 121px;
    width: 100px;
    height: auto;
    right: 20px;
    border: 1px solid #eee;
    padding: 5px 10px 2px 10px;
    text-align: left;
    background-color: white;
    font-size: 12px;
    border-radius: 4px;
    color: #013E50;
    font-weight: bold;
    display: none;
}
#sitemap .colorkey span{
    position: relative;
    display: block;
    font-weight: normal;
    padding-left: 12px;
    margin-bottom: 3px;
}
#sitemap .colorkey span:before{
    content: "\2022";
    font-weight: bold;
    position: absolute;
    left: 0;
    top:-4px;
    color: #ccc; 
    font-size: 20px;
}
#sitemap .colorkey .orange:before{
    color: #e56e39;
}
#sitemap .colorkey .blue:before{
    color: #2092ca;
}
#status{
    position: fixed;
    background-color: white;
    -webkit-box-shadow: 0px 0px 12px -2px rgba(0,0,0,0.46);
    -moz-box-shadow: 0px 0px 12px -2px rgba(0,0,0,0.46);
    box-shadow: 0px 0px 12px -2px rgba(0,0,0,0.46);
    width: 300px;
    height: 150px;
    top: 30%;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 10px;
    z-index: 3;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    text-transform: uppercase;
    padding: 15px;
    border: 2px solid #013E50;
    flex-wrap: wrap;
}
#status.active{
    opacity: 1;
    pointer-events: all;
    display: flex !important;
}
#status.alert{
    width: 400px;
    color: #e56e39;
    border-color: #e56e39;
    text-transform: none;
    cursor: pointer;
}
#status.alert:before{
    content:'X';
    color: #e56e39;
    font-weight: bold;
    background-color: transparent;
    border-radius: 0;
    border: 0;
    font-size: 18px;
    top: 10px;
    right: 10px;
    cursor: pointer;
    text-align: right;
    position: absolute;
}
#status p{
    margin-bottom:0;
}
#status button{
    -webkit-font-smoothing: antialiased;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 5px;
    padding: 4px 9px;
    cursor: pointer;
    font-size: 15px;
}
#status button:hover,
#status button:active,
#status button:focus{
    background-color: #2092ca;
    border-color: #2092ca;
    color: white;
}
#status .sitemap-save{
    background-color: #e56e39;
    border-color: #e56e39;
    color: white;
    text-transform: uppercase;
    letter-spacing: .3px;
}
#pageid{
    display:inline-block;
    margin-left: 5px;
}
#progress{
    height: 30px;
    width: 80px;
    border-radius: 20px;
    background-color: #ccc;
    display: inline-block;
    float: right;
    position: relative;
    cursor: pointer;
    -webkit-transition: background-color .3s ease-in-out;
    -ms-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}
#progress:after{
    content:'INCOMPLETE';
    position: absolute;
    bottom:-20px;
    right:-3px;
    letter-spacing: .5px;
    font-size: 13px;
}
#progress:before{
    content:'';
    width: 22px;
    height: 22px;
    border-radius: 100%;
    background-color: white;
    display: block;
    position: absolute;
    margin-top: 4px;
    left: 4px;
    -webkit-transition: left .3s ease-in-out;
    -ms-transition: left .3s ease-in-out;
    transition: left .3s ease-in-out;
}
#progress.active{
    background-color: #2092ca;
}
#progress.active:before{
    left: 54px;
}
#progress.active:after{
    content:'COMPLETE';
    right: 5px;
}
#content-intro{
    margin-top: 0;
    margin-bottom: 23px;
}
#content{
    width: 50%;
    max-width: 900px;
    padding: 50px 15px 50px 15px;
    position: relative;
}
#title{
    font-weight: 800;
    font-size: 40px;
    color: #013E50;
    margin: 6px 0 15px 0;
    display: block;
}
#toggle-url{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    right: 15px;
    top: 115px;
    padding-left: 30px;
}
#toggle-url input{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
#toggle-url .checkbox{
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    display: block;
    position: absolute;
    left:0;
    background-color: white;
    pointer-events: none;
    cursor: pointer;
}
#toggle-url .checkbox:after{
    content:'';
    width: 15px;
    height: 15px;
    position: absolute;
    left: 1px;
    top: 1px;
    pointer-events: none;
    display: block;
    background: url("../assets/images/check.svg") center center no-repeat transparent;
    background-size: contain;
}
#toggle-url input:checked + .checkbox{
    border-color: #2092ca;
    background-color: #2092ca;
}
#toggle-url input:checked + .checkbox:after{
    opacity: 1;
}
#editor .content-url{
    border: 1px solid #ccc;
    padding: 15px;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 16px;
    display: none;
}
#editor .content-url.active{
    display: block;
}
#editor input[type="submit"]{
    margin: 30px 0;
}
#disclaimer{
    display: block;
}
#version-history{
    position: relative;
}
#version-history #toggle-versions{
    border: 0;
    background-color: transparent;
    position: absolute;
    right: 0;
    top: -60px;
    color: #2092ca;
    text-decoration: underline;
    cursor: pointer;
}
#version-history #toggle-versions:hover,
#version-history #toggle-versions:active{
    color: #013E50;
}
#version-history #versions{
    display: none;
    margin-bottom: 30px;
}
#version-history #versions.active{
    display: block;
}
#version-history .version{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#version-history .version:nth-child(odd){
    background-color: #eee;
}
#version-history .user{
    width: 50%;
    padding: 10px 20px;
}
#version-history .date{
    width: 35%;
    padding: 10px 20px;
}
#version-history .restore-version{
    border-radius: 3px;
    border:0;
    height: 23px;
    padding: 4px 9px;
    width: auto;
    background-color: #e56e39;
    color: white;
    margin-left: auto;
    cursor: pointer;
    margin: 0 20px 0 auto;
    text-align: right;
    text-decoration: none;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
}
#version-history .restore-version:hover,
#version-history .restore-version:active{
    background-color: #2092ca;
}
#version-history .version.active .restore-version{
    opacity: 1;
    pointer-events: all;
}
#version-history .view-version{
    border: 0;
    background-color: transparent;
    width: auto;
    display: block;
    color: #e56e39;
    margin: 0;
    cursor: pointer;
    padding: 0 20px 0 0;
    text-align: right;
    text-decoration: underline;
    width: 100px;
}
#version-history .view-version:hover,
#version-history .view-version:active{
    color: #2092ca;
}
#version-history .content{
    width: 100%;
    padding: 0 20px 10px 20px;
    display: none;
}
#version-history .version.active .content{
    display: block;
}
#uploader input[type="submit"]{
    margin: 20px 0 30px 0;
}
#uploader h4{
    margin: 10px 0;
}
#files{
    margin-top: 5px;
}
#files .file{
    width: 100%;
    display:flex;
    padding-right: 15px;
    position: relative;
}
#files .file:nth-child(odd){
    background-color: #eee;
}
#files a{
    text-decoration: none;
    color: #013E50;
    display: block;
    padding: 10px 15px;
    width: 70%;
}
#files a:hover,
#files a:active{
    color: #2092ca;
}
#files .date{
    width: 20%;
    padding: 10px 0;
}
#files .delete-ask{
    color: #e56e39;
    font-weight: bold;
    background-color:transparent;
    border-radius:0;
    border:0;
    font-size: 18px;
    float: right;
    cursor: pointer;
    width: 10%;
    text-align: right;
    position: relative;
}
#files .delete-ask:hover,
#files .delete-ask:active{
    color: #2092ca;
}
#files .delete-ask:focus{
    outline:0;
}
#files .tooltip{
    display: block;
    position: absolute;
    top: -61px;
    width: 180px;
    height: 67px;
    right: 20px;
    border: 1px solid #e56e39;
    padding: 8px 0 10px 0;
    text-align: center;
    background-color: white;
    font-size: 12px;
    border-radius: 4px;
    border-bottom-right-radius: 0;
    color: #e56e39;
    font-weight: bold;
}
#files .tooltip button{
    border-radius: 3px;
    margin: 5px;
    padding: 4px 9px;
    cursor: pointer;
    border: 0;
    outline: 0;
}
#files .tooltip button:hover,
#files .tooltip button:active{
    background-color: #2092ca;
    color: white;
    border-color: #2092ca;
}
#files .delete{
    background-color: #e56e39;
    border-color: #e56e39;
    color: white;
}
#files + .download-zip{
    color: #e56e39;
    border: 0;
    font-weight: bold;
    background-color: transparent;
    text-decoration: underline;
    margin-top: 22px;
    outline:0;
    cursor: pointer;
    padding:0;
}
#files + .download-zip:hover{
    color: #2092ca;
}
#comments-form{
    margin-top: 15px;
}
#comments-form label{
    display: block;
    font-weight: bold;
}
#comments-form input[type="text"]{
    padding: 5px;
    border: 1px solid #bbb;
    margin-bottom: 10px;
    font-family: 'Open Sans',Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #013E50;
    font-size: 16px;
}
#comments-form textarea{
    min-height: 80px;
    width: 100%;
    padding: 5px;
    border: 1px solid #bbb;
    margin-bottom: 10px;
    font-family: 'Open Sans',Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #013E50;
    font-size: 16px;
}
#comments-feed{
    margin-top: 20px;
}
#comments-feed .item{
    border-bottom: 1px solid #bbb;
    margin-bottom: 20px;
    position: relative;
}
#comments-feed .author{
    font-weight: 400;
}
#comments-feed .date{
    float:right;
}
#comments-feed p{
    margin-top: 5px;
    padding-right: 50px;
}
#comments-feed .delete-ask{
    color: #e56e39;
    font-weight: bold;
    background-color: transparent;
    border-radius: 0;
    border: 0;
    font-size: 18px;
    float: right;
    cursor: pointer;
    width: 30px;
    text-align: right;
    position: absolute;
    right: 0;
    padding: 0;
    top: 30px;
}
#comments-feed .delete-ask:hover,
#comments-feed .delete-ask:active{
    color: #2092ca;
}
#comments-feed .delete-ask:focus{
    outline:0;
}
#comments-feed .tooltip{
    display: block;
    position: absolute;
    top: -40px;
    width: 180px;
    height: 67px;
    right: 0;
    border: 1px solid #e56e39;
    padding: 8px 0 10px 0;
    text-align: center;
    background-color: white;
    font-size: 12px;
    border-radius: 4px;
    border-bottom-right-radius: 0;
    color: #e56e39;
    font-weight: bold;
}
#comments-feed .tooltip button{
    border-radius: 3px;
    margin: 5px;
    padding: 4px 9px;
    cursor: pointer;
    border: 0;
    outline: 0;
}
#comments-feed .tooltip button:hover,
#comments-feed .tooltip button:active{
    background-color: #2092ca;
    color: white;
    border-color: #2092ca;
}
#comments-feed .delete{
    background-color: #e56e39;
    border-color: #e56e39;
    color: white;
}
#sidebar{
    width: 25%;
    padding: 50px 15px 50px 15px;
    border-left: 2px solid #eee;
}
#sidebar h2{
    margin-bottom: 15px;
}
#fields{
    display: none;
}
#fields > div{
    margin-bottom: 10px;
}
#fields #template b{
    display: block;
}
#fields #template b a{
    position: relative;
    margin-left: 6px;
    top: 4px;
}
#fields #template b a:hover img,
#fields #template b a:active img{
    filter: brightness(0%);
}
#fields #template b img{
    width: 20px;
    height: 20px;
}
#fields input[type="text"],
#fields textarea{
    padding: 5px;
    border: 1px solid #bbb;
    margin-bottom: 10px;
    font-family: 'Open Sans',Helvetica, Arial, sans-serif;
    font-weight: bold;
    color: #013E50;
    display: block;
    font-size: 16px;
    width: 90%;
    margin-top: 5px;
}
#fields input[type="submit"]{
    margin-top: 25px;
}
div#fields input[type="text"],
div#fields textarea{
    display: block;
    border: 0 !important;
    width: auto;
    cursor: default;
    margin: 0;
    padding: 0;
    outline: 0 !important;
}
div#fields input[type="submit"]{
    display: none;
}

@media(max-width: 767px){
    #header img{
        display: none;
    }
    #container{
        flex-wrap: wrap;
    }
    #sitemap,
    #content,
    #sidebar{
        width: 100%;
    }
}