@media screen and (max-width: 900px) {
    #content { font-size: 90%; width: 95%; }
    .explanation.small { font-size: 0.9em !important; }
    }
@media screen and (max-width: 700px) {
    #content { font-size: 80%; width: 100%; }
    .explanation.small { font-size: 1em !important; }
    }

* {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
    }

html, body, #page {
    height: 100%;
    }

body {
    margin: 0;
    padding: 0;

    font-family: 'Arial', sans-serif;
    font-size: 10pt;

    color: #333;
    }

div, span, img {
    margin: 0;
    padding: 0;
    border: none;
    }

div:hover {
    cursor: default;
    }

.get-my-rating{
	cursor:pointer;
	text-decoration: underline;
}
.all_subject{
    display:none;
}
.uploadimage{
  display: none;
}
#uploadscan{
  display: none;
}
label[name=uploadimage],label[name=uploadscan]{
  color: #fff;
  background: linear-gradient(to top, #00e52d 13%,#00c624 70%,#00c928 100%); /* W3C */
  border-color: #1e7e34;
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 4px;
}
label[name=uploadimage]:hover,label[name=uploadscan]:hover{
  background: linear-gradient(to top, #00c928 0%,#00c624 30%,#00e52d 87%); /* W3C */
}
.null_subject{
	display:none;
}
.explanation {
    font-style: italic;
    color: #666;
    }
    .explanation.small {
        font-size: 0.8em;
        }
    .explanation.medium {
        font-size: 1.0em;
        }
    .explanation.big {
        font-size: 1.2em;
        }


    #header {
        height: 135px;
        }
    #content {
        width: 90%;
        min-width: 625px;

        margin: 0 auto;
        padding-bottom: 200px;
        }
        .enter-form {
            float: right;
            padding: 10px;
            }
        .enter-form.opened {
            margin: 5px;
            padding: 5px;
            border: 1px dashed #333;
            }
            .enter-form-input {
                display: none;
                width: 250px;
                position: relative;
                }
            .opened .enter-form-input {
                display: block;
                margin: 6px 10px;
                }
            .opened .enter-form-ask {
                display: none;
                }
                .enter-field {
                    display: inline-block;
                    width: 60px;
                    padding-left: 4px;
                    vertical-align: middle;
                    }
                #open-applicant-form {
                    padding: 4px 13px;
                    margin-right: 4px;

                    border-radius: 3px;
                    font-weight: bold;
                    }

        div.form-name {
            padding: 20px 0 30px 0;

            font-size: 2.5em;
            font-style: italic;
            color: #555555;
            }
        #applicant-form {
            position: relative;
            }
            #protector {
                position: absolute;
                top: 0;
                left: 0;

                width: 100%;
                height: 100%;

                background: #FFF;
                opacity: 0.3;
                filter: progid:DXImageTransform.Microsoft.Alpha( opacity=30 );

                z-index: 10;
                zoom: 1;
                }
            #columns {
                }
                div.column {
                    width: 50%;
                    height: 100%;
                    }
                div.column.first {
                    float: left;
                    }
                div.column.second {
                    margin-left: 50%;
                    }
                    div.form-block {
                        padding-bottom: 40px;
                        padding-left: 20px;

                        font-family: 'Trebuchet MS', 'Arial', sans-serif;
                        }
                        div.part-header {
                            margin: 0 0 25px -20px;
                            font-size: 2.2em;
                            font-family: 'Myriad Pro', 'Trebuchet MS', 'Arial', sans-serif;
                            }
                            div.part-header > span {
                                padding: 0 10px 0 2px;
                                white-space: nowrap;
                                }
                        .field-name {
                            padding-right: 14px;
                            white-space: nowrap;
                            font-style: italic;
                            }
                #columns.in-one-column .column {
                    width: 100%;
                    }
                    #columns.in-one-column .column.first {
                        float: none;
                        }
                    #columns.in-one-column .column.second {
                        margin-left: 0;
                        }
            .spec-block {
                position: relative;

                margin: 0 5%;
                width: 90%;

                border-style: dashed;
                border-color: #000;
                border-width: 0 1px 1px 1px;
                }
            .spec-block:first-child {
                border-top-width: 1px;
                }
                .spec-block-preview {
                    padding: 6px 4px 10px 4px;
                    }
                .opened .spec-block-preview {
                    display: none;
                    }
                    .spec-block-preview > .preview-toggler {
                        display: inline-block;

                        width: 120px;
                        text-align: center;
                        }
                    .spec-block-preview  > span {
                        font-size: 1.2em;
                        }
                .spec-block-content {
                    display: none;

                    padding: 8px;
                    font-size: 2em;
                    background-color: #FFF8D5;
                    }
                .opened .spec-block-content {
                    display: block;
                    }
                    .cancel-toggler {
                        position: absolute;
                        top: 6px;
                        right: 8px;

                        font-size: 0.5em;
                        z-index: 2;
                        }
                    .spec-block-name {
                        position: relative;

                        padding: 0 0 10px 20px;

                        font-size: 0.7em;
                        font-weight: bold;
                        }
                    .dep-block-name {
                        position: relative;

                        padding: 0 0 10px 20px;

                        font-size: 2em;
                        font-weight: bold;
                        }
                        .spec-block-name:before {
                            content: '';
                            position: absolute;
                            top: 2px;
                            left: -4px;

                            width: 16px;
                            height: 16px;

                            background: url(../img/checkmark.png) 0 0 no-repeat;
                            }
                    .study-form-block {
                        font-size: 0.6em;
                        margin-bottom: 8px;
                        }
                        .study-form-name {
                            display: inline-block;
                            width: 140px;

                            text-shadow: 0 0 1px #FFFFFF;
                            }

                            .spec-form-option {
                                display: inline-block;
                                padding: 2px 10px 4px 10px;
                                border: 1px dashed transparent;
                                }
                            .spec-form-option.selected {
                                border: 1px dashed #333;
                                background-color: #E1E8FF;
                                }
                    .finance-form-block {
                        font-size: 0.6em;
                        margin-bottom: 8px;
                        }
                        .finance-form-name {
                            display: inline-block;
                            width: 140px;

                            text-shadow: 0px 0px 1px #FFFFFF;
                            }

                    .ed-level-form-block {
                        font-size: 0.6em;
                        display: none;
                        }
                        .ed-level-form-block > span {
                            display: inline-block;
                            width: 160px;

                            text-shadow: 0 0 1px #FFFFFF;
                            }
                        .ed-level-form-select {
                            font-size: 0.9em;
                            }
.qual-form-option.selected {
    border: 1px dashed #333;
    background-color: #E1E8FF;
}
.add-ed-block {
    position: relative;
    }
.add-ed-block.selected {
    margin-bottom: 10px;
    padding: 4px 10px 4px 4px;

    border: 1px dashed #333;
    }
    .add-ed-info-block {
        display: none;

        padding: 4px 0 0 10px;
        }
    .selected .add-ed-info-block {
        display: block;
        }
    /*.add-ed-block.selected:before {*/
        /*content: '';*/
        /*position: absolute;*/

        /*left: -1px;*/
        /*bottom: 0;*/
        /*top: 2px;*/

        /*width: 1px;*/
        /*background-color: black;*/
        /*}*/

/*.calendar {*/
    /*background: url(../img/calendar.png) 2px 1px no-repeat;*/
    /*}*/
    /*.calendar input {*/
        /*padding-left: 20px;*/
        /*}*/

#submit-button {
    padding:10px 25px;

    font-size: 1.3em;
    font-weight: bold;

    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
    }

#error-info {
    display: none;
    color: red;
    }
#error-info.visible {
    display: inline-block;
    }
    .required-error .field-error-text {
        display: none;
        }
    .required-error .required-error-text {
        display: inline-block !important;
        }

#success-info-send,
#success-info-saved {
    display: none;
    }
    #success-info-send h1,
    #success-info-saved h1 {
        font-size: 1.4em;
        font-style: normal;
        margin: 40px 0 10px 0;
        }
    #success-info-send p {
        font-size: 1.1em;
        margin: 0 0 10px 0;
        padding: 0;
        }
        #success-info-send p b {
            font-family: "Cambria", sans-serif;
            font-size: 16pt;
            }


/* ----------------- */

.r-mid {
    padding: 0;
    margin: 0;
    vertical-align: middle;
    }

.g-label {
    vertical-align: top;
    margin-left: -3px;
    white-space: nowrap;
    }

.blue-button {
    color: #f0f0f0;
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.4);

    border: 1px solid #24A0C8;

    -webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    -moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.506), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);

    background: rgb(0,177,234);
    background: -moz-linear-gradient(top, rgba(0,177,234,1) 13%, rgba(0,147,207,1) 71%, rgba(0,173,189,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(13%,rgba(0,177,234,1)), color-stop(71%,rgba(0,147,207,1)), color-stop(100%,rgba(0,173,189,1)));
    background: -webkit-linear-gradient(top, rgba(0,177,234,1) 13%,rgba(0,147,207,1) 71%,rgba(0,173,189,1) 100%);
    background: -o-linear-gradient(top, rgba(0,177,234,1) 13%,rgba(0,147,207,1) 71%,rgba(0,173,189,1) 100%);
    background: -ms-linear-gradient(top, rgba(0,177,234,1) 13%,rgba(0,147,207,1) 71%,rgba(0,173,189,1) 100%);
    background: linear-gradient(top, rgba(0,177,234,1) 13%,rgba(0,147,207,1) 71%,rgba(0,173,189,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b1ea', endColorstr='#00adbd',GradientType=0 );
    }

.blue-button:hover {
    cursor: pointer;

    background: rgb(0,173,189);
    background: -moz-linear-gradient(top, rgba(0,173,189,1) 0px, rgba(0,158,220,1) 9%, rgba(0,177,234,1) 87%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0px,rgba(0,173,189,1)), color-stop(9%,rgba(0,158,220,1)), color-stop(87%,rgba(0,177,234,1)));
    background: -webkit-linear-gradient(top, rgba(0,173,189,1) 0px,rgba(0,158,220,1) 9%,rgba(0,177,234,1) 87%);
    background: -o-linear-gradient(top, rgba(0,173,189,1) 0px,rgba(0,158,220,1) 9%,rgba(0,177,234,1) 87%);
    background: -ms-linear-gradient(top, rgba(0,173,189,1) 0px,rgba(0,158,220,1) 9%,rgba(0,177,234,1) 87%);
    background: linear-gradient(top, rgba(0,173,189,1) 0px,rgba(0,158,220,1) 9%,rgba(0,177,234,1) 87%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00adbd', endColorstr='#00b1ea',GradientType=0 );

    color: #FFF;
    }

.blue-button:active {
    outline: none;
    }

.blue-button:disabled {
    color: #555;
    text-shadow: none;

    border: 1px solid #BDBDBD;
    -webkit-box-shadow: inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    -moz-box-shadow: inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    box-shadow: inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);

    background: rgb(189,203,205);
    background: -moz-linear-gradient(top, rgba(189,203,205,1) 0px, rgba(196,206,210,1) 9%, rgba(199,208,211,1) 87%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0px,rgba(189,203,205,1)), color-stop(9%,rgba(196,206,210,1)), color-stop(87%,rgba(199,208,211,1)));
    background: -webkit-linear-gradient(top, rgba(189,203,205,1) 0px,rgba(196,206,210,1) 9%,rgba(199,208,211,1) 87%);
    background: -o-linear-gradient(top, rgba(189,203,205,1) 0px,rgba(196,206,210,1) 9%,rgba(199,208,211,1) 87%);
    background: -ms-linear-gradient(top, rgba(189,203,205,1) 0px,rgba(196,206,210,1) 9%,rgba(199,208,211,1) 87%);
    background: linear-gradient(top, rgba(189,203,205,1) 0px,rgba(196,206,210,1) 9%,rgba(199,208,211,1) 87%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdcbcd', endColorstr='#c7d0d3',GradientType=0 );
    }

.green-button {
    padding:10px 25px;

    font-size: 1.3em;
    font-weight: bold;

    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;

    color: #f0f0f0;
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.4);

    border: 1px solid #3CE80B;

    -webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    -moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.506), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);

    background: #00e52d; /* Old browsers */
    background: -moz-linear-gradient(top, #00e52d 13%, #00c624 70%, #00c928 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(13%,#00e52d), color-stop(70%,#00c624), color-stop(100%,#00c928)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #00e52d 13%,#00c624 70%,#00c928 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #00e52d 13%,#00c624 70%,#00c928 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #00e52d 13%,#00c624 70%,#00c928 100%); /* IE10+ */
    background: linear-gradient(top, #00e52d 13%,#00c624 70%,#00c928 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00e52d', endColorstr='#00c928',GradientType=0 ); /* IE6-9 */
    }

.green-button:hover {
    cursor: pointer;

    background: #00c928; /* Old browsers */
    background: -moz-linear-gradient(top, #00c928 0%, #00c624 30%, #00e52d 87%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00c928), color-stop(30%,#00c624), color-stop(87%,#00e52d)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #00c928 0%,#00c624 30%,#00e52d 87%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #00c928 0%,#00c624 30%,#00e52d 87%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #00c928 0%,#00c624 30%,#00e52d 87%); /* IE10+ */
    background: linear-gradient(top, #00c928 0%,#00c624 30%,#00e52d 87%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00c928', endColorstr='#00e52d',GradientType=0 ); /* IE6-9 */

    color: #FFF;
    }
.green-button:disabled {
    padding:10px 25px;

    font-size: 1.3em;
    font-weight: bold;

    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;

    color: gray;
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.4);

   border: 1px solid #BDBDBD;
    -webkit-box-shadow: inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    -moz-box-shadow: inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    box-shadow: inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);

    background: rgb(189,203,205);
    background: -moz-linear-gradient(top, rgba(189,203,205,1) 0px, rgba(196,206,210,1) 9%, rgba(199,208,211,1) 87%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0px,rgba(189,203,205,1)), color-stop(9%,rgba(196,206,210,1)), color-stop(87%,rgba(199,208,211,1)));
    background: -webkit-linear-gradient(top, rgba(189,203,205,1) 0px,rgba(196,206,210,1) 9%,rgba(199,208,211,1) 87%);
    background: -o-linear-gradient(top, rgba(189,203,205,1) 0px,rgba(196,206,210,1) 9%,rgba(199,208,211,1) 87%);
    background: -ms-linear-gradient(top, rgba(189,203,205,1) 0px,rgba(196,206,210,1) 9%,rgba(199,208,211,1) 87%);
    background: linear-gradient(top, rgba(189,203,205,1) 0px,rgba(196,206,210,1) 9%,rgba(199,208,211,1) 87%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdcbcd', endColorstr='#c7d0d3',GradientType=0 );
    }

.red-button {

    padding:10px 25px;

    font-size: 1.3em;
    font-weight: bold;

    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;

    color: #f0f0f0;
    text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.4);

    border: 1px solid #E86262;

    -webkit-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    -moz-box-shadow:1px 1px 2px rgba(0, 0, 0, 0.5), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.506), inset 3px 5px 12px -1px rgba(255, 255, 255, 0.506);

    background: rgb(255,79,48);
    background: -moz-linear-gradient(top, rgba(255,79,48,1) 13%, rgba(237,69,54,1) 70%, rgba(255,41,38,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(13%,rgba(255,79,48,1)), color-stop(70%,rgba(237,69,54,1)), color-stop(100%,rgba(255,41,38,1)));
    background: -webkit-linear-gradient(top, rgba(255,79,48,1) 13%,rgba(237,69,54,1) 70%,rgba(255,41,38,1) 100%);
    background: -o-linear-gradient(top, rgba(255,79,48,1) 13%,rgba(237,69,54,1) 70%,rgba(255,41,38,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,79,48,1) 13%,rgba(237,69,54,1) 70%,rgba(255,41,38,1) 100%);
    background: linear-gradient(top, rgba(255,79,48,1) 13%,rgba(237,69,54,1) 70%,rgba(255,41,38,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff4f30', endColorstr='#ff2926',GradientType=0 );
    }

.red-button:hover {
    cursor: pointer;

    background: rgb(255,41,38);
    background: -moz-linear-gradient(top, rgba(255,41,38,1) 0%, rgba(237,69,54,1) 30%, rgba(255,79,48,1) 87%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,41,38,1)), color-stop(30%,rgba(237,69,54,1)), color-stop(87%,rgba(255,79,48,1)));
    background: -webkit-linear-gradient(top, rgba(255,41,38,1) 0%,rgba(237,69,54,1) 30%,rgba(255,79,48,1) 87%);
    background: -o-linear-gradient(top, rgba(255,41,38,1) 0%,rgba(237,69,54,1) 30%,rgba(255,79,48,1) 87%);
    background: -ms-linear-gradient(top, rgba(255,41,38,1) 0%,rgba(237,69,54,1) 30%,rgba(255,79,48,1) 87%);
    background: linear-gradient(top, rgba(255,41,38,1) 0%,rgba(237,69,54,1) 30%,rgba(255,79,48,1) 87%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff2926', endColorstr='#ff4f30',GradientType=0 );

    color: #FFF;
    }


.received-doc {
    position: relative;
    padding: 4px 4px 4px 50px!important;
    margin-bottom: -1px;

    border: 1px solid #666;
    }
.received-doc.selected {
    background-color: #a8ffa0;
    }

    .doc-add-text {
        display: none;
        }
    .received-doc.selected .doc-add-text {
        display: inline;
        }

    .check-doc {
        position: absolute;

        height: 100%;
        top: 0;
        left: 0;

        background-clip: content-box;
        padding: 4px 0 4px 4px;

        width: 46px;
        }
    .check-doc:hover {
        cursor: pointer;
        background-color: #DDD;
        }
    .received-doc:hover {
        cursor: pointer;
        background-color: #DDD;
        }
    .received-doc.selected .check-doc {
        background: url('../img/checkmark.png') 50% 50% no-repeat;
        }
    .received-doc.selected .check-doc:hover {
        background-clip: content-box;
        padding: 4px 0 4px 4px;

        background-color: rgba(255, 255, 255, 0.5);
        }

    .received-doc.selected .doc-name {
        display: inline-block;
        padding-bottom: 2px;

        font-weight: bold;
        text-shadow: 1px 1px 1px #E3F7E6;
        }

     .checkPriority {
     	cursor:pointer;
     	color:blue;
     	font-weight: bold;

     }
#createContractDialog textarea{
	width: 500px;
}

.forExtraContract {
	display:none;
}
.additional_addr{
    display: none;
}
.priorityBlock li{

    padding: 10px;
    background-color: #FFF8D5;
    font-size: initial;
    border-style: dotted ;
    border-width: 1px 1px 1px 1px;
}

.priorityBlock .up, .priorityBlock .down{
    padding: 0.1px 5px;
    cursor: pointer !important; 
    background-color: #E1E8FF;
    margin: 0;
    border-style: dotted ;
    border-width: 1px 1px 1px 1px;
}

.numPriority{
    font-weight: bolder;
    padding: 0.1px 5px;
    color: #0761e7;
}