@font-face{
    font-family:'FontAwesome';
    src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');
    src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
    url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
    url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),
    url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
    url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight:normal;font-style:normal
}
@media print{
    .print-area{
        -webkit-print-color-adjust: exact;
    }
    .textbox{
        padding-top: 0.5rem;
        font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
        font-size: 1rem;
        font-weight: normal;
        line-height: 1.5;
        color: #292b2c;
    }
    .textbox h4 {
        color: #f36a00;
    }
    .content-page h1 {
        color: #f36a00;
        padding-bottom: .63rem;
        font-weight: 500;
    }
    
    .mb-0 {
        margin-bottom: 0 !important;
    }
    h1, .h1 {
        font-size: 1.5rem;
    }
    .news-page{
       margin-top: 0;
       margin-bottom: 0;
    }
    .news-page .textbox p {
        font-weight: 300;
        font-size: 1.25rem;
        margin-top: 0;
        margin-bottom: 0;
    }
    a {
        color: #0f64aa;
        text-decoration: none;
    }
    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
        margin-bottom: .5rem;
        line-height: 1.1;
        color: inherit;
    }
    h5 {
        padding-bottom: 0rem;
        font-size: 1.38rem;
    }
    .news p {
        margin-top: 0;
        margin-bottom: 0;
    }
    .fa{
        display: none
    }
    .btn{
        display: none;
    }
    .info p{
        display: none;
    }
    .print-button{
        display: none;
    }
    .file:before{
        content:"\f016";
        font-family:'FontAwesome';
        margin-right:.63rem;
        color:black
    }
    
    .mb-5 {
        margin-bottom: 3rem !important;
    }
    .table {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    table {
        border-collapse: collapse;
        background-color: transparent;
    }
    .statistics .blue {
        color: #0f64aa;
    }
    .statistics .lightblue-bg {
        background-color: #e0f1ff;
    }
    .statistics th {
        vertical-align: middle;
        /*border: none;*/
        border: 1px solid;
        font-weight: 500;
    }
    .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #eceeeft;
    }
    .table th, td {
        padding: .75rem;
        vertical-align: top;
        border-top: 1px solid #eceeef;
        border-right: 1px solid #eceeef;
        border-left: 1px solid #eceeef;
        background-color: transparent;
    }
    th {
        text-align: left;
        color: black;
        /*border: 2px solid rgba(255,255,255,0.2) !important;*/
    }
    h1::first-letter {
        margin-top: 0;
        margin-bottom: 0;
    }
    .statistics tbody {
        /*border: 1px solid #e3e2e2;*/
        /*border-top: none;*/
    }
    tr {
        display: table-row;
        vertical-align: inherit;
        border-color: inherit;
    }

     .statistics td {
        /*border: none;*/
    }
    
    td {
        color: black;
    }
    
    .navbar{
        display: none !important;
    }
    
    footer {
        display: none !important;
    }
    
    h1::first-letter {
        margin-top: 0;
    }
    
    .tabs{
        display: none;
    }
    
    .error{
        display: none;
    }

}
   

.print-button{
    position:absolute; 
    right:10px;
    cursor:pointer;
}

.main-page .voting-box .right{
    padding-top: 50px;
}


.counter{
    padding-top: 40px;
    padding-bottom: 20px;
}
.main-page .download-box {
    padding-bottom: 1.88rem;
}
.main-page .download-box .btn{
    width: 9.31rem;
    height: 2.69rem;
    -webkit-border-radius: 6.25rem;
    -moz-border-radius: 6.25rem;
    border-radius: 6.25rem;
    background-color: #f36a00;
    color: #ffffff;
    font-family: 'Roboto';
    font-size: 1.13rem;
    margin-bottom: 0;
    cursor: pointer;
    vertical-align: middle;
}
.main-page .download-box a.guide {
    display: block;
    margin-top: 1.25rem;
}
.main-page .download-box .info p {
    margin: 0;
    padding: 1rem 1rem 0 1rem;
}
.main-page .download-box a.two {
    display: block;
    margin-top: 1rem;
}
.main-page .download-box a.two .btn{
    width: 11rem;
}

.block-upcoming .voting-box {
    padding-bottom: 0.5rem;
}

.content-page .textbox li{
    font-size: 1rem;
}

@media screen and (max-width:992px) {
    .content-page .textbox li{
        font-size: 1.25rem;
    }
}

.content-page .details{
    font-size: 1rem;
}

.main-page img{
    max-width: 100%;
}

h1 a{
    color: #ffffff; 
    font-size: 2.5rem !important;
    font-weight: 300 !important;
}

td {
    font-weight: 300;
}

h1{
    color: #f36a00;
    padding-bottom: .63rem !important;
    font-weight: 500 !important;  
    font-size: 1.5rem !important;
}

h2{
    padding-bottom: .63rem !important;
    font-size: 1.38rem !important;
}

h3{
    font-size:1.2rem !important;
    padding-bottom: .63rem !important;
}

h4{
    font-size: 1rem !important;
    padding-bottom: .63rem !important;
        color: #292b2c !important;
}

.main-page {
    padding-top: 1rem;
}

.main-page .outer-box .inner-box h1 {
    padding-bottom: 1.25rem !important;
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

.main-page img{
    max-width: 100% !important; 
    height: auto !important;
}
/*#articlearea table td {
    padding: 4px;
    background: #f3f3f3;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
}*/

/*.field-item td{
    padding: 4px;
}
*/
.main-page .voting-box h2 {
    font-size: 3rem !important;
}

.voting-box a {
    color: white;
}

.highContrast .form-control, .highContrast .btn, .highContrast .box-1, .highContrast .outer-box, .highContrast .voting-box, .highContrast .download-box, .highContrast .year-box, .highContrast .box, .highContrast .page-link, .highContrast th, .highContrast .voting-box-over, .highContrast .modal-content {
    color: yellow;
}

blockquote{
  display:block;
  padding: 15px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;
  
  
}

blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  
  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;
  
  /*Positioning*/
  position: absolute;
  left: 10px;
  top:5px;
}

blockquote::after{
  /*Reset to make sure*/
  content: "";
}

.navbar-brand {
    padding-top: .1rem;
    padding-bottom: .4rem;
}

.main-page .box-1.link-box-1 {
    background-image:url(../imgs/valimisjaoskonnad.svg);
    -moz-background-size:7.88rem 6.19rem;
    background-size:7.88rem 6.19rem
}
.main-page .box-1.link-box-2 {
    background-image:url(../imgs/kandidaadid.svg);
    background-position:50% 40%;
    -moz-background-size:8.69rem 3.75rem;
    background-size:8.69rem 3.75rem
}
.main-page .box-1.link-box-3 {
    background-image:url(../imgs/osavotu-statistika.svg);
    -moz-background-size:5.75rem 4.75rem;
    background-size:5.75rem 4.75rem
}
.main-page .box-1.link-box-4 {
    background-image:url(../imgs/erakonniti.svg);
    -moz-background-size:5.63rem 3.5rem;
    background-size:5.63rem 3.5rem
}
.main-page .box-1.link-box-5 {
    background-image:url(../imgs/valimistulemus.svg);
    -moz-background-size:7.88rem 4.81rem;
    background-size:7.88rem 4.81rem
}
.main-page .box-1.link-box-6 {
    background-image:url(../imgs/valdades-ja-linnades.svg);
    -moz-background-size:7.88rem 4.81rem;
    background-size:7.88rem 4.81rem
}
.main-page .box-1.disabled-box {
    background-color: #eeeeee;
}

.navbar .form-inline .search-icon {
    top: 0.55rem;
}
.navbar .container .d-inline-block .float-right {
    margin-right: 0 !important;
}
.navbar.navbar-toggleable-lg .navbar-toggler-right.search {
    margin-right: 0;
}
.navbar .dropdown .dropdown-menu {
    right: -38px;
}
.navbar .dropdown .dropdown-menu .dropdown-item:hover {
    background-color: transparent;
}
@media (min-width: 385px) {
    .navbar .dropdown .dropdown-menu {
        width: 370px;
    }
}
@media screen and (max-width:992px) {
    footer .info p br {
        display: none;
    }
}
footer .footer-content .info p {
    padding-right: 2rem;
}
footer .footer-content .info p:after {
    content: none;
}

.tooltip-inner {
    background-color:#ccc !important;
    color: #444;
}
.tooltip.tooltip-top .tooltip-inner::before,
.tooltip.bs-tether-element-attached-bottom .tooltip-inner::before {
    border-top-color:#ccc !important;
}
.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
    border-bottom-color: #ccc !important;
}
.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
    border-top-color: #ccc !important;
}
.bs-tooltip-auto[x-placement^=left] .arrow::before, .bs-tooltip-left .arrow::before {
    border-left-color: #ccc !important;
}
.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before {
    border-right-color: #ccc !important;
}

/* VALIMISED-24 */
@media screen and (min-width: 993px) and (max-width: 1199px) {
    .i18n-et .inner-nav li:not(:last-child) .inner-nav-item {
        padding-right: 2.5rem;
    }
    .i18n-en .inner-nav li:not(:last-child) .inner-nav-item {
        padding-right: 3rem;
    }
    .i18n-ru .inner-nav li:not(:last-child) .inner-nav-item {
        padding-right: 3.1rem;
    }

    /* Rule based on href value, taken from live site */
    /* No better rule to make with given attributes */
    .inner-nav a[href*="e-h%C3%A4%C3%A4letamine"],
    .inner-nav a[href*="e-hääletamine"] {
        white-space: nowrap;
    }
}
