/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Sep 12, 2016, 1:25:52 AM
    Author     : Ruben Mikhael
*/

@font-face {
    font-family: gotham-bold;
    src: url(../fonts/Gotham-Bold.otf) format("opentype");
}
@font-face {
    font-family: gotham-book;
    src: url(../fonts/Gotham-Book.otf) format("opentype");
}
@font-face {
    font-family: gotham-black;
    src: url(../fonts/GothamBlack.otf) format("opentype");
}
.breadcrumb{
    background-color: white;
    color: #666666;
}

@media (min-width: 320px) {
    .header {
        width: 320px;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .container{
        margin-top: 26px;
        padding-left: 0px;
        padding-right: 0px;
    }
    .languange-bar{
        margin-top:-9.7%;
    }
    .logo-xs{
        max-width:40% !important;
    }
}
@media (min-width: 768px) {
    .header {
        width: 750px;
        padding-top: 15px;
        padding-bottom: 15px;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: auto;
        margin-right: auto;
    }
    .languange-bar{
        margin-top:0%;
    }
}
@media (min-width: 992px) {
    .header {
        width: 970px;
        padding-top: 15px;
        padding-bottom: 124px;
        margin-top: auto;
        margin-bottom: auto;
        padding-left: 92px;
        padding-right: 92px;
        margin-left: auto;
        margin-right: auto;
    }
    .container{
        padding-left: 92px;
        padding-right: 92px;
    }
    .languange-bar{
        margin-top:-2.7%;
    }
}
@media (min-width: 1200px) {
    .header {
        width: 1170px;
        padding-top: 15px;
        padding-bottom: 15px;
        margin-top: auto;
        margin-bottom: auto;
        padding-left: 92px;
        padding-right: 92px;
        margin-left: auto;
        margin-right: auto;
    }
    .container{
        padding-left: 92px;
        padding-right: 92px;
    }  
    .languange-bar{
        margin-top:-2.7%;
    }
}
.navbar{
    background-color: #ba131a;
    background: -w.ebkit-linear-gradient(left, #ba131a , #a70e13); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #ba131a, #a70e13); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #ba131a, #a70e13); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #ba131a , #a70e13); /* Standard syntax (must be last) */
    border-color: maroon;
    min-height: 20px !important;
    margin-bottom: 0 !important;
    border-radius: 0px;
}
.breadcrumb{
    margin-bottom: 5;
}
/*
    Sticky footer (sm and up -- xs already uses .navbar-fixed-bottom).
    On a page shorter than the viewport the footer sits at the bottom of the
    screen; on a longer page it flows after the content instead of covering it.

    Done with position:sticky rather than the usual flexbox body, because
    .header holds only floated columns and leans on them overflowing it --
    its padding-bottom is what reserves the space. A flex item establishes a
    block formatting context, which would contain those floats and add the
    padding on top of them, opening a gap under every header.
*/
body{
    min-height: 100vh;
}
.site-footer{
    position: -webkit-sticky;
    position: sticky;
    top: 100vh;
}
h1, h2, h3, h4, h5, h6{
    font-family: gotham-book !important;
}
/*
    The page title is the one <h1> on a page, for the document outline
    and search; it is drawn at the h2 size those headings had until
    31 Oct 2026. Bootstrap gives h1 and h2 the same margins (20px/10px),
    weight (500) and line-height (1.1), so the size is the only thing
    to pin.
*/
h1.page-title{
    font-size: 30px;
}
h4.title{
    color:#ba131a !important;
}
p{
    font-family: gotham-book !important;
}
p strong{
    font-family: gotham-bold !important;
}
span strong{
    font-family: gotham-bold !important;
}
section.font-gotham div{
    font-family: gotham-book !important;
}
.menu-list li a{
    font-size: 15px;
    font-family: gotham-book;
    color: #636363;
}
.menu-list li a:hover{
    text-decoration: none;
}
.menu-list li a span.active{
    font-family: gotham-bold;
    color: #363636;
    border-bottom: 2px solid #b11e24;  
}
.nav li a{
    background-color: white;
    font-family: gotham-bold;
    color: #636363;
}
.nav li a:hover{
    background-color: white;
}
.nav li.active a{
    background-color: white;
    /*font-family: gotham-bold;*/
    color: #ba131a;
}

/*
    Bootstrap 3 puts "outline: 5px auto -webkit-focus-ring-color" with a
    negative outline-offset on a:focus and .btn:focus. Chrome now draws that
    ring as a black-and-white double line, and the negative offset paints it
    inside the element -- a black box around the menu text. It sticks on the
    current-language button because that link is href="#", so the click never
    navigates and focus never leaves.

    Drop it for pointer input only. :focus-visible still fires for keyboard
    tabbing, so the ring is replaced there rather than removed -- navigating
    the menu by keyboard must stay visible.

    The tab lists on the content pages (.nav li a -- Tinjauan / Visi & Misi
    on About, the Home tabs) are href="#tab-n" with data-toggle="tab", so the
    same thing happens there: the click opens the tab, nothing navigates, and
    the black ring sits on the active entry until focus moves elsewhere.

    The breadcrumb in the phone layout's hero (.business-header a, and
    the "> Home" link in .business-header-home) is href="#" as well, so a
    tap there left the same ring on the current page's name.
*/
.menu-list li a:focus,
.nav li a:focus,
.languange-bar .btn:focus,
.languange-bar .btn.focus,
.languange-bar .btn:active:focus,
.languange-bar .btn.active:focus,
.breadcrumb li a:focus,
.business-header a:focus,
.business-header-home a:focus{
    outline: none;
}
.menu-list li a:focus-visible,
.nav li a:focus-visible,
.languange-bar .btn:focus-visible,
.breadcrumb li a:focus-visible,
.business-header a:focus-visible,
.business-header-home a:focus-visible{
    outline: 2px solid #ba131a;
    outline-offset: 2px;
}

#white{
    color: whitesmoke !important;
}
.hr {
    display:block;
    text-align:center;
    margin:10px 0 10px; 
    overflow:hidden;	
}
.hr .inner {
    display:inline-block;
    width:70px;
    height:50px;
    padding:0 20px;
    position:relative;
    background:url(../image/logo.png) center no-repeat;
    -webkit-background-size:auto 50px;
    -moz-background-size:auto 50px;
    background-size:auto 50px;
}
.hr .inner:before,
.hr .inner:after {
    position:absolute;
    top:50%;
    width:999px;
    border-top:2px solid #777;
    content:"";
}
.hr .inner:before {
    left:-999px;
}
.hr .inner:after {
    left:100%;
}
hr{
    border-top: 1.5px #636363 solid;
}

.business-header-home {
    margin-top: 5px;
    padding-left: 16px;
    /* min-, not height: the tagline is the menu description and runs to
       three lines on a phone; a fixed 66px box clipped the third line
       under the menu list. One line still gets exactly the 66px box. */
    min-height: 66px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.business-header-home a{
    color: #666666;
    font-size: 9.5px;
}
.business-header-home h5{
    font-family: gotham-bold;
    color: #666666;
}
.li-home{
    border-bottom: #cbcbcb 1px solid;
}
.bg-red{
    font-family: gotham-bold;
    background: -w.ebkit-linear-gradient(left, #ba131a , #a70e13); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #ba131a, #a70e13); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #ba131a, #a70e13); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #ba131a , #a70e13); /* Standard syntax (must be last) */
}
.bg-red h5{
    padding-left: 16px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.business-header {
    margin-top: 5px;
    padding-left: 16px;
    height: 35px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.business-header a{
    color: #666666;
    font-size: 9.5px;
    height: 35px;
    line-height: 35px;
}
.decrease-top{
    margin-top:-10px;
}
.no-padding{
    padding:0;
}
span.title-client{
    color :#ba131a;
    font-family: gotham-bold;
    font-weight: 700;
}
span.title-equipment{
    font-size: 12px;
    color :#ba131a;
    font-family: gotham-bold;
    font-weight: 700;
}
.img-portfolio{
    margin-bottom: 15px;
}

/* ------------------------------------------------------------------ news */
/*
    The news uploads have no common shape -- they run from 622x1280 portrait
    to 2200x664 letterbox -- so the thumbnails are cropped to one fixed box
    rather than left at their own aspect ratio. The card links to the
    uncropped original, nothing is lost to the crop.

    One grid covers every width. The old view carried a desktop copy and a
    mobile copy of the same list, and a display:none container does not stop
    a browser downloading the images inside it.
*/
.news-grid{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.news-card{
    display: flex;
    flex-direction: column;
    width: 33.3333%;
    padding: 0 10px;
    margin-bottom: 26px;
}
@media (max-width: 991px){
    .news-card{
        width: 50%;
    }
}
@media (max-width: 479px){
    .news-card{
        width: 100%;
    }
}

.news-media{
    position: relative;
    display: block;
    overflow: hidden;
    background-color: #f5f5f5;
    border: 1px solid #e5e5e5;
}
.news-media:before{
    /* 4:3. Chosen over 16:9 because it crops the portrait uploads less. */
    content: "";
    display: block;
    padding-top: 75%;
}
.news-media img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-transition: -webkit-transform .35s ease;
    transition: transform .35s ease;
}
.news-media:hover img,
.news-media:focus img{
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}
.news-zoom{
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: #fff;
    background-color: rgba(186, 19, 26, .92);
    border-radius: 2px;
    opacity: 0;
    -webkit-transition: opacity .2s ease;
    transition: opacity .2s ease;
}
.news-media:hover .news-zoom,
.news-media:focus .news-zoom{
    opacity: 1;
}

.news-body{
    padding-top: 10px;
}
.news-date{
    display: block;
    font-family: gotham-book;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8a8a8a;
}
.news-title{
    /* !important: the blanket h1-h6 rule above forces gotham-book. */
    font-family: gotham-bold !important;
    font-size: 14px;
    line-height: 1.45;
    color: #ba131a;
    margin: 4px 0 0;
    /* Titles are one long sentence each -- clamp so cards stay comparable. */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-detail{
    font-size: 13px;
    color: #636363;
    margin-top: 6px;
}

.news-year{
    font-size: 15px;
    color: #666666;
    margin: 34px 0 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5e5;
}
.news-year span{
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: -7px;
    border-bottom: 2px solid #ba131a;
}

/*
    Centre the lightbox on both axes. Bootstrap 3 pins a modal to the top of
    the viewport -- .modal-dialog-centered only arrived in Bootstrap 4 -- so
    this is that rule backported: flex the dialog and give it a min-height,
    never a height, so a photo taller than the screen grows the dialog and
    scrolls inside .modal instead of being clipped at both ends.
*/
.news-lightbox .modal-dialog{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - 20px);   /* Bootstrap gives the dialog 10px here */
    margin: 10px auto;
}
@media (min-width: 768px){
    .news-lightbox .modal-dialog{
        min-height: calc(100% - 60px);   /* ...and 30px from sm up */
        margin: 30px auto;
    }
}
.news-lightbox .modal-content{
    /* Without this the content shrink-wraps the image as a flex item. */
    width: 100%;
    border-radius: 2px;
}
.news-lightbox .modal-content > .close{
    position: absolute;
    top: 6px;
    right: 10px;
    z-index: 2;
    width: 28px;
    height: 28px;
    color: #fff;
    background-color: rgba(0, 0, 0, .45);
    border-radius: 50%;
    opacity: 1;
    text-shadow: none;
}
.news-lightbox img{
    max-height: 76vh;
    width: auto;
}
.news-lightbox-caption{
    padding: 12px 16px;
    border-top: 1px solid #eeeeee;
}
.news-lightbox-caption time{
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8a8a8a;
}
.news-lightbox-caption h4{
    font-family: gotham-bold !important;
    font-size: 15px;
    color: #ba131a;
    margin: 2px 0 0;
}

/* Same focus-ring treatment as the menu, see the note above. */
.news-media:focus{
    outline: none;
}
.news-media:focus-visible{
    outline: 2px solid #ba131a;
    outline-offset: 2px;
}