/*****************************************Responsive***************************************************/

@media only screen and (min-width: 980px) and (max-width: 1000px) {



}


@media only screen and (min-width: 768px) and (max-width: 979px) {

.pagewidth {
    width: 100%;
    margin: 10px auto;
    text-align: left;
}
#menu UL LI A SPAN {
    display: block;
    padding: 15px 20px;
}

#head {
    background: none repeat scroll 0% 0% #FFF;
    display: block;
    height: 155px;
}
#head H1 {
    float: none;
    padding: 0px;
}

#head H1 A {
    display: block;
    height: 91px;
    background: url('images/logo.png') no-repeat scroll left top transparent;
    overflow: hidden;
    text-indent: -9999px;
    width: 100%;
}
#head .loginbox {
    overflow: hidden;
    background: url('images/head_loginbox.png') no-repeat scroll left top transparent;
    font-size: 11px;
    position: relative;
    width: 350px;
    height: 51px;
    float: left;
    right: 0px;
    top: 0px;
}
#head .searchbox {
    position: relative;
    right: 0px;
    height: 51px;
    font-size: 11px;
    width: 368px;
    top: 7px;
    overflow: hidden;
    float: right;
}

#side {
    float: right;
    width: 100%;
    text-align: center;
}

.foot-avvo{
display:none;
}

}


@media only screen and (min-width: 480px) and (max-width: 767px) {

#head .searchbox {
    position: absolute;
    top: 57px;
    right: -84px;
    width: 350px;
    height: 51px;
    overflow: hidden;
    font-size: 11px;
}
#head H1 {
    padding-left: 115px !important;
}

}





@media only screen and (min-width: 320px) and (max-width: 767px) {


#page .callout {
    width: 100%;
    margin-right: 0px;
}

.pagewidth {
    width: 80%;
    margin: 0px auto;
    text-align: left;
}

#head H1 A {
    display: block;
    width: 266px;
    height: 54px;
    background: url('images/logo-mobile.jpg') no-repeat scroll left top transparent;
    overflow: hidden;
    text-indent: -9999px;
}

#head .loginbox {
    display: none;
}

#head .searchbox {
    width: 95%;
}

#head .searchbox INPUT.flat {
    width: 175px;
}

#head H1 {

    padding-left: 25px;
}

#home UL {

    width: 100%;
}

#menu {
    height: auto;
    overflow: visible;
}

#menu UL {
    overflow: visible;
    height: auto;
	width: 100%;
}


#menu UL LI {
    float: none;
    border-left: 1px solid #FFF;
    border-right: 1px solid #C1C1C1;
	border-bottom: 1px solid #C6C6C6;
}

#menu UL LI A {
    color: #FFF;
}

#menu UL {
    /* background: -moz-linear-gradient(center top , #0B5974, #0B488E) repeat scroll 0% 0% transparent; */
	background: #0B488E;
}

#menu UL LI.current-menu-item A, #menu UL LI A:hover {
    background: none repeat scroll 0% 0% #D0D0D0;
    color: #000;
}

#splash {
    display: none;
}

#home {
    float: left;
    width: 100%;
}

#side {
    float: left;
    width: 100%;
}

#side .sidecontainer {
    margin: 0px 0px 0px;
}

#foot UL LI {
    float: left;
    margin: 0px 30px 5px 0px;
    border-right: 1px solid #3C4E62;
    width: 100%;
}

#page {
    width: 95%;
    margin: 0 auto;
}

.page-id-874 table  {
    display: none;
}

#page.withside {
    float: left;
    width: 95%;
}

.foot-avvo{display:none;}

}


