/* CSS for Tablet View / Grid Base */

/*******************/
/* A. Base Layouts */
/*******************/

/*  LG Default Overrides */

body {
	border-top: 6px solid #8c8889;
}

#s-lg-guide-header { 
	margin-top: 1em; 
}

#s-lib-bc {
	border-bottom: 1px solid rgb(187, 187, 187);
	margin-bottom: 30px;
}

#s-lib-bc-site::before {
	content: " ";
}

#s-lib-bc-customer a {
	color: rgb(102, 102, 102);
	font-family: "Gotham A", "Gotham B", Arial, sans-serif;
	font-size: 60px;
	font-weight: 300;
	line-height: 66px;
	margin: 10px 40px 10px 0;
	padding: 25px 0 15px 0;
	text-transform: uppercase;
}

header {
	float: none;
	height: initial;
	margin: 0 auto;
	width: 740px;
	background-color: transparent;
}

header #searches-more {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.container-flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

header .hamb-search {
	height: 42px;
	max-width: 400px;
}

header .hamb-search .search-form #main-search-input {
	width: 316px;
}

header .searches-default {
	width: 400px;
}

header .search-options {
	width: 400px;
	-ms-flex-pack: distribute;
	justify-content: space-around;
}

header .nav-main ul {
	display:block;
}

header .search-options .search-option.more {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

header .more-search-options {
	background-color: #F8F8F8;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	font-family: "Gotham Narrow A", "Gotham Narrow B", Arial, sans-serif;
	font-size: 14px;
	margin: 0 auto;
	position: relative;
	top: 10px;
	width: 740px;
}

header .more-search-options .col {
	border-right: 1px dotted #CCCCCC;
	margin: 15px 0px;
	padding: 0px 20px;
}

header .more-search-options .col-last {
	border-right: none;
}

header .more-search-options ul {
	margin: 0px;
}

header .more-search-options ul li {
	list-style: none;
	padding: 2px 0px;
}

header .more-search-options ul li a {
	color: #666;
	cursor: pointer;
}

header .more-search-options ul li a:hover {
	border-bottom: 1px solid #A4B4D0 !important;
}

header .more-search-options ul li a.active {
	background-color: #CCCCCC;
}

header .more-search-options ul li.quicksearch {
	color: #B25900;
	font-weight: 500;
	font-family: "Gotham A", "Gotham B", "Arial", sans-serif;
	font-size: 12px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

header .more-search-options ul li strong {
	font-size: 18px;
	font-weight: 500;
}

header .more-search-options .close-button {
	background: url(https://content.law.virginia.edu/sites/default/themes/law_theme/images/close-x.png) no-repeat;
	cursor: pointer;
	height: 23px;
	padding: 0;
	position: relative;
	right: 6px;
	width: 22px;
}

header .more-search-options .close-button p {
	display: none;
}

header .default-display p {
	color: rgba(256,256,256,0.75);
	font-size: 13px;
	margin: 11px;
}

header .nav-main, header .nav-more {
	width: 400px;
}
header #alertalert {
	font-family: "Gotham A", "Gotham B", "Arial", sans-serif;
	font-size: 14px;
	background-color: #B30000;
	color: #FFFFFF;	
}	
header #alertalert a {
	color: #FFFFFF;
	text-decoration: underline;
}	
header #alertalert p {
	padding: 10px;
}	


/*******************/
/* B. Grid Layouts */
/*******************/

@supports (grid-area: auto) {


    /*******************/
    /* 1 Basic Layouts */
    /*******************/

    .container-grid {
        display: grid;
    }


    /*******************************/
    /* 2 - Grid Templates - Header */
    /*******************************/

    /* Default */

    header.container-grid {
        grid-template-columns: minmax(auto, 350px) auto 361px;
        grid-template-rows: 42px 42px auto;
        grid-template-areas:
            "logo . ."
            "logo . hamb-search"
            "logo . searches-default";
    }
	
	header .hamb-search .search-form #main-search-input {
		width: 282px;
	}

    /* Hamburger Menu Expanded */

    header.container-grid.hamb-expanded {
        grid-template-columns: minmax(auto, 350px) minmax(auto, 200px) 130px 130px;
        grid-template-rows: 42px 42px auto;
        grid-template-areas:
            "logo logo . ."
            ". . hamb-search hamb-search"
            ". nav-main nav-more nav-more";
    }

    /* Search Options Active */

    header.container-grid.search-options-on {
        grid-template-columns: minmax(auto, 350px) auto 361px;
        grid-template-rows: 42px 42px 42px;
        grid-template-areas:
            "logo . ."
            "logo . hamb-search"
            "logo . search-options";
    }

    /* More Searches Expanded */

    header.container-grid.more-searches-expanded {
        grid-template-columns: minmax(auto, 350px) auto 361px;
        grid-template-rows: 42px 42px auto;
        grid-template-areas:
            "logo . ."
            "logo . hamb-search"
            "more-search-options more-search-options more-search-options";
    }


    /***************************/
    /* 3 - Grid Template Areas */
    /***************************/






    /***************************/
    /* 4 - Grid Item Names     */
    /***************************/

    header .logo {
        grid-area: logo;
		align-self: center;
    }

    header #hamb-search {
        grid-area: hamb-search;
    }

    header .searches-default {
       grid-area: searches-default;
    }

    header .nav-main {
        grid-area: nav-main;
    }

    header .nav-more {
        grid-area: nav-more;
    }

    header .search-options  {
        grid-area: search-options;
    }

    header  .more-search-options {
        grid-area: more-search-options;
    }

    header .using {
        grid-area: using;
    }

	header .alerted {
        grid-area: alerted;
    }

    /***************************/

    header .logo {
        max-width: 350px;
        text-align: left;
    }

    .logo img {
        margin: 0;
        max-width: 365px;
        padding: 0;
    }

    #search-submit {
        height: 42px;
    }

    header .hamb-search .search-form #main-search-input {
        padding: 3px 6px 2px;
    }

    header .hamb-menu, #search-submit {
        margin-top: 0;
    }

    header .hamb-search {
        -ms-flex-item-align: end;
        align-self: end;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        margin: 0;
        max-width: none;
    }

    header .hamb-search .search-form #main-search-input {
        margin: 0 0 -1px 0;
    }

    header .nav-main {
        border-right: 1px solid #ccc;
        margin-right: 0;
        margin-top: 10px;
    }

    header .nav-main {
        background: #777677;
        margin: 10px 0;
        padding: 10px 20px 20px;
        position: initial;
        width: auto;
    }

    header .nav-main ul {
        display: block;
        margin: 0;
    }

    header .nav-more {
        display: block;
        margin-top: 10px;
    }

    header #main-search-input {
        height: 42px;
    }

    header .nav-main, header .nav-more {
        background: #f8f8f8;
    }

    header .nav-main .menu a, header .nav-more a {
        color: #898989;
    }

    header .options {
        margin-left: 3em;
    }

    header .searches-default {
        display: block;
        height: 42px;
        margin: 0;
		width: 373px;
		justify-self: end;
    }

    header .search-options {
        height: 42px;
        justify-self: end;
        margin: 0;
        width: 373px;
    }


/*  Nav-more Styles */

    header .nav-more {
        margin: 10px 0 30px;
    }

    header .nav-more  ul {
        border: none;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: left;
        width: auto;
    }

    header .nav-more ul li {
        font-family: "Gotham Narrow A", "Gotham Narrow B", "Arial", sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
    }

    header .nav-more ul a {
        color: #898989;
        text-decoration: none;
    }

    header .nav-more ul a:hover {
        color: #fff;
    }

    header .nav-more {
        border-top: 1px solid #EAEAEA;
        padding: 10px 20px;
        width: auto;
    }

    header .nav-more ul {
        border: none;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: left;
        width: auto;
    }

    header .nav-more ul li {
        font-family: "Gotham Narrow A", "Gotham Narrow B", "Arial", sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
    }

    header .nav-more ul a {
        text-decoration: none;
    }

    header .nav-more ul a:hover {
        color: #333;
    }

    .col1 {
       grid-area: col1;
    }
    .col2 {
        grid-area: col2;
    }
    .col3 {
        grid-area: col3;
    }
