﻿/************************************* 
* Begin Chosen Override Styles
*************************************/

.IGResponsiveGrid .chosen-container {
    width: 100%;
}

/************************************* 
* Look and feel of 'select' element
*************************************/

/* Look and feel of actual select */
.IGResponsiveGrid .chosen-container-single .chosen-single {
    height: 30px;
    border-radius: 0;
    background: #f9f9f9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    transition: background-color .2s linear, box-shadow .2s linear, font-weight 0.25s linear;
    padding: 0.1rem 8px;
    font-size: 15px;
    border: 1px solid #636363;
    color: #707070;
    display: flex;
    align-items: center;
}

/* Make option bold when it's not the default */
.IGResponsiveGrid .chosen-container-single.has-value .chosen-single {
    color: #636363;
    font-weight: normal;
}

/* Removing underline from search results */
.IGResponsiveGrid .chosen-container .chosen-results li em {
    text-decoration: none;
}

/* Look and feel of select if the first option is 'default' */
.IGResponsiveGrid .chosen-container-single .chosen-default {
    color: #707070;
}

/* Look and feel when select is "focused" */
.IGResponsiveGrid .chosen-container-active .chosen-single {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(209,209,209,.6);
    outline: none;
}

/* Look and feel when select is in drop-down */
.IGResponsiveGrid .chosen-container-active.chosen-with-drop .chosen-single {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(209,209,209,.6);
    border: 1px solid #636363;
    color: #636363;
    font-weight: normal;
    outline: none;
    transition: font-weight 0.2s linear;
}

/* 
* @END 'select' element
*/

/************************************* 
* Look and feel of dropdown result
*************************************/

/* Dropdown container */
.IGResponsiveGrid .chosen-container .chosen-drop {
    background: #636363;
    color: #FFF;
    border-radius: 0;
    transition: clip-path 0.25s ease;
    clip-path: inset(100% 0%);
}

/* Dropdown container when dropped down */
.IGResponsiveGrid .chosen-container.chosen-with-drop .chosen-drop {
    transition: clip-path 0.25s ease;
    clip-path: inset(0% 0%);
}

/* Dropdown item list */
.IGResponsiveGrid .chosen-container .chosen-results {
    color: #fff;
    margin: 0;
    padding: 0;
}

/* Dropdown list item */
.IGResponsiveGrid .chosen-container .chosen-results li.active-result {
    padding: 12px 0px 12px 30px;
    margin: 0;
    font-size: 15px;
}

/* Highlighted list-item */
.IGResponsiveGrid .chosen-container .chosen-results li.highlighted {
    background: hsla(0, 0%, 100%, .1);
    outline: none;
    color: #fff;
    text-decoration: none;
}

/* Search bar within dropdown */
.IGResponsiveGrid .chosen-container-single .chosen-search input[type="text"] {
    color: #fff;
}

/*
* @END dropdown result
*/

/************************************* 
* Styling for the arrow
*************************************/

/* Arrow up */
.IGResponsiveGrid .chosen-container-single .chosen-single div b {
    display: inline-block;
    position: relative;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #636363;
    transform: rotate(180deg);
    transition: all 0.25s linear;
    background: none;
    top: 0.25rem;
    right: 4px;
}

/* Arrow down */
.IGResponsiveGrid .chosen-container-active.chosen-with-drop .chosen-single div b {
    transform: rotate(0deg);
    transition: all 0.25s ease;
    top: calc(0.7rem + 1px);
}
/* 
* @END arrow stylings
*/

/************************************* 
* Media queries
*************************************/

/* Desktop */
@media (min-width: 1200px) {
    .IGResponsiveGrid .chosen-container-active.chosen-with-drop .chosen-single div b {
        top: calc(0.75rem + 1px);
    }
}

/* Big ol' screen */
@media (min-width: 1600px) {
    /* Arrow positioning */
    .IGResponsiveGrid .chosen-container-active.chosen-with-drop .chosen-single div b {
        top: calc(0.8rem + 1px);
    }
}

/*
* @END Chosen Styles
*/
