/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */




/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}

/* buyap.org: правки з чату (раунд 2) */
.html_header_top.html_header_topbar_active.html_header_sticky.html_large #top #main{ padding-top:200px; }
.avia_transform .avia-gallery-thumb img{
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
/* невидимий прапорець у пункті мови зсував текст; пункти меню — симетричний відступ */
#top #header .main_menu .menu>li>a>.avia-menu-text>img{ display:none; }
.html_main_nav_header.html_logo_left #top #header .main_menu .menu>li>a{ padding-left:13px; padding-right:13px; }
.html_main_nav_header.html_logo_left #top #header .main_menu .menu>li#menu-item-search>a{ padding-right:0; }
/* англомовне меню довге: тісніші відступи, щоб не наїжджало на логотип */
@media only screen and (min-width: 990px){ .html_main_nav_header.html_logo_left:lang(en) #top #header .main_menu .menu>li>a{ padding-left:7px; padding-right:7px; } .html_main_nav_header.html_logo_left:lang(en) #top #header .main_menu .menu>li#menu-item-search>a{ padding-right:0; } }
/* підменю 3-го рівня: поруч із підменю 2-го рівня, праворуч від нього, вузьке — з переносом тексту */
@media only screen and (min-width: 768px){
  #top #header .main_menu .menu li ul ul{ left:100%; right:auto; top:-1px; width:260px !important; }
  #top #header .main_menu .menu li ul ul li,
  #top #header .main_menu .menu li ul ul li a{ width:100%; white-space:normal; box-sizing:border-box; }
  /* біля правого краю — розкривати ліворуч */
  #top #header .main_menu .menu > li:nth-last-child(-n+3) ul ul{ left:auto; right:100%; }
}
