/*
Theme Name: sf-health
Author: <a href="http://rursul.ru">Ursul Roman Mihailovich</a>
Description: base wp theme
Version: 1.0
*/

.screen-reader-response,
form .wpcf7-response-output,
form .wpcf7-not-valid-tip,
form .wpcf7-mail-sent-ok {
  display: none !important;
}
form .wpcf7-not-valid:not(.wpcf7-checkbox) {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 1px #c00;
}

.clear {
    clear: both;
}

.ajax-loader {
	display: none !important;
}

button:disabled,
input[type="submit"]:disabled {
    filter:         url(~"data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(100%);
    filter: gray;
    cursor: not-allowed;
}

input::-webkit-input-placeholder {color:#999;}
input::-moz-placeholder          {color:#999;}
input:-moz-placeholder           {color:#999;}
input:-ms-input-placeholder      {color:#999;}

.popup {
    width: 400px;
    padding: 30px;
    background: #fff;
    text-align: center;
}

.popup_code {
    text-align: left;
    width: 500px;
}

.popup_code form {
    margin: 20px 0;
    position: relative;
}

.popup_code form .item-form{
    width: 100%;
}

.popup_code form .item-form input{
    line-height: 44px;
    height: 44px;
}

.popup_code form button {
    position: absolute;
    right: 0;
    top: 0;
}

.popup_code .btn_wr a{
    width: 100%;
    font-size: 16px;
    line-height: 50px;
    height: 50px;
    margin-top: 20px;
}

.popup_code .bottom_info {
    justify-content: space-between;
    border-top: 1px solid #ccc;
    margin-top: 20px;
    padding-top: 20px;
}

.popup_code .bottom_info .info {
    font-size: 14px;
    line-height: 1.4em;
}

.popup_code .article {
    margin-bottom: 0 !important;
    padding-top: 30px !important;
    padding-bottom: 0 !important;
}

.popup_code .btn_wr a.btn-sm {
    height: auto;
    margin: 0;
    line-height: 1.2em !important;
    padding: 5px 10px !important;
    font-size: 12px;
    font-weight: normal;
    background: #f78aaa;
}

.popup_code .btn_wr a.btn-sm:hover {
    background-color: #946FDE;
    border-color: #946FDE;
    color: #fff;
}

.popup .title {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 15px;
}

.popup .subtitle {
    padding-bottom: 15px;
}

.popup .item-form{
    margin-bottom: 15px;
}

.popup .checkbox {
    margin-top: 0;
    margin-bottom: 15px;
}

.article .text-main a:not(.btn-main) {
    color: #659CCF;
    text-decoration: underline;
}

h3 {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 10px;
    font-weight: 500;
    font-family: 'Helvetica Neue';
}
.pager a,
.articles__item {
    color: #000;
}
.pager a:hover,
.articles__item:hover {
    color: #946FDE;
}

.item-schedule  {
    position: relative;
}

.item-schedule .ccal {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 12px;
}

.articles_listing > .article {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
}


.articles_listing > .article .img_wr {
    width: 200px;
}

.articles_listing > .article .right {
    width: calc(100% - 200px);
    padding-left: 30px;
}

@media screen and (max-width: 500px){
    .articles_listing > .article {
        display: block;
    }
    .articles_listing > .article .img_wr {
        width: 100%;
    }
    
    .articles_listing > .article .right {
        width: 100%;
        padding-top: 20px;
        padding-left: 0;
    }
    
    .popup_code {
        padding: 15px;
        width: 280px;
    }
    
    .popup_code form {
        margin: 10px 0;
    }

    .popup_code .bottom_info {
        margin-top: 10px;
        padding-top: 10px;
    }
    .popup_code form button {
        position: relative;
        width: 100%;
    }
    .popup_code .bottom_info {
        display: block;
    }
    .popup_code .bottom_info .info {
        padding-bottom: 10px;
    }
    .popup_code .btn_wr a {
        line-height: 44px;
        height: 44px;
        font-size: 14px;
        margin-top: 10px;
    }
    .popup_code .article {
        padding-top: 20px !important;
    }
    
}

.articles_listing .text-main {
    margin-bottom: 20px;
}

.articles_listing .link a{
    color: #946FDE;
    border-bottom: 1px solid;
}


.articles_listing .link a:hover{
    color: #FF6D8D;
}

.pager {
    padding-bottom: 30px;
}

.pager * {
    width: 30px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 18px;
    display: inline-block;
}

.df {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.form_course_wr {
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #946FDE;
    padding: 30px;
}


.form_course .item-form,
.form_course .checkbox {
    margin-bottom: 10px;
    margin-top: 0;
}

.form_course .item-form input {
    border: 1px solid #946FDE;
}

.faq .item .q.df {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0 !important;
    cursor: pointer;
}

.faq .item {
    background: #F8F8FE;
    padding: 20px;
}

.faq .item + .item {
    margin-top: 20px;
}

.faq .item .q.df span {
    width: calc(100% - 20px);
    padding-right: 10px;
}

.faq .item .q.df i {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    display: block;
    transition:All 0.2s ease-in-out;
	-webkit-transition:All 0.2s ease-in-out;
	-moz-transition:All 0.2s ease-in-out;
	-o-transition:All 0.2s ease-in-out;
}

.faq .item .q.df.open i {
    -moz-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.faq .item .a{
    margin-top: 20px;
}
