/*
Theme Name: Provis Media Process
*/

@font-face {
	font-family: "Inter var";
	font-weight: 100 900; /* stylelint-disable-line font-weight-notation */
	font-style: normal;
	font-display: swap;
	src: url(./fonts/inter/Inter-upright-var.woff2) format("woff2");
}

@font-face {
	font-family: "Inter var";
	font-weight: 100 900; /* stylelint-disable-line font-weight-notation */
	font-style: italic;
	font-display: swap;
	src: url(./fonts/inter/Inter-italic-var.woff2) format("woff2");
}

body{
	font-family: "Inter var", Helvetica, sans-serif;	
	font-size: 1.1em;
	margin-bottom:100px;

    --primary: #FF8A00;
    --background: #fff;
    --navBackground: #e6e6e6;
    --link: #FF8A00;
    --textColor: #000;
    --selectTextColor: #333;
    --StandardTransitionSpeed: 500ms;
    --StandardTransitionFunction: cubic-bezier(0.075, 0.82, 0.165, 1);

}
a{
    color:var(--link);
}
a:hover{
    color:var(--link);
    opacity: 0.8;
}
h1,h2,h3,h4,h5,h6{
	font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;	
    font-feature-settings: "lnum";
    font-variant-numeric: lining-nums;
	font-weight:900;
    letter-spacing: -0.0415625em;
    line-height: 1.25;
	padding-top: 1.2em;
	font-size: xxx-large;
}
h1{
	line-height: 1.0;
    padding-top: 0.5em;
}
h2{
	font-size: xx-large;
		
}
h3{
	font-size: x-large;
		
}
#logo{
	position: absolute;
    top: 10px;
    width: 45px;
    height: 45px;
	left:4px;
	background:url(pmg-logo.svg) no-repeat;
}
#logo a{
	position: absolute;
	width:100%;
	height:100%;
	left:0;
	top:0;
}
#fixedNav{
	position: fixed;
	background:#f6f6f6;
	width:100%;
	text-align:right;
}
#fixedNav > .container{
	position: relative;
}
#content{
	padding-top:75px;
}
header select{
	font-weight: bold;
	color: #333;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: none;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	/*display: inline-block;*/
	height: 46px;
	line-height:46px;
	padding: 6px 12px;
	font-size: 20px;
	margin: 10px 4px;
	min-width:175px;
}
header select:disabled{
	background:#ddd;
}
#nav-boxes {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    margin-right: 20px;
}

#content header{
	border-bottom:1px solid #000;
	padding-bottom:15px;
	margin-bottom:15px;
}
.modified-date{
	font-style:italic;
}
.breadcrumbs{
	display:inline-block;
	width:49%;
}
.post-options{
	width:100%;
}
.edit_links{
	display:inline-block;
	width:49%;
	text-align:right;
}
#nav-search {
    background-size: 24px;
    color: var(--textColor);
    height: 46px;
    width: 32px;
    position: absolute;
    top: 10px;
    right: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}
#nav-search:hover{
    color:var(--link);
}
#nav-search svg {
    width: 24px;
    height: 24px;
}

/* Search Box */
#search-box>form {
    z-index: 999999;
    overflow: hidden;
    position: absolute;
    display: flex;
    width: 938px;
    height: 0;
    left: calc(50% - 938px / 2);
    padding: 0;
    top: 66px;
    justify-content: center;
    align-items: center;
    border-right: 1px solid rgba(84, 88, 89, 0.7);
    border-left: 1px solid rgba(84, 88, 89, 0.7);
    background: var(--background);
    transition: all var(--StandardTransitionSpeed) var(--StandardTransitionFunction);
}

#search-box.active>form {
    height: 215px;
    padding: 40px 50px;
    box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(84, 88, 89, 0.7);
}

#search-box input[type="text"],
.search-box input[type="text"] {
    border-radius: 33px 0px 0px 33px;
    /*
    border-top: 1px solid var(--Smoke);
    border-bottom: 1px solid var(--Smoke);
    border-left: 1px solid var(--Smoke);
    */
    border: none;
    background: var(--navBackground);
    padding-left: 25px;
    color: var(--textColor);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: 0.16px;
    height: 40px;
    outline: 0;
    border: 1px solid var(--navBackground);
}

#search-box input[type="text"]:focus {
    border: 1px solid var(--selectTextColor);
}

#search-box input[type="submit"],
.search-box input[type="submit"] {
    border-radius: 0px 33px 33px 0px;
    border-top: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    border-left: none;
    background: var(--primary);
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

.search-result {
    margin-bottom: 2em;
}
#footer {
    text-align: center;
    margin-top: 3em;
}
#logout{
    margin-top:1em;
    margin-bottom:1em;
}

@media (prefers-color-scheme: dark){
    body{
        --primary: #FF8A00;
        --background: #000;
        --navBackground: #333;
        --link: #FF8A00;
        --textColor: #fff;
        --selectTextColor: #333;
    }
	#fixedNav{
		background:#333;
		color:#fff;
	}
	header select{
		color: #fff;
		background-color: #333;
		border: 1px solid #111;
	}	
	header select option{ border:none; }
	header select:disabled{
		background:#222;
	}
	#content header{
		border-bottom:1px solid #fff;
	}
	body{
		background:#000;
		color:#fff;
	}
}