body {
    margin:0 auto;
    /*background: url("../imagesDesign/bg.png") no-repeat center center;*/
    background: url("../imagesDesign/bg.png");
    /*background-size: 100% 100%;*/
    font-family: "Times new roman";
    font-family: arial;
}

.cl {
    clear: both;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.tac {
    text-align: center;
}
.tal {
    text-align: left;
}
.tar {
    text-align: right;
}
.wbbw {
    word-break: break-word;
    word-wrap: break-word;
}
ul.errors {
    text-align: left;
    padding: 0 0 0 20px;
}
ul.errors li {
    color: #d00;
    font-style: italic;
    list-style-type: disc;
    /*word-break: break-all;*/
}

select {    
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select {padding-right:18px}
}

div.customSelect {
    position:relative;
}
div.customSelect select {
    padding: 0 28px 0 10px;
}
div.customSelect:after {
    content:'<>';
    font:14px "Consolas", monospace;
    color:#888;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    transform:rotate(90deg);
    right:8px; top:8px;
    padding:0 0 2px;
    border-bottom:1px solid #ddd;
    position:absolute;
    pointer-events:none;
}
div.customSelect:before {
    content:'';
    right:6px; 
    top:6px;
    width:26px;
    height:22px;
    background:#ffffff;
    position:absolute;
    pointer-events:none;
    display:block;
}


div.paragraph {
    text-indent: 30px;
    text-align: justify;
}

.wrapMessages {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #fff;
}
blockquote.msg {
    border: 1px solid #ddd;
    border-left: 5px solid;
    font-size: 1.2em;
    text-align: left;
    border-radius: 5px;
}
blockquote.msg-success {
    border-left-color: #067c3c;
    color: #067c3c;
    
}
blockquote.msg-warning {
    border-left-color: #F48004;
    color: #F48004;
    
}
blockquote.msg-danger {
    border-left-color: #E31D23;
    color: #E31D23;
}
.backLink {
    text-align: right;
    margin-top: 15px;
}
.backLink a, .backLink a:hover {
    color: #C30F1B;
    font-size: 16px;
    font-weight: bold;
}
.backLink a:hover {
    color: #0f6fb2;
}

.btn, .btn:hover {    
    font-size: 16px;
    background: #44ccff;
    background-image: -webkit-linear-gradient(top, #44ccff, #2244cc);
    background-image: -moz-linear-gradient(top, #44ccff, #2244cc);
    background-image: -ms-linear-gradient(top, #44ccff, #2244cc);
    background-image: -o-linear-gradient(top, #44ccff, #2244cc);
    background-image: linear-gradient(to bottom, #44ccff, #2244cc);

    text-shadow: 2px 2px 3px #000000;

    -webkit-border-radius: 5;
    -moz-border-radius: 5;
    border-radius: 5px;    
    color: #ffffff;
    padding: 10px 20px 10px 20px;
    border: solid #142a4a 1px;
    text-decoration: none;
}

.btn:hover {
    text-shadow: 2px 2px 3px #000000;
    background: #2244cc;
    background-image: -webkit-linear-gradient(top, #2244cc, #44ccff);
    background-image: -moz-linear-gradient(top, #2244cc, #44ccff);
    background-image: -ms-linear-gradient(top, #2244cc, #44ccff);
    background-image: -o-linear-gradient(top, #2244cc, #44ccff);
    background-image: linear-gradient(to bottom, #2244cc, #44ccff);
}


.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #2244cc;
    border-color: #2244cc;
}


.blockData {
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.blackShadow {
    -webkit-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.75);
    box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.75);
}

.marginBottom20 {
    margin-bottom: 20px;
}

div.pp_default .pp_description {  
    line-height: 24px;
    font-size: 16px; 
    height: 45px;
    overflow: hidden;
}
div.pp_default .pp_description span span {
    color: #C30F1B;    
}

.required:after {
    content: " *";
    color: red;
}

#headerContainer:after, #bodyContainer:after, #footerContainer:after {
    display: table;
    content: " ";
    clear: both;
}

#headerContainer {
    margin-top: 2px;
}
#headerContainer, #bodyContainer, #footerContainer {
    text-align: center;
}
#headerContainer img.siteLogo  {
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    
}

#headerContainer .navigationDiv {
    margin: 2px 0 10px;
    border-radius: 6px;
    border-bottom: 5px solid #143157;   

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#44ccff+0,2244cc+100 */
    background: #44ccff; /* Old browsers */
    background: -moz-linear-gradient(top,  #44ccff 0%, #2244cc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#44ccff), color-stop(100%,#2244cc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #44ccff 0%,#2244cc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44ccff', endColorstr='#2244cc',GradientType=0 ); /* IE6-9 */   
}
#headerContainer .navigationDiv .fa {
    font-size: 40px;    
}
#headerContainer .navigationDiv a.twoRows {
    padding-top: 5px;    
    padding-bottom: 5px;    
}

#headerContainer .navbar-default {
    background-color: transparent;
    border: none;
    margin-bottom: -5px;
    display: inline-block;
}
#headerContainer .navbar-default .navbar-nav>li:first-child {
    background-color: #143157;
}
#headerContainer .navbar-default .navbar-nav>li:first-child a {
    margin-left: 1px;
}
#headerContainer .navbar-default .navbar-nav>li:last-child {
    background-color: #143157;
}
#headerContainer .navbar-default .navbar-nav>li:last-child a {
    margin-right: 1px;
}
#headerContainer .navbar-default .navbar-nav>li>a, #headerContainer .navbar-default .navbar-nav>li>a:hover {
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#44ccff+0,2244cc+100 */
    background: #44ccff; /* Old browsers */
    background: -moz-linear-gradient(top,  #44ccff 0%, #2244cc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#44ccff), color-stop(100%,#2244cc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #44ccff 0%,#2244cc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44ccff', endColorstr='#2244cc',GradientType=0 ); /* IE6-9 */

    text-shadow: 2px 2px 3px #000;

    border-right: 1px solid #1563a3;
    border-left: 1px solid #143157;

}
#headerContainer .navbar-default .navbar-nav>li>a:hover, #headerContainer .navbar-default .navbar-nav>li>a.highlighted {
    color: #9ff;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#44ccff+0,2244cc+100 */
    background: #44ccff; /* Old browsers */
    background: -moz-linear-gradient(top,  #44ccff 0%, #2244cc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#44ccff), color-stop(100%,#2244cc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #44ccff 0%,#2244cc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44ccff', endColorstr='#2244cc',GradientType=0 ); /* IE6-9 */

    box-shadow: inset 0 1px 0 #0070a3,inset 0 0 30px 0 #142a4a;
    text-shadow: 2px 2px 3px #000;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;

    border-top: 6px solid #EBF9FD;
    padding: 12px 15px;

    transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;

}

#headerContainer .navbar-default .navbar-nav>li.open>a.longRows,
#headerContainer .navbar-default .navbar-nav>li>a.longRows:hover,
#headerContainer .navbar-default .navbar-nav>li>a.twoRows:hover {
    padding-top: 2px;    
    padding-bottom: 2px;    
}
#headerContainer .navbar-default .navbar-nav>li>a.longRows {
    padding-top: 5px;    
    padding-bottom: 5px;     
}
#headerContainer .navbar-default .navbar-nav>.active>a {
    color: #9ff;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#44ccff+0,2244cc+100 */
    background: #44ccff; /* Old browsers */
    background: -moz-linear-gradient(top,  #44ccff 0%, #2244cc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#44ccff), color-stop(100%,#2244cc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #44ccff 0%,#2244cc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44ccff', endColorstr='#2244cc',GradientType=0 ); /* IE6-9 */

    text-shadow: 2px 2px 3px #000;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    margin-right:0;
    box-shadow: inset 0 1px 0 #0070a3,inset 0 0 40px 0 #0d1b30;

    transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
}

#headerContainer .dropdown-menu {
    padding: 0;

    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0); 
    box-shadow: 0 6px 12px rgba(0,0,0,0); 
}
#headerContainer .dropdown-menu>li {
    border-top:1px solid #fff;   
    border-top:1px solid #143157;   
}
#headerContainer .dropdown-menu>li:first-child {
    border-top:5px solid #143157;   
}
#headerContainer .dropdown-menu>li>a, #headerContainer .dropdown-menu>li>a:hover {
    padding: 10px;
    text-transform: uppercase;
    color: #fff;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#44ccff+0,2244cc+100 */
    background: #44ccff; /* Old browsers */
    background: -moz-linear-gradient(top,  #44ccff 0%, #2244cc 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#44ccff), color-stop(100%,#2244cc)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #44ccff 0%,#2244cc 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #44ccff 0%,#2244cc 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44ccff', endColorstr='#2244cc',GradientType=0 ); /* IE6-9 */

    text-shadow: 2px 2px 3px #000;
   
    transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
}
#headerContainer .dropdown-menu>li>a:hover {
    color: #9ff;
    margin-left: 5px;  

    box-shadow: inset 0 1px 0 #0070a3,inset 0 0 30px 0 #142a4a;
    text-shadow: 2px 2px 3px #000;
}

#headerContainer .dropdown-menu {
    border: none;
    background-color: transparent;
}


#headerContainer .navbar-collapse, .navbar-default .navbar-form {
    padding: 0;
}



#headerContainer .navbar-header {
    float: right;    
}
#headerContainer .navbar-default .navbar-brand {
    text-transform: uppercase;    
    font-weight: bold;
    font-size: inherit;
    display: none;
    letter-spacing: 2px;
    color: #fff;
    margin-right: 10px;
}
#headerContainer .navbar-default .navbar-toggle {
    border-color: #fff;
}

#headerContainer .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
#headerContainer .navbar-default .navbar-toggle:focus, #headerContainer .navbar-default .navbar-toggle:hover {
    background-color: #0f6fb2;
}
#headerContainer .navbar-default .navbar-nav .longRows div {
    display: inline-block;
}
#headerContainer .navigationDiv a.longRows span {
        margin-top: -15px;
}

@media (min-width: 768px) {
    #headerContainer .navigationDiv a.twoRows span{
        display: list-item;
    }
}


@media (max-width: 767px) {
    #headerContainer .navbar-default .navbar-brand {    
        display: block;
    }
    #headerContainer .navbar-default {
        display: block;
    }
    #headerContainer ul.navbar-nav {
        margin: 0;
    }
    #headerContainer ul.navbar-nav>li {
        border-bottom: 1px solid #fff;
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
    }
    
    #headerContainer .navbar-default .navbar-nav>li>a:hover, #headerContainer .navbar-default .navbar-nav>li>a.highlighted {
        border-top: 0px;
        padding: 10px 15px;
    }
    #headerContainer .navbar-default .navbar-nav>li>a.twoRows:hover {
        padding-top: 10px;    
        padding-bottom: 10px;    
    }
    #headerContainer .navbar-default .navbar-nav>li>a, #headerContainer .navbar-default .navbar-nav>li>a:hover {    
        border-right: 0px;
        border-left: 0px;
        margin-right: 0px;
    }
    #headerContainer .navigationDiv a.twoRows {
        padding-top: 10px;    
        padding-bottom: 10px;    
    }
    
}


#bodyContainer {
    border-color: #C30F1B;
    border-color: #143157;
    border-color: #2247CD;

    border-style: solid;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-width: 1px;
    border-right-width: 1px;

    border-radius: 5px;    
    background-color: #EBF9FD;
}
#bodyContainer, #bodyContainer .form-control {
    font-size: 16px;
}
#bodyContainer input[type=file].form-control {
    font-size: 14px;
}
#bodyContainer select.form-control {
    /*padding-left: 0px;
    padding-right: 0px;*/
}

/*home*/
.home .estateImageThumb {
    width: 160px;
    float: left;
    margin: 0px 15px 0px 0px;
    border: 1px solid #aaa;
    border-radius: 5px;
}
.home .estateWraper {
    overflow: hidden;
    height: 155px;
}
.home .lastEstatesLabel{
    text-shadow: 2px 2px 3px #fff;
    font-size: 30px;
    font-weight: bold;
    font-style: italic;
    color: #000;  
}


.home .newsWraper {
    overflow: hidden;
    height: 155px;
}
.listNews .newsImageThumb,
.home .newsImageThumb {
    width: 160px;
    float: left;
    margin: 0px 15px 0px 0px;
    border: 1px solid #aaa;
    border-radius: 5px;
}
.newsItem {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
}
.newsLink a, .newsLink a:hover {
    color: #C30F1B;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
}
.newsLink a:hover {
    color: #0f6fb2;
}
.newsTitle a, .newsTitle a:hover {
    color: #C30F1B;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}
.newsTitle a:hover {
    color: #0f6fb2;
}

/* publich */

.buttonCloseInstructions,
.buttonInstructions {
    float: right;
    padding-top: 10px;
}
.buttonCloseInstructions {
    padding-right: 15px;
}
.buttonCloseInstructions a,
.buttonInstructions a {
    color: #C30F1B;
}
.buttonCloseInstructions a:hover,
.buttonInstructions a:hover {
    color: #0f6fb2;
}
.instructions p {
    text-align: justify;
    text-indent: 30px;
}
.instructions {
    letter-spacing: 1px;
    margin-top: 10px;
}
.instructions span {
    font-weight: bold;
}
.instructions span span {
    color: #C30F1B;
}

#adTypeForm div.adTypes,
#adTypeForm div.editBlock {
    margin: 15px auto;    
}
#adTypeForm div.adTypes:before {
    display: table;
    content: " ";
}
#adTypeForm div.adTypes:after {
    display: table;
    content: " ";
}
#adTypeForm div.adTypes:after {
    clear: both;
}

#adTypeForm .radioItems {
    text-align: left;    
}
#adTypeForm .form-group .adTypes div {
    text-align: center;        
}
#adTypeForm label {
    margin-bottom: 0px;
}
#adTypeForm .labelAdType {
    padding: 5px;    
} 

#adTypeForm input[type=radio] {
    vertical-align: middle;
    margin: 0 5px;
    width: 16px;
    height: 17px;
}
#adTypeForm .adTypesWraper {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    background-color: #fff;
}
#adTypeForm .labelRadioItems {
    cursor: pointer;
}


.continueCorrection {
    font-size: 18px;
    font-style: italic;
    padding: 15px;
    text-align: justify;
    text-indent: 30px;    
}
.continueCorrection span {
    color: #C30F1B;
    font-weight: bold;
}
#btnSubmitDeleteAd, 
#btnSubmitViewAd, 
#btnSubmitEditAd, 
#btnSubmitEditImages {
    margin-bottom:15px;
}

#addImage, 
#btnSubmitDeleteAd, 
#btnSubmitViewAd, 
#btnSubmitEditAd, 
#btnSubmitEditImages {
    white-space: inherit;
}

.viewForeignCountry .pageTitle,
.foreignCountries .pageTitle,
.contacts .pageTitle,
.news .pageTitle,
.listNews .pageTitle,
.viewAd .pageTitle,
.add-images .pageTitle,
.search .pageTitle,
.publich .pageTitle {
    font-size: 20px;
    padding: 10px;
    font-weight: bold;    
}
.viewForeignCountry .pageTitle span,
.foreignCountries .pageTitle span,
.contacts .pageTitle span,
.viewAd .pageTitle span,
.search .pageTitle span,
.publich .pageTitle span {
    color: #C30F1B;
    text-transform: uppercase;    
}

#correctionForm .rows,
#estatesForm .rows {
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;    
}
#estatesForm label {
    display: inline;
}

#estatesForm .radioItems {
    text-align: left;    
}
#estatesForm .construction_id input[type=radio] {
    vertical-align: middle;
    margin: 0 5px;
    width: 16px;
    height: 17px;
}
#estatesForm .construction_id {
    padding: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}
#estatesForm .construction:after {
    display: table;
    content: " ";
    clear: both;
}
#estatesForm #uncheckConstruction, #estatesForm #uncheckConstruction:hover {
    cursor: pointer;
    text-decoration: underline;
}
#estatesForm #uncheckConstruction:hover {
    color: #C30F1B;
}
#estatesForm .form-control.year {
    display: inline-block;
    width: auto;
}
#estatesForm .labelFeature {
    /*font-weight: normal;*/    
}
#estatesForm .allFeatures {
    padding: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

#estatesForm .allFeedbackData {
    text-align: right;
    padding: 15px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}
#estatesForm .email {
    display: inline-block;
    width: 63%;
}
#estatesForm .phone {
    display: inline-block;
    width: 63%;
}
#estatesForm .frontImageCheckbox label {
    font-weight: normal;    
}
#estatesForm .btnSubmit {
    padding: 20px;
}
#estatesForm .front-image .form-group{
    margin-bottom: 10px;    
}
#imagesForm .imageDesc,
#estatesForm .imageDesc {
    word-break: break-word;
    word-wrap: break-word;
    margin: 10px;
}
#estatesForm .imageDesc img {
    width:50%;
    max-width:100%;
}
#estatesForm .more_information {
    height: 115px;
}
#estatesForm .btnSubmitEstates {
    margin-top: 15px;    
}
#estatesForm .frontImageCheckboxWrap {
    margin-bottom: 5px;    
}
#estatesForm .featuresDesc {
    display: inline-block;
    font-weight: bold;
}

#correctionForm .labelCode   {
    line-height: 34px;
}

#correctionForm #btnSubmitDeleteAd.btn, #correctionForm #btnSubmitDeleteAd.btn:hover {
    border: 1px solid #b00000;
    background: #eb1523;
    background-image: -webkit-linear-gradient(top, #eb1523, #C30F1B);
    background-image: -moz-linear-gradient(top, #eb1523, #C30F1B);
    background-image: -ms-linear-gradient(top, #eb1523, #C30F1B);
    background-image: -o-linear-gradient(top, #eb1523, #C30F1B);
    background-image: linear-gradient(to bottom, #eb1523, #C30F1B);
}
#correctionForm #btnSubmitDeleteAd.btn:hover {
    background: #C30F1B;
    background-image: -webkit-linear-gradient(top, #C30F1B, #eb1523);
    background-image: -moz-linear-gradient(top, #C30F1B, #eb1523);
    background-image: -ms-linear-gradient(top, #C30F1B, #eb1523);
    background-image: -o-linear-gradient(top, #C30F1B, #eb1523);
    background-image: linear-gradient(to bottom, #C30F1B, #eb1523);
}


#imagesForm .imageDesc img {
    width: auto;
    max-width: 100%;
    max-height: 150px;
}

#imagesForm div.block {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin:10px 0;
    padding: 15px;
    background-color: #fff;
}

#imagesForm #btnSubmit {
    width: 100%;    
}
#imagesForm  .frontImageCheckbox input[type=checkbox] {
    vertical-align: top;
}


#filtersForm .searchBlock {
    background-color: #c8f8f8;    
}
#filtersForm .rows {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;    
}
#filtersForm .form-control {    
    display: inline-block;
    display: -moz-box;
    width: auto;
}

#filtersForm .filtersElement {
    display: inline-block;
    width: auto;
    margin-top: 5px;
    border: 1px solid #ddd;
    padding: 2px 2px 2px 5px;
    border-radius: 5px;
    background-color: #fff;
    vertical-align: middle;
}
#filtersForm .filtersFeaturesElement {
    display: inline-block;
    margin: 5px;
    border: 1px solid #ddd;
    padding: 2px;
    border-radius: 5px;
    background-color: #fff;
}
#filtersForm .inputWraper {
    display: inline-block;    
}

#filtersForm  div.customSelect {
    display: inline-block;
}
#filtersForm .filtersGroup {
    display: inline-block;    
}
#filtersForm .filtersDesc {
    display: inline-block;
    font-weight: bold;
}
#filtersForm .labelAsDesc {
    /*font-weight: normal;*/    
}
#filtersForm .labelFeature {
    /*font-weight: normal;*/
}

#filtersForm .filtersEstatesElement  {
    padding: 5px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}
#filtersForm .allEstates {
    line-height: 1px;
    padding: 5px;
}
#filtersForm .estateCheckbox {
    display: inline-block;
    width: 170px;
    margin-left: 3px;
}
#filtersForm .labelEstate {
    /*font-weight: normal;*/        
}



.estateItem {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
}
.estateImageThumb {
    width: 240px;
    float: left;
    margin: 0px 15px 0px 0px;
    border-radius: 5px;
    max-width: 100%;
}
.estatePrice {
    font-size: 30px;
    color: #C30F1B;
    font-weight: bold;
    font-family: "Times new roman";
}

.estateLink a, .estateLink a:hover,
.estateLocation a, .estateLocation a:hover {
    color: #C30F1B;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
    /*font-family: "Times new roman";*/
}
.estateLink a:hover,
.estateLocation a:hover {
   color: #0f6fb2;   
}


.estateType {
    font-weight: bold;
    font-size: 1.2em;    
}



.viewAd .estate {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}
.viewAd .viewImg img {
    width: 100%;
    max-width: 100%;    
}
.viewAd .viewImgThums {
    margin-top: 10px;    
}
.viewAd .viewImgThums img {
    width: 100%;
    max-width: 100%;    
}
.viewAd .estateData {
    line-height: 2em;
}
.viewAd .dataEstateType, 
.viewAd .titleEstateType {
    float: left;
    font-weight: bold;
    font-size: 1.2em;
}
.viewAd .dataEstateType {
    font-size: 1.4em;
}
.viewAd .titleEstatePrice,
.viewAd .dataEstatePrice {
    float: left;
    text-align: left;
    font-size: 30px;
    color: #C30F1B;
    font-weight: bold;
    font-family: "Times new roman";
}
.viewAd .dataEstatePrice div {
    color: #555;
    font-size: 16px;
    margin-top: -5px;    
}
.viewAd .dataEstateLocation, 
.viewAd .dataEstateSublocation {
    float: left;
    font-weight: bold;
    font-size: 1.2em;
}
.viewAd .dataEstateSublocation {
    font-size: 1em;
    font-style: italic;
}
.viewAd .dataEstateAddress {
    float: left;
}
.viewAd .more_info {
    margin-top: 20px;    
}
.viewAd .more_infoLabel {
    font-weight: bold;    
}
.viewAd .more_infoInfo {
    font-style: italic;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: justify;
    text-indent: 20px;   
}
.viewAd div.featuresNamesNames {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.viewAd .featuresNames {
     margin-top: 20px;    
}
.viewAd .featuresNamesLabel {
    font-weight: bold;    
}
.viewAd .featuresName {
    text-align: left;   
}
.viewAd div.featuresName:before {
    content: "■ ";
    color: #C30F1B;
    vertical-align: text-bottom;
}
.viewAd .adPhones{
    margin-top: 20px;    
}
.viewAd .phoneLabel {
    color: #C30F1B;
    font-weight: bold;
    font-size: 20px;
}
.viewAd .phoneData {
    font-size: 20px;
    font-style: italic;
}
.viewAd .adInquiry {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}
.viewAd .adInquiryLabel {
    color: #C30F1B;
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 10px;
}
.viewAd .adNumber {
    padding: 15px 0;
    font-size: 20px;
       
}
.viewAd .titleAdNumber {
    color: #555;     
}
.viewAd .dataAdNumber {
    color: #1269A9;     
}

.callery .es-carousel-wrapper {
    background: #224170;
}
.callery .rg-image-wrapper {    
    background: #0f6fb2;
}
.callery .es-carousel {
    overflow: hidden;
    background: #0f6fb2;
}
.callery .rg-image-nav a {
    opacity: 0.9;
    background: #224170 url(../ext/ResponsiveImageGallery/images/nav.png) no-repeat -20% 50%;
}
.callery .rg-image-nav a.rg-image-nav-next {
    background: #224170 url(../ext/ResponsiveImageGallery/images/nav.png) no-repeat 115% 50%;
}
.callery .rg-image-nav a:hover {
    opacity: 1;
}
.callery .rg-caption p {
    font-size: 20px;    
}
.callery .rg-caption p span{
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 3px #000;    
}
.callery .rg-caption p span.spanClass3 {
    color: #f00;    
}





.fullNews {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.fullNews img {
    max-width: 100%;
    border: 1px solid #aaa;
    border-radius: 5px;    
}
.fullNews .newsTitle {
    color: #C30F1B;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
}
.fullNews .newsText {
    text-align: justify;
    text-indent: 30px;    
}

.fullNews .returnNews {
    padding-top: 15px;   
}
.fullNews .returnNews a, .fullNews .returnNews a:hover {
    color: #C30F1B;
    font-size: 14px;
}
.fullNews .returnNews a:hover {
    color: #0f6fb2;
}

.aboutus {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 20px;
    letter-spacing: 2px;
    font-style: italic;
}
.aboutus span {
    color: #C30F1B;
    font-weight: bold;
   
}
.aboutus li {
    list-style-image: url('../imagesDesign/checkbox.jpg');
    list-style-position: inside;    
}

.contactsData {
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 20px;
    letter-spacing: 1px;
}
.contactsData .leftContacts {
    text-align: right;
    padding-right:0px;
    color: #C30F1B;
    font-weight: bold;
}
.contactsData .rightContacts {
}
.contactsData .rightContacts div {
    border-bottom: 1px solid #ddd;    
}
.contactsData .rightContacts span {
    white-space: nowrap;
    letter-spacing: 2px;
}
#map {
    margin-top: 18px;
    width: 100%;
    height: 400px;
    outline: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.contacts .message {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}
.contacts .messageLabel {
    color: #C30F1B;
    font-weight: bold;
    font-size: 20px;
}


.foreignCountryItem {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
}

.foreignCountryImageThumb {
    width: 240px;
    float: left;
    margin: 0px 15px 0px 0px;
    border-radius: 5px;
    max-width: 100%;
}

.foreignCountryCountry {
    font-size: 30px;
    color: #C30F1B;
    font-weight: bold;
    font-family: "Times new roman";
}
.foreignCountryCity {
    font-weight: bold;
    font-size: 1.2em;
}
.foreignCountryLink a, .foreignCountryLink a:hover {
    color: #C30F1B;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
}

.foreignCountryLink a:hover {
    color: #0f6fb2;
}
.foreignCountry {
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}
.foreignCountry a img {
    width: 100%;    
    max-width: 100%;
    border-radius: 5px;
}
.foreignCountry .country {
    font-size: 24px;
    font-weight: bold;
    padding: 15px;
}
.foreignCountry .country span {
    color: #C30F1B;    
}
.foreignCountry .city {
    font-size: 20px;
    font-weight: bold;
    padding: 0 15px;
}
.foreignCountry .city span {
    color: #C30F1B;    
}

.foreignCountry .more_infoLabel {
    font-weight: bold;
    font-size: 20px;
    padding: 15px 15px 0 15px;
}
.foreignCountry .more_infoInfo {
    padding: 0 15px;
    text-align: justify;
    text-indent: 20px;
    letter-spacing: 1px;
}

.foreignCountry .phoneLabel {
    font-size: 20px;
    font-weight: bold;
    padding: 0 15px;    
}
.foreignCountry .phoneData {
    font-size: 20px;
    font-weight: bold; 
}
.foreignCountry .viewImgThums {
    margin-top: 10px;    
    margin-bottom: 10px;    
}
.foreignCountry .viewImgThums img {
    width: 100%;
    max-width: 100%;    
}






#footerContainer .footerTop {
    height: 10px; 
}
#footerContainer .footer {
    padding: 50px;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2244cc+0,44ccff+100 */
    background: #2244cc; /* Old browsers */
    background: -moz-linear-gradient(top,  #2244cc 0%, #44ccff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2244cc), color-stop(100%,#44ccff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #2244cc 0%,#44ccff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #2244cc 0%,#44ccff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #2244cc 0%,#44ccff 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #2244cc 0%,#44ccff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2244cc', endColorstr='#44ccff',GradientType=0 ); /* IE6-9 */

    font-size: 20px;
    color: #fff;
    font-style: italic;
    border-top: 5px solid #143157;
    border-radius: 5px;
    margin-bottom: 2px;
}
#footerContainer .footer span {
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    text-shadow: 2px 2px 3px #000;
}

@media only screen and  (min-width: 1600px) {
    .container {
        /*width: 1560px;*/
    }
}
@media only screen and (max-width: 1200px) {

    .home .estateWraper {
        height: auto;
    }
     
    .home .newsWraper {
        overflow: hidden;
        height: auto;
    }
    
    .contactsData .leftContacts {
        text-align: left;
    }
   
}

@media only screen and (max-width: 991px) {
    .filterType, .sort, .btnSubmitSearch {
        margin-top: 10px;
        margin-bottom: 10px;    
    }
}

@media (max-width: 767px) {    
    .sort {
        margin: 10px auto;  
    }
}
@media (max-width: 480px) {
    div.pp_default .pp_description span {  
        display: none;
    }
}

@media (max-width: 383px) {
    
    #bodyContainer label[for=permanent_usage_id]{
        font-size: 14px;  
    }
    
    #bodyContainer #more_information.form-control  {
        font-size: 12px;  
    }
    
    #bodyContainer #permanent_usage_id.form-control  {
        font-size: 9px;  
    }

    #bodyContainer #sort.form-control{
        font-size: 11px;  
    }
    #bodyContainer #location_id.form-control  {
        font-size: 9px;  
    }
    #bodyContainer #sublocation_id.form-control  {
        font-size: 12px;  
    }
    #filtersForm .labelFeature,
    #filtersForm .labelEstate {
        font-weight: normal; 
    }
    
    #estatesForm .phone,
    #estatesForm .email {
        width: 100%;
    }
    #estatesForm label[for=phone],
    #estatesForm label[for=email] {
        display: block;
        text-align: left;
    }
    
    #filtersForm #toQuadrature_decar,
    #filtersForm #toYear,
    #filtersForm #toPrice {
        margin-top:5px;
        
    }
    
    .home .estateImageThumb {
        width: 100%;
    }
    .listNews .newsImageThumb,
    .home .newsImageThumb {
        width: 100%;
    }
    
    .aboutus {
        font-size: 18px;
    }
    
    .aboutus ul {
        padding-left: 0px;
    }
    
    .foreignCountry .phoneData {
        font-size: 16px;    
    }
    
    .foreignCountry .more_infoInfo {
        font-size: 14px;
    }
    
}



/* poll */

.poll .pollText {
    padding: 20px;
}
.poll .pollText p {
    text-align: justify;
    text-indent: 30px;
}
.poll .pollItem {
    padding: 15px;
    border: 4px double #ddd;
    border-radius: 20px;
    background-color: #ffffff;
}
.poll .answers .answer {
    margin-bottom: 10px;
}
