/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.adverts {
    padding-bottom: 10px;
}
.rightside-container {
    padding-top: 1px;
    padding-bottom: 1px;
}
/* hide wide add for smaller screens or on resize */
.widescreen-advert {
    display: none;
    width: 100%;
    max-height: 90px;
    min-height: 60px;
}
.widescreen-advert-tall {
    display: none;
    width: 100%;
    max-height: 600px;
    min-height: 600px;
}
.widescreen-advert-square {
    display: none;
    width: 100%;
    max-height: 300px;
    min-height: 300px;
}
.mobile-advert {
    display: block;
}
/* ---------  carousel ----------------------------- */
/*.carousel-item {
    max-width: 700px; 
    max-height: 600px;
    min-height: 450px;
    min-width: 700px;    
}
.carousel-inner {
    max-height: 600px;
}

 .carousel-item img {
    max-height: 600px;
    min-height: 550px;
    min-width: 700px;    
}*/

.carousel-item {
    max-width: 700px; 
    max-height: 500px;
    min-height: 450px;
    /*min-width: 700px;*/
    min-width: 300px;
    
}
.carousel-inner {
    max-height: 500px;
}

 .carousel-item img {
    max-height: 500px;
   /* min-height: 500px;
    min-width: 700px;  */  
}
 .carousel-inner img {
    width: 100%;
    height: 100%;
}
/* enable responsive items */ 

.carousel-item.active, .carousel-item-next, .carousel-item-prev {
  display: block;
}

/* ---------  nav ----------------------------- */
.dropdown-menu {
    min-width: 12rem;
}
/* https://codepen.io/svnt/pen/beEgre */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
 /* -----------------   end menu na items -------------------- */   

/* ------------------------  news articles --------------------- */

/* full image is displayed on article page, and it will overflow into column 3 on right */
.newsimage {
    float:left;
    padding-right:5px;
    max-width:730px; 
}

.section-news2-headline {
    display: block;
    overflow: hidden;
    padding: 2px 2px 0;
    min-height: 5px;
    text-decoration: none;
}

.newsheadline {
    color: #262626;
}
.newsheadline:visited {
    color: #7f7f7f;
}
.section-news1-headline {
    display: block;
    padding-bottom: 2px;
    text-decoration: none;
}
a.newsheadline {
   text-decoration: none;
   color:  #000;
}
/* ----------------  end news related ---------------------- */

/* fixes for old subscriber reports */

 .tabletitle td, .tabletitle th {
    padding: .75rem;
    vertical-align: top;
    border-top: none;
}


.footer {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 30rem;
}  


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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * 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: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These 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 */
}
/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */
/* @media (min-width: @screen-sm-min) { ... } */

/* Medium devices (desktops, 992px and up) */
/*@media (min-width: @screen-md-min) { ... } */

/* Large devices (large desktops, 1200px and up) */
/* @media (min-width: @screen-lg-min) { ... } */
/* 12393 */
@media (min-width: 992px) {
    .widescreen-advert {
        display: block
    }
    .widescreen-advert-tall {
        display: block
    }
    .widescreen-advert-square {
        display: block
    }
    .widescreen-advert {
        display: block;
        width: 100%;
        max-width: 728px
    }
    .widescreen-advert-tall img {
        display: block;
        width: 100%;
        max-height: 600px
    }
    .widescreen-advert-square img {
        display: block;
        width: 100%;
        max-height: 300px
    }
    .rightside-container .widescreen-advert img {
        float: right
    }
    .modal-dialog {
        max-width: 1024px;
        margin: 1.75rem auto;
    }
}

@media (min-width: 1280px) {
    .leftside-container {
        width:72%
    }
    .rightside-container {
        width: 27.9999%
    }
    .modal-dialog {
        max-width: 1200px;
        margin: 1.75rem auto;
    }
}
@media (min-height: 700px) {
     .modal-dialog {
        max-height: 65px;
        margin: 1.75rem auto;
    }
}    

@media (min-width: 768px) {
    .navbar-default {
        margin-bottom: 12px
    }
    .mobile-advert {
        display: none
    }
    .mobile-advert img {
        display: none
    }
    
    .widescreen-advert {
        display: block
    }
    .widescreen-advert img {
        display: block;
        width: 100%
    }
    .client-logo {
        width: 12%;
        margin: 12px 6.3%;
        opacity: 0.5
    }
    .mobile-table {
        display: none
    }
    .desktop-table {
        display: table
    }
    .btn.nav-btn-signin {
        float: right;
        margin-bottom: 0
    }
    .modal-dialog {
        max-width: 1200px;
        margin: 1.75rem auto;
    }
}
 @media (min-height: 540px) {
     .modal-dialog {
        max-height: 500px;
        margin: 1.75rem auto;
    }
}    

/*@media (min-width: 680px) {
  .modal-dialog {  
     width: 90%; 
     height: 90%; 
     top: 5%; 
     left: 5%; 
     right: 5%; 
     bottom: 5%;
  }*/
@media (min-width: 576px)
.modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}
@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

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

/*  sisgen report display full href link not the name  
   a[href]:after {
        content: " (" attr(href) ")";
    }*/

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

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

    h2,
    h3 {
        page-break-after: avoid;
    }
    
    /* orig ARO print.css contents */
    .visible-print {
        display: inherit !important;
    }
    .hidden-print {
        display: none !important;
    }
    #PEDTAB td {
       font-size:8px;
    }
    #PEDTABC td {
        font-size:8px;
    }
    .PEDTABT td {
        font-size: 8px;
    }
    /* end orig ARO print.css contents */

}
