
body {
    font-family: "foco",sans-serif; 
    background: url('img/pozadi.jpg') repeat;
}

#loading { 
    position:fixed;
    top:0;
    right:0;
    left:0;
    bottom:0;
    width:100%;
    height:100%;
    background:rgb(255,255,255);
    opacity:.2;
    -moz-opacity: .2;
    background-image: url(img/loading.gif);
    background-position: center center;
    background-repeat: no-repeat;
    filter: alpha(opacity=50);
    z-index:9999;
    display:none
}
#loading div {position:fixed;top:49%;color:#fff;text-align:center;width:100%;}

.img-responsive { width: 100%; max-width: 100%; }

.navbar-nav > li > a {
    margin: 21px 0 17px 0;
    padding-bottom: 6px;
    padding-top: 6px;
    line-height: inherit;
}

.nav > li {
    text-align: center;
    margin-left: 0px;
}

.navbar-inverse {
    background-color: #000;
    border-bottom: 5px solid #e21f25;
}

.navbar-inverse .navbar-nav > li > a {
    color: white;
}
.nav > li > a {
    display: inline-block;
    font-family: "foco",sans-serif;
    text-transform: uppercase;    
    font-size: 18px;
    line-height: 20px;
}


/* kolapsovani navigace uz pri sirce 1000 */
@media (max-width: 1000px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
        margin: 0;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    .navbar-collapse.collapse.in { 
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}

.navbar-inverse .navbar-nav > li > a:hover, 
.navbar-inverse .navbar-nav > .active > a, 
.navbar-inverse .navbar-nav > .active > a:hover, 
.navbar-inverse .navbar-nav > .active > a:focus {
    background-color: inherit;
    color: #e21f25;
}

.navbar-brand {
    position: absolute;   
    height: inherit;
    padding: 27px 0 0;
}

.navbar-brand img.logo {
    width: 100% \9; /*Force IE10 and below to size SVG images correctly*/
}

.navbar-nav > li.menu-prihlasit > a { margin-top: 18px; background-color: #e21f25; border-radius: 8px;}



@media (max-width: 1200px) {
    .container-fluid {
        /*margin-top: 55px;*/
    }    
    .navbar-brand {
        width: 204px;
        padding: 42px 0 0;
    }    
    .navbar-brand img.logo {
        width: 80% \9;
        max-width: 80%;
    }    
}

@media (max-width: 1000px) {
    .navbar-brand {
        padding: 22px 0 0;
    }    
}

@media (max-width: 320px) {
    .container-fluid {
        /*margin-top: 55px;*/
    }    
    .navbar-brand {
        padding: 35px 0 0;
    }    
    .navbar-brand img.logo {
        width: 70% \9; /*Force IE10 and below to size SVG images correctly*/
        max-width: 40%;
    }    
}

.carousel { margin: 75px -15px 0 -15px; background-color: #000; }
@media (max-width: 1200px) {
    .carousel {
        margin-top: 55px;
    }    
}
@media (max-width: 320px) {
    .carousel {
        margin-top: 55px;
    }    
}

#benefit1 { background-image: url('img/carousel/benefit_1b.jpg'); }
#benefit2 { background-image: url('img/carousel/benefit_1a.jpg'); }
#benefit3 { background-image: url('img/carousel/benefit_1c.jpg'); }
#benefit4 { background-image: url('img/carousel/benefit_1d.jpg'); }
#benefit5 { background-image: url('img/carousel/benefit_1e.jpg'); }
#benefit6 { background-image: url('img/carousel/benefit_bok.jpg'); }

#benefit1m { background-image: url('img/carousel/m_benefit_1b.jpg'); }
#benefit2m { background-image: url('img/carousel/m_benefit_1a.jpg'); }
#benefit3m { background-image: url('img/carousel/m_benefit_1c.jpg'); }
#benefit4m { background-image: url('img/carousel/m_benefit_1d.jpg'); }
#benefit5m { background-image: url('img/carousel/m_benefit_1e.jpg'); }
#benefit6m { background-image: url('img/carousel/m_benefit_bok.jpg'); }

.benefit { background-position: 50% 50%; background-size:cover; height: 393px; }
#benefit-reznictvi1 { background-image: url('img/carousel/reznictvi01.jpg'); }
#benefit-reznictvi2 { background-image: url('img/carousel/reznictvi02.jpg'); }
#benefit-reznictvi3 { background-image: url('img/carousel/reznictvi03.jpg'); }
#benefit-reznictvi4 { background-image: url('img/carousel/reznictvi04.jpg'); }
#benefit-mrazirny1 { background-image: url('img/carousel/mrazirny01.jpg'); }
#benefit-mrazirny2 { background-image: url('img/carousel/mrazirny02.jpg'); }
#benefit-mrazirny3 { background-image: url('img/carousel/mrazirny03.jpg'); }
#benefit-prodejny0 { background-image: url('img/carousel/prodejny.jpg'); }
#benefit-prodejny1 { background-image: url('img/carousel/prodejny01.jpg'); }
#benefit-prodejny2 { background-image: url('img/carousel/prodejny02.jpg'); }
#benefit-prodejny3 { background-image: url('img/carousel/prodejny03.jpg'); }
#benefit-prodejny4 { background-image: url('img/carousel/prodejny04.jpg'); }
#benefit-lahudky1 { background-image: url('img/carousel/lahudky01.jpg'); }
#benefit-lahudky2 { background-image: url('img/carousel/lahudky02.jpg'); }
#benefit-lahudky3 { background-image: url('img/carousel/lahudky03.jpg'); }
#benefit-lahudky4 { background-image: url('img/carousel/lahudky04.jpg'); }
#benefit-lahudky5 { background-image: url('img/carousel/lahudky05.jpg'); }
#benefit-motorest1 { background-image: url('img/carousel/motorest01.jpg'); }
#benefit-motorest2 { background-image: url('img/carousel/motorest02.jpg'); }
#benefit-motorest3 { background-image: url('img/carousel/motorest03.jpg'); }
#benefit-motorest4 { background-image: url('img/carousel/motorest04.jpg'); }
#benefit-produkty1 { background-image: url('img/carousel/produkty01.jpg'); }
#benefit-produkty2 { background-image: url('img/carousel/produkty02.jpg'); }
#benefit-produkty3 { background-image: url('img/carousel/produkty03.jpg'); }
#benefit-benzina1 { background-image: url('img/carousel/benzinka07.jpg'); }
#benefit-benzina2 { background-image: url('img/carousel/benzinka05.jpg'); }
#benefit-benzina3 { background-image: url('img/carousel/benzinka06.jpg'); }


@media (max-width: 320px) {
    .carousel-inner .item .carousel-caption img { width: 90%; margin-bottom: 60px; }
}


#matedotaz { background-color: #44352c; color: white; text-align: center; }
#matedotaz .matedotaz-1 { text-align: left; }
#matedotaz .matedotaz-2 { text-align: right; }
#matedotaz p { font-size: 18px; margin: 10px 0; line-height: 24px; }
#matedotaz p span.glyphicon { font-size: 28px; margin-left: -30px; padding-top: 16px; position: absolute; }
#matedotaz p a { color: white; text-decoration: underline; margin: 10px 0; display: inline-block; }
#matedotaz p a:hover { text-decoration: none; }

@media (max-width: 992px) {
    #matedotaz .matedotaz-1 { text-align: center; }
    #matedotaz .matedotaz-2 { text-align: center; }
    #matedotaz p { font-size: 16px; line-height: 20px; }
    #matedotaz .matedotaz-1 p { margin: 6px 0 0; }
    #matedotaz .matedotaz-2 p { margin: 0 0 6px; }
    #matedotaz p span.glyphicon { font-size: 28px; margin-left: -30px; padding-top: 8px; position: absolute; }
}

#naseportfoliookousane { background: url('img/okousane_pozadi.png') top repeat-x; height: 57px; margin-top: 40px; }
#naseportfolio { background-color: #fbf7e4; text-align: center; border-bottom: 1px solid #bbbdbc; }
#naseportfolio h3 { font-family: Georgia; font-size: 42px; font-style: italic; color: #000; margin-bottom: 40px; }
@media (max-width: 900px) {
    #naseportfolio h3 { font-size: 36px; margin-bottom: 40px; }
}
#naseportfolio .portfolio-panel { text-align: center; display: block; margin-bottom: 40px; position: relative; }
#naseportfolio .portfolio-panel .portfolio-img { overflow: hidden; }
#naseportfolio .portfolio-panel .portfolio-img img { -moz-box-shadow: 0 30px 30px -30px #000; -webkit-box-shadow: 0 30px 30px -30px #000; box-shadow: 0 30px 30px -30px #000; 
                                                     -webkit-transition: all .2s ease-in-out;
                                                     -moz-transition: all .2s ease-in-out;
                                                     -o-transition: all .2s ease-in-out;
                                                     -ms-transition: all .2s ease-in-out;
}
.portfolio-transition {
    -webkit-transform: scale(1.2); 
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}
#naseportfolio .portfolio-panel h2 { position: absolute; top: 30%; left: 10%; width: 80%; font-family: Georgia; color: white; text-transform: uppercase; }
@media (max-width: 400px) {
    #naseportfolio .portfolio-panel h2 { top: 20%; }
}
#naseportfolio .portfolio-panel a { position: absolute; top: 70%; left: 5%; width: 90%; text-decoration: none; }
#naseportfolio .portfolio-panel a span { color: white; background-color: #e21f25; padding: 5px 10px; text-transform: uppercase; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }

#benzinaplakaty { background-color: #c9c9c9; padding-top: 4em; }

#testimonial { background-color: white; padding: 40px 0; border-top: 1px solid #e8e9e9; text-align: center; }
#testimonial .testimonial-left p { font-family: "foco",sans-serif; font-size: 16px; font-style: normal; color: #000; line-height: 16px; margin: 10px 0 0; }
#testimonial .testimonial-right p { font-family: Georgia; font-size: 19px; font-style: italic; color: #000; margin: 40px 0; }

#denniprehled { background: url('img/denni-pozadi.jpg'); background-position: 100% 100%; background-size:cover; padding: 40px 0; }
@media (max-width: 800px) {
    #denniprehled { background: url('img/denni-pozadi.jpg'); background-position: 100% 100%; padding: 40px 0; }
}
#denniprehled h3 { font-family: Georgia; font-size: 20px; line-height: 30px; font-weight: bold; color: white; text-transform: uppercase; }
#denniprehled h3 span { font-size: 30px; line-height: 30px; margin-right: 10px; }
#denniprehled .den { font-family: "foco",sans-serif; font-size: 26px; color: white; text-transform: uppercase;  }
#denniprehled p { font-family: "foco",sans-serif; color: white; font-size: 18px; margin: 10px 0; }
#denniprehled .row-denni-prehled .pull-right p { text-align: right; }
#denniprehled hr { margin: 10px 0; }
#denniprehled > .container > .row > div { padding-bottom: 40px; }
#denniprehled img { margin-bottom: 20px; }
#denniprehled a:hover { color: white; text-decoration: underline; }


.podpis-responsive { max-width: 100%; }


#page-text { margin: 40px 0; }
#page-text h1 { font-family: Georgia; font-size: 42px; color: #000; margin-bottom: 40px; text-align: center; }
@media (max-width: 900px) {
    #page-text h1 { font-size: 36px; }
}
#page-text p
{ font-family: "foco",sans-serif; font-size: 18px; color: #000; line-height: 26px; text-align: center; }
#page-text ul li
{ font-family: "foco",sans-serif; font-size: 18px; color: #000; line-height: 26px; text-align: left; }

#onas-banner { background-image: url('img/onas-banner.jpg'); background-position: 50% 0%; background-size:cover; height: 393px; margin-top: 75px; }
@media (max-width: 1200px) {
    #onas-banner {
        margin-top: 55px;
    }    
}
@media (max-width: 320px) {
    #onas-banner {
        margin-top: 55px;
    }    
}
/*
#onas-text { margin: 40px 0; }
#onas-text h1 { font-family: Georgia; font-size: 42px; color: #000; margin-bottom: 40px; text-align: center; }
#onas-text p { font-family: "foco",sans-serif; font-size: 18px; color: #000; line-height: 26px; text-align: center; }
*/

#naseprodejny-banner { background-image: url('img/prodejny-banner.jpg'); background-position: 50% 0%; background-size:cover; height: 393px; }
/*
#naseprodejny-text { margin: 40px 0; }
#naseprodejny-text h1 { font-family: Georgia; font-size: 42px; color: #000; margin-bottom: 40px; text-align: center; }
#naseprodejny-text p { font-family: "foco",sans-serif; font-size: 18px; color: #000; line-height: 26px; text-align: center; }
*/

#kontakt-banner { background-image: url('img/fotokontakt.jpg'); background-position: 50% 0%; background-size:cover; height: 393px; margin-top: 75px; }
@media (max-width: 1200px) {
    #kontakt-banner {
        margin-top: 55px;
    }    
}
@media (max-width: 320px) {
    #kontakt-banner {
        margin-top: 55px;
    }    
}
/*
#kontakt-text { margin: 40px 0; }
#kontakt-text h1 { font-family: Georgia; font-size: 42px; color: #000; margin-bottom: 40px; text-align: center; }
#kontakt-text p { font-family: "foco",sans-serif; font-size: 18px; color: #000; line-height: 26px; text-align: center; }
*/

#map { width: 100%; height: 400px; }
.map { width: 100%; height: 300px; }



.prodejnaokousana { background: url('img/okousane_pozadi.png') top repeat-x; height: 57px; }
.prodejna { text-align: left; padding: 40px 0; font-size: 18px; }
.prodejna h3 { font-family: "foco",sans-serif; font-size: 36px; line-height: 28px; color: #000; margin-bottom: 40px; margin-top: 0; }
.prodejna-zluta { background-color: #fbf7e4; border-bottom: 1px solid #bbbdbc; }
.prodejna-pruhledna { background-color: transparent; }
.prodejna table { margin-bottom: 20px; }
.prodejna .btn { margin-bottom: 20px; }

@media (max-width: 400px) {
    .prodejna h3 { font-size: 28px; }
}

.kontakt { text-align: center; padding: 40px 0; font-size: 18px; background-color: #fbf7e4; border-bottom: 1px solid #bbbdbc; }
.kontakt p { font-family: "foco",sans-serif; font-size: 18px; line-height: 26px; color: #000; }
.kontakt p a { color: #000; text-decoration: underline; }
.kontakt p a:hover { text-decoration: none; }

.kontakt-row { margin: 0px 0; }
.kontakt-panel { padding: 40px 0; }

/*
#reznictvi-text { margin: 40px 0; }
#reznictvi-text h1 { font-family: Georgia; font-size: 42px; color: #000; margin-bottom: 40px; text-align: center; }
*/

.reznictvi-text-panel {
}

.reznictvi-page  {
    margin: 40px 0 40px 0;
}

@media (max-width: 900px) {
    .reznictvi-page  { margin: 0 0 40px 0; }
    .reznictvi-text-panel {  margin: 40px 0; }    
}
@media (width: 1024px) {
    .reznictvi-text-panel div.reznictvi-text-panel-middle p,
    p.zvyrazneny 
    { font-size: 16px; }    
    
    .reznictvi-text-panel div.reznictvi-text-panel-top p { font-size: 16px; }
    .reznictvi-text-panel div.reznictvi-text-panel-bottom p { font-size: 16px; }
}

.reznictvi-page p {
    color: #000;
    font-family: Georgia;
    font-size: 18px;
    position: relative;
    top: 50%;
    text-align: center;      
}

.reznictvi-text-row p {
    margin: 0px 0;
    padding: 30px 0;    
}

.reznictvi-page p.zvyrazneny {
    border-top: 1px solid #000;    
    border-bottom: 1px solid #000;    
    font-size: 26px;
    font-weight: bold;
    padding: 20px 10px;
}


@media (min-width: 900px) {

    .reznictvi-text-panel div.reznictvi-text-panel-top p {
        position: relative;
        top: 0%;
        -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
        transform: translateY(0%);    
        text-align: left;
    }
    .reznictvi-text-panel div.reznictvi-text-panel-middle p {
        padding: 20px 0;
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        text-align: center;
    }
    .reznictvi-text-panel div.reznictvi-text-panel-bottom p {    
        position: relative;
        top: 100%;
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
        text-align: right;
    }

}



.vyberzproduktu { margin: 40px 0; }
.vyberzproduktu h3 { font-family: Georgia; font-size: 19px; font-style: italic; color: #000; margin: 0px 20px 20px 20px; }
.effect2
{
    position: relative;
}
.effect2:before, .effect2:after
{
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width:300px;
    background: #777;
    -webkit-box-shadow: 0 15px 10px #777;
    -moz-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px #777;
    -webkit-transform: rotate(-6deg);
    -moz-transform: rotate(-6deg);
    -o-transform: rotate(-6deg);
    -ms-transform: rotate(-6deg);
    transform: rotate(-6deg);
}
.effect2:after
{
    -webkit-transform: rotate(6deg);
    -moz-transform: rotate(6deg);
    -o-transform: rotate(6deg);
    -ms-transform: rotate(6deg);
    transform: rotate(6deg);
    right: 10px;
    left: auto;
}
.effect2 a:hover { text-decoration: none; }
.effect2 a img { width: 100%; }



.produkt-nahled-pozadi { padding: 15px; background-color: white; margin-bottom: 40px; }
.produkt-nahled-pozadi > img { width:100%; }
.produkt-nahled-pozadi p { font-size: 14px; color: #000; margin: 20px; text-align: center; min-height: 40px; }


#newsletter-panel { background: url('img/newsletter-pozadi.jpg'); background-position: 50% 50%; background-size:cover; padding: 16px; margin: 80px 0px; -webkit-box-shadow: 0px 0px 19px 0px rgba(50, 50, 50, 0.75); -moz-box-shadow: 0px 0px 19px 0px rgba(50, 50, 50, 0.75); box-shadow: 0px 0px 19px 0px rgba(50, 50, 50, 0.75); }
#newsletter-panel #newsletter-panel-inner { background-color: white; padding: 30px 40px;  text-align: center; }
#newsletter-panel #newsletter-panel-inner .glyphicon { font-size: 40px; margin: 20px 0; color: gray; }
.btn-chci-novinky { background-color: #e21f25; margin: 0px; width: 100%; }
@media (max-width: 770px) {
    #newsletter-panel #newsletter-panel-inner .glyphicon { font-size: 40px; margin: 0; }
    .btn-chci-novinky { background-color: #e21f25; margin: 0px 0; }
}
#newsletter-panel #newsletter-panel-inner p { color: #000; font-family: Georgia; font-size: 19px; font-style: italic; }


#footer { background: url('img/footer-pozadi.jpg'); background-position: 50% 50%; background-size:cover; color: white; padding: 40px 0; }
#footer-bottom { background-color: #000; padding: 40px 0; }
#footer-bottom a { color: inherit; }
#footer h3 { margin-bottom: 30px; text-transform: uppercase; }
#footer ul { list-style-type: none; padding-left: 0px; }
#footer ul li { margin: 10px 0px; }
#footer ul li.active { color: #e21f25; }
#footer ul li a { color: inherit; }

#produkty-page h2 {
    text-align: center;
}

h1.nadpis:before { background-image: url('img/onas-sipka-1.png'); background-repeat: no-repeat; background-position: 50% 50%; padding: 0 52px 5px; content: " "; }
h1.nadpis:after { background-image: url('img/onas-sipka-2.png'); background-repeat: no-repeat; background-position: 50% 50%; padding: 0 52px 5px; content: " "; }
h2.nadpis:before { background-image: url('img/onas-sipka-1.png'); background-repeat: no-repeat; background-position: 50% 50%; padding: 0 52px 5px; content: " "; }
h2.nadpis:after { background-image: url('img/onas-sipka-2.png'); background-repeat: no-repeat; background-position: 50% 50%; padding: 0 52px 5px; content: " "; }
@media (max-width: 400px) {
    #naseprodejny-text h1,
    #kontakt-text h1,
    #onas-text h1
    { font-size: 28px; }
    h1.nadpis:before { background-size: 50%; padding: 0 15px 5px; }
    h1.nadpis:after { background-size: 50%; padding: 0 15px 5px; }

    h2.nadpis:before { background-size: 50%; padding: 0 15px 5px; }
    h2.nadpis:after { background-size: 50%; padding: 0 15px 5px; }
}
h3.nadpis-kategori {text-align: center; color: #000; font-family: Georgia; font-size: 18px; font-style: italic; margin-bottom: 40px;}
h3.nadpis-podkategori {text-align: left; color: #000; font-family: Georgia; font-size: 18px; font-style: italic;}

.collapse-group { text-align: center; }
.btn-toggle {background-color: #e21f25; text-align: center; color: #fff; font-family: Georgia; font-size: 18px; font-style: italic; margin-bottom: 40px; display: inline-block;}
.btn-toggle:hover {color: #000;}
.btn-toggle:focus {color: #fff;}

#hledame_posilu { background-color: #fbf7e4; border-bottom: 1px solid #bbbdbc; text-align: left; color: #494844; }
#hledame_posilu .container { padding: 4em 0; }
#hledame_posilu .container h4 { font-size: 24px; margin-top: 10px; }
#hledame_posilu .container p { margin: 10px 0; color: inherit; }
#hledame_posilu .container p a { color: inherit; font-weight: bold; }

#video, #video_m {
    background-position: center center;
    background-size: cover;
    width: 100%;
    float: left;
}
#video {
    background-image: url("img/video.jpg");
    height: 566px;
}
#video_m {
    background-image: url("img/m_video.jpg");
    height: 366px;
}

#produktyokousane { background: url('img/okousane_pozadi_cerne.png') top repeat-x; height: 30px; margin-top: 40px; }
#rozcestnikproduktu { background-color: #000000; text-align: center; margin-bottom: 4em; }
#rozcestnikproduktu .row { margin-bottom: 40px; }
#rozcestnikproduktu h3 { font-family: Georgia; font-size: 24px; font-style: italic; color: #fff; }


/* IMAGE LIGHTBOX SELECTOR */

#imagelightbox
{
    cursor: pointer;
    position: fixed;
    z-index: 10000;

    -ms-touch-action: none;
    touch-action: none;

    -webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
    box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
}


/* ACTIVITY INDICATION */

#imagelightbox-loading,
#imagelightbox-loading div
{
    border-radius: 50%;
}
#imagelightbox-loading
{
    width: 2.5em; /* 40 */
    height: 2.5em; /* 40 */
    background-color: #444;
    background-color: rgba( 0, 0, 0, .5 );
    position: fixed;
    z-index: 10003;
    top: 50%;
    left: 50%;
    padding: 0.625em; /* 10 */
    margin: -1.25em 0 0 -1.25em; /* 20 */

    -webkit-box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
    box-shadow: 0 0 2.5em rgba( 0, 0, 0, .75 ); /* 40 */
}
#imagelightbox-loading div
{
    width: 1.25em; /* 20 */
    height: 1.25em; /* 20 */
    background-color: #fff;

    -webkit-animation: imagelightbox-loading .5s ease infinite;
    animation: imagelightbox-loading .5s ease infinite;
}

@-webkit-keyframes imagelightbox-loading
{
    from { opacity: .5;	-webkit-transform: scale( .75 ); }
    50%	 { opacity: 1;	-webkit-transform: scale( 1 ); }
    to	 { opacity: .5;	-webkit-transform: scale( .75 ); }
}
@keyframes imagelightbox-loading
{
    from { opacity: .5;	transform: scale( .75 ); }
    50%	 { opacity: 1;	transform: scale( 1 ); }
    to	 { opacity: .5;	transform: scale( .75 ); }
}


/* OVERLAY */

#imagelightbox-overlay
{
    background-color: #fff;
    background-color: rgba( 255, 255, 255, .9 );
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}


/* "CLOSE" BUTTON */

#imagelightbox-close
{
    width: 2.5em; /* 40 */
    height: 2.5em; /* 40 */
    text-align: left;
    background-color: #000;
    border-radius: 50%;
    position: fixed;
    z-index: 10002;
    top: 2.5em; /* 40 */
    right: 2.5em; /* 40 */

    -webkit-transition: color .3s ease;
    transition: color .3s ease;
}
#imagelightbox-close:hover,
#imagelightbox-close:focus
{
    background-color: #e21f25;
}
#imagelightbox-close:before,
#imagelightbox-close:after
{
    width: 2px;
    background-color: #fff;
    content: '';
    position: absolute;
    top: 20%;
    bottom: 20%;
    left: 50%;
    margin-left: -1px;
}
#imagelightbox-close:before
{
    -webkit-transform: rotate( 45deg );
    -ms-transform: rotate( 45deg );
    transform: rotate( 45deg );
}
#imagelightbox-close:after
{
    -webkit-transform: rotate( -45deg );
    -ms-transform: rotate( -45deg );
    transform: rotate( -45deg );
}


/* CAPTION */

#imagelightbox-caption
{
    text-align: center;
    color: #fff;
    background-color: #e21f25;
    position: fixed;
    z-index: 10001;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.625em; /* 10 */
}


/* NAVIGATION */

#imagelightbox-nav
{
    background-color: #444;
    background-color: rgba( 0, 0, 0, .5 );
    border-radius: 20px;
    position: fixed;
    z-index: 10001;
    left: 50%;
    bottom: 3.75em; /* 60 */
    padding: 0.313em; /* 5 */

    -webkit-transform: translateX( -50% );
    -ms-transform: translateX( -50% );
    transform: translateX( -50% );
}
#imagelightbox-nav button
{
    width: 1em; /* 20 */
    height: 1em; /* 20 */
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-block;
    margin: 0 0.313em; /* 5 */
}
#imagelightbox-nav button.active
{
    background-color: #fff;
}


/* ARROWS */

.imagelightbox-arrow
{
    width: 3.75em; /* 60 */
    height: 7.5em; /* 120 */
    background-color: #444;
    background-color: rgba( 0, 0, 0, .5 );
    vertical-align: middle;
    display: none;
    position: fixed;
    z-index: 10001;
    top: 50%;
    margin-top: -3.75em; /* 60 */
}
.imagelightbox-arrow:hover,
.imagelightbox-arrow:focus
{
    background-color: #666;
    background-color: rgba( 0, 0, 0, .75 );
}
.imagelightbox-arrow:active
{
    background-color: #111;
}
.imagelightbox-arrow-left
{
    left: 2.5em; /* 40 */
}
.imagelightbox-arrow-right
{
    right: 2.5em; /* 40 */
}
.imagelightbox-arrow:before
{
    width: 0;
    height: 0;
    border: 1em solid transparent;
    content: '';
    display: inline-block;
    margin-bottom: -0.125em; /* 2 */
}
.imagelightbox-arrow-left:before
{
    border-left: none;
    border-right-color: #fff;
    margin-left: -0.313em; /* 5 */
}
.imagelightbox-arrow-right:before
{
    border-right: none;
    border-left-color: #fff;
    margin-right: -0.313em; /* 5 */
}

#imagelightbox-loading,
#imagelightbox-overlay,
#imagelightbox-close,
#imagelightbox-caption,
#imagelightbox-nav,
.imagelightbox-arrow
{
    -webkit-animation: fade-in .25s linear;
    animation: fade-in .25s linear;
}
@-webkit-keyframes fade-in
{
    from	{ opacity: 0; }
    to		{ opacity: 1; }
}
@keyframes fade-in
{
    from	{ opacity: 0; }
    to		{ opacity: 1; }
}

@media only screen and (max-width: 41.250em) /* 660 */
{
    #container
    {
        width: 100%;
    }
    #imagelightbox-close
    {
        top: 1.25em; /* 20 */
        right: 1.25em; /* 20 */
    }
    #imagelightbox-nav
    {
        bottom: 1.25em; /* 20 */
    }

    .imagelightbox-arrow
    {
        width: 2.5em; /* 40 */
        height: 3.75em; /* 60 */
        margin-top: -2.75em; /* 30 */
    }
    .imagelightbox-arrow-left
    {
        left: 1.25em; /* 20 */
    }
    .imagelightbox-arrow-right
    {
        right: 1.25em; /* 20 */
    }
}

@media only screen and (max-width: 20em) /* 320 */
{
    .imagelightbox-arrow-left
    {
        left: 0;
    }
    .imagelightbox-arrow-right
    {
        right: 0;
    }
}

.navbar-nav > li > .dropdown-menu {
    background-color: #000;
    font-size: 18px;
    border: 0;
}

.navbar-nav > li > .dropdown-menu li a {
    color: #fff;
    text-transform: uppercase;
}

.navbar-nav > li > .dropdown-menu li a:hover,
.navbar-nav > li > .dropdown-menu li a:focus
{
    background-color: #e21f25;
}

.navbar-inverse .navbar-nav .open .dropdown-menu li a {
    color: white;
    text-align: center;
}


#diplomy { background-color: #fff; text-align: center; padding: 2em 0 4em; }
#diplomy h2 { margin: 1em 0 2em; }
#diplomy img { -webkit-box-shadow: 0px 0px 20px -5px rgba(0,0,0,1);
-moz-box-shadow: 0px 0px 20px -5px rgba(0,0,0,1);
box-shadow: 0px 0px 20px -5px rgba(0,0,0,1); }