/* Study homepage styles */
.area-blocks__link
{
font-family: "Roboto Condensed", Georgia, "Times New Roman", Times, serif;
}

/* --- Switcher fix --- */

.student-type__dropdown {
position: relative;
}  

/* FaC Styles */

div#search-courses {
    background-color: red;
    padding: 2.5rem 0 2.5rem 0;
    /*height: 380px;*/
    background: rgb(0,109,174);
    background: linear-gradient(90deg, rgba(0,109,174,1) 0%, rgba(0,145,211,1) 100%);
    margin: 0.9375rem;
    margin-bottom: 0;
    float: left;
    margin-left: 0;
    margin-right: 0;
}

span.ui-helper-hidden-accessible {
    display: none;
}

.header-row__search-icon::after {
	zoom: 0.8;
}

.search-box--courses .control-group {
    background: none;
}

#study-quick-search a {
    color: #fff;
    font-family: "Roboto Condensed", sans-serif;
    padding: 0 20px;
    line-height: 2;
    display: inline-block;
}
div#study-quick-search {
    margin-top: 30px;
    float: left;
    margin-bottom: 30px;
}
/*input#course-keywords {*/
/*    border-radius: 30px;*/
/*    height: 50px;*/
/*    flex: none;*/
/*}*/
button.btn.btn--blue.control-group__button {
    width: 40px;
    padding: 10px;
    position: relative;
}
.change-maker-wrapper p, .change-maker-wrapper h2 {
    margin: 0;
    color: #fff;
    padding-bottom: 10px;
    line-height: 1.4;
    font-size: 1.3rem;
    font-family: "Roboto Condensed", sans-serif;
}
.change-maker-wrapper {
    text-align: center;
    margin-top: 30px;
    margin: 0 auto;
    width: 700px;
}
.change-maker-wrapper a {
    display: block;
    margin: auto;
    text-decoration: underline;
    text-decoration-color: white;
}
div#study-quick-search {
    padding: 0;
    width: 100%;
}
#study-quick-search p {
    width: 90%;
    margin: auto;
    text-align: center;
}
button.btn.btn--blue.control-group__button {
    border: 0;
    background: 0;
    width: 2.6rem;
    right: 49px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.vert {
    padding-top: 0;
}

textarea:focus, input:focus{
    outline: none;
}

.cm-wrapper {
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 15px;
    float: left;
}

div#personal {
    width: 100%;
    float: left;
}

.change-maker-wrapper a:focus, .change-maker-wrapper a[class*='btn'] {
    outline: thin dotted;
    color: white;
}

.change-maker-wrapper a:hover  {
    text-decoration: none;
}

/* typeahead */
ul#ui-id-2 {
    border: none !important;
    /*border-top: 1px #d9d9d9 solid !important;*/
    display: block !important;
    padding: 0;
    background: none;
    width: 100%;
}

ul#ui-id-2:focus {
    outline: none;
}

li.ui-autocomplete-category {
    font-family: "Roboto Condensed";
    padding-left: 30px !important;
    
}

.ui-menu li {
    list-style-type: none;
}

.ui-menu .ui-autocomplete-category {
    padding-top: 20px;
    float: left;
    width: 100%;
    background: none;
    font-weight: bold;
}

li.ui-menu-item a {
    text-decoration: none;
    color: #006dae;
    padding-left: 30px !important;
    font-family: "Roboto Condensed";
}

li.ui-menu-item a:hover {
    text-decoration: underline;
}

.banner-search__input-wrapper {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    width: 100%;
}

input#course-keywords.dd-show:focus,
input#course-keywords.dd-show:active {
    outline: none;
    box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);
    -webkit-clip-path: inset(-20px -20px 1px -20px);
    clip-path: inset(-20px -20px 1px -20px);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    /*border: 3px #fff solid;*/
    padding-left: 30px;
}

.ui-autocomplete li a strong {
    font-weight: normal;
}

a.ui-state-focus {
    border: none !important;
    background: none !important;
    outline: none !important;
    text-decoration: underline !important;
    color: #006dae !important;
    cursor: pointer !important;
}

.area-blocks {
    padding-bottom: 2rem;
}

/* Mobile */
@media only screen and (min-width: 60em) {
    .search-box--courses .control-group {
        padding: 1.875rem 15.25rem;
    }
    
	.search-area-blocks {
	    padding-bottom: 3.875rem;
	    padding-top: 1rem;
	}
}

@media all and (max-width: 960px) {
   .change-maker-wrapper {
        padding: 10px;
        /*border: 1px #ffffff38 solid;*/
        height: 100%;
        width: 100%;
        float: left;
    }
    .vert {
        padding-top: 20px;
    }
    div#study-quick-search {
        margin-bottom: 30px; 
    }
    .area-blocks.bg-white {
        padding-top: 30px;
        float: left;
        padding-bottom: 30px;
        width: auto;
    }
    div#search-courses {
        padding: 1rem 0 30px;
    }
    #study-quick-search a  {
        padding: 0 10px;
    }
    input#course-keywords.dd-show:focus {
        padding-left: 30px !important;
    }
    .banner-search__input-wrapper .banner-search__input {
        padding: .95rem 3rem .875rem 1.25rem !important;
    }
    .cm-wrapper {
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 15px;
        float: none;
    }
    .area-blocks.bg-white.search {
        float: none;
    }
}

@media all and (max-width: 400px) { 
    #study-quick-search a {
        width: 100%;
        float: left;
        padding-right: 0;
    }
    div#search-courses {
        float: left;
    }
    .area-blocks.bg-white.search {
        float: left;
    }
}

/* PB Policy Style Animation */
ul#ui-id-2:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    width: 90%;
    border: 1px solid #d8d8d8;
    bottom: 0;
    z-index: 15;
    margin-left: auto;
    margin-right: auto;
    top: 0;
}

.banner-search__input-wrapper:focus-within:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    width: 90%;
    bottom: 0;
    z-index: 15;
    margin-left: auto;
    margin-right: auto;
}

input#course-keywords {
    color: #505050;
}

input#course-keywords::placeholder {
    color: #505050;
}

/* Dropdown appears on focus */
.banner-search__input-wrapper .banner-search__dropdown {
    position: absolute;
    opacity: 0;
    width: 100%;
    max-height: 0;
    top: 0;
    transition: max-height .2s,box-shadow .05s,-webkit-clip-path .05s;
    transition: max-height .2s,box-shadow .05s,clip-path .05s;
    transition: max-height .2s,box-shadow .05s,clip-path .05s,-webkit-clip-path .05s;
    transition-timing-function: cubic-bezier(.39,.58,.57,1);
    box-shadow: 0 0 0 0 transparent;
    -webkit-clip-path: inset(1.5rem 0 0 0);
    clip-path: inset(1.5rem 0 0 0);
    font-family: Roboto,sans-serif;
}

/* .banner-search__input-wrapper:focus-within */
.banner-search__input-wrapper:focus-within .banner-search__dropdown {
    box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);
    -webkit-clip-path: inset(calc(49px + 1px) -20px -20px -20px);
    clip-path: inset(calc(49px + 1px) -20px -20px -20px) !important;
    background: #fff;
    opacity: 1;
    max-height: 50rem;
    padding-bottom: 1rem;
    border-bottom-right-radius: 1.875rem;
    border-bottom-left-radius: 1.875rem;
    z-index: 11;
}

.banner-search__input-wrapper .banner-search__input {
    width: 100%;
    border: 0;
    border-radius: 1.875rem;
    background-color: #fff;
    /*padding: 1rem 3rem .875rem 1.9rem;*/
    padding: 1rem 1.9rem;
    font-family: Roboto Condensed,sans-serif;
    z-index: 10;
    transition: all .05s ease-in-out;
}

/* Additional */
.ui-autocomplete {
    position: initial;
}

button.btn.btn--blue.control-group__button {
    position: absolute;
    right: 1.25rem;
    z-index: 11;
}

.change-maker-wrapper h2:focus {
    outline: dotted;
}