/*
 *
 * @category  : OpenCart
 * @module    : Smart Feedback
 * @author    : OCdevWizard <ocdevwizard@gmail.com> 
 * @copyright : Copyright (c) 2015, OCdevWizard
 * @license   : http://license.ocdevwizard.com/Licensing_Policy.pdf
 *
 */

 @font-face {
  font-family: 'Roboto-Medium';
  src: url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Medium.eot');
  src: url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Medium.woff') format('woff'), 
  url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Medium.ttf') format('truetype'), 
  url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Medium.svg') format('svg');
}
@font-face {
  font-family: 'Roboto-Regular';
  src: url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Regular.eot');
  src: url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Regular.woff') format('woff'), 
  url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Regular.ttf') format('truetype'), 
  url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Regular.svg') format('svg');
}
@font-face {
  font-family: 'Roboto-Thin';
  src: url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Thin.eot');
  src: url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Thin.woff') format('woff'), 
  url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Thin.ttf') format('truetype'), 
  url('/catalog/view/theme/velis/css/smfb_fonts/Roboto-Thin.svg') format('svg');
}
button.smfb-call-button {
  /* insert there your css style */
}
#smfb-modal-body * {
  vertical-align: baseline;
  font-weight: inherit;
  font-family: inherit;
  font-style: inherit;
  font-size: 100%;
  outline: 0;
  margin: 0;
  box-sizing: content-box;
}
#smfb-modal-body {
  background: #fff;
  max-width: 380px;
  width: 90%;
  margin: 0 auto;
  min-height: 100px;
  position: relative;
}
#smfb-modal-body .modal-heading {
    text-align: center;
    /* background-color: #EDEDED; */
    font-size: 27px;
    color: #4e3e3a;
    font-weight: normal;
    /* border-bottom: 1px solid #ddd; */
    padding: 30px 30px 0;
    position: relative;
    /* min-height: 50px; */
    /* line-height: 50px; */
    /* overflow: hidden; */
}
#smfb-modal-body .modal-close {
  width: 24px;
  height: 24px;
  background: url(close.png) no-repeat;
  right: 5px;
  top: 13px;
  position: absolute;
  opacity: 0.7;
  cursor: pointer !important;
}
#smfb-modal-body .modal-close:hover {
  opacity: 1;
}

#smfb-modal-body .modal-body {
  background: #fff;
  padding: 20px 30px;
  overflow: auto;
}
#smfb-modal-body .modal-footer {
	padding: 10px 30px 40px;
    /* background-color: #EDEDED; */
    position: relative;
    display: inline-block;
    border: 0;
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    box-sizing: border-box;
}
.smfb-modal-loadmask {
  position: absolute;
  z-index: 10000;
  width: 100%;
  height: 100%;
  background: #eeeeee;
  opacity: 0.4;
  left: 0;
  top: 0;
}
.smfb-modal-loadmask-loading {
  background: url('/catalog/view/theme/velis/css/ocdev_smart_feedback/loading.svg') no-repeat center center;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10001;
  top: 0;
  left: 0;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields {
  position: relative;
  display: block;
  margin: 5px 0 0 0;
  overflow: auto;
}

#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields > .left {
  float: left;
  width: 49%;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields > .right {
  float: right;
  width: 49%;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields > .center {
  clear: both;
  display: block;
  width: 100%;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields input[type=text], 
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields textarea,
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields select {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  box-sizing: border-box;
  display: block;
  margin: 10px 0;
  padding: 2px 5px;
  position: relative;
  width: 100%;
  font-size: 12px;
  color: #333;
  font-family: Roboto-Regular, Arial, Tahoma;
  -webkit-transition: border-color .75s;
  -moz-transition: border-color .75s;
  -o-transition: border-color .75s;
  transition: border-color .75s;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields textarea {
  resize: vertical;
  height: 100px;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields select {
  padding: 4px 5px;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields input[type=text]:focus,
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields textarea:focus,
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields select:focus {
  border: 1px solid #5A5F63;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields input[disabled] {
    background-color: #eee;
    cursor: not-allowed;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields .field-heading {
  font-size: 13px;
  color: #333;
  font-family: Roboto-Medium, Arial, Tahoma;
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 4px;
}
#smfb-modal-body .modal-body > form .ocdev_smart_feedback_fields label {
  cursor: pointer;
}
#smfb-modal-body .smfb_modal_loadmask {
  position: absolute;
  z-index: 10000;
  width: 100%;
  height: 100%;
  background: #eee;
  opacity: 0.6;
  left: 0;
  top: 0;
}
#smfb-modal-body > #check_data .error_text {
  font-size: 11px;
  color: #DF2E2E;
  font-family: Roboto-Regular, Arial, Tahoma;
  display: block;
  margin: -4px 0 2px;
}
#smfb-modal-body > #check_data .error_style {
  border: 1px solid #DF2E2E !important;
}
.smfb-center-body .error_text {
  font-size: 11px;
  color: #DF2E2E;
  font-family: Roboto-Regular, Arial, Tahoma;
  display: block;
  margin: 0;
}
.smfb-center-body .error_style {
  border: 1px solid #DF2E2E !important;
}
.smfb-center-body .form-group:last-child {
  margin-bottom: 0;
}
.smfb-fix-alert {
  margin-bottom: 0;
}
.smfb-center-body .smfb_modal_loadmask {
  position: absolute;
  z-index: 10000;
  width: 100%;
  height: 100%;
  background: #eee;
  opacity: 0.6;
  left: 0;
  top: 0;
}
.smfb-center-body .smfb_modal_loadmask_loading {
  background:url('/catalog/view/theme/velis/css/ocdev_smart_feedback/loading.svg') no-repeat center;
  height: 19px;
  position: absolute;
  width: 220px;
  z-index: 10001;
  top: 0;
  left: 0;
}

.smfb-center-body .form-group {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
    -ms-flex-align: center;
	align-items: center;
	margin: 0 0 25px;
}

.smfb-center-body .form-group .control-label {
	width: 120px;
	min-width: 120px;
}

.smfb-center-body .form-group > div {
	-webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.smfb-center-body .form-group .small {
	max-width: 40%;
}

.smfb-center-body .form-group input,
.smfb-center-body .form-group textarea {
	background: #fff;
}

.smfb-center-body .form-group textarea {
	height: 200px;
}

.smfb-box .panel-footer {
	padding-left: 120px;
}

.smfb-box .panel-footer .btn {
	margin: 25px 0;
}

#smfb-modal-body > div.modal-footer {
text-align: center;
}

#smfb-modal-body > .modal-footer > input, 
#smfb-modal-body > .modal-footer > input.close_button_bottom {
font-weight: bold;
    display: inline-block;
    overflow: hidden;
    margin: 0 auto;
    outline: none;
    font-size: 14px;
    text-decoration: none;
    color: #FFF;
    background: #e9a219;
    text-align: center;
    -webkit-transition: background .50s;
    -moz-transition: background .50s;
    -o-transition: background .50s;
    transition: background .50s;
    cursor: pointer;
    text-transform: uppercase;
}
#smfb-modal-body > .modal-footer > input:hover {
      background: #000;
}
#smfb-modal-body > .modal-footer > input.close_button_bottom {
  width: 30%;
  float: left;
}
#smfb-modal-body > .modal-footer > input + input {
/*  margin-left: 10%;*/
}
#smfb-modal-body > .modal-footer > input:active {
  background: #33933A;
}
#smfb-modal-body > .modal-footer > input.close_button_bottom {
	display: none;
  background: #E94E4E;
}
#smfb-modal-body > .modal-footer > input.close_button_bottom:hover {
  background: #E81717;
}
#smfb-modal-body > .modal-footer > input.close_button_bottom:active {
  background: #AA3A3A;
}
#smfb-modal-body > .modal-footer .footer-message {
  margin: 10px 0 0;
}
#smfb-modal-body .popup-text-danger,
.list-group .popup-text-danger {
  font-size: 11px;
  margin: 1px 0;
  display: block;
  color: #ab0024;
}
.agreament {
	font-size: 12px !important;
}
.agreament .field-heading {
	display: none !important;
}
@media (min-width: 320px) and (max-width: 359px) {
  #smfb-modal-body {
    width: 295px;
  }
  #smfb-modal-body > .modal-footer > input,
  #smfb-modal-body > .modal-footer > input.close_button_bottom {
    width: 100%;
    float: none;
  }
  #smfb-modal-body > .modal-footer > input + input {
    margin-left: 0;
    margin-top: 6px;
  }
  #smfb-modal-body > .modal-footer {
    overflow: auto;
    height: auto;
  }
}
@media (min-width: 360px) and (max-width: 414px) {
  #smfb-modal-body {
    width: 330px;
  }
}

@media (max-width: 479px) {
	.smfb-center-body .form-group {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
		-ms-flex-align: stretch;
        align-items: stretch;
	}
	.smfb-center-body .form-group .small {
		max-width: 50%;
	}
	.smfb-box .panel-footer {
		padding-left: 0;
	}
	.smfb-box .panel-footer .btn {
		margin: 25px auto;
		display: block;
	}
}
