:root {
	--primary: #1b810d;
    --primaryOpaque: rgba(27, 129, 13, 0.1);
    --secondary: #054212;
    --highlighted: #e48706;;
    --red: #ff104b;
    --white: #FFF;
    --green: #00db48;
	--menu: #434c5e;
	--stroke: #d4d9e2;
	--black: #000;
	--shaded: #f6f7fb;
	--background: #EEEBEB;
	--placeholder: rgba(27, 129, 13, 0.4);
	--text: #000;
    --shadow: 0px 0px 8px 2px rgba(32, 30, 30, 0.08);
    --actionshadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    --shadowColor: rgba(0,0,0,0.08);
    --transition: 0.1s;
    --offWhite: #FCFCFC;
    --dark: #28292B;
    --radius: 7px;
}

[contenteditable] {
    outline: 0px solid transparent;
}

::placeholder {
	color: var(--placeholder);
}

::-webkit-scrollbar {
    width: 14px;
    height: 18px;
}

::-webkit-scrollbar-track {
    background: transparent url('/assets/images/scrollbar.png') repeat-y !important;
}

::-webkit-scrollbar-thumb {
    min-height: 34px;
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    background-color: var(--menu);
    -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
    box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

::-webkit-scrollbar-track-piece:start {
    background: transparent url('/assets/images/scrollbar.png') repeat-y !important;
}

::-webkit-scrollbar-track-piece:end {
    background: transparent url('/assets/images/scrollbar.png') repeat-y !important;
}

::-webkit-scrollbar * {
    background:transparent;
}

::-webkit-input-placeholder {
    color: var(--placeholder);
}

:-moz-placeholder {
   color: var(--placeholder);
   opacity:  1;
}

::-moz-placeholder {
   color: var(--placeholder);
   opacity:  1;
}

:-ms-input-placeholder {
   color: var(--placeholder);
}

::-ms-input-placeholder {
   color: var(--placeholder);
}

html {
	height: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

body {
	font-family: "Open Sans";
	font-size: 14px;
	color: var(--text);
	margin: 0px;	
	color: var(--text);
	background-color: var(--background);
	font-size: 14px;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

div {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-repeat: no-repeat;
}

a, a:hover {
    text-decoration: none !important;
    font-weight: bold;
    color: var(--primary);
}

label {
    color: var(--dark);
    text-transform: uppercase;
    margin-top: 10px;
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 3px;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 800;
    font-family: 'Open Sans';
    overflow: hidden;
    text-overflow: ellipsis;
}



a.button {
    background-color: var(--primary);
    border-radius: 7px;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 45px;
    color: #FFF;
    display: inline-block;
    transition: var(--transition);
}

a.button:hover {
    opacity: 0.8;
}

button {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Open Sans';
    font-weight: 600;
    display: inline-block;
    min-width: 150px;
    padding-left: 20px;
    padding-right: 20px;
    clear: both;
    overflow: hidden;
    padding-right: 20px;
    height: 60px;
    line-height: 60px;
    padding: 7px;
    width: fit-content;
    text-transform: uppercase;
    text-align: center;
    border-radius: var(--radius);
    line-height: 25px;
    position: relative;
    border: 0;
    background: var(--secondary);
    color: white;
    white-space: nowrap;
    transition: all 150ms ease;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

button.secondary {
    background-color: var(--menu);
}

button.secondary:hover {
    background-color: var(--primary);
}

button:hover {
    background-color: var(--primary);
}

h1 {
    font-size: 36px;
    margin-top: 0px;
    text-align: left;
    text-transform: uppercase;
    font-family: 'Nunito','Open Sans', sans-serif;
    font-weight: 600;
    margin-bottom: -25px;
}

h2 {
    font-size: 16px;
    font-weight: normal;
    font-family: 'Nunito','Open Sans', sans-serif;
    font-weight: 200;
}

textarea::placeholder {
    font-size: 15px !important;
}

input, select, textarea {
    font-weight: 400;
    font-family: 'Open Sans', Arial, sans-serif;
    height: 50px;
    line-height: 50px;
    width: 100%;
    border-color: var(--stroke);
    border-style: solid;
    border-width: 2px;
    border-radius: 7px;
    padding-left: 10px;
    padding-right: 10px;
    outline: none;
    box-sizing: border-box;
    font-size: 16px;
    background-color: var(--navigation);
    color: var(--text);
    -webkit-appearance: none;
    margin-bottom: 20px;
}

textarea {    
    height: 200px;
    line-height: 25px;
    padding-top: 10px;
}

input[type="checkbox"] {
	width: 40px;
	height: 40px;
}

input[type="file"] {
	display: none;
}

textarea.mini {
	font-size: 12px;
}

input:focus, select:focus, textarea:focus {
    outline: none !important;
    border-color: var(--primary);
}

input:disabled, select:disabled, textarea:disabled {
	opacity: 0.2 !important;
}

input.errors {
	border-width: 2px;
	border-style: solid;
	border-color: var(--red);
}

div.errors {
	border-width: 2px;
	border-style: solid;
	border-color: var(--red);
}

input.errors, select.errors, textarea.errors, div.errors .selectable {
	border-color: var(--red);
}

select {
    background-image: url(/assets/images/select.png);
    background-position: center right 10px;
    background-repeat: no-repeat;
    background-size: 14px 7px;
    padding-right: 28px;
}

header {
    position: relative;
    width: 100vw;
    height: 60px;
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.box {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 200px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    border-width: 2px;
    border-style: solid;
    border-color: #FFF;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
}

.box.login h1 {
    margin-bottom: 0px;
}

.full {
    position: relative;
    clear: both;
    width: 100vw;
    height: calc(100vh - 60px);
    display: inline-block;
    background-size: cover;
    background-position: center center;
}

.note {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
    color: var(--menu);
}

.logo {
    background-size: contain;
    height: 38px;
    width: 300px;
    margin-left: 20px;
    position: relative;
    cursor: pointer;
    margin-top: 12px;
    float: left;
}

header {
    text-align: right;
}

header .icon {
    position: relative;
    display: inline-block;
    height: 60px;
    width: 45px;
    font-size: 28px;
    font-weight: 400;
    color: var(--black);
    line-height: 60px;
    margin-right: 20px;
    opacity: 0.8;
    cursor: pointer;
    transition: var(--transition);
}

header .icon:hover {
    color: var(--primary);
    opacity: 1.0;
}

header .iconLogo {
    width: 60px;
    height: 60px;
    background-size: contain;
    position: absolute;
    left: 40px;
    top: 10px;
    z-index: 10;
    cursor: pointer;
}

header .icon-user .hovermenu {
    position: absolute;
    pointer-events: none;
    top: 65px;
    height: fit-content;
    width: fit-content;
    right: 0px;
    opacity: 0.0;
    padding: 20px;
    border-bottom-right-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    background-color: var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

header .icon-user .hovermenu .link {
    line-height: 20px !important;
}

header .icon-user .hovermenu a {
    width: 100%;
    font-family: 'Nunito','Open Sans', sans-serif;
    line-height: 30px;
    pointer-events: all;
    text-wrap: nowrap;
    position: relative;
    display: inline-block;
    font-size: 16px;
    color: var(--white);
}

header .icon-user .hovermenu a:hover {
    transition: var(--transition);
    color: var(--black);
}

header .icon-user.open .hovermenu {
    top: 60px;
    transition: var(--transition);
    opacity: 1.0;
    height: fit-content;
}

nav {    
    position: absolute;
    right: 210px;
    top: 0px;
    line-height: 60px;
    font-size: 14px;
    color: #000;
}

nav a { 
    color: #000;
    transition: var(--transition);
}

nav a:hover { 
    color: var(--primary);
}

#AdminSite header {
    height: 60px;
    position: fixed;
    z-index: 25;
    top: 0px;
    line-height: 60px;
    background-color: #302f2f;
    box-shadow: var(--shadow);
}

#AdminSite nav {
    left: 120px;
    height: 60px;
    line-height: 60px;
    position: absolute;
}

#AdminSite nav a {
    position: relative;
    float: left;
    text-align: center;
    height: 42px;
    margin-right: 18px;
    margin-left: 18px;
    font-family: 'Nunito','Open Sans', sans-serif;
    text-transform: uppercase;
    color: #FFF;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .5px;
    font-size: 15px;
}

#AdminSite nav a:hover, #AdminSite nav a.selected {    
    border-bottom: solid 2px #FFF;
}

#AdminSite .icon {
    color: #FFF; 
}

#AdminSite header .right {
    width: 160px;
    position: absolute;
    right: 40px;
    top: 0px;
}


/* Mobile Styles */
@media (max-width:600px) {
    .box {
        width: 100%;
    }
}

.overlay {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: linear-gradient(to right, var(--primary) 30%, var(--primaryOpaque) 100%);
    opacity: 0.7;
}

.sized {
    position: relative;
    margin-top: 80px;
    padding-left: 60px;
    padding-right: 60px;
    width: 100%;
}

.dropmenu {
    position: fixed;
    right: 106px;
    width: 240px;
    top: -50px;
    height: 0px;
    padding-top: 20px;
    padding-bottom: 10px;
    z-index: 15;
    border-radius: 10px;
    background-color: var(--secondary);
    box-shadow: 0 2px 18px 0 rgba(0,0,0,0.55);
    transition: 0.3s ease-in;
    overflow: hidden;
    z-index: 24;
    padding-bottom: 25px;
}

.dropmenu.open {
    top: 50px;
    height: auto;
}

.dropmenu a {
    position: relative;
    width: 100%;
    color: var(--white);
    width: bold;
    line-height: 26px;
    display: inline-block;
    padding-left: 25px;
    padding-right: 25px;
    line-height: 28px;
    height: 25px;
    font-size: 15px;
    height: 28px;
    text-transform: uppercase;
    transition: var(--transition);
}

.dropmenu a:hover {
    color: var(--black);
    background-color: var(--highlighted);
}

.subnav {
    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-bottom-color: #e6e8eb;
    position: relative;
    float: left;
    width: 100%; 
}

.subnav a {
    position: relative;
    float: left;
    margin-right: 30px;
    text-transform: uppercase;
    color: #434c5e;
    padding-bottom: 6px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .5px;
    cursor: pointer;
    top: 1px;
    transition: .1s;
    font-family: 'Nunito','Open Sans', sans-serif;
}

.subnav a:hover {
    border-bottom: solid 3px var(--primary);
    top: 1px;
}

.subnav a.selected {
    border-bottom: solid 3px var(--primary);
    top: 1px;
}

.actions {
    position: absolute;
    right: 60px;
    top: 8px;
    width: auto;
    text-align: right;
    display: inline-block;
}

.actions button {
    height: 40px;
    box-shadow: var(--shadow);
}

.center {
    text-align: center;
}

.buttons {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: auto 150px;
    margin-top: 20px;
    margin-bottom: 0px;
}

h3 {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 24px;
    text-transform: uppercase;
    font-family: 'Nunito', 'Open Sans', sans-serif;
}

.grid {
    display: grid;
    margin-bottom: 20px;
}

.grid.aside {
    width: 100%;
    grid-template-columns: 70% auto;
    column-gap: 20px;
}

.area {
    background-color: rgba(255,255,255,.9);
    width: 100%;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.notopmargin {
    margin-top: 0px;
}

.area label {
    margin-top: 6px;
}

.area input, .area textarea {
    transition: var(--transition);
    margin-bottom: 5px;
    background-color: var(--stroke);
}

.area textarea {
    resize: none;
}

.selections {
    background-color: var(--stroke);
    border-radius: var(--radius);
    padding-top: 20px;
    padding-bottom: 20px;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.selections .selection {
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
    transition: var(--transition);
}

.selections .selection:hover {
    background-color: var(--white);
}

.hidden {
    opacity: 0;
    display: none;
    transition: var(--transition);
}

.hidden.show {
    opacity: 1.0;
    display: block;
}

.uploader {
    width: 100%;
    display: block;
    position: relative;
    height: 250px;
    border-radius: var(--radius);
    background-color: var(--stroke);
    cursor: pointer;
    transition: var(--transition);
    background-image: url(../images/image-upload.svg);
    background-size: auto 80%;
    background-position: center center;
}
.uploader:hover {
    opacity: 0.8;
}

.uploader .progress {
    height: 100%;
    width: 0px;
    background-color: var(--primary);
    border-radius: var(--radius);
    position: absolute;
    text-align: center;
    line-height: 250px;
    font-size: 24px;
    color: #FFF;
}

.thumbs {
    width: 100%;
    display: block;
    position: relative;
    height: 250px;
    border-radius: var(--radius);
    display: none;
}

.thumbs .image {
    width: 100%;
    background-size: cover;
    background-position: center center;
    height: 100%;
    position: absolute;
    border-radius: var(--radius);
}

.remove {
    position: absolute;
    right: -20px;
    top: -20px;
    height: 40px;
    width: 40px;
    background-image: url(../images/x-white.svg);
    background-size: 40%;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--red);
    border-radius: 20px;
    background-position: center;
    box-shadow: var(--shadow);
}

.remove:hover {
    opacity: 0.6;
}

#Contents h2 {
    width: 100%;
    height: 50px;
    line-height: 50px;
}

#Contents p {
    width: 100%;
    height: 100%;
}

.highlight-modal {
    height: 30px;
    background-color: var(--menu);
    border-radius: var(--radius);
}

.addsection {
    width: 100%;
    position: relative;
    display: inline-block;
    height: 0px;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.0;
}

.addsection.open {
    opacity: 1.0;
}

.addsection .addsectionbutton {
    position: absolute;
    width: 31.5px;
    height: 33px;
    border-radius: 5px;
    background-color: hsl(270, 1%, 29%);
    font-size: 16px;
    line-height: 32px !important;
    text-align: center;
    color: #FFF;
    bottom: 13px;
    right: -44px;
    opacity: 1;
}


#Contents p {
    margin-top: 2px;
    margin-bottom: 2px;
    padding-left: 0px;
}