::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}


html {
    background-color: #004f87;
}
body {
    background-color: #fff;
    opacity: 0;
    -webkit-transition: opacity .2s ease-in-out;
       -moz-transition: opacity .2s ease-in-out;
         -o-transition: opacity .2s ease-in-out;
            transition: opacity .2s ease-in-out;
}
.no-js body,
.wf-active body,
.wf-inactive body {
    opacity: 1;
}
header {
    position: relative;
}
header .logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: 52px;
    background: url('../img/logo.png') center no-repeat;
    margin: 36px 0 22px;
    float: left;
}
header .search.moduletable {
    position: relative;
    float: right;
    margin-top: 38px;
}
header .search.moduletable #search_btn{
    display: none;
}
header .search input {
    -webkit-appearance: none;
    box-sizing: border-box;
    border: 0;
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 57px;
    line-height: 20px;
    width: 276px;
    height: 38px;
    border: solid 1px #747677;
    font-size: 16px;
    font-style: italic;
}
header .search .btn {
    position: absolute;
    right: 0px;
    padding: 38px 0 0;
    line-height: 28px;
    text-transform: uppercase;
    color: #fff;
    background: #747677;
    width: 57px;
    height: 38px;
    border-radius: 0 4px 4px 0;
    overflow: hidden;
}
header .search .btn:hover{
    background: #666 ;
}
header .search .btn:before{
    font-family: fontAwesome;
    content: '\f002';
    position: absolute;
    top: 4px;
    left: 18px;
    font-size: 24px;
}
header .moduletable.contact_us_btn{
    float: right;
    margin-top: 38px;
}
header .moduletable.contact_us_btn p{
    margin: 0;
}
header .moduletable.login{
    float: right;
    margin: 38px 15px 0 0;
}
header .moduletable.login .btn{
    line-height: 38px;
    padding: 0 25px;
    font-size: 16px;
    height: 38px;
}
#finder-search input#q{
    margin-bottom: 15px;
}
.search-results{
    list-style: none;
    padding-left: 0;
}
.search-pages-counter{
    margin-top: 20px !important;
}
.navigation{
    background: #004f87;
}
.navigation .main-menu {
    clear: both;
}
.navigation .main-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.navigation .main-menu li {
    position: relative;
    float: left;
}
.navigation .main-menu button,
.navigation .main-menu a {
    display: block;
    border: 0;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    background: none;
    padding: 15px 35px;
    -webkit-transition: color .2s ease-in-out, background-color .2s ease-in-out;
       -moz-transition: color .2s ease-in-out, background-color .2s ease-in-out;
         -o-transition: color .2s ease-in-out, background-color .2s ease-in-out;
            transition: color .2s ease-in-out, background-color .2s ease-in-out;
}
.navigation .main-menu button:hover,
.navigation .main-menu button:focus,
.navigation .main-menu a:hover,
.navigation .main-menu a:focus,
.navigation .main-menu .open > a,
.navigation .main-menu .open > a:hover,
.navigation .main-menu .open > a:focus {
    background-color: #017ac3;
    color: #fff;
}
.navigation .main-menu button {
    display: none;
}
.navigation .main-menu ul ul {
    position: absolute;
    top: 100%;
    left: -9999px;
    width: 330px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&amp;0.9+0,0.9+100 */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjkiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjkiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
background: -moz-linear-gradient(top,  rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.9) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.9)), color-stop(100%,rgba(255,255,255,0.9))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6ffffff', endColorstr='#e6ffffff',GradientType=0 ); /* IE6-8 */

    z-index: 100;
    border: solid 2px #017ac3;
    padding: 25px 0;
}
.navigation .main-menu ul li:hover ul {
    left: 0;
}
.navigation .main-menu ul li:last-child:hover ul {
    left: auto;
    right: 0;
}
.navigation .main-menu ul ul li {
    position: static;
    float: none;
}
.navigation .main-menu ul ul a {
    font-size: 18px;
    color: #017ac3;
    padding: 5px 20px;
}
.main_menu{
    background: #004f87;
}
@media (max-width: 1199px) {
    .navigation .main-menu a{
        padding: 15px 18px;
    }
}
@media (max-width: 991px) {
    header {
        height: auto;
        overflow: hidden;
    }
    header .logo {
        position: static;
        margin: 70px auto 25px;
        float: none;
    }
    header .search.moduletable {
        width:44px;
        position: absolute;
        z-index: 50;
        right: 0;
        margin: 0;
        top: 0;
        -webkit-transition: all .5s ease-in-out;
           -moz-transition: all .5s ease-in-out;
             -o-transition: all .5s ease-in-out;
                transition: all .5s ease-in-out;
    }
    header .search.moduletable.on{
        /*width: calc(100% - 44px);*/

        padding: 0 44px;
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    header .search.moduletable #search_btn{
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 44px;
        height: 44px;
        cursor: pointer;
        background: #888;
        border: none;
    }
    header .search.moduletable #search_btn:after{
        font-family: fontAwesome;
        content: '\f002';
        font-size: 20px;
        color: #fff;
    }
    header .search.moduletable.on #search_btn:after{
        content: '\f00d';
    }
    header .search input {
        width: 100%;
        height: 44px;
        border: none;
        background: #ebebeb;
        padding-right: 44px;
        -webkit-appearance: none;
        border-radius: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    header .search .btn{
        display: none;
    }
    header .moduletable.contact_us_btn{
        position: absolute;
        top: 0;
        margin-top: 0;
        /*left: 44px;
        width: calc( 100% - 88px );*/

        padding: 0 44px;
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        left: 0;
    }
    .loggedin header .moduletable.contact_us_btn{
        padding: 0 44px 0 124px;
        width: 100%;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
       /* width: calc( 100% - 168px );
        left: 124px;*/
    }
    header .moduletable.contact_us_btn .large_btn{
        height: 44px;
        line-height: 44px;
        display: block;
        width: 100%;
        border-radius: 0;
        font-size: 18px;
    }
    header .moduletable.login{
        position: absolute;
        top: 0px;
        left: 44px;
        margin: 0;
        z-index: 20;
    }
    header .moduletable.login .btn{
        line-height: 44px;
        border-radius: 0;
        padding: 0;
        width: 80px;
        height: 44px;
        font-size: 18px;
    }
    .active_menu #menu_bg{
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 90;
        background: rgba(6, 45, 73, .5);
    }
    .navigation .main-menu.moduletable {
        float: left;
        clear: none;
        margin-top: 0;

        position: absolute;
        left: 0;
        top: 0;
        z-index: 100;
    }
    body.active_menu .navigation .main-menu.moduletable{
        width: 100%;
    }
    .navigation .main-menu button {
        display: block;
        width: 44px;
        height: 44px;
        text-align: center;
        background: #004f87;
        line-height: 44px;
        padding: 0;
    }
    .navigation .main-menu button:before{
        content: '\f0c9';
        font-family: fontAwesome;
    }
   .navigation .main-menu.open button{
        background: #fff;
        color: #004f87;
    }
   .navigation .main-menu.open button:before{
        content: '\f00d';
    }
    .navigation .main-menu ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255,255,255,.9);
    }
    .navigation .main-menu a{
        color: #017ac3;
        padding: 10px 20px;
    }
    .navigation .main-menu.open ul {
        display: block;
    }
    .navigation .main-menu li {
        position: relative;
        float: none;
    }
    .navigation .main-menu li.parent > a {
        margin-right: 67px;
    }
    .navigation .main-menu > ul > li.current > a{
        background-color: #017ac3;
    }
    .navigation .main-menu > ul > li.current > a{
        color: #fff;
    }
    .navigation .main-menu > ul > li.parent:before {
        font-family: fontAwesome;
        content: "\f107";
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        width: 67px;
        height: 47px;
        text-align: center;
        line-height: 47px;
        cursor: pointer;
        font-size: 24px;
    }
    .navigation .main-menu > ul > li.parent.open:before {
        content: "\f106";
    }
    .navigation .main-menu .open > a {
        background: #017ac3;
    }
    .navigation .main-menu ul ul,
    .navigation .main-menu.open ul ul {
        position: static;
        display: none;
        width: auto;
        background: #ebebeb;
        border: none;
        padding: 0;
    }
    .navigation .main-menu ul .open ul,
    .navigation .main-menu.open ul .open ul {
        display: block;
    }
    .navigation .main-menu ul ul a {
        padding: 10px 20px;
    }
}
@media (max-width: 480px) {
    header .logo {
        background: url('../img/logo-m.png') center no-repeat;
        width: 218px;
    }
}

.homepage-slideshow.e2slideshow {
    position: relative;
    margin-top: 1px;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
    height: 300px;
    width: 100%;
    overflow: hidden;
}
.homepage-flex-viewport {
    width: 100%;
}
.homepage-slideshow .slides > li,
.homepage-slideshow.layout-fullimage .slide {
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}
.homepage-slideshow.layout-fullimage .slides > li,
.homepage-slideshow.layout-fullimage .slide {
    background-size: cover;
}
.homepage-slideshow.layout-fullimage.library-flickity .slide {
    width: 100%;
}
.homepage-slideshow .slide-link {
    display: block;
}
.homepage-slideshow .container {
    position: relative;
    height: 300px;
}
.homepage-slideshow.layout-default .container:before,
.homepage-slideshow.layout-default .container:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    width: 100px;
    background-color: #000;
}
.homepage-slideshow.layout-default .container:before {
    left: 0;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(0,0,0,1)), color-stop(100%, rgba(0,0,0,0)));
    background: -webkit-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background:    -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background:     -ms-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background:      -o-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    background:     linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=1 );
}
.homepage-slideshow.layout-default .container:after {
    right: 0;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,1)));
    background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background:    -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background:     -ms-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background:      -o-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    background:     linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#000000', GradientType=1);
}
.homepage-slideshow .slide-description {
    position: absolute;
    left: 0;
    bottom: 25px;
    z-index: 5;
    padding: 20px;
    color: #fff;
    background-color: rgba(0,0,0,.15);
    font-size: 16px;
}
.homepage-slideshow .slide-description p{
    margin-bottom: 20px;
}
.homepage-slideshow .slide-description :first-child {
    margin-top: 0;
}
.homepage-slideshow .slide-description :last-child {
    margin-bottom: 0;
}
.homepage-slideshow .slide-description .intro{
    font-size: 23px;
}
.homepage-flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}
.homepage-flex-direction-nav a,
.homepage-slideshow .flickity-prev-next-button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    height: auto;
    text-align: center;
    font-size: 3.5rem;
    line-height: 400px;
    text-decoration: none;
    color: #fff;
    background-color: rgba(34,34,34,.75);
    opacity: 0;
    border-radius: 0;
    -webkit-transition: opacity .2s ease-in-out;
       -moz-transition: opacity .2s ease-in-out;
         -o-transition: opacity .2s ease-in-out;
            transition: opacity .2s ease-in-out;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
}
.homepage-slideshow .flickity-prev-next-button.previous:before {
    content: "←";
}
.homepage-slideshow .flickity-prev-next-button.next:before {
    content: "→";
}
.homepage-slideshow .flickity-prev-next-button svg {
    display: none;
}
.homepage-slideshow:hover .homepage-flex-direction-nav a,
.homepage-slideshow:hover .flickity-prev-next-button {
    opacity: .5;
}
.homepage-slideshow .homepage-flex-direction-nav a:hover,
.homepage-slideshow .flickity-prev-next-button:hover {
    opacity: 1;
}
.homepage-flex-prev,
.homepage-slideshow .flickity-prev-next-button.previous { left: 0; }
.homepage-flex-next,
.homepage-slideshow .flickity-prev-next-button.next { right: 0; }
.flickity-page-dots{
    bottom: 47px;
    text-align: right;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}
@media (min-width: 768px) {
  .flickity-page-dots {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .flickity-page-dots {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .flickity-page-dots {
    width: 1170px;
  }
}
.flickity-page-dots .dot{
    width: 21px;
    height: 21px;
    margin: 0 5px;
    background: #fff;
    opacity: .6;
}
@media (max-width: 991px) {
    .homepage-slideshow .slide-description{
        left: 15px;
    }
    .homepage-slideshow .slide-description .intro{
        font-size: 23px;
    }
}
@media (max-width: 480px) {
    .homepage-slideshow.e2slideshow,
    .homepage-slideshow .container{
        height: 160px;
    }
    .homepage-slideshow .slide-description{
        display: none;
    }
}

body > .container {
    padding-top: 17px;
    padding-bottom: 20px;
}
body.home > .container {
    padding-top: 40px;
}
@media (max-width: 991px) {
    body > .container {
        padding-top: 40px;
    }
    .main {
        margin-bottom: 40px;
    }
}


#system-message .close,
#system-message .alert-heading {
    display: none;
}
#system-message .alert {
    margin-bottom: 10px;
    padding: 5px 10px;
    border-top: solid 1px #d6e9c6;
    border-bottom: solid 1px #d6e9c6;
    color: #3c763d;
    background-color: #dff0d8;
}
#system-message .alert-notice {
    color: #31708f;
    border-color: #bce8f1;
    background-color: #d9edf7;
}
#system-message .alert-warning {
    color: #8a6d3b;
    border-color: #faebcc;
    background-color: #fcf8e3;
}
#system-message .alert-error {
    color: #a94442;
    border-color: #ebccd1;
    background-color: #f2dede;
}
#system-message p {
    margin: 0;
}
#system-message p + p {
    margin-top: 5px;
}


.breadcrumbs {
    color: #004f87;
    margin-bottom: 40px;
}
.breadcrumbs ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.breadcrumbs li {
    float: left;
}
.breadcrumbs span {
    color: #004f87;
    padding: 5px 0;
    display: inline-block;
}
.breadcrumbs li:first-child{
    display: none;
}
.breadcrumbs li:nth-child(2) a{
    background: #ebebeb;
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 4px;
}
.breadcrumbs .divider {
    padding: 0 8px;
}
.breadcrumbs .active span {
    color: #004f87;
}
/* E2 articles */
.cta.moduletable {
    padding: 10px;
    background-color: #ccc;
}
.cta.moduletable :first-child {
    margin-top: 0;
}
.cta.moduletable :last-child {
    margin-bottom: 0;
}
ul.e2articles{
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}
ul.e2articles li{
    margin-bottom: 50px;
    position: relative;
}
ul.e2articles.show_readmore li .inner{
    position: relative;
    padding-bottom: 30px;
    font-size: 16px;
}
ul.e2articles li p{
    margin-bottom: 25px;
}
ul.e2articles li .mod-articles-category-readmore{
    position: absolute;
    bottom: 0;
    left: 0; 
    margin: 0;  
}
.moduletable.news ul.e2articles li .mod-articles-category-readmore{
    position: static;
}

.moduletable.sub-items{
    padding-top: 70px;
    margin-top: 30px;
    border-top: solid 1px #ccc;
}
.moduletable.sub-items .item-image{
    margin: 0 !important;
}
.moduletable.sub-items .item-image img{
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
}
body.home ul.e2articles.show_readmore li .inner{
    overflow: hidden;
}
body.home .moduletable.sub-items .item-image{
    position: relative;
    width: calc( 100% + 26% );
}

body.home .moduletable.sub-items .item-image img{
    margin: 0 -13%;
max-width: none;
}
.moduletable.news .item-image{
    float: right;
    margin-left: 70px;
}
.moduletable.news .item-image img{
    border: solid 5px #fff;
}
.mod-articles-category-date{
    width: 70px;
    padding: 5px 0 10px;
    text-align: center;
    font-size: 18px;
    background: #fff;
    border: solid 1px #004f87;
    display: block;
    color: #004f87;
    float: left;
    margin: 0 30px 15px 0;
    text-transform: uppercase;
}
.mod-articles-category-date span{
    display: block;
    line-height: 1;
}
.mod-articles-category-date .date{
    font-size: 40px;
}
.articles-introtext{
    clear: left;
}
.moduletable.featured_sponsors h2{
    border-bottom: solid 1px #ccc;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}
.moduletable.featured_sponsors.sponsors_page h2{
    text-align: left;
}
#prefooter3 .moduletable.featured_sponsors ul.e2articles{
    margin: 0 140px;
}
.moduletable.featured_sponsors ul.e2articles li{
    margin-bottom: 40px;
}
.moduletable.featured_sponsors .readall{
    text-align: center;
    margin-bottom: 20px;
}
.moduletable.featured_sponsors .item-image{
    text-align: center;
}
.moduletable.right-items .item-image img{
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
}
@media (max-width: 991px) {
    .moduletable.news .item-image{
        float: none;
        margin-left: 0;
    }
}
@media (max-width: 767px) {
    #prefooter3 .moduletable.featured_sponsors ul.e2articles{
        margin: 0;
    }
}
@media (max-width: 480px) {
    .moduletable.news .item-image,
    .moduletable.news .articles-introtext{
        display: none;
    }
    .mod-articles-category-date{
        margin: 0 20px 10px 0;
    }
    .moduletable.news h3{
        margin-bottom: 30px;
    }
    
}

/* Custom */
.custom.to_login .btn{
    width: 100%;
    line-height: 38px;
    font-size: 16px;
    padding: 0;
}
.custom.to_login p{
    margin-bottom: 25px;
}
.custom.to_directory{
    background: #e9f3fa; 
    padding: 15px 29px 0;
    border-top: solid 1px #017ac3;
    border-bottom: solid 1px #017ac3;
    font-size: 15px;
}
/* Article */
.item-page p:first-child {
    /*font-size: 1.3rem;*/
}
.item-page .item-image{
    float: left;
    margin: 0 30px 25px 0;
}
.article-info{
    margin-top: 0;
}
.article-info dt{
    display: none;
}
.article-info dd{
    margin-left: 0;
}
.item-text .page-header{
    min-height: 100px;
}
@media (max-width: 991px) {
    .item-page .item-image{
        float: none;
        margin: 0 0px 25px 0;
        display: none;
    }
}

.pagination {
    margin-top: 40px;
}
.pagination:before,
.pagination:after {
  content: " ";
  display: table;
}
.pagination:after {
  clear: both;
}
.pagination p,
.pagination ul {
    margin: 0;
    padding: 0;
}
.pagination li {
    float: left;
    margin: 0;
    list-style: none;
}
.pagination .pagination-prev,
.pagination .pagination-start {
}
.pagination .pagination-next,
.pagination .pagination-end {
}
.pagination .pagination-prev {
}
.pagination .pagination-next {
}
.pagination li a,
.pagination li span{
    padding: 7px 13px;
    border-top: solid 1px #efefef;
    border-bottom: solid 1px #efefef;
    border-left: solid 1px #efefef;
    text-decoration: none;
}
.pagination li:last-child a,
.pagination li:last-child span{
    border-right: solid 1px #efefef;
}
.pagination .pagination-start a:before,
.pagination .pagination-start span:before {
    content: "<< ";
}
.pagination .pagination-prev a:before,
.pagination .pagination-prev span:before {
    content: "< ";
}
.pagination .pagination-next a:after,
.pagination .pagination-next span:after {
    content: " >";
}
.pagination .pagination-end a:after,
.pagination .pagination-end span:after {
    content: " >>";
}

/* Blog */
.blog .item-image{
    margin-bottom: 30px;
}
.blog .item-image img{
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
}
.blog-heading{
    margin: 0 0 10px;
    display: table;
}
.blog-heading h2{
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    height: 70px;
}

/* Moset tree */
.pages-links, .filterbox, .sort-by{
    display: none;
}
.filter_box{
    background: #ebebeb;
    padding: 10px 15px 10px 20px;
}
.filter_box.advanced_search{
    background: #f4f4f4;
    border-top: solid 1px #ccc;
}
.filter_box.advanced_search form .control-group:first-child,
.filter_box.advanced_search form .control-group:nth-child(2),
.filter_box.advanced_search form .control-group:nth-child(3),
.filter_box.basic_search form .control-group:nth-child(3){
    display: none;
}
.filter_box .filter_cat{
    float: left;
}
.filter_box label{
    line-height: 32px;
    width: 70px;
    display: inline-block;
}
.filter_box.advanced_search label{
    margin-right: 1px;
}
.filter_box.advanced_search .form-horizontal .controls {
    margin-left: 75px;
}
.filter_box select{
    height: 32px;
    width: 300px;
    margin-right: 3px;
}
.alpha-index{
    text-align: right;
    margin-bottom: 10px;
}
.alpha-index a.alpha:link, .alpha-index a.alpha:visited{
    padding: 0 5px;
    line-height: 28px;
    font-size: 16px;
    background: transparent;
    border-top: none;
    border-bottom: none;
    border-left: solid 1px #999;
    color: #000;
}
.alpha-index a:first-child{
    border-left: none !important;
}
.basic_search .control-group,
.advanced_search .control-group{
    float: left;
    clear: none;
    margin-bottom: 0;
    
}
.basic_search .control-group:first-child{
    width: 80%;
    margin-right: 3px;
}
@media (max-width: 1199px) {
    .basic_search .control-group:first-child{
        width: 75%;
    }
}
.basic_search .control-group a{
    line-height: 32px;
}
.basic_search input{
    width: 100% !important;
}
#mtForm #field_30,
#mtForm #field_31{
    /*display: none;*/
}
#listings{
    margin-top: 40px;
}
ul.mt_listings {
    padding: 0;
    list-style: none;
}
.listing-summary{
    background: none;
    border-radius: 0;
    border: solid 1px #004f87;
    padding: 10px 30px;
    float: none;
}
.listing-summary .header{
    border: none;
    margin-bottom: 0;
}
.other_info_container{
    margin-top: 10px;
    margin-bottom: 15px;
}
.other_info{
    font-size: 16px;
    margin-bottom: 15px;
}
.other_info .header{
    font-weight: bold;
    color: #004f87;
}
.listing-summary img.image-left{
    margin: 0 0 15px;
    padding: 0;
    background: none;
    border: none;
}
.listing-summary p{
    padding: 0;
    margin-bottom: 30px;
}
.listing-summary .thumbnails{
    padding: 0;
    margin: 0;
}
@media (max-width: 991px) {
    .listing-summary{
        height: auto !important;
    }
    .filter_box .filter_cat{
        float: none;
        margin-bottom: 10px;
    }
    .filter_box .alpha-index{
        float: none;
        text-align: left !important;
    }
    .alpha-index a.alpha:link, .alpha-index a.alpha:visited{
        padding: 5px 10px;
        line-height: 23px !important;
        display: inline-block;
        overflow-wrap: break-word;
        word-wrap: break-word;
        border: none;
        margin: 5px;
    }
    .filter_box select,
    .basic_search .control-group:first-child{
        width: 100%;
    }
    .basic_search .control-group,
    .advanced_search .control-group{
        float: none;
        margin-bottom: 5px;
    }
}


.e2phocagallery_image ul {
    padding: 0;
    list-style: none;
}
.e2phocagallery_image a {
    display: block;
}


.filter-buttons .active {
    color: #fff;
    background-color: #555;
}


label[for] {
    cursor: pointer;
}
fieldset{
    border: none;
    padding: 0;
    margin: 0;
}
input,
select,
textarea,
.ccms_form_element input,
.ccms_form_element select,
.ccms_form_element textarea {
    padding: 4px;
    border: solid 1px #ccc;
    -webkit-transition: border-color .2s ease-in-out, -webkit-box-shadow .2s ease-in-out, box-shadow .2s ease-in-out;
       -moz-transition: border-color .2s ease-in-out, -moz-box-shadow .2s ease-in-out, box-shadow .2s ease-in-out;
         -o-transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out;
            transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out;
}
input:focus,
select:focus,
textarea:focus,
.ccms_form_element input:focus,
.ccms_form_element select:focus,
.ccms_form_element textarea:focus {
    border-color: #222;
    box-shadow: 0 0 3px rgba(0,0,0,.5);
}
textarea,
.ccms_form_element textarea {
    /*height: 200px;*/
}
.ccms_form_element {
    margin: 0;
    padding: 0;
}
.ccms_form_element + .ccms_form_element {
    margin-top: 5px;
}
.ccms_form_element.cfdiv_checkbox {
    margin-top: 10px;
    margin-bottom: 10px;
}
.ccms_form_element.cfdiv_submit {
    margin-top: 20px;
    margin-left: 150px;
}
.ccms_form_element label,
.ccms_form_element input,
.ccms_form_element select,
.ccms_form_element textarea,
.ccms_form_element input[type="file"] {
    margin: 0;
}
.ccms_form_element input[type="checkbox"],
.ccms_form_element input[type="radio"] {
    margin: 0 5px 0 0;
}
#mtForm input[type="text"],
#mtForm input[type="email"],
#mtForm input[type="tel"],
#mtForm input[type="url"],
#mtForm select,
#mtForm textarea,
.ccms_form_element input[type="text"],
.ccms_form_element input[type="email"],
.ccms_form_element input[type="file"],
.ccms_form_element select,
.ccms_form_element textarea {
    width: 300px !important;
}
.ccms_form_element label {
    padding: 5px 10px 5px 0;
}
.ccms_form_element.cfdiv_checkboxgroup div label,
.ccms_form_element .full_label {
    padding: 0;
}
.ccms_form_element.cfdiv_checkboxgroup > div {
    padding-top: 5px;
}
.g-recaptcha {
    margin: 20px 0 0 150px;
}
form.Chronoform{
    margin-bottom: 30px;
}
form#chronoform_newsletter.Chronoform{
    margin-bottom: 0;
}
#chronoform_newsletter.done #preemail1_container_div,
#chronoform_newsletter.done .btn,
#chronoform_newsletter.done #empty_container_div{
    display: none;
}
#chronoform_newsletter{
    position: relative;
}
#chronoform_newsletter h2{
    float: left;
    margin: 0;
    line-height: 40px;
    color: #fff;
    font-style: italic;
    font-weight: normal;
}
#chronoform_newsletter #preemail1_container_div{
    float: right;
    clear: none;
    font-style: italic;
    margin-right: 113px;
}
#chronoform_newsletter #mailchimp_result{
    float: right;
    clear: none;
    font-style: italic;
    line-height: 40px;
    color: #eee;
    font-size: 18px;
}
#chronoform_newsletter input[type="text"]{
    color: #ccc;
    width: 431px !important;
    line-height: 40px;
    height: 40px;
    border-top: solid 1px #ccc !important;
    border-left: solid 1px #ccc !important;
    border-bottom: solid 1px #ccc !important;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}
#chronoform_newsletter .btn{
    width: 113px;
    position: absolute;
    right: 0px;
    top: 0px;
    line-height: 38px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: solid 1px #ccc !important;
    border-right: solid 1px #ccc !important;
    border-bottom: solid 1px #ccc !important;
    border-radius: 0 4px 4px 0;
}
#chronoform_newsletter input.btn{
    display: none;
}
#chronoform_newsletter #subscribe_container_div{
    position: static;
    margin: 0;
}
#chronoform_newsletter #empty_container_div{
    margin: 0;
}
.col-2-postcon .moduletable.become-a-member{
    float: left;
    width: 50%;
}
.col-2-postcon .moduletable.affiliates{
    float: left;
    width: 50%;
}
#chronoform_newsletter_popup{
    display: none;
    padding: 20px;
}
#mailchimp_message{
    display: none;
}
.chronoform {
    display: none;
}
@media (max-width: 1199px) {
    #chronoform_newsletter input[type="text"]{
        width: 280px;
    }
}
@media (max-width: 991px) {
    #chronoform_newsletter h2{
        float: none;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    #chronoform_newsletter #preemail1_container_div,
    #chronoform_newsletter #mailchimp_result{
        float: none;
    }
    #chronoform_newsletter input[type="text"]{
        width: 100%;
    }
    #chronoform_newsletter .btn{
        bottom: 0;
        top: auto;
    }
    .col-2-postcon .moduletable.become-a-member,
    .col-2-postcon .moduletable.affiliates{
        float: none;
        width: 100%;
    }
    
}
@media (max-width: 767px) {
    .ccms_form_element label {
        float: none;
        display: block;
        width: auto;
    }
    #mtForm input[type="text"],
    #mtForm input[type="email"],
    #mtForm input[type="tel"],
    #mtForm input[type="url"],
    #mtForm select,
    #mtForm textarea,
    .ccms_form_element input[type="text"],
    .ccms_form_element input[type="email"],
    .ccms_form_element select,
    .ccms_form_element textarea {
        width: 100% !important;
    }
    .label_right {
        margin-left: 0 !important;
    }
    .full_label {
        width: 100% !important;
    }
    .g-recaptcha {
        margin-left: 0;
    }
    .ccms_form_element.cfdiv_submit {
        margin-left: 0;
    }
}
/* Login and loggedin elements */
#login-form label,
.login .control-label{
    width: 120px;
    float: left;
}
#login-form ul,
.nav-tabs{
    list-style: none;
    padding-left: 0;
}
.control-group{
    clear: both;
    margin-bottom: 15px;
}
legend{
    font-weight: bold;
    font-size: 18px;
}
.profile dt, .profile dd{
    float: left;
    margin-left: 0;
}
.profile dt{
    clear: left;
    width: 180px;
}
.dl-horizontal:before,
.dl-horizontal:after{
  content: " ";
  display: table;
}
.dl-horizontal:after{
  clear: both;
}
.profile .btn-toolbar {
    padding: 0;
    list-style: none;
    margin-top: 0;
}
.control-group .btn{
    margin-right: 3px;
}
.btn.dropdown-toggle,
.dropdown-menu{
    display: none;
}
#listings .btn-group.pull-right{
    float: none !important;
}
#listings .dropdown-menu{
    list-style: none;
    padding: 0;
    margin-top: 0;
    display: block;
}
#listings .dropdown-menu li{
    display: inline-block;
    margin-right: 15px;
}
#editor-xtd-buttons{
    display: none;
}
@media (max-width: 480px) {
    .login .controls input[type=text],
    .login .controls input[type=password]{
        width: 100%;
    }
}

/* xmap */
.xmapexcl{
    display: none;
}


.sidebar-right{
    margin-top: 50px;
}
body.members .sidebar-right{
    margin-top: 0;
}

#prefooter1{
    background: #f1f1f1;
    padding: 50px 0;
}
#prefooter2{
    background: #017ac3;
    padding: 36px 0;
}
#prefooter3{
    padding: 50px 0;
}
footer {
    padding: 20px 0 40px;
    color: #fff;
    background-color: #004f87;
}
footer a,
footer a:hover,
footer a:focus {
    color: #fff;
    text-decoration: none;
}
footer #copyright{
    font-size: 13px;
    float: left;
}
footer .custom{
    float: right;
}
footer p{
    margin: 0;
}
@media (max-width: 480px) {
    footer #copyright{
        margin-bottom: 15px;
    }
    footer #copyright, footer .custom{
        float: none;
        text-align: center;
    }
}

.ir{ font: ~"0/0" a; color: transparent !important; text-shadow: none; background-color: transparent; border: 0;overflow: hidden; *text-indent: -9999px;}
.ir:before {content: "";display: block;width: 0;height: 100%;}


@media print {
    header, footer, .navigation, .banner, #prefooter2, .moduletable.breadcrumbs, .filter_box, .btn-group .dropdown-menu{
        display: none;
    }
    a[href]:after {
        content: "";
      }
    ul.e2articles.show_readmore li .inner{
        height: auto;
    }
    .moduletable.sub-items{
        border-top: none;
        padding-top: 0;
    }
    #prefooter1{
        padding: 0;
    }
    .sidebar-right{
        margin-top: 0;
    }
}
/*input[name="email"],
#preemail1_container_div:before,
input[name="email"]:before{
    font-family: fontAwesome;
    content: '\f002 email';
}
#preemail1_container_div:before input:focus{

}
*/
/*input[name="email"]{
    background: url(../img/logo-m.png) no-repeat;
}
input[name="email"]:focus{
    background-image: none;
}*/
