.visuallyhidden {
    border: 0;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px; 
}

/* BUTTONS */

.btn-primary {
    border: 1px solid var(--color-teal);
    background: var(--color-teal);
    padding: 15px 20px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary {
    border: 1px solid var(--color-peach);
    background: var(--color-peach);
    padding: 15px 20px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}

.btn-danger {
    border: 1px solid #dc7070;
    background: #dc7070;
    padding: 15px 20px;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}

.btn-danger:hover {
    border: 1px solid #c54242;
    background: #c54242;
}

.btn-ghost {
    border: 1px solid var(--color-teal);
    background: rgba(255, 255, 255, 0.5);
    padding: 15px 20px;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
}

.btn-ghost:hover {
    color: #111;
    background: rgba(255, 255, 255, 0.8);
}

.btn-rounded {
    border-radius: 30px;
}

/* SELECTS */

.cat-select {
    font-size: 14px;
    color: #333;
    position: relative;
}

.cat-select ul {
    list-style: none;
    text-align: left;
    padding: 5px 0;
    margin: 0;
    background: #fff;
    cursor: default;
}

.cat-select ul.cat-selected {
    border-radius: 3px;
    border: 1px solid #ccc;
    overflow: hidden;
    position: relative;
    padding-right: 30px;
}

.cat-select.open ul.cat-selected {
    border-radius: 3px 3px 0 0;
    background: #f6ffff;
}

.cat-select ul.cat-selected:hover {
    background: #f6ffff;
}

.cat-select ul.cat-selected:after {
    content: 'g';
    font-family: compare-all-things;
    position: absolute;
    top: 50%;
    font-size: 18px;
    right: 15px;
    line-height: 0;
}

.cat-select ul.cat-select-options {
    border: 1px solid #ccc;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow: auto;
}

.cat-select.open ul.cat-select-options {
    display: block;
}

.cat-select ul li {
    padding: 5px 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cat-select ul.cat-select-options li.selected {
    color: #333333;
}

.cat-select ul.cat-select-options li:hover {
    background: #333333;
    color: #fff;
}

.cat-select ul li .select-img-wrap {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    position: relative;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 1px;
}

.cat-select ul li img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

/* CHECKBOX SWITCHES */

.toggle-switch {
    display: inline-block;
    vertical-align: middle;
    padding: 5px;
}

.toggle-switch input {
    display: none !important;
}

.toggle-switch span {
    display: block;
    border: 1px solid #ccc;
    background: #e7e7e7;
    height: 30px;
    border-radius: 15px;
    width: 62px;
    position: relative;
    cursor: pointer;
}

.toggle-switch span:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    -webkit-transition: left .15s linear;
    -moz-transition: left .15s linear;
    transition: left .15s linear;
}

.toggle-switch input:checked + span {
    background: #666666;
    border-color: #666666;
}

.toggle-switch input:checked + span:after {
    left: 33px;
}

/* MODALS */

.cat-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 850;
    overflow: hidden;
    display: none;
}

.cat-modal-wrapper.open {
    display: block;
}

.cat-modal-bg-cover {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
}

.cat-modal {
    width: 98%;
    max-width: 650px;
    border-radius: 5px 5px 0 0;
    background: #fff;
    padding: 15px 5px 15px 15px;
    position: absolute;
    bottom: -100%;
    height: 90%;
    left: 50%;
    border: 1px solid #ddd;
    border-bottom: 0;
    box-shadow: 0 -3px 25px #dddddd;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 1;
}

.cat-modal .modal-head {
    padding-bottom: 10px;
    margin-bottom: 10px;
    overflow: auto;
    border-bottom: 1px solid #dddddd;
}

.cat-modal .modal-head h1 {
    color: #333333;
}

.cat-modal .modal-body {
    max-height: 85%;
    overflow: auto;
    padding: 10px 10px 80px 0;
}

.cat-modal h1 {
    float: left;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 2rem;
}

.cat-modal h1 span {
    font-size: 1.29rem;
    color: #999;
}

.cat-modal .close-modal {
    float: right;
    color: #ccc;
    font-size: 1.29rem;
    cursor: pointer;
}

.cat-modal .close-modal:hover {
    color: #ff4f4f;
}

.cat-modal label {
    font-size: 1rem;
    color: #454545;
    padding-bottom: 10px;
}

.cat-modal input, .cat-modal textarea, .cat-modal select {
    background: #fcfcfc;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    font-size: 1.15rem;
    box-shadow: inset 1px 1px 5px #ddd;
    margin: 6px 0 15px;
}

.cat-modal select {
    box-shadow: inset 0px -1px 2px #ddd;
}

.cat-modal input:focus, .cat-modal textarea:focus {
    box-shadow: inset 0 0px 5px var(--color-primary, #8ac55f);
}

.cat-modal .modal-footer {
    margin-top: 20px;
    overflow: visible;
    border-top: 1px solid #dddddd;
    text-align: right;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    height: 80px;
    background: #fff;
}

.modal-loading-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8) url(/assets/images/readyleagues-loading-dots.gif) center center no-repeat;
    display: none;
}

.modal-loading-cover span {
    position: absolute;
    top: 57%;
    text-align: center;
    left: 0;
    width: 100%;
    color: var(--color-primary, #8ac55f);
    font-weight: 600;
}

.cat-modal form .continue-btn {
    float: right;
}

.input-error {
    color: #ef6f6f;
}

span.input-error {
    float: right;
    font-size: 0.86rem;
    margin-top: 5px;
}

span.input-error.social-login-error, span.input-error.social-signup-error, span.modal-error {
    float: none;
    display: block;
    padding-bottom: 15px;
}

.or-separator {
    padding: 15px 0;
    position: relative;
    color: #666;
    text-align:center
}

.or-separator:before, .or-separator:after {
    content: '';
    width: 45%;
    display: inline-block;
    border-top: 1px solid #ccc;
    vertical-align: middle;
    margin: 0 10px
}

.or-separator.or-continue:before, .or-separator.or-continue:after {
    width: 35%;
}

.social-login-btns {
    text-align: center;
}

.social-login-btns .login-btn {
    width: 46%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    color: #fff;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 3px;
}

.social-login-btns .login-btn:hover {
    opacity: 0.8;
}

.social-login-btns .login-btn:before {
    font-family: "ready-leagues";
    line-height: 0;
    font-size: 2rem;
    position: absolute;
    left: 6px;
    top: 19px;
}

.login-google > div {
    width: 100% !important;
    position: absolute;
    left: 0;
    height: 100% !important;
    top: 0;
    opacity: 0;
    z-index: 1;
}

.login-google iframe {
    margin: 0 !important;
    height: 38px !important;
    width: 100% !important;
}

.login-facebook {
    background: #3C5A99;
}

.login-facebook:before {
    content: '6';
}

.login-google {
    background: #DB4437;
    height: 38px;
    cursor: pointer;
}

.login-google:before {
    content: '$';
    font-size: 1.71em !important;
    left: 8px !important;
}

.login-google:after {
    content: 'Google';
    top: -1px;
    position: relative;
}

.modal-secondary-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 0;
    display: none;
}

.cat-modal-wrapper.covered .modal-body, .cat-modal-wrapper.covered .modal-head, .cat-modal-wrapper.covered .modal-footer {
    filter: blur(2px);
    transition: blur .15s linear;
}


/* DROPDOWNS */

.notice-dropdown {
    position: absolute;
    top: 100%;
    margin-top: -1px;
    right: 0;
    background: #fff;
    display: none;
    border: 1px solid #efefef;
    width: 240px;
    box-shadow: 0 6px 13px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.has-dropdown.open {
    background: #efefef;
}

.has-dropdown.open .notice-dropdown {
    display: block;
    z-index: 600;
}

.notice-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 6px 0;
}

.notice-dropdown li a {
    padding: 8px 15px;
    display: block;
    color: var(--color-primary);
    text-decoration: none;
}

.notice-dropdown li a i {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.29rem;
    line-height: 1rem;
    padding-right: 6px;
}

.notice-dropdown li a:hover {
    background: #efefef;
}

.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown-trigger {
    cursor: default;
}

.has-dropdown .dropdown-trigger i {
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
}

.has-dropdown.open .dropdown-trigger i {
    transform: rotate(180deg);
    margin-top: -11px;
}