html
{
    height: 100%;
}

body
{
    height: 100%;
    font-family: Verdana, Arial, sans-serif;
    background-color:#154C81;
    margin:0;
    padding:0;
}

a { text-decoration: none; outline-style: none; }

/* get rid of built-in Tapestry validation bubbles */
div.t-error-popup
{
    visibility: hidden;
}

/* get rid of background stripes of jQuery UI dialog */
.ui-widget-overlay {
    opacity: 0.4 !important;
    background: #000000!important;
}

.ui-dialog {
    font-size: 12px !important;
}

#wrapper
{
    min-height: 100%;
}

#content
{
    padding: 0.5em 0.5em 4.5em 0.5em;
}

#footer
{
    height: 1.8em;
    background-color: #000000;
    padding: 1em 0;
    text-align: center;
    margin-top: -3.8em;
}

#footer a
{
    color: #FFFFFF;
}

div.cleaner
{
    clear: both; font-size:0;
}

.mainButton
{
    width:100%;
    padding:0.9em 0;
    display: block;
    text-align:center;
    margin-bottom:0.5em;
    font-size:1.5em;
    color:#000000;
    border-radius: 0.2em;
    -moz-border-radius: 0.2em;
    -webkit-border-radius: 0.2em;
    box-shadow: 0 0 0.6em #00335F;
    -moz-box-shadow: 0 0 0.1em #00335F;
    -webkit-box-shadow: 0  0.1em #00335F;

    /* CSS Gradients */
    background: rgb(239,248,252); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyMiUiIHN0b3AtY29sb3I9IiNlZmY4ZmMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI4MSUiIHN0b3AtY29sb3I9IiNjZWQ4ZGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(239,248,252,1) 22%, rgba(206,216,222,1) 81%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(22%,rgba(239,248,252,1)), color-stop(81%,rgba(206,216,222,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(239,248,252,1) 22%,rgba(206,216,222,1) 81%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(239,248,252,1) 22%,rgba(206,216,222,1) 81%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(239,248,252,1) 22%,rgba(206,216,222,1) 81%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(239,248,252,1) 22%,rgba(206,216,222,1) 81%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eff8fc', endColorstr='#ced8de',GradientType=0 ); /* IE6-8 */
}

a.searchService
{
    color: #FFFFFF;
    /* CSS Gradients */
    background: rgb(242,46,46); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSI0NiUiIHN0b3AtY29sb3I9IiNmMjJlMmUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI4NiUiIHN0b3AtY29sb3I9IiNkODBlMGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(242,46,46,1) 46%, rgba(216,14,14,1) 86%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(46%,rgba(242,46,46,1)), color-stop(86%,rgba(216,14,14,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(242,46,46,1) 46%,rgba(216,14,14,1) 86%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(242,46,46,1) 46%,rgba(216,14,14,1) 86%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(242,46,46,1) 46%,rgba(216,14,14,1) 86%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(242,46,46,1) 46%,rgba(216,14,14,1) 86%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f22e2e', endColorstr='#d80e0e',GradientType=0 ); /* IE6-8 */
}

.hidden{ display: none; }

a.searchService img { width:1em;top:0.2em; left:-0.2em; position:relative; }

td.columnGap{ width:1em; }

form#searchForm > table
{
    width:100%;
    text-align:center;
}

.searchCity {
    width: 80%;
    float: left;
}

.searchGPS {
    width: 18%;
    float: left;
    margin-left: 2%;
}

.searchTimeInterval {
    margin-bottom: 0.6em;
}

.searchTimeInterval ul {
    margin: 0;
}

#from, #to, #searchForm input, select
{
    margin-bottom:0.5em;
    font-size: 1.2em;
    border-radius: 0.2em;
    -moz-border-radius: 0.2em;
    -webkit-border-radius: 0.2em;
    box-shadow: 0 0 0.6em #00335F;
    -moz-box-shadow: 0 0 0.6em #00335F;
    -webkit-box-shadow: 0 0 0.6em #00335F;
}

#from, #to, #searchForm select
{
    width:100%;
    height:2.5em;
    border: 1px solid #00335F;
    padding: 0.4em 0 0 2em;
}

#searchForm select
{
    background: #FFFFFF url('../../images/portal/icon-service.png') no-repeat 0.5em;
}

#from, #to
{
    width:100%;
    background: #FFFFFF url('../../images/portal/icon-time.png') no-repeat 0.5em;
    margin-bottom: 0;
}

#from{ margin-bottom: 0.5em; }

/*#to{margin-left:2%;}*/

#searchForm select.time
{
    background: #FFFFFF url('../../images/portal/icon-time.png') no-repeat 0.5em;
}

#searchForm input[type="text"], #searchForm input[type="date"] {
    width: 100%;
    border: 1px solid #00335F;
    height: 2.5em;
    padding: 0 0 0 2.5em;
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:         border-box;
}

#searchForm input.city
{
    width: 100%;
    background: #FFFFFF url('../../images/portal/icon-city.png') no-repeat 0.5em;
}

#searchForm input.city + img.t-error-icon
{
    margin-left: 0;
    width: 0;
    height: 0;
    background: none;
}

#findGPS
{
    width: 100%;
    float: right;
    height: 2.5em;
    padding: 0;
}

#searchForm input.date
{
    background: #FFFFFF url('../../images/portal/icon-date.png') no-repeat 0.5em;
}

#searchForm .checkboxContainer
{
    margin: 1.2em 0;
}

#searchForm .checkboxContainer > input[type=checkbox]
{
    margin: 0;
}

#searchForm .checkboxContainer > label
{
    color: white;
    margin-left: 0.5em;
}

#searchForm #searchButton
{
    width:100%;
    height:2.5em;
    font-size: 1.8em;
    border:1px solid black;
    color:#FFFFFF;
    cursor: pointer;
    margin-bottom: 0;

    /* CSS Gradients */
    background: rgb(242,46,46); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSI0NiUiIHN0b3AtY29sb3I9IiNmMjJlMmUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI4NiUiIHN0b3AtY29sb3I9IiNkODBlMGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(242,46,46,1) 46%, rgba(216,14,14,1) 86%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(46%,rgba(242,46,46,1)), color-stop(86%,rgba(216,14,14,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(242,46,46,1) 46%,rgba(216,14,14,1) 86%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(242,46,46,1) 46%,rgba(216,14,14,1) 86%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(242,46,46,1) 46%,rgba(216,14,14,1) 86%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(242,46,46,1) 46%,rgba(216,14,14,1) 86%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f22e2e', endColorstr='#d80e0e',GradientType=0 ); /* IE6-8 */
}

div.ordering
{
    width:100%;
    color: #000000;
    background-color: #173E63;
    font-size: 0.9em;
    float:left;
    padding: 0.2em 0;
    margin-bottom: 10px;
}

a.ordering
{
    padding: 0.5em 0.5em 0.5em 2.6em;
    margin-right: 0.2em;
    color: #000000;
    font-size: 0.7em;
    float: right;
}

.ordering span { margin-left:0.5em; color: #FFFFFF; }

a.ordering.orderingName     { background: #D6D6D6 url('../../images/portal/icon-ordering-name.png') no-repeat 0.5em center; }
a.ordering.orderingPrice    { background: #D6D6D6 url('../../images/portal/icon-ordering-price.png') no-repeat 0.5em center; }

div.resultDate {
    float: left;
    text-align: center;
    width: 5em;
    color: #FFF;
    padding-top: 10px;
    min-height: 3.5em;
}

div.resultDate .date {
    min-height: 25px;
}

div.resultDate .dateName {
    font-size:0.7em;
    padding-top: 2px;
}

div.searchResult
{
    width: 100%;
    border-top: 1px solid #808080;
    float: left;
}

div.searchResult:hover
{
    background-color: #2070BF;
}

div.searchResult > .iconBar
{
    width: 30px;
    height: 60px;
    float: left;
}

div.searchResult > .iconBar div.setFavorite
{
    padding: 0;
    width: 30px;
    height: 60px;
    background: url("../../images/customicondesign-office11-simple/png/heart-not-favorite16.png") center no-repeat;
}

div.searchResult > .iconBar div.clearFavorite
{
    padding: 0;
    width: 30px;
    height: 60px;
    background: url("../../images/customicondesign-office11-simple/png/heart-favorite16.png") center no-repeat;
}

div.searchResult > .arrowBar
{
    display: block;
    width: 30px;
    height: 60px;
    float: right;
    background: url("../../images/portal/mobile/mobilearrow.png") center no-repeat;
}

div.searchResult > .mainBar
{
    display: block;
    overflow: hidden;
    min-height: 35px;
}

div.searchResult > .mainBar h2
{
    margin: 0;
    padding-top: 10px;
    color: #FFFFFF;
    font-size: 1em;
    font-weight: bold;
}

div.searchResult > .mainBar span
{
    padding-top: 10px;
    padding-left: 0.5em;
    float: right;
    color: #FFFFFF;
    font-size: 1em;
    font-weight: bold;
}

div.searchResult > .detailBar
{
    display: block;
    overflow: hidden;
    min-height: 25px;
}

div.searchResult > .detailBar div
{
    padding-top: 2px;
    color: #FFFFFF;
    font-size: 0.7em;
}

div.searchResult > .detailBar div:first-child
{
    /*padding-left: 0.5em;*/
    float: right;
}

a.scheduleButtons
{
    width: 4em;
    height: 40px!important;
    color: #FFFFFF;
    padding:0!important;
    margin:0 0.2em 0 0.2em!important;
}

a.scheduleButtons.left
{
    float: left;
    background: transparent url('../../images/portal/mobile/nav-service-left.png') no-repeat center left;
}

a.scheduleButtons.right
{
    float: right;
    background: transparent url('../../images/portal/mobile/nav-service-right.png') no-repeat center right;
}

.scheduleServiceName
{
    position: relative;
    top:0.5em;
    font-size:1.3em;
}

table.serviceSchedule
{
    width:100%;
    font-size:0.8em;
    display: none;
    text-align: center;
    border-collapse:collapse;
    background-color: #E9E9E9;
}

table.serviceSchedule td
{
    background: #FFFFFF;
}

table.serviceSchedule td, th.headerTimeLeft
{
    border: 1px solid #A3A197;
}

table.serviceSchedule th.headerTimeLeft
{
    width:6%;
}

table.serviceSchedule th.headerServiceTop
{
    color: #FFFFFF;
    background-color: #000000;
    vertical-align: middle;
}

table.serviceSchedule td.blockedCell
{
    background: gray;
}

#content h2 { color:#FFFFFF; }

table.serviceSchedule td.lessonCell
{
    background: yellow;
}

table.serviceSchedule td.reservationCell
{
    background: #FF0000;
}

table.serviceSchedule td.blockedCell
{
    background: #808080;
}

table.serviceSchedule td.myReservationCell
{
    background: #D0FFA2;
}

table.serviceSchedule .timetableTimeRelationPast {
    background-image: url('../../images/shadow_tile.png') !important;
    background-repeat: repeat !important;
}

table.serviceSchedule a
{
    display: block;
    padding: 0.5em 0;
}

table.serviceSchedule .emptyLinkCell a
{
    color: #9E9E9E;
}

input.wideField[type="text"],
input.wideField[type="password"],
input.wideSubmit[type="submit"]
{
    width: 100%;
    height: 2.5em;
    margin-bottom: 0.5em;
    border: 1px solid #00335F;
    border-radius: 0.2em;
    -moz-border-radius: 0.2em;
    -webkit-border-radius: 0.2em;
    box-shadow: 0 0 0.6em #00335F;
    -moz-box-shadow: 0 0 0.6em #00335F;
    -webkit-box-shadow: 0 0 0.6em #00335F;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

input.wideField[type="text"],
input.wideField[type="password"]
{
    padding: 0 2.5em;
    text-align: left;
    font-size: 1.2em;
}

input.wideField.description[type="text"]
{
    background: #FFFFFF url('../../images/portal/icon-description.png') no-repeat 0.5em center;
}

.loginCheckbox
{
    margin-bottom: 0.5em;
}

.loginLabel
{
    color: #FFFFFF;
}

input.wideSubmit[type="submit"]
{
    cursor: pointer;
    font-size: 1.5em;
    text-align: center;
    color: white;
    background: rgb(242, 46, 46);
    background: linear-gradient(to bottom, rgb(242, 46, 46) 46%, rgb(216, 14, 14) 86%);
}

input.wideSubmit.pay[type="submit"]
{
    color: black;
    background: rgb(82, 244, 121);
    background: linear-gradient(to bottom, rgb(92, 234, 145), rgb(82, 244, 121) 20%, rgb(82, 244, 121) 80%, rgb(92, 234, 145));
}

a.wideLink
{
    width: 80%;
    font-size: 1.5em;
    text-align: center;
    display: block;
    padding: 0.5em 10%;
    color: black;
    background: rgb(239, 248, 252);
    background: linear-gradient(to bottom, rgb(239, 248, 252) 22%, rgb(206, 216, 222) 81%);
    border: 1px solid #00335F;
    border-radius: 0.2em;
    -moz-border-radius: 0.2em;
    -webkit-border-radius: 0.2em;
    box-shadow: 0 0 0.6em #00335F;
    -moz-box-shadow: 0 0 0.6em #00335F;
    -webkit-box-shadow: 0 0 0.6em #00335F;
}

a.wideLink.google
{
    color: white;
    background: rgb(218, 52, 41);
    background: linear-gradient(rgb(157, 27, 27), rgb(218, 52, 41));
}

a.wideLink.facebook
{
    color: white;
    background: rgb(30, 87, 153);
    background: linear-gradient(to bottom, rgb(30, 87, 153) 0%, rgb(41, 137, 216) 100%, rgb(32, 124, 202) 100%, rgb(125, 185, 232) 100%);
}

a.wideLink.portal
{
    color: white;
    background: rgb(242, 46, 46);
    background: linear-gradient(to bottom, rgb(242, 46, 46) 46%, rgb(216, 14, 14) 86%);
}

.wideLink.pay
{
    background: rgb(82, 244, 121);
    background: linear-gradient(to bottom, rgb(92, 234, 145), rgb(82, 244, 121) 20%, rgb(82, 244, 121) 80%, rgb(92, 234, 145));
}

.wideLink.remove
{
    color: #8E0E0E;
}

a.wideLink + a.wideLink
{
    margin-top: 0.5em;
}

p.message
{
    color: #FFFFFF;
    margin-left: 1em;
}

.c_message_banner_error,
.c_message_banner_info
{
    width: 100%!important;
    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
    box-sizing:         border-box;
    padding: 10px 0 10px 2em!important;
}

#reservationTable ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div.topInfo
{
    color: #FFFFFF;
    font-size: 1.1em;
    text-align: left;
    margin: 0 0 0.5em 0;
}

div.topInfo > .backButton
{
    display: inline-block;
    padding: 0.7em 0.5em 0.7em 1.7em;
    margin: 0 0.7em 0 0;
    color:#FFFFFF;
    background: #000000 url('../../images/portal/mobile/icon-back.png') no-repeat 0.5em center;
    font-size: 0.8em;
    font-weight: bolder;
    text-transform: uppercase;
}

div.topInfo h2
{
    font-size: 1.2em;
    font-weight: normal;
}

div.topInfo > h2
{
    display: inline-block;
    margin: 0;
    padding: 0.2em 0 0 0;
}

div.topInfo > div.headerBar
{
    display: inline-block;
    vertical-align: top;
    margin: 0;
    padding: 0;
}

div.topInfo > div.headerBar > h2
{
    display: block;
    margin: 0;
    padding: 0;
}

div.topInfo > div.headerBar > h2 + span
{
    display: block;
    overflow: hidden;
    padding: 0.4em 0 0 0;
    font-size: 0.7em;
    font-weight: normal;
}

.fromTo-intervalPicker {
    width: 100%;
    color:#ffffff;
    margin-bottom: 0.1em;
    border-collapse: collapse;
}

.fromTo-intervalPicker tr td:first-child {
    width: 10%;
    padding-right: 10px;
}

#map
{
    width: 100%;
    height: 300px;
}

#agreement {
    color: #FFFFFF;
    margin-bottom: 0.5em;
}

#agreement a {
    float: none;
    padding: 0;
    color: #ffd700;
}
