/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    overflow-y: scroll;
}

html, body {
    height: 100%;
}

.powered-by {
    padding-top: 5px;
}

/* Large desktop */
@media (min-width: 1200px) { 
    .nav li a { padding: 12px; }
    .form-review-complex-control .review-label { text-align: right; }
    .header-title { margin-top: 0; }
}

/* Large desktop */
@media (min-width: 980px) { 
    .logo { float: right; }
    .form-review dt { width: 33.3333%; }
    .form-review dd { margin-left: 33.3333%; padding-left: 20px; }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    .nav li a { padding: 12px 4px; }
    .form-review dt { width: 33.3333%; }
    .form-review dd { margin-left: 33.3333%; padding-left: 20px; }
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .logo { width: 100%; }
    .powered-by { float:none; }
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
}

/* disable auto-zoom for safari on iphone */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .form-control {
    font-size: 16px;
  }
}
@media (min-width: 768px) {
  .form-control {
    font-size: 14px;
  }
}

.content-body {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -86px;
}

.header {
	color: #333;
	font-weight: bold;
	font-size: 1.3em;
	padding: 6px 0;
}

.logo { max-height: 125px; }
.logo-wide { max-width: 100%; max-height: 300px; }

.navbar-nav {
    width: 100%;
}

.nav li {
    width: 9%;
    font-size: 85%;
    float: left;
}
.nav li a {
    height: 80px;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align:center;
    line-height: 15px;
    padding: 12px 14%;
    border-left: solid 1px transparent;
    border-right: solid 1px transparent;
}

.nav li br {display:inline;}

.nav-num {
    display: inline-block;
    padding: 2px 9px;
    background-color: #ddd;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-right: 0;
    min-width: 32px;
}

.nav-item .nav-num {
    color: #777;
    background-color: #CFE2F2;
}

.nav-item-done .nav-num {
    background-color: #DFF0D8;
}

.nav-item.current, 
.nav-item:hover, 
.nav-item:focus {
    background: #eee!important;
    border-left: solid 1px #e7e7e7;
    border-right: solid 1px #e7e7e7;
}

.nav-item.current .nav-num, 
.nav-item:hover .nav-num, 
.nav-item:focus .nav-num {
    background-color: #337AB7;
    color: #fff;
}

.nav-item-done.current .nav-num,
.nav-item-done:hover .nav-num,
.nav-item-done:focus .nav-num {
    /*background-color: #5CB85C;*/
}

.nav-item-disabled {
    color: #777!important;
}

.step-title h2 {
    border-bottom: solid 2px;
    padding: 6px 0;
}

.form-section-header {
	border-bottom: solid 1px #333;
	padding: 6px 0;
}
.form-section-subheader {
    margin-left: 15px;
}

.control-label.required:not(:empty):before {
    content: '* ';
    color: red;
}

.composite-control-list {
    border: solid 1px #ddd;
    border-radius: 3px;
    padding: 12px 28px;
    margin-bottom: 12px;
}

.composite-control-list .checkbox {
    margin-bottom: 10px;
    margin-left: -10px;
}

.composite-control-list .checkbox input {
    margin-left: 0;
}

.remove-composite-control {
    font-size: 10px;
    margin-right: -15px;
}

.optional {
	font-style: italic;
}

.submit {
    border-top: solid 1px;
    padding-top: 20px;
}

.form-review {
    padding: 20px;
}

.form-review h3 {
    margin: 12px 0;
    border-bottom: solid 2px;
}

.form-review h4 {
    margin: 12px 0;
    border-bottom: solid 1px;
}

.form-review h5 {
    margin: 6px;
    color: #555;
}

.form-review-complex-control {
    margin: 0 0 20px;
}

.form-review-complex-control .review-label {
    font-weight: bold;
}

.form-review dd dl:not(:first-child) {
    border-top: solid 1px;
    margin-bottom: 6px;
}

.push {
    height: 86px;
}

.footer {
	margin-top: 24px;
	border-top: solid 1px #aaa;
	height: 62px;
	color: #aaa;
}

.alert-sm {
    padding: 6px 12px;
}

.compatability-check h4 {
    font-weight: bold;
    margin: 0;
}

.compatability-check p {
    font-size: 90%;
}

.event-closed {
    margin-top: 24px;
}

.field-validation .alert {
    margin: 0 20px 0 0;
    padding: 6px;
    float: left;
}

.datepicker {z-index: 1151 !important;}

.preview {
    margin: 12px 0;
}

.preview img, .review-preview img {
    max-width: 250px;
    max-height: 250px;
}

#greekbill-logo {
    max-height: 150px;
}
#payment-information {
    font-size: 1.2em;
}

/* overlay for cookie modal */
.overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #333 !important;
    opacity: 0.5 !important;
    z-index: 100 !important;
}

/* view animations */
/* basic styling for entering and leaving */
/* left and right added to ensure full width */
[ui-view].ng-enter,
[ui-view].ng-leave { 
    transition:0.3s all ease; -moz-transition:0.3s all ease; -webkit-transition:0.3s all ease; 
}
    
/* enter animation */
[ui-view].ng-enter            { 
    -webkit-animation:slideInRight 0.3s both ease;
    -moz-animation:slideInRight 0.3s both ease;
    animation:slideInRight 0.3s both ease; 
}

/* leave animation */
[ui-view].ng-leave            { 
    -webkit-animation:slideOutLeft 0.3s both ease;
    -moz-animation:slideOutLeft 0.3s both ease;
    animation:slideOutLeft 0.3s both ease;   
}

input::-webkit-calendar-picker-indicator{
    display: none;
}

@media (max-width: 767px) {
    .nav li {width: auto;font-size: 100%;float:none;}
    .nav li a {height: auto;max-height: none;overflow: hidden;text-overflow: ellipsis;text-align:left;line-height:15px;padding:12px;border-left: solid 1px transparent;border-right: solid 1px transparent;}
    .nav li br {display:none;}
    .nav-num {display: inline;padding: 2px 9px;background-color: #ddd;border-radius: 10px;margin-bottom: 10px;margin-right: 2em;}
}

/* ANIMATIONS
============================================================================= */
/* slide out to the left */
@keyframes slideOutLeft {
    to      { transform: translateX(-200%); }
}
@-moz-keyframes slideOutLeft {  
    to      { -moz-transform: translateX(-200%); }
}
@-webkit-keyframes slideOutLeft {
    to      { -webkit-transform: translateX(-200%); }
}

/* slide in from the right */
@keyframes slideInRight {
    from    { transform:translateX(200%); }
    to      { transform: translateX(0); }
}
@-moz-keyframes slideInRight {
    from    { -moz-transform:translateX(200%); }
    to      { -moz-transform: translateX(0); }
}
@-webkit-keyframes slideInRight {
    from    { -webkit-transform:translateX(200%); }
    to      { -webkit-transform: translateX(0); }
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
