/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}
ul, ol {
    list-style: none;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
    color: black;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


a, abbr, acronym, address, applet, article, aside, audio, b, blockquote, big, body, center, canvas, caption, cite, code, command, datalist, dd, del, details, dfn, dl, div, dt, em, embed, fieldset, figcaption, figure, font, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, keygen, label, legend, li, meter, nav, object, ol, output, p, pre, progress, q, s, samp, section, small, span, source, strike, strong, sub, sup, table, tbody, tfoot, thead, th, tr, tt, u, ul, var {
    background: transparent;
    border: 0 none;
    font-size: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: top;
}
ol, ul {
    /*list-style: none;*/
}
blockquote, q {
    quotes: none;
}
table, table td {
    padding:0;
    border:none;
    border-collapse:collapse;
}
img {
    vertical-align:top;
}
embed {
    vertical-align:top;
}
* {
    border:none
}

.col1, .col2, .col3, .cols {
    /*float:left;*/
    display: inline-block;
}
.col1 {
    width:400px;
}
.cols {
    width:260px;
}
.col2 {
    width:580px;
}
.col3 {
    width: 650px;
}
/*======= index.html =======*/
/*======= index-1.html =======*/
/*======= index-2.html =======*/
/*======= index-3.html =======*/
/*======= index-4.html =======*/
/*======= index-5.html =======*/
#page6 .col1 {
    width:247px;
}


/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* Getting the new tags to behave */
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video {
    display: block;
}
mark, rp, rt, ruby, summary, time {
    display: inline
}
/* Left & Right alignment */

.left {
    float:left;
}
.right {
    float:right;
}
.underline {
    text-decoration: underline;
}
.wrapper {
    width:100%;
    /*overflow:hidden;*/
}
/* Global properties ======================================================== */

body {
    background: url(../img/bg.jpg) center 50px no-repeat #000;
    border:0;
    font:14px Arial, Helvetica, sans-serif;
    color: #c4c4c4;
    line-height:25px;
    min-width:1150px;
}
.ic, .ic a {
    border:0;
    float:right;
    background:#fff;
    color:#f00;
    width:50%;
    line-height:10px;
    font-size:10px;
    margin:-220% 0 0 0;
    overflow:hidden;
    padding:0
}
.css3 {
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    box-shadow: 0 0 4px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, .4);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, .4);
    position: relative;
}
/* Global Structure ============================================================= */

.main {
    margin: 0 auto;
    /*width: 960px;*/
    /*width: 1000px;*/
    width: 1015px;
}
.bg1 {
    background:url(../img/bg_menu.png) 0 0 repeat-x
}
/* ============================= main layout ====================== */

a {
    color:#7f7f7f;
    text-decoration: underline;
    outline:none
}
a:hover {
    text-decoration: none
}
h1 {
    padding:35px 0 0 43px;
}
h2 {
    font-size:37px;
    color:#fff;
    line-height:1.2em;
    padding:20px 0 14px 0;
    letter-spacing:-1px;
    font-weight:400;
    margin-left:-2px;
}
h2#welcom {
    font-size:61px;
    line-height:1.2em;
    padding:0 0 9px 0;
    letter-spacing:-5px;
    margin-left:-5px;
}
h2 strong {
    font-weight:700;
    color:#7532a9;
}
h3 {
    font-size:30px;
    line-height:1.2em;
    color:#7532a9;
    padding:0 0 8px 0;
    font-weight:400;
    letter-spacing:-2px;
}
h4 {
    font-size:30px;
    color:#7f7f7f;
    line-height:1.2em;
    font-weight:400;
    letter-spacing:-2px;
    padding:12px 0 11px 0
}
p {
    padding-bottom:25px;
}
/* ============================= header ====================== */
header {
    height: 295px;
    position: relative;
}
header h1 {
    padding: 0;
    margin-left: -130px;
}
header img {
    position: absolute;
    top: 126px;
    right: 4px;
}
a.lang_bg, a.lang_en {
    position: absolute;
    top: 20px;
    right: 0;
    padding: 15px;
}
a.lang_bg { background: transparent url(../img/flag-en-switch.png) no-repeat center center;}
a.lang_en { background: transparent url(../img/flag-bg-switch.png) no-repeat center center;}

#logo {
    display: block;
    text-indent: -9999px;
    background: url(../img/logo700.png) 0 0 no-repeat;
    width: 700px;
    height: 275px;
    margin-top: -4px;
    -webkit-background-size: contain;
    background-size: contain;
}
#email {
    background: url(../img/email1.png) 0 0 no-repeat;
    position: absolute;
    top: 185px;
    right: -53px;
    width: 450px;
    height: 115px;
}

.has-vids header {
    height: 375px;
}
.has-vids header img {
    top: 286px;
    left: -10px;
}
.has-vids header h1 {
    width: 615px;
    height: 300px;
    float: left;
}
.has-vids header #email {
    top: 210px;
    left: -10px;
}
.has-vids header #logo {
    width: 100%;
    height: 100%;
    margin-top: -25px;
}

#menu {
    width:80%;
    margin: 0 auto;
    overflow:hidden;
    background:url(../img/menu_line.png) 0 0 no-repeat
}
#menu > li {
    float:left; /*new*/
    padding-right:2px;
    background:url(../img/menu_line.png) right 0 no-repeat
}
#menu > li > a {
    display:block;
    width:158px;
    font-size:22px;
    color:#7f7f7f;
    text-decoration:none;
    text-align:center;
    height:60px;
    line-height:60px;
    letter-spacing:-1px;
}
.nav-tabs > li > a:hover,
.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus,
#menu > li  > a:hover,
#menu > li.active > a,
#menu > li.active > a:hover,
#menu > li.active > a:focus {
    cursor: pointer;
    background:url(../img/menu_active.gif) top repeat-x;
    color:#fff;
    border: 0;
}
.carousel-inner {
    -webkit-box-shadow: 0 -3px 50px 2px #65B0EE;
    -moz-box-shadow:  0 -3px 50px 2px #65B0EE;
    box-shadow:  0 -3px 50px 2px #65B0EE;
}
.carousel-control {
    text-decoration: none;
    top: 50%;
    font-size: 25px;
    line-height: 22px;
    width: 26px;
    height: 26px;
    border-width: 2px;
}
.carousel-caption {
    padding: 10px;
}
.carousel-caption p {
    padding-bottom: 0;
}
/* ============================= content ====================== */

.box {
    background:url(../img/bg_content.png) repeat;
    padding:20px 30px 30px 49px;
    /*overflow:hidden*/
}
#page1 .box {
    /*padding-top:34px;*/
    /*-webkit-box-shadow: 2px 5px 87px -7px #150576;*/
    /*-moz-box-shadow: 2px 5px 87px -7px #150576;*/
    /*box-shadow: 2px 5px 87px -7px #150576;*/

    -webkit-box-shadow: 5px 5px 64px -17px #7D6AF0;
    -moz-box-shadow: 5px 5px 64px -17px #7D6AF0;
    box-shadow: 5px 5px 64px -17px #7D6AF0;
}
#content {
    padding-bottom:18px;
    margin-left: -49px;
    min-height: 500px;
}
#content.original {
    margin-left: 0;
}
/*Презапиваме bootstrap стила*/
a:focus {
    outline: none;
    outline-offset: 0;
}
.nav-tabs {
    border-bottom: 0;
}
.nav-tabs > li {
    margin-bottom: 0;
    float: none;
    transition: all 200ms ease-out;
}
.nav-tabs > li > a {
    border: 0;
    border-radius: 0;
}
/*лява навигация*/
#content nav {
    margin-right: 50px;
}
#content nav ul li a {
    display: block;
    text-decoration: none;
    padding: 0 10px 0 20px;
    /*background: url(../img/menu_active.gif) top repeat-x;*/
    background: url(../img/menu_inactive_3.png) top repeat-x;
    margin: 0 0 5px 0;
    color: #7F7F7F;
    font-size: 19px;
    height: 60px;
    letter-spacing: -1px;
    line-height: 60px;
    position: relative;
}
#content nav ul li a > span {
    position: absolute;
    right: 100%;
    top: 5px;
    width: 25px;
    height: 100%;
    background: url(../img/menu_inactive_3.png) top repeat-x;
}
#content nav ul li a > span > span {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent url(../img/navshadow.png) right repeat-y;
}
#content nav ul li.active,
#content nav ul li a:hover {
    box-shadow: 2px -2px 20px 3px #65B0EE;
    -moz-box-shadow: 2px -2px 20px 3px #65B0EE;
    -webkit-box-shadow: 2px -2px 20px 3px #65B0EE;
    margin-right: -10px;
}
#content nav ul li.active a,
#content nav ul li a:hover {
    color: #ffffff;
    background: url(../img/menu_active.gif) top repeat-x;
    /*margin-right: -10px;*/
}
#content nav ul li.active a > span,
#content nav ul li a:hover > span {
    background: url(../img/menu_active.gif) top repeat-x;
    box-shadow: -8px 0 15px #65B0EE;
    -moz-box-shadow: -8px 0 15px #65B0EE;
    -webkit-box-shadow: -8px 0 15px #65B0EE;
    width: 15px;
}
/*noms*/
#noms {
    overflow: visible;
}
#noms ul li {
    border-bottom: 1px solid #7F7F7F;
    padding: 10px 0 0 0;
    position: relative;
    min-height: 225px;
}
#noms ul li:last-child {
    /*border-bottom: 0 none;*/
}
.cntr {
    position: absolute;
    right: -93px;
    top: 20px;
    box-shadow: 0 0 7px 1px #fff, 0 -1px 5px 1px #4A63EF, 0 -1px 50px 11px #65B0EE;
    /*box-shadow: 0 -1px 50px 7px #FC7F49, 0 -1px 50px 7px #FC7F49;*/
    /*box-shadow: 0 -1px 8px 2px #FE4C06, 0 -1px 52px 11px #FC7F49;*/
}
.cntr:before {
    content: attr(data-descr);
    position: absolute;
    color: white;
    font-size: 28px;
    top: -14px;
    font-weight: 100;
    -webkit-transform: rotate(-25deg);
    -moz-transform: rotate(-25deg);
    transform: rotate(-25deg);
    left: -25px;
    text-shadow: 0 0 6px #FE4C06, 0 0 10px #FE4C06, 0 0 20px #FE4C06;
    /*text-shadow: 0 0 6px #4A63EF, 0 0 10px #65B0EE, 0 0 20px #65B0EE;*/
}
#noms li img {
    border: 1px solid #ffffff;
    padding: 5px;
    margin: 5px 10px 5px 0;
}
#noms ul li p {
    /*width: 530px;*/
    width: 500px;
    /*outline: 1px solid red;*/
    /*padding-right: 115px;*/
}
#noms ul li p > span {
    font-size: 1.3em;
}
#noms ul li p > span:first-child {
    /*display: inline-block;*/
    display: block;
    margin-bottom: 12px;
    text-decoration: underline;
    text-indent: 1em;
}
#noms div.img {
    float: left;
    position: relative;
    padding-bottom: 20px;
}
#noms div.img > span {
    background-color: rgba(101, 40, 155, 0.5);
    bottom: 40px;
    color: white;
    font-size: 19px;
    height: 40px;
    left: 1px;
    line-height: 2em;
    position: absolute;
    text-align: center;
    width: 180px;
}
#noms div.tooltips {
    /*border: 1px solid;*/
    bottom: 0;
    height: 20px;
    position: absolute;
    width: 180px;
    text-align: center;
}
#noms div.tooltips > span {
    display: inline-block;
    height: 100%;
    background: url(../img/square.png) repeat-x left center;
}
#noms h3 {
    padding-left: 15px;
}
#noms h3 + p {
    font-style: italic;
    padding-left: 15px;
}
#noms .download {
    display: block;
    margin-top: 10px;
}
#noms .download > a {
    text-decoration: none;
    padding: 5px 20px;
    /*border-radius: 15px;*/
    background: url(../img/menu_active.gif) top repeat-x;
    color: white;
}
#noms .soon {
    position: absolute;
    top: 0;
    left: 0;
    width: 108.5%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2;
}
#noms .soon:before {
    content: attr(data-msg);
    position: absolute;
    bottom: 15%;
    right: -5%;
    font-size: 42px;
    text-transform: lowercase;
    color: #cccccc;
    -webkit-text-shadow: 4px 4px 4px red;
    -moz-text-shadow: 4px 4px 4px red;
    text-shadow: 4px 4px 4px red;
}
#noms .soon:after {
    content: '';
    background: transparent url(../img/delivery_shadow_5.png) 40% 85% no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*============ Questions ==============*/
#wrapper p {
    text-indent: 2em;
    padding-bottom: 15px;
}
#wrapper.questions h3 {
    font-size: 23px;
    letter-spacing: 0.01em;
    font-style: italic;
}
#wrapper.questions a[name] {
    text-decoration: none;
}
#wrapper.questions .questions-link {
    padding:20px 0 35px 20px;
}
#wrapper.questions .questions-link h3 {
    font-size: 20px;
}
#wrapper.questions p {
    padding-bottom: 10px;
}
#wrapper.delivery address {
    padding: 0 0 30px 80px;
}
#wrapper.contacts h3 {
    padding-bottom: 15px;
}
#wrapper.contacts p {
    font-size: 20px;
    text-indent: 1em;
}

/*============= About ================*/
#wrapper.about table {
    width: 95%;
}
#wrapper.about tr {
    border-bottom: 1px dashed white;
}
#wrapper.about table td {
    padding: 20px;
}
#wrapper.about table td:last-of-type {
    width: 30%;
    text-align: right;
}
#wrapper.about table td a {
    text-decoration: none;
}
#wrapper.about table td h3 {
    font-size: 24px;
    letter-spacing: 0;
}
#wrapper.about table td p {
    padding-bottom: 0;
}


/*============== Contacts ===============*/
#wrapper.contacts map,
#wrapper.contacts address {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    width: 49.5%;
}

#wrapper.contacts map {
    height: 300px;
}

/* ============= MARQUEE */
#marquees{
    position: relative;
    margin: -24px -27px 28px 0;
    /*margin-left: -100px;*/
}
ul.marquee {
    display: block;
    padding: 0;
    /*margin: 0 0 20px 2px;*/
    line-height: 1;
    position: relative;
    overflow: hidden;
    /*width: 660px;*/
    width: 100%;
    height: 36px;  /*height should be included to reserve visual space for the marquee*/
    cursor: pointer;
    /*background-color: #6121FA;*/
    /*border: 1px solid #86B0F4;*/
    border: 1px solid #3264B4;
    -webkit-box-shadow: 0 -1px 20px 3px #65B0EE;
    -moz-box-shadow: 0 -1px 20px 3px #65B0EE;
    box-shadow: 0 -1px 20px 3px #65B0EE;
}
ul#marquee.marquee li {
    color: #6AB6F9;
    border-bottom: 0;
    position: absolute;
    min-height: inherit;
    height: 35px;
    top: -999em;
    left: 0;
    display: block;
    white-space: nowrap; /* keep all text on a single line */
    font: 18px Arial, Helvetica, sans-serif;
    padding: 6px 10px;
}



#page2 #content {
    padding-bottom:50px;
}
#page5 #content {
    padding-bottom:40px;
}
.pad_left1 {
    padding-left:60px
}
.pad_bot1 {
    padding-bottom:15px;
}
.pad_bot2 {
    padding-bottom:30px;
}
.marg_right1 {
    margin-right:40px
}
#page2 .pad_bot1 {
    padding-bottom:40px;
}
#page5 .pad_bot1 {
    padding-bottom:10px;
}
#page6 .pad_left1 {
    padding-left:36px;
}
#page6 .pad_bot1 {
    padding-bottom:10px;
}
.color1 {
    color:#fff
}
.color2 {
    color:#7532a9
}
.link1 {
    color:#fff;
    text-decoration: none
}
.link1:hover {
    color:#7532a9
}
.link2 {
    color:#7532a9;
    text-decoration: none
}
.link2:hover {
    text-decoration:underline
}

.dropcap_container {
    display: inline-block;
    position: absolute;
    left: 500px;
    bottom: 15px;
    width: 260px;
}
.dropcap_1 {
    /*
    float: left;
    width:85px;
    height:55px;
    background:url(../img/bg_dropcap.png) 50% 50% no-repeat;
    background-size: 100%;
    font-size:30px;
    color:#fff;
    line-height:1.2em;
    text-align:center;
    font-weight:bold;
    letter-spacing:-2px;
    padding-top: 25px;
    position: relative;
    */
    float: left;
    width: 73px;
    height: 73px;
    font-size: 30px;
    color: #fff;
    line-height: 80px;
    text-align: center;
    font-weight: bold;
    letter-spacing: -2px;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 0 23px 7px #8544B4;
    margin-right: 18px;
    background-color: #8544B4;
    z-index: 1;
}
.dropcap_container .dropcap_1:last-child {
    margin-right: 0;
}
.dropcap_1.gray {
    /*background-image: url(../img/bg_dropcap_gray.png);*/
    /*background-size: 85%;*/
    /*padding-top: 18px;*/
    /*height: 46px;*/

    right: 0;
    font-size: 20px;
    letter-spacing: 0;
    width: 63px;
    height: 63px;
    box-shadow: 0 0 6px 2px gray;
    background-color: gray;
    margin-left: 10px;
    z-index: 0;
}
.dropcap_1.gray:before {
    content: "";
    width: 85%;
    height: 100%;
    background: transparent url(../img/del.png) no-repeat 0 0;
    position: absolute;
    background-size: 95%;
    top: 15px;
    left: 8px;
    opacity: 0.75;
    z-index: 100;
}
.dropcap_1 span {
    display:block;
    font-size:19px;
    line-height:1.2em;
    font-weight:400;
    letter-spacing:-1px;
    margin-top:-10px;

    position: absolute;
    width: 100%;
    bottom: 0;
}
.dropcap_1 span.price-top {
    position: absolute;
    top: 8px;
    margin: 0 0 0 -8px;
    font-size: 14px;
    width: 90px;
}
.dropcap_1.gray span {
    /*font-size: 20px;*/
    /*text-decoration: line-through;*/
    /*margin-top: 0;*/
    /*padding-left: 6px;*/
}
/*#gallery1 {*/
    /*height: 225px !important;*/
    /*margin-left:-7px;*/
/*}*/
/*#gallery1 li {*/
    /*overflow:inherit !important;*/
/*}*/
.prev, .next {
    float:right;
    background:url(../img/markers.jpg) 0 0 no-repeat;
    width:39px;
    height:39px;
    /*margin-right:-3px;*/
}
.next {
    background-position:right 0
}
.prev:hover {
    background-position: 0 bottom
}
.next:hover {
    background-position: right bottom
}
.list1 {
}
.list1 li {
    line-height:25px;
}
.list1 li a {
    color:#fff;
    text-decoration:none;
    padding-left:14px;
    background:url(../img/marker_1.gif) 0 5px no-repeat
}
.list1 li a:hover {
    color:#7532a9
}
.folio {
}
.folio dt {
    position:relative;
    width:100%;
    height:455px;
    margin-bottom:40px;
}
.folio dt img {
    position:absolute;
    top:0;
    left:0
}
.folio ul {
    float:left;
    width:260px;
}
.folio li {
    padding-bottom:40px;
}
.address {
    width:97px;
    float:left;
}

/* ============================= footer ====================== */

footer {
    /*height:172px;*/
    color:#fff;
    padding-top: 20px;
}
footer a {
    color:#fff;
    text-decoration:none
}
footer a:hover {
    text-decoration:underline
}
footer p {
    padding-bottom: 10px;
}
footer .line1:last-child {
    border-top: 1px solid white;
    font-size: 12px;
}
.line1 {
    /*background:url(../img/line_vert1.gif) 460px 0 repeat-y;*/
    height:100%;
}
.line2 {
    background:url(../img/line_vert1.gif) 600px 0 repeat-y;
    height:100%
}
.icons {
    float:left;
    width:370px;
    padding-right:70px
}
.info {
    float:left;
    width:140px;
}
.phone {
    width:355px;
    float:left;
    padding-left:70px;
}
.phone span {
    font-size:25px;
    margin-top:-5px;
    /*text-transform:uppercase;*/
    display:block;
    line-height:1.2em;
    letter-spacing:-2px;
}
#icons {
    padding: 8px 0 0 0;
    overflow:hidden;
}
#icons li {
    float:left;
    padding-right:6px;
}
/* Tooltips */
.aToolTip {
    background: url(../img/menu_active.gif) top repeat-x;
    color:#fff;
    margin:0;
    padding:2px 10px 3px;
    font-size:11px;
    line-height:1.2em;
    position: absolute;
}
.aToolTip .aToolTipContent {
    position:relative;
    margin:0;
    padding:0;
}
/* ============================= forms ============================= */

#ContactForm {
    padding-top:2px;
    width:100%;
    overflow:hidden;
}
#ContactForm .wrapper {
    min-height:35px;
}
#ContactForm .textarea_box {
    min-height:264px;
}
#ContactForm span {
    float:left;
    width:120px;
    line-height:30px;
}
#ContactForm .button {
    margin-right:5px;
    float:right;
    font-size:25px;
    color:#7532a9;
    text-decoration:none;
    letter-spacing:-2px;
    padding:0 13px;
    line-height:26px;
    height:31px;
    background:#fff;
    box-shadow: 0 0 6px rgba(256, 256, 256, .5);
    -moz-box-shadow: 0 0 6px rgba(256, 256, 256, .5);
    -webkit-box-shadow:  0 0 6px rgba(256, 256, 256, .5);
    position: relative;
    margin-bottom:5px;
}
#ContactForm .button:hover {
    background: url(../img/menu_active.gif) top repeat-x;
    color:#fff;
    box-shadow: 0 0 6px rgba(152, 103, 190, .5);
    -moz-box-shadow: 0 0 6px rgba(152, 103, 190, .5);
    -webkit-box-shadow:  0 0 6px rgba(152, 103, 190, .5)
}
#ContactForm .input {
    margin:0;
    width:360px;
    height:16px;
    background:#fff;
    padding:7px 10px;
    color:#474747;
    font:14px Arial, Helvetica, sans-serif;
    margin:0
}
#ContactForm textarea {
    overflow: auto;
    margin:0;
    width:720px;
    height:230px;
    background:#fff;
    padding:7px 10px;
    color:#474747;
    font:14px Arial, Helvetica, sans-serif;
}







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

.fixed_nav {
    position: fixed;
    top: 30px;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
/*
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}
*/
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
/*
.clearfix {
    *zoom: 1;
}
*/
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
