
@import url('//fonts.googleapis.com/css?family=Roboto:900,100,300,700,400');

body {
    color: #000;
    font-family: 'Roboto',sans-serif;
    font-size: 1.4rem;
    line-height: 2.4rem;
}

html {
    overflow-y: scroll;
}

html,
body {
    height: 100%;
}

h1,
h2,
h3 {
    margin-top: 0;
}

p,
ul {
    margin-bottom: 28px;
}

#page-wrap {
    background: no-repeat center center fixed;
    color: #000;
    font-family: 'Roboto',sans-serif;
    font-size: 1.4rem;
    line-height: 2.4rem;
    margin-bottom: -75px; /* equal to footer height */
    min-height: 100%;
    position: relative;
    z-index: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

img#background-image {
    display: none;
    left: 0; 
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
}

.logo {
    display: inline-block;
    background-color: #FFF;
    padding: 10px 20px;
    position:relative;
}

.logo:before,
.logo:after {
    bottom:0;
    content: '';
    left:10px;
    position:absolute;
    right:10px;
    top:50%;
    z-index:-1;
    -webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 10px rgba(0,0,0,0.4);
    box-shadow:0 0 10px rgba(0,0,0,0.4);
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}

.logo h1 {
    margin: 0;
}

header {
    margin-bottom: 50px;
}

#side-nav {
    position: relative;
    margin: 0 -15px 30px 0;
    z-index: 10;
}

#side-nav ul {
    font-size: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#side-nav ul li {
    background-color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2px;
    text-transform: uppercase;
}

#side-nav ul li #p123-logo {
    height: 40px;
}

#side-nav ul li .p123-logo-1,
#side-nav ul li .p123-logo-2,
#side-nav ul li .p123-logo-3 {
    background: no-repeat 20px center;
}

#side-nav ul li .p123-logo-1 {
    background-image: url('../images/p123-logo-1.png');
}

#side-nav ul li .p123-logo-2 {
    background-image: url('../images/p123-logo-2.png');

}

#side-nav ul li .p123-logo-3 {
    background-image: url('../images/p123-logo-3.png');
}

#side-nav ul.p123 li {
    padding: 10px 0;  
}

#side-nav ul li a {
    color: #000;
    display: block;
    outline: 0;
    padding: 10px 20px;
}

#side-nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
}

section#intro .intro-content {
    background-color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    padding: 15px;
}

section#intro .intro-content p:last-child {
    margin: 0;
}

section#main-content {
    margin-bottom: 30px;
    position: relative;
    z-index: 20;
}

section#main-content .main-content {
    padding-top: 30px;
}

section#main-content .panel {
  background-color: inherit;
  border-radius: 0;
  border: 1px solid transparent;
  box-shadow: none;
  margin-bottom: 0;
}

section#main-content .panel-heading {
    padding: 0;
}

#page-wrap:after {
    content: "";
    display: block;
}

/* Accordion */

.accordion, .accordion * {
    -webkit-box-sizing:border-box; 
    -moz-box-sizing:border-box; 
    box-sizing:border-box;
}
 
.accordion {
    overflow: hidden;
}

.accordion-section-content a,
#side-nav ul li a {
    outline: none;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.accordion-bar {
    color: #fff;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 10px;
    padding: 10px 10px 10px 40px;
    position: relative;
    text-transform: uppercase;
    width: 100%;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.accordion-bar {
    margin-bottom: 5px;
}

.accordion-bar.collapsed {
    margin-bottom: 10px;  
}

.accordion-bar:after {
    content: '\f068';
    font-family: 'FontAwesome';
    left: 20px;
    position: absolute;
}

.accordion-bar.collapsed:after {
    content: '\f067';
}

.accordion-bar:hover,
.accordion-bar:focus {
    color: #fff;
    text-decoration: none;
}

.accordion-section-content {
    background-color: #fff;
    font-weight: 300;
	padding: 40px;
    margin-bottom: 5px;
}

.accordion-summary {
    border-bottom: 1px solid #cdcdcd;
    margin-bottom: 20px;
}

.accordion-summary h2 {
    font-size: 2.4rem;
    line-height: 3rem;
}

.accordion-content ul {
    list-style-type: square;
    margin-top: -10px;
    padding-left: 20px;
}

.accordion-content table {
    border: 0;
    margin-bottom: 20px;
    max-width: 100%;
    width: 100% !important;
}

.accordion-content table p {
    margin: 0;
}

.accordion-content table>thead>tr>th,
.accordion-content table>tbody>tr>th,
.accordion-content table>tfoot>tr>th,
.accordion-content table>thead>tr>td,
.accordion-content table>tbody>tr>td,
.accordion-content table>tfoot>tr>td {
    border-top: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}

.accordion-icon {
    margin-bottom: 20px;
}

a.accordion-button {
    color: #fff;
    display: inline-block;
    font-weight: 300;
    line-height: 3rem;
    margin-bottom: 20px;
    padding: 0 40px 0 20px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

a.accordion-button.collapsed {
    width: 110px;
}

a.accordion-button:after {
    font-family: 'FontAwesome';
    position: absolute;
    right: 20px;
}

a.accordion-button.collapsed:after {
    content: '\f054';
}

a.accordion-button:after {
    content: '\f078';
}

#page-wrap:after,
footer {
    height: 75px;
}

footer {
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 15px 0;
}

.footer-content {
    text-align: center;
    text-transform: uppercase;
}

.footer-content,
.footer-content a,
.footer-content a:hover {
    color: #fff;
}

.footer-content ul {
    display: inline-block;
    font-size: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-content ul li:first-child {
    margin-left: 0;
}

.footer-content ul li {
    display: inline-block;
    margin-left: 15px;
}

.footer-content a.print {
    padding: 0 15px;
}

/* Modal */

.modal-open {
    padding: 0 !important;
}

.modal .close {
    font-size: 2.5rem;
    opacity: 1;
    outline: 0;
    text-shadow: none;
}

.modal .modal-content {
    background-color: #fff;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.modal .modal-content h3 {
    font-size: 2.4rem;
    line-height: 3rem;
    border: none;
}

.modal .modal-body {
    color: #000;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 2.4rem;
    padding: 0 40px;
}

.modal .modal-body button {
    border: 0;
    color: #fff;
    display: block;
    font-size: 2.1rem;
    line-height: 4.5rem;
    margin: 0 auto;
    outline: 0;
    padding: 0 30px;
    text-transform: uppercase;
}

.modal .modal-body p:last-child {
    margin-bottom: 0;
}

.modal .modal-footer {
    height: 40px;
}

.modal .modal-header,
.modal .modal-footer {
    border: none;
}

/* Media Queries */

@media print {

    #page-wrap {
        font-size: 1rem;
      	line-height: 1.4rem;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .accordion-icon {
        float: left;
        margin: 0 20px 20px 0;
    }

    .accordion-icon img {
        height: 50px;
        width: 50px;
    }

    .accordion-bar {
        color: #000;
        background-color: none;
        padding: 0;
        position: relative;
    }

    a.accordion-button {
        border: 1px solid #000;
    }

    .collapse {
        display: block !important;
    }

    section#main-content .main-content a:link:after,
    section#main-content .main-content a:visited:after {
        content: "";
        font-weight: bolder;
        text-decoration: none;
    }

    header,
    section#intro,
    #side-nav,
    footer {
        display: none;
    }
}

@media only screen and (max-width : 992px) {

    section#main-content .main-content {
        padding-top: 0;
    }

    #side-nav {
        padding-top: 30px;
    }

    footer {
        height: auto;
    }
}

@media only screen and (min-width : 992px) {

    #side-nav {
        right: 0;
        position: fixed;
    }
}

/* iPad [portrait + landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

    #page-wrap {
        background: none !important;
    }

    img#background-image {
        display: block;
    }
}

/* iPhone [portrait + landscape] */
@media only screen and (max-device-width: 480px) {

    #page-wrap {
        background: none !important;
    }

    img#background-image {
        display: block;
    }
}
