*{
  margin: 0;
  padding: 0;
}

html,body {background-color: #fff; font-family: Arial; font-size: 12px; color: #5a5a5a; height: 100%;}
#wrapper {min-height: 85%;
    min-height: -webkit-calc(100% - 31px);
    min-height: -moz-calc(100% - 31px);
    min-height: calc(100% - 31px);
}
/*header {padding: 20px 0 25px; position: relative;}*/
header {border-bottom: 1px solid #d9d9d9; min-width: 100%; padding: 13px 0;}
header div {text-align: center;}

.footer {padding-top: 5px; font-size: 10px; height: 31px; border-top: 1px solid #d9d9d9;}
.footer div {text-align: center;}

ul li {list-style-type: none;}
a {color: #3a3a3a;} a:hover {text-decoration: none;}
caption {color: #3a3a3a; font-weight: bold;}
table {width: 100%; max-width: 100%; margin-bottom: 20px;}
table tr th, table tr td {padding: 7px;}
table.border {border-top: 1px solid #bbb; border-left: 1px solid #bbb; border-collapse: collapse; border-spacing: 0;}
table.border th, table.border td {border-bottom: 1px solid #bbb; border-right: 1px solid #bbb;}
table.border table td, table.border table th {border: none;}
table.non_border, table.non_border th, table.non_border td {border: none;}

.bold, strong {font-weight: bold; color: #6f6f6f;} .italic {font-style: italic;} .underline {text-decoration: underline;}
.uppercase {text-transform: uppercase;} .capitalize {text-transform: capitalize;}
.justify {text-align: justify;}.center{text-align: center;} .left{text-align: left;} .right{text-align: right;} 
.top {vertical-align: top;} .bottom {vertical-align: bottom;} .central {vertical-align: central;}
.page_title {font-weight: bold; text-transform: uppercase;}
.page_content {margin: 20px 0 15px; min-height: 365px;}
.page_content .title {margin-bottom: 10px; font-weight: bold;}
.page_content a:hover, .page_content a:focus {color: #337ab7; text-decoration: underline;} 

.container {
  margin-right: auto;
  margin-left: auto;
  /*height:auto !important;  real browsers */
  /*height:75%;  IE6: treaded as min-height*/
  /*min-height:75%;  real browsers */
}

address {margin-bottom: 5px;}
div.visitor {text-align: right;}

#menu5 ul {list-style: none; margin: 0; padding: 0;}
.col-sm-25 {float: left; width: 20%;  position: relative; min-height: 1px; padding-right: 5px; padding-left: 5px;}
/*-----end/nav--*/

/*-----end/section--*/
.container {width: 100%;}
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
    .flagNav {
        text-align: right;
    }
}
@media (min-width: 992px) {
    .container {
        width: 850px;
    }
}

/*-----media 800--*/
 @media screen and (max-width: 800px){
    .container {
      padding-right: 15px;
      padding-left: 15px;
    }
    header {
    	padding: 10px 0;
    }
    header #logo {
 		text-align: center
 	}
    header #logo .name{
    	padding: 20px 0 10px;
    }

 }
/*-----media 600max--*/
 @media screen and (max-width: 600px){
    .container {
      padding-right: 10px;
      padding-left: 10px;
    }
 }

@media screen and (max-width: 400px){

}

.container {padding-top: 25px; padding-bottom: 25px;} .main_content {padding-top: 15px;}
@media (min-height: 400px) {
    .container, .main_content {padding-top: 30px;}
}
@media (min-height: 640px) {
    .container, .main_content {padding-top: 40px;}
}
@media (min-height: 768px) {
    .container, .main_content {padding-top: 65px;}
}
