﻿ /*
    # ------------------------------------------------------------------------
    # Extensions for Joomla 3.x
    # ------------------------------------------------------------------------
    # Copyright (C) 2015 standardcompany.ru. All Rights Reserved.
    # @license - PHP files are GNU/GPL V2.
    # Author: standardcompany.ru
    # Websites:  http://standardcompany.ru
    # Date modified: 10/02/2015
    # ------------------------------------------------------------------------
    */

.error[generated=true] {
    color: #dc0000;
    font-size: 16px;
    padding: 5px 0 2px 5px;
}

#wrap h4 {
    font-size: 18px;
    margin-top: 0;
    padding-top: 0;
}

#wrap h4.success {
    color: #08A300 !important;
}

#wrap h4.error {
    color: #dc0000 !important;
}

#wrap .success {
    color: #08A300 !important; 
}

a#refreshPage {
    background: #005580;
    color: white;;
    padding: 8px 10px;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 5px;
    line-height: 1;
    display: inline-block;
}

a#refreshPage:hover {
    text-decoration: none;
}



.FlowupLabels textarea,
.input.textarea {
   height: 200px!important;;
   margin-bottom: 20px; 
   color: #555;
}

span.error p {
    position: absolute;
    line-height: 0;
    margin: 0;
    height: 0;
    padding: 0!important;
    font-size: 10px!important;
    z-index: 90;
    margin-top: 11px;
    right: 15px;
}

.fl_input.error {
    border-color: #dc0000!important; ; 
}

.formBody {
    font-size: 1.15em;
    position: relative;
}

.rf_notice {
  font-size:.8em;
  text-align: center;
}

.FlowupLabels .fl_label {
  cursor: text;
}


#formHeader {
  opacity: 0.8;
  margin: 10px 0 20px;
}

.FlowupLabels .fl_wrap {
  /* Can change */
  height: 46px;
  margin-bottom: 10px;
  /* Don't change */
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.fl_wrap_textarea {
    height: 200px!important;
}

/* initial label state */
.FlowupLabels .fl_label {
  /* Can change */
  top: 14px;
  left: 10px;
  color: #8c8c8c;
  font-size: 15px;
  -webkit-transform-origin: 0% -150% 0px;
  -moz-transform-origin: 0% -150% 0px;
  transform-origin: 0% -150% 0px;
  
  /* Don't change */
  position: absolute;
  z-index: 3; /* This can be removed but then the labels must be placed after the inputs in the HTML */
  -webkit-transition: all 120ms ;
     -moz-transition: all 120ms ;
        transition: all 120ms ;
}

.FlowupLabels .fl_input {
  /* Can change */
  background: none;
  border: 1px solid lightgrey;
  outline: none;
  border-radius: 5px;
  font-size: 16px;
  height: 46px;
  line-height: 22px;
  padding: 20px 0 5px 10px;
  -webkit-appearance: none;
  box-shadow: none;
  width: 100%;
  
  /* Don't change */
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  width: 100%;
  z-index: 2; /* This can be removed but then the labels must be placed after the inputs in the HTML */
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

input:focus,
textarea:focus {
    border-color: #969696!important;
    box-shadow: none!important;
}
 
  
/* Focus & populated label styling */
.FlowupLabels .fl_wrap.focused .fl_label,
.FlowupLabels .fl_wrap.populated .fl_label,
/* and graceful degradation */
.no-js .FlowupLabels .fl_label {
  /* Can change */
  
  color: #c6c6c6;
  -webkit-transform:scale(.7,.7);
  -moz-transform:scale(.7,.7);
  transform:scale(.7,.7);
}
.FlowupLabels .fl_wrap.focused .fl_label {
  /* Can change */
  color: #8c8c8c;
}


.rf_submit {
  background:#3dd585;
  border-radius: 25px;
  border: none;
  color: #fff;
  font-size: 15px;
  padding: 10px 25px;
  display: block;
  margin: 20px 0 20px;
  -webkit-transition: all 100ms ;
     -moz-transition: all 100ms ;
         -transition: all 100ms ;
}
.rf_submit:hover {
  cursor:pointer;
  background:#43eb93;
}
.rf_submit:focus {
  outline:none;
  border: 1px solid #3dd585;
}



body.popup-active {
    overflow: hidden;
}

.fadePopup {
    cursor: pointer;
    background:#3dd585;
    border-radius: 25px;
    border: none;
    color: #fff;
    font-size: 15px;
    padding: 10px 25px;
    display: block;
    transition: all 100ms;
}

.fadePopup:hover {
  cursor:pointer;
  background:#43eb93;

}

.mypopup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2000;

}

.mypopup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    background: linear-gradient(to top, rgba(0, 0, 20, 0.85) 0%, rgba(0, 0, 10, 0.95) 100%) repeat scroll 0% 0% transparent!important;
    z-index: 2001;
    margin-top: 0px;
}

.mypopup-wrapper {
    position: relative;
    top: 50%;
    max-width: 500px;
    max-height: 85%;
    margin: auto;
    z-index: 2002;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}


.mypopup-close {
position: absolute;
top: 8px;
right: 8px;
width: 30px;
height: 30px;
cursor: pointer;
}

.mypopup-close::before, 
.mypopup-close::after {
    content: '';
    position: absolute;
    top: 12px;
    width: 14px;
    height: 2px;
    background-color: #8f9cb5;
}

.mypopup-close::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 8px;
}

.mypopup-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 8px;
}

.mypopup-content {
    height: 100%;
    background-color: #FFF;
    padding: 25px 30px 25px;
    border-radius: .25em .25em .4em .4em;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-animation: appear 0.25s ease .05s backwards;
    -moz-animation: appear 0.25s ease .05s backwards;
    margin-top: 0px;
}


@-webkit-keyframes appear{
    0%{
        margin-top: -30px;
    }
    100%{
        margin-top: 0px;
    }
}
@-moz-keyframes appear{
    0%{
        margin-top: -30px;
    }
    100%{
        margin-top: 0px;
    }
}


