/*--------------------------------------------------------
    FONT ASSIGNMENTS
--------------------------------------------------------*/


/* body {
    Style covered in refresh-styles.css
    color: #333333;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
} */


/* p {
    Style covered in refresh-styles.css
    color: #333333;
    font-size: 16px;
    font-family: 'Nunito Sans', sans-serif;
    margin-bottom: 25px;
    line-height: 19px;
} */


/*--------------------------------------------------------
    H1 - H6
--------------------------------------------------------*/

h1,
h2,
h3,
h4 {
    margin: 0px;
    padding: 0px;
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

h2 {
    font-size: 22px;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
}

h3 {
    font-size: 20px;
    color: #0078C1;
    font-family: 'Nunito Sans', sans-serif;
}

h4 {
    font-size: 18px;
    color: #0078C1;
    font-family: 'Nunito Sans', sans-serif;
}

h1.title {}


/*--------------------------------------------------------
    LINKS
--------------------------------------------------------*/

a {
    color: ;
    cursor: pointer;
}

a:hover,
a:focus {
    color: ;
}


/*--------------------------------------------------------
    IMAGES, Objects
--------------------------------------------------------*/

img {
    border: 0px;
}

hr {
    border-top: 1px solid #0078C1;
}


/*--------------------------------------------------------
    MODAL LOGIN
--------------------------------------------------------*/

.modal-content {
    width: 280px;
    margin-top: 20px;
    border-radius: 0;
}


/* .modal-dialog {
    Styles covered in refresh_styles.css
    width: 280px;
    margin: auto;
    display: block;
    text-align: center;
} */


/* .modal-body {
    padding: 20px;
} */


/* .modal-title {
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
} */


/* .modal-header {
    background-color: #008851;
} */


/* .modal-body #login input[type="text"],
.modal-body #login input[type="password"] {
    outline: none;
} */


/* .modal-body #login input[type="text"],
.modal-body #login input[type="password"] {
    margin: 5px 0;
    color: #666;
    padding: 4px 20px;
    border-radius: 4px;
    border: 1px solid rgba(116, 116, 116, 0.26);
}

.modal-body #login input[type="submit"] {
    border: none;
    color: #ffffff;
    margin-top: 10px;
    padding: 7px 32px;
    text-transform: uppercase;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #0078C1;
    border: 2px solid #0078C1;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
} */


/* .modal-body #login input[type="submit"]:hover {
    border: 2px solid #0078C1;
    background-color: #fff;
    color: #0078C1;
    text-decoration: none;
}

.modal-body #login a {
    float: left;
    width: 100%;
} */


/* .modal-header span#close {
    color: #fff;
} */


/*--------------------------------------------------------
    HEADER
--------------------------------------------------------*/


/* header {
    Style covered in refresh-styles.css
    padding: 25px 0 5px;
    margin-bottom: 0px;
    border-bottom: 0px;
} */


/* svg#ista-logo {
    Style covered in refresh-styles.css
    width: 265px;
    height: 86px;
    max-width: 100%;
} */

#member-login {
    float: right;
    margin-right: 8px;
}

.btn-login {
    background-color: #0078C1;
    border-radius: 0;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    padding: 4px 12px 5px;
    border: 2px solid #0078C1;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

.btn-login:hover,
.btn-login:focus {
    border: 2px solid #0078C1;
    background-color: #fff;
    color: #0078C1;
    text-decoration: none;
}

.btn-login:focus {
    outline: none;
}

.login-icon svg {
    position: relative;
    top: 4px;
    float: left;
    margin-right: 8px;
    width: 15px;
    height: 13px;
}

#member-login a:hover .login-icon svg .cls-1_login,
#member-login a:focus .login-icon svg .cls-1_login {
    fill: #0078C1;
}

#social-media a {
    text-decoration: none;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

#social-media {
    float: right;
    margin-right: 5px;
}

svg#linkedin {
    width: 34px;
    height: 34px;
}

svg#twitter {
    width: 34px;
    height: 34px;
}

#social-media a:hover svg .st0_linkedin {
    fill: #fff;
    stroke: #0078C1;
    stroke-width: 3px;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

#social-media a:hover svg .st1_linkedin {
    fill: #0078C1;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

#social-media a:hover svg .st0_twitter {
    fill: #fff;
    stroke: #0078C1;
    stroke-width: 3px;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

#social-media a:hover svg .st1_twitter {
    fill: #0078C1;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}


/*----------------------------------Search Bar*/

#search-wrap {
    float: right;
}

form#searchbox {
    width: 210px;
    height: 34px;
    border: none;
    padding: 0px;
    background: #F4F4F4;
}

input#q {
    float: left;
    width: 70%;
    border: none;
    margin: 6px 8px 4px 5px;
    margin-left: 5px;
    color: #666;
    font-size: 16px;
    text-indent: 5px;
    background: transparent;
    font-family: 'Nunito Sans', sans-serif;
}

input#q:focus {
    outline: none;
}

input.search-button {
    width: 20px;
    height: 20px;
    border: none;
    float: right;
    margin: 7px;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: url(../images/search_icon.png);
}


/*--------------------------------------------------------
    Desktop Navigation
--------------------------------------------------------*/

#nav-wrap {}


/* .navbar-nav>li a {
    Style covered in refresh-styles.css
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
} */

.nav>li>a:hover,
.nav>li>a:focus {
    background-color: transparent;
    color: #0078C1;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
    background-color: transparent;
    color: #0078C1;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}


/* .dropdown-menu {
    Style covered in refresh-styles.css
    background-color: #F4F4F4;
    min-width: 230px;
    padding: 0;
} */


/* .dropdown-menu>li>a {
    Style covered in refresh-styles.css
    color: #333;
    padding: 6px 16px;
    text-transform: none;
    font-size: 15px;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
} */

.dropdown-menu>li>a:hover {
    color: #fff;
    background-color: #0078C1;
}

.open>.dropdown-menu {
    border: none;
    border-radius: 0px;
}

#mobile-toggle {
    margin-top: 5px;
    float: right;
}

svg#burger {
    width: 32px;
    height: 32px;
    cursor: pointer;
}


/*------------------------2nd Tier Nav*/

.nav li {
    position: relative;
    float: left;
    list-style-type: none;
}

.open>.dropdown-menu {
    display: block;
}

.men-level-1 {
    top: 0px;
}


/*--------------------End-2nd Tier Nav*/


/*----------------------------
    MMS Member Icons Menu
------------------------------*/

@media (min-width: 1200px) {
    .nav-tabs li.dropdown {
        width: 190px;
    }
}

@media (min-width: 990px) and (max-width: 1200px) {
    .nav-tabs li.dropdown {
        width: 155px;
    }
}

@media (min-width: 767px) and (max-width: 990px) {
    .nav-tabs li.dropdown {
        width: 120px;
    }
}


/*------------------------------------------------------------------------------------
                            Dropdown Menus - full/collapsed
--------------------------------------------------------------------------------------*/

.dropdown-menu li {
    width: 100%;
}


/*---------------------------------------------
        Mobile Menu
---------------------------------------------*/


/*-------------------------------------toggle*/

button#mobile-toggle {
    width: 37px;
    height: 37px;
    display: none;
    position: absolute;
    right: 15px;
    bottom: 30px;
    border: 2px solid #002857;
    border-radius: 4px;
    padding: 8px 5px;
    background-color: white;
    box-shadow: 0px 1.5px 1px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

@media (max-width: 990px) {
    button#mobile-toggle {
        display: inline-block;
    }
}

button#mobile-toggle svg * {
    fill: #002857;
}


/*--------------------------------end--toggle*/


/* Mobile menu styles covered in refresh_styles.css */


/*------------------------------------------------------------------------------------
                                @Media and Sizes
--------------------------------------------------------------------------------------*/


/*------ Nav collapse @ Tablet size ------*/

@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    /* .navbar-collapse {
        Styles covered in refresh_styles.css
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    } */
    /* .navbar-collapse.collapse {
        Style covered in refresh_styles.css
        display: none!important;
    } */
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}


/*--------------------------------------------------------
    INDEX / MAIN BODY
--------------------------------------------------------*/


/*----------------Slideshow----------*/

#slide-row {
    margin-bottom: 10px;
}

.carousel-control.left,
.carousel-control.right,
.carousel-control:hover {
    background-image: none;
    /*  font-size: ;
    font-weight: ;
    z-index: 101;*/
}

.carousel-control {
    width: 6%;
}

.carousel-control span.arrow-left,
.carousel-control span.arrow-right {
    position: relative;
    top: 250px;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 30px;
    padding: 15px 22px;
}

.carousel-control span.arrow-left img {
    margin-left: -4px;
    margin-top: -3px;
}

.carousel-control span.arrow-right img {
    margin-right: -4px;
    margin-top: -3px;
}

.carousel-caption {
    position: absolute;
    z-index: 100;
    background-color: #002857;
    background: rgba(0, 0, 0, .5);
    padding: 28px 20px 15px;
    left: initial;
    bottom: 0px;
    right: 0px;
    top: initial;
    width: 100%;
    text-align: left;
    text-shadow: none;
}

.carousel-control.left,
.carousel-control.right,
.carousel-control:hover {
    height: 0;
}

@media (max-width: 600px) {
    .carousel-caption {
        padding: 0px 10px;
    }
}

.carousel-caption p.caption-text {
    font-size: 18px;
    display: block;
    color: white;
    margin-bottom: 10px;
    float: left;
    width: 85%;
    font-weight: 300;
    line-height: 20px;
}

.carousel-caption p.alt-text {
    font-size: 16px;
    font-family: serif;
    font-style: italic;
    color: white;
    margin-bottom: 10px;
}

.carousel-caption a.caption-btn {
    color: #fff;
    font-weight: 600;
    background-color: #0078C1;
    padding: 5px 15px;
    border: 2px solid #0078C1;
    float: right;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

.carousel-caption a.caption-btn:hover {
    border: 2px solid #0078C1;
    background-color: #fff;
    color: #0078C1;
    text-decoration: none;
}

.caption-btn svg {
    position: relative;
    top: 4px;
    float: right;
    margin-left: 10px;
    width: 15px;
    height: 15px;
}

.carousel-caption a.caption-btn:hover svg .cls-1_more {
    fill: #0078C1;
}

.carousel-indicators {
    display: none;
}


/* New Slideshow */

.slideshow-wrap {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 1600px;
    position: relative;
    overflow: hidden;
}

.slideshow-wrap .container {
    width: 100%;
    padding: 0;
}

.slideshow-wrap .carousel-inner .item {
    max-height: 666px;
    overflow: hidden;
}

.slideshow-wrap .carousel-inner img {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}


/*----------------End Slideshow------*/


/*---------- news_feed_pages function ----*/

div#news-button-container {
    margin: 10px 0px 0px 0px;
    text-align: right;
}

div#news-button-verbiage {
    margin-right: 10px;
    display: inline-block;
    color: #5DB2D7;
}

div#news-button-container:active {
    margin: 9px 0px 0px -1px;
    /* keeps buttons from jumping around when pressed*/
}

div.news-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #5DB2D7;
    color: black;
    border: 1px solid black;
    border-radius: 5px;
    margin: 0px;
}

div.nb-number:hover {
    opacity: 0.7;
    /*buttons move toward backgound color when hovered over*/
    cursor: pointer;
}

div.nb-number:active {
    /* make buttons look like they are being pressed when clicked*/
    opacity: 0.6;
    border-width: 2px 0px 0px 2px;
}

div.nb-selected {
    /* style the selected button */
    opacity: 0.5;
}

div#nb-ellipsis-left,
div#nb-ellipsis-right {
    background-color: transparent;
    color: #5DB2D7;
    border: 0px;
    margin: 0px;
    padding: 5px;
    font-weight: bold;
}


/*---------- END: news_feed_pages ----*/


/*----------------------------------Primary-Content*/


/*--------------------------------------------------------
    CSS STYLE FOR GRID PAGE
--------------------------------------------------------*/

#links-section {
    padding-top: 40px;
    padding-bottom: 20px;
}

#links-section a {
    color: #333;
    text-decoration: none;
}

#links-section svg {
    height: 120px;
    width: 120px;
    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
    max-width: 100%;
}

#links-section a:hover svg {
    box-shadow: 0 16px 33px -12px rgba(142, 211, 255, .30), 0 4px 10px 0 rgba(0, 0, 0, 0), 0 8px 10px -5px rgba(9, 203, 102, 0.2);
    border-radius: 50%;
}

#links-section a:hover circle {
    fill: #fff;
    stroke: #0078C1;
    stroke-width: 3px;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

#links-section a[href="https://ista.org/packsight.php"]:hover circle {
    stroke-width: 6px;
}

#member-center a:hover svg#member .cls-member-center-2 {
    fill: #0078C1;
}

#member-center a:hover svg#member .cls-member-center-3 {
    fill: #fff;
}

.column:hover .link-text a {
    color: #0078C1;
}

#links-section a:hover path {
    fill: #0078C1;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

#feed-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.news-item,
.event-item {
    /*float: left;*/
    margin-bottom: 25px;
}

.news-item h4,
.event-item h4 {
    margin: 0;
}

.news-item h4 a.news-title-link,
.event-item h4 a.ev-title-link {
    color: #0078C1;
    font-weight: bold;
}

.news-item h4 a.news-title-link:hover,
.event-item h4 a.ev-title-link:hover {
    color: #1a5c97;
    text-decoration: none;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

.news-item p.date,
.event-item p.date {
    font-size: 15px;
    font-style: italic;
    color: #666666;
    margin-bottom: 10px;
    font-weight: 500;
}

.news-item p.description,
.event-item p.description {
    font-weight: 600;
    margin-bottom: 10px;
}

.news-blurb {
    padding-bottom: 10px;
}

.news-item a.read-more,
.event-item a.read-more {
    font-size: 15px;
    color: #0078C1;
    font-weight: 600;
}

.news-item a.read-more:hover,
.event-item a.read-more:hover {
    color: #1a5c97;
    text-decoration: none;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

.view-all {
    margin-top: 10px;
    display: inline-block;
}

.view-all a {
    background-color: #0078C1;
    color: #fff;
    padding: 8px 15px;
    border: 2px solid #0078C1;
    font-size: 15px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

.view-all a:hover {
    text-decoration: none;
    background-color: #fff;
    border: 2px solid #0078C1;
    color: #0078C1;
}

#page {
    margin-top: 30px;
}


/* New News Section */

h3.news-title {
    margin-bottom: 3px;
    margin-top: 15px;
    font-size: 20px;
}

a.news-title-link {
    color: #0078C1;
    font-weight: bold;
}

.news-date {
    font-size: 14px;
    color: #666666;
    font-style: italic;
    padding-bottom: 15px;
}

.news-image img {
    max-width: 100%;
}


/*--------------------------------------------------------
    Events Page
--------------------------------------------------------*/

#events-page-section {
    padding-top: 5px;
    padding-bottom: 20px;
}

.elist-wrap {
    padding-top: 20px;
    padding-bottom: 0;
    margin-bottom: 30px;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
}

.elist-wrap h4 {
    font-weight: bold;
    color: #666;
}

.elist-wrap p.date {
    margin-bottom: 8px;
}

.elist-wrap hr {
    margin-top: 10px;
    margin-bottom: 15px;
}

.elist-wrap:hover {
    background-color: #F2F2F2;
}

.elist-wrap:hover h4 {
    color: #0078C1;
}

.elist-wrap .event-image {
    border-top: 1px solid #0078C1;
    border-bottom: 1px solid #0078C1;
}

.elist-wrap .event-image img {
    margin: 13px auto;
    display: block;
    max-width: 100%;
}

.elist-wrap p.description {
    margin-top: 15px;
    margin-bottom: 0;
}


/* New Events Section */

.event-date-wrap {
    background: #fff;
    width: 30%;
    display: inline-block;
    vertical-align: top;
    max-width: 60px;
    margin-right: 20px;
    border: 1px solid #0078C1;
}

.event-details-wrap {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 85px);
    width: -webkit-calc(100% - 85px);
    width: -moz-calc(100% - 85px);
    position: relative;
    top: -2px;
}

.event-month {
    text-align: center;
    color: #fff;
    font-size: 18px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-weight: bold;
    background: #0078C1;
}

.event-date {
    text-align: center;
    color: #666666;
    font-size: 20px;
    padding-top: 5px;
    padding-bottom: 4px;
    line-height: 20px;
}

h3.event-title {
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 20px;
    margin-top: -2px;
    color: #5b5b5b;
    font-size: 18px;
}

a.ev-title-link {
    color: #5b5b5b;
    font-size: 18px;
    font-weight: normal;
    line-height: 22px;
}

a.ev-title-link:hover {
    color: #012646;
    text-decoration: underline;
}


/*--------------------------------------------------------
    Join Page
--------------------------------------------------------*/

a.join-btn {
    color: #fff;
    font-weight: 600;
    background-color: #0078C1;
    padding: 5px 15px;
    border: 2px solid #0078C1;
    transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    -webkit-transition: 0.9s cubic-bezier(0.18, 1, 0.21, 1);
    display: inline-block;
    margin-bottom: 20px;
}

a.join-btn:hover {
    border: 2px solid #0078C1;
    background-color: #fff;
    color: #0078C1;
    text-decoration: none;
}

.join-btn svg {
    position: relative;
    top: 4px;
    float: right;
    margin-left: 10px;
    width: 15px;
    height: 15px;
}

a.join-btn:hover svg .cls-1_more {
    fill: #0078C1;
}


/*--------------------------------------------------------
    FOOTER
--------------------------------------------------------*/


/* footer {
    Style covered in refresh-styles.css
    background-color: #008851;
    padding: 30px 0 15px;
    border-bottom: 2px solid #007C41;
    margin-top: 30px;
} */

footer h1 {
    margin-bottom: 30px;
}

footer p {
    margin-bottom: 20px;
}

footer a {
    text-decoration: underline;
}

footer a:hover {
    text-decoration: none;
}

footer h1,
footer p,
footer a,
footer a:hover {
    color: #fff;
}

#location,
#mail,
#phone {
    float: left;
    margin-right: 20px;
}

#copyright {
    background-color: #008851;
    padding: 20px 0px;
}

#copyright a {
    text-decoration: underline;
}

#copyright a:hover {
    text-decoration: none;
}

#copyright p,
#copyright a,
#copyright a:hover {
    margin: 0;
    color: #fff;
}


/*--------------------------------------------------------
    Subpages
--------------------------------------------------------*/

#main-container-page {
    min-height: calc(100vh - 388px);
}


/*--------------------------------------------------------
    MEDIA QUERIES
--------------------------------------------------------*/

@media (min-width: 990px) and (max-width: 1199px) {
    .container {}
    /* #nav_menu {
        Style covered in refresh-styles.css
        display: none !important;
    } */
    .carousel-caption p.caption-text {
        width: 80%;
    }
    .carousel-control {
        width: 7%;
    }
    .carousel-control span.arrow-left,
    .carousel-control span.arrow-right {
        padding: 10px 17px;
        top: 160px;
    }
    #location,
    #mail,
    #phone {
        margin-right: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .container {}
    #social-media {
        margin-right: -2px;
    }
    .carousel-control {
        width: 8%;
    }
    .carousel-caption {
        /*background: #008851;*/
        min-height: 150px;
        position: relative;
    }
    .carousel-caption p.caption-text {
        width: 100%;
    }
    .carousel-control span.arrow-left,
    .carousel-control span.arrow-right {
        padding: 10px 17px;
        top: 140px;
    }
    .carousel-caption a.caption-btn {
        float: left;
    }
    svg#join,
    svg#member,
    svg#test,
    svg#lib,
    svg#find,
    svg#faq {
        height: 95px;
        width: 95px;
    }
    #events-feed,
    #new-events-feed {
        padding-top: 50px;
    }
    footer h1 {
        text-align: center;
    }
    #copyright p,
    #copyright a,
    #copyright a:hover {
        text-align: center;
    }
    .widget-wrap {
        width: 300px;
        margin: 0 auto;
        display: block;
    }
    #location,
    #mail,
    #phone {
        width: 25px;
    }
}

@media (max-width: 767px) {
    .container {}
    #social-media {
        margin-right: -2px;
    }
    .carousel-control {
        width: 10%;
    }
    .carousel-caption {
        /*background: #008851;*/
        min-height: 150px;
        position: relative;
    }
    .carousel-caption p.caption-text {
        width: 100%;
    }
    .carousel-control span.arrow-left,
    .carousel-control span.arrow-right {
        padding: 6px 14px;
        top: 85px;
    }
    .carousel-control span.arrow-left img,
    .carousel-control span.arrow-right img {
        width: 15px;
    }
    .carousel-caption a.caption-btn {
        float: left;
    }
    #join-link,
    #member-center,
    #test-procedure,
    #technical-lib,
    #find-lab,
    #faq-link {
        padding-bottom: 20px;
    }
    #events-feed,
    #new-events-feed {
        padding-top: 50px;
    }
    footer h1 {
        text-align: center;
    }
    #copyright p,
    #copyright a,
    #copyright a:hover {
        text-align: center;
    }
    .widget-wrap {
        width: 300px;
        margin: 0 auto;
        display: block;
    }
    #location,
    #mail,
    #phone {
        width: 25px;
    }
}

@media (max-width: 600px) {
    #member-login {
        display: none;
    }
    .carousel-caption {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {}
    #header-left {
        width: 65%;
    }
    #header-right {
        width: 35%;
    }
    #social-media {
        margin-right: -2px;
    }
    #member-login {
        display: none;
    }
    .carousel-control {
        width: 13%;
    }
    .carousel-caption {
        /*background: #008851;*/
        min-height: 190px;
        position: relative;
        padding: 15px;
    }
    .carousel-caption p.caption-text {
        width: 100%;
        font-size: 16px;
    }
    .carousel-control span.arrow-left,
    .carousel-control span.arrow-right {
        padding: 3px 12px;
        top: 50px;
    }
    .carousel-control span.arrow-left img,
    .carousel-control span.arrow-right img {
        width: 12px;
    }
    .carousel-caption a.caption-btn {
        float: left;
    }
    #join-link,
    #member-center,
    #test-procedure,
    #technical-lib,
    #find-lab,
    #faq-link {
        padding-bottom: 20px;
    }
    #events-feed,
    #new-events-feed {
        padding-top: 50px;
    }
    footer h1 {
        text-align: center;
    }
    #copyright p,
    #copyright a,
    #copyright a:hover {
        text-align: center;
    }
    .widget-wrap {
        width: 300px;
        margin: 0 auto;
        display: block;
    }
    #location,
    #mail,
    #phone {
        width: 25px;
    }
}


/*--------------------------------------------------------
    MMS
--------------------------------------------------------*/

/* custom members area panels */

.panel-success {
    border-color: var(--green);
}

.panel-success>.panel-heading {
    color: white;
    background-color: var(--green);
    border-color: var(--green);
}

.panel-default {
    border-color: var(--blue);
}

.panel-default>.panel-heading {
    color: white;
    background-color: var(--blue);
    border-color: var(--blue);
}

.panel-info {
    border-color: var(--blue);
}

.panel-info>.panel-heading {
    color: white;
    background-color: var(--blue);
    border-color: var(--blue);
}

/* custom admin area */

#ultra-button {
    background-color: white;
}

/* admin menu */

@media (max-width: 767px) {
    .main-admin-navbar .navbar-nav .open .dropdown-menu>li>a {
        color: rgb(68, 68, 68);
    }

    .main-admin-navbar .navbar-nav .open .dropdown-menu>li>a:is(:hover, :focus) {
        color: var(--blue);
    }

    .main-admin-navbar .dropdown-menu>li>a:is(:hover, :focus) {
        background-color: white;
        color: var(--blue);
    }
}

#admin_menu_wrap_5 .main-admin-navbar {
    background-color: #ffffff;
    box-shadow: 0 0 1px 1px #AAA;
}

.main-admin-navbar .nav:not(#persist_nav_zone .nav)
>li>a:focus, .main-admin-navbar .nav:not(#persist_nav_zone .nav)
>li>a:hover {
    /* box-shadow: 0 2px 0 #AAA; */
    background-color: unset;
}

.main-admin-navbar .nav .open>a, .main-admin-navbar .nav .open>a:focus, .main-admin-navbar .nav .open>a:hover { 
    /* box-shadow: 0 2px 0 #AAA; */
    background-color: unset;
} 

#admin_menu_wrap_5 .dropdown-menu {
    top: 104%;
}

.main-admin-navbar .nav>li>a:focus, .main-admin-navbar .nav>li>a:hover {
    background-color: unset;
}

