﻿.membr [type="password"],.membr [type="number"], .membr select {
  border: 1px solid #999;
  border-radius: 4px;
  padding: 0.25rem;
}

.membr [type="password"], .membr select{
  display: block;
  width: 100%;
}

.membr [type="password"].i_short, .membr select.i_short {
  width: 9rem;
}

.membr [type="password"], .membr select{
display: inline-block;
}

.pending
{
    border: solid !important;
    border-color: red !important;
    border-width: 1px !important;
}

@media screen and (min-width: 701px) {
.membr [type="password"], .membr select{
    width: 60%;
  }
  .membr [type="password"], .membr select {
    width: 60%;
  }
}




div#ControlBar_ControlPanel div#ControlBar div.ControlContainer ul
{
	box-sizing:content-box
}

div#ControlBar_ControlPanel div#ControlBar
{
    height:auto;
}

main section.site-main_subpgs
{
    overflow: hidden;
}

@media screen and (max-width: 767px) 
{
    .srch__memdir--results tbody tr th {
    position: absolute;
    top: -9999em;
    left: -9999em;
  }
}

.site-nav_loggedin
{
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}


/* search */
a.SearchButton
{
    display:none;
}

.searchInputContainer input
{
    font-style: italic;
    padding: 0.125rem 0.5rem;
}

.searchSkinObjectPreview
{
    text-align: left;
}

.site-mh_srch a.dnnSearchBoxClearText.dnnShow
{
    z-index:300;
    margin:-22px -4px 7px 0px
}

.dnnSearchBoxPanel .dnnSearchBox a.dnnSearchButton
{
    margin-right: -30px !important;
}

.dnnSearchBoxPanel .dnnSearchResultAdvancedTip
{
    font-size: 80%;
}



/********* RSS Feed and other main articles **********/

.hp-feat_sect
{
    height: 130px;
    overflow: hidden !important;
}



.hp-feat_sect img
{
    /*max-width: 190px !important;
    min-width: 50% !important;
    max-height: 100% !important;*/
    margin: inherit !important;
}


.RSSLoader_Box table
{
    width: 100% !important;
}

.RSSLoader_Box table td
{
    padding: 0 0 1rem 0;
}

.hp-feat_sect div.leadin p a span
{   
    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    height: 90px; /* Fallback for non-webkit */
    margin: 0 auto;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.hp-feat_sect h2
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (min-width: 901px) and (max-width: 1055px) 
{
    .hp-feat_sect
    {
        height: 110px;
        overflow: hidden !important;
    }
    .hp-feat_sect img
    {
        max-width: 110px !important;
        min-width: 40% !important;
        max-height: 100px !important;
    }
    .hp-feat_sect div.leadin
    {
        width: 49%;
        max-width: 49%;
        display:inline-block;
    }
    
    .hp-feat_sect div.leadin p a span
    { 
        font-size: 90%;
        height: 80px;
    }
}

@media screen and (min-width: 1px) and (max-width: 900px) 
{
    .hp-feat_sect
    {
        height: 280px;
        overflow: hidden !important;
    }
    .hp-feat_sect img
    {
        max-width: 190px !important;
        min-width: 50% !important;
        max-height: 130px !important;
    }
    .hp-feat_sect div.leadin
    {
        width: 49%;
        max-width: 49%;
        display:inline-block;
    }
    .hp-feat_sect div.leadin
    {
        width: 90%;
        max-width: 90%;
        padding-left: 0px;
        margin-top: 10px;
        display:inline-block;
    }
    .RSSLoader_Box table, .RSSLoader_Box table tr td
    {
        width: 100% !important;
    }
}








@media screen and (min-width: 1px) and (max-width: 320px) 
{
    ul.searchSkinObjectPreview {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        margin: 0;
        list-style: none;
        border: 1px solid #c9c9c9;
        width: 100%;
        z-index: 200;
        padding: 0;
    }
}

@media screen and (min-width: 321px) and (max-width: 767px) 
{
    ul.searchSkinObjectPreview {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        margin: 0;
        list-style: none;
        border: 1px solid #c9c9c9;
        width: 100%;
        z-index: 200;
        padding: 0;
    }
}

.site-main_subpgs
{
    margin-left: -5px;
}
    
.site-foot
{
    padding-left: 5px !important;
}

@media screen and (min-width: 701px) 
{
    
    #dnn_contentpane p, li
    {
        max-width: 9999999px;
    }
}


.error_message
{
    font-size: 90%;
    font-style:italic;
    color: Red;
}

.hp__slider ul
{
    list-style: inherit;
    padding-left: 0;
}

.dnnFormSectionHead
{
    clear:both;
}

.dnnFormItem .dnnLeft, .dnnFormItem .dnnLeft .urlControl
{
    width: 100%;
}

.disabled-look
{
    background-color: #F0F0F0;
    color: #666666;
}


.hp-feat_sect img.singleNewsImageCss
{
    display:none;
}




/* * * * * * * * * * * DNN SEARCH * * * * * * * * * * */
@media screen and (min-width: 1px) and (max-width: 500px)
{
    .dnnSearchBoxPanel
    {
        display:none;
    }
}

.dnnSearchResultContainer .dnnSearchResultItem .dnnSearchResultItem-Link
{
    width: 95%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
}

.dnnSearchResultPanel
{
    background-color: inherit !important;
}

.dnnSearchResultContainer
{
    font-size: 80% !important;
}



/* * * * * * * * * * * SEARCH RESULT GRID * * * * * * * * * * */
@media screen and (min-width: 1px) and (max-width: 600px) 
{
    .unit__list .unit__list__display {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0.25rem;
        vertical-align: middle;
        width: 99%;
    }

    .unit__list .unit__list__edit {
        display: block;
        margin: 0;
        padding: 0px 0.125rem;
        vertical-align: middle;
        width: 99%;
    }
}

@media screen and (max-width: 320px) 
{
    .wmPager table
    {
        width:100% !important;
        
    }
    .srch__memdir--results .wmPager tr, .srch__memdir--results .wmPager td
    {
        display:inline-block;
        border: 0 none;
        box-shadow: 0 0 0 0;        
        padding: 0 0 0 0;
    }
    .srch__memdir--results .wmPager table tr, .srch__memdir--results .wmPager table tr td
    {   
        padding: 0 4px 0 4px;
    }
    .srch__memdir--results .wmPager td {
        overflow: hidden;
        white-space: normal;
        display:inline-block;
        width: auto;
    }
}
@media screen and (min-width: 767px) 
{
    .srch__memdir--results .wmPager td,.srch__memdir--results .wmPager th 
    {
        width: auto;
        min-width:30px;
    }
}

.search_result_ul
{
    font-size: 0.8rem;
    list-style:none;
    padding:0 0 0 0;
}

.search_result_ul li
{
    font-size: 0.8rem;
}

.wordwrap {
    word-break: break-all;
}

@media screen and (max-width: 767px) and (min-width: 321px) 
{
    .search_result_ul
    {
        margin-top: -17px;
    }
}