/* alerts */
.alert {
    margin: 20px 0;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 1.5;
}
.alert-success {
    color: #78c350;
    background-color: #ebf6e5;
}
.alert-success a {
    color: #5fa739 !important;
}
.alert-info {
    color: #45bbe0;
    background-color: #e3f5fa;
}
.alert-info a {
    color: #23a6cf !important;
}
.alert-warning {
    color: #ff9800;
    background-color: #fff0d9;
}
.alert-warning a {
    color: #cc7a00 !important;
}
.alert-danger {
    color: #f7531f;
    background-color: #fee5dd;
}
.alert-danger a {
    color: #db3b08 !important;
}

/* forms */
.special-field {
    display: none !important;
    visibility: hidden !important;
}

.field:not(.error-field) .error,
.field:not(.error-field) .error-text {
    display: none;
}

.ajax-form .btn-waiting,
.ajax-form .btn-waiting:hover,
.ajax-form .btn-waiting:active,
.ajax-custom-form .btn-waiting,
.ajax-custom-form .btn-waiting:hover,
.ajax-custom-form .btn-waiting:active {
    background-image: linear-gradient(-45deg, rgba(192, 192, 192, 0.2) 25%, transparent 25%, transparent 50%, rgba(192, 192, 192, 0.2) 50%, rgba(192, 192, 192, 0.2) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    -webkit-animation: button-waiting 1s linear infinite;
    animation: button-waiting 1s linear infinite;
}
@-webkit-keyframes button-waiting {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 20px 0;
    }
}
@keyframes button-waiting {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 20px 0;
    }
}

.hidden {
    display: none !important;
}

/* fix font */
button {
    font-family: inherit;
}

/* do not add class to p */
.top-wrap .author p {
    font-size: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

/* do not wrap every text block with own .subcontainer */
.subcontainer-custom > p,
.subcontainer-custom > ul,
.subcontainer-custom > ol,
.subcontainer-custom > h1,
.subcontainer-custom > h2,
.subcontainer-custom > h3,
.subcontainer-custom > h4,
.subcontainer-custom > h5,
.subcontainer-custom > h6,
.subcontainer-custom > figure,
.subcontainer-custom > .news-item-box,
.subcontainer-custom > .read-also-box{
    max-width: 670px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.ajax-upload-articles > .article-item:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

/* currency icon in title */
img.fl_currency_com {
    display: inline;
    width: 18px !important;
    height: 18px;
    margin-bottom: -3px;
}
.index-page .top-page-box img.fl_currency_com {
    margin-bottom: -3px;
}

/* no shadow */
.banner-vertical::after {
    content: none;
}

/* fix banners */
.top-banner,
.banner-box {
    text-align: center;
}
.banner-box img {
    width: auto;
    height: auto;
    max-width: none;
    min-width: 0;
    margin: 0 auto;
    border-radius: 0;
}

/* videos */
.subcontainer-custom .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.subcontainer-custom .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* OLD STYLES FOR OLD POSTS */

.subcontainer-custom .news-banner {
    max-width: 728px;
    height: auto;
    margin: 0 auto;
    padding: 20px 0;
}
.subcontainer-custom .news-banner img {
    margin: 0;
}

.subcontainer-custom .align-left,
.subcontainer-custom .align-right,
.subcontainer-custom .align-center {
    max-width: 50%;
    width: auto;
}
.subcontainer-custom .align-left,
.subcontainer-custom div.img-content.align-left {
    float: left;
    margin: 24px 24px 24px 0;
}
.subcontainer-custom .align-right,
.subcontainer-custom div.img-content.align-right {
    float: right;
    margin: 24px 0 24px 24px;
}
.subcontainer-custom div.img-content.align-left {
    margin-left: 86px;
}
.subcontainer-custom div.img-content.align-right {
    margin-right: 86px;
}
p + div.img-content.align-left,
p + div.img-content.align-right {
    margin-top: 6px !important;
}
p img.align-left,
p img.align-right {
    margin-top: 6px !important;
}
.subcontainer-custom .align-center {
    display: block;
    margin: 24px auto;
}

.subcontainer-custom .read-also {
    display: block;
    max-width: 700px;
    margin: 50px auto;
    border: 1px solid #e2e2e4;
    padding: 20px 50px;
}
.subcontainer-custom .read-also p {
    /*font-family: "Dinpro";*/
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}
.subcontainer-custom .read-also ul {
    max-width: 600px;
    list-style-type: none;
    padding-left: 0;
}
.subcontainer-custom .read-also ul li {
    /*font-family: "Dinpro";*/
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}
.subcontainer-custom .read-also ul li a {
    color: #fa251f;
    font-weight: 500;
}
.subcontainer-custom .read-also ul li a:hover {
    text-decoration: none;
}

.subcontainer-custom .social-wrapper {
    display: flex;
    justify-content: center;
}
.subcontainer-custom .social-wrapper > * {
    margin-left: auto;
    margin-right: auto;
}

.subcontainer-custom .item-3 {
    border: 1px solid #e2e2e4;
    margin: 50px auto;
    background: #ffff;
}
.subcontainer-custom .item-3 .data {
    /*font-family: "Dinpro";*/
    font-size: 16px;
    font-weight: 400;
    color: #959595;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
}

.subcontainer-custom .review-box {
    display: flex;
    max-width: 700px;
    background: #f5f5f5;
    padding-top: 40px;
    margin: 50px auto;
}
.subcontainer-custom .review-box blockquote {
    max-width: 427px;
    border-left: none;
    padding-left: 0;
    margin: 10px 30px 25px 10px;
}
.subcontainer-custom .review-box blockquote p {
    color: #616161;
    /*font-family: "PT Sans";*/
    font-size: 18px;
    font-weight: 400;
    line-height: 1.38em;
    margin-top: 0;
}
.subcontainer-custom .review-box .medallion {
    padding: 0 42px;
}
.subcontainer-custom .review-box .medallion img {
    border-radius: 50%;
    overflow: hidden;
    width: 120px;
}

.num-day-number {
    font-size: 24px;
    line-height: 1.12em;
    text-align: center;
    color: #000;
    max-width: 700px;
    margin: 59px auto;
    padding: 37px 24px 44px;
    border: 6px solid #178396;
}
.num-day-number.has-bg {
    color: #fff;
    padding: 81px 24px 89px;
    border: 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}
.num-day-number > *:first-child {
    margin-top: 0 !important;
}
.num-day-number > *:last-child {
    margin-bottom: 0 !important;
}
.num-day-number .day {
    display: block;
    /*font-family: 'Dinpro';*/
    font-weight: 500;
    font-size: 60px;
    line-height: 1em;
    color: #178396;
    margin: 0 0 5px;
}
.num-day-number.has-bg .day {
    font-size: 70px;
    line-height: 1em;
    color: #fff;
    margin: 0 0 13px;
}
.num-day-number .large-text {
    display: block;
    /*font-family: 'Dinpro';*/
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2em;
    color: #178396;
    margin: 0 0 45px;
}
.num-day-number.has-bg .large-text {
    font-size: 33px;
    line-height: 1.2em;
    color: #fff;
}
.num-day-number p {
    font-size: 24px !important;
    line-height: 1.166666666666667em !important;
    max-width: 420px !important;
    margin: 0 auto 14px !important;
}
.num-day-number.has-bg p {
    font-size: 25px !important;
    line-height: 1.12em !important;
}

@media (max-width: 1199px) {
    .subcontainer-custom .review-box {
        padding-top: 40px;
        margin: 50px auto;
    }
    .subcontainer-custom .review-box blockquote {
        margin: 10px 30px 20px 10px;
    }
    .subcontainer-custom .review-box .medallion {
        padding: 0 22px;
    }
    .subcontainer-custom .review-box .medallion img {
        min-width: 120px;
    }
}
@media (max-width: 991px) {
    .subcontainer-custom .review-box {
        flex-direction: column;
        padding-top: 30px;
        margin: 30px auto;
    }
    .subcontainer-custom .review-box blockquote {
        margin: 10px 30px 20px 30px;
    }
    .subcontainer-custom .review-box blockquote p {
        line-height: 1.38em;
        margin-top: 0;
    }
    .subcontainer-custom .review-box .medallion {
        padding: 0 10px 0 22px;
        margin: 0 auto;
    }
    .subcontainer-custom .review-box .medallion img {
        margin: 10px auto;
    }
}
@media (max-width: 767px) {
    .subcontainer-custom .review-box {
        flex-direction: row;
        padding-top: 40px;
        margin: 40px auto;
    }
    .subcontainer-custom .review-box blockquote {
        margin: 10px 30px 20px 10px;
        max-width: 470px;
    }
    .subcontainer-custom .review-box .medallion {
        padding: 0 32px;
        margin: 0;
    }
    .subcontainer-custom .quote-box {
        margin: 35px auto;
    }
    .subcontainer-custom .read-also {
        margin: 20px auto;
        padding: 10px 24px;
    }
    .subcontainer-custom .read-also ul {
        margin: 0;
    }
    .subcontainer-custom .read-also ul li {
        margin-bottom: 10px;
    }
}
@media (max-width: 600px) {
    .subcontainer-custom .review-box {
        flex-direction: column;
        padding-top: 30px;
        margin: 40px auto;
    }
    .subcontainer-custom .review-box blockquote {
        margin: 10px 24px 10px 24px;
        max-width: 100%;
    }
    .subcontainer-custom .review-box .medallion {
        padding: 0 32px;
        margin: 0;
    }
    .subcontainer-custom .content-quote {
        padding: 44px 0 15px 0;
    }
    .subcontainer-custom .content-quote p:first-child:before {
        top: 24px;
    }
}
@media (max-width: 480px) {
    .subcontainer-custom .review-box{
        margin: 40px auto;
    }
    .subcontainer-custom .review-box blockquote{
        margin: 10px 24px 0 24px;
        max-width: 100%;
    }
    .material .content-main span.textbox{
        margin: 30px auto;
        padding-left: 20px;
        font-size: 17px;
    }
    .subcontainer-custom .quote-box {
        margin: 40px auto;
    }
    .subcontainer-custom .quote-box .data {
        margin-top: -15px;
    }
    .subcontainer-custom .content-quote {
        padding: 34px 0 1px 0;
    }
    .subcontainer-custom .content-quote p:first-child:before {
        top: 15px;
    }
    .subcontainer-custom .item-3 {
        margin-bottom: 25px;
    }
    .subcontainer-custom .item-3 .data {
        margin-top: -10px;
        margin-bottom: 23px;
    }
    .subcontainer-custom .read-also {
        margin: 40px auto;
        padding: 5px 16px;
    }
    .subcontainer-custom .read-also ul {
        margin: 0;
    }
    .subcontainer-custom .read-also ul li {
        margin-bottom: 20px;
    }
}

.sub-header {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 26px;
    text-align: left;
    color: #777;
    padding: 0;
}

@media screen and (max-width: 500px) {
    .index-page .top-page-box .main-news .label {
        display: none !important;
    }
}

@media screen and (max-width: 650px) {
    .small-news-box.hide-top {
        display: none !important;
    }
}

.search-results-list.filter-box li:before{
    content: none;
}

.page-has-banner {

}

.sub-header.custom-red a {
    color: #d12336;
}

/*read also shortcode urls*/
.text a.title:not(:last-child) {
   margin-bottom: 10px;
}
.has-aside.without-template #main {
    margin: 0 auto;
}