/*!
 * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {overflow-x: hidden;background-color: #2c3e50;font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;}
#reservation-container {background-color: #fff;width: 100%;}
p {font-size: 12px;}
p.small {font-size: 10px;}
a,a:hover,a:focus,a:active,a.active {outline: 0;color: #2c3e50;}
h1,h2,h3,h4,h5,h6 {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
}
hr.star-light,hr.star-primary {
    margin: 25px auto 30px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 5px;
    text-align: center;
}
hr.star-light:after,hr.star-primary:after {
    display: inline-block;
    position: relative;
    top: -.8em;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 1.8em;
}
hr.star-light {border-color: #fff;}
hr.star-light:after {color: #fff;background-color: #18bc9c;}
hr.star-primary {border-color: #2c3e50;}
hr.star-primary:after {color: #2c3e50;background-color: #fff;}
.img-centered {margin: 0 auto;}
.panel-body {min-height: 180px;}

@media(max-width:767px) {
    .star-primary {
      display: none;
    }
    #header-image {
      display: none;
    }
    .modal-dialog:not(.minimal-size-modal) {width: 100%;margin: 0px;top:0;left: 0;}
    .modal-content {border: none;border-radius: 0px;box-shadow: none;outline: none;min-height: 100%;top:0;left: 0;}
    .modal-dialog:not(.minimal-size-modal),.modal-content:not(.minimal-size-modal) {height: 100%;width: 100%;position: fixed;overflow: scroll;} /* min-height: 100%;position: absolute; */
    .modal-body { padding: 10px;padding-top: 20px; padding-bottom: 20px; }/*height: calc(100% - 120px);*/
    .modal-footer { margin-bottom: 30px; padding-bottom: 30px; }
}

.lang-option {
  cursor: pointer;
}
.lang-option:hover {
  opacity: 0.7;
}

.officeList, .subCategoryList, .userList {
    overflow: hidden;
    list-style: none;
}
.subCategoryList li,.officeList li {
    width: 20%;
    font-size: 14px;
    float: left;
    padding: 20px;
    line-height: 1.4;
    text-align: center;
    height: 170px;
}
.showUserPrice li {
  height: 185px;
}
.subCategoryList li .img-circle, .officeList li .img-circle {
    width: 60px;
    height: 60px;
}
.subCategory:hover, .office:hover {
    opacity: 0.5;
}
.subCategoryList li:active, .officeList li:active {
  background-color: #f5f5f5;
}
.users:hover {
    opacity: 0.5;
}
#serviceList .servicelist button span, #additionalServicesList .btn {
  white-space: normal;
}

@media(max-width:900px) {
    .subCategoryList li,.officeList li {
      width: 25%;
    }
    .officeList li .addressCity {
      font-size: 12px;
    }
}
@media(max-width:767px) {
    .hide-767 {
      display: none;
    }
    #serviceList .input-group-sm>.form-control, #serviceList .input-group-sm>.input-group-addon, #serviceList .input-group-sm>.input-group-btn>.btn {
      height: inherit !important;
    }
}
@media(max-width:760px) {
    .subCategoryList li,.officeList li {
      width: 33.3%;
      font-size: 14px;
      float: left;
      padding: 20px;
      line-height: 1.4;
      height: 155px;
    }
    .officeList li .addressCity {
      font-size: 12px;
    }
    .panel-title {
        font-size: 15px;
    }
}
@media(max-width:620px) {
    .subCategoryList li,.officeList li {
      width: 33.3%;
      font-size: 14px;
      float: left;
      padding: 20px;
      line-height: 1.4;
      height: 155px;
    }
    .officeList li .addressCity {
      font-size: 11px;
    }
    .panel-title {
        font-size: 13px;
    }
    .hide-620 {
      display: none;
    }
    .flags button {
      padding: 2px 6px 3px;
    }
}
@media(max-width:570px) {
    .panel-title {
        font-size: 12px;
    }
}
@media(max-width:530px) {
    .panel-title {
        font-size: 11px;
    }
    #header-title {
      font-size: 22px;
    }
    #ajanvaraus {
      font-size: 18px;
    }
    .hide-530 {
      display: none;
    }
}
@media(max-width:460px) {
    .subCategoryList li,.officeList li {
      font-size: 12px;
      padding: 15px;
      line-height: 1.3;
      height: 145px;
    }
    .officeList li .addressCity {
      font-size: 11px;
    }
    .subCategoryList li .img-circle,.officeList li .img-circle {
        width: 50px;
        height: 50px;
    }
    .panel-title {
        font-size: 10px;
    }
    #header-title {
      font-size: 20px;
    }
    #ajanvaraus {
      font-size: 16px;
    }
}
@media(max-width:400px) {
    .subCategoryList li,.officeList li {
      font-size: 11px;
      padding: 10px;
      line-height: 1.2;
      height: 95px;
    }
    .subCategoryList li .img-circle,.officeList li .img-circle {
        width: 45px;
        height: 45px;
    }
    .panel-title {
        font-size: 9px;
    }
    .addServiceButton {font-size: 8px;}
}
@media(max-width:380px) {
    .subCategoryList li,.officeList li {
      font-size: 10px;
      padding: 8px;
      line-height: 1.2;
      height: 110px;
    }
    .subCategoryList li .img-circle,.officeList li .img-circle {
        width: 40px;
        height: 40px;
    }
    .panel-title {
        font-size: 8px;
    }
}
@media(max-width:360px) {
    .subCategoryList li,.officeList li {
      width: 50%;
    }
    .panel-title {
        font-size: 7px;
    }
}

@media(min-width:621px) {
    .hide-621 {
      display: none;
    }
}

@media(min-width:767px) {
    .additionalservicelist button:active,.additionalservicelist button:focus {
      background-color: #fff;
      border-color: #ccc;
    }
}

/* =========== SERVICE SELECTION ========== */
.margintop: {margin-top: 0px !important;}.infoparent{max-height: 30px !important;}.infoparent:hover .fa{color: #798d8f;}
#collapseTwo .input-group-addon{height:30px !important;}#collapseTwo .input-group-addon i {padding-top:0 !important; padding-bottom:0 !important;}
#collapseTwo .input-group-addon {padding-top:0 !important; padding-bottom:0 !important;}
#continueAddServices:focus,#continueAddServices:active  {background-color: #f5f5f5;}

/* =========== TIME SELECTION ========== */
.times-list {margin: 0;padding: 0;width:100%;white-space: nowrap;}
.times-list>li {display: inline;width: 12%;float:left;position:relative;min-height: 1px;}
.times-list>li>a {text-align: center;}
#times-row .times-list>li {min-height: 1px;border-right: 1px solid #ddd;}
#times-row .times-list li:first-child {width: 7.9%;}
#times-row .times-list li:last-child {width: 7.9%;border-right: none;}
#times-row .times-list>li>a {padding: 1px;margin-top: 6px;text-decoration: none;color: #333;}

.time-item {display: block;}

#header-row .times-list li a {height: 50px;}
#header-row .times-list li {height: 50px;border: 1px solid #ddd;border-left: none;text-align: center; padding: 5px 0px;}
#header-row .times-list li a:hover {text-decoration: none;cursor: default;color: #333;background-color: #fff;}
#header-row .times-list li:first-child {cursor:pointer;width: 7.9%;border: 1px solid #ddd;border-bottom-left-radius: 4px;border-top-left-radius: 4px;color: #333;}
#header-row .times-list li:last-child {cursor:pointer;width: 7.9%;border-bottom-right-radius: 4px;border-top-right-radius: 4px;border-left: none;color: #333;}
#header-row .times-list #last-child-ie8 {cursor:pointer;width: 7.9%;border-bottom-right-radius: 4px;border-top-right-radius: 4px;border-left: none;color: #333;}
.dp-item {font-size: 14px;}
.dp-item:hover {cursor: default;color: #333;background-color: #fff;}

#times-row .times-list li a:hover, #header-row .times-list li:first-child a:hover, #header-row .times-list li:last-child a:hover, #times-row .times-list li a i:hover, #header-row .times-list li:first-child:hover, #header-row .times-list li:last-child:hover {cursor:pointer;background-color: #f5f5f5}
#times-row .times-list li a:active, #header-row .times-list li:first-child:active, #header-row .times-list li:last-child:active {background-color: #f5f5f5;}

@media(max-width:850px) {
    #times-row .times-list li a {
      font-size: 11px;
    }
}
@media(max-width:767px) {
    .hide-767 {
      display: none;
    }
}
@media(max-width:690px) {
    .hide-690 {
      display: none;
    }
    #times-row .times-list li a {
      font-size: 12px;
      margin-top: 7px;
    }

}
@media(max-width:570px) {
    .hide-620 {
      display: none;
    }
}
@media(max-width:530px) {
    #header-row .times-list li a {
      height: 45px;
      padding: 4px 0px;
    }
    #times-row .times-list li a {
      margin-top: 8px;
    }
}
@media(max-width:480px) {
    #header-row .times-list li a {
      height: 45px;
      padding: 4px 0px;
      font-size: 13px;
    }
    #weekNumber {
      font-size: 13px;
    }
}
@media(max-width:440px) {
  #header-row .times-list li a {
    font-size: 12px;
  }
  #weekNumber {
    font-size: 12px;
  }
}
@media(max-width:400px) {
  #header-row .times-list li a {
    height: 42px;
    padding: 3px 0px;
    font-size: 11px;
  }
  #times-row .times-list li a {
    font-size: 10px;
  }
}
@media(max-width:380px) {
  #header-row .times-list li a {
    font-size: 10px;
  }
  #times-row .times-list li a {
    font-size: 9px;
  }
  #weekNumber {
    font-size: 11px;
  }
}
@media(max-width:360px) {
  #header-row .times-list li a {
    font-size: 9px;
  }
  #times-row .times-list li a {
    font-size: 8px;
  }
}

.btn-primary {
  background-color: #2c3e50;
  border-color: #22303F;
}
.btn-primary:hover,.btn-primary:active  {
  background-color: #22303F;
  border-color: #19232E;
}
.btn-outline {
    margin-top: 5px;
    border: solid 2px #fff;
    font-size: 20px;
    color: #fff;
    background: 0 0;
    transition: all .3s ease-in-out;
}

.btn-outline:hover,.btn-outline:focus,.btn-outline:active,.btn-outline.active {
    border: solid 2px #fff;
    color: #18bc9c;
    background: #fff;
}

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: .5em;
    border-bottom: 1px solid #eee;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-radius: 0;
    font-size: 1.5em;
    background: 0 0;
    box-shadow: none!important;
    resize: none;
}

.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.764705882em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    -webkit-transition: top .3s ease,opacity .3s ease;
    -moz-transition: top .3s ease,opacity .3s ease;
    -ms-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
}

.floating-label-form-group::not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #eee;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

.floating-label-form-group-with-focus label {
    color: #18bc9c;
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #eee;
}

footer {
    color: #fff;
}

@media(max-width:767px) {
    footer h4 {
        margin-top: 25px;
    }
}
input:invalid:focus {
  border: 1px solid red;
}
footer .footer-above {
    padding-top: 10px;
    background-color: #2c3e50;
}

.btn-social {
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 100%;
    text-align: center;
    font-size: 18px;
    line-height: initial;
}

.btn:focus,.btn:active,.btn.active {
    outline: 0;
}

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    font-size: 3em;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content .item-details {
    margin: 30px 0;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #2c3e50;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #2c3e50;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}