
/*--- STYLES FOR ONLINE PROFILE FORM ---*/
#table-form1, #table-form2 {
    margin-left: 10%;
}
#table-form1 td, #table-form2 td {
    border: 3px solid white;
}
#reg-text, #reg-text2, #reg-text-ukr, #reg-text2-ukr {
    display: block;
    width: 80%;
    margin-left: 10%;
    margin-bottom: 20px;
    margin-top: 20px;
    border: 1px solid #efefef;
    background: #f9f9f9;
    padding: 15px;
    font-size: 1em;
}
#reg-text2, #reg-text2-ukr {
    color: #ff6600;
}
#reg-img {
    width: 10%;
    margin-left: 45%;
}
#reg-img img {
    max-width: 100%;
    float: none;
    box-shadow: none;
    margin: 0;
}
#table-form1 .caption, #table-form2 .caption {
    color: #333399;
    font: 1.1em Helvetica;
    font-weight: bold;
    padding: 10px 10px;
}
#table-form1 td, tr, #table-form2 td, tr {
    box-sizing: border-box;
    padding: 0 5px;
}
#table-form2 .agree-wish {
    padding: 10px 0;
}
#table-form1 .label, #table-form2 .label {
    background: #efefef;
    font-weight: bold;
}
#table-form1 .text, #table-form2 .text {
    padding: 0 5px;
}
#table-form1 input[type="text"], #table-form2 input[type="text"] {
    background: #f9f9f9;
    box-sizing: border-box;
    border: 1px solid #d6d6d6;
    height: 31px;
    width: 100%;
}
#table-form1 input[type="text"]:hover, #table-form2 input[type="text"]:hover {
    border: 1px solid #adadad;
}
#table-form1 input[type="text"]:focus, #table-form2 input[type="text"]:focus {
    border: 1px solid #333399;
    background: #ffffff;
}
#table-form1 input[type="checkbox"], #table-form2 input[type="checkbox"] {
    border: 1px solid #d6d6d6;
    width: 16px;
    height: 16px;
}
#table-form1 input[type="checkbox"]:focus, #table-form2 input[type="checkbox"]:focus {
    border: 1px solid #333399;
}
#table-form1 input[type="checkbox"]:hover, #table-form2 input[type="checkbox"]:hover {
    border: 1px solid #adadad;
}
#table-form1 input[type="checkbox"], #table-form2 input[type="checkbox"] {
    margin-right: 5px;
}
#table-form1 input[type="checkbox"] + label {
    margin-right: 5px;
    color: #ff6600;
    font-weight: bold;
}
#table-form1 #txtcal7_0 {
    width: 60%;
    height: 34px;
    margin-bottom: 1px;
}
#table-form1 #txtcal7_1 {
    width: 60%;
    height: 34px;
    margin-top: 1px;
}
#table-form1 input[name="form[name OSAGO type of insurance]"]{
    height: 34px;
    margin-bottom: 1px;
}
#table-form1 input[name="form[name KASKO type of insurance]"] {
    height: 34px;
    margin-top: 1px;
}
#table-form1 #btn7_0, #table-form1 #btn7_1 {
    width: 39%;
    height: 34px;
    margin-left: 1%;
    border: none;
    outline: none;
    border-radius: none;
    color: #ffffff;
    background: #333399 !important; /* Old browsers */
    background: -moz-linear-gradient(top,  #4065ad 0%, #333399 100%)!important; /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4065ad), color-stop(100%, #333399))!important; /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #4065ad 0%, #333399 100%)!important; /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #4065ad 0%, #333399 100%)!important; /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #4065ad 0%, #333399 100%)!important; /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4065ad', endColorstr='#333399', GradientType=0 )!important; /* IE6-9 */
    background: linear-gradient(to bottom,  #4065ad 0%, #333399 100%)!important; /* W3C */
}
#table-form1 #btn7_0 {
    margin-bottom: 1px;
}
#table-form1 #btn7_1 {
    margin-top: 1px;
}
#table-form1 #btn7_0:hover, #table-form1 #btn7_1:hover {
    background: #4065ad !important; /* Old browsers */
    background: -moz-linear-gradient(top,  #333399 0%, #4065ad 100%)!important; /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333399), color-stop(100%, #4065ad))!important; /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #333399 0%, #4065ad 100%)!important; /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #333399 0%, #4065ad 100%)!important; /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #333399 0%, #4065ad 100%)!important; /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333399', endColorstr='#4065ad', GradientType=0 )!important; /* IE6-9 */
    background: linear-gradient(to bottom,  #333399 0%, #4065ad 100%)!important; /* W3C */
}
#table-form2 #typeofregistration {
    box-sizing: border-box;
    width: 100%;
    height: 31px;
}
#table-form2 #typeofregistration:focus {
    border: 1px solid #333399;
}
#table-form2 input[type="submit"] {
    width: 200px;
    height: 30px;
    color: #ffffff;
    font: 0.8em Helvetica;
    border: none;
    background: #ff3300!important;
    background: -moz-linear-gradient(top,  #ff6600 0%, #ff3300 100%)!important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff6600), color-stop(100%, #ff3300))!important;
    background: -webkit-linear-gradient(top,  #ff6600 0%, #ff3300 100%)!important;
    background: -o-linear-gradient(top,  #ff6600 0%, #ff3300 100%)!important;
    background: -ms-linear-gradient(top,  #ff6600 0%, #ff3300 100%)!important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff6600', endColorstr='#ff3300', GradientType=0 )!important;
    background: linear-gradient(to bottom,  #ff6600 0%, #ff3300 100%)!important;
    cursor: pointer;
    font-weight: bold;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    outline: none;
}
#table-form2 input[type="submit"]:hover {
    background: #ff3300!important; /* Old browsers */
    background: -moz-linear-gradient(top,  #ff3300 0%, #ff6600 100%)!important; /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3300), color-stop(100%, #ff6600))!important; /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ff3300 0%, #ff6600 100%)!important; /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ff3300 0%, #ff6600 100%)!important; /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ff3300 0%, #ff6600 100%)!important; /* IE10+ */
    background: linear-gradient(to bottom,  #ff3300 0%, #ff6600 100%)!important; /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3300', endColorstr='#ff9b3e', GradientType=0 )!important;
}

/*--- STYLE FOR UPLOAD PHOTO WIDGET ---*/
.file_upload {
    position: relative;
    overflow: hidden;
    float: none !important;
    font-size: 1em;
    height: 30px;
    line-height: 2em;
    width: 389px;
}
.file_upload > button {
    background:none;
    color: #FFF;
  background-color: #fff;
  background-repeat: repeat-x;
  background-position: left top;
  width: 79px;
  text-align: center;
  height: 30px;
  position: absolute;
  right: 0px;
  border: none;
}
.file_upload > div {
    border: 1px solid #CCCDCD;
    padding: 0px 5px;
    width: 287px !important;
    height: 28px;
    overflow-x: hidden;
}
.file_upload input[type="file"] {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    transform: scale(20);
    letter-spacing: 10em;
    opacity: 0;
    cursor: pointer;
}
.customfile-container * {
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    font-size:12px;
}
.customfile-container {}
.customfile-container label:first-child {
    width: 100px;
    display: block;
    margin-bottom: .5em;
    font: bold 18px Arial, sans-serif;
    color: #333;
}
.customfile-wrap {
    position: relative;
    padding: 0;
    margin-bottom: .5em;
}
.customfile-filename {
    width: 65% !important;
    behavior: url(pie/PIE.php);
    float: left;
}
.customfile-upload {
    display: block;
    float: right;
    width: 34%;
    height: 31px;
    color: #ffffff;
    font-weight: bold;
    margin-left: 1%;
    cursor: pointer;
    text-align: center;
    border: none;
    outline: none;
    background: #333399 !important; /* Old browsers */
    background: -moz-linear-gradient(top,  #4065ad 0%, #333399 100%)!important; /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4065ad), color-stop(100%, #333399))!important; /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #4065ad 0%, #333399 100%)!important; /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #4065ad 0%, #333399 100%)!important; /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #4065ad 0%, #333399 100%)!important; /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4065ad', endColorstr='#333399', GradientType=0 )!important; /* IE6-9 */
    background: linear-gradient(to bottom,  #4065ad 0%, #333399 100%)!important; /* W3C */
}
.customfile-upload:hover {
    background: #4065ad !important; /* Old browsers */
    background: -moz-linear-gradient(top,  #333399 0%, #4065ad 100%)!important; /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333399), color-stop(100%, #4065ad))!important; /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #333399 0%, #4065ad 100%)!important; /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #333399 0%, #4065ad 100%)!important; /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #333399 0%, #4065ad 100%)!important; /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333399', endColorstr='#4065ad', GradientType=0 )!important; /* IE6-9 */
    background: linear-gradient(to bottom,  #333399 0%, #4065ad 100%)!important; /* W3C */
}
/*.myClass:not(:root:root) {
    .customfile-upload {
        padding: 4px 0px 3px;
    }
}*/
input[type="file"] {
    position: absolute;
    left: -9999px;
}
@media all and (min-width: 0px) {
    .customfile-upload {
        padding: 0px 0px 0px!important;
    }
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .customfile-upload {
        padding: 4px 0px 6px!important;
    }
}
@-moz-document url-prefix() {
    .customfile-upload {
        padding: 4px 0px 4px!important;
    }
}

/*--- STYLES FOR MODAL WINDOWS ---*/
#cboxLoadedContent form {
    background: #e1e1e1;
}
#cboxLoadedContent .rsform-block {
    margin-bottom: 10px;
}
#cboxLoadedContent form #form-img {
    position: relative;
    width: 100%;
    height: 110px;
    background: #e1e1e1;
}
#cboxLoadedContent form #form-img img {
    height: 90px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
#cboxLoadedContent .formResponsive h2 {
    color: #333399;
    font: 1em Helvetica;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    padding: 20px 0;
    background: #ffffff;
    background: url("/PublicData/Images/shield.png") 20% no-repeat;
}
#cboxLoadedContent .formResponsive #call {
    background: url("/PublicData/Images/shield.png") 10% no-repeat;
}
#cboxLoadedContent .formResponsive #call2 {
    background: url("/PublicData/Images/shield.png") 15% no-repeat;
}
#cboxLoadedContent form .formControlLabel {
    box-sizing: border-box;
    height: 28px;
    background: #efefef;
    text-align: left;
    font: 0.8em Helvetica;
    font-weight: bold;
    margin-top: 5px;
    margin-left: 10px;
    width: 140px;
    padding: 5px
}
#cboxLoadedContent form .formControls input[type="text"], #cboxLoadedContent form .formControls textarea {
    width: 175px;
    font: 0.8em Helvetica;
    font-weight: bold;
    color: #4065ad;
    box-sizing: border-box;
    height: 28px;
    box-sizing: border-box;
    border: 1px solid #adadad;
    outline: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: #ffffff;
    margin-top: 5px;
    margin-right: 10px;
    padding: 5px;
}
#cboxLoadedContent form .formControls input[type="text"]:focus, #cboxLoadedContent form .formControls textarea:focus {
    border: 1px solid #333399;
}
#cboxLoadedContent form .formControls textarea {
    height: 100px;
}
#cboxLoadedContent form .rsform-block-submit .formControlLabel {
    visibility: hidden;
}
#cboxLoadedContent form .rsform-block-submit input[type="submit"] {
    float: left;
    margin-left: -90px;
    width: 200px;
    height: 30px;
    color: #ffffff;
    font: 0.8em Helvetica;
    border: none;
    background: #ff3300!important;
    background: -moz-linear-gradient(top,  #ff6600 0%, #ff3300 100%)!important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff6600), color-stop(100%, #ff3300))!important;
    background: -webkit-linear-gradient(top,  #ff6600 0%, #ff3300 100%)!important;
    background: -o-linear-gradient(top,  #ff6600 0%, #ff3300 100%)!important;
    background: -ms-linear-gradient(top,  #ff6600 0%, #ff3300 100%)!important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff6600', endColorstr='#ff3300', GradientType=0 )!important;
    background: linear-gradient(to bottom,  #ff6600 0%, #ff3300 100%)!important;
    cursor: pointer;
    font-weight: bold;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    outline: none;
}
#cboxLoadedContent form .rsform-block-submit input[type="submit"]:hover {
    background: #ff3300!important; /* Old browsers */
    background: -moz-linear-gradient(top,  #ff3300 0%, #ff6600 100%)!important; /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff3300), color-stop(100%, #ff6600))!important; /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ff3300 0%, #ff6600 100%)!important; /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ff3300 0%, #ff6600 100%)!important; /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ff3300 0%, #ff6600 100%)!important; /* IE10+ */
    background: linear-gradient(to bottom,  #ff3300 0%, #ff6600 100%)!important; /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3300', endColorstr='#ff9b3e', GradientType=0 )!important;
}