/*
Theme Name: Society of Legal Scholars
Theme URI: http://www.jocoxdesign.co.uk
Description: Built solely for use by the Society of Legal Scholars
Author: Jo Cox Design
Author URI: http://www.jocoxdesign.co.uk
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0

*/

body {
    background: #314250;
}

/* ALIGNMENT */

.alignleft {
	float: left;
	margin: 0.375em 1.75em 1.75em 0;
}

.alignright {
	float: right;
	margin: 0.375em 0 1.75em 1.75em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1.75em;
}

blockquote.alignleft {
	margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
}

blockquote.alignright {
	margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
}

blockquote.aligncenter {
	margin-bottom: 1.473684211em;
}

/* CAPTIONS */

.wp-caption {
	margin-bottom: 1.75em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption .wp-caption-text {
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

/* GALLERIES */

.gallery {
	margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
	display: inline-block;
	max-width: 33.33%;
	padding: 0 1.1400652% 2.2801304%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	color: #686868;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/* SCREEN READER TEXT */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

/**********************************************************/
/* CLASSES
/**********************************************************/

.royalSlider {
    margin-bottom: 30px;
}

.alignleft {
    float: left;
    margin-right: 15px;
}

.screen-reader-text {
    display: none;
}

img.rounded {
    border-radius: 50rem;
}

img.featured-image {
    margin-bottom: 25px;
}

button,
.button,
input[type="submit"] {
    border-style: solid;
    border-width: 0;
    cursor: pointer;
    font-family: "Cabin";
    font-weight: normal;
    line-height: normal;
    margin: 0 0 1.25rem;
    position: relative;
    text-decoration: none;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    display: inline-block;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-bottom: 1.0625rem;
    padding-left: 2rem;
    font-size: 0.9rem;
    background-color: #2980b9;
    border-color: #2980b9;
    color: #FFFFFF;
    transition: background-color 300ms ease-out;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background-color: #314250;
    text-decoration: none;
}

/**********************************************************/
/* TYPOGRAPHY
/**********************************************************/

body,
p,
ul,
ol,
li,
h4,
.top-bar-section ul li > a,
button,
.button {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #222;
    font-weight: 400;
    line-height: 160%;
}

p,
ul,
li,
ol {
    font-size: 0.9rem;
}

p {
    margin: 0 0 25px 0;
    padding: 0;
    word-wrap: break-word;
}

h1,
h2,
h3 {
    font-family: "Bree Serif", Helvetica, Arial, sans-serif;
    margin: 0 0 25px 0;
    padding: 0;
    line-height: 100%;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.7rem;
    font-weight: 200;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

h4 {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

hr {
    margin: 0px 0px 25px 0px;
    width: 20%;
    border-color: #e8e9e9;
    border-top: solid 5px #e8e9e9;
    padding: 0;
}

.main-wrapper .button,
.main-wrapper .button:hover {
    color: #FFF;
}

/**********************************************************/
/* HEADER
/**********************************************************/

.header-wrapper {
    width: 100%;
    float: left;
    background: #FFF;
    padding-top: 30px;
    padding-bottom: 30px;
}

.sitename {
    font-size: 3rem;
    line-height: 100%;
    padding: 0;
    margin: 0;
}

.sitename a {
    font-weight: 800;
    color: #FFF;
}

.header-search {
    position: relative;
    margin: 1rem 0 0 0;
}

.header-search input[type="search"] {
    width: 100%;
}

.header-search .search-button {
    position: absolute;
    right: 0.975rem;
    top: 0;
    width: 37px;
    background: #2980b9;
    padding: 10px;
    transition: 300ms ease;
}

.header-search .search-button:hover {
    background: #314250;
}

/**********************************************************/
/* MAIN CONTENT
/**********************************************************/

.social {
    text-align: right;
    padding-top: 7px;
    padding-bottom: 7px;
}

.social i {
    font-size: 1.8rem;
}

.main-wrapper {
    width: 100%;
    float: left;
    background: #FFF;
    padding-bottom: 30px;
}

article li {
    list-style: square;
}

.main-wrapper a,
.main-wrapper a:focus,
.main-wrapper a:active {
    color: #2980b9;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}

.main-wrapper a:hover {
    color: #314250;
}

article p a:hover {
    text-decoration: underline;
}

.paging-navigation {
    padding: 1rem;
}

.paging-navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.paging-navigation li {
    display: inline-block;
}

a.page-numbers,
span.page-numbers {
    padding: .3em .7em;
    color: #FFF;
}

a:hover.page-numbers {
    color: #FFF;
}

.paging-navigation .current {
    font-weight: 800;
    color: #FFF;
}

.event-listing {
    margin-bottom: 20px;
}

.event-listing h3 {
    border-top: solid 1px #DDD;
    padding-top: 20px;
}

ul.event-meta {
    margin: 0 0 20px 0;
}

ul.event-meta li {
    list-style: none;
}

/**********************************************************/
/* SIDEBAR
/**********************************************************/

.sidebar .widget {
    width: 100%;
    float: left;
    background: #F4F4F4;
    margin-bottom: 30px;
}

.sidebar h4 {
    background: #314250;
    color: #FFF;
    line-height: 100%;
    margin: 0;
}

.sidebar h4 a {
    padding: 15px;
    float: left;
    background-color: #314250;
    background-image: url(img/arrow.jpg);
    background-repeat: no-repeat;
    background-position: right center;
    width: 100%;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0 15px;
}

.sidebar h4 a,
.sidebar h4 a:hover,
.sidebar h4 a:active,
.sidebar h4 a:focus {
    color: #FFF;
}

.sidebar a {
    color: #222;
}

.sidebar li {
    width: 100%;
    float: left;
    padding: 15px 0;
    border-bottom: solid 1px #DDD;
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar .twitter-widget { 
    border: solid 1px #DDD;
}

/**********************************************************/
/* FOOTER
/**********************************************************/

.footer-wrapper {
    width: 100%;
    float: left;
}

.footer {
    padding-bottom: 20px;
    padding-top: 20px;
}

.footer p {
    font-size: 0.75rem;
    color: #FFF;
    margin: 0;
    padding: 0;
}

.footer a {
    color: #FFF;
    text-decoration: underline;
}

/* RETURN TO TOP */

#back-top i {
    font-size: 1rem;
    position: fixed;
    bottom: 25px;
    right: 25px;
    opacity: 0.5;
    background: #2980b9;
    padding: 10px;
    z-index: 100;
    border-radius: 20px;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}

#back-top a i {
    color: #FFF;
}

#back-top a:hover i {
    opacity: 1;
}

/**********************************************************/
/* NAVIGATION BAR
/**********************************************************/

.menu-wrapper {
    width: 100%;
    float: left;
}

.contain-to-grid {
    width: 100%;
    background: #314250;
}

.contain-to-grid .top-bar {
    margin-bottom: 0;
}

.top-bar {
    overflow: hidden;
    position: relative;
    background: #314250;
    margin-bottom: 0;
}

.top-bar ul {
    margin-bottom: 0;
    list-style: none;
}

.top-bar .row {
    max-width: none;
}

.top-bar form,
.top-bar input {
    margin-bottom: 0;
}

.top-bar input {
    height: 1.75rem;
    padding-top: .35rem;
    padding-bottom: .35rem;
    font-size: 0.75rem;
}

.top-bar .button,
.top-bar button {
    padding-top: 0.4125rem;
    padding-bottom: 0.4125rem;
    margin-bottom: 0;
    font-size: 0.75rem;
}

@media only screen and (max-width: 40em) {
    .top-bar .button,
    .top-bar button {
        position: relative;
        top: -1px;
    }
}

.top-bar .title-area {
    position: relative;
    margin: 0;
}

.top-bar .name {
    font-family: "Oswald";
    text-transform: uppercase;
    margin: 0;
    font-size: 16px;
}

.name img {
    max-height: 2.0125rem;
    margin-top: 1.9rem;
    padding: 0 0.9375rem;
}

.top-bar .name h1,
.top-bar .name h2,
.top-bar .name h3,
.top-bar .name h4,
.top-bar .name p,
.top-bar .name span {
    font-size: 1.0625rem;
    margin: 0;
}

.top-bar .name h1 a,
.top-bar .name h2 a,
.top-bar .name h3 a,
.top-bar .name h4 a,
.top-bar .name p a,
.top-bar .name span a {
    font-weight: normal;
    color: #FFF;
    width: 75%;
    display: block;
    padding: 0 0.9375rem;
}

.top-bar .toggle-topbar {
    position: absolute;
    right: 0;
    top: 0;
}

.top-bar .toggle-topbar a {
    color: #FFF;
    text-transform: uppercase;
    font-size: 0.8125rem;
    font-weight: bold;
    position: relative;
    display: block;
    padding: 0 0.9375rem;
}

.top-bar .toggle-topbar.menu-icon {
    top: 50%;
    margin-top: -16px;
}

.top-bar .toggle-topbar.menu-icon a {
    height: 34px;
    line-height: 33px;
    padding: 0 2.5rem 0 0.9375rem;
    color: #FFF;
    position: relative;
}

.top-bar .toggle-topbar.menu-icon a span::after {
    content: "";
    position: absolute;
    display: block;
    height: 0;
    top: 50%;
    margin-top: -8px;
    right: 0.9375rem;
    box-shadow: 0 0 0 1px #FFF, 0 7px 0 1px #FFF, 0 14px 0 1px #FFF;
    width: 16px;
}

.top-bar .toggle-topbar.menu-icon a span:hover:after {
    box-shadow: 0 0 0 1px "", 0 7px 0 1px "", 0 14px 0 1px "";
}

.top-bar.expanded {
    height: auto;
    background: transparent;
}

.top-bar.expanded .title-area {
    background: #314250;
}

.top-bar.expanded .toggle-topbar a {
    color: #FFF;
}

.top-bar.expanded .toggle-topbar a span::after {
    box-shadow: 0 0 0 1px #FFF, 0 7px 0 1px #FFF, 0 14px 0 1px #FFF;
}

.top-bar-section {
    left: 0;
    position: relative;
    width: auto;
    transition: left 300ms ease-out;
}

.top-bar-section ul {
    padding: 0;
    width: 100%;
    height: auto;
    display: block;
    font-size: 16px;
    margin: 0;
}

.top-bar-section .divider,
.top-bar-section [role="separator"] {
    border-top: solid 1px rgba(255, 255, 255, 0.1);
    clear: both;
    height: 1px;
    width: 100%;
}

.top-bar-section ul li {
    background: #314250;
}

.top-bar-section ul li > a {
    display: block;
    width: 100%;
    color: #FFF;
    padding: 12px 0 12px 0;
    padding-left: 0.9375rem;
    font-size: 0.9rem;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}

.top-bar-section ul li > a.button {
    font-size: 0.8125rem;
    padding-right: 0.9375rem;
    padding-left: 0.9375rem;
    background-color: #FFF;
    border-color: #2285a2;
    color: #FFF;
}

.top-bar-section ul li > a.button:hover,
.top-bar-section ul li > a.button:focus {
    background-color: #2285a2;
}

.top-bar-section ul li > a.button:hover,
.top-bar-section ul li > a.button:focus {
    color: #FFF;
}

.top-bar-section ul li > a.button.secondary {
    background-color: #e9e9e9;
    border-color: #bababa;
    color: #FFF;
}

.top-bar-section ul li > a.button.secondary:hover,
.top-bar-section ul li > a.button.secondary:focus {
    background-color: #bababa;
}

.top-bar-section ul li > a.button.secondary:hover,
.top-bar-section ul li > a.button.secondary:focus {
    color: #FFF;
}

.top-bar-section ul li > a.button.success {
    background-color: #5da423;
    border-color: #4a831c;
    color: #FFF;
}

.top-bar-section ul li > a.button.success:hover,
.top-bar-section ul li > a.button.success:focus {
    background-color: #4a831c;
}

.top-bar-section ul li > a.button.success:hover,
.top-bar-section ul li > a.button.success:focus {
    color: #FFF;
}

.top-bar-section ul li > a.button.alert {
    background-color: #c60f13;
    border-color: #9e0c0f;
    color: #FFF;
}

.top-bar-section ul li > a.button.alert:hover,
.top-bar-section ul li > a.button.alert:focus {
    background-color: #9e0c0f;
}

.top-bar-section ul li > a.button.alert:hover,
.top-bar-section ul li > a.button.alert:focus {
    color: #FFF;
}

.top-bar-section ul li > a.button.warning {
    background-color: #f08a24;
    border-color: #cf6e0e;
    color: #FFF;
}

.top-bar-section ul li > a.button.warning:hover,
.top-bar-section ul li > a.button.warning:focus {
    background-color: #cf6e0e;
}

.top-bar-section ul li > a.button.warning:hover,
.top-bar-section ul li > a.button.warning:focus {
    color: #FFF;
}

.top-bar-section ul li > button {
    font-size: 0.8125rem;
    padding-right: 0.9375rem;
    padding-left: 0.9375rem;
    background-color: none;
    border-color: #2285a2;
    color: #FFF;
}

.top-bar-section ul li > button:hover,
.top-bar-section ul li > button:focus {
    background-color: #2285a2;
}

.top-bar-section ul li > button:hover,
.top-bar-section ul li > button:focus {
    color: #FFF;
}

.top-bar-section ul li > button.secondary {
    background-color: #e9e9e9;
    border-color: #bababa;
    color: #FFF;
}

.top-bar-section ul li > button.secondary:hover,
.top-bar-section ul li > button.secondary:focus {
    background-color: #bababa;
}

.top-bar-section ul li > button.secondary:hover,
.top-bar-section ul li > button.secondary:focus {
    color: #FFF;
}

.top-bar-section ul li > button.success {
    background-color: #5da423;
    border-color: #4a831c;
    color: #FFF;
}

.top-bar-section ul li > button.success:hover,
.top-bar-section ul li > button.success:focus {
    background-color: #4a831c;
}

.top-bar-section ul li > button.success:hover,
.top-bar-section ul li > button.success:focus {
    color: #FFF;
}

.top-bar-section ul li > button.alert {
    background-color: #c60f13;
    border-color: #9e0c0f;
    color: #FFF;
}

.top-bar-section ul li > button.alert:hover,
.top-bar-section ul li > button.alert:focus {
    background-color: #9e0c0f;
}

.top-bar-section ul li > button.alert:hover,
.top-bar-section ul li > button.alert:focus {
    color: #FFF;
}

.top-bar-section ul li > button.warning {
    background-color: #f08a24;
    border-color: #cf6e0e;
    color: #FFF;
}

.top-bar-section ul li > button.warning:hover,
.top-bar-section ul li > button.warning:focus {
    background-color: #cf6e0e;
}

.top-bar-section ul li > button.warning:hover,
.top-bar-section ul li > button.warning:focus {
    color: #FFF;
}

.top-bar-section ul li:hover:not(.has-form) > a {
    background-color: #555555;
    background: #2980b9;
    color: #FFF;
}

.top-bar-section ul li.active > a {
    background: #2980b9;
    color: #FFF;
}

.top-bar-section ul li.active > a:hover {
    background: #2980b9;
    color: #FFF;
}

.top-bar-section .has-form {
    padding: 0.9375rem;
}

.top-bar-section .has-dropdown {
    position: relative;
}

.top-bar-section .has-dropdown > a:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: inset 5px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.4);
    border-left-style: solid;
    margin-right: 0.9375rem;
    margin-top: -4.5px;
    position: absolute;
    top: 50%;
    right: 0;
}

.top-bar-section .has-dropdown.moved {
    position: static;
}

.top-bar-section .has-dropdown.moved > .dropdown {
    display: block;
    position: static !important;
    height: auto;
    width: auto;
    overflow: visible;
    clip: auto;
    position: absolute !important;
    width: 100%;
}

.top-bar-section .has-dropdown.moved > a:after {
    display: none;
}

.top-bar-section .dropdown {
    padding: 0;
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 99;
    display: block;
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.top-bar-section .dropdown li {
    width: 100%;
    height: auto;
}

.top-bar-section .dropdown li a {
    font-weight: 400;
    padding: 8px 0.9375rem;
    -webkit-transition: all .25s ease;
       -moz-transition: all .25s ease;
        -ms-transition: all .25s ease;
         -o-transition: all .25s ease;
            transition: all .25s ease;
}

.top-bar-section .dropdown li a.parent-link {
    font-weight: 400;
}

.top-bar-section .dropdown li.title h5,
.top-bar-section .dropdown li.parent-link {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 1.125rem;
}

.top-bar-section .dropdown li.title h5 a,
.top-bar-section .dropdown li.parent-link a {
    color: #FFF;
    display: block;
}

.top-bar-section .dropdown li.title h5 a:hover,
.top-bar-section .dropdown li.parent-link a:hover {
    background: none;
}

.top-bar-section .dropdown li.has-form {
    padding: 8px 0.9375rem;
}

.top-bar-section .dropdown li .button,
.top-bar-section .dropdown li button {
    top: auto;
}

.top-bar-section .dropdown label {
    padding: 8px 0.9375rem 2px;
    margin-bottom: 0;
    text-transform: uppercase;
    color: #777777;
    font-weight: bold;
    font-size: 0.625rem;
}

.js-generated {
    display: block;
}

@media only screen and (min-width: 64.063em) {
    .top-bar {
        background: #314250;
        overflow: visible;
        height: 3.8125rem;
        line-height: 3.8125rem;
    }
    .top-bar:before,
    .top-bar:after {
        content: " ";
        display: table;
    }
    .top-bar:after {
        clear: both;
    }
    .top-bar .toggle-topbar {
        display: none;
    }
    .top-bar .title-area {
        float: left;
    }
    .top-bar .name h1 a,
    .top-bar .name h2 a,
    .top-bar .name h3 a,
    .top-bar .name h4 a,
    .top-bar .name h5 a,
    .top-bar .name h6 a {
        width: auto;
    }
    .top-bar input,
    .top-bar .button,
    .top-bar button {
        font-size: 0.875rem;
        position: relative;
        height: 1.75rem;
        top: 0.53125rem;
    }
    .top-bar.expanded {
        background: #314250;
    }
    .contain-to-grid .top-bar {
        max-width: 70em;
        margin: 0 auto;
        margin-bottom: 0;
    }
    .top-bar-section {
        transition: none 0 0;
        left: 0 !important;
    }
    .top-bar-section ul {
        width: auto;
        height: auto !important;
        display: inline;
    }
    .top-bar-section ul li {
        float: left;
    }
    .top-bar-section ul li .js-generated {
        display: none;
    }
    .top-bar-section li.hover > a:not(.button) {
        background-color: #555555;
        background: #314250;
        color: #FFF;
    }
    .top-bar-section li:not(.has-form) a:not(.button) {
        line-height: 3.8125rem;
        padding: 0 0.9375rem;
        background: #314250;
    }
    .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button),
    .top-bar-section .dropdown li.active:not(.has-form) a:not(.button) {
        line-height: 2.8125rem;
    }
    .top-bar-section li:not(.has-form) a:not(.button):hover {
        background-color: #555555;
        background: #2980b9;
        color: #FFF;
        opacity: 1;
    }
    .top-bar-section li.active:not(.has-form) a:not(.button) {
        padding: 0 0.9375rem;
        color: #FFF;
        background: #2980b9;
        line-height: 3.8125rem;
    }
    .top-bar-section li.active:not(.has-form) a:not(.button):hover {
        background: #2980b9;
        color: #FFF;
    }
    .top-bar-section .has-dropdown > a {
        padding-right: 2.1875rem !important;
    }
    .top-bar-section .has-dropdown > a:after {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: inset 5px;
        border-color: rgba(255, 255, 255, 0.5) transparent transparent transparent;
        border-top-style: solid;
        margin-top: -17.5px;
        top: 2.90625rem;
    }
    .top-bar-section .has-dropdown.moved {
        position: relative;
    }
    .top-bar-section .has-dropdown.moved > .dropdown {
        display: block;
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
    }
    .top-bar-section .has-dropdown.hover > .dropdown,
    .top-bar-section .has-dropdown.not-click:hover > .dropdown {
        display: block;
        position: static !important;
        height: auto;
        width: auto;
        overflow: visible;
        clip: auto;
        position: absolute !important;
    }
    .top-bar-section .has-dropdown > a:focus + .dropdown {
        display: block;
        position: static !important;
        height: auto;
        width: auto;
        overflow: visible;
        clip: auto;
        position: absolute !important;
    }
    .top-bar-section .has-dropdown .dropdown li.has-dropdown > a:after {
        border: none;
        content: "\00bb";
        top: 1rem;
        margin-top: -1px;
        right: 5px;
        line-height: 1.2;
    }
    .top-bar-section .dropdown {
        left: 0;
        top: auto;
        background: transparent;
        min-width: 100%;
    }
    .top-bar-section .dropdown li a {
        color: #FFF;
        white-space: nowrap;
        padding: 12px 0.9375rem;
        background: #314250;
        border-bottom: none;
    }
    .top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
        color: #FFF;
        background: #314250;
    }
    .top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) {
        color: #FFF;
        background-color: #555555;
        background: #2980b9;
    }
    .top-bar-section .dropdown li label {
        white-space: nowrap;
        background: #FFF;
    }
    .top-bar-section .dropdown li .dropdown {
        left: 100%;
        top: 0;
    }
    .top-bar-section > ul > .divider,
    .top-bar-section > ul > [role="separator"] {
        border-bottom: none;
        border-top: none;
        border-right: none;
        clear: none;
        width: 0;
    }
    .top-bar-section .has-form {
        background: #FFF;
        padding: 0 0.9375rem;
    }
    .top-bar-section .right li .dropdown {
        left: auto;
        right: 0;
    }
    .top-bar-section .right li .dropdown li .dropdown {
        right: 100%;
    }
    .top-bar-section .left li .dropdown {
        right: auto;
        left: 0;
    }
    .top-bar-section .left li .dropdown li .dropdown {
        left: 100%;
    }
    .no-js .top-bar-section ul li:hover > a {
        background-color: #555555;
        background: #2980b9;
        color: #FFF;
    }
    .no-js .top-bar-section ul li:active > a {
        background: #FFF;
        color: #FFF;
    }
    .no-js .top-bar-section .has-dropdown:hover > .dropdown {
        display: block;
        position: static !important;
        height: auto;
        width: auto;
        overflow: visible;
        clip: auto;
        position: absolute !important;
    }
    .no-js .top-bar-section .has-dropdown > a:focus + .dropdown {
        display: block;
        position: static !important;
        height: auto;
        width: auto;
        overflow: visible;
        clip: auto;
        position: absolute !important;
    }
}