*{
margin: 0;
padding: 0;
border: 0;
}
html {
overflow-y: scroll;
}
body {
overflow-x: hidden;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
display: block;
}
@font-face {
font-family: pt-serif;
src: url(//abrk.kz/wp-content/themes/abrk11/font/pt-serif.ttf);
}
#wrap {
margin: 0 auto;
width: 100%;
max-width: 2000px;
min-width: 300px;
overflow-x: hidden;
background: white;
}
img {
padding: 0;
margin: 0;
border: 0;
max-width: 100%;
height: auto;
}
p {
margin: 0 0 1em 0;
color: #333;
font: 16px pt-serif;
line-height: 1.4;
}
#header {
width: 100%;
}
header {
margin: 0 auto;
width: 100%;
max-width: 1200px;
height: 130px;
position: relative;
}
#logo {
position: absolute;
left: 262px;
top: 5px;
}
#phone {
position: absolute;
left: 1px;
top: 40px;
padding: 0 0 0 40px;
background: url(//abrk.kz/wp-content/themes/abrk11/img/phone3.png) no-repeat;
background-size: 35px auto;
background-position: 0 3px;
}
#phone a {
font: bold 15px pt-serif;
color: #333;
text-decoration: none;
display: block;
}
.code {
color: #183883;
}
#search {
position: absolute;
right: 1px;
top: 45px;
}
#search input {
width: 100%;
max-width: 120px;
border: 1px solid #0A6591;
border-radius: 3px;
background: #fff;
padding: 5px;
font: 12px pt-serif;
}
#searchsubmit {
background: #183884;
color: #fff;
padding: 5px 8px 5px 8px;
border-radius: 3px;
cursor: pointer;
font: 12px pt-serif;
}
#topbanner {
margin: 0 auto;
width: 100%;
max-width: 1200px;
padding: 20px 0 20px 0;
text-align: center;
}
.center {
margin: 0 auto;
width: 100%;
max-width: 1200px;
}
section {
margin: 0 auto;
width: 100%;
max-width: 1200px;
}
#home {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 100px auto 200px;
}
#home h1 {
margin: 0 0 20px 0;
font: 25px/25px pt-serif;
color: #000;
border-bottom: 2px solid #000;
}
#allnews {
display: grid;
grid-gap: 20px 2%;
grid-template-columns: 49% 49%;
}
.homecolumn {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 150px auto;
}
.flex {
display: flex;
align-items: center;
}
.flex h2 a {
margin: 0 0 10px 0;
font: 20px pt-serif;
text-decoration: none;
color: #183884;
}
#lastnews h2 {
margin: 5px 0 20px 0;
font: 20px/20px pt-serif;
color: #000;
border-bottom: 2px solid #000;
}
.last {
margin: 0 0 20px 0;
padding: 0 0 20px 0;
border-bottom: 1px solid #f5f5f5;	
}
.last a {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 50px auto;
text-decoration: none;
color: #333;	
}
.last time {
font: 12px pt-serif;
color: #333;
}
.last time div {
font: 35px/35px pt-serif;	
}
.last p {
font: 15px pt-serif;
color: #333;	
}
#index {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 100px auto 300px;
margin: 20px 0 0 0;
}
#index h1 {
margin: 0 0 20px 0;
font: 25px ptsans;
color: #24292e;
}
#index h2 {
margin: 20px 0 20px 0;
font: 23px ptsans;
color: #24292e;
}
#index h3 {
margin: 20px 0 20px 0;
font: 20px ptsans;
color: #24292e;
}
#rightmenu {
background: #f9f9f9;
border-top: 2px solid #ccc;
border-bottom: 2px solid #ccc;
padding: 15px 0 15px 0;	
}
#rightmenu ul li {
margin: 0 0 10px 0;
list-style: none;	
}
#rightmenu ul li a {
font: 16px helvetica;
color: #005aaa;
text-decoration: none;
}
.wp-pagenavi {
clear: both;
margin: 40px 0 0 0;
text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
text-decoration: none;
padding: 2px 5px;
margin: 2px;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
border-color: #000;
}
.wp-pagenavi span.current {
font-weight: bold;
border: 1px solid #183884;
}
#myfooter {
width: 100%;
margin: 50px 0 0 0;
padding: 30px 0 20px 0;
background: #444;
}
footer {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 0 50px 0;
}
footer {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 32% 32% 32%;
}
footer h3 {
font: 20px pt-serif;
color: #fff;
margin: 0 0 20px 0;
}
footer ul li {
list-style: none;
}
footer a {
font: 16px pt-serif;
color: #fff;
text-decoration: none;
}
footer p {
font: 14px pt-serif;
color: #fff;
}
#copy a {
font: 14px pt-serif;
color: #f5f5f5;
text-decoration: none;
}
#copy {
font: 14px pt-serif;
color: #ccc;
text-align: center;
}
#menu {
width: 100%;
background: #F3F3F3;
}
#gallery {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 32% 32% 32%;
text-align: center;
}
table {
border-collapse: collapse;
max-width: 100%;
}
td, tr {
border: 1px solid #333;
padding: 3px;
}
img.alignright {
float: right;
margin: 0 10px 3px 5px;
}
img.alignleft {
float: left;
margin: 0 10px 3px 0;
}
img.aligncenter {
display: block;
margin: 0 auto;
}
.alignright {
float: right;
}
.alignleft {
float: left;
}
.aligncenter {
display: block;
margin: 0 auto;
}
.error {
color: red;
}
.clear {
width: 100%;
height: 1px;
clear: both;
}
.myvideo {
position: relative;
padding: 30px 0 56.25% 0;
height: 0;
overflow: hidden;
border: 1px solid #ccc;
}
.myvideo iframe,.myvideo object,.myvideo embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
article ul, article ol {
margin: 0 0 0 20px;
}
article ul li, article ol li {
margin: 0 0 10px 0;
}
#contact input, #contact textarea {
border: 1px solid #0A6591;
border-radius: 3px;
background: #fff;
padding: 5px;
font: 15px tahoma;
}
#contact input {
width: 100%;
max-width: 250px;
}
textarea {
width: 98%;
max-width: 500px;
min-height: 200px;
}
#contact button {
border-radius: 3px;
background: #FFC617;
color: #fff;
padding: 6px 8px 6px 8px;
cursor: pointer;
font: 15px tahoma;
text-transform: uppercase;
}
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
margin: 0;
padding: 0;
border: 0;
list-style: none;
line-height: 1;
display: block;
position: relative;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
#cssmenu #menu-button {
display: none;
}
#cssmenu {
font-family: pt-serif;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
#cssmenu > ul > li {
float: left;
}
#cssmenu.align-center > ul {
font-size: 0;
text-align: center;
}
#cssmenu.align-center > ul > li {
display: inline-block;
float: none;
}
#cssmenu.align-center ul ul {
text-align: left;
}
#cssmenu.align-right > ul > li {
float: right;
}
#cssmenu > ul > li > a {
padding: 15px 7px 15px 7px;
font-size: 16px;
letter-spacing: 1px;
text-decoration: none;
color: #000;
cursor: pointer;
}
#cssmenu > ul > li > a:hover {
background: #183883;
color: #fff;
}
#cssmenu ul ul {
position: absolute;
left: -9999px;
z-index: 999999999999999;
}
#cssmenu.align-right ul ul {
text-align: right;
}
#cssmenu ul ul li {
height: 0;
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;
}
#cssmenu li:hover > ul {
left: auto;
}
#cssmenu.align-right li:hover > ul {
left: auto;
right: 0;
}
#cssmenu li:hover > ul > li {
height: 35px;
}
#cssmenu ul ul ul {
margin-left: 100%;
top: 0;
}
#cssmenu.align-right ul ul ul {
margin-left: 0;
margin-right: 100%;
}
#cssmenu ul ul li a {
border-bottom: 1px solid rgba(150, 150, 150, 0.15);
padding: 11px 15px;
width: 250px;
font-size: 12px;
text-decoration: none;
color: #dddddd;
font-weight: 400;
background: #333333;
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last-item > a {
border-bottom: 0;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li a:hover {
color: #ffffff;
}
#cssmenu ul ul li.has-sub > a:after {
position: absolute;
top: 16px;
right: 11px;
width: 8px;
height: 2px;
display: block;
background: #dddddd;
content: '';
}
#cssmenu.align-right ul ul li.has-sub > a:after {
right: auto;
left: 11px;
}
#cssmenu ul ul li.has-sub > a:before {
position: absolute;
top: 13px;
right: 14px;
display: block;
width: 2px;
height: 8px;
background: #dddddd;
content: '';
-webkit-transition: all .25s ease;
-moz-transition: all .25s ease;
-ms-transition: all .25s ease;
-o-transition: all .25s ease;
transition: all .25s ease;
}
#cssmenu.align-right ul ul li.has-sub > a:before {
right: auto;
left: 14px;
}
#cssmenu ul ul > li.has-sub:hover > a:before {
top: 17px;
height: 0;
}
#cssmenu.small-screen {
width: 100%;
}
#cssmenu.small-screen ul {
width: 100%;
display: none;
}
#cssmenu.small-screen.align-center > ul {
text-align: left;
}
#cssmenu.small-screen ul li {
width: 100%;
border-top: 1px solid rgba(120, 120, 120, 0.2);
}
#cssmenu.small-screen ul ul li,
#cssmenu.small-screen li:hover > ul > li {
height: auto;
}
#cssmenu.small-screen ul li a,
#cssmenu.small-screen ul ul li a {
width: 100%;
border-bottom: 0;
}
#cssmenu.small-screen > ul > li {
float: none;
}
#cssmenu.small-screen ul ul li a {
padding-left: 25px;
}
#cssmenu.small-screen ul ul ul li a {
padding-left: 35px;
}
#cssmenu.small-screen ul ul li a {
color: #fff;
background: none;
}
#cssmenu.small-screen ul ul li:hover > a,
#cssmenu.small-screen ul ul li.active > a {
color: #ffffff;
}
#cssmenu.small-screen ul ul,
#cssmenu.small-screen ul ul ul,
#cssmenu.small-screen.align-right ul ul {
position: relative;
left: 0;
width: 100%;
margin: 0;
text-align: left;
}
#cssmenu.small-screen > ul > li.has-sub > a:after,
#cssmenu.small-screen > ul > li.has-sub > a:before,
#cssmenu.small-screen ul ul > li.has-sub > a:after,
#cssmenu.small-screen ul ul > li.has-sub > a:before {
display: none;
}
#cssmenu.small-screen #menu-button {
display: block;
padding: 17px;
color: #000;
cursor: pointer;
font-size: 12px;
text-transform: uppercase;
font-weight: 700;
}
#cssmenu.small-screen #menu-button:after {
position: absolute;
top: 22px;
right: 17px;
display: block;
height: 4px;
width: 20px;
border-top: 2px solid #000;
border-bottom: 2px solid #000;
content: '';
}
#cssmenu.small-screen #menu-button:before {
position: absolute;
top: 16px;
right: 17px;
display: block;
height: 2px;
width: 20px;
background: #000;
content: '';
}
#cssmenu.small-screen #menu-button.menu-opened:after {
top: 23px;
border: 0;
height: 2px;
width: 15px;
background: #000;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
#cssmenu.small-screen #menu-button.menu-opened:before {
top: 23px;
background: #000;
width: 15px;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
#cssmenu.small-screen .submenu-button {
position: absolute;
z-index: 99;
right: 0;
top: 0;
display: block;
border-left: 1px solid rgba(120, 120, 120, 0.2);
height: 46px;
width: 46px;
cursor: pointer;
}
#cssmenu.small-screen .submenu-button.submenu-opened {
background: #262626;
}
#cssmenu.small-screen ul ul .submenu-button {
height: 34px;
width: 34px;
}
#cssmenu.small-screen .submenu-button:after {
position: absolute;
top: 22px;
right: 19px;
width: 8px;
height: 2px;
display: block;
background: #fff;
content: '';
}
#cssmenu.small-screen ul ul .submenu-button:after {
top: 15px;
right: 13px;
}
#cssmenu.small-screen .submenu-button.submenu-opened:after {
background: #ffffff;
}
#cssmenu.small-screen .submenu-button:before {
position: absolute;
top: 19px;
right: 22px;
display: block;
width: 2px;
height: 8px;
background: #fff;
content: '';
}
#cssmenu.small-screen ul ul .submenu-button:before {
top: 12px;
right: 16px;
}
#cssmenu.small-screen .submenu-button.submenu-opened:before {
display: none;
}
#cssmenu.small-screen.select-list {
padding: 5px;
}
#slid {
position: relative;
width: 100%;
max-width: 1200px;
margin: 0 auto;
}
.nivoSlider {
position: relative;
width: 100%;
height: auto;
overflow: hidden;
}
.nivoSlider img {
position: absolute;
top: 0px;
left: 0px;
max-width: none;
}
.nivo-main-image {
display: block !important;
position: relative !important; 
width: 100% !important;
}
.nivoSlider a.nivo-imageLink {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
border: 0;
padding: 0;
margin: 0;
z-index: 6;
display: none;
background: white; 
filter: alpha(opacity=0); 
opacity: 0;
}
.nivo-slice {
display: block;
position: absolute;
z-index: 5;
height: 100%;
top: 0;
}
.nivo-box {
display: block;
position: absolute;
z-index: 5;
overflow: hidden;
}
.nivo-box img {
display: block;
}
.nivo-directionNav a {
position: absolute;
top: 45%;
z-index: 9;
cursor: pointer;
}
.nivo-prevNav {
left: 0px;
}
.nivo-nextNav {
right: 0px;
}
.theme-default .nivoSlider {
position: relative;
background: #fff url(//abrk.kz/wp-content/themes/abrk11/img/loading.gif) no-repeat 50% 50%;
}
.theme-default .nivoSlider img {
position: absolute;
top: 0px;
left: 0px;
display: none;
}
.theme-default .nivoSlider a {
border: 0;
display: block;
}
.nivo-controlNav {
text-align: center;
padding: 20px 0;
position: absolute;
left: 45%;
bottom: 10px;
}
.theme-default .nivo-controlNav a {
display: inline-block;
width: 44px;
height: 44px;
background: url(//abrk.kz/wp-content/themes/abrk11/img/dot.png) no-repeat;
text-indent: -9999px;
border: 0;
margin: 0 2px;
cursor: pointer;
}
.theme-default .nivo-controlNav a.active {
background-position: 0 -44px;
}
.theme-default .nivo-directionNav a {
display: block;
width: 40px;
height: 40px;
background: url(//abrk.kz/wp-content/themes/abrk11/img/ar.png) no-repeat;
text-indent: -9999px;
border: 0;
opacity: 0;
-webkit-transition: all 200ms ease-in-out;
-moz-transition: all 200ms ease-in-out;
-o-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
.theme-default:hover .nivo-directionNav a { opacity: 1; }
.theme-default a.nivo-nextNav {
background-position: -40px 0;
right: 15px;
}
.theme-default a.nivo-prevNav {
left: 15px;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled {
width: 100%;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
width: auto;
height: auto;
background: none;
margin-bottom: 5px;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
display: block;
width: 120px;
height: auto;
}
@media only screen and (max-width:1200px){
#logo {
position: absolute;
left: 25%;
width: 50%;
top: 5px;
}
}
@media only screen and (max-width:1000px){
#logo {
position: absolute;
left: 25%;
top: 5px;
width: 50%;
text-align: center;
}
#phone {
position: absolute;
left: 1px;
top: 80px;
padding: 0 0 0 0;
background: transparent;
}
#phone a {
font: bold 14px pt-serif;
color: #333;
text-decoration: none;
display: block;
}
#search {
position: absolute;
right: 1px;
top: 85px;
}
#search input {
width: 100%;
max-width: 80px;
border: 1px solid #0A6591;
border-radius: 3px;
background: #fff;
padding: 5px;
font: 12px pt-serif;
}
#searchsubmit {
background: #183884;
color: #fff;
padding: 5px 8px 5px 8px;
border-radius: 3px;
cursor: pointer;
font: 12px pt-serif;
}
#allnews {
display: grid;
grid-gap: 20px 0;
grid-template-columns: 100%;
}
article {
width: 98%;
padding: 0 1% 0 1%;	
}
}
@media only screen and (max-width:800px){
#home, #index {
display: grid;
grid-gap: 10px 0;
grid-template-columns: 100%;
margin: 20px 0 0 0;
}
footer {
width: 96%;
margin: 0 auto;
display: grid;
grid-gap: 20px 0;
grid-template-columns: 100%;
}
}
@media only screen and (max-width:500px){
#logo {
position: absolute;
left: 5%;
top: 5px;
width: 90%;
text-align: center;
}
}