/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Roboto', 'sans-serif';
    color: #333333;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

.left{
    float: left;
}

.right {
    float: right;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a{
    color: #2271CC;
    text-decoration: none;
}

.light_blue {
    color: #8CAED4;
}

.dark_blue {
    color: #001A66;
}

.wrapper {
    margin: 0 auto;
    width: 1160px;
    height: auto;
}

#header
{
    margin: 20px 0;
}

#slogan h1{
    line-height: 56px;
    margin-left: 120px;

}

#nav {
    margin: 40px 0 0px 0;
    height: 54px;
    background: #3b548d;
    background: -moz-linear-gradient(top, #3b548d 0%, #16285b 100%, #2b3d6c 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3b548d), color-stop(100%,#16285b), color-stop(100%,#2b3d6c));
    background: -webkit-linear-gradient(top, #3b548d 0%,#16285b 100%,#2b3d6c 100%);
    background: -o-linear-gradient(top, #3b548d 0%,#16285b 100%,#2b3d6c 100%);
    background: -ms-linear-gradient(top, #3b548d 0%,#16285b 100%,#2b3d6c 100%);
    background: linear-gradient(to bottom, #3b548d 0%,#16285b 100%,#2b3d6c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b548d', endColorstr='#2b3d6c',GradientType=0 );
    border-radius: 4px;
}

#nav .menu {
    margin: 0;
    padding: 0;
    height: 54px;
    text-align:center;
}

#nav .menu li{
    display: inline;
    position: relative;
}

#nav .menu li ul{
    display: none;
    position: absolute;
    background: #3B548D;
    left: 0px;
    top:38px;
    top:21px\0/;
    width: 340px;
    margin: 0;
    padding: 0;
}
#nav li:hover > a {
    background: #3b548d;
}

#nav .menu li ul li{
    display: block;
}

#nav .menu li ul li a{
    display: block;
    padding: 0 18px;
    font-size: 14px;
    text-align: left;
    border-bottom: #16285B 1px dashed;
}

#nav .menu li ul li a:hover{
    background:#334A82;
}

#nav .menu li a{
    line-height: 53px;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 17px 16px 17px;
}

#nav .menu > li:first-child a{
    border-radius: 4px 0 0 4px;
}

#nav .menu > li:last-child a{
    border-radius: 0 4px 4px 0;
}

#nav .menu li a:hover{
    background: #3b548d;
}

.search
{
    background: #ffffff;
    margin: 14px 14px 0 0;
    height: 27px;
    border-radius: 4px;
}

.search .button {
    position: relative;
    top:4px;
    right: 5px;
}
#mod-search-searchword
{
    border: none;
    margin: 0 5px;
    font-family: 'Roboto', 'sans-serif';
    font-size: 12px;
    line-height: 14px;
    padding-top: 5px;
    width: 160px;
}

#top
{
    background: url("../images/slider.png") no-repeat;
    height: 370px;
    border-radius: 4px;
}

#body{
    margin: 20px 0;
}

#about {
    width: 300px;
    color: #ffffff;
    padding: 20px 30px;
}
#about h1 {
    margin: 0;
    font-size: 36px;
}
#about p{
    line-height: 26px;
}

#copyright p{
    color: #333333;
    font-size: 12px;
    margin-left: 10px;
}

#footer{
    background: #f6f5f4;
    height: 100px;
    border-radius: 4px;
    margin-top: 20px;
    margin-top: 40px;
}

#address, #phones, #email, #share {
    margin-top: 15px;
    float: left;
    margin-left: 100px;
}

#share {
    margin-top: 35px;
}

#address p, #phones p, #email p, #share p{
    font-size: 14px;
}

#phones, #email, #share{
    margin-left: 130px;
}

.footer_heading {
    border-bottom: 1px solid #455E93;
}

#content p {
    font-size: 14px;
}

.sidebar {
    width: 235px;
    margin-right: 20px;
    margin-bottom:20px;
    background: #3b548d;
    background: -moz-linear-gradient(top, #3b548d 0%, #16285b 100%, #2b3d6c 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3b548d), color-stop(100%,#16285b), color-stop(100%,#2b3d6c));
    background: -webkit-linear-gradient(top, #3b548d 0%,#16285b 100%,#2b3d6c 100%);
    background: -o-linear-gradient(top, #3b548d 0%,#16285b 100%,#2b3d6c 100%);
    background: -ms-linear-gradient(top, #3b548d 0%,#16285b 100%,#2b3d6c 100%);
    background: linear-gradient(to bottom, #3b548d 0%,#16285b 100%,#2b3d6c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b548d', endColorstr='#2b3d6c',GradientType=0 );
    border-radius: 4px;
    padding: 10px 15px;
    color: #ffffff;
}


#content{
    width: 640px;
}
#content a:hover {
    text-decoration: underline;
}

#content p , #content ul li{
    line-height: 24px;
}

.sidebar .latestnews
{
    padding-left: 15px;
}

.sidebar .latestnews li{
    list-style-type: circle;
    margin-bottom: 15px;
    font-size: 12px;
}


.sidebar .latestnews a
{
    color: #ffffff;
}

.sidebar .latestnews a:hover
{
    text-decoration: underline;
}

#body h2 {
    margin: 0;
}

.sidebar_heading
{
    border-bottom: 1px solid #455E93;
}

.sidebar_heading h2
{
    padding-bottom: 10px;
    padding-left: 5px;
    border-bottom: 1px solid #16285B;
}

#content h2 {
    color: #455E93;
    padding-bottom: 5px;
    border-bottom: 2px solid #455E93;
}

#content h3{
    color: #2271CC;
    font-weight: normal;
}

#content img{
    max-width: 98%;
    padding: 1%;
    border: 1px solid #ccc;
}

#content ul li{
    list-style-type: circle;
    font-size: 14px;
}
.pagination .counter{
    float: left;
}
.pagination ul{
    float: right;
}

.pagination ul li{
    display: inline;
    margin: 0 10px;
}

TD.list-title {
    padding: 10px 0;
}

.search-results
{
    float: left;
}

.simpleForm
{
    font-size: 14px;
}

.simpleForm label {
    margin-bottom: 10px;
}

.simpleForm .inputtext {
    border:none;
    padding: 8px;
    border-radius: 4px;
}

.btn {
    border: none;
    padding: 10px 87px;
    font-family: 'Roboto', 'sans-serif';
    font-size: 12px;
    border-radius: 4px;
    margin-top: 10px;
    background: #88bfe8;
    background: -moz-linear-gradient(top, #88bfe8 0%, #6192aa 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#88bfe8), color-stop(100%,#6192aa));
    background: -webkit-linear-gradient(top, #88bfe8 0%,#6192aa 100%);
    background: -o-linear-gradient(top, #88bfe8 0%,#6192aa 100%);
    background: -ms-linear-gradient(top, #88bfe8 0%,#6192aa 100%);
    background: linear-gradient(to bottom, #88bfe8 0%,#6192aa 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bfe8', endColorstr='#6192aa',GradientType=0 );
    color: #ffffff;
}

.btn:hover
{
    background: #6192aa;
    background: -moz-linear-gradient(top, #6192aa 0%, #88bfe8 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6192aa), color-stop(100%,#88bfe8));
    background: -webkit-linear-gradient(top, #6192aa 0%,#88bfe8 100%);
    background: -o-linear-gradient(top, #6192aa 0%,#88bfe8 100%);
    background: -ms-linear-gradient(top, #6192aa 0%,#88bfe8 100%);
    background: linear-gradient(to bottom, #6192aa 0%,#88bfe8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6192aa', endColorstr='#88bfe8',GradientType=0 );
}


#right {
    width: 215px;
}
#right h2 {
    color:#455E93;
    padding-bottom: 5px;
    border-bottom: 2px solid #455E93;
}
#right a img{
    margin: 10px 0;
}

ul.departament_list li{
    color: #2271CC;
    margin: 5px 0;
}

.departament h3 {
    text-align: center;
}
.company{
    font-size: 14px;
    margin-bottom: 20px;
    width: 100%;
}

.company td {
    border: 1px solid #cccccc;
    padding: 5px;
}

.company .table_heading
{
    width: 100px;
    background: #f4f5f6;
    text-align: right;
    color: #004499;
}

.company .company_heading {
    text-transform:uppercase;
    color: #004499;
}

.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    text-decoration: none;
    color: #2271CC;
    border: 1px solid rgba(235, 235, 235, 0.80);
    background-color: rgba(235, 235, 235, 0.80);
    font-size: 12px;
    padding: 1em 2em;
    display: none;
}

.back-to-top:hover {    
    border: 1px solid #2271CC;
}







