/* base.css -- this site's own foundation layer: reset, base typography, the grid, and
   the handful of components the pages actually use (buttons, the language dropdown, the
   carousel). Loaded first, before styles.css; fixes.css still has the last word.

   Three details here are deliberate and easy to "correct" by mistake:

     - grid columns are padded 15px LEFT / 25px RIGHT, not 15/15. fixes.css mirrors the
       asymmetry per column (`.maiak-mobile > .col-xs-5:nth-child(even)`) to keep the
       phone service wheel's four icons symmetric about the rose. Change it and that
       geometry moves.
     - the link hover colour is on `a:hover` alone, never plain `a:focus`, or a mouse
       click leaves every link recoloured until focus moves on. Keyboard focus gets the
       ring fixes.css hands to :focus-visible.
     - the chevrons are a rotated border on ::before, not a webfont.

   The grid is kept whole, col-sm-* and col-md-* included, though nothing under src/ uses
   them: cms/lib/generate.php emits them into the about page's staff, certificate and
   video grids, so they exist only after a build. Check tmp/site, not src/, before
   deciding a grid class is dead. Same for the carousel's runtime state classes
   (.item.next/.prev/.left/.right, .open), which no static scan can see, and the
   label/input rules, which /projects/ needs for its filter form. */
html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,footer,header,main,menu,nav,section{display:block}video{display:inline-block;vertical-align:baseline}[hidden]{display:none}a{background-color:transparent}a:active,a:hover{outline:0}b,strong{font-weight:bold}h1{margin:.67em 0;font-size:2em}img{border:0}code{font-family:monospace,monospace;font-size:1em}button,input,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto}@media print{*,*:before,*:after{color:#000!important;text-shadow:none!important;background:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" ("attr(href)")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.label{border:1px solid #000}}.glyphicon{position:relative;top:1px;display:inline-block;line-height:1}.glyphicon-chevron-left::before,.glyphicon-chevron-right::before{content:"";position:absolute;top:46%;left:50%;width:.63em;height:.63em;border:solid currentColor;border-width:.18em .18em 0 0;filter:drop-shadow(0 1px 2px rgb(1,87,136))}.glyphicon-chevron-left::before{transform:translate(-48%,-50%) rotate(-135deg)}.glyphicon-chevron-right::before{transform:translate(-52%,-50%) rotate(45deg)}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333}input,button,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}[role="button"]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h2,.h3,.h4,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h4,.h4,h5,h6,.h6{margin-top:10px;margin-bottom:10px}h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5{font-size:14px}h6,.h6{font-size:11px}p{margin:0 0 10px}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-2,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-12{position:relative;min-height:1px;padding-right:25px;padding-left:15px}.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}@media (min-width:768px){.col-sm-4,.col-sm-6{float:left}.col-sm-6{width:50%}.col-sm-4{width:33.33333333%}}@media (min-width:992px){.col-md-4,.col-md-6{float:left}.col-md-6{width:50%}.col-md-4{width:33.33333333%}}@media (min-width:1200px){.col-lg-2,.col-lg-4,.col-lg-6{float:left}.col-lg-6{width:50%}.col-lg-4{width:33.33333333%}.col-lg-2{width:16.66666667%}}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}input[type="range"]{display:block;width:100%}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="search"]{-webkit-appearance:none}input[type="radio"][disabled],input[type="checkbox"][disabled]{cursor:not-allowed}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn[disabled]{cursor:not-allowed;-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-primary{color:#fff;background-color:transparent;border-color:transparent}.btn-primary:focus{color:#fff;background-color:transparent;border-color:transparent}.btn-primary:hover{color:#fff;background-color:transparent;border-color:transparent}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active:hover,.btn-primary.active:hover,.open>.dropdown-toggle.btn-primary:hover,.btn-primary:active:focus,.btn-primary.active:focus,.open>.dropdown-toggle.btn-primary:focus{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary[disabled]:hover,.btn-primary[disabled]:focus{background-color:#337ab7;border-color:#2e6da4}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:42px;left:-115px;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.open>.dropdown-menu{display:block}.open>a{outline:0}.tab-content>.active{display:block}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.next,.carousel-inner>.item.active.right{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.prev,.carousel-inner>.item.active.left{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right,.carousel-inner>.item.active{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgb(1,87,136);background-color:rgba(0,0,0,0);opacity:1}.carousel-control.left{background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0%,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0%,rgba(0,0,0,.5) 100%);background-repeat:repeat-x}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px;width:20px;height:20px}.carousel-control .glyphicon-chevron-left{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right{right:50%;margin-right:-10px}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{width:50px;height:50px;margin-top:-10px;font-size:41px;color:#FFFFFF}.carousel-control .glyphicon-chevron-left{margin-left:-10px}.carousel-control .glyphicon-chevron-right{margin-right:-10px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after{display:table;content:" "}.clearfix:after,.container:after,.container-fluid:after,.row:after{clear:both}
/* Set by the inline pre-resolve script in each page head when the visitor has asked for
   a language the document is not written in. The pages ship English text inline, so
   without this the first paint is English and i18n.js swaps it a few hundred ms later
   -- measured at 421ms (ru) and 558ms (et) of visibly wrong language on a 70ms-RTT
   connection. visibility, not display: the box keeps its size, so revealing the text
   does not move anything that was already laid out. The script clears the class after
   1500ms come what may, so a failed dictionary fetch shows English rather than nothing. */
.i18n-pending [data-i18n]{visibility:hidden}
