/*
Theme Name:     Notarius
Theme URI:
Description:    Minimal
Author:         Roman Strakhov <roman@strakhov.ru>
Author URI:
Version:        0.1.0
*/
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,700,700i&subset=cyrillic');

.bg__cream { background-color:rgb(248, 240, 234); }

.bg__white { background-color:white; }

.clickable { cursor:pointer; }

body {
    font-family:Roboto, sans-serif;
    font-size:15px;
    }

section {
    padding-top:20px;
    padding-bottom:30px;
    }

h1, h2, h3, h4, p, ul, ol, dl {
    margin-bottom:15px;
    }

/* ---- everything has an underline by default */
a {
    text-decoration:underline;
    }

/* ---- removing underlines on bootstrap components */
a.btn,
.nav a,
.navbar a,
.pagination a,
.pager a,
.list-group a,
.breadcrumb a {
    text-decoration:none;
    }

.nav a:hover,
.navbar a:hover,
.list-group a:hover,
.breadcrumb a:hover {
    text-decoration:underline;
    }

a.locallink {
    text-decoration:none;
    border-bottom-width:1px;
    border-bottom-style:dashed;
    }

#part01 {
    padding-top:50px;
    }

#part06 {
    font-size:85%;
    }

.news__text {
    font-size:80%;
    }

.news__date {
    color:#999999;
    margin-top:1em;
    margin-bottom:1em;
    font-size:75%;
    }

.news h3 {
    font-size:100%;
    font-weight:bold;
    margin-top:0;
    }

.news .news-important {
    background-color: rgba(255,0,0,.1);
    border-radius: 10px;
    }

.news .news-important:hover {
    background-color: rgba(255,0,0,.15);
    }

.btn-isolated {
    margin-right:1em;
    margin-bottom:1em;
    }

#introduction__buttons {
    margin-top:1.5em;
    margin-bottom:1.5em;
    }

#headline {
    padding-bottom:20px;
    }

#headline__region {
    text-transform:uppercase;
    letter-spacing:0.3em;
    font-size:75%;
    margin-bottom:0.5em;
    }

#headline h1,
#headline__title {
    font-size:200%;
    letter-spacing:-0.05em;
    line-height:1.1;
    font-weight:bold;
    margin-top:0;
    }

#frontpage-news {
    border-top:5px solid rgb(132, 27, 14);
    border-bottom:2px solid rgb(132, 27, 14);
    }

#maintext {
    background-color:white;
    border-top:5px solid rgb(132, 27, 14);
    border-bottom:2px solid rgb(132, 27, 14);
    padding-bottom:1em;
    }

#maintext h1 {
    font-size:160%;
    font-weight:bold;
    }

#maintext h2 {
    margin-top:2em;
    font-size:120%;
    }

#maintext h3 {
    font-size:100%;
    }

#frontpage-contacts {
    margin-top:-5em;
    background-color:white;
    border-radius:5px;
    padding:2em;
    }

#contacts-brief {
    font-size:85%;
    border-left:1px solid rgba(132, 27, 14, 0.5);
    }

/* Extra small devices (phones, 768px and down) */
@media (max-width:767px) {

    .footer__copyright,
    .footer__informers,
    .footer__author {
        text-align:center;
        }

    .footer__informers {
        margin-bottom:1em;
        }

    #headline {
        text-align:center;
        }

    #contacts-brief {
        /*background-color: white;*/
        /*border-radius: 5px;*/
        font-size:85%;
        /*margin-bottom: 1em;*/
        border:0;
        text-align:center;
        padding:1em;
        }

    .btn-isolated {
        display:block;
        margin-bottom:1em;
        text-align:center;
        }

    .paperlist {
        padding:1em;
        font-size:85%;
        }

    }

#quicknotes, #contacts, #frontpage-contacts {
    font-size:85%;
    }

#quicknotes {
    padding-right:5em;
    }

#quicknotes dt {
    font-weight:normal;
    margin-bottom:0.5em;
    }

#contacts__phone, #contacts-brief__phone {
    font-size:175%;
    font-weight:bold;
    letter-spacing:-0.05em;
    white-space:nowrap;
    }

#contacts-full__phone {
    font-size:120%;
    font-weight:bold;
    letter-spacing:-0.05em;
    white-space:nowrap;
    }

h1, h2, h3,
#contacts__phone,
#contacts-brief__phone,
#contacts-full__phone,
#headline__title,
a.headline__link,
.color--brown {
    /*color: rgb(120,39,34);*/
    color:rgb(132, 27, 14);
    }

a.headline__link {
    text-decoration:none;
    }

.headline__link:hover {
    /*color: rgba(120,39,34,0.2);*/
    text-decoration:underline;
    text-decoration-color:rgb(132, 27, 14);
    }

.fullcontacts__map {
    border:1px solid rgba(132, 27, 14, 0.5);
    padding:0;
    }

.color--red { color:#ee0000; }

.weight--bold { font-weight:bold; }

.weight--normal { font-weight:normal; }

ul.list--dashed {
    margin:0;
    padding-left:15px;
    list-style-type:none;
    }

ul.list--dashed > li {
    text-indent:-15px;
    }

ul.list--dashed > li:before {
    content:"— ";
    text-indent:-15px;
    }

#part04 {
    background-image:url('i/visit.jpg');
    background-size:cover;
    background-repeat:no-repeat;
    background-position:bottom;
    }

.webforms__intro {
    padding-top:10px;
    }

.webforms__tile {
    padding-bottom:1em;
    padding-top:1em;
    border-radius:5px;
    vertical-align:top;
    display:inline-block;
    /*padding-left: 90px;*/
    /*min-height: 120px;*/
    /*background-image:url('i/page3.svg');*/
    /*background-repeat:no-repeat;*/
    }

.formlink__page {
    margin-right:1em;
    float:left;
    }

.webforms__tile:hover {
    background-color:white;
    }

.athome {
    padding-top:2em;
    padding-bottom:2em;
    color:white;
    text-shadow:1px 1px 4px black;
    }

.athome h2 {
    color:white;
    /*font-weight:bold;*/
    text-shadow:2px 2px 5px black;
    }

.services {
    padding-bottom:2em;
    }

.container > .row > h2,
.athome h2 {
    margin-bottom:1em;
    }

.athome p {
    font-size:140%;
    }

.fullcontacts h3 {
    margin-top:0;
    font-size:125%;
    font-weight:bold;
    }

.fullcontacts__map {
    margin-bottom:2em;
    }

/*h2 {font-weight: bold;}*/

.wrap--no {
    white-space:nowrap;
    }

.table-noborder > tbody > tr > td,
.table-noborder > tbody > tr > th,
.table-noborder > tfoot > tr > td,
.table-noborder > tfoot > tr > th,
.table-noborder > thead > tr > td,
.table-noborder > thead > tr > th {
    border:0;
    }

.table-compact > tbody > tr > td,
.table-compact > tbody > tr > th,
.table-compact > tfoot > tr > td,
.table-compact > tfoot > tr > th,
.table-compact > thead > tr > td,
.table-compact > thead > tr > th {
    line-height:1.1em;
    padding:0;
    }
/* 
.table-price {
    margin-top:2em;
    font-size: 85%;
    } */

.table-price td {
    text-align:left;
    }

.table-price td:last-of-type {
    width:40%;
    text-align:right;
    }

.paperlist {
    padding:3em;
    margin-top:2em;
    border:1px solid #cccccc;
    box-shadow:black 2px;
    }

.spoiler-trigger strong {
    border-bottom-width:1px;
    border-bottom-style:dashed;
    }

.marginbottom {
    margin-bottom:4px !important;
    }

.marginbottom__none {
    margin-bottom:0 !important;
    }

.margintop__large {
    margin-top:2em !important;
    }

.margintop__none {
    margin-top:0 !important;
    }

/* ********************* Forms ********************* */

.webforms__disclaimer {
    font-size:80%;
    color:#666666;
    }

.webforms__disclaimer {
    margin-top:1.5em;
    }

.onlineform__disclaimer {
    font-size:80%;
    }

.onlineform__button {
    margin-top:2em;
    margin-bottom:2em;
    }

.form-control-inline {
    width:auto;
    display:inline-block;
    }

.logo {
    padding-bottom:1em;
    }

.logo-left {
    float:left;
    padding-right:20px;
    }

/* ********************* Footer ********************* */

.footer__author {
    color:#666666;
    }

.footer__author a,
.footer__author a:link,
.footer__author a:visited,
.footer__author a:active {
    color:#666666;
    }

.footer__regnum {
    color:#666666;
    }