/**
 * 
 * Тема : Типографика.
 * 
 *
 * 
 */

.screen-reader-text {
    display: none;
}

/*
 * -----------------------------------------------------------------------------
 *
 * Шрифты.
 *
 * -----------------------------------------------------------------------------
 */


/*
 * -----------------------------------------------------------------------------
 *
 * Основное.
 *
 * -----------------------------------------------------------------------------
 */
html {
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    
    font-weight: 400;
    
    background-color: #fff;
    color: #1a1a1a;
}

h1,
h2,
h3,
h4,
h5,
h6 { 
    margin: 0;
    font-weight: 700;
}
p {
    margin-top: 0;
}
a {
    text-decoration: none;
}


img {
    width: 100%;
    height: auto;
}

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

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

/*
img {
    width: 100%;
    height: auto;
}
*/


/*
 * -----------------------------------------------------------------------------
 *
 * Контент.
 *
 * -----------------------------------------------------------------------------
 */



/*


.entry-content a[id] {
    display: block;
    width: 1px; height: 1px;
    visibility: hidden;
    transform: translateY(-90px);
}


*/



.entry-content a:not(.btn),
.entry-content a:not(.btn):focus,
.entry-content a:not(.btn):active,
.entry-content a:not(.btn):hover {
    text-decoration: underline;
    color: #100773;
}
.entry-content a:not(.btn):hover {
    text-decoration: none;
}

.entry-content a[href^="tel:"],
.entry-content a[href^="mailto:"] {
    font-weight: 700;
}




.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 { 
    margin-top: 0;
    margin-bottom: 0;
    
    font-weight: 700;
    
    
}

.entry-content h1 { font-size: 1.50em; color: #100773;}
.entry-content h2 { font-size: 1.25em; color: #100773; }
.entry-content h3 { font-size: 1em; }
.entry-content h4 { font-size: 1em; }
.entry-content h5 { font-size: 16px;font-family: Times New Roman; }
.entry-content h6 { font-size: 1em; }


.entry-content p {
    margin-top: 0;
}


.entry-content hr {
    margin: 2rem 0;
    border-top: 2px solid #e2eff5;
}

.entry-content .gallery-box {
    margin-bottom: 15px;
}



.entry-content blockquote {
    margin: 0;
    padding: 1.5em 2em;
    background: #100773;
    color: #fff;
}
.entry-content blockquote a,
.entry-content blockquote a:focus,
.entry-content blockquote a:active,
.entry-content blockquote a:hover {
    color: #fff;
}




.entry-content ol {
    list-style: none; 
    counter-reset: li; 
}
.entry-content ol li:before {
    margin-left: -1em;
    counter-increment: li; 
    content: counters(li,".") ". "; 
    font-weight: 600;
}

.entry-content b,
.entry-content strong {
    font-weight: 700;
}
.entry-content i,
.entry-content em {
    font-style: italic;
}




.entry-content ul {
    /* padding-left: 15px; */
}
.entry-content ol {
    /* padding-left: 0; */
}



.entry-content ol ol {
    padding-left: 1em;
}

.entry-content li {
    margin-bottom: 1em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    clear: both;
    margin-top: 3rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content img,
.entry-content blockquote,
.entry-content table {
    margin-bottom: 1rem;
}
.entry-content ul ul,
.entry-content ol ol {
    margin-top: 1em;
}


.entry-content table {
    width: 100%;
}
.entry-content tr:nth-of-type(2n+1) {
    background: #f0f0f0;
}
.entry-content th {
    font-weight: 700;
    background: #e0e0e0;
}
.entry-content th,
.entry-content td {
    padding: 5px 10px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.entry-content tr:hover td {
    background: #100773;
    color: #fff;
}

.entry-content table {
    font-size: .75em;
}
@media (min-width: 420px) {
    .entry-content table {
        font-size: .875em;
    }
}
@media (min-width: 560px) {
    .entry-content table {
        font-size: 1em;
    }
}


.entry-content img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .entry-content img {
        width: auto;
        height: auto;
    }
    .entry-content img.alignleft {
        max-width: 50%;
        float: left;
        margin-right: 30px;
    }
    .entry-content img.alignright {
        max-width: 50%;
        float: right;
        margin-left: 30px;
    }
    .entry-content img.aligncenter {
        clear: both;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .entry-content img.alignnone {
        width: 100%;
        height: auto;
    }
}

.entry-content p > img.alignleft,
.entry-content p > img.alignright,
.entry-content p > img.aligncenter,
.entry-content p > img.alignnone {
    margin-top: .5rem;
}

.entry-content blockquote > *:nth-child(1),
.entry-content > *:nth-child(1) ,
.entry-content > .col blockquote > *:nth-child(1),
.entry-content > .col > *:nth-child(1) {
    margin-top: 0 !important;
}
.entry-content blockquote > *:nth-last-child(1),
.entry-content > *:nth-last-child(1),
.entry-content > .col blockquote > *:nth-last-child(1),
.entry-content > .col > *:nth-last-child(1) {
    margin-bottom: 0 !important;
}



/*
 * -----------------------------------------------------------------------------
 *
 * Ховер картинок.
 *
 * -----------------------------------------------------------------------------
 */

.hover-search {
    position: relative;
    overflow: hidden;
}

.hover-search:hover::before {
    content: "";
    position: absolute; top: 0; bottom: 0; left: 0; right: 0;
    z-index: 20;
     
    background: rgba(0,0,0,.3);
}

.hover-search:hover::after {
    content: "";
    position: absolute; top: 0; bottom: 0; left: 0; right: 0;
    
    background-image: url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhcyIgZGF0YS1pY29uPSJzZWFyY2gtcGx1cyIgY2xhc3M9InN2Zy1pbmxpbmUtLWZhIGZhLXNlYXJjaC1wbHVzIGZhLXctMTYiIHJvbGU9ImltZyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTMwNCAxOTJ2MzJjMCA2LjYtNS40IDEyLTEyIDEyaC01NnY1NmMwIDYuNi01LjQgMTItMTIgMTJoLTMyYy02LjYgMC0xMi01LjQtMTItMTJ2LTU2aC01NmMtNi42IDAtMTItNS40LTEyLTEydi0zMmMwLTYuNiA1LjQtMTIgMTItMTJoNTZ2LTU2YzAtNi42IDUuNC0xMiAxMi0xMmgzMmM2LjYgMCAxMiA1LjQgMTIgMTJ2NTZoNTZjNi42IDAgMTIgNS40IDEyIDEyem0yMDEgMjg0LjdMNDc2LjcgNTA1Yy05LjQgOS40LTI0LjYgOS40LTMzLjkgMEwzNDMgNDA1LjNjLTQuNS00LjUtNy0xMC42LTctMTdWMzcyYy0zNS4zIDI3LjYtNzkuNyA0NC0xMjggNDRDOTMuMSA0MTYgMCAzMjIuOSAwIDIwOFM5My4xIDAgMjA4IDBzMjA4IDkzLjEgMjA4IDIwOGMwIDQ4LjMtMTYuNCA5Mi43LTQ0IDEyOGgxNi4zYzYuNCAwIDEyLjUgMi41IDE3IDdsOTkuNyA5OS43YzkuMyA5LjQgOS4zIDI0LjYgMCAzNHpNMzQ0IDIwOGMwLTc1LjItNjAuOC0xMzYtMTM2LTEzNlM3MiAxMzIuOCA3MiAyMDhzNjAuOCAxMzYgMTM2IDEzNiAxMzYtNjAuOCAxMzYtMTM2eiI+PC9wYXRoPjwvc3ZnPg==);
    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 48px auto;
    
    opacity: .85;
    
    animation: move-from-top .15s ease;
}

@keyframes move-from-top {
    from {
        opacity: 0;
        transform: translateY(-120%);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}






/*
 * -----------------------------------------------------------------------------
 *
 * Embed + WP Video.
 *
 * -----------------------------------------------------------------------------
 */

.wp-video {
    width: 100%;
}


.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-21by9::before {
    padding-top: 42.857143%;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-4by3::before {
    padding-top: 75%;
}

.embed-responsive-1by1::before {
    padding-top: 100%;
}


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


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