html,
body {
    height: 100%;
}
#homepage-text, #homepage-categories .btn, #contact-info .btn, footer, .pages-view {
    font-size: 18px !important;
    margin-top: 40px;
}
.categroy-desc {
    font-size: 17px !important;

}
#main-menu a {
    font-size: 14px; 
}
footer {
    color : #FFFFFF;
}
#main-menu >  nav  li.active, #main-menu > nav  li:hover, #main-menu > nav  li a:hover{
    background-color: rgba(14, 12, 44, 1) !important;
}
#main-menu > nav, .dropdown-menu{
    background-color: rgba(14, 12, 44, 0.9);
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: rgba(14,12,44, 1);
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: rgba(14,12,44, 1);
}

.navbar-nav > li > a {
    line-height: 50px !important;
    color: #FFFFFF !important;
}
.dropdown-menu a {
    color: #FFFFFF !important;
}
.logout {
    line-height: 50px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 90px 15px 20px;
}

.footer {
    background-color: rgba(14, 12, 44, 1);
    border-top: 1px solid #ddd;
    padding-top: 20px;
    padding-bottom: 20px;
}
.footer .link-container a {
    color: #FFFFFF;
    font-size: 120%;
    line-height: 55px;
}

.footer-images img{
    width: auto;
    max-width: 100%;
    max-height: 220px;
    border-radius: 50%;
}
.footer-images > div {
    text-align: center;
}
.copyright {
    font-style: italic;
}
#developer {
    font-size: 60%;
}
.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.search-part {
    margin-top: 8px;
    text-align: center;
}
/*_search*/
#searchproducts-part {
    width: 80%;
    float: right;
    margin-right: 10px;
}
.qty input[type='text'] {
    width: 80%;
}
.line-3 > div {
    padding-left: 0;
    width: 20%;
}
.line-3 > div > select {
    float: right;
}
.line-3 > div > label {
    padding-top:7px;
}
.line-3  button {
    width: 80%;
    padding-top: 6px;
    padding-bottom: 6px;
    font-weight: bold;
}
.line-3 .submit {
    padding-top: 32px;
}
#more-options > div {
    padding-left: 0;
}
.products-search input, .products-search select {
    text-align: center;
}
/*_inquire*/
.field-inquire-description {
    padding: 0 15px;
}
/*search-products/index*/
.products-search, .inquire{
    border: 2px solid #979797;
    border-radius: 4px;
    padding: 0 0 5px 0;
    margin: 20px 0 20px 0;
}
.search-header, .inquire-header {
    background-color: #015B90;
    border-radius: 2px 2px 0 0;
    color: #FFFFFF;
    font-weight: bold;
    margin: 0;
    padding-bottom: 2px;
    text-align: center;
    margin-bottom: 10px;
}
/*accounts/update accounts/view*/
.company-logo-container, .change-logo-link{
    padding-left: 0;
}
.company-logo-container{
    margin-top: 20px;
}
.change-logo-link {
    margin-top: 10px;
    font-weight: bold;
}
.company-logo-container img {
    max-width: 150px;
}

.category-logo-container {
    max-width: 70px;
}
.category-logo-container img {
    max-width: 100%;
}

#icon-company-logo {
    border-radius: 30%;
    margin: 0 5px;
    max-height: 20px;
    max-width: 30px;
}

/*inquire/index*/

.inquire-index #w2{
    padding:0;
}
.inquire-index #w2 ul{
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.unread-text {
    color:#FF1111;
    font-style:italic;
    font-size:80%;
}
.reply-count {

}
.unread-status {
    color:#FF1111;
    font-style:italic;
}
.read-status {
    font-weight:bold;
}
.new-items-count {
    color:#FF1111;
}
.pending-count {
    color:#FF1111;
    text-decoration: underline;
    font-weight: bold;
}
.active .new-items-count {
    color:#ffff00;
}

/*search-products/index*/

.search-index-logo {
    border-radius: 30%;
    margin: 0 5px;
    max-height: 20px;
    max-width: 30px; 
}

/*homepage*/
.home-row-1 img{
    width: auto;
    max-width: 100%;
    height: auto;
}
.home-row-2 {
    padding-top:30px;
    padding-bottom: 35px;
}
.slideshow img {
    width: auto;
    height: 300px;
    max-height: 300px;
    margin: 0 auto;
}
.sidenavigation {
    padding-top:20px;
    padding-left:0;
}
#contact-info {
    padding-top: 80px;
}
#contact-info > div {
    padding-left: 0;
}
.align-right {
    text-align: right;
    padding-right: 0;
}

.import-info{
    height: 355px;
    line-height: 26px;
}
.inquire-receive .table, .inquire-reply .table, .inquire-send .table{
    width: auto;
    min-width: 55%;
}

#inquirereply-description {
    width: auto;
}
#inquirereply-delivery_condition, #inquirereply-payment_terms {
    width: 45%;
}

.cat-logo {
    margin-right: 5px;
    width: 25px;
}

th, td {
    text-align: center;
}

.star {
    color: gainsboro;
    font-size: 30px;
}
.star-active {
    color: gold;
}
.admin, .admin:hover {
    text-decoration: none;
}
.status{
    font-weight: bold;
}
.enabled{
    color: #449D44;
}
.disabled{
    color: #c32f06;
}
.enable-link, .disable-link {
    font-size: 80%;
    margin-left: 8px;
    font-style: italic;
}
.enable-link {
    color: #449D44;
}
.disable-link {
    color: #c32f06;
}
.account_message {
    background-color: #ef0000;
    border-radius: 3px;
    color: #fff000;
    font-style: italic;
    margin-top: 8px;
    padding: 0 4px;
    text-align: center;
    white-space: nowrap;
}
/*like and dislike ;)*/
.already {
    font-weight: bold;
}


.lang.active > a {
    font-weight: bold;
}
.lang > a {
    padding-right:5px !important;
    padding-left:5px !important;
}
@font-face {
    font-family: 'BYekan';
    src: url('../fonts/BYekan.eot?#') format('eot'),  /* IE6–8 */
        url('../fonts/BYekan.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/BYekan.ttf') format('truetype');  /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}
.BYekan {
    font-family: 'BYekan';
}

nav .container {
    height:80px;
}
.navbar-header{

}
.navbar-brand {
    padding: 0;
    display: block;
}
.navbar-brand img{
    height:78px;
    margin: 1px 0;
    border-radius: 50%;
}

/*stairs index*/ 
.category-name {
    height: 60px;
    padding: 5px 0;
    text-align: center;

}
.categories-index .category-name a {
    line-height: 34px;
    width: 100%;
}
.categories-index .category-image {
    white-space: nowrap;
    text-align: center;
    height: 300px;
    padding: 5px 0;
}
.categories-index .category-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 3%;
}

.vertical-align-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.category-desc {
    height: 110px;
}

.categories-index .cat-info-sub {
    min-height: 505px;
}

.product-container, .categories-index .cat-info-sub {
    margin: 10px 0;
    border: 1px solid #333;
    border-radius: 4px;
}

.products-list .category-desc {
    line-height: 28px;
}
.products-list .category-info {
    border: 2px solid #555;
    /*border-radius: 2%;*/
    padding: 5px;
}
.products-list .category-image {
    /*white-space: nowrap;*/
    text-align: center;
    height: 300px;
    padding: 5px 0;
}
.products-list .category-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 3%;
}

.products-list .category-info .title {
    line-height:35px;
    text-align: center;
    line-height: 35px;
    text-align: center;
    box-shadow: 3px -2px 4px #000;
}
.products-list #list-of-products {
    padding: 30px 10px;
    margin-top: 10px;
}

.product-image {
    white-space: nowrap;
    text-align: center;
    padding: 3px 0;
}
.product-image img {
    max-width: 100%;
    max-height: 320px;
    border-radius: 3%;
}
.product-name {
    padding: 5px 0;

    text-align: center;
}
.product-name a {
    width: 100%;
}

.product-info-container {
    padding-top: 15px;
}
.product-info {
    padding: 20px 15px 25px
}
.product-info table {
    width: 100%;
    background: #f2f2ff;
}
.product-info td {
    text-align: left;
}
.product-info .spec-label , .product-info .spec-value {
    border: 1px solid #AAA;
}
.product-info .spec-label {
    font-weight: bold;
    white-space: nowrap;
    padding: 8px 20px 8px 10px;
}
.product-info .spec-value {
    padding:  8px 0 8px 20px;
}

.product-description{
    padding : 20px 20px 10px 10px;
}
.product-info {
}
.main-image {
    text-align: center;
    padding: 20px 0;
}
.main-image img {
    margin: 0 auto;
    display: block;
/*    max-height: 280px;*/
    max-width: 100%;
}
.other-images .image-holder img, .main-image img {
    box-shadow: 6px -3px 6px #000000;;
}

.other-images {
    padding: 20px 0;
}
.other-images .image-holder {
    table-layout: fixed;
    width: 100%;
}
.other-images .image-holder td {
    padding:0 7px;
}
.other-images .image-holder img {
    max-width: 100%;
    max-height: 200px;
}
.other-images .image-holder td:only-child img {
    max-height: 250px;
}
.product-images {
    padding: 15px 0;
}

.title-link {
    width: 100%;
    white-space: normal !important;
}
.product-container.col-lg-12 > table {
    width: 100%;
}

/*product details*/


#homepage-categories img {
    max-width: 100%;
}
#homepage-categories .btn {
    width: 100%;
}
#homepage-categories .col-sm-12 {
    margin-bottom: 24px;
}
#homepage-categories .col-sm-12:last-child {
    margin-bottom: 0;
}
#homepage-categories .col-sm-12 a {
    line-height: 40px
}

#homepage-text ul{
    padding-right: 30px;

}
#homepage-text p {
    text-indent: 15px;
}
#contact-us {
    height: 30px;
    line-height: 15px;
    padding: 5px 40px;
}
#slideshow, #contact-us, #homepage-categories .btn, .footer-images img, .product-container, .categories-index .cat-info-sub {
    box-shadow: 4px -2px 3px rgb(14,12,44);
}
.pages-list .page-link {
    font-size: 120%;
    margin-bottom: 15px;
    line-height: 45px;
}

.pages-view .page-desc{
    margin-top: 50px;
}
.maxwidth100 {
    max-width: 100%;
    max-height: 150px;
}
.configuration-record {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 20px;
    border: 1px solid #ddd;
}
.admin-product-images {
    max-width: 100%;
}
.deleteImage {
    font-weight: bold;
    left: 7%;
    line-height: 20px;
    margin: 0;
    padding: 0 5px;
    position: absolute;
    top: 0%;
}
.makemain {
    font-weight: bold;
    right: 7%;
    line-height: 20px;
    margin: 0;
    padding: 0 5px;
    position: absolute;
    top: 0;
    font-size: 70%;
}
.admin-image-container {
    position: relative;
    padding-top: 15px;
}
.file-upload-input {
    padding: 30px 15px;
}

.ismain .admin-product-images {
    border: 2px solid #449D44;
}
.ismain .makemain{
    opacity: 0.3;
}

.edit-images table {
    table-layout: fixed;
    width: 100%;
}
.edit-images td {
    padding: 0 5px;
}
.edit-images td img{
    max-width: 100%;
    max-height: 150px
}

.product-view-images {
    padding: 15px;
    border: 1px solid #eee;
}

.product-view-images table {
    table-layout: fixed;
    width: 100%;
}
.product-view-images td {
    padding: 0 5px;
}
.product-view-images td img{
    max-width: 100%;
    max-height: 150px
}

.product-view-info {
    padding :0;
}
#telegram-link:hover {
    text-decoration: underline; 
}
#telegram-link {
    text-decoration: none;
    color: inherit;
    font-size: 18px;
}
#main-image-container {
    position:relative;
}
#main-image-container h1, #main-image-container h2 {
    position:absolute;
    right: 40px;
}
#main-image-container h1{
    top:0;
}
#main-image-container h2 {
    top: 80px;
}
#main-image {

}
#main-image img {
    max-width: 100%;
}

.accessory-name {
    padding-bottom: 120px;
}
.product-description img {
    max-width: 100% !important;
    height: auto !important;
}
.navbar-collapse {
    background-color: rgba(14, 12, 44, 0.9);
}
@media (max-width: 600px) and (min-width: 361px) {
    h2 {
	font-size: 25px;
    }
}
@media (max-width: 360px) {
    h2 {
	font-size: 19px;
    }
}

.blog-image {
    
    text-align: center;
}

.blog-image img {
    margin: 20px auto;
    max-height: 200px;
    max-width: 100%;
}
.pages-list {
    border: 1px solid #DDD;
    min-height: 250px;
}
.pages-list p {
    text-align: center;
}

.calculations-view img{
    max-width: 100% !important;
}
.vertical-space {
    padding: 30px 0;
    margin: 30px 0;
    border-bottom: 1px solid #666;
}
.force-en, .force-en .input-group {
    /*direction: ltr !important;*/
    /*float: left !important;*/
}