/*===========================================*/
/*===============   CONTACTS   ==============*/
/*===========================================*/
/*#content_text.contacts_page {
    max-width: 700px;
    margin: 0 auto 0;
}*/
#contact_name {
    margin-top: -2px;
    text-transform: uppercase;
    color: var(--font-color-accent);
    font-weight: bold;
    margin-bottom: -5px;
    font-size: 20px;
}
#contact_descr {
    line-height: 30px;
    color: var(--font-color-bold);
}
#contacts {
    font-size: 12px;
    margin-top: 5px;
}

#contacts .name_razdel {
    font-weight: 700;
    text-transform: uppercase;
}

#contacts .contacts_block {
    margin-top: 5px;
    line-height: 15px;
}

#contacts .contacts_block:first-child {
    margin-top: 3px;
    margin-left: 10px;
}

#contacts .contacts_block a {
    font-size: 22px;
    margin-left: -30px;
    text-decoration: none;
}
ul#contacts, ul.network {
    list-style: none;
}

ul#contacts li,
ul.network li {
    float: left;
    text-align: center;
    padding: 0 3px;
}
ul#contacts li:first-child {
    padding-left: 0;
}
.mylink {

}
ul#contacts li a,
ul.network li a {
    text-decoration: none;
}

ul#contacts li a:hover,
ul.network li a:hover {
    text-decoration: underline;
}
.contacts_page h2 {
    margin: 40px 0 15px 0;
    color: var(--font-color-accent);
}
/*.info_block a {
    font-weight: bold;
}*/
#td_phone {
    font-size: 18px;
    margin-top: -7px;

}
/*#td_phone a, #td_phone a span, #td_phone span {
    font-weight: 400!important;
    font-size: 18px;
}*/
.mylink {
    margin-left: 0;
}
/*#facebook button {
    background-color: red!important;
}*/

.badges {
    list-style: none;
}
.badges li {
    padding: 2px;
    display: inline-block;
}
.badges li img {
    max-width: 80px;
}

#dimas_photo {
    width: 250px;
    float: left;
    margin: 0 30px 0 60px;
}

.contacts_page a.phone {
    font-size: 20px;
    top: -7px;
    /* color: #8c8c8c; */
    position: relative;
    text-decoration: none;
}

#fearless {
    border:1px solid var(--border-color);
    overflow:hidden;
}
#follow_me {
    margin-top: 20px;
}
.follow_class {
    float: left;
    width: 345px;
    margin-right: 5px;
}
#instafeed img {
    width: 110px;
    margin: 0 2px;
}
.follow_class h2 img {
    top: 7px;
    margin-right: 5px;
}
#wechat_window2 {
    right: 89px;
}
#full_contacts {
    display: inline-block;
}
/*#my_regalies {
    display: table;
}*/
ul.col8>li {
    display: inline-block;
}

.badge {
    width: 80px;
    height: 80px;
    border-radius: 100px;
    border: 1px solid var(--font-color-accent);
/*    -webkit-filter: grayscale(100%);
    -moz-filter:    grayscale(100%);
    -ms-filter:     grayscale(100%);
    -o-filter:      grayscale(100%);
    filter: gray;*/
    opacity: 0.5;
}
.badge:hover {
/*    -webkit-filter: grayscale(0);
    -moz-filter:    grayscale(0);
    -ms-filter:     grayscale(0);
    -o-filter:      grayscale(0);
    filter: none;*/
    opacity: 1;
}



/*
------ FROM ASK-LABEL ------
*//*
.ask_label {
    margin: 5px 0 0 0;
}
.ask_label ul {
    list-style: none;
}
.ask_label li {
    margin-top: 8px;
}
.ask_label span {
    font-size: 1.3rem;
}
.ask_label label {
    display: inline-block;
    width: 20%;
    padding: 0 3% 0 2%;
    color: #8b8c8c;
    text-align: right;
    vertical-align: top;
}
.ask_label input:not([type="submit"]), .ask_label textarea, .ask_label select {
    width: 63%;
    display: inline-block;
    font-size: 13px;
    color: inherit;
    padding: 2px 4px 0;
    border: 1px solid #b3b3b3;
}
.ask_label .error {
    width: 63%;
    margin-left: 36%;
    font-size: 1.1rem;
}
.ask_label input[type=radio]{
    width: auto;
    top: -2px;
}
.ask_label select {
    *//*background: url(/img/select_arr.png) no-repeat 98% center;*//*
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.ask_label textarea {
    height: 100px;
}
.ask_label .button {
    margin-left: 26%;
}
*//*.button {
    font-size: 14px;
    color: #fff;
    background: #4baeb4;
    text-decoration: none;
    border: 0;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    padding: 5px 40px;
    display: inline-block;
}
.button:hover {
    text-decoration: none;
    cursor: pointer;
    background: #3e8187;
}*//*

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

form.amp-form-submit-success [submit-success],
form.amp-form-submit-error [submit-error] {
    margin-top: 16px;
    display: block;
}
form.amp-form-submit-success [submit-success],
form.amp-form-submit-success [submit-success] div {
    color: green;
    display: block;
}
form.amp-form-submit-error [submit-error],
form.amp-form-submit-error [submit-error] div {
    color: red;
    display: block;
}
form.amp-form-submit-success.hide-inputs > input {
    display: none;
}
[visible-when-invalid].visible {
    display: block;
    margin-left: 26%;
}*/

/*#dimas_photo {
    border: 1px solid  #3e8187;
    border-radius: 150px;
    width: 200px;
    height: 200px;
    top: -100px;
    margin-left: calc(50% - 150px);
    position: absolute;
}*/

#contact_descr span {
    line-height: 17px;
    padding: 9px 0;
    display: block;
}
#contact_descr b span {
    font-weight: 600;
    color: var(--font-color-bold);
}

.contact_list {
    list-style: none;
}
.contact_list li {
    text-transform: uppercase;
    padding-top: 3px;
    margin: 0;
    line-height: 1.4rem;
}
.contact_list strong {
    display: inline-block;
    width: 83px;
    text-align: right;
    font-weight: 300;
    padding-right: 9px;
    font-size: 13px;
}
.contact_list a {
    color: var(--font-color-accent);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}
.contact_list a:hover:not(.button),
.contact_list a:hover:not(.btn) {
    text-decoration: underline;
}

/*.badges {
    list-style: none;
    max-width: 650px;
}*/

#about_filling {
    padding: 25px 60px 0;
}
/*.ask_label .button_transparent {
    margin-left: 177px;
}*/
div#result {
    text-align: center;
    font-size: 1.2rem;
    color: var(--font-color-success);
}
#open_online_chat {
    display: none;
    color: var(--bg-color-main);
}
.dimas_ava {
    border-radius: 100px;
    margin-left: calc(50% - 110px);
    position: relative;
    top: -110px;
    margin-bottom: -88px;
}
.dimas_descr {
    background-color: var(--bg-color-second);
    padding: 0 50px 50px 50px;
    margin: 180px auto 0;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    font-size: 1.1rem;
}


/*.dimas_descr p, .dimas_descr ul {
    margin: 0 0 20px 0;
    line-height: 1.5;
}*/
/*  ======= FAQ AMP ACCORDION */

/*
.faq amp-accordion p {
    text-indent: 0;
}
.faq amp-accordion {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
.faq amp-accordion section {
    background-color: #fff;
    border-top: 1px solid #ccc;
    position: relative;
}
.faq h2 {
    !*text-transform: uppercase;*!
    background-color: #fff;
    font-weight: 300;
    border: none;
    color: #4baeb4;
    margin: 10px 25px 10px 10px;
    font-size: 1.1rem;
    outline: none;
}
.faq amp-accordion>section[expanded]>:last-child {
    padding: 10px 40px;
}
.faq amp-accordion>section:before {
    content: "⌃";
    position: absolute;
    font-size: 34px;
    top: 1px;
    color: #bdbdbd;
    right: 0;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    z-index: 10;
}
.faq amp-accordion>section[expanded]:before {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
    top: 11px;
}*/



#full_contacts ul.soc_net_svg {
    text-align: left;
    margin-left: 5px;
}
/*.faq-input:checked+.div-accordion>section>label>h2 {
    color: red;
}*/
.info_text h4 {
    color: #787676;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 5px 0 3px 0;
}
/*======================================================*/
@media screen and (max-width:960px) {
    /*#content_text.contacts_page {
        margin: 30px auto 0;
    }*/
    .contacts td {
        padding: 10px;
        float: left;
    }
    .info_block {
        margin: 0 7px 38px 0;
    }
}

@media screen and (max-width:650px) {
    /*#content_text.contacts_page {
        max-width: 100%;
    }*/
    #dimas_photo{
        padding: 0 10px 0 0;
        width: 40%;
        height: auto;
        float: none;
    }
    /*#dimas_photo img {
        width: 100%;

    }*/

    #about_filling {
        padding: 25px 0 0;
    }
    .info_block {
        margin: 0 7px 0 0;
        text-align: center;
    }
    ul.soc_net_big li {
        display: inline-block;
    }
    #full_contacts ul.soc_net_svg {
        text-align: center;
        margin-left: 5px;
    }
    /*ul.soc_net_big {
        margin: 18px 0 14px 11px;
    }*/
}

@media screen and (max-width:650px) {
    #dimas_photo {
        width: 40%;
        margin: 0 auto 20px;
        padding: 0;
    }
    ul.soc_net_small li {
        min-height: 26px;
    }
  /*  ul.soc_net_small li .ico {
        display: none;
    }*/
    ul.soc_net_small li a span {
        margin-left: 6px;
    }
    .dimas_descr {
        margin-top: 200px;
        padding: 0 20px 20px;
    }

    #full_contacts {
        display: block;
        text-align: center;
    }
    .dimas_ava {
        margin-left: calc(50% - 110px);
    }
    /*.ask_label .button_transparent {
        margin-left: 0;
    }*/
}
@media screen and (max-width:650px) {
    #full_contacts ul.soc_net_big{
        text-align: center;
    }
}
@media screen and (max-width:600px) {
    #dimas_photo {
        width: 50%;
        height: auto;
        /* padding-bottom: 20px; */
        margin: 0 auto 20px;
        float: none;
    }
    .info_block {
        text-align: center;
    }
    #full_contacts {
        display: block;
        width: 80%;
        margin: 0 auto;
    }
/*    ul.soc_net_big, ul.soc_net_small {
        min-width: 0;
    }*/
    /*
    .ask_label li {
        margin-top: 3px;
    }
    .ask_label label {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0 0 0 2px;
    }
    .ask_label input, .ask_label textarea, .ask_label select {
        width: 100%;
        display: block;
    }
    .ask_label .button {
        margin-left: 0;
        margin-top: 10px;
    }
    */

}

@media screen and (max-width:390px) {
    #dimas_photo {
        width: 80%;
    }
}
.bio_img {
    max-width: 300px;
    float: left;
    padding: 5px 18px 10px 0;
}
@media screen and (max-width:600px) {
    .bio_img {
        max-width: none;
        width: 100%;
    }
}