/*
Theme Name: GREYMedia
Author: GREYMedia LTD
Description: Encanta dance
Version: 1.0
Text Domain: simplest-site

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
html,
body {
  margin: 0px;
  padding: 0px;
}
body {
  font-size: 16px;
  color: #727272;
  background: #3c3c3c;
  font-family: 'Play', sans-serif;
}
.mdl-grid {
  background: #ffffff;
  max-width: 1360px;
  margin: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Play', sans-serif;
}
a {
  text-decoration: none;
  color: #3c3c3c;
}
li {
  list-style-type: none;
}
ol,
ul,
p {
  font-size: 15px;
}
.header {
  background: #f36523;
  min-height: 71px;
}
.header .logo {
  display: flex;
  align-items: center;
  height: 70px;
  padding-left: 10px;
  background: #3c3c3c;
}
.header .logo .logo-text {
  color: #ffffff;
  font-size: 1.8rem;
}
.header .logo .logo-j {
  display: block;
  text-align: center;
  color: #ffffff;
  width: 69px;
  padding: 2px 0px 5px;
  background: #f1971f;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  transform: rotate(-90deg);
}
.header .logo .logo-slogan {
  display: block;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.header .menu .mega-menu-flyout a {
  text-transform: uppercase !important;
}
.header .menu .mega-menu-toggle {
  height: 70px !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}
.header .menu .mega-menu-toggle:before {
  font-size: 40px !important;
  margin: 0 10px !important;
}
.header .menu .mega-menu-open:before {
  content: "\f335" !important;
}
.main-news-wrap {
  background-position: center;
  background-size: cover;
  min-height: 500px;
  padding-bottom: 20px;
}
.main-news-wrap .big-art-wrap {
  background: rgba(255, 255, 255, 0.8);
  width: 85%;
  max-width: 450px;
  margin: auto;
  padding: 15px;
  text-align: center;
  margin-top: 300px;
}
.main-news-wrap .big-art-wrap a {
  display: block;
  color: #f36523;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 600;
  padding-top: 20px;
}
.main-news-wrap .big-art-wrap .more {
  color: #727272;
  font-weight: 400;
  padding-top: 0px;
  margin-top: -15px;
}
.main-news-wrap .big-art-wrap .more:hover {
  text-decoration: underline;
}
.main-news-wrap .big-art-wrap .material-icons {
  font-size: 4rem;
  color: #f36523;
  line-height: 5px;
}
.main-news-wrap .short-art-wrap {
  text-align: center;
  min-height: 240px;
  border-bottom: 1px solid #f5f5f5;
  padding: 15px;
}
.main-news-wrap .short-art-wrap img {
  width: 160px;
  height: 160px;
  border-radius: 150px;
  margin: 10px 0px;
}
.main-news-wrap .short-art-wrap .news-text {
  padding: 0px 5px 0px 15px;
}
.main-news-wrap .short-art-wrap .news-text a {
  display: block;
  font-weight: 1.5rem;
  font-weight: bold;
  color: #727272;
}
.main-news-wrap .short-art-wrap .news-text a:hover {
  color: #f36523;
}
.main-news-wrap .short-art-wrap .news-text .more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: normal;
  text-transform: uppercase;
}
.main-news-wrap .short-art-wrap .news-text .more i {
  font-size: 2rem;
  padding-right: 10px;
}
.anons {
  background: #f5f5f5;
}
.anons h2 {
  color: #f36523;
  font-size: 2.5rem;
  padding-left: 20px;
  padding-right: 20px;
}
.anons .mdl-tabs__tab-bar {
  display: block;
  text-align: left;
  border-bottom: 0px;
  height: auto;
}
.anons .mdl-tabs__tab-bar .mdl-tabs__tab {
  display: flex;
  align-items: center;
  float: none;
  line-height: 20px;
  height: auto;
  min-height: 48px;
  text-align: left;
}
.anons .mdl-tabs__tab-bar .mdl-tabs__tab i {
  padding-right: 15px;
}
.anons .mdl-tabs__tab-bar .is-active {
  color: #f36523 !important;
}
.anons .mdl-tabs__tab-bar .is-active:after {
  display: none !important;
}
.anons .short-anons {
  background: #ffffff;
  width: 85%;
  max-width: 500px;
  min-height: 300px;
  margin: 20px auto;
  padding: 20px 15px;
  display: flex;
  align-items: center;
  text-align: center;
}
.anons .short-anons h4 {
  margin: 5px 0px;
  color: #f36523;
}
.anons .short-anons h5 {
  margin: 5px 0px 20px;
}
.anons .short-anons a {
  font-size: 1.2rem;
  text-transform: uppercase;
  padding: 0px 10px;
}
.anons .short-anons a:hover {
  color: #f36523;
}
.last-news {
  border-left: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
}
.last-news img {
  width: 100%;
  height: auto;
}
.last-news h3 {
  background: #f36523;
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0px;
  height: 60px;
  padding: 0px 15px;
  display: flex;
  align-items: center;
  line-height: 1.5rem;
}
.last-news h3 i {
  padding-right: 10px;
}
.last-news h4 {
  text-align: center;
  padding: 15px 15px 0px;
  margin: 0px;
  font-size: 1.4rem;
}
.last-news p {
  padding: 15px;
  text-align: center;
  margin: 0px;
}
.last-news p a {
  text-transform: uppercase;
  padding: 0px 10px;
}
.last-news .more {
  font-size: 4rem;
  text-align: center;
  color: #f36523;
  display: block;
  height: 20px;
  line-height: 20px;
}
.last-news a:hover {
  color: #f36523;
}
.position-d h3 {
  background: #f5f5f5;
  color: #f36523;
  text-align: center;
  margin: 0px 0px 15px 0px;
  padding: 20px;
}
.position-d .flex-next {
  right: 15px !important;
}
.position-d .flex-prev {
  left: 15px !important;
}
.position-d .flex-direction-nav a {
  background-image: none;
  text-indent: 1px;
  font-size: 5rem;
  color: #f36523;
  top: 33%;
  text-shadow: 1px 1px 2px #000000, 0 0 1em #ffffff;
}
.position-d .slides li {
  height: 375px !important;
}
.position-d .slides li .caption-wrap {
  background: #ffffff;
  color: #3c3c3c;
  text-align: center;
}
.position-d .slides li .caption-wrap p {
  font-size: 1.5rem;
  padding-bottom: 7px;
}
.position-d .slides li .caption-wrap i {
  font-size: 3rem;
}
.position-d .slides li .caption-wrap i:hover {
  color: #f36523;
}
.position-e {
  background: #3c3c3c;
  color: #ffffff;
  text-align: center;
}
.position-e .position-d-text {
  padding: 30px 15px;
}
.position-e .position-d-text h2 {
  margin: 0px;
}
.position-e .position-d-text h3 {
  font-size: 1.5rem;
  margin: 0px;
}
.position-e .position-d-text h4 {
  margin: 5px 0px 10px;
}
.position-e .position-d-text a {
  color: #ffffff;
  font-size: 1.2rem;
  padding: 0px 10px;
}
.position-e .position-d-text a:hover {
  color: #f36523;
}
.content-page .content-wrap-page {
  padding: 20px 15px;
  max-width: 1070px;
  padding: 0px 15px;
  margin: auto !important;
  text-align: justify;
}
.content-page .content-wrap-page h1 {
  margin: 10px 0px ;
  font-size: 2rem;
  text-align: center;
}
.center-text {
  max-width: 650px;
  margin: auto;
  text-align: center;
  border: 7px solid #f36523;
  padding: 15px;
  margin-top: 15px;
  margin-bottom: 30px;
}
.reda {
  color: #f36523;
  padding: 10px 0px 7px;
}
.p-center {
  text-align: center;
}
.social .mdl-cell {
  padding: 15px;
}
.social .mdl-cell h3 {
  color: #f36523;
}
.social .mdl-cell .mdl-button--accent.mdl-button--accent {
  background: #f36523;
}
.archive-page a {
  display: block;
  text-align: center;
}
.archive-page img {
  width: 98%;
}
.archive-page i {
  display: block;
  text-align: center;
  padding-top: 7px;
  padding-bottom: 7px;
  font-size: 2rem;
  color: #3c3c3c;
}
.archive-page a:hover {
  background: #f5f5f5;
}
.archive-page a:hover i {
  color: #f36523;
}
#vk_groups {
  margin: auto;
}
.content-category .content-wrap-category {
  max-width: 1070px;
  padding: 0px 15px;
  margin: auto !important;
}
.content-category .content-wrap-category h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}
.content-category .content-wrap-category h2 {
  color: #f36523;
  font-size: 2rem;
  margin: 0px;
  line-height: 3rem;
  padding-bottom: 10px;
}
.content-category .content-wrap-category p {
  text-align: justify;
}
.content-category .content-wrap-category .more-link {
  color: #f36523;
  text-transform: uppercase;
  display: flex;
}
.content-category .content-wrap-category .more-link i {
  padding-right: 15px;
}
.content-category .content-wrap-category .more-link:hover {
  color: #f1971f;
}
.content-category .content-wrap-category .autor {
  text-align: right;
  font-style: italic;
  font-weight: 600;
}
.content-category .content-wrap-category .img-wrap {
  display: block;
  width: 100%;
}
.content-category .content-wrap-category .img-wrap img {
  width: 100%;
}
.content-category .content-wrap-category .img-wrap b {
  display: block;
  padding: 10px 0px;
  border-bottom: 1px solid;
  text-align: right;
}
.content-category .content-wrap-category .img-left,
.content-category .content-wrap-category .img-right {
  padding-bottom: 10px;
}
.content-category .separator {
  border-bottom: 1px solid #f5f5f5;
  padding-top: 10px;
}
.footer {
  background: #333;
  color: #888;
}
.footer .gm {
  text-align: right;
}
.footer a {
  color: #f36523;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .mdl-cell {
  padding: 15px;
}
.bread {
  background: #f5f5f5;
}
.ib-trail a {
  color: #f36523;
  font-weight: bold;
}
.ib-trail a:hover {
  color: #f1971f;
}
.ib-trail ul {
  padding: 7px 0px;
}
.ib-trail li {
  display: inline-block;
  padding-right: 10px;
  margin-left: 10px;
}

.navnav {
  text-align: center;
  padding: 1rem 0;
}

.navnav span, .navnav a {
  padding: 0 0.5rem;
}

.ul--with-point li{
  list-style-type: disc;
}

.ol--with-numeric li{
  list-style-type: decimal;
}

/*
===================================================================
480px
===================================================================
*/
@media (min-width: 480px) {
  .header .logo .logo-slogan {
    font-size: 1.1rem;
  }
  .main-news-wrap .short-art-wrap {
    display: flex;
    align-items: center;
    text-align: left;
  }
  .main-news-wrap .short-art-wrap img {
    width: 130px;
    height: 130px;
  }
  .anons {
    background: url("images/anons.jpg");
    background-position: left center;
    background-size: cover;
    min-height: 500px;
  }
  .position-e {
    background: #3c3c3c;
    background: url("images/about.jpg");
    background-position: left center;
    background-size: cover;
    min-height: 600px;
    text-align: left;
    display: flex;
    align-items: center;
  }
  .content-category .content-wrap-category p {
    text-align: justify;
  }
  .content-category .content-wrap-category .img-wrap {
    width: 50%;
  }
  .content-category .content-wrap-category .img-left {
    float: left;
    padding-right: 20px;
  }
  .content-category .content-wrap-category .img-right {
    float: right;
    padding-left: 20px;
  }
}
/*
===================================================================
840px
===================================================================
*/
@media (min-width: 840px) {
	body{
		padding-top: 71px;
	}
	.header{
		position: fixed;
		width: 100%;
		max-width: 1360px;
		margin-top: -71px;
		z-index: 999;
	}
  .header .logo {
    background: #f36523;
  }
  .anons {
    min-height: 650px;
  }
  .anons .short-anons {
    margin: 20px 0px 20px 25px;
  }
  .last-news {
    opacity: 0.9;
    transition: 0.5s;
  }
  .last-news:hover {
    opacity: 1;
    background: #f5f5f5;
  }
  .position-e {
    min-height: 650px;
  }
  .position-e .position-d-text {
    padding-left: 40px;
  }
  .social .mdl-cell h3 {
    color: #f36523;
    max-width: 430px;
  }
  .social .mdl-cell h4 {
    max-width: 430px;
  }
  .social .mdl-cell p {
    max-width: 430px;
  }
  #vk_groups {
    float: right;
  }
}
/*
===================================================================
1200px
===================================================================
*/
@media (min-width: 1200px) {
  .header .logo .logo-text {
    font-size: 3rem;
    font-weight: 600;
  }
  .header .menu {
    padding-right: 10px;
  }
  .header .menu .mega-menu-toggle {
    display: none !important;
  }
  .main-news-wrap .short-art-wrap img {
    width: 160px;
    height: 160px;
  }
}
/*
===================================================================
1360px
===================================================================
*/
@media (min-width: 1360px) {
.header{
	left: 50%;
    margin-left: -680px;
}
}

/* Addition styles for pagination */
.pagination {
	margin: 0 auto;
}

h2.screen-reader-text {
	margin-bottom: 10px;
	text-align: center;
}
.nav-links {
	margin-bottom: 10px;
	font-size: 24px;
	text-align: center;
}