/**
 * 
 * Раздел : Депутаты.
 * 
 *
 * 
 */


#iblock-deputy-list {
    
}

#iblock-deputy-info {
    
}


.col-deputy {
    flex-grow: 0;
}


/*
 * -----------------------------------------------------------------------------
 *
 * Превьюшка депутата.
 *
 * -----------------------------------------------------------------------------
 */

.deputy-excerpt {
    height: 100%;
    padding-bottom: 45px;
}

.deputy-excerpt .deputy-link {
    
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;    

    height: 100%;
    
    text-align: center;
    
    color: inherit;
}

.deputy-excerpt .deputy-link .thumb {
    width: 166px;
    height: 166px;
    
    margin: 0 auto 15px;
    
    border: 3px solid #e6e6e6;
    border-radius: 50%;
    
    overflow: hidden;
}



.deputy-excerpt .deputy-link .title {
    max-width: 180px;
    margin: 0 auto;
    
    text-transform: uppercase;
}
.deputy-excerpt .deputy-link .text {
    max-width: 180px;
    margin: 15px auto 0;
    
    font-size: .75em;
    color: #a6a6a6;
}
.deputy-excerpt .deputy-link .phone {
    max-width: 180px;
    margin: 15px auto 0;
    
    font-size: .75em;
    color: #100773;
    
}

.deputy-excerpt .deputy-link .divider {
    flex-grow: 1;
}


.deputy-excerpt .deputy-link:hover .thumb {
    border-color: #100773;
}
.deputy-excerpt .deputy-link:hover .title,
.deputy-excerpt .deputy-link:hover .text {
    color: #100773;
}


/*

-!!!

Имя в формате:

АЛЕКСАНДРОВ
Александр Александрович

Изменить формат в
p3_format_get_deputy_name();

-!!!

*/

.deputy-excerpt .deputy-link .title .family {
    text-transform: uppercase;
    font-size: 1em;
}
.deputy-excerpt .deputy-link .title .name {
    text-transform: none;
    font-size: 1em;
    
    white-space: nowrap;
}
.deputy-excerpt .deputy-link .text {
    font-size: .75em;
}


/*
 * -----------------------------------------------------------------------------
 *
 * Страница депутата.
 *
 * -----------------------------------------------------------------------------
 */

.deputy-post {
    
}

.deputy-post .col-thumb {
    -ms-flex: 0 0 180px;
    flex: 0 0 180px;
    max-width: 180px;
    
    padding-bottom: 45px;
}

.deputy-post .col-info {
    padding-bottom: 45px;
}

.deputy-post .name {
    
    font-size: 1.5em;
    text-transform: uppercase;
    color: #100773;
}


.deputy-post .col-thumb .name {
    display: none;
}
.deputy-post .col-info .name {
    display: block;
}

@media (max-width: 479px) {
    
    .deputy-post .col-thumb {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .deputy-post .col-info {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .deputy-post .col-thumb .name {
        display: block;
    }
    .deputy-post .col-info .name {
        display: none;
    }
    
    .deputy-post .col-thumb .thumb,
    .deputy-post .col-thumb .btn {
        max-width: 210px;
        margin-left: auto;
        margin-right: auto;
    }
    
}

@media (min-width: 768px) {
    .deputy-post .col-thumb {
        -ms-flex: 0 0 210px;
        flex: 0 0 210px;
        max-width: 210px;
    }
}



.deputy-post .col-thumb .thumb {
    display: block;
    margin-bottom: 1em;
    
    cursor: pointer;
}
.deputy-post .col-thumb .thumb img {
    display: block;
    margin-bottom: 0;
}



/*
 * -----------------------------------------------------------------------------
 *
 * Страница депутата : Заголовки разделов.
 *
 * -----------------------------------------------------------------------------
 */


.deputy-post .col-section {
    margin-bottom: 45px;
}

.deputy-post .col-section .title-box {
    position: relative;
    padding: 15px 0;
}

.deputy-post .col-section .title-box .title {
    font-weight: 400;
    font-size: 1.25em;
    text-transform: none;
    
    color: #100773;
}

/*@media (min-width: 768px) {*/
    .deputy-post .col-section .title-box::before {
        content: "";

        position: absolute; top: 55%; left: 0; right: 0;
        z-index: 10;

        width: 100%;
        height: 2px;

        background-color: #e2eff5;
    }
    .deputy-post .col-section .title-box .title {
        position: relative;
        z-index: 20;

        padding-right: 15px;
        
        background-color: #fff;
    }
/*}*/


/*
 * -----------------------------------------------------------------------------
 *
 * Страница депутата : Списки в биографии.
 *
 * -----------------------------------------------------------------------------
 */

.entry-content #deputy-reception ul {
    padding-left: 1em;
}
.entry-content #deputy-reception li {
    margin-bottom: 0;
}


/*
 * -----------------------------------------------------------------------------
 *
 * ...
 *
 * -----------------------------------------------------------------------------
 */

/**
 * ...
 * -----------------------------------------------------------------------------
 */


@media (min-width: 768px) {
    
}
@media (min-width: 992px) {
    
}
@media (min-width: 1200px) {
    
}

