.articles {
    margin-top: 10px;
    margin-bottom: 30px;
}

.magic-grid .content .element {
    width: 260px;
    float: left;
}

.magic-grid .content .element .text,
.magic-grid .content .element .text p {
    color: #fff !important;
}

.magic-grid .content .element img {
    width: 100%;
}

.grid.magic-grid {
  padding: 0;
}

.grid.magic-grid .filters {
  background: #222322;
  margin: 0 10px 2em;
  min-height: 35px;
  padding: 0 1em;
}

.grid.magic-grid .filters button {
  background: #222322;
  border: none;
  color: #fff;
  font-size: .9em;
  font-weight: 700;
  height: 35px;
  padding: 0 1em;
  text-transform: uppercase;
  outline: 0;
}

.grid.magic-grid .filters button:hover {
  outline: 0;
  color: #1d8fce;
}

.grid.magic-grid .filters button.active {
  outline: 0;
  background-color: #1d8fce;
  color: #222322;
  height: 45px;
  margin: -5px 0;
}

.grid.magic-grid .element {
  cursor: pointer;
  margin: 10px;
  width: 265px;
  position: relative;
}

.grid.magic-grid .element .text {
  background-color: #1d8fce;
  font-size: 1.2em;
  font-weight: 200;
  height: 20%;
  padding: 10px 15px;
  text-align: left;
}

.grid.magic-grid .element .text p {
  color: #222322;
  line-height: 1.2em;
  margin: 0;
  text-align: left;
}

.grid.magic-grid .element .text span {
  display: block;
  font-size: .7em;
  line-height: 1.5em;
}

.grid.magic-grid .element .more {
  background: rgba(30, 30, 30, 0.3);
  display: none;
  height: 80%;
  position: absolute;
  width: 100%;
}

.grid.magic-grid .element .more a {
  background: #222322;
  color: #1d8fce;
  display: block;
  font-size: 3em;
  height: 66px;
  left: 50%;
  line-height: 66px;
  margin: -33px 0 0 -33px;
  position: absolute;
  text-align: center;
  top: 50%;
  width: 66px;
}

.grid.magic-grid .element:hover .text {
  background: #222322;
  background-position: bottom center;
  color: #1d8fce;
  -webkit-transition: ease-in 0.4s;
  -moz-transition: ease-in 0.4s;
  -o-transition: ease-in 0.4s;
  -ms-transition: ease-in 0.4s;
  transition: ease-in 0.4s;
}

.grid.magic-grid .element:hover .text p {
  color: #1d8fce;
}

.grid.magic-grid .element:hover .more {
  display: block;
}

.ajax-articles {
    background: #1d8fce;
}

.ajax-articles.open {
    margin: 0 30px 0 10px;
    padding: 50px;
    text-align: left;
}

.ajax-articles.close {
    display: none;
}

.ajax-articles img {
    width:500px;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    float: left;
    margin: 0 50px 50px 0;
}

.ajax-articles h2.name {
    color: #fff;
    padding-top: 0;
    margin-top: 5px;
    padding-bottom: 10px;
    font-weight: bold;
}

.ajax-articles p.description {
    color: #fff;
    font-size: 1.1em;
}

.ajax-articles a.more,
ul.articles li a.more {
    padding: 5px 30px;
    background: #fff;
    color: #1d8fce;
    font-size: 1.8em;
    display: block;
    float: right;
    text-align: center;
    margin-bottom: 20px;
}

ul.articles  {
    list-style: none;
}

ul.articles li {
    float: left;
    width: 33%;
    padding-right: 10px;
}

ul.articles li a.more {
    font-size: 1em;
    padding: 2px 5px;
}

ul.articles li img.article {
    width: 100px;
    height: 100px;
    float: left;
    margin: 5px 10px 3px 0;
}

ul.articles li h4 {
    font-weight: bold;
}

ul.articles li h4 a {
    color: #fff;
}

ul.articles li p {
    color: #fff;
    margin-bottom: 0;
    font-size: .9em;
    line-height: 1.8em;
}

.grid .content .element.select .text {
    background: #1d8fce url("../images/array.png") bottom center no-repeat;
}

.icon-close {
    position: absolute;
    width: 40px;
    height: 40px;
    margin-top: -35px;
    right: 50px;
    cursor: pointer;
}

.icon-close::before, .icon-close::after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #FFF;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg)
}

.icon-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.icon-close:hover::before, .icon-close:hover::after {
    background: #afdefa
}


.category-info {
    background: #1d8fce;
    margin-bottom: 30px;
}

.category-info img {
    width: 190px;
    max-width: 100%;
    height: auto;
    max-height: 190px;
    margin: 30px 0;
}

.category-info h1 {
    color: #fff;
    font-size: 3em;
    font-weight: 400;
    margin-left: 30px;
    margin-top: 35px;
}

.category-info p {
    color: #fff;
    font-size: 1.2em;
    line-height: 1.5em;
    font-weight: 100;
    margin-left: 30px;
}

#category-list li {
    margin-bottom: 8px;
}

#category-list li a {
    width: 100%;
    height: 64px;
    display: table;
}

#category-list li a span {
    color:#1d8fce;
    margin-top: 20px;
    display: block;
}

#category-list li img {
    width: 64px;
    height: 64px;
    margin: 5px 5px 5px 0;
    float: left;
}

.article-block {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
}

.article-block img.small {
    width: 200px;
    max-width: 100%;
    height: auto;
    float: left;
    margin-right:20px;
    display: inline;
}

.article-block img.big {
    display: block;
    width: 790px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.article-block h3 {
    margin-top: 5px;
    color:#1d8fce;
    display: block;
}

.article-block p {
    display: inline;
    color: #333;
    font-size: 15px;
}

.article-big {
    margin-bottom: 20px;
}

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

.article-big h4 {
    margin-top: 2px;
    margin-bottom: 0;
}

.article-big .published_date {
    font-size: 0.8em;
}

.article-single {
    margin-top: 20px;
}

.article-entry h2 {
    line-height: 1.2em;
}
.article-entry .content {
    padding: 0 10px;
}
.article-entry .content,
.article-entry .content p,
.article-entry .content li {
    font-size: 15px;
    line-height: 1.9em;
    color: #666;
    text-align: justify;
}

.article-entry ul {
    padding-left: 40px;
}
.article-entry blockquote {
    border-left: 5px solid #1d8fce;
}
.article-entry blockquote p {
    font-style: italic;
    line-height: 1.4em;
    /*font-weight: 400;*/
}

.article-entry .categories span a {
    text-transform: capitalize;
    background: #b0b0b0;
    color: #fff;
    display: inline-block;
    border: none;
    font-size: .8em;
    font-weight: normal;
    margin: 15px 0 0 0;
    padding: 1em;
    -webkit-transition: ease-in .4s;
    -moz-transition: ease-in .4s;
    -o-transition: ease-in .4s;
    -ms-transition: ease-in .4s;
    transition: ease-in .4s;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.article-entry .categories {
    margin-bottom: 20px;
}

.article-entry .categories span a:hover {
    background: #1d8fce;
    color: #fff;
    opacity: 1;
}

.article-entry .main_photo {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
}

.article-bottom .text {
    margin-top: 15px;
}

aside h2 {
  border-bottom: 2px solid #1d8fce;
  border-left: none;
  clear: both;
  font-size: 1.5em;
  font-weight: normal;
  margin: 60px 0 0 0;
  padding: 0 0 .75em 0;
}

aside h2:first-child {
  margin: 0;
}

aside .arrow {
  border-color: #1d8fce transparent transparent transparent;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  display: block;
  height: 0px;
  margin: 0 0 20px 20px;
  width: 0px;
}

aside ul li {
  list-style: none;
  min-width: 255px;
}

aside ul li i {
  color: #999;
}

aside ul li a {
  color: #999;
  display: inline-block;
  font-size: .9em;
  height: 2em;
}

aside ul li a:hover {
  color: #222322;
}

.most-viewed {
  float: left;
  font-size: .9em;
  font-weight: 700;
  margin: 0 0 20px 0;
  width: 100%;
}

.most-viewed a {
  color: #888;
  display: block;
}

.most-viewed a:hover {
  color: #222322;
}

.most-viewed span {
  color: #888;
  font-size: .9em;
  font-weight: normal;
}

.most-viewed div {
  float: left;
  height: 60px;
  margin-right: 10px;
  overflow: hidden;
  position: relative;
  width: 60px;
}

.most-viewed div img {
  width: 100%;
}


.content h2 {
    /*color: #1d8fce;*/
    font-size: 1.5em;
}

.bottom_articles {
    border-top:1px solid #eee;
    padding-top: 20px;
}

.bottom_articles img {
    max-width: 100%;
    height: auto;
    /*height: 220px;*/
}

.bottom_articles h4 {
    color: #1d8fce;
}

.bottom_articles .published_date {
    font-size: 0.8em ;
}

.bottom_articles .category a {
    font-size: 0.8em;
    color: #fff;
    background: #b0b0b0;
    padding: 2px 5px;
}

.bottom_articles .more {
    background: #1d8fce;
    color: #fff;
    float: right;
    padding: 3px 7px;
    font-size: 0.8em;
}


.therapist-block h2 {
    margin-top: 0;
    /*font-size: 1.5em;*/
    line-height: 1.4em;
}
.therapist-block .phone {
    font-size: 2em;
}
.btn-contact {
    font-size: 1.1em;
}

.article-entry .social-icons {
    position: absolute;
    right: 25px;
    top: 98px;
}
.article-entry .social-icons h3 {
    font-size: 12px;
    color: #333;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-right: 6px;
    display: inline-block;
    text-transform: uppercase;
}
.article-entry .social-icons ul {
    display: inline-block;
    padding-left: 0;
    list-style-type: none;
}
.article-entry .social-icons li a {
    font-size: 14px;
    height: 35px;
    min-width: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50px;
    display: inline-block;
    background-color: #3b579d;
}
.article-entry .social-icons li a {
    color: #fff;
}
.article-search {
    text-align: center;
}
.article-search h3 {
    overflow: auto;
    min-height: 44px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 0;
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-color: #1d8fce;
}
.article-search h3 span {
    padding: 8px 80px;
    display: block;
    float: right;
    text-align: center;
    background-color: #1d8fce;
}
.article-search .search-widget {
    border: 1px solid #ececec;
    padding: 28px;
    /*border-top: 2px solid #1d8fce;*/
    /*margin-top: 20px;*/
    margin-bottom: 40px;
}

.article-search .search-widget .btn-default {
    color: #fff;
}

@media (max-width: 1199px) {
    .magic-grid .content {
        text-align: center;
    }
    .magic-grid .content .element {
        float: none;
        display: inline-block;
    }
    .magic-grid .content > .clear {
        display: none;
    }
    .ajax-articles a.more, ul.articles li a.more {
        float: left;
        font-size: 1.1em;
    }
}

@media (max-width: 991px) {
    ul.articles li {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .ajax-articles.open {
        display: inline-block;
        width: 90%;
        margin: 0;
    }
    .category-info {
        overflow: hidden;
        padding: 20px;
    }
    .category-info img {
        width: 100px;
        height: auto;
    }
    .category-info h1 {
        margin-top: 0;
        margin-left: 0;
        font-size: 2em;
    }
    .category-info p {
        margin-left: 0;
        font-size: 1em;
    }
    .article-entry .social-icons {
        position: relative;
        top:0;
        right: 0;
        float: none;
    }
}

@media (max-width: 610px) {
    .magic-grid .content .element {
        width: 90%;
    }
    .grid.magic-grid .element:hover .more {
        height: 100%;
    }
    .category-info h1 {
        font-size: 2em;
        margin-left: 0;
    }
}

@media (max-width: 570px) {
    .left_articles {
        text-align: center;
    }
}