/*
Theme Name: Shuak DLE
Theme URI: https://236-shuak.alteman.kz/
Author: Alteman migration
Description: Source-like DataLife Engine layout for KMM No.236 orta mektebi.
Version: 1.0.0
Text Domain: shuak-dle
*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

body {
    min-width: 320px;
    color: #444;
    background: #e5e5e5;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.35;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

a {
    color: #007ac2;
    text-decoration: none;
    transition: color .4s, background-color .4s, opacity .4s;
}

a:hover {
    color: #000;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.clearfix::after {
    display: table;
    clear: both;
    content: "";
}

.wrapper {
    width: 100%;
    min-width: 320px;
    position: relative;
}

.wr-center {
    width: 100%;
    min-width: 320px;
    max-width: 1264px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.header {
    height: 210px;
    position: relative;
}

.logotype {
    height: 100px;
    width: 400px;
    display: block;
    position: absolute;
    left: 0;
    top: 50px;
    background: url("assets/images/logo.png") left center no-repeat;
    background-size: contain;
    overflow: hidden;
}

.logo-text {
    padding-top: 20px;
    padding-left: 80px;
    text-align: center;
    text-indent: 0;
    color: #000;
    font: 700 12px Arial, sans-serif;
}

.logo-name {
    padding-left: 80px;
    color: #059;
    text-align: center;
    text-indent: 0;
    font: 700 12px Arial, sans-serif;
}

.map {
    height: 120px;
    width: 230px;
    position: absolute;
    left: 430px;
    top: 40px;
    background: url("assets/images/map.png") left -10px no-repeat;
    background-size: 230px auto;
}

.map i {
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    top: 28px;
    left: 30px;
    border-radius: 50%;
    background: #f0261c;
    box-shadow: 0 0 0 5px rgba(240, 38, 28, .18);
}

.telefon-box {
    position: absolute;
    left: 730px;
    top: 40px;
    width: 200px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.telefon-box span {
    color: #b5b5b5;
    font-size: 12px;
}

.telefon {
    font-size: 18px;
    font-weight: 700;
}

.feedback {
    font-size: 12px;
}

.feedback a {
    display: inline-block;
    border-bottom: 1px dotted #40baff;
}

.slabovid {
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 64px;
    padding: 10px 15px;
    border-radius: 4px;
    color: #fff !important;
    font-size: 18px;
    background: linear-gradient(to top, #0147a6 0%, #1488d1 100%);
    text-shadow: 1px 1px 0 #000;
}

.head-line {
    height: 40px;
    background-color: #f6f6f6;
}

.show-login {
    display: inline-block;
    height: 40px;
    float: left;
    padding: 0 15px;
    color: #fff;
    background: linear-gradient(to top, #0147a6 0%, #1488d1 100%);
    font-size: 14px;
    line-height: 40px;
    text-shadow: 1px 1px 0 #000;
}

.top-menu {
    float: right;
    padding: 10px 15px 0 0;
    line-height: 20px;
}

.top-menu li {
    display: inline-block;
    padding: 0 15px;
    border-left: 1px solid #d4d5d8;
    box-shadow: -1px 0 #f8f9fc;
}

.top-menu a {
    color: #444;
}

.nav,
.footer,
.main-menu {
    color: #fff;
    background: #0147a6;
    background: linear-gradient(to right, #0147a6 0%, #1488d1 100%);
}

.nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 50px;
    padding-right: 50px;
}

.show-menu {
    display: none;
    padding: 0 15px;
    color: #fff;
    font-size: 16px;
    line-height: 50px;
    cursor: pointer;
}

.show-search {
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    top: 0;
    border-left: 1px solid #076dae;
    box-shadow: -1px 0 #2196e0;
    color: #fff;
    font-size: 18px;
    line-height: 50px;
    text-align: center;
}

.main-menu {
    text-align: left;
}

.main-menu > li {
    display: inline-block;
    position: relative;
    margin-right: -4px;
    border-left: 1px solid #0147a6;
    box-shadow: -1px 0 #1488d1;
}

.main-menu > li:first-child {
    border-left: 0;
    box-shadow: none;
}

.main-menu li a {
    display: block;
    padding: 0 15px;
    color: #fff;
    font-size: 14px;
    line-height: 50px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #000;
}

.main-menu li a:hover,
.main-menu > li:hover > a {
    color: #fff;
    background: linear-gradient(to bottom, #0147a6 0%, #1488d1 100%);
    text-decoration: none;
}

.hidden-menu {
    width: 230px;
    display: none;
    position: absolute;
    z-index: 99;
    top: 50px;
    left: 0;
    background-color: #0147a6;
    text-align: left;
}

.main-menu li:hover > .hidden-menu {
    display: block;
}

.hidden-menu li,
.hidden-menu li a {
    display: block;
    color: #fff;
    font-size: 12px;
    line-height: 40px;
}

.hidden-menu li {
    border-bottom: 1px dotted #1488d1;
}

.hidden-menu li a:hover {
    background-color: #1488d1;
}

.search-wrap {
    width: 500px;
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 88;
    padding: 10px;
    background: linear-gradient(to top, #f5f5f5 0%, #fff 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}

.search-wrap.active {
    display: block;
}

.search-box {
    width: 100%;
    position: relative;
}

.search-box input {
    width: 100%;
    height: 40px;
    padding: 0 60px 0 10px;
    border: 0;
    box-shadow: inset 0 0 0 1px #e3e3e3;
    color: #5c5c5c;
    line-height: 40px;
}

.search-box button {
    height: 40px;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 15px;
    border: 0;
    color: #fff;
    background: linear-gradient(to top, #0147a6 0%, #1488d1 100%);
}

.content {
    padding: 0;
}

.main-image {
    height: 300px;
    position: relative;
    background: #444 url("assets/images/city.jpg") center -200px no-repeat;
    box-shadow: inset 0 150px 150px -150px rgba(12, 121, 190, .8);
}

.main-image-title {
    display: inline-block;
    max-width: 500px;
    position: absolute;
    left: 30px;
    top: 30px;
    padding: 15px;
    color: #fff;
    background-color: rgba(0, 0, 0, .2);
    font-size: 30px;
    text-shadow: 1px 1px 0 #000;
}

.main-image-title h1 {
    margin: 0;
    font-size: 20px;
    line-height: normal;
}

.main-image-title a,
.main-title a,
button,
input[type="submit"] {
    display: inline-block;
    padding: 5px 10px;
    border: 0;
    border-radius: 2px;
    color: #fff !important;
    background: linear-gradient(to bottom, #f0261c 0%, #d91309 100%);
    font-size: 14px;
    text-shadow: 1px 1px 0 #000;
}

.main-title a {
    background: linear-gradient(to top, #0147a6 0%, #1488d1 100%);
}

.content-cols {
    padding: 30px 270px 0 30px;
}

.content-col {
    width: 100%;
    float: left;
    padding-right: 30px;
}

.right-col {
    width: 240px;
    float: right;
    margin-right: -240px;
}

.section {
    margin-bottom: 30px;
}

.main-title {
    margin-bottom: 15px;
}

.main-title h2 {
    display: inline-block;
    margin-right: 30px;
    font-size: 18px;
    font-weight: 700;
}

.short5-item {
    min-height: 200px;
    padding-left: 200px;
    padding-bottom: 15px;
}

.short5-img {
    width: 200px;
    height: 200px;
    display: block;
    float: left;
    position: relative;
    margin-left: -200px;
    overflow: hidden;
}

.short5-img img {
    width: 150%;
    max-width: 150%;
    min-height: 100%;
    margin-left: -25%;
    object-fit: cover;
}

.short5-img:hover {
    opacity: .75;
}

.short5-date {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 0;
    color: #5c5c5c;
    background-color: rgba(255, 255, 255, .95);
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
}

.short5-date span:first-child {
    margin-top: -5px;
    color: #f0261c;
    font-size: 30px;
}

.short5-text {
    width: 100%;
    float: right;
    padding: 15px 0 0 30px;
    border-top: 1px solid #e3e3e3;
}

.short5-cat {
    margin-bottom: 5px;
    color: #007ac2;
    font-size: 12px;
    text-transform: uppercase;
}

.short5-title {
    display: block;
    margin-bottom: 10px;
    color: #444;
    font-size: 20px;
    font-weight: 700;
}

.short5-title:hover {
    color: #000;
    text-decoration: underline;
}

.short5-desc {
    color: #5c5c5c;
    font-size: 13px;
    line-height: 18px;
    text-align: justify;
}

.normativ {
    display: block;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(to top, #0147a6 0%, #1488d1 100%);
    text-shadow: 1px 1px 0 #000;
}

.side-item {
    margin-bottom: 15px;
}

.side-block {
    display: block;
}

.side-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.side-content .short6-item:last-child,
.side-content .short4-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
    box-shadow: none;
}

.colored-bg {
    padding: 15px;
    background-color: #f5f5f5;
}

.short6-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e3e3;
    box-shadow: 0 1px #fff;
}

.short6-date {
    display: inline-block;
    padding: 3px 10px;
    background-color: #e4e9ef;
    font-size: 12px;
}

.short6-title {
    display: block;
    margin: 10px 0 0;
    color: #5c5c5c;
    font-size: 13px;
}

.short3 {
    margin: 0 -1px;
}

.short3-item {
    width: 31.33%;
    height: 78px;
    display: block;
    float: left;
    margin: 0 1% 5px;
    overflow: hidden;
}

.short3-item img,
.short4-img img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.short4-item {
    display: block;
    margin-bottom: 15px;
}

.short4-img {
    height: 140px;
    overflow: hidden;
}

.short4-title {
    margin-top: 5px;
    color: #444;
    font-size: 13px;
}

.short4-date {
    margin-top: 5px;
    color: #5c5c5c;
    font-size: 12px;
}

.short4-date span {
    margin-right: 5px;
    color: #f0261c;
}

.calendar {
    width: 100%;
    border-collapse: collapse;
    color: #5c5c5c;
    text-align: center;
}

.calendar th,
.calendar td {
    padding: 6px 3px;
    border: 1px solid #e3e3e3;
}

.calendar .monthselect {
    color: #fff;
    background: linear-gradient(to right, #0147a6 0%, #1488d1 100%);
}

.calendar .day-current {
    color: #fff;
    background: #f0261c;
}

.vote-title {
    margin-bottom: 10px;
    font-weight: 700;
}

.vote {
    margin: 7px 0;
}

.vote-buts {
    margin-top: 12px;
}

.people {
    padding: 0 30px;
    background-color: #f5f5f5;
}

.people-title {
    margin: 0 -30px 15px;
    border-top: 3px solid #1488d1;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.people-title span {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 0 0 4px 4px;
    color: #fff;
    background: linear-gradient(to top, #0147a6 0%, #1488d1 100%);
    text-shadow: 1px 1px 0 #000;
}

.people-box {
    margin: 0 -6px;
}

.short7-item {
    width: 19%;
    min-height: 238px;
    display: block;
    float: left;
    margin: 0 .5% 15px;
    padding: 15px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    color: #444;
    background: linear-gradient(to top, #f5f5f5 0%, #fff 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, .05);
    text-align: center;
    transition: all .5s;
}

.short7-img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}

.short7-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.short7-title {
    height: 40px;
    display: block;
    overflow: hidden;
    margin: 10px 0 5px;
    color: #444;
    font-weight: 700;
}

.short7-info {
    height: 36px;
    display: block;
    overflow: hidden;
    font-size: 13px;
}

.speedbar {
    padding: 10px 30px;
    border-bottom: 1px solid #e3e3e3;
    color: #5c5c5c;
    background-color: #f6f6f6;
    font-size: 12px;
}

.full-article {
    margin-bottom: 30px;
    position: relative;
}

.full-cols {
    margin-left: -30px;
    padding-left: 80px;
}

.fc-left {
    width: 80px;
    float: left;
    margin-left: -80px;
}

.fc-left .short5-date {
    position: static;
    background-color: #f5f5f5;
}

.fc-right {
    width: 100%;
    float: right;
    padding-left: 30px;
}

.full-article h1,
.archive-title {
    display: block;
    margin-bottom: 20px;
    color: #444 !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.full-text {
    margin: 0 0 20px;
    color: #5c5c5c;
    line-height: 24px;
}

.full-text p {
    margin: 0 0 14px;
}

.full-text ul,
.full-text ol {
    margin: 0 0 14px 22px;
}

.full-text ul {
    list-style: disc;
}

.full-text ol {
    list-style: decimal;
}

.full-text table {
    width: 100%;
    border-collapse: collapse;
}

.full-text td,
.full-text th {
    padding: 6px;
    border: 1px solid #ddd;
}

.full-text img {
    max-width: 100%;
    margin: 0 10px 10px 0;
    border: 5px solid #f0f0f0;
}

.full-text iframe,
.full-text embed,
.full-text object,
.full-text video {
    width: 100% !important;
    min-height: 320px;
}

.footer {
    padding: 15px 30px;
    position: relative;
    font-size: 12px;
}

.footer::before {
    position: absolute;
    inset: 0;
    background: url("assets/images/footer-bg.png") left top repeat-y;
    content: "";
    pointer-events: none;
}

.footer > * {
    position: relative;
}

.bottom-col {
    width: 20%;
    float: left;
    padding-left: 30px;
    text-shadow: 1px 1px 0 #000;
}

.bottom-col:first-child {
    width: 60%;
    padding-right: 60px;
    padding-left: 0;
}

.b-title {
    margin: 0 0 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #076dae;
    box-shadow: 0 1px #2196e0;
    color: #fff;
    font-size: 18px;
}

.b-about {
    min-height: 100px;
    padding-top: 100px;
    color: #bde4fa;
    background: url("assets/images/logo-foot.png") left top no-repeat;
    line-height: 20px;
}

.b-menu li {
    margin: 0 0 7px 12px;
    color: #e4f2fa;
    list-style: square;
}

.bottom-col a {
    color: #e4f2fa;
    text-decoration: underline;
}

.bottom-line {
    margin: 15px 0 -20px;
    padding: 15px 0;
    border-top: 1px solid #076dae;
    box-shadow: 0 -1px #2196e0;
}

.copyr {
    float: left;
}

.counts {
    display: flex;
    float: right;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 1240px) {
    .wr-center {
        max-width: 1024px;
        overflow: hidden;
    }

    .top-menu {
        display: none;
    }

    .nav {
        height: 50px;
    }

    .show-menu {
        display: inline-block;
    }

    .main-menu {
        display: block;
        max-height: 50px;
        overflow: hidden;
    }

    .main-menu > li a {
        padding: 0 10px;
        font-size: 12px;
    }

    .map {
        display: none;
    }

    .telefon-box {
        left: 430px;
    }

    .content-cols {
        padding: 15px 255px 0 15px;
    }

    .content-col {
        padding-right: 15px;
    }

    .people {
        padding: 0 15px;
    }
}

@media screen and (max-width: 950px) {
    .wr-center {
        max-width: 768px;
    }

    .telefon-box {
        left: 415px;
    }

    .content-cols {
        padding: 15px;
    }

    .right-col {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .content-col {
        width: 100%;
        float: none;
        padding-right: 0;
    }

    .short7-item {
        width: 23%;
        margin: 0 1% 15px;
    }

    .bottom-col {
        width: 50%;
        padding-right: 30px;
        padding-left: 0;
    }

    .bottom-col:first-child {
        width: 100%;
        float: none;
        padding-right: 0;
        padding-bottom: 15px;
    }
}

@media screen and (max-width: 760px) {
    .wr-center {
        max-width: 640px;
    }

    .slabovid,
    .main-image {
        display: none;
    }

    .logotype {
        width: 320px;
    }

    .telefon-box {
        left: 350px;
    }

    .short7-item {
        width: 31.33%;
        margin: 0 1% 15px;
    }
}

@media screen and (max-width: 590px) {
    .wr-center {
        max-width: 480px;
    }

    .header {
        height: auto;
        padding: 120px 0 15px;
        border-bottom: 3px solid #1488d1;
        background: linear-gradient(to top, #f5f5f5 0%, #fff 100%);
    }

    .nav {
        top: 0;
        bottom: auto;
    }

    .head-line {
        display: none;
    }

    .logotype {
        height: 80px;
        left: 50%;
        top: 50px;
        margin-left: -160px;
        background-position: center center;
    }

    .telefon-box {
        width: 100%;
        height: auto;
        display: block;
        position: static;
        text-align: center;
    }

    .short5-desc {
        display: none;
    }

    .short5-item:nth-child(2n) {
        background-color: #f5f5f5;
    }

    .short7-item {
        width: 48%;
        margin: 0 1% 15px;
    }

    .bottom-col {
        width: 100%;
        float: none;
        padding-right: 0;
        padding-bottom: 15px;
    }

    .footer::before {
        display: none;
    }

    .b-about {
        padding-top: 0;
        background-image: none;
    }
}

@media screen and (max-width: 470px) {
    .wr-center {
        max-width: 320px;
    }

    .main-menu li a {
        line-height: 36px;
    }

    .short5-item {
        min-height: 80px;
        padding-left: 80px;
    }

    .short5-img {
        width: 80px;
        height: 80px;
        margin-left: -80px;
    }

    .short5-img .short5-date,
    .short5-cat {
        display: none;
    }

    .short5-text {
        padding: 10px 0 0 15px;
    }

    .short5-title {
        margin-bottom: 0;
        font-size: 14px;
    }

    .short7-item {
        width: 100%;
        float: none;
        margin: 0 0 15px;
    }
}
