/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


html, body {
    font-family: 'Poppins', sans-serif;
    /*background: #fafafa;*/
	margin: 0;
    min-height: 100% !important;
    height: 100%;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: inherit;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a {
    color: #3256bf;
    text-decoration: none;
}

a:hover, a:focus {
    color: royalblue;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    min-height:100vh;
	background-image: url("/scripts/common/images/background1.jpg");
	background-repeat: repeat-x;
	background-position: bottom;
	background-size: cover;
	background-attachment: fixed; /*scroll;*/
}


/* ---------------------------------------------------
    HEADER STLE
----------------------------------------------------- */

.topnavigation a,
.tribunalname h1,
#searchtoggle,
#sidebar ul li.active > a,
a[aria-expanded="true"],
#footer a,
nav#sidebar a {
	color: #fff;/*palegoldenrod;*/
}

.tribunalname {
	font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
	text-align: center;
	text-transform: uppercase;
	text-rendering: optimizeLegibility;
}
.tribunalname h1 {
    background-color: transparent  !important;
}

.header {
	color: #ffffff;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 10px;
	padding-bottom: 5px;
}

.topnavigation{
	padding:0;
}

.header{
	background-color: green; /* For browsers that do not support gradients */
    background-image: linear-gradient(141deg, #3eb916 0%, #611c1c 51%, #060705 75%);
    margin: auto !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    min-height: 80vh;
    transition: all 0.3s;
    margin-left: 250px;
    background: rgba(255, 255, 255, 0.95);
}
#main{
    min-height: 80vh;
}
#skip{
    padding: 30px;
    margin: auto !important;
}

div#main h1 {
	padding: 5px 0 5px 0;
	display: -ms-grid;
	display: grid;
}

#footer.active,
#content.active {
    margin-left: 0;
}

#content #main table,
#content #main div p,
#content #main div{
	color: inherit;
	margin: inherit;
}

#content #main *{
	font-weight: inherit;
	min-width: inherit;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebar{
	/*rgba(18, 138, 45, 0.75);*/
}

#sidebar ul,
#sidebar ul li{
	background: none;
}

#sidebar {
    max-width: 250px;
    /*background: #155724;
	background-image: linear-gradient(0deg, rgba(23, 139, 50, 0.75) 0%, rgba(17, 137, 44, 0.75) 64%); */
    background-image: linear-gradient(0deg, rgba(23, 139, 50, 0.75) 0%, rgba(137, 17, 17, 0.7) 64%);
    color: #fff;
    transform-origin: bottom left;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    position:fixed;
    height:100%;
	overflow-y: auto;
}

#sidebar.active {
    margin-left: -999px;
}

#sidebarCloseCollapse.hide,
#sidebarCollapse {
    display:none;
}

#sidebarCloseCollapse,
#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: black;
    cursor: pointer;
	border: 2px solid #3b8006;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}

#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}

#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}


#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}

#sidebarCollapse.active {
    display: block;
}

#sidebarCloseCollapse {
    position: fixed;
	left: 200px;
}

#sidebar .sidebar-header {
    padding: 10px;
    background-image: linear-gradient(0deg, rgba(17, 137, 44, 0) 0%, rgba(255, 255, 255, 0.75) 64%);
}

.sidebar-header a {	color: darkred;}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 6px 0 6px 20px;
    font-size: 1.1em;
    display: block;
	border-bottom: dotted 1px #638f6d;
}

#footer div.p-2.bd-highlight a:focus,
#footer div.p-2.bd-highlight a:hover,
div.p-2.bd-highlight a:focus,
div.p-2.bd-highlight a:hover,
#sidebar ul li a:focus,
#sidebar ul li a:hover {
    color: #2a7915;
}

#sidebar ul li a:focus,
#sidebar ul li a:hover {
    background: rgba(255,255,255,1);
}

div.p-2.bd-highlight {
    text-align: center;
}

div.p-2.bd-highlight a {
	font-size: .8vw;
	display: flex;
	text-align: center;
	align-items: center;
	flex-direction: column;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    background: #2a7915;
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:focus,
a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

#sidebar::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

/* ---------------------------------------------------
    FOOTER STYLE
----------------------------------------------------- */
#footer{
	background-color: #008348;
	background-color: rgba(0, 131, 72, .6);
}

#footer{
    margin-left:150px;
    transition: all 0.3s;
    margin-left: 250px;
	min-height: 20vh;
	color: lightgoldenrodyellow;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#sidebar ul ul a,
.footer-nav{ background-color: rgba(0, 0, 0, 0.4);}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
	.header h1 {
		font-size:6vw;
		background-image: none;
		background-color: none;
	}

	div.p-2.bd-highlight a {
		font-size: 3vw;
		display: flex;
		flex-direction: column;
        align-items: center;
	}

	#searchtoggle,
	div.p-2.bd-highlight a svg{
		font-size: 3vw;
	}

    #sidebar {
        margin-left: -999px;
    }

    #sidebar.active {
        margin-left: 0;
    }

	#footer,
	#content {
		margin: 0;
	}

	#footer.active,
	#content.active {
		margin-left: 250px;
	}

	#sidebarCloseCollapse.hide,
	#sidebarCollapse{
		display:block;
	}

	#sidebarCloseCollapse,
	#sidebarCollapse.active{
		display:none;
	}

    #sidebarCollapse span {
        display: none;
    }

	#content #main .content div {
		float: right;
		width: 100%;
	}
}

@media (min-width: 500px) {
	.header h1 {
		font-size: 35px;
	}
}


/* ---------------------------------------------------
    SEARCH
----------------------------------------------------- */

.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
}

.overlay-content {
  position: relative;
  top: 46%;
  width: 80%;
  margin-top: 30px;
  margin: auto;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  cursor: pointer;
  color: white;
}

/*-----------------------------------------------
		SEARCH STYLES
-----------------------------------------------*/

.gsc-control-cse
{
	padding:0px !important;
	border-width:0px !important;
}

form.gsc-search-box,table.gsc-search-box
{
	margin-bottom:0px !important;
}

.gsc-search-box .gsc-input
{
	padding:0px 4px 0px 6px !important;
	font-size: inherit;
}

#gsc-iw-id1
{
        height: auto !important;
        padding: 0px !important;
        border-width: 0px !important;
        box-shadow:none !important;
}

#gs_tti50
{
	padding:0px !important;
}

#gsc-i-id1
{
	height:33px !important;
	padding:0px !important;
	background:none !important;
	text-indent:0px !important;
}

.gsib_b
{
	display:none;
}

button.gsc-search-button
{
        display:block;
        width:13px !important;
        height:13px !important;
        border-width:0px !important;
        margin:0px !important;
        padding: 10px 6px 10px 13px !important;
        outline:none;
        cursor:pointer;
        box-shadow:none !important;
        box-sizing: content-box !important;
}

.gsc-branding
{
	display:none !important;
}

.gsc-control-cse,#gsc-iw-id1
{
	background-color:transparent !important;
}

#gsc-iw-id1
will be updated to →
#gsc-iw-id1,#gsc-iw-id2
#gs_tti50
will be updated to →
#gs_tti50,#gs_tti51
#gsc-i-id1
will be updated to →
#gsc-i-id1,#gsc-i-id2
Creating the first design

Below are the additional CSS rules for the first design

/* Changing placeholder color of search box */

#gsc-i-id1::-webkit-input-placeholder,
#gsc-i-id1:-ms-input-placeholder,
#gsc-i-id1::-moz-placeholder,
#gsc-i-id1:-moz-placeholder
{
	/* Firefox 4 - 18 */
	color: #FFF;
	opacity: 1;
}

/*-------------------------------------*/

#search-box
{
	margin: auto 0;
	background-color: #FFF;
	padding: 3px;
	border-radius: 20px;
}

button.gsc-search-button
{
	padding:10px !important;
	background-color: #28a745 !important;
	border-radius: 20px !important;
}

/* SEARCH LOADER */

/* Center the loader */
.gsc-modal-background-image {
	background: url(/images/loading.gif),linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 64%);
	background-repeat: no-repeat, repeat;
	background-position: center;
	background-size: 10%;
}

div.gsc-adBlock,
div.gsc-adBlock *,
div.gcsc-more-maybe-branding-root,
div.gcsc-more-maybe-branding-root *{
	display: none;
}

/* ---------------------------------------------------
    SKIP TO CONTENT STYLE
----------------------------------------------------- */

.skipmain{
	clip:rect(1px,1px,1px,1px);
	position:absolute!important;
	height:1px;
	width:1px;
	overflow:hidden;
}
.skipmain:focus{
	text-align: center;
	background-color: yellow;
	box-shadow:0 0 2px 2px rgba(0,0,0,.6);
	clip:auto!important;
	color:#000000;
	display:block;
	font-size:1vw;
	height:auto;
	padding:15px 23px 14px;
	width:auto;
	z-index:100000;
}

/* ---------------------------------------------------
    SCREEN CONTRAST STYLE
----------------------------------------------------- */
.screencontrast *
{
	background: #000000 !important;
	color: #ffffff !important;
}

.screencontrast * a{
	color: yellowgreen !important;
}

.screencontrast * a:hover{
	color: black !important;
    background-color: yellow !important;
}

.screencontrast form.gsc-search-box * tr,
.screencontrast #content nav,
.screencontrast #footer,
.screencontrast #footer nav,
.screencontrast #sidebar {
		border: 1px solid #ffffff;
}

.screencontrast form.gsc-search-box *{
    background-color: inherit !important;
    color: inherit !important;
}
