﻿/******************************************************************
768up.css
-------------------------------------------------------------------
Stylesheet: Tablet & Small Desktop
-------------------------------------------------------------------

Here's where you can start getting into the good stuff.
This size will work on iPads, other tablets, and desktops.
So you can start working with more styles, background images,
and other resources. You'll also notice the grid starts to
come into play. Have fun!

******************************************************************/


/* These styles are applied for viewports 768px and higher */
@media only screen and (min-width: 768px) {

    /* 2 column layouts - Moves buttons to opposite side for desktop views */
    #col2Content{
    float: right;
    width: 70%;
    padding: 0 0 0 20px;
    }

    #sidenav-col,
    #side-buttons {
    width: 30%;
    padding: 0;
    }

    #header-left {
    width: 55%;
    }
    
    #header-right {
    width: 45%;
    text-align: left;
    padding-top: 15px;
    padding-bottom: 17px;
    }

    .code_snippet_box{
    margin-bottom: 1.25em;
    width: 49%;
    margin-right: 1.25em;
    }
 
    .details_right{
    float: right;
    width: 48%;
    }

    .details_box {
    padding-top: 0;
    }

    #charm-toggle {
    left: 40%;
    top: 0;
    right: auto;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-top-left-radius: 0;
    }

    #charm-bar .mm-button-wrap {
    width: 20%;
    padding: 2em;    
    margin: 0;
    }

    /*------------------------------------------------------------------
    --> Icon Tray For Widgets
    ------------------------------------------------------------------*/

    #icons-wrap .owl-buttons {display: block;}

    #icons-wrap .owl-buttons div {
    color: #212492;
    background: transparent;
    filter: Alpha(Opacity=100);
    opacity:1;
    position: absolute;
    }

    #icons-wrap .owl-buttons .owl-next {
    right: -50px;
    top: 25px;
    }

    #icons-wrap .owl-buttons .owl-prev {
    left: -50px;
    top: 25px;
    }

    #icons-wrap .fa {
    font-size: 6em;
    font-weight: bold;
    }

    #icons-wrap p.mobile-help {display: none; }
    #icons-wrap .owl-carousel {padding: 0;}

    #icons-wrap {
    overflow: hidden;
    padding: 0 3%;
    } 

    /* --> Home Background ----------------------------------------------*/

    #home-background-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
    }

    #home-background-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 3;
    height: 100%;
    background: rgba(255,255,255,0);
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(0,0,0,0.53)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#000000', GradientType=0 );
    }

    #homebg{
    position: relative;
    min-height: 277px;
    height: 100%;
    display: inline-block;
    width: 100%;
    }

    #home-background {
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 0;
    top: 0;
    }

    #homebg .picture {
    display: inline-block;
    min-height: 450px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    top: 0;

    transition: background-position .3s ease-out;
    -o-transition: background-position .3s ease-out;
    -moz-transition: background-position .3s ease-out;
    -webkit-transition: background-position .3s ease-out;
    }


    /* --> Page Title Background ----------------------------------------------*/

    #secondary-background-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: inline-block;
    }

    #secondary-background-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 4;
    height: 100%;
    // Client requests removal overlay of background image 4/4/17 - ES
    /*background: rgba(255,255,255,0);
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(0,0,0,0.53)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(0,0,0,0.53) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#000000', GradientType=0 ); */
    }

    #secondarybg{
    position: relative;
    min-height: 230px;
    height: 100%;
    display: inline-block;
    width: 100%;
    }

    #secondary-background {
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 0;
    top: 0;
    }

    #secondarybg .picture {
    display: inline-block;
    min-height: 470px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    top: 0;

    transition: background-position .3s ease-out;
    -o-transition: background-position .3s ease-out;
    -moz-transition: background-position .3s ease-out;
    -webkit-transition: background-position .3s ease-out;
    }

    /* --> Homepage News Alert ---------------------------------*/

    #alert_overlay {
    right: 68px;
    width: 62%;
    }

    #alert-overlay-inner h3{
    font-size: 1.8em;
    }

    .civica-top {
    right: 20px;
    bottom: 20px;
    }

    /*------------------------------------------------------------------
    --> Main Navigation
    ------------------------------------------------------------------*/

    /* --> Main Navigation Container ---------------------------------*/

    section#top-nav {
    background-color: rgba(35, 64, 143, 0.9);
    }

    section#top-nav .nav-row .columns {
    padding: 0 8px;
    }

    /* --> Main Navigation Title -------------------------------------*/

    nav.main-nav .name {
    display: none;
    }

    nav.main-nav ul {
    width: 100%;
    text-align: center;
    display: inline-block;
    background: none;
    }

    .top-bar-section ul li {
    display: inline-block;
    float: none;
    vertical-align: middle;
    }

    /* --> Main Navigation Item Link ---------------------------------*/

    nav.main-nav ul.nav-list > li.nav-item{
    width: 15.25%;
    }

    nav.main-nav ul.nav-list > li.nav-item > a {
    text-align: center;
    }

    nav.main-nav ul.nav-list > li.nav-item:hover > a {
    background: #0d89d1;
    }

    /* --> Main Navigation Item Link ---------------------------------*/

    nav.main-nav ul li.nav-item > a {
    font-size: 1.3em;
    padding: 0 ;
    line-height: 50px;
    color: #fffaf2;
    font-weight: normal;
    }

    /* Dropdown Item Link */
    nav.main-nav .dropdown li.nav-item a {
    text-transform: none;
    font-size: 0.9em;
    line-height: 18px;
    background: #fff;
    padding: 10px 20px;
    text-align: left;
    border-bottom: 1px solid #ccc;
    color: #333;
    }

    /* --> Main Navigation Dropdown Container ------------------------*/

    nav.main-nav .dropdown {
    width: 200px;
    text-align: left;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: white;
    border-top: 2px solid #0d89d1;

    -webkit-box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.4);
    }

    /* Has-Dropdown Arrow */
    nav.main-nav .has-dropdown > a:after {
    display: none;
    }

    /* Flyout to Left */
    .top-bar li.flyout-left .dropdown li .dropdown {
    left: -200px;
    width: 200px;
    }

    .top-bar li.flyout-left .dropdown  {
    right: 0;
    left: auto;
    }

    /* Flyout to Left Link */
    .top-bar li.flyout-left .dropdown li.has-dropdown > a {
    padding-right: 15px !important;
    padding-left: 32px;
    }

    .top-bar li.flyout-left .dropdown li.has-dropdown > a:after {
    left: 4%;
    border-right-color: #aa2300 ;
    border-left-color:transparent;
    }

    .top-bar-section .has-dropdown>a {
    padding-right: 0 !important
    }

    /* 
    Flyout Link 
    .top-bar .has-dropdown .dropdown li.has-dropdown > a {
    background: #333;
    }*/

    /* Flyout Icon (text arrows) */
    .top-bar .has-dropdown .dropdown li.has-dropdown > a:after {
    left: 91%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-left-color: #23408f;
    border-width: 5px;
    margin-top: -5px;
    display: block;
    }

    /* Hide navigation dividers */
    nav.main-nav .top-bar-section > ul > .divider {
    display: none;
    }


    /* Side Navigation */
    #side-nav.size1 .sf-menu a{ font-size: 1.4em; }

/*------------------------------------------------------------------
--> BreadCrumbs / System Buttons
------------------------------------------------------------------*/

/* --> System Buttons ----------------------------------------------*/

    /* Column that contains the system buttons */
    .columns.system-btns-col { padding: 0 8px; }

    nav#side-nav .sf-menu ul {
    left: 100%;
    position: absolute;
    width: 200px;
    line-height: 25px;
    padding: 0;
    }


    /* Flyout Indicator (Arrow) */
    nav#side-nav .sf-sub-indicator {
    border: solid transparent;
    border-color: transparent;
    border-top-color: transparent;
    border-left-color: #23408f;
    border-width: 5px;
    }

/* --> Breadcrumbs ----------------------------------------------*/

    /* --> System Buttons ----------------------------------------------*/

    /* Email, Edit, Print List Container */
    ul.system-btns-list {
    float: right;
    width: auto;
    }

    /* System Button Item */
    ul.system-btns-list > li {
    width: auto;
    margin-bottom: 0;
    margin-left: 0;
    padding: 0;
    }

    /* System Button Dropdown Menu */
    ul.system-menu {
    width: 180px;
    }

    /* System Button Link Text */
    ul.system-btns-list > li a.button {
    font-size: 0;
    padding: 15px !important;
    }

    /* System Button Style */
    .button.system-button { width: auto; }

    /* Email */
    #btn-email, #btn-edit, #btn-print { background-position: center center; }


/*------------------------------------------------------------------
--> Home Contents
------------------------------------------------------------------*/

/* --> Home Buttons ----------------------------------------------*/

    /* Hide separator that appeared below the buttons on the homepage */
    #dynamic-home-btns hr.home-btn-sep { display: none; }


/* --> Most Popular ----------------------------------------------*/

    /* Most Popular list */
    section#home-mostpop ul.az-list {
    width: 92%;
    padding-left: 8%;
    }

    /* Most Popular list item link */
    section#home-mostpop ul.az-list li a {
    font-size: 1.4em;
    }


/* --> Events List -----------------------------------------------*/

    /* Description for event */
    p.events-description {
    font-size: 1.3em;
    }


/*------------------------------------------------------------------
--> Page Footer
------------------------------------------------------------------*/
    
    #footer-left {
    width: 50%;
    float: left;
    text-align: left;
    }

    #footer-middle {width: 50%;margin-top: 3em;}
    #footer-right {width: 100%; text-align: center;margin-top: 3em;}

    .footer-seal {
    width: 32%;
    text-align: left;
    }

    .footer-address {
    width: 64%;
    text-align: left;
    }

    .redondo-top {
    right: 20px;
    bottom: 20px;
    }

    #email_signup_div,
    .signup_title {
    text-align: left;
    }
    
    .signup_title 
    #dynamic-social-btns,
    .social_title {
    text-align: center;
    }


/* --> Copyright -------------------------------------------------*/

    #copyright-span p.copyright {
    text-align: left;
    }

/* --> Divider (Mobile only)--------------------------------------*/

    /* Hide the divider for desktop */
    hr.footer-divider { display: none; }

}
