.container{max-width:1440px}
.dir-filter{background-color:#E0E0E0;padding:10px}
.dir-filter p:first-child{margin-top:0}
.dir-filter p.flex{gap:10px;justify-content:space-between}
.dir-filter .paging-links{display:flex;gap:7px}
.dir-filter .paging-links a{padding:3px 5px;line-height:1;background-color:#000;color:#fff}
.dir-filter .paging-links a:hover{background-color:#3D3D3D}
.dir-filter p:not(.flex) a,.flm a{text-decoration:underline;text-decoration-color:#898989}
.dir-filter p:not(.flex) a:hover,.flm a:hover{text-decoration:none}
.dir-listing .grid{gap:20px;padding-top:20px}
.flm strong:last-child{display:block;margin-top:1em}
.dir-listing > h1{border-top:1px solid #E0E0E0;border-bottom:1px solid #E0E0E0;padding:10px 0}
#bc + .dir-listing > h1{border-top:none;padding-top:0}
.company{padding-bottom:20px;border-bottom:1px solid #E0E0E0;display:grid;gap:10px}
.company > div:empty{display:none}
.company .pinkttlBG,.company .greyttlBG{display:flex;gap:10px;align-items:flex-end;justify-content:space-between}
.company .profile_icons svg{display:block}
.company span.vip{color:#C51100}
.company h2{margin:0}
.boxform{margin-bottom:20px}
.boxform form{margin-top:1em}
.boxform .flex{gap:7px;margin-bottom:1em}
.boxform .btn{display:block;margin-left:auto}
.rightcol{gap:20px}
/*.tab-content div[data-tab]{padding:10px}*/

main .adverts{margin-top:20px;margin-bottom:20px}
main ins{max-width:100%}
.flm + div p:last-child{display:flex;flex-wrap:wrap;gap:10px}
.company-profile{gap:20px;margin-bottom:20px}
.company-profile h1{margin-bottom:1rem}
.company-profile .company-contacts h2,.company-regs h2{margin:0 0 1rem}
.company-profile .company-contacts address{font-style:normal}
.company-profile .profile-info li:has(> :nth-child(2)){display:flex;gap:7px}
.company-profile .sm svg, .company h2 svg, .company .profile_icons svg{width: 16px;}
.pics{margin-bottom:20px}
.pics:has(> :nth-child(2)){display:flex;gap:7px;flex-wrap:wrap;justify-content:center}
.directory-list_content{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px;margin-bottom:20px}
.directory-list_content ul{display:grid;gap:7px;margin-top:7px}
.edit-profile fieldset{border: none;padding: 0;display: flex; flex-wrap: wrap;gap:20px;margin: 0;}
.edit-profile legend{flex: 0 0 100%;margin-bottom: 10px;}
.edit-profile fieldset label{display: flex; gap:7px;align-items: center;flex: 1 1 auto;}
.edit-profile fieldset input[type="text"]{flex: 1 1 auto;}
.edit-profile fieldset.contacts, .edit-profile fieldset.sm {margin-top: 10px;}
.edit-profile fieldset.contacts strong,.edit-profile fieldset.sm strong{flex:0 0 75px}
.edit-profile sup{color:red}
.edit-profile fieldset.keywords{gap:20px 10px}
.edit-profile fieldset.keywords label{flex:unset}
@media only screen and (max-width: 480px) {
.boxform .flex{flex-direction:column}
}
@media only screen and (min-width: 481px) {
.company .description > a{float:right;display:block;margin-left:1em}
.boxform .flex{align-items:center;justify-content:space-between}
.boxform label{flex:0 0 120px}
.boxform select,.boxform input{width:calc(100% - 130px)}
}
@media only screen and (max-width: 767px) {
.rightcol{flex-direction:column}
}
@media only screen and (min-width: 768px) {
.company-profile .company-details .flex-m{flex-direction:row-reverse;gap:10px}
.company-profile .company-details .flex-m > a{flex:0 0 auto}
.company-profile .company-details .description{margin-top:0}
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
.rightcol{flex-wrap:wrap}
.rightcol > *,.rightcol .news-block{flex:1 1 48%}
}
@media only screen and (max-width: 1023px) {
.boxform{max-width:420px;margin-left:auto;margin-right:auto}
}
@media only screen and (min-width: 1024px) {

}
