/*
Theme Name: Golos YSIA Two / DMI Mag
Theme URI: https://ysia.ru/
Author: ysia.ru
Author URI: https://ysia.ru/
Version: 1.0
Text Domain: dmimag
License: 
License URI:
Description:
Requires at least: 4.9.6
Requires PHP: 5.2.4
Tags:
*/

:root {
    --theme-color: #4a4c79;
    --theme-color-grey: #e1e2e1;
    --theme-padding: 20px;
    --theme-font-family: 'Jost', sans-serif;
}

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer,
header, main, nav, section {
	display: block;
}

html, body {
	width: 100%;
	min-height:100%;
    min-width: 320px;
    font-size:16px;
    line-height: 1.25;
    font-family: var( --theme-font-family );
    font-optical-sizing: auto;
	font-style: normal;
    font-weight: 400;
    color: var(--theme-color);
    background-color: var(--theme-color-grey);
}

a {
    color: var(--theme-color);
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

/* Footer down */

.dmi-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* end Footer down */

/* dmi */

.overflow-hidden {
  overflow: hidden;
}

/* Grid */

.dmi-wrap {
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgb(41 39 89 / 15%);
}

.dmi-grid {
    margin: 0 auto;
}

/* Row */

.dmi-grid-row {
  display: flex;
  flex-wrap: wrap;
}

.dmi-row-reverse {
  flex-direction: row-reverse;
}

.dmi-grid-widget {
  border-bottom: 1px solid #f9f9f9;
}

/* end Row */

/* Col */

.dmi-grid-col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
  width: 100%;
}

.dmi-grid-col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

@media only screen and (max-width: 480px) { 
  .dmi-grid-col-auto {
    max-width: 100%;
  }
}

.dmi-grid-col-c {
  flex: 0 0 25%;
  max-width: 25%;
}

.dmi-grid-col-1 {
}

.dmi-grid-col-2 {
  flex: 0 0 12.5%;
  max-width: 12.5%;
}

.dmi-grid-col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.dmi-grid-col-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.dmi-grid-col-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.dmi-grid-col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.dmi-grid-col-7 {
}

.dmi-grid-col-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.dmi-grid-col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.dmi-grid-col-10 {
}

.dmi-grid-col-11 {
}

.dmi-grid-col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

/* end Col */

/* Border */

.dmi-border {
  border: 1px solid #f9f9f9;
}

.dmi-border-top {
  border-top: 1px solid #f9f9f9;
}

.dmi-border-left {
  border-left: 1px solid #f9f9f9;
}

.dmi-border-right {
  border-right: 1px solid #f9f9f9;
}

.dmi-border-bottom {
  border-bottom: 1px solid #f9f9f9;
}

.dmi-justify-center {
  justify-content: center;
}

/* header */

header {
    background-color: var(--theme-color);
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('assets/images/home.png');
    background-position: bottom center;
    background-repeat: repeat-x;
    background-size: auto 70px;
    padding: 0 30px 70px 30px;
}

header > *:not(:last-child) {
    margin-bottom: 20px;
}

header img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width: 1024px) {
    header {
        height: 350px;
    }
}

@media only screen and (max-width: 1280px) {
  
  
}

@media only screen and (max-width: 768px) {
  
  
}

@media only screen and (max-width: 480px) {
  
  

}

.theme-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: var(--theme-padding);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

.theme-menu a {
    margin-left: 10px;
    margin-right: 10px;
}

.theme-award-title {
    color: var(--theme-color);
    text-align: center;
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 40px;
}

@media only screen and (max-width: 768px) {
    .theme-award-title {
        font-size: 28px;
    }
}

.theme-grid-nominations {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    max-width: 1320px;
    margin: 0 auto;
}

.theme-nomination {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 10px var(--theme-padding) 10px;
}

@media only screen and (max-width: 1024px) {
    .theme-nomination {
        flex: 0 0 33.3333333%;
        max-width: 33.3333333%;
    }
}

@media only screen and (max-width: 768px) {
    .theme-nomination {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media only screen and (max-width: 480px) {
    .theme-nomination {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.theme-nomination a {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 2px solid var(--theme-color);
    width: 100%;
    min-height: 280px;
    padding: var(--theme-padding) var(--theme-padding) 0 var(--theme-padding);
}

.theme-nomination a:hover {
    opacity: .7;
    background-color: var(--theme-color-grey);
}

.theme-nomination-icon {
    width: 90px;
    height: 90px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 30px;
    margin-bottom: var(--theme-padding);
}

.theme-nomination-title {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
}

.dmi-label-title, .dmi-title {
  color: #ffffff;
  text-transform: uppercase;
}

main .dmi-label-title, main .dmi-title {
  color: var(--theme-color);
  text-transform: uppercase;
}

main .dmi-title {
  margin-bottom: 20px;
  padding: 0 20px;
}

.dmi-title-center {
  text-align: center;
}

.dmi-label-title {
  font-size: 14px;
}

.dmi-title {
  font-weight: 500;
  font-size: 28px;
  text-transform: uppercase;
}

@media only screen and (max-width: 1200px) {
  
  .dmi-label-title {
    font-size: 12px;
  }
  .dmi-title {
    font-size: 20px;
  }

}

@media only screen and (max-width: 768px) {
  .dmi-title {
    text-align: center;
  }
}

.dmi-breadcrumb {
  font-size: 18px;
  margin-bottom: 20px;
}

.dmi-breadcrumb-separator {
  font-size: 14px;
  font-weight: 700;
}

/* main */

main .dmi-grid { /*   */
  max-width: 1540px;
  margin: 0 auto;
}

main > .dmi-grid > .dmi-grid-row {
  padding: 45px 20px;
}

@media only screen and (max-width: 1200px) {
  main .dmi-grid { 
    max-width: 1024px;
  }
  
  main > .dmi-grid > .dmi-grid-row {
    flex-direction: column-reverse;
    padding: 20px;
  }
}

@media only screen and (max-width: 768px) {
  /*main .dmi-grid {
    max-width: 480px;
  }*/
}

.dmi-grid-header {
  font-size: 20px;
  line-height: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.dmi-card {
  margin-bottom: 20px;
}

.dmi-card-date {
  font-size: 15px;
  line-height: 18px;
  font-weight: bold;
  color: #9b302a; /*#5a3981;*/
}

.dmi-card-title {
  padding-left: 30px;
  font-size: 15px;
  line-height: 18px;
}

.dmi-grid-sidebar {
  /*margin-right: 30px;*/
  flex: 0 0 20%;
  max-width: 20%;
}

.dmi-grid-c {
  /*padding: 0 30px;*/
}

@media only screen and (max-width: 1200px) {
  .dmi-grid-sidebar {
    margin-right: 0;
    flex: 0 0 50%;
    max-width: 50%;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 2px solid #5a3981;
    margin: 0 auto;
  }
  
  .dmi-grid-c {
    padding: 0;
  }
}

@media only screen and (max-width: 700px) {
  .dmi-grid-sidebar {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.fv-countdown, .FV_Winners {
  display: none!important;
}

.contest-block {
  border-radius: 0!important;
  border: 0!important;
  padding: 0!important;
  display: block!important;
}

.fv-contest-photos-container-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}







.theme-nominee {
    flex: 0 0 33.3333333%;
    max-width: 33.3333333%;
    padding: 0 20px 40px 20px;
}

@media only screen and (max-width: 1024px) {
    .theme-nominee {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

@media only screen and (max-width: 768px) {
    .theme-nominee {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

@media only screen and (max-width: 580px) {
    .theme-nominee {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.dmi-competitor {
  text-align: left;
  flex-direction: column;
  display: flex;
  justify-content: space-between;
  /*border: 2px solid var(--theme-color);*/
}

.dmi-competitor .dmi-grid-row:first-child {
  flex-direction: column;
}

.dmi-vote-button {
    align-items: center;
}

.dmi-vote-button > div:not(:last-child) {
    margin-right: 30px;
}

.dmi-competitor .fv_button {
  /*margin-top: 20px;*/
}

.dmi-competitor .fv_button .fv_vote {
    border-radius: 0!important;
    background-image: none!important;
    color: var(--theme-color-grey);
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    background-color: var(--theme-color) !important;
    background-image: none!important;
    font-size: 14px!important;
    line-height: 1 !important;
    font-weight: 500;
    text-transform: uppercase;

    width: 120px!important;
    height: 34px!important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.dmi-competitor .fv_button .fv_vote:hover, .dmi-competitor-img:hover {
    opacity: 0.8;
}

@media only screen and (max-width: 1280px) {
  .dmi-grid-col-c {
    flex: 0 0 33%;
    max-width: 33%;
  }
}

@media only screen and (max-width: 768px) {
  .dmi-competitor {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.dmi-competitor-img {
    width: 100%;
    height: 350px;
    background-color: var(--theme-color-grey);
    margin-bottom: 10px;
    cursor: pointer;
}

@media only screen and (max-width: 768px) {
  /*.dmi-competitor-img {
    max-width: 200px;
    margin: 0 auto 10px;
  }*/
}

.dmi-competitor-img span {
  display: block;
  width: auto;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.dmi-competitor-name {
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 17px;
}

.dmi-competitor-description {
  font-size: 14px;
  margin-bottom: 10px;
}

.dmi-competitor-votes {
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.dmi-competitor-votes span {
  width: 20px;
  height: 25px;
  margin-right: 5px;
  background-image: url('assets/images/icon-heart.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.fv_contest_container  {
	width: 100%;
    max-width: 1340px;
    margin: 0 auto;
}

#fv_constest_item {
  width: 100%!important;
  font-family: 'Roboto', sans-serif!important;
  letter-spacing: 1.1px;
  box-shadow: none!important;
  padding-top: 0;
  text-align: center;
}

.fv-single-item__heading-wrap, .fv_social {
  display: none!important;
}

#fv_constest_item .fv_photo_votes {
  float: none!important;
  margin-left:0!important;
  font-size: 15px;
  margin: 0 auto;
  font-weight: 700;
}

#fv_constest_item .fv_button {
  float: none!important;
  margin-right: 0!important;
  margin: 20px auto!important;
}

#fv_constest_item .fv_button .fv_vote {
  background-color: #5a3981!important;
  background-image: none!important;
  font-size: 18px!important;
  text-transform: uppercase;
  cursor: pointer;
  width: 150px!important;
  height: 40px!important;
}

.fv_description img {
  max-width: 100%;
  height: auto;
}

/*#fv_constest_item .fv_photo .fv_nav {
  display: none;
}*/

#fv_constest_item .fv_photo {
  min-width: auto!important;
  max-width: 420px;
  padding: 0 10px;
}

@media only screen and (max-width: 520px) {
  #fv_constest_item .fv_photo .fv_next {
    right: 0!important;
  }

  #fv_constest_item .fv_photo .fv_prev {
    left: 0!important;
  }
}

#fv_constest_item {
  letter-spacing: normal!important;
}

#fv_constest_item .fv_description {
  margin: 0!important;
}

.dmi-countdown-title {
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500; 
    margin-bottom: 10px; 
}

.dmi-countdown-stop {
    font-size: 20px;
}

.running {
  flex-direction: column;
  color: var(--theme-color);
}

.running .timer-s {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.running .timer-s span {
    width: 54px;
    text-align: center;
}

.running .timer-s span:first-child {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.running .timer-s span:last-child {
  font-size: 10px;
  text-transform: lowercase;
}

.running timer > span {
  font-size: 24px;
  padding: 0 5px;
}

.running timer {
  display: flex;
  justify-content: center;
}

/* ads */

.dmi-grid-ads {
    width: 100%;
    text-align: center;
}

.theme-grid-ads {
    width: 100%;
    max-width: 1300px;
    text-align: center;
    margin: 0 auto var(--theme-padding);;
}

.theme-ads {
    background-color: var(--theme-color-grey);
    padding: var(--theme-padding);
}

.dmi-grid-ads img {
  max-width: 100%;
  height: auto
}

.dmi-grid-ads-desktop, .dmi-grid-ads-mobile {
  padding: 0 20px;
  margin: 0 auto 20px;
}

.dmi-grid-ads-mobile {
  display: none;
}

@media only screen and (max-width: 768px) {
  .dmi-grid-ads-mobile {
    display: block;
  }
  .dmi-grid-ads-desktop {
    display: none;
  }
}

/* content */

.dmi-grid-content {
  overflow: hidden;
}

.dmi-grid-content p {
  margin-bottom: 20px;
}

.dmi-grid-content strong {
  font-weight: 700;
}


/* footer */

footer {
    background-color: #ffffff;
    text-align: center;
}

footer > .dmi-grid:first-child {
    height: 70px;
    background-image: url('assets/images/home-blue.png');
    background-size: auto 70px;
    background-repeat: repeat-x;
}

footer > .dmi-grid:last-child {
    margin: 0 auto;
    color: #ffffff;
    font-size: 14px;
    background-color: var(--theme-color);
    padding: 30px;
}

footer > .dmi-grid > .dmi-grid-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer > .dmi-grid > .dmi-grid-row > .dmi-grid-col {
    max-width: 400px;
}

footer>.dmi-grid>.dmi-grid-row>.dmi-grid-col:not(:last-child) {
    margin-bottom: 20px;
}

.footer-widget-title {
  display: none;
}

span.newTXT {
  display: none;
}